Space Station 13 - Modules - TypesVar Details - Proc Details

game_mode

Vars

abducteesA list which contains the minds of all abductees
abductor_teamsHow many abductor teams do we have
abductorsA list which contains the minds of all abductors
apprenticesA list of all minds that are wizard apprentices
changelingsA list of all minds which have the changeling antag datum
cult_teamThe cult team datum
ertA list of all the minds that have the ERT special role
greyshirtsA list of all the greyshirt minds
head_revolutionariesA list of all the minds of head revolutionaries
implantedAn associative list with mindslave minds as keys and their master's minds as values.
rev_teamThe revololution team datum
revolutionariesA list of all the minds of revolutionaries
single_antag_positionsEach item in this list can only be rolled once on average.
superheroesA list of all the minds with the superhero special role
supervillainsA list of all the minds with the supervillain special role
syndicatesA list of all the nuclear operatives' minds
tdm_gamemodeThis 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.
traitorsA list of all minds which have the traitor antag datum.
vampire_enthralledA list of all minds which are thralled by a vampire
vampiresA list of all minds which have the vampire antag datum
wizardsA list of all minds which have the wizard special role
zombie_infectedA list of all minds that are infected with the zombie virus, but aren't zombies yet
zombiesA list of all minds that are zombies

Procs

can_startcan_start() Checks to see if the game can be setup and ran with the current number of players or whatnot.
get_alive_players_for_roleGets all alive players for a specific role. Disables offstation roles by default
get_end_of_round_antagonist_statisticsGets the value of all end of round stats through auto_declare and returns them
post_setuppost_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_setuppre_setup() Attempts to select players for special roles the mode might have.
processprocess() Called by the gameticker
traitors_to_addReturns 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.

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.

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