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";
}
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'