Add safe_wait to toggle search and wait prevention
This commit is contained in:
@@ -424,6 +424,7 @@ E void FDECL(schedule_goto, (d_level *, BOOLEAN_P, BOOLEAN_P, int,
|
||||
E void NDECL(deferred_goto);
|
||||
E boolean FDECL(revive_corpse, (struct obj *));
|
||||
E void FDECL(revive_mon, (ANY_P *, long));
|
||||
E boolean FDECL(cmd_safety_prevention, (char *, char *, int *));
|
||||
E int NDECL(donull);
|
||||
E int NDECL(dowipe);
|
||||
E void FDECL(legs_in_no_shape, (const char *, BOOLEAN_P));
|
||||
|
||||
@@ -52,6 +52,7 @@ struct flag {
|
||||
* clairvoyance */
|
||||
boolean rest_on_space; /* space means rest */
|
||||
boolean safe_dog; /* give complete protection to the dog */
|
||||
boolean safe_wait; /* prevent wait or search next to hostile */
|
||||
boolean showexp; /* show experience points */
|
||||
boolean showscore; /* show score */
|
||||
boolean silent; /* whether the bell rings or not */
|
||||
|
||||
@@ -379,6 +379,8 @@ pfx_##a,
|
||||
NoAlias, "display frequency when `running' or `travelling'")
|
||||
NHOPTB(safe_pet, 0, opt_out, set_in_game, On, Yes, No, No, NoAlias,
|
||||
&flags.safe_dog)
|
||||
NHOPTB(safe_wait, 0, opt_out, set_in_game, On, Yes, No, No, NoAlias,
|
||||
&flags.safe_wait)
|
||||
NHOPTB(sanity_check, 0, opt_in, set_wizonly, Off, Yes, No, No, NoAlias,
|
||||
&iflags.sanity_check)
|
||||
NHOPTC(scores, 32, opt_in, set_in_game, No, Yes, No, No, NoAlias,
|
||||
|
||||
Reference in New Issue
Block a user