home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ec9c0
)
Server/py: Extend command_makeworld().
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 2 Mar 2015 22:49:15 +0000
(23:49 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 2 Mar 2015 22:49:15 +0000
(23:49 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 5b30855eefc7d2d52eb4906b4192bf1f4c265762..3d4d0bdd0d411fb9f5f7dde87a3353b6d3f4b7a9 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-384,7
+384,8
@@
def command_makeworld(seed_string):
world_db["Things"] = {}
remake_map()
world_db["WORLD_ACTIVE"] = 1
- # TODO: Generate things (player first, with updated memory), set TURN 1,
+ world_db["TURN"] = 1
+ # TODO: Generate things (player first, with updated memory)
atomic_write(io_db["path_out"], "NEW_WORLD\n", do_append=True)