home · contact · privacy
Server: Add terrain description to things_here command.
[plomrogue] / server / config / world_data.py
index e8639c5b551494f4e4a92952e650bb9b5ac31664..ec1e9b15c7d52a24c88b1c99e2a59dec32296a9e 100644 (file)
@@ -13,9 +13,30 @@ world_db = {
     "PLUGIN": [],
     "ThingActions": {},
     "ThingTypes": {},
-    "Things": {}
+    "Things": {},
+    "terrain_names": {
+        " ": "UNKNOWN",
+        "X": "TREE",
+        "~": "SEA",
+        ".": "EARTH"
+    }
 }
 
 """Mapping of direction names to internal direction chars."""
 directions_db = {"east": "d", "south-east": "c", "south-west": "x",
                  "west": "s", "north-west": "w", "north-east": "e"}
+
+thing_defaults = {
+        "T_ARGUMENT": 0,
+        "T_PROGRESS": 0,
+        "T_SATIATION": 0,
+        "T_COMMAND": 0,
+        "T_CARRIES": [],
+        "carried": False,
+        "T_MEMTHING": [],
+        "T_MEMMAP": False,
+        "T_MEMDEPTHMAP": False,
+        "fovmap": False
+}
+
+symbols_passable = "."