home · contact · privacy
97725a3a1fe2f157d9543d33682b0f0cef4041b0
[plomrogue] / server / config / world_data.py
1 # This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
2 # or any later version. For details on its copyright, license, and warranties,
3 # see the file NOTICE in the root directory of the PlomRogue source package.
4
5
6 """World state database. With sane default values. (Randomness is in rand.)"""
7 world_db = {
8     "TURN": 0,
9     "MAP_LENGTH": 64,
10     "PLAYER_TYPE": 0,
11     "WORLD_ACTIVE": 0,
12     "MAP": False,
13     "PLUGIN": [],
14     "ThingActions": {},
15     "ThingTypes": {},
16     "Things": {}
17 }
18
19 """Mapping of direction names to internal direction chars."""
20 directions_db = {"east": "d", "south-east": "c", "south-west": "x",
21                  "west": "s", "north-west": "w", "north-east": "e"}
22
23 thing_defaults = {
24         "T_ARGUMENT": 0,
25         "T_PROGRESS": 0,
26         "T_SATIATION": 0,
27         "T_COMMAND": 0,
28         "T_CARRIES": [],
29         "carried": False,
30         "T_MEMTHING": [],
31         "T_MEMMAP": False,
32         "T_MEMDEPTHMAP": False,
33         "fovmap": False
34 }
35
36 symbols_passable = "."