Air alarm fixes, final part. Added in area atmos lockdown, proper overrides from the atmos control computer, cycling airlocks, and minor airflow/ZAS tweaks.

This commit is contained in:
SkyMarshal
2012-06-21 01:39:45 -07:00
parent c2163b1f20
commit 5ea83f0abe
17 changed files with 9083 additions and 8874 deletions
+2 -2
View File
@@ -92,7 +92,7 @@
broken(1)
if("bulb")
brightness = rand(BULB_BRIGHT_MIN, BULB_BRIGHT_MAX)
if(prob(15))
if(prob(20))
broken(1)
spawn(1)
update()
@@ -127,7 +127,7 @@
var/oldlum = luminosity
//luminosity = on * brightness
ul_SetLuminosity(on * brightness, on * brightness, ( fitting != "bulb" ? on * brightness : round(on*brightness/2 + 1) ) ) // *DAL*
ul_SetLuminosity(on * brightness, on * brightness, fitting != "bulb" ? on * brightness : max(on * (brightness - 2), 0) ) // *DAL*
// if the state changed, inc the switching counter
if(oldlum != luminosity)