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:
@@ -705,6 +705,8 @@ newgame(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* make sure welcome messages are given before noticing monsters */
|
||||
notice_mon_off();
|
||||
disp.botlx = TRUE;
|
||||
gc.context.ident = 1;
|
||||
gc.context.warnlevel = 1;
|
||||
@@ -765,6 +767,8 @@ newgame(void)
|
||||
|
||||
/* Success! */
|
||||
welcome(TRUE);
|
||||
notice_mon_on(); /* now we can notice monsters */
|
||||
notice_all_mons(TRUE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user