Merge pull request #15826 from Putnam3145/auxmos-2
Update auxmos to 2.0.0
This commit is contained in:
@@ -280,7 +280,11 @@ we use a hook instead
|
||||
parse_gas_string(model.initial_gas_mix)
|
||||
return 1
|
||||
|
||||
/datum/gas_mixture/proc/__auxtools_parse_gas_string(gas_string)
|
||||
|
||||
/datum/gas_mixture/parse_gas_string(gas_string)
|
||||
__auxtools_parse_gas_string(gas_string)
|
||||
/*
|
||||
gas_string = SSair.preprocess_gas_string(gas_string)
|
||||
|
||||
var/list/gas = params2list(gas_string)
|
||||
@@ -294,6 +298,7 @@ we use a hook instead
|
||||
for(var/id in gas)
|
||||
set_moles(id, text2num(gas[id]))
|
||||
archive()
|
||||
*/
|
||||
return 1
|
||||
/*
|
||||
/datum/gas_mixture/react(datum/holder)
|
||||
|
||||
@@ -69,6 +69,8 @@
|
||||
|
||||
// no test cause it's entirely based on location
|
||||
|
||||
GLOBAL_VAR_INIT(condensation_priority, 0)
|
||||
|
||||
/datum/gas_reaction/condensation
|
||||
priority = 0
|
||||
name = "Condensation"
|
||||
@@ -87,6 +89,8 @@
|
||||
name = "[R.name] condensation"
|
||||
id = "[R.type] condensation"
|
||||
condensing_reagent = GLOB.chemical_reagents_list[R.type]
|
||||
GLOB.condensation_priority += 0.000000000001
|
||||
priority = GLOB.condensation_priority
|
||||
exclude = FALSE
|
||||
|
||||
/datum/gas_reaction/condensation/react(datum/gas_mixture/air, datum/holder)
|
||||
|
||||
Reference in New Issue
Block a user