OSDN Git Service

[Change] 変愚蛮怒名義を馬鹿馬鹿蛮怒名義に変更. / Change naming from Hengband to Bakabakaband.
[hengband/hengband.git] / lib / help / command.txt
1 === Bakabakaband Commands ===
2
3 Bakabakaband commands are entered as an "underlying command" (a single key)
4 plus a variety of optional or required arguments. You may choose how
5 the "keyboard keys" are mapped to the "underlying commands" by choosing
6 one of two standard "keynotes", the "original" keyset or the "roguelike"
7 keyset.
8
9 For beginners, Bakabakaband provides the unified command menu that is very
10 easy to use, and can do every thing only with cursor keys, enter key
11 and escape key. Simply press Enter to show up the command menu.  The
12 command menu can be disable/enabled by the option 'command_menu'.
13
14 The original keyset is very similar to the "underlying" command set,
15 with a few additions (such as the ability to use the numeric
16 "directions" to "walk" or the "5" key to "stay still"). The roguelike
17 keyset provides similar additions, and also allows the use of the
18 h/j/k/l/y/u/b/n keys to "walk" (or, in combination with the shift or
19 control keys, to run or tunnel), which thus requires a variety of key
20 mappings to allow access to the underlying commands used for walking, 
21 running and tunneling. In particular, the "roguelike" keyset includes
22 many more "capital" and "control" keys, as shown below.
23
24 Note that any keys that are not required for access to the underlying
25 command set may be used by the user as "command macro" triggers (see
26 below). You may always specify any "underlying command" directly by
27 pressing backslash ("\") plus the "underlying command" key. This is
28 normally only used in "macro" definitions. You may often enter
29 "control-keys" as a caret ("^") plus the key (so "^" + "p" often
30 yields "^P").
31
32 Some commands allow an optional "repeat count", which allows you to
33 tell the game that you wish to do the command multiple times, unless
34 you press a key or are otherwise disturbed. To enter a "repeat count",
35 type '0', followed by the numerical count, followed by the command. You
36 must type "space" before entering certain commands. Skipping the
37 numerical count yields a count of 99. An option allows certain commands
38 (open, disarm, tunnel, etc) to auto-repeat.
39
40 Some commands will prompt for extra information, such as a direction,
41 an inventory or equipment item, a spell, a textual inscription, the
42 symbol of a monster race, a sub-command, a verification, an amount of
43 time, a quantity, a file name, or various other things. Normally you
44 can hit return to choose the "default" response, or escape to cancel
45 the command entirely.
46
47 Some commands will prompt for a spell or an inventory item. Pressing
48 space (or '*') will give you a list of choices. Pressing "-" (minus)
49 selects the item on the floor. Pressing a lowercase letter selects the
50 given item. Pressing a capital letter selects the given item after
51 verification. Pressing a numeric digit '#' selects the first item (if
52 any) whose inscription contains "@#" or "@x#", where "x" is the current
53 "underlying command". You may only specify items which are "legal" for
54 the command. Whenever an item inscription contains "!*" or "!x" (with
55 "x" as above) you must verify its selection.
56
57 In Bakabakaband, there are items which occasionally teleport you away,
58 asking for permission first. The recurring "Teleport (y/n)?" can be
59 annoying, and this behavior can be eliminated by inscribing the object
60 which causes the teleportation with "." (or any inscription containing
61 the character "."). With this inscription, the object will no longer
62 teleport you around nor keep asking you. If you want to restore the
63 teleport ability to the object, just remove the "." from its
64 inscription. Note that cursed items which teleport you are unaffected
65 by the inscription.
66
67 Some commands will prompt for a direction. You may enter a "compass"
68 direction using any of the "direction keys" shown below. Sometimes,
69 you may specify that you wish to use the current "target", by pressing
70 "t" or "5", or that you wish to select a new target, by pressing "*"
71 (see "Target" below).
72
73 Each of the standard keysets provides some short-cuts over the
74 "underlying commands". For example, both keysets allow you to "walk" by
75 simply pressing an "original" direction key (or a "roguelike" direction
76 key if you are using the roguelike keyset), instead of using the "walk"
77 command plus a direction. The roguelike keyset allows you to "run" or
78 "tunnel" by simply holding the shift or control modifier key down while
79 pressing a "roguelike" direction key, instead of using the "run" or
80 "tunnel" command plus a direction. Both keysets allow the use of the
81 "5" key to "stand still", which is most convenient when using the
82 original keyset.
83
84 Note that on many systems, it is possible to define "macros" (or 
85 "command macros") to various keys, or key combinations, so that it is
86 often possible to make macros which, for example, allow the use of the
87 shift or control modifier keys, plus a numeric keypad key, to specify
88 the "run" or "tunnel" command, with the given direction, regardless of
89 any keymap definitions, by using the fact that you can always, for
90 example, use "\" + "." + "6", to specify "run east". 
91
92
93 ***** <OriginalKeyset>
94 === Original Keyset ===
95
96      Original Keyset Directions
97
98               7  8  9
99               4     6
100               1  2  3
101
102  a  Aim a wand                           A  Activate equipped item
103  b  Browse magic list                    B  Bash a door
104  c  Close a door                         C  Character description
105  d  Drop an item                         D  Disarm a trap
106  e  Equipment list                       E  Eat some food
107  f  Fire an item                         F  Fuel your lantern/torch
108  g  Stay still (flip pickup)             G  Gain new spells/prayers
109  h  (unused)                             H  (unused)
110  i  Inventory list                       I  Observe an item
111  j  Jam a door                           J  (unused)
112  k  Destroy an item                      K  (unused)
113  l  Look around                          L  Locate player on map
114  m  Cast a spell / use mental power      M  Full dungeon map
115  n  Repeat last command                  N  (unused)
116  o  Open a door or chest                 O  (unused)
117  p  Command your pets                    P  (unused)
118  q  Quaff a potion                       Q  Quit (commit suicide)
119  r  Read a scroll                        R  Rest for a period
120  s  Search for traps/doors               S  Toggle search mode
121  t  Take off equipment                   T  Dig a tunnel
122  u  Use a staff                          U  Use bonus power (if any)
123  v  Throw an item                        V  Version info
124  w  Wear/wield equipment                 W  (unused)
125  x  (unused)                             X  (unused)
126  y  (unused)                             Y  (unused)
127  z  Zap a rod                            Z  (unused)
128  !  (unused)                            ^A  (special - wizard command)
129  @  Interact with macros                ^B  (unused)
130  #  (unused)                            ^C  (special - break)
131  $  Reload Auto-picker pref             ^D  (unused)
132  %  Interact with visuals               ^E  Toggle choice window
133  ^  (special - control key)             ^F  Repeat level feeling
134  &  Interact with colors                ^G  (unused)
135  *  Target monster or location          ^H  (unused)
136  (  Load screen dump                    ^I  (special - tab)
137  )  Dump screen dump                    ^J  (special - linefeed)
138  {  Inscribe an object                  ^K  (unused)
139  }  Uninscribe an object                ^L  (unused)
140  [  (unused)                            ^M  (special - return)
141  ]  (unused)                            ^N  (unused)
142  -  Walk (flip pickup)                  ^O  (unused)
143  _  Edit auto-picker/destroyer pref     ^P  Show previous messages
144  +  Alter grid                          ^Q  Display quest info
145  =  Set options                         ^R  Redraw the screen
146  ;  Walk (with pickup)                  ^S  Save and don't quit
147  :  Take notes                          ^T  Display game time
148  '  (unused)                            ^U  (unused)
149  "  Enter a user pref command           ^V  Output rand artifacts list
150  ,  Stay still (with pickup)            ^W  (special - wizard mode)
151  <  Go up staircase (Enter global map)  ^X  Save and quit
152  .  Run                                 ^Y  (unused)
153  >  Go down staircase(Enter normal map) ^Z  (special - borg command)
154  \  (special - bypass keymap)            |  Check play record
155  `  (special - escape)                   ~  Check various information
156  /  Identify symbol                      ?  Help
157
158
159 ***** <RogueKeyset>
160 ===  Roguelike Keyset ===
161
162      Roguelike Keyset Directions
163
164               y  k  u
165               h     l
166               b  j  n
167
168  a  Zap a rod (Activate)                 A  Activate equipped item
169  b  (walk - south west)                  B  (run - south west)
170  c  Close a door                         C  Character description
171  d  Drop an item                         D  Disarm a trap or chest
172  e  Equipment list                       E  Eat some food
173  f  Bash a door (force)                  F  Fuel your lantern/torch
174  g  Stay still (flip pickup)             G  Gain new spells/prayers
175  h  (walk - west)                        H  (run - west)
176  i  Inventory list                       I  Observe an item
177  j  (walk - south)                       J  (run - south)
178  k  (walk - north)                       K  (run - north)
179  l  (walk - east)                        L  (run - east)
180  m  Spell casting / mental power         M  Full dungeon map
181  n  (walk - south east)                  N  (run - south east)
182  o  Open a door or chest                 O  Use bonus power (if any)
183  p  Command your pets                    P  Browse magic list
184  q  Quaff a potion                       Q  Quit (commit suicide)
185  r  Read a scroll                        R  Rest for a period
186  s  Search for traps/doors               S  Jam a door (Spike)
187  t  Fire an item                         T  Take off equipment
188  u  (walk - north east)                  U  (run - north east)
189  v  Throw an item                        V  Version info
190  w  Wear/wield equipment                 W  Locate player on map
191  x  Look around                          X  (unused)
192  y  (walk - north west)                  Y  (run - north west)
193  z  Aim a wand (Zap)                     Z  Use a staff (Zap)
194  !  (unused)                            ^A  (special - wizard command)
195  @  Interact with macros                ^B  (tunnel - south west)
196  #  Toggle search mode                  ^C  (special - break)
197  $  Reload Auto-picker pref             ^D  Destroy item
198  %  Interact with visuals               ^E  Toggle choice window
199  ^  (special - control key)             ^F  Repeat level feeling
200  &  Interact with colors                ^G  (unused)
201  *  Target monster or location          ^H  (tunnel - west)
202  (  Load screen dump                    ^I  (special - tab)
203  )  Dump screen dump                    ^J  (tunnel - south)
204  {  Inscribe an object                  ^K  (tunnel - north)
205  }  Uninscribe an object                ^L  (tunnel - east)
206  [  Repeat last command                 ^M  (tunnel - south)
207  ]  (unused)                            ^N  (tunnel - south east)
208  -  Walk (flip pickup)                  ^O  (unused)
209  _  Edit auto-picker/destroyer pref     ^P  Show previous messages
210  +  Alter grid                          ^Q  Display quest info
211  =  Set options                         ^R  Redraw the screen
212  ;  Walk (with pickup)                  ^S  Save and don't quit
213  :  Take notes                          ^T  Dig a Tunnel
214  '  Display game time                   ^U  (tunnel - north east)
215  "  Enter a user pref command           ^V  Output rand artifacts list
216  ,  Run                                 ^W  (special - wizard mode)
217  <  Go up staircase (Enter global map)  ^X  Save and quit
218  .  Stay still (with pickup)            ^Y  (tunnel - north west)
219  >  Go down staircase(Enter normal map) ^Z  (unused)
220  \  (special - bypass keymap)            |  Check play record
221  `  (special - escape)                   ~  Check various information
222  /  Identify symbol                      ?  Help
223
224
225 ***** <SpecialKeys>
226 === Special Keys ===
227  
228 Certain special keys may be intercepted by the operating system or
229 the host machine, causing unexpected results. In general, these special
230 keys are control keys, and often, you can disable their special
231 effects.
232
233 If you are playing on a UNIX or similar system, then Ctrl-C will
234 interrupt Bakabakaband. The second and third interrupt will induce a
235 warning bell, and the fourth will induce both a warning bell and a
236 special message, since the fifth will quit the game, after killing your
237 character. Also, Ctrl-Z will suspend the game, and return you to the
238 original command shell, until you resume the game with the "fg"
239 command. There is now a compilation option to force the game to prevent
240 the "double ctrl-z escape death trick". The Ctrl-\ and Ctrl-D and
241 Ctrl-S keys should not be intercepted.
242  
243 It is often possible to specify "control-keys" without actually 
244 pressing the control key, by typing a caret ("^") followed by the key.
245 This is useful for specifying control-key commands which might be
246 caught by the operating system as explained above.
247
248 Pressing backslash ("\") before a command will bypass all keymaps,
249 and the next keypress will be interpreted as an "underlying command"
250 key, unless it is a caret ("^"), in which case the keypress after that
251 will be turned into a control-key and interpreted as a command in the
252 underlying Bakabakaband keyset. The backslash key is useful for creating
253 macro actions which are not affected by any keymap definitions that may
254 be in force, for example, the sequence "\" + "." + "6" will always mean
255 "run east", even if the "." key has been mapped to a different
256 underlying command.
257
258 The "0" and "^" and "\" keys all have special meaning when entered
259 at the command prompt, and there is no "useful" way to specify any of
260 them as an "underlying command", which is okay, since they would have
261 no effect.
262
263 For many input requests or queries, the special character ESCAPE will
264 abort the command. The "[y/n]" prompts may be answered with "y" or
265 "n", or escape. The "-more-" message prompts may be cleared (after
266 reading the displayed message) by pressing ESCAPE, SPACE, RETURN,
267 LINEFEED, or by any keypress, if the "quick_messages" option is turned
268 on.
269  
270
271 ***** <CommandCounts>
272 ===  Command Counts ===
273  
274 Some commands can be executed a fixed number of times by preceding
275 them with a count. Counted commands will execute until the count
276 expires, until you type any character, or until something significant
277 happens, such as being attacked. Thus, a counted command doesn't work
278 to attack another creature. While the command is being repeated, the
279 number of times left to be repeated will flash by on the line at the
280 bottom of the screen.
281
282 To give a count to a command, type 0, the repeat count, and then the
283 command. If you want to give a movement command and you are using the
284 original command set (where the movement commands are digits), press
285 space after the count and you will be prompted for the command.
286  
287 Counted commands are very useful for searching or tunneling, as they
288 automatically terminate on success, or if you are attacked. You may
289 also terminate any counted command (or resting or running), by typing
290 any character. This character is ignored, but it is safest to use a
291 SPACE or ESCAPE which are always ignored as commands in case you type
292 the command just after the count expires.
293
294 You can tell Bakabakaband to automatically use a repeat count of 99 with
295 commands you normally want to repeat (open, disarm, tunnel, bash, 
296 alter, etc) by setting the "always_repeat" option.
297  
298
299 ***** <ObjectSelection>
300 ===  Selection of Objects ===
301  
302 Many commands will also prompt for a particular object to be used. For
303 example, the command to read a scroll will ask you which of the scrolls
304 that you are carrying that you wish to read. In such cases, the
305 selection is made by typing a letter of the alphabet. The prompt will
306 indicate the possible letters, and will also allow you to type the key
307 "*", which causes all of the available options to be described. The
308 list of choices will also be shown in the Choice window, if you are
309 using a windows environment and windows are turned on. Often you will
310 be able to press "/" to select an object from your equipment instead of
311 your inventory. Pressing space once will have the same effect as "*",
312 and the second time will cancel the command and run the "i" or "e"
313 command.
314  
315 The particular object may be selected by an upper case or a lower case
316 letter. If lower case is used, the selection takes place immediately.
317 If upper case is used, then the particular option is described, and you
318 are given the option of confirming or retracting that choice. Upper
319 case selection is thus safer, but requires an extra key stroke.
320 Also see the "!*" and "!x" inscriptions, below.
321
322 For many commands, you can also use "-" to select an object on the
323 floor where you are standing. This lets you read scrolls or quaff
324 potions, for example, off the dungeon floor without picking them up.
325
326 If you enter a number between 0 and 9, the first item engraved with
327 "@#" where "#" is the number you entered will be selected. For example,
328 if you have a shovel engraved with "@0" and you type "w" (for wield)
329 and then 0, you will wield the shovel. This is very useful for macros
330 (see below), since you can use this to select an object regardless of
331 its location in your pack. For example, Bakabakaband automatically defines
332 a macro for the key "X" to do "w0". If you then engrave both your
333 digging instrument and your primary weapon with @0, pressing X will
334 wield whichever one is not being currently wielded (letting you quickly
335 switch between them). Multiple numbers can be engraved on the same
336 object; for example, if a sword is engraved with @1@0, then either "w1"
337 or "w0" will wield it. Normally, you inscribe "@1@0" on your primary
338 weapon, and "@2@0" on your digger or secondary weapon. Note that an
339 inscription containing "@x#" will act like "@#" but only when the
340 current "Bakabakaband command" is "x". Thus you can put "@z4" on a rod and
341 "@u4" on a staff, and then use both "z4" and "u4" as desired.
342
343 Note that any object containing "!x" in its inscription, where "x" is
344 the current "Bakabakaband command" (or containing "!*" ever) will induce
345 "verification" whenever that object is "selected". Thus, inscribing,
346 say, "!f!k!d" on an object will greatly reduce the odds of you "losing"
347 it by accident, and inscribing "!*" on an object will allow you to be
348 very paranoid about the object. Note that "selling" and "dropping" both
349 use the "d" command.
350
351
352 -- 
353 Original   : Alexander Cutler and Andy Astrand
354 Updated    : (2.7.6) by Russ Allbery (rra@cs.stanford.edu)
355 Updated    : (2.7.9) by Ben Harrison (benh@phial.com)
356 Updated    : Zangband 2.2.0 through 2.2.6c by Robert Ruehlmann
357 Updated    : Zangband DevTeam
358 Updated    : Bakabakaband 1.0.11