/datum/gas_mixture
Procs | |
archive | Update archived versions of variables. Returns: 1 in all cases |
---|---|
equalize | Distributes the contents of two mixes equally between themselves |
get_breath_partial_pressure | Takes the amount of the gas you want to PP as an argument So I don't have to do some hacky switches/defines/magic strings eg: Tox_PP = get_partial_pressure(gas_mixture.toxins) O2_PP = get_partial_pressure(gas_mixture.oxygen) |
parse_gas_string | Copies variables from a particularly formatted string. Returns: 1 if we are mutable, 0 otherwise |
total_moles | Calculate moles |
Proc Details
archive
Update archived versions of variables. Returns: 1 in all cases
equalize
Distributes the contents of two mixes equally between themselves
get_breath_partial_pressure
Takes the amount of the gas you want to PP as an argument So I don't have to do some hacky switches/defines/magic strings eg: Tox_PP = get_partial_pressure(gas_mixture.toxins) O2_PP = get_partial_pressure(gas_mixture.oxygen)
parse_gas_string
Copies variables from a particularly formatted string. Returns: 1 if we are mutable, 0 otherwise
total_moles
Calculate moles