gas_reaction ![code/modules/atmospherics/gasmixtures/reactions.dm 42](git.png)
Vars | |
desc | A short string describing this reaction. |
---|---|
expands_hotspot | Whether the presence of our reaction should make fires bigger or not. |
factor | |
priority_group | The priority group this reaction is a part of. You can think of these as processing in batches, put your reaction into the one that's most fitting |
requirements | Regarding the requirements list: the minimum or maximum requirements must be non-zero. When in doubt, use MINIMUM_MOLE_COUNT. Another thing to note is that reactions will not fire if we have any requirements outside of gas id path or MIN_TEMP or MAX_TEMP. More complex implementations will require modifications to gas_mixture.react() |
Var Details
desc ![code/modules/atmospherics/gasmixtures/reactions.dm 59](git.png)
A short string describing this reaction.
expands_hotspot ![code/modules/atmospherics/gasmixtures/reactions.dm 57](git.png)
Whether the presence of our reaction should make fires bigger or not.
factor ![code/modules/atmospherics/gasmixtures/reactions.dm 72](git.png)
-
REACTION FACTORS
-
Describe (to a human) factors influencing this reaction in an assoc list format.
-
Also include gases formed by the reaction
-
Implement various interaction for different keys under subsystem/air/proc/atmos_handbook_init()
-
E.G.
-
factor["Temperature"] = "Minimum temperature of 20 kelvins, maximum temperature of 100 kelvins"
-
factor[GAS_O2] = "Minimum oxygen amount of 20 moles, more oxygen increases reaction rate up to 150 moles"
-
priority_group ![code/modules/atmospherics/gasmixtures/reactions.dm 53](git.png)
The priority group this reaction is a part of. You can think of these as processing in batches, put your reaction into the one that's most fitting
requirements ![code/modules/atmospherics/gasmixtures/reactions.dm 49](git.png)
Regarding the requirements list: the minimum or maximum requirements must be non-zero. When in doubt, use MINIMUM_MOLE_COUNT. Another thing to note is that reactions will not fire if we have any requirements outside of gas id path or MIN_TEMP or MAX_TEMP. More complex implementations will require modifications to gas_mixture.react()