breaking lock of shop chest (trunk only)
From the newsgroup: you weren't charged anything if you broke the lock of a box or chest which was owned by a shop. Force the hero to pay for the damaged container; any contents remain owned by the shop and don't affect the cost of the forced purchase. This existing entry in fixes35.0 is adequate to cover the fix: various actions--such as enchanting--performed on an unpaid shop object either force the hero to buy the item (when its value is lowered) or increase the current bill (when its value is raised)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)mkobj.c 3.5 2006/08/23 */
|
||||
/* SCCS Id: @(#)mkobj.c 3.5 2007/01/02 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -506,6 +506,7 @@ static const char * const alteration_verbs[] = {
|
||||
"cancel", "drain", "uncharge", "unbless", "uncurse",
|
||||
"disenchant", "degrade", "dilute", "erase", "burn",
|
||||
"neutralize", "destroy", "splatter", "bite", "open",
|
||||
"break the lock on",
|
||||
};
|
||||
|
||||
/* possibly bill for an object which the player has just modified */
|
||||
|
||||
Reference in New Issue
Block a user