explain Amulet wish
In wizard mode, I used ^W to wish for the Amulet of Yendor and was immediately prompted for another wish. It was baffling and took a while to figure out. Give a message before initiating the wish.
This commit is contained in:
@@ -2208,6 +2208,7 @@ when reading a T-shirt or apron, add trailing period to the slogan unless
|
|||||||
when reading an engraving, suppress the addition of a trailing period if the
|
when reading an engraving, suppress the addition of a trailing period if the
|
||||||
text already has one
|
text already has one
|
||||||
cursed magic whistle could teleport hero on no-teleport levels
|
cursed magic whistle could teleport hero on no-teleport levels
|
||||||
|
give a brief explanation when receving a wish for acquiring the Amulet
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository
|
Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository
|
||||||
|
|||||||
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.7 allmain.c $NHDT-Date: 1744860497 2025/04/16 19:28:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.276 $ */
|
/* NetHack 3.7 allmain.c $NHDT-Date: 1771213100 2026/02/15 19:38:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.286 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -446,6 +446,8 @@ moveloop_core(void)
|
|||||||
/* the Amulet of Yendor gives a wish when initially picked up */
|
/* the Amulet of Yendor gives a wish when initially picked up */
|
||||||
if (u.uhave.amulet && !u.uevent.amulet_wish) {
|
if (u.uhave.amulet && !u.uevent.amulet_wish) {
|
||||||
u.uevent.amulet_wish = 1;
|
u.uevent.amulet_wish = 1;
|
||||||
|
display_nhwindow(WIN_MESSAGE, TRUE);
|
||||||
|
urgent_pline("The Amulet is bestowing a wish upon you!");
|
||||||
makewish();
|
makewish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user