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.
This commit is contained in:
copperwater
2019-01-30 20:54:30 -05:00
committed by Pasi Kallinen
parent 1b945bf60a
commit a9dd7a5a46
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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;