reformat dat/hh

For
 key name description
reduce the width of the first column from 8 spaces to 6 and increase
the width of the second column from 8 spaces to 10 so that fewer lines
have misaligned third column caused by long name.

Also a small amount of extra verbosity, mostly for I and A/P/R/T/W.
This commit is contained in:
PatR
2022-01-29 12:26:22 -08:00
parent 8c7137613b
commit 11c7643ea7

215
dat/hh
View File

@@ -9,9 +9,9 @@ b j n 1 2 3 g<dir>: run in direction <dir> until something
case means the Control key, not a caret) case means the Control key, not a caret)
> down m<dir>: move without picking up objects/fighting > down m<dir>: move without picking up objects/fighting
F<dir>: fight even if you don't sense a monster F<dir>: fight even if you don't sense a monster
If the number_pad option is set, the number keys move instead. If the number_pad option is set, the digit keys move instead.
Depending on the platform, Shift number (on the numberpad), Depending on the platform, Shift digit (on the numberpad),
Meta number, or Alt number will invoke the YUHJKLBN commands. Meta digit, or Alt digit will invoke the YUHJKLBN commands.
Control <dir> may or may not work when number_pad is enabled, Control <dir> may or may not work when number_pad is enabled,
depending on the platform's capabilities. depending on the platform's capabilities.
Digit '5' acts as 'G' prefix, unless number_pad is set to 2 Digit '5' acts as 'G' prefix, unless number_pad is set to 2
@@ -22,24 +22,25 @@ b j n 1 2 3 g<dir>: run in direction <dir> until something
used but 'y' and 'z' are swapped. used but 'y' and 'z' are swapped.
General commands: General commands:
? help display one of several informative texts ? help display one of several informative texts
#quit quit end the game without saving current game #quit quit end the game without saving current game
S save save the game (to be continued later) and exit S save save the game (to be continued later) and exit
[to restore, play again and use the same character name] [to restore, play again and use the same character name;
! sh escape to some SHELL (if allowed; 'exit' to resume play) use #quit to quit without saving]
^Z suspend suspend the game (independent of your current suspend char) ! sh escape to some SHELL (if allowed; 'exit' to resume play)
^Z suspend suspend the game (independent of your current suspend char)
[on UNIX(tm)-based systems, use the 'fg' command to resume] [on UNIX(tm)-based systems, use the 'fg' command to resume]
O options set options O options set options
/ what-is tell what a map symbol represents / what-is tell what a map symbol represents
\ known display list of what's been discovered \ known display list of what's been discovered
| perminv interact with persistent inventory window instead of hero+map | perminv interact with persistent inventory window instead of hero+map
v version display version number v version display version number
V history display game history V history display game history
^A again redo the previous command (^A denotes the keystroke CTRL-A) ^A again redo the previous command
^R redraw redraw the screen ^R redraw redraw the screen
^P prevmsg repeat previous message (subsequent ^P's repeat earlier ones) ^P prevmsg repeat previous message (consecutive ^P's repeat earlier ones)
# introduces an extended command (#? for a list of them) # introduces an extended command (#? for a list of them)
& what-does describe the command a keystroke invokes & what-does describe the command a keystroke invokes
Control characters are depicted as '^' followed by a letter. Depress Ctrl Control characters are depicted as '^' followed by a letter. Depress Ctrl
or Control like a shift key then type the letter. Control characters are or Control like a shift key then type the letter. Control characters are
@@ -48,55 +49,65 @@ There are a few non-letter control characters; nethack uses ^[ as a synonym
for Escape (or vice versa) and ^_ for #retravel but none of the others. for Escape (or vice versa) and ^_ for #retravel but none of the others.
Game commands: Game commands:
^D kick kick (a door, or something else) ^D kick kick (a door, or something else)
^T 'port teleport (if you can) ^T Tport teleport (if you can)
^X show show your attributes ^X show show your attributes
a apply apply or use a tool (pick-axe, key, camera, etc.) a apply apply or use a tool (pick-axe, key, camera, etc.)
A armor take off all armor A takeoffall choose multiple items of armor, accessories, and weapons
c close close a door to take off, remove, unwield (uses same amount of game time
C call name a monster, an individual object, or a type of object as removing them individually with T,R,w- would take)
d drop drop an object. d7a: drop seven items of object 'a' c close close a door
D Drop drop selected types of objects C call name a monster, an individual object, or a type of object
e eat eat something d drop drop an object. d7a: drop seven items of object 'a'
E engrave write a message in the dust on the floor (E- use fingers) D Drop drop selected types of objects
f fire fire ammunition from quiver e eat eat something
F fight followed by direction, fight a monster E engrave write a message in the dust on the floor (E- use fingers)
i invent list your inventory (all objects you are carrying) f fire fire ammunition from quiver
I Invent list selected parts of your inventory F fight followed by direction, fight a monster
Iu: list unpaid objects i invent list your inventory (all objects you are carrying)
Ix: list unpaid but used up items I Invent list selected parts of your inventory; for example
I$: count your money I( list all tools, or I" list all amulets
o open open a door IB list all items known to be blessed
p pay pay your bill (in a shop) IU uncursed, or IC cursed, or IX unknown bless state
P puton put on an accessory (ring, amulet, etc) Iu when in a shop, list unpaid objects being carried
q quaff drink something (potion, water, etc) Ix in a shop, list any fees and used-up shop-owned items
Q quiver select ammunition for quiver (use '#quit' to quit) o open open a door
r read read a scroll or spellbook p pay pay your bill (in a shop)
R remove remove an accessory (ring, amulet, etc) P puton put on an accessory (ring, amulet, etc; can be used to wear
s search search for secret doors, hidden traps and monsters armor too, but armor items aren't listed as likely candidates)
t throw throw or shoot a weapon q quaff drink something (potion, water, etc)
T takeoff take off some armor Q quiver select ammunition for quiver (use '#quit' to quit)
w wield wield a weapon (w- wield nothing) r read read a scroll or spellbook
W wear put on some armor R remove remove an accessory (ring, amulet, etc; can be used to take
x xchange swap wielded and secondary weapons off armor too)
X twoweapon toggle two-weapon combat (use '#explore' for explore mode) s search search for secret doors, hidden traps and monsters
z zap zap a wand (use y instead of z if number_pad is -1) t throw throw or shoot a weapon
Z Zap cast a spell (use Y instead of Z if number_pad is -1) T takeoff take off some armor; can be used to remove accessories too,
< up go up the stairs but those aren't listed as likely candidates)
> down go down the stairs w wield wield a weapon (w- wield nothing to unwield current weapon)
^ trap_id identify a previously found trap W wear wear an item of armor; can be used to put on accessories too,
),[,=,",( ask for current items of specified symbol in use but those aren't listed as likely candidates)
* ask for combination of ),[,=,",( all at once x xchange swap wielded and secondary weapons
$ gold count your gold X twoweapon toggle two-weapon combat if role allows that
+ spells list the spells you know; also rearrange them if desired z zap zap a wand (use y instead of z if number_pad is -1)
` classkn display known items for one class of objects Z Zap cast a spell (use Y instead of Z if number_pad is -1)
_ travel move via a shortest-path algorithm to a point on the map < up go up the stairs
^_ retravel resume travelling toward previously specified destination > down go down the stairs
. rest wait a moment ^ trap_id identify a previously found trap
, pickup pick up all you can carry ),[,=,",( show current items of specified symbol in use
* show combination of ),[,=,",( all at once
$ gold count your gold
+ spells list the spells you know; also rearrange them if desired
` classkn display known items for one class of objects
_ travel move via a shortest-path algorithm to a point on the map
^_ retravel resume travelling toward previously specified destination
. rest wait a moment
, pickup pick up all you can carry
@ toggle "pickup" (auto pickup) option on and off @ toggle "pickup" (auto pickup) option on and off
: look look at what is here : look look at what is here
; farlook look at what is somewhere else by selecting a map symbol ; farlook look at what is somewhere else by selecting a map location
(for a monster on top of one or more objects, only describes
that monster; for a pile of objects, only describes top one)
Keyboards that have a meta key (some use Alt for that, so typing Alt as a Keyboards that have a meta key (some use Alt for that, so typing Alt as a
shift plus 'e' would generate 'M-e') can also use these extended commands shift plus 'e' would generate 'M-e') can also use these extended commands
@@ -105,39 +116,43 @@ control characters, meta characters are case-sensitive so M-a is different
from M-A. Type the latter with two keys used as shifts, Meta+Shift+a. from M-A. Type the latter with two keys used as shifts, Meta+Shift+a.
M-? display extended command help (if the platform allows this) M-? display extended command help (if the platform allows this)
M-2 twoweapon toggle two-weapon combat (unless number_pad is enabled) M-2 twoweapon toggle two-weapon combat (unless number_pad is enabled)
M-a adjust adjust inventory letters M-a adjust adjust inventory letters
M-A annotate add a one-line note to the current dungeon level (see M-O) M-A annotate add a one-line note to the current dungeon level (see M-O)
M-c chat talk to someone M-c chat talk to someone
M-C conduct view optional challenges M-C conduct view optional challenges
M-d dip dip an object into something M-d dip dip an object into something
M-e enhance advance or check weapon and spell skills M-e enhance show weapon and spell skills, can improve them if eligible
M-f force force a lock M-f force force a lock
M-i invoke invoke an object's special powers M-i invoke invoke an object's special powers
M-j jump jump to another location M-j jump jump to another location
M-l loot loot a box on the floor M-l loot loot a box on the floor
M-m monster use a monster's special ability M-m monster when polymorphed, use monster's special ability
M-n name name a monster, an individual object, or a type of object M-n name name a monster, an individual object, or a type of object
M-N name synonym for M-n M-N name synonym for M-n (both are the same as C)
M-o offer offer a sacrifice to the gods M-o offer offer a sacrifice to the gods
M-O overview display information about visited levels and annotations M-O overview display information about visited levels and annotations
M-p pray pray to the gods for help M-p pray pray to the gods for help
M-q quit stop playing M-q quit stop playing without saving game (use S to save and exit)
M-r rub rub a lamp or a stone M-r rub rub a lamp or a stone
M-R ride mount or dismount saddled steed M-R ride mount or dismount saddled steed
M-s sit sit down M-s sit sit down
M-t turn turn undead M-t turn turn undead if role allows that
M-T tip upend a container to dump out its contents M-T tip upend a container to dump out its contents
M-u untrap untrap something M-u untrap untrap something
M-v version print compile time options for this version M-v version print compile time options for this version
M-w wipe wipe off your face M-w wipe wipe off your face
M-X explore switch from regular play to non-scoring explore mode
If the "number_pad" option is on, these additional variants are available: If the 'number_pad' option is on, keys usually used for movement can be
used for various commands:
n followed by number of times to repeat the next command n followed by number of times to repeat the next command
h help display one of several informative texts, like '?' h help display one of several informative texts, like '?'
j jump jump to another location j jump jump to another location
k kick kick something (usually a door) k kick kick something (usually a door)
l loot loot a box on the floor l loot loot a box on the floor
N name name an item or type of object N name name an item or type of object
u untrap untrap something (usually a trapped object) u untrap untrap something (usually a trapped object)
Additional commands are available in debug mode (also known as wizard mode).