byond - Modules - TypesVar Details - Proc Details

invalid

Vars

evolution_ovipositor_thresholdIndicates when round_time_evolution_ovipositor has been passed. While FALSE, round_time_evolution_ovipositor is checked
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.
pred_count_modifierModifier on predator count (adjusted via Adjust-Predator-Slots)
pred_current_numHow many predators utilize slots currently
pred_per_playersHow many additional preds per client
pred_start_countThe initial count of predators
role_mappingsList of role titles to override to different roles when starting game
round_modifiersList of references to all non-abstract /datum/gamemode_modifiers
round_time_evolution_ovipositorTime for when ovipositor becomes necessary for evolution to progress.
round_time_resinTime for when resin placing is allowed close to LZs
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_a_lzAsks the user (optional) to pick the primary LZ if both LZ1 and LZ2 exist and it hasn't been set yet If only one, or no user, it will pick the first available
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

evolution_ovipositor_threshold

Indicates when round_time_evolution_ovipositor has been passed. While FALSE, round_time_evolution_ovipositor is checked

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.

pred_count_modifier

Modifier on predator count (adjusted via Adjust-Predator-Slots)

pred_current_num

How many predators utilize slots currently

pred_per_players

How many additional preds per client

pred_start_count

The initial count of predators

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

round_time_evolution_ovipositor

Time for when ovipositor becomes necessary for evolution to progress.

round_time_resin

Time for when resin placing is allowed close to LZs

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_a_lz

Asks the user (optional) to pick the primary LZ if both LZ1 and LZ2 exist and it hasn't been set yet If only one, or no user, it will pick the first available

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