Space Station 13 - Modules - TypesVar Details - Proc Details

ticker

Vars

Bible_deity_nameName of the bible deity
Bible_icon_stateicon_state the chaplain has chosen for his bible
Bible_item_stateitem_state the chaplain has chosen for his bible
Bible_nameName of the bible
biohazard_pop_timesList of biohazards keyed to the last time their population was sampled.
cinematicUsed for station explosion cinematic
cult_dataCult static info, used for things like sprites. Someone should refactor the sprites out of it someday and just use SEPERATE ICONS DEPNDING ON THE TYPE OF CULT... like a sane person
current_stateCurrent status of the game. See code__DEFINES\game.dm
delay_endIf set to TRUE, the round will not restart on it's own
end_stateServer end state (Did we end properly or reboot or nuke or what)
flagged_antag_rollersList of ckeys who had antag rolling issues flagged
force_endingDo we want to force-end as soon as we can
force_startDo we want to force-start as soon as we can
hide_modeLeave here at FALSE ! setup() will take care of it when needed for Secret mode -walter0o
login_musicThe current pick of lobby music played in the lobby
mindsList of all minds in the game. Used for objective tracking
modeOur current game mode
mode_resultGamemode result (For things like cult or nukies which can end multiple ways)
next_autotransferHolder for inital autotransfer vote timer
pregame_timeleftThis is used for calculations for the statpanel
random_playersIf set to nonzero, ALL players who latejoin or declare-ready join will have random appearances/genders
real_reboot_timeTime the real reboot kicks in
round_end_announcedSpam Prevention. Announce round end only once.
round_start_timeTime the game should start, relative to world.time
scoreDatum used to generate the end of round scoreboard.
selected_tipWhat will be the tip of the round?
ticker_goingIs the ticker currently processing? If FALSE, roundstart is delayed
time_game_startedTime that the round started
tippedDid we broadcast the tip of the round yet?
triaiGlobal holder for triple AI mode

Procs

any_admin_spawned_mobsReturns whether the given biohazard includes mobs that were admin spawned. Only returns TRUE or FALSE, does not attempt to track which mobs were admin-spawned and which ones weren't.
biohazard_active_threatReturn whether or not a given biohazard is an active threat. For blobs, this is simply if there are any overminds left. For terrors and xenomorphs, this is whether they have overwhelming numbers.
record_biohazard_resultsThis proc is for recording biohazard events, and blackboxing if they lived, died, or ended the round. This currently applies to: Terror spiders, Xenomorphs, and Blob.
record_biohazard_startRecord the initial time that a biohazard spawned.

Var Details

Bible_deity_name

Name of the bible deity

Bible_icon_state

icon_state the chaplain has chosen for his bible

Bible_item_state

item_state the chaplain has chosen for his bible

Bible_name

Name of the bible

biohazard_pop_times

List of biohazards keyed to the last time their population was sampled.

cinematic

Used for station explosion cinematic

cult_data

Cult static info, used for things like sprites. Someone should refactor the sprites out of it someday and just use SEPERATE ICONS DEPNDING ON THE TYPE OF CULT... like a sane person

current_state

Current status of the game. See code__DEFINES\game.dm

delay_end

If set to TRUE, the round will not restart on it's own

end_state

Server end state (Did we end properly or reboot or nuke or what)

flagged_antag_rollers

List of ckeys who had antag rolling issues flagged

force_ending

Do we want to force-end as soon as we can

force_start

Do we want to force-start as soon as we can

hide_mode

Leave here at FALSE ! setup() will take care of it when needed for Secret mode -walter0o

login_music

The current pick of lobby music played in the lobby

minds

List of all minds in the game. Used for objective tracking

mode

Our current game mode

mode_result

Gamemode result (For things like cult or nukies which can end multiple ways)

next_autotransfer

Holder for inital autotransfer vote timer

pregame_timeleft

This is used for calculations for the statpanel

random_players

If set to nonzero, ALL players who latejoin or declare-ready join will have random appearances/genders

real_reboot_time

Time the real reboot kicks in

round_end_announced

Spam Prevention. Announce round end only once.

round_start_time

Time the game should start, relative to world.time

score

Datum used to generate the end of round scoreboard.

selected_tip

What will be the tip of the round?

ticker_going

Is the ticker currently processing? If FALSE, roundstart is delayed

time_game_started

Time that the round started

tipped

Did we broadcast the tip of the round yet?

triai

Global holder for triple AI mode

Proc Details

any_admin_spawned_mobs

Returns whether the given biohazard includes mobs that were admin spawned. Only returns TRUE or FALSE, does not attempt to track which mobs were admin-spawned and which ones weren't.

biohazard_active_threat

Return whether or not a given biohazard is an active threat. For blobs, this is simply if there are any overminds left. For terrors and xenomorphs, this is whether they have overwhelming numbers.

record_biohazard_results

This proc is for recording biohazard events, and blackboxing if they lived, died, or ended the round. This currently applies to: Terror spiders, Xenomorphs, and Blob.

This code is predicated on the assumption that multiple midrounds of the same type are either extremely rare or impossible. We don't want to get into the insanity of trying to record if the first xeno biohazard was defeated but the second xeno biohazard was nuked.

record_biohazard_start

Record the initial time that a biohazard spawned.