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