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.

View File

@@ -1506,6 +1506,9 @@ Debug mode only.
\item[\tb{\#look}]
Look at what is here, under you. Default key is `{\tt :}'.
%.lp
\item[\tb{\#lookaround}]
Describe what you can see, or remember, of your surroundings.
%.lp
\item[\tb{\#loot}]
Loot a box or bag on the floor beneath you, or the saddle
from a steed standing next to you. Autocompletes.
@@ -4474,6 +4477,9 @@ Give feedback when walking onto various dungeon features such as stairs,
fountains, or altars which are ordinarily only described when covered
by one or more objects (default off). Persistent.
%.lp
\item[\ib{mention\verb+_+map}]
Give feedback when interesting map locations change (default off).
%.lp
\item[\ib{mention\verb+_+walls}]
Give feedback when walking against a wall (default off). Persistent.
%.lp
@@ -6593,6 +6599,9 @@ combine with spot\verb+_+monsters and accessiblemsg.
\item[\ib{autodescribe}]
Automatically describe the terrain under the cursor when targeting.
%.lp
\item[\ib{mention\verb+_+map}]
Give feedback messages when interesting map locations change.
%.lp
\item[\ib{mention\verb+_+walls}]
Give feedback messages when walking towards a wall or when travel command
was interrupted.

View File

@@ -2498,7 +2498,9 @@ erinyes overhaul; they now attempt to punish heroes who have violated their
alignment and get stronger with greater alignment abuse
accessibility options to tell where on map a message happened (accessiblemsg),
to notify when a monster is spotted (spot_monsters), and when
a monster moved (mon_movement), when hero takes damage (showdamage)
a monster moved (mon_movement), when hero takes damage (showdamage),
when interesting map locations change (mention_map)
accessibility command #lookaround which will describe what hero can see
if hero is punished or tethered to a buried iron ball and has no inventory (or
only carries gold or embedded dragon scales or both), a nymph might
remove the chain when finding nothing else to steal