home · contact · privacy
Server: Transform PLUGIN command to God command, save its input.
[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"}