mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 08:39:12 +01:00
[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:
co-authored by
Selis
Kashargul
parent
a7718c6177
commit
f04f992cfe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user