chemical_reaction
Vars | |
required_container | The container required for the reaction to happen. Leave this null if you want the reaction to happen anywhere. |
---|---|
required_other | Extra requirements for the reaction to happen. |
required_reagents | A list of IDs of the required reagents. |
result_amount | This is the amount of the resulting reagent this recipe will produce. It's recommended you set this to the total volume of all required reagents. |
Var Details
required_container
The container required for the reaction to happen. Leave this null if you want the reaction to happen anywhere.
required_other
Extra requirements for the reaction to happen.
required_reagents
A list of IDs of the required reagents.
Each ID also needs an associated value that gives us the minimum required amount / of that reagent. The handle_reaction proc can detect mutiples of the same recipes / so for most cases you want to set the required amount to 1.
result_amount
This is the amount of the resulting reagent this recipe will produce. It's recommended you set this to the total volume of all required reagents.