- if self.mode.name == 'play':
- content += "Available actions:\n"
- if 'MOVE' in self.game.tasks:
- content += "[%s] – move player\n" % ','.join(self.movement_keys)
- if 'PICK_UP' in self.game.tasks:
- content += "[%s] – pick up thing\n" % self.keys['take_thing']
- if 'DROP' in self.game.tasks:
- content += "[%s] – drop thing\n" % self.keys['drop_thing']
- content += '[%s] – teleport\n' % self.keys['teleport']
- content += '\n'
- elif self.mode.name == 'study':
- content += 'Available actions:\n'
- content += '[%s] – move question mark\n' % ','.join(self.movement_keys)
- content += '[%s] – toggle map view\n' % self.keys['toggle_map_mode']
- 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 += '[%s] – toggle map view\n' % self.keys['toggle_map_mode']
- content += '\n'
- elif self.mode.name == 'control_tile_draw':