From b08fbef739d242a2973472e60912f075be6cb26e Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Thu, 27 Nov 2025 23:14:17 +0000 Subject: [PATCH] Followup to erinyes changes / offering while impaired The important part of the "don't offer while impaired" change was to prevent offering while confused. However, it was also extended to other status conditions: stunning seems fine, but hallucination was problematic (both because it makes a large number of messages inaccessible, and because hallucination is more of a long-term status effect than the other two and players may sometimes choose to play with it for a large portion of the game). So make the change trigger only on stunning and confusion, not hallucination. This also updates the changelog for the change, because while connected to the erinys changes, it's technically separate and is relevant even in games where erinyes are never summoned. --- doc/fixes3-7-0.txt | 1 + src/pray.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 4dd9c189a..fcb28a135 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1545,6 +1545,7 @@ some types of shopkeeper now start with a scroll of charging objects are now accurately tracked as discovered even if not type-named nor formally identified (fixing some bugs in scroll writing, and making the discoveries list more accurate) +you cannot sacrifice objects/corpses while stunned or confused Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/pray.c b/src/pray.c index b515374d7..075711400 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1861,7 +1861,7 @@ dosacrifice(void) You("are not %s an altar.", (Levitation || Flying) ? "over" : "on"); return ECMD_OK; - } else if (Confusion || Stunned || Hallucination) { + } else if (Confusion || Stunned) { You("are too impaired to perform the rite."); return ECMD_OK; }