mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Implement Bay's SSmachinery and power usage updates, further unclogging the toilet (#13910)
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
//1 = select event
|
||||
//2 = authenticate
|
||||
anchored = 1.0
|
||||
use_power = 1
|
||||
idle_power_usage = 2
|
||||
active_power_usage = 6
|
||||
power_channel = ENVIRON
|
||||
@@ -108,7 +107,7 @@
|
||||
|
||||
/obj/machinery/keycard_auth/proc/broadcast_request()
|
||||
icon_state = "auth_on"
|
||||
for(var/obj/machinery/keycard_auth/KA in SSmachinery.all_machines)
|
||||
for(var/obj/machinery/keycard_auth/KA in SSmachinery.machinery)
|
||||
if(KA == src) continue
|
||||
KA.reset()
|
||||
spawn()
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
SSnightlight.temp_disable()
|
||||
|
||||
var/newlevel = get_security_level()
|
||||
for(var/obj/machinery/power/apc/powercontrol in SSmachinery.processing_machines)
|
||||
for(var/obj/machinery/power/apc/powercontrol in SSmachinery.processing)
|
||||
if(isContactLevel(powercontrol.z))
|
||||
powercontrol.manage_emergency(newlevel)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user