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.
This commit is contained in:
nethack.rankin
2006-09-02 03:32:18 +00:00
parent 1574c6effd
commit 06e9fa91de
8 changed files with 44 additions and 14 deletions
+1
View File
@@ -157,6 +157,7 @@ if shopkeeper or priest gets teleported while inside his shop or temple,
give locations inside that room preference when choosing destination
tame/peaceful grabber/engulfer will release hero after conflict ends
make changes in hallucination be reflected by changes in mimickery feedback
add Unaware pseudo-property to suppress various messages while unconscious
Platform- and/or Interface-Specific Fixes