X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fconfig%2Fworld_data.py;h=ec1e9b15c7d52a24c88b1c99e2a59dec32296a9e;hb=8c32a319ac3378e5c07f4d2cc34d671f5efdb1d1;hp=45acf4f5a17e0b61b1dc47bbcbe91e8ed39391de;hpb=fa1580196b809e6f14e59e59fe92d36664b49f27;p=plomrogue diff --git a/server/config/world_data.py b/server/config/world_data.py index 45acf4f..ec1e9b1 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,11 +10,33 @@ world_db = { "PLAYER_TYPE": 0, "WORLD_ACTIVE": 0, "MAP": False, + "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 = "."