home *** CD-ROM | disk | FTP | other *** search
/ back2roots/filegate / filegate.zip / filegate / gamesnet / g_amiga / AE7ZN240.LHA / Zangband240 / help / command.txt < prev    next >
Text File  |  2000-08-26  |  19KB  |  355 lines

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