nethack: version update, inventory type modes
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 2 Nov 2023 23:51:12 +0000 (00:51 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 8 Nov 2023 00:00:54 +0000 (01:00 +0100)
Some missing commands from <https://nethackwiki.com/wiki/Commands>.

nethack.eng.inc.pl

index af32fe4352e230e085372b1cf50d47e26e636908..ba24b9eee2e9d79f3b14df6fb1a580c2722f00a8 100644 (file)
@@ -2,11 +2,12 @@ use utf8;
 
 {
 title => 'NetHack',
-version => '1.1',
+version => '1.2',
 description => [
-       "Keyboard overview sheet for the Nethack console RPG game,",
+       "Keyboard overview sheet for the NetHack console roguelike game,",
        "describing the default controls.",
 ],
+intro => "Command bindings for version 3.6.1 of the vanilla NetHack game.",
 keywords => [qw' nethack rogue game controls '],
 rows => [3, 2, 1, 0],
 
@@ -40,6 +41,7 @@ key => {
 
        'g' => "run until interest",
        'm' => "m<>ove blind\nno pickup",
+       'M' => "go far",
        'G' => "g any<>where\nfollow branches",
 
        '?' => "help menu",
@@ -58,6 +60,7 @@ key => {
        '+a'=> "adjust inv<>ent<>ory",
        'c' => "close door",
        'C' => "call monster",
+       '^c'=> "panic quit",
        '+c'=> "chat",
        'd' => "drop item",
        'D' => "drop items",
@@ -78,6 +81,7 @@ key => {
        '+n'=> "name item<>(s)",
        'o' => "open door",
        'O' => "options",
+       '^o'=> "overview levels",
        '+o'=> "offer sacrifice",
        'p' => "pay bill",
        'P' => "put on",
@@ -125,6 +129,7 @@ key => {
        '$' => "count gold",
        '+' => "list spells",
        '\\'=> "discover<>ed obj<>ects",
+       '`' => "types ident<>if<>ied",
        '!' => "shell escape",
        '#' => "more comm<>ands",
 
@@ -142,10 +147,16 @@ key => {
        'Iu' => 'list unpaid',
        'Ix' => 'list billed',
        'I$' => 'count money',
+       'IB' => 'list blessed',
+       'IU' => 'list uncurs<>e<>d',
+       'IC' => 'list cursed',
+       'IX' => 'list un<>know<>n',
 },
 
 mode => {
        '' => 'normal gameplay',
+       'I' => 'inventory type',
+       'D' => 'drop item type',
 },
 
 flag => {
@@ -192,6 +203,7 @@ def => {
 
                'g' => 'g3 argm',
                'm' => 'g3 argm',
+               'M' => 'g3 argm',
                'G' => 'g3 argm',
 
                '?' => 'g8 mode?', #help
@@ -210,6 +222,7 @@ def => {
                '+a'=> 'g6', #adjust
                'c' => 'g4 argm', #close
                'C' => 'g4 arg', #call
+               '^c'=> 'g6',
                '+c'=> 'g4 arg', #chat
                'd' => 'g4 argi', #drop
                'D' => 'g4 arg modeD', #Drop
@@ -230,7 +243,9 @@ def => {
                '+n'=> 'g7 arg', #name
                'o' => 'g4 argm', #open
                'O' => 'g8 modeO', #options
+               '^o'=> 'g6',
                '+o'=> 'g4 argi', #offer
+               '+O'=> "=^o", #overview
                'p' => 'g4', #pay
                'P' => 'g4 argi', #puton
                '^p'=> 'g6', #prevmsg
@@ -268,20 +283,23 @@ def => {
                ',' => 'g4', #pickup
                '@' => 'g6',
                '^' => 'g6 argm', #trap_id
-               ')' => 'g7',
-               '[' => 'g7',
-               '=' => 'g7',
-               '"' => 'g7',
-               '(' => 'g7',
-               '*' => 'g7',
-               '$' => 'g6', #gold
-               '+' => 'g7', #spells
+               ')' => 'g7', #seeweapon
+               '[' => 'g7', #seearmor
+               '=' => 'g7', #seerings
+               '"' => 'g7', #seeamulet
+               '(' => 'g7', #seetools
+               '*' => 'g7', #seeall
+               '$' => 'g6', #seegold
+               '+' => 'g7', #seespells
                '\\'=> 'g7', #known
+               '`' => 'g7', #knownclass
                '!' => 'g6', #sh
                '#' => 'g8',
        },
 
        'D' => {
+               "\e" => 'g8 mode', # static reset button, even though it's not (officially) in the game
+
                'B' => 'g4',
                'U' => 'g4',
                'C' => 'g4',
@@ -294,10 +312,16 @@ def => {
        },
 
        'I' => {
+               "\e" => 'g8 mode',
+
                '*' => 'g6',
                'u' => 'g6',
                'x' => 'g6',
                '$' => 'g6',
+               'B' => 'g6',
+               'U' => 'g6',
+               'C' => 'g6',
+               'X' => 'g6',
        },
 },
 }