game_mode
Vars | |
abductees | A list which contains the minds of all abductees |
---|---|
abductor_teams | How many abductor teams do we have |
abductors | A list which contains the minds of all abductors |
apprentices | A list of all minds that are wizard apprentices |
changelings | A list of all minds which have the changeling antag datum |
cult_team | The cult team datum |
ert | A list of all the minds that have the ERT special role |
greyshirts | A list of all the greyshirt minds |
head_revolutionaries | A list of all the minds of head revolutionaries |
implanted | An associative list with mindslave minds as keys and their master's minds as values. |
mindflayers | A list of all minds which have the mindflayer antag datum |
pre_changelings | A list containing references to the minds of soon-to-be changelings. This is seperate to avoid duplicate entries in the changelings list. |
pre_mindflayers | A list containing references to the minds of soon-to-be mindflayers. |
pre_traitors | A list containing references to the minds of soon-to-be traitors. This is seperate to avoid duplicate entries in the traitors list. |
pre_vampires | list of minds of soon to be vampires |
rev_team | The revololution team datum |
revolutionaries | A list of all the minds of revolutionaries |
single_antag_positions | Each item in this list can only be rolled once on average. |
species_to_mindflayer | Species that will become mindflayers if they're picked, instead of the regular antagonist |
superheroes | A list of all the minds with the superhero special role |
supervillains | A list of all the minds with the supervillain special role |
syndicates | A list of all the nuclear operatives' minds |
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. |
vampire_enthralled | A list of all minds which are thralled by a vampire |
vampires | A list of all minds which have the vampire antag datum |
wizards | A list of all minds which have the wizard special role |
zombie_infected | A list of all minds that are infected with the zombie virus, but aren't zombies yet |
zombies | A list of all minds that are zombies |
Procs | |
can_start | can_start() Checks to see if the game can be setup and ran with the current number of players or whatnot. |
get_alive_players_for_role | Gets all alive players for a specific role. Disables offstation roles by default |
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 |
traitors_to_add | Returns how many traitors should be added to the round |
Var Details
abductees
A list which contains the minds of all abductees
abductor_teams
How many abductor teams do we have
abductors
A list which contains the minds of all abductors
apprentices
A list of all minds that are wizard apprentices
changelings
A list of all minds which have the changeling antag datum
cult_team
The cult team datum
ert
A list of all the minds that have the ERT special role
greyshirts
A list of all the greyshirt minds
head_revolutionaries
A list of all the minds of head revolutionaries
implanted
An associative list with mindslave minds as keys and their master's minds as values.
mindflayers
A list of all minds which have the mindflayer antag datum
pre_changelings
A list containing references to the minds of soon-to-be changelings. This is seperate to avoid duplicate entries in the changelings
list.
pre_mindflayers
A list containing references to the minds of soon-to-be mindflayers.
pre_traitors
A list containing references to the minds of soon-to-be traitors. This is seperate to avoid duplicate entries in the traitors
list.
pre_vampires
list of minds of soon to be vampires
rev_team
The revololution team datum
revolutionaries
A list of all the minds of revolutionaries
single_antag_positions
Each item in this list can only be rolled once on average.
species_to_mindflayer
Species that will become mindflayers if they're picked, instead of the regular antagonist
superheroes
A list of all the minds with the superhero special role
supervillains
A list of all the minds with the supervillain special role
syndicates
A list of all the nuclear operatives' minds
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.
vampire_enthralled
A list of all minds which are thralled by a vampire
vampires
A list of all minds which have the vampire antag datum
wizards
A list of all minds which have the wizard special role
zombie_infected
A list of all minds that are infected with the zombie virus, but aren't zombies yet
zombies
A list of all minds that are zombies
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.
get_alive_players_for_role
Gets all alive players for a specific role. Disables offstation roles by default
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
traitors_to_add
Returns how many traitors should be added to the round