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:
307b04d
)
Server/py: Create dummy map in remake_map().
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 2 Mar 2015 04:42:01 +0000
(
05:42
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 2 Mar 2015 04:42:01 +0000
(
05:42
+0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 99f1c6017d38aaa2fe6e9c77c1c3e51ca3f24050..4cb138a3a6da7b2af8b11fa80b84b6dc784d653f 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-117,7
+117,7
@@
def record(command):
def save_world():
- """Save all commands needed to reconstruct current world state."""
+ """Save all commands needed to reconstruct current world state."""
# TODO: Misses same optimizations as record() from the original record().
def quote(string):
@@
-291,8
+291,8
@@
def play_game():
def remake_map():
- # DUMMY.
-
print("I'd (re-)make the map now, if only I knew how."
)
+ # DUMMY
map creator
.
+
world_db["MAP"] = bytearray(b'.' * (world_db["MAP_LENGTH"] ** 2)
)
def set_world_inactive():