Difference between revisions of "0"

From NetHackWiki
Jump to navigation Jump to search
m (#REDIRECT Unused symbols)
 
(History: rephrase)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
#REDIRECT [[Unused symbols]]
+
{{ASCII}}
 +
In ''[[NetHack]]'', the number '''zero''' ('''0''') serves the following purposes:
 +
 
 +
* {{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|`}}.
 +
 
 +
* 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".
 +
 
 +
==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]]

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 `.