Accessibility: Show a message when monster is spotted
Adds a new boolean option, spot_monsters. If on, every time the hero notices a monster which was out of sight before, a message is given. Combine with accessiblemsg to get the monster location: (3north): You see a newt. Breaks saves and bones.
This commit is contained in:
3
src/do.c
3
src/do.c
@@ -1807,6 +1807,7 @@ goto_level(
|
||||
/* Reset the screen. */
|
||||
vision_reset(); /* reset the blockages */
|
||||
reset_glyphmap(gm_levelchange);
|
||||
notice_mon_off(); /* not noticing monsters yet! */
|
||||
docrt(); /* does a full vision recalc */
|
||||
flush_screen(-1);
|
||||
|
||||
@@ -1923,6 +1924,8 @@ goto_level(
|
||||
#ifdef INSURANCE
|
||||
save_currentstate();
|
||||
#endif
|
||||
notice_mon_on();
|
||||
notice_all_mons(TRUE);
|
||||
|
||||
print_level_annotation();
|
||||
/* give room entrance message, if any */
|
||||
|
||||
Reference in New Issue
Block a user