Add comments for generated message keys

This commit is contained in:
Vgr E. Barry 2018-05-01 16:33:05 -04:00
parent fbba6342c3
commit 5331cda68f
2 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,11 @@ from src.containers import UserList, UserSet, UserDict, DefaultUserDict
from src.messages import messages from src.messages import messages
from src.events import Event 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): def setup_variables(rolename, *, send_role, types):
LAST_COUNT = UserDict() # type: Dict[users.User, Tuple[str, bool]] LAST_COUNT = UserDict() # type: Dict[users.User, Tuple[str, bool]]

View File

@ -32,6 +32,12 @@ DECEIT = UserSet() # type: Set[users.User]
havetotem = [] # type: List[users.User] havetotem = [] # type: List[users.User]
brokentotem = set() # type: Set[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: # To add new totem types in your custom roles/whatever.py file:
# 1. Add a key to var.TOTEM_CHANCES with the totem name # 1. Add a key to var.TOTEM_CHANCES with the totem name
# 2. Add a message totemname_totem to your custom messages.json describing # 2. Add a message totemname_totem to your custom messages.json describing