From 37a7e62be5d930de14760647b27a1373b3f99aea Mon Sep 17 00:00:00 2001 From: PatR Date: Sat, 27 Apr 2024 23:20:27 -0700 Subject: [PATCH] pull request #1237 - bill_dummy_object() is overcharging when using up a stack instead of single item Pull request by entrez: shop bill was being inflated by item count if more that one unpaid item got used up at once. Lighting N unpaid candles charged N * N * single_candle_price instead of the intended N * single_candle_price. This PR was in response to issue #1236 by Xdminsy: usage fees for applying more unpaid candles are multiplied by amount once more. Closes #1237 Closes #1236 --- doc/fixes3-7-0.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 9027250fa..1fce79ce0 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1406,6 +1406,9 @@ 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 hero or monster didn't fall into pit if water at the location was boiled away +shopkeepers magnified the cost of shop items used up as a group; normally + using an item splits 1 from its stack, but applying a stack of N + candles to light them all charged N * N * single_candle_price Fixes to 3.7.0-x General Problems Exposed Via git Repository