stethoscope use on corpses & statues (trunk only)

Prompted by the report that it was possible to check a corpse at an
adjacent spot while levitating:  substantially revamp the handling of
applying a stethoscope to corpses and/or statues.  Aside from the missing
reachability check, the old code suffered from grammar problems when
multiple corpses were present and it didn't try to figure out the gender
of the monster who left the corpse.

     This now lets non-healers check corpses and statues at any time
(previously that only worked for them while hallucinating).  For healers
it gives some new feedback:  when listening to a corpse, they'll be given
a hint if it (actually any corpse in the pile at that location) is going
to revive, and when listening to a statue they'll be given a hint if it
contains any items.  The existing hint when a statue is actually a trap
is still only given to healers.
This commit is contained in:
nethack.rankin
2003-11-20 04:54:39 +00:00
parent cf1b96c0e7
commit 29f21b488c
3 changed files with 103 additions and 25 deletions

View File

@@ -50,6 +50,7 @@ healers notice when a wand of undead turning revives a monster so the
update display if bestowed a spellbook while unable to see invisible self
use small pool of static buffers for mon_nam() and Monnam()
Acknowledge Schroedinger's cat at end of game
grammar fixes for applying stethoscope to corpses and statues
Platform- and/or Interface-Specific Fixes