you feel {a,an unexpected} draft
Move the message given when a monster digs through a closed door or a secret corridor into a separate routine. In theory, nethack should determine whether there is a path between the new opening and the hero's location in order to decide whether a draft can be felt. (I don't think anyone is likely to implement that--I'm certainly not. Checking whether the hero is in a room with no breaches in its walls could at least catch being inside a vault.) While at it, add some USA-centric puns about feeling the prospect of imminent military conscription instead of air current if it happens while hallucinating.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 zap.c $NHDT-Date: 1431192757 2015/05/09 17:32:37 $ $NHDT-Branch: master $:$NHDT-Revision: 1.222 $ */
|
||||
/* NetHack 3.6 zap.c $NHDT-Date: 1431998738 2015/05/19 01:25:38 $ $NHDT-Branch: master $:$NHDT-Revision: 1.223 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -4318,7 +4318,7 @@ short exploding_wand_typ;
|
||||
pline("%s %s reveals a secret door.", yourzap ? "Your" : "The",
|
||||
zapverb);
|
||||
else if (Is_rogue_level(&u.uz))
|
||||
You_feel("a draft."); /* new open doorway */
|
||||
draft_message(FALSE); /* "You feel a draft." (open doorway) */
|
||||
}
|
||||
|
||||
/* regular door absorbs remaining zap range, possibly gets destroyed */
|
||||
|
||||
Reference in New Issue
Block a user