'travel' option

Change '!travel' to only prevent travel-by-mouse and leave '_' alone.
This commit is contained in:
PatR
2020-02-07 14:37:51 -08:00
parent 7ca4ae7c4b
commit 84daf75981
5 changed files with 31 additions and 25 deletions

View File

@@ -3771,9 +3771,11 @@ Setting this option makes the score list visible when a windowing version
of NetHack is started without a parent window, but it no longer leaves
the score list around after game end on a terminal or emulating window.
.lp travel
Allow the travel command (default on). Turning this option off will
prevent the game from attempting unintended moves if you make inadvertent
mouse clicks on the map window. Persistent.
Allow the travel command via mouse click (default on).
Turning this option off will prevent the game from attempting unintended
moves if you make inadvertent mouse clicks on the map window.
Does not affect traveling via the \(oq\f(CR_\fP\(cq (\(lq#travel\(rq) command.
Persistent.
." .lp travel_debug
." Display intended path during each step of travel (default off).
." Debug mode only.

View File

@@ -4064,9 +4064,11 @@ of {\it NetHack\/} is started without a parent window, but it no longer leaves
the score list around after game end on a terminal or emulating window.
%.lp
\item[\ib{travel}]
Allow the travel command (default on). Turning this option off will
prevent the game from attempting unintended moves if you make inadvertent
mouse clicks on the map window. Persistent.
Allow the travel command via mouse click (default on).
Turning this option off will prevent the game from attempting unintended
moves if you make inadvertent mouse clicks on the map window.
Does not affect traveling via the `{\tt \verb+_+}' (``{\tt \#travel}'')
command. Persistent.
% %.lp
% \item[ib{travel\verb+_+debug}]
% Display intended path during each step of travel (default off).

View File

@@ -142,6 +142,8 @@ new 'mention_decor' option; when On, describe dungeon features being stepped
on or floated/flown over even when they're not covered by objects
applying royal jelly on an egg kills, revives, or changes the egg
intelligent monsters pick up and rummage through containers
toggling 'travel' option Off now only inhibits travel by mouse click, not by
'_' command where choosing the destination provides a chance to cancel
Platform- and/or Interface-Specific New Features