Makes holodeck turn power on/off depending on state

This commit is contained in:
Heroman
2021-12-07 20:21:08 +10:00
parent 0bccd7a4fa
commit e11d4c62a7
2 changed files with 6 additions and 1 deletions
+6
View File
@@ -332,6 +332,12 @@
linkedholodeck.sound_env = A.sound_env
if(prog == powerdown_program)
linkedholodeck.requires_power = TRUE
else
linkedholodeck.requires_power = FALSE
linkedholodeck.power_change()
spawn(30)
for(var/obj/effect/landmark/L in linkedholodeck)
if(L.name=="Atmospheric Test Start")