game_mode
Vars | |
ascend_number | How many crew need to be converted to ascend |
---|---|
ascend_percent | Used for the CentComm announcement at ascension |
cult | A list of all minds currently in the cult |
cult_ascendant | Does the cult have halos |
cult_risen | Does the cult have glowing eyes |
implanted | An associative list with mindslave minds as keys and their master's minds as values. |
rise_number | How many crew need to be converted to rise |
tdm_gamemode | This var is solely to track gamemodes to track suicides/cryoing/etc and doesnt declare this a "free for all" gamemode. This is for data tracking purposes only. |
traitors | A list of all minds which have the traitor antag datum. |
Procs | |
can_start | can_start() Checks to see if the game can be setup and ran with the current number of players or whatnot. |
cult_threshold_check | Decides at the start of the round how many conversions are needed to rise/ascend. |
get_cultists | Returns the current number of cultists and constructs. |
get_end_of_round_antagonist_statistics | Gets the value of all end of round stats through auto_declare and returns them |
post_setup | post_setup() Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things |
pre_setup | pre_setup() Attempts to select players for special roles the mode might have. |
process | process() Called by the gameticker |
Var Details
ascend_number
How many crew need to be converted to ascend
ascend_percent
Used for the CentComm announcement at ascension
cult
A list of all minds currently in the cult
cult_ascendant
Does the cult have halos
cult_risen
Does the cult have glowing eyes
implanted
An associative list with mindslave minds as keys and their master's minds as values.
rise_number
How many crew need to be converted to rise
tdm_gamemode
This var is solely to track gamemodes to track suicides/cryoing/etc and doesnt declare this a "free for all" gamemode. This is for data tracking purposes only.
traitors
A list of all minds which have the traitor antag datum.
Proc Details
can_start
can_start() Checks to see if the game can be setup and ran with the current number of players or whatnot.
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.
get_cultists
Returns the current number of cultists and constructs.
Returns the number of cultists and constructs in a list ([1] = Cultists, [2] = Constructs), or as one combined number.
- separate - Should the number be returned as a list with two separate values (Humans and Constructs) or as one number.
get_end_of_round_antagonist_statistics
Gets the value of all end of round stats through auto_declare and returns them
post_setup
post_setup() Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things
pre_setup
pre_setup() Attempts to select players for special roles the mode might have.
process
process() Called by the gameticker