From caf872be05cb6a6d7d176af9902cc3e1f381c95c Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 6 Jan 2016 18:40:41 +0200 Subject: [PATCH] Allow knife and stiletto as possible tin opening tools Via Dynahack, original idea from K-mod by Karadoc. --- doc/fixes36.1 | 1 + src/eat.c | 2 ++ 2 files changed, 3 insertions(+) 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;