X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/2034c72e12562eda33ce53d92cfef2216b6fcf3e..6721f1111bc49b8ee5efc0b39d74321c1393cdfb:/nethack.plp
diff --git a/nethack.plp b/nethack.plp
index 3115e28..add0370 100644
--- a/nethack.plp
+++ b/nethack.plp
@@ -20,54 +20,26 @@ Html({
normal gameplay
-
-
--
-
-
-
<:
use Shiar_Sheet::Keyboard 2;
my $info = do 'nethack.eng.inc.pl' or die $@;
$info->{def} = do 'nethack.inc.pl';
my $keys = Shiar_Sheet::Keyboard->new($info);
+$_->{"\e"} = ['me mode'] for values %{ $info->{def} };
+ # static reset button, even though it's not (officially) in the game
$keys->map($get{map}) or undef $get{map};
$keys->print_rows($get{rows} || '4321-421', [3,2,1,0]);
:>
-
-
- - direction
-
- Direction to move to or target a command (<:= $sign{motion} :>).
-
- move
-
- Other character movement.
-
- act
-
- Direct action command: takes a turn.
-
- info
-
- Informational command: shows/does something without ending the turn.
-
- invertory
-
- Display invertory menu.
-
- menu
-
- Enters some other menu.
-
+<: $keys->print_legend('legend-types', [qw( pm po co mi mo mv )]) :>
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need at least one argument afterwards.
-
- key<:= $sign{argi} :>
-
- Asks for an inventory item.
-
- key<:= $sign{argm} :>
-
- Requires a direction afterwards.
-
+<: $keys->print_legend('legend-options', [qw( arg argi argm )]) :>