/tg/ Station 13 - Modules - TypesDefine Details

code/modules/mafia/_defines.dm

MAFIA_MAX_PLAYER_COUNThow many people can play mafia without issues (running out of spawns, procs not expecting more than this amount of people, etc)
TOWN_OVERFLOWassistants it's just assistants filling up the rest of the roles
TOWN_INVESTroles that learn info about others in the game (chaplain, detective, psych)
TOWN_PROTECTroles that keep other roles safe (doctor, and weirdly enough lawyer counts)
TOWN_MISCroles that don't fit into anything else (hop)
MAFIA_REGULARnormal vote kill changelings
MAFIA_SPECIALevery other changeling role that has extra abilities
NEUTRAL_KILLrole that wins solo that nobody likes
NEUTRAL_DISRUPTrole that upsets the game aka obsessed, usually worse for town than mafia but they can vote against mafia
COMSIG_MAFIA_SUNDOWNwhen the shutters fall, before the 45 second wait and night event resolution
COMSIG_MAFIA_NIGHT_STARTafter the 45 second wait, for actions that must go first
COMSIG_MAFIA_NIGHT_ACTION_PHASEmost night actions now resolve
COMSIG_MAFIA_NIGHT_KILL_PHASEnow killing happens from the roles that do that. the reason this is post action phase is to ensure doctors can protect and lawyers can block
COMSIG_MAFIA_NIGHT_ENDnow undoing states like protection, actions that must happen last, etc. right before shutters raise and the day begins
COMSIG_MAFIA_GAME_ENDsignal sent to roles when the game is confirmed ending

Define Details

COMSIG_MAFIA_GAME_END

signal sent to roles when the game is confirmed ending

COMSIG_MAFIA_NIGHT_ACTION_PHASE

most night actions now resolve

COMSIG_MAFIA_NIGHT_END

now undoing states like protection, actions that must happen last, etc. right before shutters raise and the day begins

COMSIG_MAFIA_NIGHT_KILL_PHASE

now killing happens from the roles that do that. the reason this is post action phase is to ensure doctors can protect and lawyers can block

COMSIG_MAFIA_NIGHT_START

after the 45 second wait, for actions that must go first

COMSIG_MAFIA_SUNDOWN

when the shutters fall, before the 45 second wait and night event resolution

MAFIA_MAX_PLAYER_COUNT

how many people can play mafia without issues (running out of spawns, procs not expecting more than this amount of people, etc)

MAFIA_REGULAR

normal vote kill changelings

MAFIA_SPECIAL

every other changeling role that has extra abilities

NEUTRAL_DISRUPT

role that upsets the game aka obsessed, usually worse for town than mafia but they can vote against mafia

NEUTRAL_KILL

role that wins solo that nobody likes

TOWN_INVEST

roles that learn info about others in the game (chaplain, detective, psych)

TOWN_MISC

roles that don't fit into anything else (hop)

TOWN_OVERFLOW

assistants it's just assistants filling up the rest of the roles

TOWN_PROTECT

roles that keep other roles safe (doctor, and weirdly enough lawyer counts)