ZAS fixes.

This commit is contained in:
SkyMarshal
2012-07-26 11:55:19 -07:00
parent 23e263e851
commit c5f2df0aeb
2 changed files with 7 additions and 10 deletions
+4 -7
View File
@@ -136,15 +136,12 @@ datum
var/start_time = world.timeofday
for(var/turf/simulated/S in world)
if(S.z < 5)
if(!S.zone && !S.blocks_air)
if(S.CanPass(null, S, 0, 0))
new/zone(S)
if(!S.zone && !S.blocks_air)
if(S.CanPass(null, S, 0, 0))
new/zone(S)
for(var/turf/simulated/S in world)
if(S.z < 5)
S.update_air_properties()
// S.check_connections()
S.update_air_properties()
world << "\red \b Geometry processed in [time2text(world.timeofday-start_time, "mm:ss")] minutes!"
spawn start()
+3 -3
View File
@@ -19,9 +19,9 @@
#define MOLES_PLASMA_VISIBLE 0.5 //Moles in a standard cell after which plasma is visible
#define SPECIFIC_HEAT_TOXIN 700
#define SPECIFIC_HEAT_AIR 100
#define SPECIFIC_HEAT_CDO 150
#define SPECIFIC_HEAT_TOXIN 200
#define SPECIFIC_HEAT_AIR 20
#define SPECIFIC_HEAT_CDO 30
#define HEAT_CAPACITY_CALCULATION(oxygen,carbon_dioxide,nitrogen,toxins) \
(carbon_dioxide*SPECIFIC_HEAT_CDO + (oxygen+nitrogen)*SPECIFIC_HEAT_AIR + toxins*SPECIFIC_HEAT_TOXIN)