]> granicus.if.org Git - nethack/commit
probing while swallowed (trunk only)
authornethack.rankin <nethack.rankin>
Fri, 21 Mar 2008 03:12:14 +0000 (03:12 +0000)
committernethack.rankin <nethack.rankin>
Fri, 21 Mar 2008 03:12:14 +0000 (03:12 +0000)
commit17f63949bc5e6e89730f5d40848542d8e4c8d561
tree6b376f4cef2aae6a7fb1b111f4bab7f8407d0a96
parent5c053b12ddfb5b4b132de93ac47f45edb88f75c0
probing while swallowed (trunk only)

     Reported recently by <Someone>:  probing feedback while engulfed
shouldn't claim that the monster is not carrying anything when the hero
is inside of it.  The simple case where it's not carrying anything else
was a trivial one line change; handling inventory plus hero was trickier
and I wouldn't have bothered if I'd realized what it was going to take.
But it's done now; trivial case
        The purple worm is not carrying anything besides you.
and harder case
        The purple worm's possessions:
        Weapons
        a - an uncursed dagger
        Swallowed Creature
        > - human archeologist called wizard
doc/fixes35.0
include/extern.h
include/hack.h
src/invent.c
src/pager.c
src/pickup.c
src/zap.c