From 39f3bba86d67ef7c7abcfc46929fd80faa244fa2 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sat, 4 Dec 2004 02:54:02 +0000 Subject: [PATCH] stinking cloud feedback Add the extra feedback suggested by 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 | 1 + src/region.c | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 2c5fd9694..0301c7808 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -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 diff --git a/src/region.c b/src/region.c index 302a4599b..02c37adee 100644 --- a/src/region.c +++ b/src/region.c @@ -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; -- 2.40.0