Difference between revisions of "Underscore"

From NetHackWiki
Jump to navigation Jump to search
(format + expand)
(formatting + copyedit pass)
 
Line 1: Line 1:
 
{{ASCII}}
 
{{ASCII}}
In ''[[NetHack]]'', the '''underscore''' symbol {{white|_}} serves the following purposes:
+
In ''[[NetHack]]'', the '''underscore''' symbol ('''_''') serves the following purposes:
  
* In the dungeon, it can represent:
+
* {{lightgray|_}} represents an [[altar]].
** {{lightgray|_}} an [[altar]]
+
* {{cyan|_}} represents an [[iron chain]].
** {{cyan|_}} an iron chain
 
  
* It is also used for the following [[keyboard]] controls:
+
* Press {{kbd|_}} to [[travel]] to a map location if the [[command]] is enabled in your [[options]].
** You can press {{kbd|_}} to [[travel]] to a map location if the [[command]] is enabled in your [[options]]. The game will prompt you to move a cursor to your desired destination square, or else select a symbol corresponding to a [[dungeon feature]] on that square, and then confirm - you are then moved as part of a shortest-path algorithm to that location. The algorithm fails when there are known [[trap]]s in the way, instead causing you to travel in a straight line to the nearest wall near that trap. Travel is especially useful on levels where there are multiple dungeon features to target (e.g. upstairs to [[Sokoban]], multiple [[sink]]s, etc.).
+
** The game will prompt you to move a cursor to your desired destination square, or else select a symbol corresponding to a [[dungeon feature]] on that square, and then confirm - you are then moved as part of a shortest-path algorithm to that location. The algorithm fails when there are known [[trap]]s in the way, instead causing you to travel in a straight line to the nearest wall near that trap.
 
{{nethack-367}}
 
{{nethack-367}}
 
[[Category:ASCII]]
 
[[Category:ASCII]]

Latest revision as of 16:21, 29 October 2023

Printable ASCII characters
~ ! @ # $ % ^ & * ( ) _ + space
` 1 2 3 4 5 6 7 8 9 0 - = { } |
Qq Ww Ee Rr Tt Yy Uu Ii Oo Pp : " [ ] \
Aa Ss Dd Ff Gg Hh Jj Kk Ll ? ; ' Ctrl
Zz Xx Cc Vv Bb Nn Mm , . / < > Alt

In NetHack, the underscore symbol (_) serves the following purposes:

  • Press _ to travel to a map location if the command is enabled in your options.
    • The game will prompt you to move a cursor to your desired destination square, or else select a symbol corresponding to a dungeon feature on that square, and then confirm - you are then moved as part of a shortest-path algorithm to that location. The algorithm fails when there are known traps in the way, instead causing you to travel in a straight line to the nearest wall near that trap.