X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fconfig%2Fworld_data.py;h=dcedabd0529ffdd4f5c51d41c56e3b77d0a205e3;hb=f8865085362ad23898ac4b6a00db3b915226d9d3;hp=e8639c5b551494f4e4a92952e650bb9b5ac31664;hpb=289eb1b62e2ae3cd1de5c815a670af7cf0b9660e;p=plomrogue diff --git a/server/config/world_data.py b/server/config/world_data.py index e8639c5..dcedabd 100644 --- a/server/config/world_data.py +++ b/server/config/world_data.py @@ -13,9 +13,40 @@ 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 +} + +thingtype_defaults = { + "TT_NAME": "(none)", + "TT_TOOLPOWER": 0, + "TT_LIFEPOINTS": 0, + "TT_PROLIFERATE": 0, + "TT_START_NUMBER": 0, + "TT_SYMBOL": "?", + "TT_TOOL": "" +} + +symbols_passable = "."