X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=server%2Fconfig%2Fworld_data.py;h=97725a3a1fe2f157d9543d33682b0f0cef4041b0;hb=117674cb8473e064058f6f99d99f7ed4aa2c8779;hp=45acf4f5a17e0b61b1dc47bbcbe91e8ed39391de;hpb=fa1580196b809e6f14e59e59fe92d36664b49f27;p=plomrogue
diff --git a/server/config/world_data.py b/server/config/world_data.py
index 45acf4f..97725a3 100644
--- a/server/config/world_data.py
+++ b/server/config/world_data.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
"""World state database. With sane default values. (Randomness is in rand.)"""
world_db = {
"TURN": 0,
@@ -5,6 +10,7 @@ world_db = {
"PLAYER_TYPE": 0,
"WORLD_ACTIVE": 0,
"MAP": False,
+ "PLUGIN": [],
"ThingActions": {},
"ThingTypes": {},
"Things": {}
@@ -13,3 +19,18 @@ world_db = {
"""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 = "."