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:
Pasi Kallinen
2024-01-14 13:28:52 +02:00
parent 627b40fb57
commit 3160112ece
13 changed files with 119 additions and 1 deletions

View File

@@ -5092,6 +5092,9 @@ Allow sounds to be emitted from an integrated sound library (default on).
Display a sparkly effect when a monster (including yourself) is hit by an
attack to which it is resistant (default on). Persistent.
%.lp
\item[\ib{spot\verb+_+monsters}]
Show a message when hero notices a monster (default is off).
%.lp
\item[\ib{standout}]
Boldface monsters and ``{\tt --More--}'' (default off). Persistent.
%.lp
@@ -6535,6 +6538,9 @@ Prevent walking into water or lava.
\item[\ib{accessiblemsg}]
Adds direction or location information to messages.
%.lp
\item[\ib{spot\verb+_+monsters}]
Shows a message when hero notices a monster; combine with accessiblemsg.
%.lp
\item[\ib{autodescribe}]
Automatically describe the terrain under the cursor when targeting.
%.lp