home · contact · privacy
Server/py: Extend command_makeworld().
authorChristian Heller <c.heller@plomlompom.de>
Mon, 2 Mar 2015 22:49:15 +0000 (23:49 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 2 Mar 2015 22:49:15 +0000 (23:49 +0100)
plomrogue-server.py

index 5b30855eefc7d2d52eb4906b4192bf1f4c265762..3d4d0bdd0d411fb9f5f7dde87a3353b6d3f4b7a9 100755 (executable)
@@ -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)