Files
Aurora.3/code/defines/gases.dm

96 lines
2.3 KiB
Plaintext

/singleton/xgm_gas/oxygen
id = GAS_OXYGEN
name = "Oxygen"
specific_heat = 20 // J/(mol*K)
molar_mass = 0.032 // kg/mol
flags = XGM_GAS_OXIDIZER
/singleton/xgm_gas/nitrogen
id = GAS_NITROGEN
name = "Nitrogen"
specific_heat = 20 // J/(mol*K)
molar_mass = 0.028 // kg/mol
/singleton/xgm_gas/carbon_dioxide
id = GAS_CO2
name = "Carbon Dioxide"
specific_heat = 30 // J/(mol*K)
molar_mass = 0.044 // kg/mol
/singleton/xgm_gas/phoron
id = GAS_PHORON
name = "Phoron"
//Note that this has a significant impact on TTV yield.
//Because it is so high, any leftover phoron soaks up a lot of heat and drops the yield pressure.
specific_heat = 200 // J/(mol*K)
//Hypothetical group 14 (same as carbon), period 8 element.
//Using multiplicity rule, it's atomic number is 162
//and following a N/Z ratio of 1.5, the molar mass of a monatomic gas is:
molar_mass = 0.405 // kg/mol
tile_overlay = "phoron"
overlay_limit = 0.7
flags = XGM_GAS_FUEL | XGM_GAS_CONTAMINANT
/singleton/xgm_gas/hydrogen
id = GAS_HYDROGEN
name = "Hydrogen"
specific_heat = 100
molar_mass = 0.002
flags = XGM_GAS_FUEL
/singleton/xgm_gas/sleeping_agent
id = GAS_N2O
name = "Nitrous Oxide"
specific_heat = 40 // J/(mol*K)
molar_mass = 0.044 // kg/mol. N2O
tile_overlay = "sleeping_agent"
overlay_limit = 1
flags = XGM_GAS_OXIDIZER
/singleton/xgm_gas/alium
id = GAS_ALIEN
name = "Aliether"
/singleton/xgm_gas/alium/New()
var/num = rand(100,999)
name = "Compound #[num]"
specific_heat = rand(1, 400) // J/(mol*K)
molar_mass = rand(20,800)/1000 // kg/mol
if(prob(40))
flags |= XGM_GAS_FUEL
else if(prob(40)) //it's prooobably a bad idea for gas being oxidizer to itself.
flags |= XGM_GAS_OXIDIZER
if(prob(40))
flags |= XGM_GAS_CONTAMINANT
if(prob(50))
tile_color = RANDOM_RGB
overlay_limit = 0.5
/singleton/xgm_gas/vapor
id = GAS_STEAM
name = "Steam"
tile_overlay = "generic"
overlay_limit = 0.5
specific_heat = 30 // J/(mol*K)
molar_mass = 0.020 // kg/mol
/singleton/xgm_gas/sulfurdioxide
id = GAS_SULFUR
name = "Sulfur Dioxide"
specific_heat = 30 // J/(mol*K)
molar_mass = 0.044 // kg/mol
/singleton/xgm_gas/chlorine
id = GAS_CHLORINE
name = "Chlorine"
tile_overlay = "chlorine"
overlay_limit = 0.5
specific_heat = 5 // J/(mol*K)
molar_mass = 0.017 // kg/mol
flags = XGM_GAS_CONTAMINANT