{"id":337,"date":"2023-05-04T23:52:36","date_gmt":"2023-05-04T23:52:36","guid":{"rendered":"http:\/\/angbandos.skarstech.com\/wiki\/?p=337"},"modified":"2023-05-23T03:34:15","modified_gmt":"2023-05-23T03:34:15","slug":"playing-the-game","status":"publish","type":"post","link":"https:\/\/angbandos.skarstech.com\/wiki\/playing-the-game\/","title":{"rendered":"Playing the Game"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Most of your interaction with Angband will take the form of \u201ccommands\u201d. Every Angband command consists of an \u201cunderlying command\u201d plus a variety of optional or required arguments, such as a repeat count, a direction, or the index of an inventory object. Commands are normally specified by typing a series of keypresses, from which the underlying command is extracted, along with any encoded arguments. You may choose how the standard \u201ckeyboard keys\u201d are mapped to the \u201cunderlying commands\u201d by choosing one of the two standard \u201ckeysets\u201d, the \u201coriginal\u201d keyset or the \u201croguelike\u201d keyset.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The original keyset is very similar to the \u201cunderlying\u201d command set, with a few additions (such as the ability to use the numeric \u201cdirections\u201d to \u201cwalk\u201d or the&nbsp;<code>5<\/code>&nbsp;key to \u201cstay still\u201d). The roguelike keyset provides similar additions, and also allows the use of the&nbsp;<code>h<\/code>\/<code>j<\/code>\/<code>k<\/code>\/<code>l<\/code>\/<code>y<\/code>\/<code>u<\/code>\/<code>b<\/code>\/<code>n<\/code>&nbsp;keys to \u201cwalk\u201d (or, in combination with the shift or control keys, to run or alter), which thus requires a variety of key mappings to allow access to the underlying commands used for walking\/running\/altering. In particular, the \u201croguelike\u201d keyset includes many more \u201ccapital\u201d and \u201ccontrol\u201d keys, as shown below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that any keys that are not required for access to the underlying command set may be used by the user to extend the \u201ckeyset\u201d which is being used, by defining new \u201ckeymaps\u201d. To avoid the use of any \u201ckeymaps\u201d, press backslash (<code>\\<\/code>) plus the \u201cunderlying command\u201d key. You may enter \u201ccontrol-keys\u201d as a caret (<code>^<\/code>) plus the key (so&nbsp;<code>^<\/code>&nbsp;+&nbsp;<code>p<\/code>&nbsp;yields \u2018^p\u2019).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some commands allow an optional \u201crepeat count\u201d, which allows you to tell the game that you wish to do the command multiple times, unless you press a key or are otherwise disturbed. To enter a \u201crepeat count\u201d, type&nbsp;<code>0<\/code>, followed by the numerical count, followed by the command. You must type \u2018space\u2019 before entering certain commands. Skipping the numerical count yields a count of 99 for the open, tunnel, disarm, alter, and close commands. All other commands do not repeat unless requested.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some commands will prompt for extra information, such as a direction, an inventory or equipment item, a spell, a textual inscription, the symbol of a monster race, a sub-command, a verification, an amount of time, a quantity, a file name, or various other things. Normally you can hit return to choose the \u201cdefault\u201d response, or escape to cancel the command entirely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some commands will prompt for a spell or an inventory item. Pressing space (or&nbsp;<code>*<\/code>) will give you a list of choices. Pressing&nbsp;<code>-<\/code>&nbsp;(minus) selects the item on the floor. Pressing a lowercase letter selects the given item. Pressing a capital letter selects the given item after verification. Pressing a numeric digit&nbsp;<code>#<\/code>&nbsp;selects the first item (if any) whose inscription contains \u2018@#\u2019 or \u2018@x#\u2019, where&nbsp;<code>x<\/code>&nbsp;is the current \u201cunderlying command\u201d. You may only specify items which are \u201clegal\u201d for the command. Whenever an item inscription contains \u2018!*\u2019 or \u2018!x\u2019 (with&nbsp;<code>x<\/code>&nbsp;as above) you must verify its selection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some commands will prompt for a direction. You may enter a \u201ccompass\u201d direction using any of the \u201cdirection keys\u201d shown below. Sometimes, you may specify that you wish to use the current \u201ctarget\u201d, by pressing&nbsp;<code>t<\/code>&nbsp;or&nbsp;<code>5<\/code>, or that you wish to select a new target, by pressing&nbsp;<code>*<\/code>&nbsp;(see \u201cTarget\u201d below).<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Original Keyset Directions<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>7<\/td><td>8<\/td><td>9<\/td><\/tr><tr><td>4<\/td><td><\/td><td>6<\/td><\/tr><tr><td>1<\/td><td>2<\/td><td>3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Roguelike Keyset Directions<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>y<\/td><td>k<\/td><td>u<\/td><\/tr><tr><td>h<\/td><td><\/td><td>l<\/td><\/tr><tr><td>b<\/td><td>j<\/td><td>n<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Each of the standard keysets provides some short-cuts over the \u201cunderlying commands\u201d. For example, both keysets allow you to \u201cwalk\u201d by simply pressing an \u201coriginal\u201d direction key (or a \u201croguelike\u201d direction key if you are using the roguelike keyset), instead of using the \u201cwalk\u201d command plus a direction. The roguelike keyset allows you to \u201crun\u201d or \u201calter\u201d by simply holding the shift or control modifier key down while pressing a \u201croguelike\u201d direction key, instead of using the \u201crun\u201d or \u201calter\u201d command plus a direction. Both keysets allow the use of the&nbsp;<code>5<\/code>&nbsp;key to \u201cstand still\u201d, which is most convenient when using the original keyset.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of your interaction with Angband will take the form of \u201ccommands\u201d. Every Angband command consists of an \u201cunderlying command\u201d plus a variety of optional&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-337","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":2,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":609,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/337\/revisions\/609"}],"wp:attachment":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/categories?post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/tags?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}