Accessibility: mon_movement
Adds a new boolean option, mon_movement. When hero notices monster movement, give a message. Use with spot_monsters and accessiblemsg.
This commit is contained in:
@@ -193,6 +193,7 @@ struct accessibility_data {
|
||||
coord msg_loc; /* accessiblemsg: location */
|
||||
boolean mon_notices; /* msg when hero notices a monster */
|
||||
int mon_notices_blocked; /* temp disable mon_notices */
|
||||
boolean mon_movement; /* msg when hero sees monster move */
|
||||
};
|
||||
|
||||
/* Use notice_mon_off() / notice_mon_on() to temporarily disable
|
||||
|
||||
@@ -460,6 +460,9 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
NHOPTO("message types", Advanced, o_message_types, BUFSZ,
|
||||
opt_in, set_in_game,
|
||||
No, Yes, No, NoAlias, "edit message types")
|
||||
NHOPTB(mon_movement, Advanced, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &a11y.mon_movement, Term_False,
|
||||
"message when hero sees monster movement")
|
||||
NHOPTB(monpolycontrol, Advanced, 0, opt_in, set_wizonly,
|
||||
Off, Yes, No, No, NoAlias, &iflags.mon_polycontrol, Term_False,
|
||||
"control monster polymorphs")
|
||||
|
||||
Reference in New Issue
Block a user