home · contact · privacy
Fix curses client movement help.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 6 Nov 2020 01:57:02 +0000 (02:57 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 6 Nov 2020 01:57:02 +0000 (02:57 +0100)
new2/rogue_chat_curses.py

index a41ac73f8fae97012430ccc9ff002e78779ac49f..4d994bef5ca0cc33e94de0355e2b69c9c843eea9 100755 (executable)
@@ -225,7 +225,10 @@ class TUI:
         self.log_msg("  :P or :play - switch to play mode");
         self.log_msg("  :? or :study - switch to study mode");
         self.log_msg("commands common to study and play mode:");
-        self.log_msg("  w,a,s,d - move");
+        if type(self.game.map_geometry) == MapGeometrySquare:
+            self.log_msg("  w,a,s,d - move");
+        elif type(self.game.map_geometry) == MapGeometryHex:
+            self.log_msg("  e,d,c,x,s,w - move");
         self.log_msg("  C - switch to chat mode");
         self.log_msg("commands specific to play mode:");
         self.log_msg("  E - write following ASCII character");