Difference between revisions of "0"

From NetHackWiki
Jump to navigation Jump to search
(History: rephrase)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{ASCII}}
 
{{ASCII}}
 +
In ''[[NetHack]]'', the number '''zero''' ('''0''') serves the following purposes:
  
The symbol {{cyan|0}} is used to represent the [[heavy iron ball]] that is attached to you when [[punished]].
+
* {{cyan|0}} is used to represent the [[heavy iron ball]] that appears when being [[punished]].
 +
* {{kbd|0}} and the other numeric keys {{kbd|1}}–{{kbd|9}} can be used to specify a [[numeric prefix]] for a [[command]] or in a menu.
 +
* A popular choice for the [[Options#boulder|''boulder'' option]] is to set it to {{white|0}}, as it is considered a better graphic representation of boulders and far easier to see than the [[backtick]], {{white|`}}.
  
Many players like to change the ''boulder'' [[options|option]] to "0", which is a better graphic representation of boulders, and far easier to see than "`" (backtick).
+
* Unimplemented code that handles [[warning]] for monsters with a level below four would represent such monsters with a {{white|0}}, and describes them as causing you "worry".
  
You can also use the keys '''{{kbd|0}}'''–'''{{kbd|9}}''' to specify a [[numeric prefix]] for a command or in a menu.
+
==History==
 +
In Hack 1.21, which is based on [[Jay Fenlason's Hack]], the octopus uses the {{white|0}} glyph.
 +
 
 +
==Variants==
 +
===GruntHack===
 +
[[GruntHack]] implements the unusued code for warning of monsters that are level four and below described above, representing them with {{white|0}}.
 +
 
 +
===DynaHack===
 +
[[DynaHack]] uses the {{white|0}} glyph for boulders by default, rather than {{white|`}}.
 +
{{nethack-367}}
 
[[Category:ASCII]]
 
[[Category:ASCII]]

Latest revision as of 18:32, 20 January 2024

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 number zero (0) serves the following purposes:

  • 0 is used to represent the heavy iron ball that appears when being punished.
  • 0 and the other numeric keys 19 can be used to specify a numeric prefix for a command or in a menu.
  • A popular choice for the boulder option is to set it to 0, as it is considered a better graphic representation of boulders and far easier to see than the backtick, `.
  • Unimplemented code that handles warning for monsters with a level below four would represent such monsters with a 0, and describes them as causing you "worry".

History

In Hack 1.21, which is based on Jay Fenlason's Hack, the octopus uses the 0 glyph.

Variants

GruntHack

GruntHack implements the unusued code for warning of monsters that are level four and below described above, representing them with 0.

DynaHack

DynaHack uses the 0 glyph for boulders by default, rather than `.