Space Station 13 - Modules - TypesVar Details - Proc Details

cult

Vars

ascend_numberHow many crew need to be converted to ascend
ascend_percentUsed for the CentComm announcement at ascension
cult_ascendantDoes the cult have halos
cult_risenDoes the cult have glowing eyes
cult_statusVariable used for tracking the progress of the cult's sacrifices & god summonings
is_in_transitionBoolean that prevents all_members_timer from being called multiple times
mirror_shields_activeAre cultist mirror shields active yet?
obj_summonGod summon objective added when ready_to_summon() is called
recount_timerTimer until we do a recount of cultist members
rise_numberHow many crew need to be converted to rise

Procs

all_members_timerThis is a magic fuckin proc that takes a proc_ref, and calls it on all the human cultists. Created so that we don't make 1000 timers, and I'm too lazy to make a proc for all of these. Used in callbacks for some magic bullshit.
cult_body_transferMakes sure that the signal stays on the correct body when a cultist changes bodies
cult_threshold_checkDecides at the start of the round how many conversions are needed to rise/ascend.
current_sac_objectiveReturn the current sacrifice objective datum, if any
get_admin_commandsADMIN STUFF DOWN YONDER
get_cultistsReturns the current number of cultists and constructs.

Var Details

ascend_number

How many crew need to be converted to ascend

ascend_percent

Used for the CentComm announcement at ascension

cult_ascendant

Does the cult have halos

cult_risen

Does the cult have glowing eyes

cult_status

Variable used for tracking the progress of the cult's sacrifices & god summonings

is_in_transition

Boolean that prevents all_members_timer from being called multiple times

mirror_shields_active

Are cultist mirror shields active yet?

obj_summon

God summon objective added when ready_to_summon() is called

recount_timer

Timer until we do a recount of cultist members

rise_number

How many crew need to be converted to rise

Proc Details

all_members_timer

This is a magic fuckin proc that takes a proc_ref, and calls it on all the human cultists. Created so that we don't make 1000 timers, and I'm too lazy to make a proc for all of these. Used in callbacks for some magic bullshit.

cult_body_transfer

Makes sure that the signal stays on the correct body when a cultist changes bodies

cult_threshold_check

Decides at the start of the round how many conversions are needed to rise/ascend.

The number is decided by (Percentage * (Players - Cultists)), so for example at 110 players it would be 11 conversions for rise. (0.1 * (110 - 4)) These values change based on population because 20 cultists are MUCH more powerful if there's only 50 players, compared to 120.

Below 100 players, CULT_RISEN_LOW and CULT_ASCENDANT_LOW are used. Above 100 players, CULT_RISEN_HIGH and CULT_ASCENDANT_HIGH are used.

current_sac_objective

Return the current sacrifice objective datum, if any

get_admin_commands

ADMIN STUFF DOWN YONDER

get_cultists

Returns the current number of cultists and constructs.

Returns the number of cultists and constructs in the format list(number of Cultists, number of Constructs), or as one combined number.