From: Christian Heller Date: Tue, 10 Nov 2020 10:57:13 +0000 (+0100) Subject: Use god mode commands on world save. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/error?a=commitdiff_plain;h=ebe7156740549c11953efc4058d318c141e0505d;p=plomrogue2 Use god mode commands on world save. --- diff --git a/plomrogue/game.py b/plomrogue/game.py index a6bc2a3..9ba180f 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -204,9 +204,9 @@ class Game(GameBase): for y, line in self.map.lines(): write(f, 'MAP_LINE %5s %s' % (y, quote(line))) for yx in self.annotations: - write(f, 'ANNOTATE %s %s' % (yx, quote(self.annotations[yx]))) + write(f, 'GOD_ANNOTATE %s %s' % (yx, quote(self.annotations[yx]))) for yx in self.portals: - write(f, 'PORTAL %s %s' % (yx, quote(self.portals[yx]))) + write(f, 'GOD_PORTAL %s %s' % (yx, quote(self.portals[yx]))) for y, line in self.map_control.lines(): write(f, 'MAP_CONTROL_LINE %5s %s' % (y, quote(line))) for tile_class in self.map_control_passwords: