Source:NetHack 3.6.4/dat/hh

From NetHackWiki
Jump to navigation Jump to search

Below is the full text to hh from the source code of NetHack 3.6.4. To link to a particular line, write [[Source:NetHack 3.6.4/dat/hh#line12]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

1. y k u   7 8 9   Move commands:
2.  \|/     \|/            yuhjklbn: go one step in specified direction
3. h-.-l   4-.-6           YUHJKLBN: go in specified direction until you
4.  /|\     /|\                        hit a wall or run into something
5. b j n   1 2 3           g<dir>:   run in direction <dir> until something
6.       numberpad                     interesting is seen
7.                         G<dir>,   same, except a branching corridor isn't
8.  <  up                  ^<dir>:     considered interesting (the ^ in this
9.                                     case means the Control key, not a caret)
10.  >  down                m<dir>:   move without picking up objects/fighting
11.                         F<dir>:   fight even if you don't sense a monster
12.                 If the number_pad option is set, the number keys move instead.
13.                 Depending on the platform, Shift number (on the numberpad),
14.                 Meta number, or Alt number will invoke the YUHJKLBN commands.
15.                 Control <dir> may or may not work when number_pad is enabled,
16.                 depending on the platform's capabilities.
17.                 Digit '5' acts as 'G' prefix, unless number_pad is set to 2
18.                 in which case it acts as 'g' instead.
19.                 If number_pad is set to 3, the roles of 1,2,3 and 7,8,9 are
20.                 reversed; when set to 4, behaves same as 3 combined with 2.
21.                 If number_pad is set to -1, alphabetic movement commands are
22.                 used but 'y' and 'z' are swapped.
23. 
24. General commands:
25. ?       help    display one of several informative texts
26. #quit   quit    end the game without saving current game
27. S       save    save the game (to be continued later) and exit
28.                 [to restore, play again and use the same character name]
29. !       sh      escape to some SHELL (if allowed; 'exit' to resume play)
30. ^Z      suspend suspend the game (independent of your current suspend char)
31.                 [on UNIX(tm)-based systems, use the 'fg' command to resume]
32. O       options set options
33. /       what-is tell what a map symbol represents
34. \       known   display list of what's been discovered
35. v       version display version number
36. V       history display game history
37. ^A      again   redo the previous command (^A denotes the keystroke CTRL-A)
38. ^R      redraw  redraw the screen
39. ^P      prevmsg repeat previous message (subsequent ^P's repeat earlier ones)
40. #               introduces an extended command (#? for a list of them)
41. &       what-does describe the command a keystroke invokes
42. 
43. Game commands:
44. ^D      kick    kick (a door, or something else)
45. ^T      'port   teleport (if you can)
46. ^X      show    show your attributes
47. a       apply   apply or use a tool (pick-axe, key, camera, etc.)
48. A       armor   take off all armor
49. c       close   close a door
50. C       call    name a monster, an individual object, or a type of object
51. d       drop    drop an object.  d7a:  drop seven items of object 'a'
52. D       Drop    drop selected types of objects
53. e       eat     eat something
54. E       engrave write a message in the dust on the floor  (E-  use fingers)
55. f       fire    fire ammunition from quiver
56. F       fight   followed by direction, fight a monster
57. i       invent  list your inventory (all objects you are carrying)
58. I       Invent  list selected parts of your inventory
59.                 Iu: list unpaid objects
60.                 Ix: list unpaid but used up items
61.                 I$: count your money
62. o       open    open a door
63. p       pay     pay your bill (in a shop)
64. P       puton   put on an accessory (ring, amulet, etc)
65. q       quaff   drink something (potion, water, etc)
66. Q       quiver  select ammunition for quiver (use '#quit' to quit)
67. r       read    read a scroll or spellbook
68. R       remove  remove an accessory (ring, amulet, etc)
69. s       search  search for secret doors, hidden traps and monsters
70. t       throw   throw or shoot a weapon
71. T       takeoff take off some armor
72. w       wield   wield a weapon  (w-  wield nothing)
73. W       wear    put on some armor
74. x       xchange swap wielded and secondary weapons
75. X       twoweapon toggle two-weapon combat (use '#explore' for explore mode)
76. z       zap     zap a wand  (use y instead of z if number_pad is -1)
77. Z       Zap     cast a spell  (use Y instead of Z if number_pad is -1)
78. <       up      go up the stairs
79. >       down    go down the stairs
80. ^       trap_id identify a previously found trap
81. ),[,=,",(       ask for current items of specified symbol in use
82. *               ask for combination of ),[,=,",( all at once
83. $       gold    count your gold
84. +       spells  list the spells you know; also rearrange them if desired
85. `       classkn display known items for one class of objects
86. _       travel  move via a shortest-path algorithm to a point on the map
87. .       rest    wait a moment
88. ,       pickup  pick up all you can carry
89. @               toggle "pickup" (auto pickup) option on and off
90. :       look    look at what is here
91. ;       farlook look at what is somewhere else by selecting a map symbol
92. 
93. Keyboards that have a meta key can also use these extended commands
94. via the meta modifier instead of the # prefix:
95. 
96. M-?             display extended command help (if the platform allows this)
97. M-2     twoweapon toggle two-weapon combat (unless number_pad is enabled)
98. M-a     adjust  adjust inventory letters
99. M-A     annotate add a one-line note to the current dungeon level (see M-O)
100. M-c     chat    talk to someone
101. M-C     conduct view optional challenges
102. M-d     dip     dip an object into something
103. M-e     enhance advance or check weapon and spell skills
104. M-f     force   force a lock
105. M-i     invoke  invoke an object's special powers
106. M-j     jump    jump to another location
107. M-l     loot    loot a box on the floor
108. M-m     monster use a monster's special ability
109. M-n     name    name a monster, an individual object, or a type of object
110. M-N     name    synonym for M-n
111. M-o     offer   offer a sacrifice to the gods
112. M-O     overview display information about visited levels and annotations
113. M-p     pray    pray to the gods for help
114. M-q     quit    stop playing
115. M-r     rub     rub a lamp or a stone
116. M-R     ride    mount or dismount saddled steed
117. M-s     sit     sit down
118. M-t     turn    turn undead
119. M-T     tip     upend a container to dump out its contents
120. M-u     untrap  untrap something
121. M-v     version print compile time options for this version
122. M-w     wipe    wipe off your face
123. 
124. If the "number_pad" option is on, these additional variants are available:
125. 
126. n               followed by number of times to repeat the next command
127. h       help    display one of several informative texts, like '?'
128. j       jump    jump to another location
129. k       kick    kick something (usually a door)
130. l       loot    loot a box on the floor
131. N       name    name an item or type of object
132. u       untrap  untrap something (usually a trapped object)