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

arena controller

Controller for admin event arenas

Vars

arena_idArena ID
arena_templatesAssoc list of map templates indexed by user friendly names
current_arena_templateName of currently loaded template
default_arenas_loadedWere the config directory arenas loaded
default_outfitDefault team outfit if outfits[team] is empty
loadingIs the arena template loading in
outfitsList of outfit datums/types indexed by team id, can be empty
ready_to_spawnEnables/disables spawning
team_colorsList of hud colors indexed by team id
team_hudsList of hud instances indedxed by team id
team_keysList of ckeys indexed by team id

Procs

LoadDefaultArenasLoads the arenas from config directory. THESE ARE FULLY CACHED FOR QUICK SWITCHING SO KEEP TRACK OF THE AMOUNT

Var Details

arena_id

Arena ID

arena_templates

Assoc list of map templates indexed by user friendly names

current_arena_template

Name of currently loaded template

default_arenas_loaded

Were the config directory arenas loaded

default_outfit

Default team outfit if outfits[team] is empty

loading

Is the arena template loading in

outfits

List of outfit datums/types indexed by team id, can be empty

ready_to_spawn

Enables/disables spawning

team_colors

List of hud colors indexed by team id

team_huds

List of hud instances indedxed by team id

team_keys

List of ckeys indexed by team id

Proc Details

LoadDefaultArenas

Loads the arenas from config directory. THESE ARE FULLY CACHED FOR QUICK SWITCHING SO KEEP TRACK OF THE AMOUNT