From a9dd7a5a4658ba75c5afc0e445e98908f49cd196 Mon Sep 17 00:00:00 2001 From: copperwater Date: Wed, 30 Jan 2019 20:54:30 -0500 Subject: [PATCH] Don't interrupt tin opening if being slimed and tin is chameleon Another SliceHack feature. It's possible for you to eat the chameleon tin and turn into a fiery monster that burns off the slime in its natural form, either extremely luckily at random or if you have polymorph control. --- doc/fixes37.0 | 1 + src/eat.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 1b8e2ae2b..b75eee1c3 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -115,6 +115,7 @@ auto-id scroll of remove curse when a known buc-state was changed demon lords hate Demonbane pets avoid eating shapeshifter corpses unless starving or nearly feral blessed scroll of teleportation gives a single controlled teleport +allow opening a tin without interruption if slimed Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/eat.c b/src/eat.c index d745f8e3a..bf145f02e 100644 --- a/src/eat.c +++ b/src/eat.c @@ -3357,8 +3357,10 @@ int threat; case STONED: return (boolean) (mndx >= LOW_PM && (mndx == PM_LIZARD || acidic(&mons[mndx]))); - /* no tins can cure these (yet?) */ + /* polymorph into a fiery monster */ case SLIMED: + return (boolean) (mndx == PM_CHAMELEON); + /* no tins can cure these (yet?) */ case SICK: case VOMITING: break;