]> granicus.if.org Git - nethack/commitdiff
Allow knife and stiletto as possible tin opening tools
authorPasi Kallinen <paxed@alt.org>
Wed, 6 Jan 2016 16:40:41 +0000 (18:40 +0200)
committerPasi Kallinen <paxed@alt.org>
Wed, 6 Jan 2016 16:41:13 +0000 (18:41 +0200)
Via Dynahack, original idea from K-mod by Karadoc.

doc/fixes36.1
src/eat.c

index 8b999752b3389caa842976846826a3e8eb850191..922eecf7b9f351edb3d6eaec85ed8eac0e5cd41e 100644 (file)
@@ -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
index d041976ddaeec4a23667d9ce37d193bdc3af2e39..7591b9cc39dda32cfa2a3413c566e746fab847b2 100644 (file)
--- 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;