keys: common generation of flags legend from includes
[sheet.git] / nethack.eng.inc.pl
index be691647443110b9f41d4c4a9697d7f447cd24c1..e4ef3b3a28d39310cda34f8f58f6e08879f74349 100644 (file)
@@ -139,4 +139,17 @@ mode => {
        '' => 'normal gameplay',
 },
 
+flag => {
+       pm => [direction => "Direction to move to or target a command ($sign{motion})."],
+       po => [move      => "Other character movement."],
+       co => [act       => "Direct action command: takes a turn."],
+       mi => [info      => "Informational command: shows/does something without ending the turn."],
+       mo => [invertory => "Display invertory menu."],
+       mv => [menu      => "Enters some other menu."],
+
+       arg  => ["key$sign{arg}"  => "Commands with a dot need at least one argument afterwards."],
+       argi => ["key$sign{argi}" => "Asks for an inventory item."],
+       argm => ["key$sign{argm}" => "Requires a direction afterwards."],
+},
+
 }