]> granicus.if.org Git - nethack/commit
fix #H2504 - dropping shop goods inside engulfer
authorPatR <rankin@nethack.org>
Sun, 16 Dec 2018 23:43:17 +0000 (15:43 -0800)
committerPatR <rankin@nethack.org>
Sun, 16 Dec 2018 23:43:17 +0000 (15:43 -0800)
commit0f15b7c3ad42f220a66cea4352e643867c2948fe
treeb7a663e73f0a64f96da28033a0cd41540da9ce1a
parent0fe6a731dff521a7dd1c1a9f3c36d5438d24c22e
fix #H2504 - dropping shop goods inside engulfer

This one is only seven years old.  Dropping an unpaid item inside an
engulfer leaves it unpaid and still on bill.  If engulfer is killed,
it ends up unpaid when back on the shop's floor.

Treat dropping an unpaid item into engulfer's inventory as stealing
that item.  You have to pay for it to leave the shop, and like any
other dying monster's inventory, the shopkeeper will take ownership
if it lands on the shop floor when the engulfer is killed.

The 'theft' doesn't anger the shopkeeper and the cost shows up on 'Ix'
as part of "usage fees/other charges" rather than as an itemized used
up item.
doc/fixes36.2
src/do.c