home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
915ec8c
)
Use god mode commands on world save.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:57:13 +0000
(11:57 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:57:13 +0000
(11:57 +0100)
plomrogue/game.py
patch
|
blob
|
history
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index a6bc2a3fe6f5956769718623f4b651520260eaf7..9ba180f4465c07ed1bc587761637b6f31fea793f 100755
(executable)
--- 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:
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:
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:
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: