invalid
Vars | |
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 |
Procs | |
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 |
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