/tg/ Station 13 - Modules - Types

code/modules/capture_the_flag/ctf_controller.dm

/datum/ctf_controllerThe CTF controller acts as a manager for an individual CTF game, each CTF game should have its own, the controller should handle all game-wide functionality.
/datum/ctf_teamA datum that holds details about individual CTF teams, any team specific CTF functionality should be implemented here.
/proc/create_ctf_gameCreates a CTF game with the provided team ID then returns a reference to the new controller. If a controller already exists provides a reference to it.