/tg/ Station 13 - Modules - TypesVar Details - Proc Details

deathmatch_lobby

Vars

hostCkey of the host
loadoutsList of loadouts, either gotten from the deathmatch controller or the map
locationOur turf reservation AKA where the arena is
mapThe current chosen map
mod_menu_openIs the modifiers modal menu open (for the host)
modifiersA list of paths of modifiers enabled for the match.
observersAssoc list of ckey to list()
player_spawnsCurrent map player spawn locations, cleared after spawning
playersAssoc list of ckey to list()
playingWhether the lobby is currently playing
ready_countNumber of total ready players
start_timeartificial time padding when we start loading to give lighting a breather (admin starts will set this to 0)

Procs

fakefillfills the lobby with fake players for the sake of UI debug, can only be called via VV
get_modifier_listHelper proc to get modifier data
get_observer_listHelper proc for getting observer data
get_player_listHelper proc for getting player data
select_modifierSelects the passed modifier.
unselect_modifierDeselects the passed modifier.

Var Details

host

Ckey of the host

loadouts

List of loadouts, either gotten from the deathmatch controller or the map

location

Our turf reservation AKA where the arena is

map

The current chosen map

mod_menu_open

Is the modifiers modal menu open (for the host)

modifiers

A list of paths of modifiers enabled for the match.

observers

Assoc list of ckey to list()

player_spawns

Current map player spawn locations, cleared after spawning

players

Assoc list of ckey to list()

playing

Whether the lobby is currently playing

ready_count

Number of total ready players

start_time

artificial time padding when we start loading to give lighting a breather (admin starts will set this to 0)

Proc Details

fakefill

fills the lobby with fake players for the sake of UI debug, can only be called via VV

get_modifier_list

Helper proc to get modifier data

get_observer_list

Helper proc for getting observer data

get_player_list

Helper proc for getting player data

select_modifier

Selects the passed modifier.

unselect_modifier

Deselects the passed modifier.