| 1 |
.. _Playing the Game: |
| 2 |
|
| 3 |
================ |
| 4 |
Playing the Game |
| 5 |
================ |
| 6 |
|
| 7 |
Most of your interaction with Angband will take the form of "commands". |
| 8 |
Every Angband command consists of an "underlying command" plus a variety of |
| 9 |
optional or required arguments, such as a repeat count, a direction, or the |
| 10 |
index of an inventory object. Commands are normally specified by typing a |
| 11 |
series of keypresses, from which the underlying command is extracted, along |
| 12 |
with any encoded arguments. You may choose how the standard "keyboard keys" |
| 13 |
are mapped to the "underlying commands" by choosing one of the two standard |
| 14 |
"keysets", the "original" keyset or the "roguelike" keyset. |
| 15 |
|
| 16 |
The original keyset is very similar to the "underlying" command set, with a |
| 17 |
few additions (such as the ability to use the numeric "directions" to |
| 18 |
"walk" or the ``5`` key to "stay still"). The roguelike keyset provides |
| 19 |
similar additions, and also allows the use of the |
| 20 |
``h``/``j``/``k``/``l``/``y``/``u``/``b``/``n`` keys to "walk" (or, in |
| 21 |
combination with the shift or control keys, to run or alter), which thus |
| 22 |
requires a variety of key mappings to allow access to the underlying |
| 23 |
commands used for walking/running/altering. In particular, the "roguelike" |
| 24 |
keyset includes many more "capital" and "control" keys, as shown below. |
| 25 |
|
| 26 |
Note that any keys that are not required for access to the underlying |
| 27 |
command set may be used by the user to extend the "keyset" which is being |
| 28 |
used, by defining new "keymaps". To avoid the use of any "keymaps", press |
| 29 |
backslash (``\``) plus the "underlying command" key. You may enter |
| 30 |
"control-keys" as a caret (``^``) plus the key (so ``^`` + ``p`` yields |
| 31 |
'^p'). |
| 32 |
|
| 33 |
Some commands allow an optional "repeat count", which allows you to tell |
| 34 |
the game that you wish to do the command multiple times, unless you press a |
| 35 |
key or are otherwise disturbed. To enter a "repeat count", type ``0``, |
| 36 |
followed by the numerical count, followed by the command. You must type |
| 37 |
'space' before entering certain commands. Skipping the numerical count |
| 38 |
yields a count of 99 for the open, tunnel, disarm, alter, and close |
| 39 |
commands. All other commands do not repeat unless requested. |
| 40 |
|
| 41 |
Some commands will prompt for extra information, such as a direction, an |
| 42 |
inventory or equipment item, a spell, a textual inscription, the symbol of |
| 43 |
a monster race, a sub-command, a verification, an amount of time, a |
| 44 |
quantity, a file name, or various other things. Normally you can hit return |
| 45 |
to choose the "default" response, or escape to cancel the command entirely. |
| 46 |
|
| 47 |
Some commands will prompt for a spell or an inventory item. Pressing space |
| 48 |
(or ``*``) will give you a list of choices. Pressing ``-`` (minus) selects |
| 49 |
the item on the floor. Pressing a lowercase letter selects the given item. |
| 50 |
Pressing a capital letter selects the given item after verification. |
| 51 |
Pressing a numeric digit ``#`` selects the first item (if any) whose |
| 52 |
inscription contains '@#' or '@x#', where ``x`` is the current |
| 53 |
"underlying command". You may only specify items which are "legal" for the |
| 54 |
command. Whenever an item inscription contains '!*' or '!x' (with ``x`` |
| 55 |
as above) you must verify its selection. |
| 56 |
|
| 57 |
Some commands will prompt for a direction. You may enter a "compass" |
| 58 |
direction using any of the "direction keys" shown below. Sometimes, you may |
| 59 |
specify that you wish to use the current "target", by pressing ``t`` or |
| 60 |
``5``, or that you wish to select a new target, by pressing ``*`` (see |
| 61 |
"Target" below). |
| 62 |
|
| 63 |
Original Keyset Directions |
| 64 |
= = = |
| 65 |
7 8 9 |
| 66 |
4 6 |
| 67 |
1 2 3 |
| 68 |
= = = |
| 69 |
|
| 70 |
Roguelike Keyset Directions |
| 71 |
= = = |
| 72 |
y k u |
| 73 |
h l |
| 74 |
b j n |
| 75 |
= = = |
| 76 |
|
| 77 |
Each of the standard keysets provides some short-cuts over the "underlying |
| 78 |
commands". For example, both keysets allow you to "walk" by simply pressing |
| 79 |
an "original" direction key (or a "roguelike" direction key if you are |
| 80 |
using the roguelike keyset), instead of using the "walk" command plus a |
| 81 |
direction. The roguelike keyset allows you to "run" or "alter" by simply |
| 82 |
holding the shift or control modifier key down while pressing a "roguelike" |
| 83 |
direction key, instead of using the "run" or "alter" command plus a |
| 84 |
direction. Both keysets allow the use of the ``5`` key to "stand still", |
| 85 |
which is most convenient when using the original keyset. |
| 86 |
|
| 87 |
Original Keyset Command Summary |
| 88 |
=============================== |
| 89 |
|
| 90 |
====== ============================= ====== ============================ |
| 91 |
``a`` Aim a wand ``A`` Activate an object |
| 92 |
``b`` Browse a book ``B`` (unused) |
| 93 |
``c`` Close a door ``C`` Display character sheet |
| 94 |
``d`` Drop an item ``D`` Disarm a trap or lock a door |
| 95 |
``e`` List equipped items ``E`` Eat some food |
| 96 |
``f`` Fire an item ``F`` Fuel your lantern/torch |
| 97 |
``g`` Get objects on floor ``G`` Gain new spells/prayers |
| 98 |
``h`` Fire default ammo at target ``H`` (unused) |
| 99 |
``i`` List contents of pack ``I`` Inspect an item |
| 100 |
``j`` (unused) ``J`` (unused) |
| 101 |
``k`` Ignore an item ``K`` Toggle ignore |
| 102 |
``l`` Look around ``L`` Locate player on map |
| 103 |
``m`` Cast a spell ``M`` Display map of entire level |
| 104 |
``n`` Repeat previous command ``N`` (unused) |
| 105 |
``o`` Open a door or chest ``O`` (unused) |
| 106 |
``p`` (unused) ``P`` (unused) |
| 107 |
``q`` Quaff a potion ``Q`` Kill character & quit |
| 108 |
``r`` Read a scroll ``R`` Rest for a period |
| 109 |
``s`` Steal (rogues only) ``S`` See abilities |
| 110 |
``t`` Take off equipment ``T`` Dig a tunnel |
| 111 |
``u`` Use a staff ``U`` Use an item |
| 112 |
``v`` Throw an item ``V`` Display version info |
| 113 |
``w`` Wear/wield equipment ``W`` Walk into a trap |
| 114 |
``x`` (unused) ``X`` (unused) |
| 115 |
``y`` (unused) ``Y`` (unused) |
| 116 |
``z`` Zap a rod ``Z`` (unused) |
| 117 |
``!`` (unused) ``^a`` (special - debug command) |
| 118 |
``@`` (unused) ``^b`` (unused) |
| 119 |
``#`` (unused) ``^c`` (special - break) |
| 120 |
``$`` (unused) ``^d`` (unused) |
| 121 |
``%`` (unused) ``^e`` Toggle inven/equip window |
| 122 |
``^`` (special - control key) ``^f`` Repeat level feeling |
| 123 |
``&`` (unused) ``^g`` Do autopickup |
| 124 |
``*`` Target monster or location ``^h`` (unused) |
| 125 |
``(`` (unused) ``^i`` (special - tab) |
| 126 |
``)`` Dump screen to a file ``^j`` (special - linefeed) |
| 127 |
``{`` Inscribe an object ``^k`` (unused) |
| 128 |
``}`` Uninscribe an object ``^l`` Center map |
| 129 |
``[`` Display visible monster list ``^m`` (special - return) |
| 130 |
``]`` Display visible object list ``^n`` (unused) |
| 131 |
``-`` (unused) ``^o`` Show previous message |
| 132 |
``_`` Enter store ``^p`` Show previous messages |
| 133 |
``+`` Alter grid ``^q`` (unused) |
| 134 |
``=`` Set options ``^r`` Redraw the screen |
| 135 |
``;`` Walk (with pickup) ``^s`` Save and don't quit |
| 136 |
``:`` Take notes ``^t`` (unused) |
| 137 |
``'`` Target closest monster ``^u`` (unused) |
| 138 |
``"`` Enter a user pref command ``^v`` (unused) |
| 139 |
``,`` Stay still (with pickup) ``^w`` (special - wizard mode) |
| 140 |
``<`` Go up staircase ``^x`` Save and quit |
| 141 |
``.`` Run ``^y`` (unused) |
| 142 |
``>`` Go down staircase ``^z`` (unused) |
| 143 |
``\`` (special - bypass keymap) ``~`` Check knowledge |
| 144 |
\` (special - escape) ``?`` Display help |
| 145 |
``/`` Identify symbol |
| 146 |
``|`` List contents of quiver |
| 147 |
====== ============================= ====== ============================ |
| 148 |
|
| 149 |
Roguelike Keyset Command Summary |
| 150 |
================================ |
| 151 |
|
| 152 |
======= ============================= ====== ============================ |
| 153 |
``a`` Zap a rod (Activate) ``A`` Activate an object |
| 154 |
``b`` (walk - south west) ``B`` (run - south west) |
| 155 |
``c`` Close a door ``C`` Display character sheet |
| 156 |
``d`` Drop an item ``D`` Disarm a trap or lock a door |
| 157 |
``e`` List equipped items ``E`` Eat some food |
| 158 |
``f`` (unused) ``F`` Fuel your lantern/torch |
| 159 |
``g`` Get objects on floor ``G`` Gain new spells/prayers |
| 160 |
``h`` (walk - west) ``H`` (run - west) |
| 161 |
``i`` List contents of pack ``I`` Inspect an item |
| 162 |
``j`` (walk - south) ``J`` (run - south) |
| 163 |
``k`` (walk - north) ``K`` (run - north) |
| 164 |
``l`` (walk - east) ``L`` (run - east) |
| 165 |
``m`` Cast a spell ``M`` Display map of entire level |
| 166 |
``n`` (walk - south east) ``N`` (run - south east) |
| 167 |
``o`` Open a door or chest ``O`` Toggle ignore |
| 168 |
``p`` (unused) ``P`` Browse a book |
| 169 |
``q`` Quaff a potion ``Q`` Kill character & quit |
| 170 |
``r`` Read a scroll ``R`` Rest for a period |
| 171 |
``s`` Steal (rogues only) ``S`` See abilities |
| 172 |
``t`` Fire an item ``T`` Take off equipment |
| 173 |
``u`` (walk - north east) ``U`` (run - north east) |
| 174 |
``v`` Throw an item ``V`` Display version info |
| 175 |
``w`` Wear/wield equipment ``W`` Locate player on map (Where) |
| 176 |
``x`` Look around ``X`` Use an item |
| 177 |
``y`` (walk - north west) ``Y`` (run - north west) |
| 178 |
``z`` Aim a wand (Zap) ``Z`` Use a staff (Zap) |
| 179 |
``!`` (unused) ``^a`` (special - debug command) |
| 180 |
``@`` Center map ``^b`` (alter - south west) |
| 181 |
``#`` (unused) ``^c`` (special - break) |
| 182 |
``$`` (unused) ``^d`` Ignore an item |
| 183 |
``%`` (unused) ``^e`` Toggle inven/equip window |
| 184 |
``^`` (special - control key) ``^f`` Repeat level feeling |
| 185 |
``&`` (unused) ``^g`` Do autopickup |
| 186 |
``*`` Target monster or location ``^h`` (alter - west) |
| 187 |
``(`` (unused) ``^i`` (special - tab) |
| 188 |
``)`` Dump screen to a file ``^j`` (alter - south) |
| 189 |
``{`` Inscribe an object ``^k`` (alter - north) |
| 190 |
``}`` Uninscribe an object ``^l`` (alter - east) |
| 191 |
``[`` Display visible monster list ``^m`` (special - return) |
| 192 |
``]`` Display visible object list ``^n`` (alter - south east) |
| 193 |
``-`` Walk into a trap ``^o`` Show previous message |
| 194 |
``_`` Enter store ``^p`` Show previous messages |
| 195 |
``+`` Alter grid ``^q`` (unused) |
| 196 |
``=`` Set options ``^r`` Redraw the screen |
| 197 |
``;`` Walk (with pickup) ``^s`` Save and don't quit |
| 198 |
``:`` Take notes ``^t`` Dig a tunnel |
| 199 |
``'`` Target closest monster ``^u`` (alter - north east) |
| 200 |
``"`` Enter a user pref command ``^v`` Repeat previous command |
| 201 |
``,`` Run ``^w`` (special - wizard mode) |
| 202 |
``<`` Go up staircase ``^x`` Save and quit |
| 203 |
``.`` Stay still (with pickup) ``^y`` (alter - north west) |
| 204 |
``>`` Go down staircase ``^z`` (unused) |
| 205 |
``\`` (special - bypass keymap) ``~`` Check knowledge |
| 206 |
\` (special - escape) ``?`` Display help |
| 207 |
``/`` Identify symbol |
| 208 |
``TAB`` Fire default ammo at target |
| 209 |
``|`` List contents of quiver |
| 210 |
======= ============================= ====== ============================ |
| 211 |
|
| 212 |
Special Keys |
| 213 |
============ |
| 214 |
|
| 215 |
Certain special keys may be intercepted by the operating system or the host |
| 216 |
machine, causing unexpected results. In general, these special keys are |
| 217 |
control keys, and often, you can disable their special effects. |
| 218 |
|
| 219 |
If you are playing on a UNIX or similar system, then 'Ctrl-c' will |
| 220 |
interrupt Angband. The second and third interrupt will induce a warning |
| 221 |
bell, and the fourth will induce both a warning bell and a special message, |
| 222 |
since the fifth will either quit without saving (if Angband was compiled |
| 223 |
without the SETGID option which puts the save files in a shared location for |
| 224 |
all users) or kill your character (if Angband was compiled with the SETGID |
| 225 |
option). Also, 'Ctrl-z' will suspend the game, and return you to the original |
| 226 |
command shell, until you resume the game with the 'fg' command. The 'Ctrl-\\' |
| 227 |
and 'Ctrl-d' and 'Ctrl-s' keys should not be intercepted. |
| 228 |
|
| 229 |
It is often possible to specify "control-keys" without actually pressing |
| 230 |
the control key, by typing a caret (``^``) followed by the key. This is |
| 231 |
useful for specifying control-key commands which might be caught by the |
| 232 |
operating system as explained above. |
| 233 |
|
| 234 |
Pressing backslash (``\``) before a command will bypass all keymaps, and |
| 235 |
the next keypress will be interpreted as an "underlying command" key, |
| 236 |
unless it is a caret (``^``), in which case the keypress after that will be |
| 237 |
turned into a control-key and interpreted as a command in the underlying |
| 238 |
Angband keyset. The backslash key is useful for creating actions which are |
| 239 |
not affected by any keymap definitions that may be in force, for example, |
| 240 |
the sequence ``\`` + ``.`` + ``6`` will always mean "run east", even if the |
| 241 |
``.`` key has been mapped to a different underlying command. |
| 242 |
|
| 243 |
The ``0`` and ``^`` and ``\`` keys all have special meaning when entered at |
| 244 |
the command prompt, and there is no "useful" way to specify any of them as |
| 245 |
an "underlying command", which is okay, since they would have no effect. |
| 246 |
|
| 247 |
For many input requests or queries, the special character 'ESCAPE' will |
| 248 |
abort the command. The '[y/n]' prompts may be answered with ``y`` or |
| 249 |
``n``, or 'escape'. The '-more-' message prompts may be cleared (after |
| 250 |
reading the displayed message) by pressing 'ESCAPE', 'SPACE', |
| 251 |
'RETURN', 'LINEFEED', or by any keypress, if the 'quick_messages' |
| 252 |
option is turned on. |
| 253 |
|
| 254 |
Command Counts |
| 255 |
============== |
| 256 |
|
| 257 |
Some commands can be executed a fixed number of times by preceding them |
| 258 |
with a count. Counted commands will execute until the count expires, until |
| 259 |
you type any character, or until something significant happens, such as |
| 260 |
being attacked. Thus, a counted command doesn't work to attack another |
| 261 |
creature. While the command is being repeated, the number of times left to |
| 262 |
be repeated will flash by on the line at the bottom of the screen. |
| 263 |
|
| 264 |
To give a count to a command, type 0, the repeat count, and then the |
| 265 |
command. If you want to give a movement command and you are using the |
| 266 |
original command set (where the movement commands are digits), press space |
| 267 |
after the count and you will be prompted for the command. The open, tunnel, |
| 268 |
disarm, alter, and close commands default to having a repeat count of 99; |
| 269 |
all other commands default to not repeating at all. |
| 270 |
|
| 271 |
Counted commands are very useful for time consuming commands, as they |
| 272 |
automatically terminate on success, or if you are attacked. You may also |
| 273 |
terminate any counted command (or resting or running), by typing any |
| 274 |
character. This character is ignored, but it is safest to use a 'SPACE' |
| 275 |
or 'ESCAPE' which are always ignored as commands in case you type the |
| 276 |
command just after the count expires. |
| 277 |
|
| 278 |
Selection of Objects |
| 279 |
==================== |
| 280 |
|
| 281 |
Many commands will also prompt for a particular object to be used. |
| 282 |
For example, the command to read a scroll will ask you which of the |
| 283 |
scrolls that you are carrying that you wish to read. In such cases, the |
| 284 |
selection is made by typing a letter of the alphabet (or a number if choosing |
| 285 |
from the quiver). The prompt will indicate the possible letters/numbers, |
| 286 |
and you will also be shown a list of the appropriate items. Often you will |
| 287 |
be able to press ``/`` to switch between inventory and equipment, or ``|`` to |
| 288 |
select the quiver, or ``-`` to select the floor. Using the right arrow also |
| 289 |
rotates selection between equipment, inventory, quiver, floor and back to |
| 290 |
equipment; the left arrow rotates in the opposite direction. |
| 291 |
|
| 292 |
The particular object may be selected by an upper case or a lower case |
| 293 |
letter. If lower case is used, the selection takes place immediately. If |
| 294 |
upper case is used, then the particular option is described, and you are |
| 295 |
given the option of confirming or retracting that choice. Upper case |
| 296 |
selection is thus safer, but requires an extra key stroke. |
| 297 |
|
| 298 |
Shape Changes |
| 299 |
============= |
| 300 |
|
| 301 |
Some classes, objects, or races may allow your character to change shape: |
| 302 |
becoming, for instance, a fox or a wolf. While in the alternate shape, |
| 303 |
your character will not have access to items in the pack or quiver and |
| 304 |
will not be able to access items on the floor except for eating or pickup. |
| 305 |
The items your character was wearing upon changing shape will remain |
| 306 |
equipped and continue to affect the character's statistics, resistances, |
| 307 |
number of blows, and damage. Your character will not be able to activate |
| 308 |
any equipped items while in the alternate shape. To have your character |
| 309 |
change back to normal, cast a spell or use one of the commands, like drop, |
| 310 |
that uses an item. |