Add paranoid:swim to prevent typoing into water or lava
In the name of accessibility: Prevent moving into dangerous liquids. Now with themed rooms, water and lava are more common, and it's unreasonable to expect blind players to check every step for those. With paranoid:swim, just prevent normal walking into those liquids, unless you prefix the movement with 'm', or if the liquid would not harm you. Doesn't completely prevent an accidental dunking - for example if the hero is impaired or couldn't see the liquid. This comes from xNetHack by copperwater <aosdict@gmail.com> with some changes to the code.
This commit is contained in:
@@ -4054,6 +4054,8 @@ than immediately praying; on by default;
|
||||
.PL Remove
|
||||
require selection from inventory for \(oqR\(cq and \(oqT\(cq
|
||||
commands even when wearing just one applicable item.
|
||||
.PL swim
|
||||
prevent walking into water or lava.
|
||||
.PL all
|
||||
turn on all of the above.
|
||||
.PE
|
||||
@@ -5508,6 +5510,8 @@ If this is the case, disable the
|
||||
.op number_pad
|
||||
option and use the traditional
|
||||
Rogue-like commands.
|
||||
.lp paranoid_confirmation:swim
|
||||
Prevent walking into water or lava.
|
||||
.lp autodescribe
|
||||
Automatically describe the terrain under the cursor when targeting.
|
||||
.lp mention_walls
|
||||
|
||||
@@ -4430,6 +4430,8 @@ than immediately praying; on by default;
|
||||
\item[{\tt Remove~}] require selection from inventory for `{\tt R}'
|
||||
and `{\tt T}'
|
||||
commands even when wearing just one applicable item.
|
||||
\item[{\tt swim~~~}]
|
||||
prevent walking into water or lava.
|
||||
\item[{\tt all~~~~}]
|
||||
turn on all of the above.
|
||||
\elist
|
||||
@@ -6054,6 +6056,9 @@ A lot of speech access programs use the number-pad to review the screen.
|
||||
If this is the case, disable the number\verb+_+pad option and use the
|
||||
traditional Rogue-like commands.
|
||||
%.lp
|
||||
\item[\ib{paranoid\verb+_+confirmation:swim}]
|
||||
Prevent walking into water or lava.
|
||||
%.lp
|
||||
\item[\ib{autodescribe}]
|
||||
Automatically describe the terrain under the cursor when targeting.
|
||||
%.lp
|
||||
|
||||
@@ -1410,6 +1410,7 @@ reading a blessed scroll of light has a chance to improve bless/curse state
|
||||
of wielded Sunsword or worn gold dragon scales/mail similar to dipping
|
||||
those into holy water; cursed scroll has chance to worsen the state
|
||||
added a chronicle of major events, and optional live logging of those
|
||||
paranoid:swim to prevent accidental dunking into dangerous liquids
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
Reference in New Issue
Block a user