From: Pasi Kallinen Date: Wed, 6 Jan 2016 16:40:41 +0000 (+0200) Subject: Allow knife and stiletto as possible tin opening tools X-Git-Tag: NetHack-3.6.1_RC01~1064^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=caf872be05cb6a6d7d176af9902cc3e1f381c95c;p=nethack Allow knife and stiletto as possible tin opening tools Via Dynahack, original idea from K-mod by Karadoc. --- diff --git a/doc/fixes36.1 b/doc/fixes36.1 index 8b999752b..922eecf7b 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -100,6 +100,7 @@ dissolve iron bars by force-fighting with wielded potion of acid poison breath leaves a trail of poison gas make vault guard accept names starting with number fix weight of containers in special levels +allow knife and stiletto as possible tin opening tools Platform- and/or Interface-Specific Fixes diff --git a/src/eat.c b/src/eat.c index d041976dd..7591b9cc3 100644 --- a/src/eat.c +++ b/src/eat.c @@ -1431,6 +1431,8 @@ struct obj *otmp; case ELVEN_DAGGER: case ORCISH_DAGGER: case ATHAME: + case KNIFE: + case STILETTO: case CRYSKNIFE: tmp = 3; break;