/tg/ Station 13 - Modules - TypesVar Details - Proc Details

revolution

Vars

ex_headrevsList of all ex-headrevs. Useful because dynamic removes antag status when it ends, so this can be kept for the roundend report.
ex_revsList of all ex-revs. Useful because dynamic removes antag status when it ends, so this can be kept for the roundend report.
max_headrevsMaximum number of headrevs

Procs

get_head_revolutionariesReturns a list of all headrevs.
round_resultMutates the ticker to report that the revs have won
save_membersSaves all current headrevs and revs
update_rev_headsTries to make sure an appropriate number of headrevs are part of the revolution. Will promote up revs to headrevs as necessary based on the hard max_headrevs cap and the soft cap based on the number of heads of staff and sec.

Var Details

ex_headrevs

List of all ex-headrevs. Useful because dynamic removes antag status when it ends, so this can be kept for the roundend report.

ex_revs

List of all ex-revs. Useful because dynamic removes antag status when it ends, so this can be kept for the roundend report.

max_headrevs

Maximum number of headrevs

Proc Details

get_head_revolutionaries

Returns a list of all headrevs.

round_result

Mutates the ticker to report that the revs have won

save_members

Saves all current headrevs and revs

update_rev_heads

Tries to make sure an appropriate number of headrevs are part of the revolution. Will promote up revs to headrevs as necessary based on the hard max_headrevs cap and the soft cap based on the number of heads of staff and sec.