Difference between revisions of "0"

From NetHackWiki
Jump to navigation Jump to search
(grunt)
(history)
Line 7: Line 7:
  
 
* {{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.
 
* {{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.
 +
 +
==History==
 +
In hack121, a variant of [[Jay Fenlason's Hack]], {[white|0}} was used to represent an octopus.
  
 
==Variants==
 
==Variants==

Revision as of 18:57, 16 June 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 0 symbol (or number zero) serves the following purposes:

  • 0 is used to represent the heavy iron ball that appears when being punished.
  • 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 described as causing you "worry".

History

In hack121, a variant of Jay Fenlason's Hack, {[white|0}} was used to represent an octopus.

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