mafia_role
Vars | |
actions | action = uses |
---|---|
game_status | so mafia have to also kill them to have a majority |
hud_icon | icon state in the mafia dmi of the hud of the role, used in the mafia ui |
revealed_icon | icon state in the mafia dmi of the hud of the role, used in the mafia ui |
revealed_outfit | what they get equipped with when they are revealed |
role_flags | role flags (special status of roles like detection immune) |
role_type | how the random setup chooses which roles get put in |
special_theme | set this to something cool for antagonists and their window will look different |
vote_potential | how many votes your role COULD count for, now or later. used in checking victory |
vote_power | how many votes submitted when you vote. used in voting, but not victory |
winner_award | what the role gets when it wins a game |
Procs | |
can_action | Tests if a visitor can actually perform an action on this role. Verbose on purpose! |
kill | Tests kill immunities, if nothing prevents the kill, kills this role. |
Var Details
actions
action = uses
game_status
so mafia have to also kill them to have a majority
hud_icon
icon state in the mafia dmi of the hud of the role, used in the mafia ui
revealed_icon
icon state in the mafia dmi of the hud of the role, used in the mafia ui
revealed_outfit
what they get equipped with when they are revealed
role_flags
role flags (special status of roles like detection immune)
role_type
how the random setup chooses which roles get put in
special_theme
set this to something cool for antagonists and their window will look different
vote_potential
how many votes your role COULD count for, now or later. used in checking victory
vote_power
how many votes submitted when you vote. used in voting, but not victory
winner_award
what the role gets when it wins a game
Proc Details
can_action
Tests if a visitor can actually perform an action on this role. Verbose on purpose!
Will return false if: Your visit is roleblocked, they have perished, or your visit was interrupted
kill
Tests kill immunities, if nothing prevents the kill, kills this role.
Does not count as visiting, see visit proc.