engraving with stack of cursed weapons
commitec99383b8138274d5838a01261aaca23bb0f46db
authorPatR <rankin@nethack.org>
Fri, 26 Apr 2024 00:41:06 +0000 (25 17:41 -0700)
committerPatR <rankin@nethack.org>
Fri, 26 Apr 2024 00:41:06 +0000 (25 17:41 -0700)
tree6c7052df37b21940ad31f27c46597c79e87c5fcd
parentab0a98072b4c9d98f344a615fad3ab40ad4806dd
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.
doc/fixes3-7-0.txt
src/engrave.c