Add comments for generated message keys
This commit is contained in:
parent
fbba6342c3
commit
5331cda68f
@ -9,6 +9,11 @@ from src.containers import UserList, UserSet, UserDict, DefaultUserDict
|
||||
from src.messages import messages
|
||||
from src.events import Event
|
||||
|
||||
# Generated message keys used in this file:
|
||||
# mystic_villagers, mystic_wolves, mystic_neutrals, mystic_win_stealers,
|
||||
# mystic_night_num, mystic_day_num, mystic_info,
|
||||
# mystic_simple, mystic_notify, wolf_mystic_simple, wolf_mystic_notify
|
||||
|
||||
def setup_variables(rolename, *, send_role, types):
|
||||
LAST_COUNT = UserDict() # type: Dict[users.User, Tuple[str, bool]]
|
||||
|
||||
|
@ -32,6 +32,12 @@ DECEIT = UserSet() # type: Set[users.User]
|
||||
havetotem = [] # type: List[users.User]
|
||||
brokentotem = set() # type: Set[users.User]
|
||||
|
||||
# Generated message keys used across all shaman files:
|
||||
# death_totem, protection_totem, revealing_totem, narcolepsy_totem,
|
||||
# silence_totem, desperation_totem, impatience_totem, pacifism_totem,
|
||||
# influence_totem, exchange_totem, lycanthropy_totem, luck_totem,
|
||||
# pestilence_totem, retribution_totem, misdirection_totem, deceit_totem
|
||||
|
||||
# To add new totem types in your custom roles/whatever.py file:
|
||||
# 1. Add a key to var.TOTEM_CHANCES with the totem name
|
||||
# 2. Add a message totemname_totem to your custom messages.json describing
|
||||
|
Loading…
x
Reference in New Issue
Block a user