X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/f22a9debc2c3c50828c31ff028057734a4aadea6..8d5262c3baedda02484404f792101aa61702af93:/nethack.plp
diff --git a/nethack.plp b/nethack.plp
index eaea76c..b00fb9c 100644
--- a/nethack.plp
+++ b/nethack.plp
@@ -2,7 +2,7 @@
Html({
title => 'nethack cheat sheet',
- version => 'v1.0',
+ version => 'v1.1',
description => [
"Keyboard overview sheet for the Nethack console RPG game,",
"describing the default controls.",
@@ -20,22 +20,16 @@ Html({
normal gameplay
-
-
--
-
-
-
<:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'nethack.inc.pl'});
+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]);
:>
-