Difference between revisions of "0"

From NetHackWiki
Jump to navigation Jump to search
m (style guide on variant templates, spacing)
(History: rephrase)
 
Line 9: Line 9:
  
 
==History==
 
==History==
In hack121, a variant of [[Jay Fenlason's Hack]], {{white|0}} was used to represent an octopus.
+
In Hack 1.21, which is based on [[Jay Fenlason's Hack]], the octopus uses the {{white|0}} glyph.
  
 
==Variants==
 
==Variants==

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