Accessibility: lookaround command, mention_map option

Adds a new extended command #lookaround, which will describe
the map around the hero they can see or remember.

Adds a new boolean option mention_map, which will give a message
when an interesting map location in sight changes.
This commit is contained in:
Pasi Kallinen
2024-02-28 20:21:51 +02:00
parent 1532a052c0
commit 25fa293c81
11 changed files with 277 additions and 4 deletions

View File

@@ -1390,6 +1390,8 @@ Debug mode only.
.lp "#look "
Look at what is here, under you.
Default key is \(oq:\(cq.
.lp #lookaround
Describe what you can see, or remember, of your surroundings.
.lp "#loot "
Loot a box or bag on the floor beneath you, or the saddle
from a steed standing next to you.
@@ -4091,6 +4093,8 @@ fountains, or altars which are ordinarily only described when covered
by one or more objects (default off).
Cannot be set with the \(oq\f(CRO\fP\(cq command.
Persistent.
.lp mention_map
Give feedback when interesting map locations change (default off).
.lp mention_walls
Give feedback when walking against a wall (default off).
Persistent.
@@ -5977,6 +5981,8 @@ Shows a message when hero notices a monster movement;
combine with spot_monsters and accessiblemsg.
.lp autodescribe
Automatically describe the terrain under the cursor when targeting.
.lp mention_map
Give feedback messages when interesting map locations change.
.lp mention_walls
Give feedback messages when walking towards a wall or when travel command
was interrupted.