code/modules/mafia/_defines.dm
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) |
---|---|
TOWN_OVERFLOW | Add this if you don't want a role to be a choice in the selection |
TOWN_INVEST | roles that learn info about others in the game (chaplain, detective, psych) |
TOWN_PROTECT | roles that keep other roles safe (doctor, sec officer, and weirdly enough lawyer counts) |
TOWN_KILLING | roles that are only there to kill bad guys. |
TOWN_SUPPORT | roles that don't fit into anything else (hop) |
MAFIA_REGULAR | normal vote kill changelings |
MAFIA_SPECIAL | every other changeling role that has extra abilities |
NEUTRAL_KILL | role that wins solo that nobody likes |
NEUTRAL_DISRUPT | role that upsets the game aka obsessed, usually worse for town than mafia but they can vote against mafia |
ROLE_UNDETECTABLE | to all forms of detection, shows themselves as an assistant. |
ROLE_CAN_KILL | has the ability to kill at night and thus, blocks the game from ending with other teams alive. |
ROLE_UNIQUE | can only be one in a randomly generated game |
ROLE_REVEALED | role is public to all other players in the game. |
ROLE_VULNERABLE | can not be defended, protected, or any other form of protection. all kills succeed no matter what. |
ROLE_ROLEBLOCKED | cannot perform any actions that night, preselected actions fail |
COMSIG_MAFIA_SUNDOWN | when the shutters fall, before the 45 second wait and night event resolution |
COMSIG_MAFIA_NIGHT_START | after the 45 second wait, for actions that must go first |
COMSIG_MAFIA_NIGHT_ACTION_PHASE | most night actions now resolve |
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_END | now undoing states like protection, actions that must happen last, etc. right before shutters raise and the day begins |
COMSIG_MAFIA_GAME_END | signal 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)