unpaid shop goods in inventory (trunk only)
Inventory display adds "(unpaid, N zorkmids)" to carried unpaid items, but it didn't show anything comparable for indirect unpaid ones (hero-owned containers holding shop-owned objects). Now it will include "(contents, N zorkmids)" in such cases.
This commit is contained in:
@@ -1988,7 +1988,7 @@ E long FDECL(contained_cost, (struct obj *,struct monst *,long,BOOLEAN_P, BOOLEA
|
||||
E long FDECL(contained_gold, (struct obj *));
|
||||
E void FDECL(picked_container, (struct obj *));
|
||||
E void FDECL(alter_cost, (struct obj *,long));
|
||||
E long FDECL(unpaid_cost, (struct obj *));
|
||||
E long FDECL(unpaid_cost, (struct obj *,BOOLEAN_P));
|
||||
E boolean FDECL(billable, (struct monst **,struct obj *,CHAR_P,BOOLEAN_P));
|
||||
E void FDECL(addtobill, (struct obj *,BOOLEAN_P,BOOLEAN_P,BOOLEAN_P));
|
||||
E void FDECL(splitbill, (struct obj *,struct obj *));
|
||||
|
||||
@@ -160,6 +160,7 @@ struct instance_flags {
|
||||
int in_lava_effects; /* hack for Boots_off() */
|
||||
int purge_monsters; /* # of dead monsters still on fmon list */
|
||||
int override_ID; /* true to force full identification of objects */
|
||||
int suppress_price; /* controls doname() for unpaid objects */
|
||||
coord travelcc; /* coordinates for travel_cache */
|
||||
boolean window_inited; /* true if init_nhwindows() completed */
|
||||
boolean vision_inited; /* true if vision is ready */
|
||||
|
||||
Reference in New Issue
Block a user