Difference between revisions of "Travel"

From NetHackWiki
Jump to navigation Jump to search
m (_ are altars)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Travel''' is a feature in some NetHack ports that allows one to move quickly along any already explored path on the current level. NetHack uses a shortest-path algorithm to find a safe route to the destination, which is then carried out quickly. Your travel will be interrupted if something sufficiently "interesting" happens, as with the {{kbd|g}} command.
+
'''Travel''' is a feature in some ''[[NetHack]]'' ports that allows one to move quickly along any already explored path on the current level. '''Travel''' is especially helpful when used to move to staircases or thrones quickly. NetHack uses a shortest-path algorithm to find a safe route to the destination, which is then carried out quickly. Your travel will be interrupted if something sufficiently "interesting" happens, as with the {{kbd|g}} command; as of [[NetHack 3.6.3]], this also includes [[engraving]]s.
  
Travel is activated using the [[underscore]] {{kbd|_}} key, then selecting a destination as for [[far look]]. Some ports allow travel to be activated by mouse-clicking (or touching with a touch-screen) on the destination.
+
Travel is activated using the [[underscore]] {{kbd|_}} key, then [[Targeting|selecting a destination]], then pressing the [[period]] {{kbd|.}} key. For example, to travel to the down staircase on the current level, type {{kbd|_}}{{kbd|>}}{{kbd|.}}, or to travel to an altar type {{kbd|_}}{{kbd|_}}{{kbd|.}}. Some ports allow travel to be activated by mouse-clicking (or touching with a touch-screen) on the destination. The travel command can also be prefixed with {{kbd|m}} to pop up a menu of interesting targets in sight, from which you can select the travel target.
  
 
The [[Options#travel|'''travel''' configuration option]] turns the travel command on/off. The [[Options#runmode|'''runmode''' configuration option]] determines how often the screen updates when travelling and running.
 
The [[Options#travel|'''travel''' configuration option]] turns the travel command on/off. The [[Options#runmode|'''runmode''' configuration option]] determines how often the screen updates when travelling and running.
  
Due to a bug, sometimes the travel command can get stuck plotting a path past certain dungeon features, such as boulders in Sokoban. This bug is marked as fixed.
+
{{todo|Please clarify the algorithm that selects between multiple similar targets, such as when there are two downstairs or two thrones on a level.}}
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
{{nethack-364}}

Latest revision as of 10:26, 7 March 2022

Travel is a feature in some NetHack ports that allows one to move quickly along any already explored path on the current level. Travel is especially helpful when used to move to staircases or thrones quickly. NetHack uses a shortest-path algorithm to find a safe route to the destination, which is then carried out quickly. Your travel will be interrupted if something sufficiently "interesting" happens, as with the g command; as of NetHack 3.6.3, this also includes engravings.

Travel is activated using the underscore _ key, then selecting a destination, then pressing the period . key. For example, to travel to the down staircase on the current level, type _>., or to travel to an altar type __.. Some ports allow travel to be activated by mouse-clicking (or touching with a touch-screen) on the destination. The travel command can also be prefixed with m to pop up a menu of interesting targets in sight, from which you can select the travel target.

The travel configuration option turns the travel command on/off. The runmode configuration option determines how often the screen updates when travelling and running.

A user has suggested improving this page or section as follows:

"Please clarify the algorithm that selects between multiple similar targets, such as when there are two downstairs or two thrones on a level."

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.4. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-364}} tag to the current version's tag or {{noversion}} as appropriate.