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

@@ -2031,7 +2031,9 @@ seffect_magic_mapping(struct obj **sobjp)
cval = (scursed && !confused);
if (cval)
HConfusion = 1; /* to screw up map */
notice_mon_off();
do_mapping();
notice_mon_on();
if (cval) {
HConfusion = 0; /* restore */
pline("Unfortunately, you can't grasp the details.");