chemical_reaction

Vars | |
hidden_from_codex | set to TRUE if you want something to be hidden from the ingame codex |
---|---|
id | ID of the reaction |
is_cold_recipe | Set to TRUE if you want the recipe to only react when it's BELOW the required temp. |
mix_message | The message shown to nearby people upon mixing, if applicable |
mix_sound | The sound played upon mixing, if applicable |
mob_react | Determines if a chemical reaction can occur inside a mob |
name | Name of the reaction |
required_catalysts | Required chemicals that must be present in the container but are not USED. |
required_container | the exact container path required for the reaction to happen |
required_other | an integer required for the reaction to happen |
required_reagents | Required chemicals that are USED in the reaction |
required_temp | Required temperature for the reaction to begin |
results | Results of the chemical reactions |
Procs | |
on_reaction | Shit that happens on reaction |
Var Details
hidden_from_codex

set to TRUE if you want something to be hidden from the ingame codex
id

ID of the reaction
is_cold_recipe

Set to TRUE if you want the recipe to only react when it's BELOW the required temp.
mix_message

The message shown to nearby people upon mixing, if applicable
mix_sound

The sound played upon mixing, if applicable
mob_react

Determines if a chemical reaction can occur inside a mob
name

Name of the reaction
required_catalysts

Required chemicals that must be present in the container but are not USED.
required_container

the exact container path required for the reaction to happen
required_other

an integer required for the reaction to happen
required_reagents

Required chemicals that are USED in the reaction
required_temp

Required temperature for the reaction to begin
results

Results of the chemical reactions
Proc Details
on_reaction
Shit that happens on reaction
Proc where the additional magic happens. You dont want to handle mob spawning in this since there is a dedicated proc for that.client Arguments:
- holder - the datum that holds this reagent, be it a beaker or anything else
- created_volume - volume created when this is mixed. look at 'var/list/results'.