mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
25 lines
665 B
Plaintext
25 lines
665 B
Plaintext
var/global/PROFILING_VERBS = list(
|
|
/client/proc/disable_scrubbers,
|
|
/client/proc/disable_vents,
|
|
)
|
|
/*
|
|
/client/proc/disable_scrubbers()
|
|
set category = "Debug"
|
|
set name = "Disable all scrubbers"
|
|
|
|
disable_scrubbers = !disable_scrubbers
|
|
world << "\red Scrubbers are now <b>[disable_scrubbers?"OFF":"ON"]</b>."
|
|
*/
|
|
|
|
#define gen_disable_proc(TYPE,LABEL) \
|
|
/client/proc/disable_##TYPE() { \
|
|
set category = "Debug"; \
|
|
set name = "Disable all "+LABEL; \
|
|
disable_##TYPE = !disable_##TYPE; \
|
|
world << "\red "+LABEL+" are now <b>[disable_##TYPE?"OFF":"ON"]</b>."; \
|
|
}
|
|
|
|
gen_disable_proc(scrubbers,"Scrubbers")
|
|
gen_disable_proc(vents, "Vents")
|
|
|
|
#undef gen_disable_proc |