From ebe7156740549c11953efc4058d318c141e0505d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 10 Nov 2020 11:57:13 +0100 Subject: [PATCH] Use god mode commands on world save. --- plomrogue/game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.30.2