Working UL

This commit is contained in:
SkyMarshal
2012-06-13 18:59:52 -07:00
parent f1f5338a4f
commit aeb850fef0
52 changed files with 622 additions and 633 deletions

View File

@@ -157,14 +157,14 @@ obj
New(newLoc,fl)
..()
dir = pick(cardinal)
sd_SetLuminosity(3)
ul_SetLuminosity(3)
firelevel = fl
for(var/mob/living/carbon/human/M in loc)
M.FireBurn(min(max(0.1,firelevel / 20),10)) //Burn the humans!
Del()
if (istype(loc, /turf/simulated))
src.sd_SetLuminosity(0)
ul_SetLuminosity(0)
loc = null
@@ -267,7 +267,7 @@ datum/gas_mixture/proc/zburn(obj/liquid_fuel/liquid)
temperature = max( 1700*log(0.4*firelevel + 1.23) , temperature )
//Consume some gas.
var/consumed_gas = min(oxygen,0.005*firelevel,total_fuel) / fuel_sources
var/consumed_gas = min(oxygen,0.05*firelevel,total_fuel) / fuel_sources
oxygen = max(0,oxygen-consumed_gas)

View File

@@ -95,7 +95,7 @@ zone/proc/process()
AirflowSpace(src)
ShareSpace(air,total_space*(zone_share_percent/100))
if(!(last_update%20)) //every 20 processes.
/* if(!(last_update%20)) //every 20 processes.
if(connections)
connections.Remove(null)
if(!connections.len)
@@ -103,7 +103,7 @@ zone/proc/process()
if(connected_zones)
connected_zones.Remove(null)
if(!connected_zones.len)
del connected_zones
del connected_zones*/
//React the air here.
//air.react(null,0)