engraving with stack of cursed weapons

Fix a FIXME added for issue #1233.  When engraving, if the writing
implement is a stack of cursed weapons which are welded to the hero's
hand, just write in the dust rather than engrave in the floor, in
order to keep the whole stack welded.

Only applies when the stack is actively welded.  Other stacks of
cursed weapons will have one split from the stack to perform the
engraving, otherwise engraving could be used to determine whether a
stack is cursed without the risk of wielding it.
This commit is contained in:
PatR
2024-04-25 17:41:06 -07:00
parent ab0a98072b
commit ec99383b81
2 changed files with 20 additions and 16 deletions
+3
View File
@@ -1402,6 +1402,9 @@ pets and peacefuls avoid a location hero just kicked
shopkeepers bill you for using their bear trap or land mine
when engraving with a stack of eligible weapons, split one off the stack and
dull it rather than dull the whole stack
when engraving with a stack of cursed weapons, treat it differently if that
stack is welded to hero's hand: write in dust and leave whole stack
welded rather than split one off stack to engrave on floor
Fixes to 3.7.0-x General Problems Exposed Via git Repository