Add safe_wait to toggle search and wait prevention

This commit is contained in:
Pasi Kallinen
2020-10-02 18:50:19 +03:00
parent aaf88f9662
commit 396b819988
8 changed files with 50 additions and 25 deletions

View File

@@ -675,7 +675,9 @@ support, the command is also invoked when a mouse-click takes place on a
location other than the current position.
.lp .
Wait or rest, do nothing for one turn. Precede with the \(oqm\(cq prefix
to wait for a turn even next to a hostile monster.
to wait for a turn even next to a hostile monster, if
.op safe_wait
is on.
.lp a
Apply (use) a tool (pick-axe, key, lamp...).
.lp ""
@@ -884,7 +886,9 @@ Redraw the screen.
Search for secret doors and traps around you.
It usually takes several tries to find something.
Precede with the \(oqm\(cq prefix to search for a turn
even next to a hostile monster.
even next to a hostile monster, if
.op safe_wait
is on.
.lp ""
Can also be used to figure out whether there is still a monster at
an adjacent \(lqremembered, unseen monster\(rq marker.
@@ -3987,6 +3991,9 @@ Persistent.
.lp safe_pet
Prevent you from (knowingly) attacking your pets (default on).
Persistent.
.lp safe_wait
Prevents you from waiting or searching when next to a hostile monster
(default on). Persistent.
.lp sanity_check
Evaluate monsters, objects, and map prior to each turn (default off).
Debug mode only.

View File

@@ -769,7 +769,8 @@ location other than the current position.
%.lp
\item[\tb{.}]
Wait or rest, do nothing for one turn. Precede with the `{\tt m}' prefix
to wait for a turn even next to a hostile monster.
to wait for a turn even next to a hostile monster, if {\it safe\verb+_+wait\/}
is on.
%.lp
\item[\tb{a}]
Apply (use) a tool (pick-axe, key, lamp \ldots).\\
@@ -968,7 +969,8 @@ Redraw the screen.
Search for secret doors and traps around you.
It usually takes several tries to find something.
Precede with the `{\tt m}' prefix to wait for a turn
even next to a hostile monster.\\
even next to a hostile monster, if {\it safe\verb+_+wait\/}
is on.\\
%.lp ""
Can also be used to figure out whether there is still a monster at
an adjacent ``remembered, unseen monster'' marker.
@@ -4307,6 +4309,10 @@ depend upon the window port used or on the type of terminal. Persistent.
%.lp
\item[\ib{safe\verb+_+pet}]
Prevent you from (knowingly) attacking your pets (default on). Persistent.
%.lp
\item[\ib{safe\verb+_+wait}]
Prevents you from waiting or searching when next to a hostile monster
(default on). Persistent.
%+.lp
\item[\ib{sanity\verb+_+check}]
Evaluate monsters, objects, and map prior to each turn (default off).

View File

@@ -126,7 +126,8 @@ it's possible to wish for tins of the Riders in wizard mode; eating one is
fatal but if you're life-saved or decline to die, the game crashed
revival via undead turning of corpse carried by hero said "your <mon> corpse
comes alive" even when revived monster was undead
prevent searching or waiting next to a hostile monster - override with 'm'
prevent searching or waiting next to a hostile monster if boolean option
safe_wait is on - override with 'm'
allow random mimics to show up mimicing more furniture than just stairs
scatter exploding bag of holding contents instead of outright deleting them
male hero poly'd into nymph chooses charm vs seduce message based on being