[MIRROR] code/global.dm => code/_global_vars/ (#10689)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-21 19:16:48 +02:00
committed by GitHub
co-authored by Selis Kashargul
parent a7718c6177
commit f04f992cfe
474 changed files with 1401 additions and 1421 deletions
@@ -16,12 +16,12 @@
/obj/machinery/v_garbosystem/Initialize(mapload)
. = ..()
for(var/dir in cardinal)
for(var/dir in GLOB.cardinal)
src.crusher = locate(/obj/machinery/recycling/crusher, get_step(src, dir))
if(src.crusher)
crusher.hand_fed = FALSE
break
for(var/dir in cardinal)
for(var/dir in GLOB.cardinal)
src.button = locate(/obj/machinery/button/garbosystem, get_step(src, dir))
if(src.button)
button.grinder = src
@@ -75,7 +75,7 @@
if(!emagged && ishuman(L) && L.mind)
playsound(src, 'sound/machines/warning-buzzer.ogg', 50, 0, 0)
visible_message(span_warning("POSSIBLE CREW MEMBER DETECTED! EMERGENCY STOP ENGAGED!"))
global_announcer.autosay("Possible crew member detected in grinder feed. Emergency Stop Protocols engaged!", "Recycling Grinder Alert", "Supply")
GLOB.global_announcer.autosay("Possible crew member detected in grinder feed. Emergency Stop Protocols engaged!", "Recycling Grinder Alert", "Supply")
operating = FALSE
update()
break