]> granicus.if.org Git - nethack/commitdiff
stinking cloud feedback
authornethack.rankin <nethack.rankin>
Sat, 4 Dec 2004 02:54:02 +0000 (02:54 +0000)
committernethack.rankin <nethack.rankin>
Sat, 4 Dec 2004 02:54:02 +0000 (02:54 +0000)
     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.

doc/fixes34.4
src/region.c

index 2c5fd96944b6ed8e71950b1daa2fc69d2c6a2507..0301c7808f4351f0eeeb882b79bda7f652fdaaba 100644 (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
index 302a4599bdd945909ca6a597605c3e9040e9318c..02c37adee2a08ac0817ded8a2ea49821403a9b31 100644 (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;