stinking cloud feedback

Add the extra feedback suggested by <Someone> so that being blinded
by moving into a stinking cloud is explicitly pointed out to the user.  It
makes things more verbose but seems reasonable.  You get blinded for 1 turn
with every step, so the message gets repeated each time too, but since you
also get a choking or coughing message on each step it's only a modest
increase in the overall verbosity.
This commit is contained in:
nethack.rankin
2004-12-04 02:54:02 +00:00
parent b4be660c0a
commit 39f3bba86d
2 changed files with 7 additions and 3 deletions

View File

@@ -70,6 +70,7 @@ wizard mode: WIZKIT wish for own quest artifact triggered crash at startup
avoid "your steed is still eating" message when going through a magic portal
cannot drink from fountain, sink or surrounding water while swallowed
don't hallucinate anything for an exploding black light as it dies
give blindness feedback when moving into/through stinking cloud
Platform- and/or Interface-Specific Fixes

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)region.c 3.4 2004/06/12 */
/* SCCS Id: @(#)region.c 3.4 2004/11/30 */
/* Copyright (c) 1996 by Jean-Christophe Collet */
/* NetHack may be freely redistributed. See license for details. */
@@ -907,10 +907,13 @@ genericptr_t p2;
if (p2 == NULL) { /* This means *YOU* Bozo! */
if (nonliving(youmonst.data) || Breathless)
return FALSE;
if (!Blind)
if (!Blind) {
Your("%s sting.", makeplural(body_part(EYE)));
make_blinded(1L, FALSE);
}
if (!Poison_resistance) {
pline("%s is burning your %s!", Something, makeplural(body_part(LUNG)));
pline("%s is burning your %s!",
Something, makeplural(body_part(LUNG)));
You("cough and spit blood!");
losehp(Maybe_Half_Phys(rnd(dam) + 5), "gas cloud", KILLED_BY_AN);
return FALSE;