home · contact · privacy
45acf4f5a17e0b61b1dc47bbcbe91e8ed39391de
[plomrogue] / server / config / world_data.py
1 """World state database. With sane default values. (Randomness is in rand.)"""
2 world_db = {
3     "TURN": 0,
4     "MAP_LENGTH": 64,
5     "PLAYER_TYPE": 0,
6     "WORLD_ACTIVE": 0,
7     "MAP": False,
8     "ThingActions": {},
9     "ThingTypes": {},
10     "Things": {}
11 }
12
13 """Mapping of direction names to internal direction chars."""
14 directions_db = {"east": "d", "south-east": "c", "south-west": "x",
15                  "west": "s", "north-west": "w", "north-east": "e"}