- Constructed vents and scrubbers can be initialized through air alarm interface.

- Minor tweaks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@417 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
panurgomatic
2010-11-14 12:00:17 +00:00
parent 67163de36c
commit 1aeec3bfb3
3 changed files with 89 additions and 75 deletions

View File

@@ -21,14 +21,14 @@
var/panic = 0 //is this scrubber panicked?
update_icon()
if(on)//&&node)//seems to be broken
if(on&&node)
if(scrubbing)
icon_state = "[level == 1 && istype(loc, /turf/simulated) ? "h" : "" ]on"
else
icon_state = "[level == 1 && istype(loc, /turf/simulated) ? "h" : "" ]in"
else
icon_state = "[level == 1 && istype(loc, /turf/simulated) ? "h" : "" ]off"
//on = 0
on = 0
return
@@ -155,7 +155,7 @@
volume_rate = 2000
else
scrubbing = 1
volume_rate = 120
volume_rate = initial(volume_rate)
if(signal.data["tag"])
spawn(2)
broadcast_status()