Difference between revisions of "-"

From NetHackWiki
Jump to navigation Jump to search
(Added in-game message)
(formatting + copyedit pass)
Line 1: Line 1:
 
{{ASCII}}
 
{{ASCII}}
The '''-''' symbol is used to represent:
+
In ''[[NetHack]]'', the '''en dash''' or '''short dash''' symbol ('''-''') serves the following purposes:
* horizontal walls: {{lightgray|-}}
 
* an open door in a vertical wall: {{brown|-}}
 
* part of a [[ray]]
 
 
 
Pressing {{kbd|-}} followed by a direction will cause you to attack that direction regardless of what is there, useful for attacking invisible or mimicked foes, pets or peaceful denizens of the dungeon, without a prompt for safety.
 
 
 
For some item prompts, pressing {{kbd|-}} chooses your hands instead of an item. This can be used to [[engrave]] with your finger, to [[wield]] nothing (and fight [[bare hands|bare-handed]]), or to make your hands [[grease|greasy]]. Selecting "-" when asked, "What do you want to eat?" gives the message, "You mime eating something."
 
 
 
Pressing {{kbd|-}} at a menu [[Menu_controls|deselects all items]]. Supported by [[tty]] and [[curses interface]]s, see [[menu controls]].
 
  
 +
* {{lightgray|-}} represents a horizontal [[wall]].
 +
* {{brown|-}} represents an open [[door]] in a vertical wall.
 +
* {{white|-}} is used to draw horizontal [[ray]]s.
  
 +
* Pressing {{kbd|-}} followed by a direction will cause you to attack in that direction regardless of what is there - this is useful for attacking invisible or mimicked foes, pets or peaceful denizens of the dungeon, without a prompt for safety.
 +
* For some item prompts, pressing {{kbd|-}} chooses your hands instead of an item, e.g. you can [[engrave]] with your finger, [[wield]] nothing and fight [[bare hands|bare-handed]], or apply [[grease]] to your hands. For other item prompts, you will mime performing the action instead.
 +
* In a [[Menu controls]], pressing {{kbd|-}} deselects all items.
 +
{{nethack-367}}
 
[[Category:ASCII]]
 
[[Category:ASCII]]

Revision as of 16:25, 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 en dash or short dash symbol (-) serves the following purposes:

  • - represents a horizontal wall.
  • - represents an open door in a vertical wall.
  • - is used to draw horizontal rays.
  • Pressing - followed by a direction will cause you to attack in that direction regardless of what is there - this is useful for attacking invisible or mimicked foes, pets or peaceful denizens of the dungeon, without a prompt for safety.
  • For some item prompts, pressing - chooses your hands instead of an item, e.g. you can engrave with your finger, wield nothing and fight bare-handed, or apply grease to your hands. For other item prompts, you will mime performing the action instead.
  • In a Menu controls, pressing - deselects all items.