From 8558981d9dd0c2c9d93cd3a91c765bc3c97567d0 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 4 Apr 2024 05:28:22 -0700 Subject: [PATCH] "can't #offer" phrasing When you attempt #offer at a non-altar location, the feedback "you are not standing on an altar" made it sound as if you wouldn't be able to #offer if you were levitating. Since that is possible, change the feedback. --- src/pray.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pray.c b/src/pray.c index c1dc50a6a..71aed4e26 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 pray.c $NHDT-Date: 1702349066 2023/12/12 02:44:26 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.205 $ */ +/* NetHack 3.7 pray.c $NHDT-Date: 1712233483 2024/04/04 12:24:43 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.217 $ */ /* Copyright (c) Benson I. Margulies, Mike Stephenson, Steve Linhart, 1989. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1814,7 +1814,8 @@ dosacrifice(void) int value = 0; if (!on_altar() || u.uswallow) { - You("are not standing on an altar."); + You("are not %s an altar.", + (Levitation || Flying) ? "over" : "on"); return ECMD_OK; } else if (Confusion || Stunned || Hallucination) { You("are too impaired to perform the rite.");