Makes auxmos do fires on Linux
This commit is contained in:
@@ -60,6 +60,10 @@
|
||||
fire_products = "plasma_fire"
|
||||
enthalpy = FIRE_PLASMA_ENERGY_RELEASED // 3000000, 3 megajoules, 3000 kj
|
||||
|
||||
/datum/gas/plasma/New()
|
||||
if(world.system_type == UNIX)
|
||||
fire_temperature = null
|
||||
|
||||
/datum/gas/water_vapor
|
||||
id = GAS_H2O
|
||||
specific_heat = 40
|
||||
@@ -134,6 +138,10 @@
|
||||
fire_radiation_released = 50 // arbitrary number, basically 60 moles of trit burning will just barely start to harm you
|
||||
fire_temperature = FIRE_MINIMUM_TEMPERATURE_TO_EXIST - 50
|
||||
|
||||
/datum/gas/tritium/New()
|
||||
if(world.system_type == UNIX)
|
||||
fire_temperature = null
|
||||
|
||||
/datum/gas/bz
|
||||
id = GAS_BZ
|
||||
specific_heat = 20
|
||||
|
||||
@@ -5,10 +5,9 @@
|
||||
|
||||
for(var/r in subtypesof(/datum/gas_reaction))
|
||||
var/datum/gas_reaction/reaction = r
|
||||
if(initial(reaction.exclude))
|
||||
continue
|
||||
reaction = new r
|
||||
. += reaction
|
||||
if(!reaction.exclude)
|
||||
. += reaction
|
||||
sortTim(., /proc/cmp_gas_reaction)
|
||||
|
||||
/proc/cmp_gas_reaction(datum/gas_reaction/a, datum/gas_reaction/b) // compares lists of reactions by the maximum priority contained within the list
|
||||
@@ -119,6 +118,7 @@
|
||||
id = "tritfire"
|
||||
|
||||
/datum/gas_reaction/tritfire/init_reqs()
|
||||
exclude = world.system_type == MS_WINDOWS // temporary stopgap until generic fires work on linux
|
||||
min_requirements = list(
|
||||
"TEMP" = FIRE_MINIMUM_TEMPERATURE_TO_EXIST,
|
||||
GAS_TRITIUM = MINIMUM_MOLE_COUNT,
|
||||
@@ -200,6 +200,7 @@
|
||||
id = "plasmafire"
|
||||
|
||||
/datum/gas_reaction/plasmafire/init_reqs()
|
||||
exclude = world.system_type == MS_WINDOWS // temporary stopgap until generic fires work on linux
|
||||
min_requirements = list(
|
||||
"TEMP" = FIRE_MINIMUM_TEMPERATURE_TO_EXIST,
|
||||
GAS_PLASMA = MINIMUM_MOLE_COUNT,
|
||||
|
||||
Reference in New Issue
Block a user