mimicking slime molds
authorPatR <rankin@nethack.org>
Sun, 20 Oct 2019 00:38:27 +0000 (17:38 -0700)
committerPatR <rankin@nethack.org>
Sun, 20 Oct 2019 00:38:27 +0000 (17:38 -0700)
commitbf7e95564599034254e98f0ef9ee811bfcc7d219
tree327993db3b454de053bc22c157e3bea88ad3c5ad
parentc099e0a1ffbd16de41860cfa7dc10681d829d69f
mimicking slime molds

Mimic-as-slime_mold needs to keep track of the fruit index the same
way that mimic-as-corpse keeps track of corpse's monster type.  The
mimic description was changing (for '/' and ';' feedback) whenever
the player assiged a new fruit name.

That wasn't noticeable when applying a stethoscope because
mimic-as-slime_mold always yielded "that fruit is really a mimic".
Change it to report the fruit's type instead of generic "fruit".
doc/fixes36.3
include/mextra.h
src/apply.c
src/makemon.c
src/mkobj.c
src/pager.c