gas_mixture
Vars | |
fuel_burnt | How much fuel this gas mixture burnt last reaction. |
---|---|
innate_heat_capacity | Heat capacity intrinsic to the container of this gas mixture. |
synchronized | Is this mixture currently synchronized with MILLA? Always true for non-bound mixtures. |
volume | The volume this gas mixture fills. |
waiting_for_sync | Tracks the callbacks from synchronize() that haven't run yet. |
Procs | |
archive | Update archived versions of variables. Returns: TRUE in all cases |
boolean_remove | Only removes the gas if we have more than the amount |
copy_from_turf | Copies all gas info from the turf into the gas list along with temperature Returns: TRUE if we are mutable, FALSE otherwise |
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) |
get_true_breath_pressure | inverse |
heat_capacity | joules per kelvin |
merge | Merges all air from giver into self. Deletes giver. Returns: TRUE if we are mutable, FALSE otherwise |
react | Performs various reactions such as combustion or fusion (LOL) Returns: TRUE if any reaction took place; FALSE otherwise |
remove | Proportionally removes amount of gas from the gas_mixture. Returns: gas_mixture with the gases removed |
remove_ratio | Proportionally removes amount of gas from the gas_mixture. Returns: gas_mixture with the gases removed |
return_pressure | Calculate pressure in kilopascals |
return_volume | Calculate volume in liters |
set_dirty | Marks this gas mixture as changed from MILLA. Does nothing on non-bound mixtures. |
share | Performs air sharing calculations between two gas_mixtures assuming only 1 boundary length Returns: amount of gas exchanged (+ if sharer received) |
temperature_share | Performs temperature sharing calculations (via conduction) between two gas_mixtures assuming only 1 boundary length Returns: new temperature of the sharer |
thermal_energy | Calculate thermal energy in joules |
total_moles | Calculate moles |
Var Details
fuel_burnt
How much fuel this gas mixture burnt last reaction.
innate_heat_capacity
Heat capacity intrinsic to the container of this gas mixture.
synchronized
Is this mixture currently synchronized with MILLA? Always true for non-bound mixtures.
volume
The volume this gas mixture fills.
waiting_for_sync
Tracks the callbacks from synchronize() that haven't run yet.
Proc Details
archive
Update archived versions of variables. Returns: TRUE in all cases
boolean_remove
Only removes the gas if we have more than the amount
copy_from_turf
Copies all gas info from the turf into the gas list along with temperature Returns: TRUE if we are mutable, FALSE otherwise
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)
get_true_breath_pressure
inverse
heat_capacity
joules per kelvin
merge
Merges all air from giver into self. Deletes giver. Returns: TRUE if we are mutable, FALSE otherwise
react
Performs various reactions such as combustion or fusion (LOL) Returns: TRUE if any reaction took place; FALSE otherwise
remove
Proportionally removes amount of gas from the gas_mixture. Returns: gas_mixture with the gases removed
remove_ratio
Proportionally removes amount of gas from the gas_mixture. Returns: gas_mixture with the gases removed
return_pressure
Calculate pressure in kilopascals
return_volume
Calculate volume in liters
set_dirty
Marks this gas mixture as changed from MILLA. Does nothing on non-bound mixtures.
share
Performs air sharing calculations between two gas_mixtures assuming only 1 boundary length Returns: amount of gas exchanged (+ if sharer received)
temperature_share
Performs temperature sharing calculations (via conduction) between two gas_mixtures assuming only 1 boundary length Returns: new temperature of the sharer
thermal_energy
Calculate thermal energy in joules
total_moles
Calculate moles