Daedalus Dock - 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_OVERFLOWAdd this if you don't want a role to be a choice in the selection
TOWN_INVESTroles that learn info about others in the game (chaplain, detective, psych)
TOWN_PROTECTroles that keep other roles safe (doctor, sec officer, and weirdly enough lawyer counts)
TOWN_KILLINGroles that are only there to kill bad guys.
TOWN_SUPPORTroles 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
ROLE_UNDETECTABLEto all forms of detection, shows themselves as an assistant.
ROLE_CAN_KILLhas the ability to kill at night and thus, blocks the game from ending with other teams alive.
ROLE_UNIQUEcan only be one in a randomly generated game
ROLE_REVEALEDrole is public to all other players in the game.
ROLE_VULNERABLEcan not be defended, protected, or any other form of protection. all kills succeed no matter what.
ROLE_ROLEBLOCKEDcannot perform any actions that night, preselected actions fail
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

ROLE_CAN_KILL

has the ability to kill at night and thus, blocks the game from ending with other teams alive.

ROLE_REVEALED

role is public to all other players in the game.

ROLE_ROLEBLOCKED

cannot perform any actions that night, preselected actions fail

ROLE_UNDETECTABLE

to all forms of detection, shows themselves as an assistant.

ROLE_UNIQUE

can only be one in a randomly generated game

ROLE_VULNERABLE

can not be defended, protected, or any other form of protection. all kills succeed no matter what.

TOWN_INVEST

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

TOWN_KILLING

roles that are only there to kill bad guys.

TOWN_OVERFLOW

Add this if you don't want a role to be a choice in the selection

TOWN_PROTECT

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

TOWN_SUPPORT

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