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

@@ -4650,6 +4650,8 @@ 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 spot_monsters
Show a message when hero notices a monster (default is off).
.lp standout
Boldface monsters and \(lq\fB\-\-More\-\-\fP\(rq (default off).
Persistent.
@@ -5938,6 +5940,8 @@ Rogue-like commands.
Prevent walking into water or lava.
.lp accessiblemsg
Adds direction or location information to messages.
.lp spot_monsters
Shows a message when hero notices a monster; combine with accessiblemsg.
.lp autodescribe
Automatically describe the terrain under the cursor when targeting.
.lp mention_walls