bunch of global vars (#19091)

* bunch of global vars

* .
This commit is contained in:
Kashargul
2026-01-25 22:18:03 +01:00
committed by GitHub
parent 2f810d0f3e
commit de17517e42
92 changed files with 328 additions and 438 deletions
+4 -4
View File
@@ -128,7 +128,7 @@ GLOBAL_LIST_BOILERPLATE(all_debugging_effects, /obj/effect/debugging)
qdel(F)
feedback_add_details("admin_verb","mIRD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/list/debug_verbs = list (
GLOBAL_LIST_INIT(debug_verbs, list(
/client/proc/do_not_use_these
,/client/proc/camera_view
,/client/proc/sec_camera_report
@@ -159,7 +159,7 @@ var/list/debug_verbs = list (
,/client/proc/atmos_toggle_debug
,/client/proc/spawn_tanktransferbomb
,/client/proc/take_picture
)
))
/client/proc/enable_debug_verbs()
@@ -168,7 +168,7 @@ var/list/debug_verbs = list (
if(!check_rights(R_DEBUG)) return
add_verb(src, debug_verbs)
add_verb(src, GLOB.debug_verbs)
feedback_add_details("admin_verb","mDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -178,7 +178,7 @@ var/list/debug_verbs = list (
if(!check_rights(R_DEBUG)) return
remove_verb(src, debug_verbs)
remove_verb(src, GLOB.debug_verbs)
feedback_add_details("admin_verb","hDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
+2 -2
View File
@@ -154,10 +154,10 @@ ADMIN_VERB(secrets, R_HOLDER, "Secrets", "Abuse harder than you ever have before
SSnightshift.update_nightshift(active = FALSE, announce = TRUE, forced = TRUE)
if("trigger_xenomorph_infestation")
xenomorphs.attempt_random_spawn()
GLOB.xenomorphs.attempt_random_spawn()
if("trigger_cortical_borer_infestation")
borers.attempt_random_spawn()
GLOB.borers.attempt_random_spawn()
if("jump_shuttle")
var/shuttle_tag = tgui_input_list(holder, "Which shuttle do you want to jump?", "Shuttle Choice", SSshuttles.shuttles)
+4 -4
View File
@@ -24,9 +24,9 @@
switch(choice)
if("Heavy Asset Protection")
team = deathsquad
team = GLOB.deathsquad
if("Mercenaries")
team = commandos
team = GLOB.commandos
else
return
@@ -111,10 +111,10 @@ GLOBAL_VAR_INIT(silent_ert, 0)
if(jobban_isbanned(usr, JOB_SYNDICATE) || jobban_isbanned(usr, JOB_EMERGENCY_RESPONSE_TEAM) || jobban_isbanned(usr, JOB_SECURITY_OFFICER))
to_chat(usr, span_danger("You are jobbanned from the emergency reponse team!"))
return
if(ert.current_antagonists.len >= ert.hard_cap)
if(GLOB.ert.current_antagonists.len >= GLOB.ert.hard_cap)
to_chat(usr, "The emergency response team is already full!")
return
ert.create_default(usr)
GLOB.ert.create_default(usr)
else
to_chat(usr, "You need to be an observer or new player to use this.")
+2 -2
View File
@@ -46,10 +46,10 @@ GLOBAL_VAR_INIT(can_call_traders, 1)
if(!GLOB.send_beruang)
to_chat(usr, "The Beruang is not currently heading to the station.")
return
if(traders.current_antagonists.len >= traders.hard_cap)
if(GLOB.traders.current_antagonists.len >= GLOB.traders.hard_cap)
to_chat(usr, "The number of trader slots is already full!")
return
traders.create_default(usr)
GLOB.traders.create_default(usr)
else
to_chat(usr, "You need to be an observer or new player to use this.")