mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-15 11:52:20 +00:00
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
/client/proc/debug_antagonist_template(antag_type in GLOB.all_antag_types)
|
|
set category = "Debug"
|
|
set name = "Debug Antagonist"
|
|
set desc = "Debug an antagonist template."
|
|
|
|
var/datum/antagonist/antag = GLOB.all_antag_types[antag_type]
|
|
if(antag)
|
|
usr.client.debug_variables(antag)
|
|
message_admins("Admin [key_name_admin(usr)] is debugging the [antag.role_text] template.")
|
|
|
|
/client/proc/debug_controller()
|
|
set category = "Debug"
|
|
set name = "Debug Controller"
|
|
set desc = "Debug the various periodic loop controllers for the game (be careful!)"
|
|
|
|
if(!holder)
|
|
return
|
|
var/list/available_controllers = list()
|
|
for(var/datum/controller/subsystem/SS in Master.subsystems)
|
|
if (!Master.initializing && SS.flags & SS_NO_DISPLAY)
|
|
continue
|
|
available_controllers[SS.name] = SS
|
|
available_controllers["Evacuation Controller"] = evacuation_controller
|
|
var/css = input("What controller would you like to debug?", "Controllers") as null|anything in available_controllers
|
|
if(!css)
|
|
return
|
|
debug_variables(available_controllers[css])
|
|
|
|
message_admins("Admin [key_name_admin(usr)] is debugging the [css] controller.")
|