deathmatch_lobby ![code/modules/deathmatch/deathmatch_lobby.dm 1](git.png)
Vars | |
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) |
Procs | |
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. |
Var Details
host ![code/modules/deathmatch/deathmatch_lobby.dm 3](git.png)
Ckey of the host
loadouts ![code/modules/deathmatch/deathmatch_lobby.dm 17](git.png)
List of loadouts, either gotten from the deathmatch controller or the map
location ![code/modules/deathmatch/deathmatch_lobby.dm 11](git.png)
Our turf reservation AKA where the arena is
map ![code/modules/deathmatch/deathmatch_lobby.dm 9](git.png)
The current chosen map
mod_menu_open ![code/modules/deathmatch/deathmatch_lobby.dm 23](git.png)
Is the modifiers modal menu open (for the host)
modifiers ![code/modules/deathmatch/deathmatch_lobby.dm 21](git.png)
A list of paths of modifiers enabled for the match.
observers ![code/modules/deathmatch/deathmatch_lobby.dm 7](git.png)
Assoc list of ckey to list()
player_spawns ![code/modules/deathmatch/deathmatch_lobby.dm 19](git.png)
Current map player spawn locations, cleared after spawning
players ![code/modules/deathmatch/deathmatch_lobby.dm 5](git.png)
Assoc list of ckey to list()
playing ![code/modules/deathmatch/deathmatch_lobby.dm 13](git.png)
Whether the lobby is currently playing
ready_count ![code/modules/deathmatch/deathmatch_lobby.dm 15](git.png)
Number of total ready players
start_time ![code/modules/deathmatch/deathmatch_lobby.dm 25](git.png)
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.