mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
Makes holodeck turn power on/off depending on state
This commit is contained in:
@@ -1311,7 +1311,6 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
|
||||
name = "\improper Holodeck"
|
||||
icon_state = "Holodeck"
|
||||
dynamic_lighting = 0
|
||||
requires_power = 0
|
||||
sound_env = LARGE_ENCLOSED
|
||||
forbid_events = TRUE
|
||||
flags = AREA_FLAG_IS_NOT_PERSISTENT
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user