-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconstants.py
37 lines (32 loc) · 842 Bytes
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# global
HELP_URL = 'github.com/t3nsor/kevinbot/wiki'
SETTINGS_FILE = 'settings.json'
VERSION = 'kevinbot v0.9 / oyoyo'
MIN_PLAYERS = 6
# userlevels
LVL_ADMIN = 2
LVL_OP = 1
LVL_LUSER = 0
# game states
ST_INACTIVE = 'inactive'
ST_WAITING_FOR_PLAYERS = 'waiting_for_players'
ST_PENDING_MODES = 'pending_modes'
ST_DAY = 'day'
ST_NIGHT_MAFIA = 'night_mafia'
ST_NIGHT_INSPECTOR = 'night_inspector'
ST_NIGHT_DOCTOR = 'night_doctor'
# options - all lower case please
OPT_NUM_DOCTORS = 'n_doctors'
OPT_NUM_INSPECTORS = 'n_detectives'
OPT_NUM_IDIOTS = 'n_idiots'
OPT_NUM_MAFIA = 'n_mafia'
OPT_SELF_PROTECTING_DOCTOR = 'self_protection'
OPT_NO_LYNCH = 'no_lynch'
OPT_SELF_LYNCH = 'self_lynch'
OPT_SEE_PATIENT = 'see_patient'
# ... and values
NUM_MAFIA_AUTO1 = 'auto'
# special entities
ENT_MAFIA = '*mafia'
ENT_NONE = '*none'
ENT_TOWN = '*lynch'