]> granicus.if.org Git - nethack/commit
Unaware; fix #H202 and extend the fix for #H179 (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 2 Sep 2006 03:32:18 +0000 (03:32 +0000)
committernethack.rankin <nethack.rankin>
Sat, 2 Sep 2006 03:32:18 +0000 (03:32 +0000)
commit06e9fa91de8e6694c6d923d4006a138263067369
tree662c6d05f887b0700a0c2c9918a74e5f5e17f748
parent1574c6effd9f9b630fa496239c00077a4693a0b6
Unaware; fix #H202 and extend the fix for #H179 (trunk only)

     Turn being unconscious (via several reasons, including fainted from
hunger) into a pseudo-property named `Unaware' and use it in several
places where only being asleep was checked.  #H202 was about a stunned
character who got the recovery message when it timed out while fainted.
This suppresses messages for several difficulties when they begin or end
while hero is Unaware.  Messages about fatal illness, sliming, or
petrification aren't suppressed; they're too important to hide from the
player.  "You feel ..." messages come out as "You dream that you feel ..."
when Unaware; fairly lame but hopefully adequate.
doc/fixes35.0
include/youprop.h
src/mhitm.c
src/mondata.c
src/monmove.c
src/pline.c
src/potion.c
src/trap.c