byond - Modules - TypesVar Details - Proc Details

invalid

Vars

gear_scaleMultiplier to the amount of marine gear, current value as calculated with modifiers
gear_scale_maxMultiplier to the amount of marine gear, maximum reached value for
latejoin_larva_usedAmount of latejoin_tally already awarded as larvas
loaded_fax_baseWhether or not the fax response station has loaded.
role_mappingsList of role titles to override to different roles when starting game
round_modifiersList of references to all non-abstract /datum/gamemode_modifiers
starting_round_modifiersList of typepaths of all /datum/gamemode_modifiers that start enabled
taskbar_iconWhen set and this gamemode is selected, the taskbar icon will change to the png selected here

Procs

can_startcan_start() Checks to see if the game can be setup and ran with the current number of players or whatnot.
ds_first_dropTriggered partway through the first drop, based on DROPSHIP_DROP_MSG_DELAY. Marines are underway but haven't yet landed.
ds_first_landedTriggered when the dropship first lands.
get_gamemode_modifierReturns the state of the modifier, using its typepath
init_gear_scaleReturns a multiplier to the amount of gear that is to be distributed roundstart, stored in /datum/game_mode/var/gear_scale
initialize_gamemode_modifiersSets and enables all applicable gamemode modifiers
latejoin_updateUpdates [var/latejoin_tally] and [var/gear_scale] based on role weights of latejoiners/cryoers. Delta is the amount of role positions added/removed
pick_queen_spawnPick and setup a queen spawn from landmarks, then spawns the player there alongside any required setup
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
set_gamemode_modifierSets the state of the modifier, using its typepath and the state to set it to
setup_structuresSpawn structures relevant to the game mode setup, done before actual game setup. By default try to setup everything.
update_gear_scaleUpdates the /datum/game_mode/var/gear_scale multiplier based on joining and cryoing marines

Var Details

gear_scale

Multiplier to the amount of marine gear, current value as calculated with modifiers

gear_scale_max

Multiplier to the amount of marine gear, maximum reached value for

latejoin_larva_used

Amount of latejoin_tally already awarded as larvas

loaded_fax_base

Whether or not the fax response station has loaded.

role_mappings

List of role titles to override to different roles when starting game

round_modifiers

List of references to all non-abstract /datum/gamemode_modifiers

starting_round_modifiers

List of typepaths of all /datum/gamemode_modifiers that start enabled

taskbar_icon

When set and this gamemode is selected, the taskbar icon will change to the png selected here

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.

ds_first_drop

Triggered partway through the first drop, based on DROPSHIP_DROP_MSG_DELAY. Marines are underway but haven't yet landed.

ds_first_landed

Triggered when the dropship first lands.

get_gamemode_modifier

Returns the state of the modifier, using its typepath

init_gear_scale

Returns a multiplier to the amount of gear that is to be distributed roundstart, stored in /datum/game_mode/var/gear_scale

initialize_gamemode_modifiers

Sets and enables all applicable gamemode modifiers

latejoin_update

Updates [var/latejoin_tally] and [var/gear_scale] based on role weights of latejoiners/cryoers. Delta is the amount of role positions added/removed

pick_queen_spawn

Pick and setup a queen spawn from landmarks, then spawns the player there alongside any required setup

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

set_gamemode_modifier

Sets the state of the modifier, using its typepath and the state to set it to

setup_structures

Spawn structures relevant to the game mode setup, done before actual game setup. By default try to setup everything.

update_gear_scale

Updates the /datum/game_mode/var/gear_scale multiplier based on joining and cryoing marines