displayed an inventory of everything rather than just worn items (or
not fully identified items)
exploding chest trap would destroy uchain while still worn if uball carried
+if monster shapechange message "<foo> turns into <bar>!" was given, <bar>
+ could be "it" (if <foo> sensed telepathically and <bar> is mindless)
post-3.6.0: fix "object lost" panic during pickup caused by sortloot revamp
post-3.6.0: more sortloot revisions
-/* NetHack 3.6 mon.c $NHDT-Date: 1454528962 2016/02/03 19:49:22 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.210 $ */
+/* NetHack 3.6 mon.c $NHDT-Date: 1461282107 2016/04/21 23:41:47 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.215 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
}
newsym(mtmp->mx, mtmp->my);
return FALSE; /* didn't petrify */
- }
+ }
}
return TRUE;
}
? "slime"
: x_monnam(mtmp, ARTICLE_A, (char *) 0,
SUPPRESS_SADDLE, FALSE));
- if (!strcmpi(oldname, "it") && !strcmpi(newname, "it"))
+ /* oldname was capitalized above; newname will be lower case */
+ if (!strcmpi(newname, "it")) { /* can't see or sense it now */
+ if (!!strcmpi(oldname, "it")) /* could see or sense it before */
+ pline("%s disappears!", oldname);
(void) usmellmon(mdat);
- else
- pline("%s turns into %s!", oldname, newname);
+ } else { /* can see or sense it now */
+ if (!strcmpi(oldname, "it")) /* couldn't see or sense it before */
+ pline("%s appears!", upstart(newname));
+ else
+ pline("%s turns into %s!", oldname, newname);
+ }
if (save_mname)
MNAME(mtmp) = save_mname;
}