home · contact · privacy
Client: Restructure into modules below client/.
[plomrogue] / client / query_mapcell.py
diff --git a/client/query_mapcell.py b/client/query_mapcell.py
new file mode 100644 (file)
index 0000000..fba374d
--- /dev/null
@@ -0,0 +1,8 @@
+from client.config.world_data import world_data
+from client.io import send
+
+def query_mapcell():
+    string = "THINGS_HERE " + str(world_data["map_center"][0]) + " " \
+             + str(world_data["map_center"][1])
+    send(string)
+    world_data["look"] = ["(polling)"]