home · contact · privacy
Mention movement ability in edit mode help.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 25 Nov 2020 05:09:41 +0000 (06:09 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 25 Nov 2020 05:09:41 +0000 (06:09 +0100)
rogue_chat.html
rogue_chat_curses.py

index 665bc3d2b5cdce8a597db8be54ddd4360280b8de..49fdda0bc8480e7ef0bd2577d63dd6effa031625 100644 (file)
@@ -968,6 +968,9 @@ let tui = {
           content += '\n';
       } else if (this.mode.name == 'edit') {
           content += "Available actions:\n";
+          if (game.tasks.includes('MOVE')) {
+              content += "[" + movement_keys_desc + "] – move player\n";
+          }
           if (game.tasks.includes('FLATTEN_SURROUNDINGS')) {
               content += "[" + tui.keys.flatten + "] – flatten surroundings\n";
           }
index 61513011809bf7de5a9a2aa9ca77f1070142de8d..7b9d648e197936b3a756affb3c65dac6f737e7e7 100755 (executable)
@@ -755,6 +755,8 @@ class TUI:
                 content += '\n'
             elif self.mode.name == 'edit':
                 content += "Available actions:\n"
+                if 'MOVE' in self.game.tasks:
+                    content += "[%s] – move player\n" % ','.join(self.movement_keys)
                 if 'FLATTEN_SURROUNDINGS' in self.game.tasks:
                     content += "[%s] – flatten surroundings\n" % self.keys['flatten']
                 content += '\n'