home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add thing name editing.
[plomrogue2]
/
plomrogue
/
game.py
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index 45e23e1a759e53d366b6a7894883d8772a4744ec..49fdeeb007e73364baa41af166a7c7bf39f35464 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-334,7
+334,7
@@
class Game(GameBase):
write(f, 'THING %s %s %s %s' % (t.position[0],
t.position[1], t.type_, t.id_))
if hasattr(t, 'name'):
write(f, 'THING %s %s %s %s' % (t.position[0],
t.position[1], t.type_, t.id_))
if hasattr(t, 'name'):
- write(f, 'THING_NAME %s %s' % (t.id_, quote(t.name)))
+ write(f, '
GOD_
THING_NAME %s %s' % (t.id_, quote(t.name)))
write(f, 'SPAWN_POINT %s %s' % (self.spawn_point[0],
self.spawn_point[1]))
write(f, 'SPAWN_POINT %s %s' % (self.spawn_point[0],
self.spawn_point[1]))