follow-up related to #1320
This is additional groundwork related to https://github.com/NetHack/NetHack/issues/1320 This additional groundwork just puts some safeguards in place to make it rather tough to end up with an instant death from handling a cockatrice corpse in your inventory without appropriate protection. At this point, still no actual petrification will occur.
This commit is contained in:
@@ -1326,6 +1326,7 @@ extern void silly_thing(const char *, struct obj *) NONNULLARG1;
|
||||
extern void sync_perminvent(void);
|
||||
extern void perm_invent_toggled(boolean negated);
|
||||
extern void prepare_perminvent(winid window);
|
||||
extern struct obj *carrying_stoning_corpse(void);
|
||||
|
||||
/* ### ioctl.c ### */
|
||||
|
||||
@@ -2363,7 +2364,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;
|
||||
extern boolean u_safe_from_fatal_corpse(struct obj *obj, int) NONNULLARG1;
|
||||
|
||||
/* ### pline.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user