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: @(#)hack.h 3.5 2006/04/07 */
|
||||
/* SCCS Id: @(#)hack.h 3.5 2007/01/02 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
#define COST_SPLAT 12 /* cream pie to own face (ditto) */
|
||||
#define COST_BITE 13 /* start eating food */
|
||||
#define COST_OPEN 14 /* open tin */
|
||||
#define COST_BRKLCK 15 /* break box/chest's lock */
|
||||
|
||||
/* bitmask flags for corpse_xname();
|
||||
PFX_THE takes precedence over ARTICLE, NO_PFX takes precedence over both */
|
||||
|
||||
Reference in New Issue
Block a user