adjust wish for cockatrice corpse
Wishing is powerful, so if you cannot safely handle a cockatrice corpse, then have a wish for one result in the corpse materializing on the floor rather than in your inventory. Resolves #1320
This commit is contained in:
@@ -2363,6 +2363,7 @@ extern int loot_mon(struct monst *, int *, boolean *) NO_NNARGS;
|
||||
extern int dotip(void);
|
||||
extern struct autopickup_exception *check_autopickup_exceptions(struct obj *) NONNULLARG1;
|
||||
extern boolean autopick_testobj(struct obj *, boolean) NONNULLARG1;
|
||||
extern boolean u_safe_from_fatal_corpse(struct obj *obj) NONNULLARG1;
|
||||
|
||||
/* ### pline.c ### */
|
||||
|
||||
|
||||
@@ -162,6 +162,7 @@ struct obj {
|
||||
* 1 for others (format as "next boulder") */
|
||||
int usecount; /* overloaded for various things that tally */
|
||||
#define spestudied usecount /* # of times a spellbook has been studied */
|
||||
#define wishedfor usecount /* flag for hold_another_object() if from wish */
|
||||
unsigned oeaten; /* nutrition left in food, if partly eaten */
|
||||
long age; /* creation date */
|
||||
long owornmask; /* bit mask indicating which equipment slot(s) an
|
||||
|
||||
Reference in New Issue
Block a user