home · contact · privacy
e9c6bac21551e7b78b36c295c48e9a76d480c3db
[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     "ThingActions": {},
14     "ThingTypes": {},
15     "Things": {}
16 }
17
18 """Mapping of direction names to internal direction chars."""
19 directions_db = {"east": "d", "south-east": "c", "south-west": "x",
20                  "west": "s", "north-west": "w", "north-east": "e"}