reagent ![code/modules/reagents/chemistry/reagents_datum.dm 1](git.png)
Vars | |
addiction_decay_rate | how quickly the addiction threshold var decays |
---|---|
allowed_overdose_process | If this variable is true, chemicals will continue to process in mobs when overdosed. |
burn_duration | How long would a fire burn using this reagent? Currently only used for chemical flamethrowers |
burn_temperature | At what temperature does this reagent burn? Currently only used for chemical flamethrowers |
color | The color of the agent outside of containers. |
fire_stack_applications | How many firestacks will the reagent apply when it is burning? Currently only used for chemical flamethrowers |
holder | A reference to the holder the chemical is 'in'. |
Procs | |
reaction_mob | React with a mob. |
reaction_obj | React with an object. |
reaction_turf | React with a turf. |
Var Details
addiction_decay_rate ![code/modules/reagents/chemistry/reagents_datum.dm 39](git.png)
how quickly the addiction threshold var decays
allowed_overdose_process ![code/modules/reagents/chemistry/reagents_datum.dm 31](git.png)
If this variable is true, chemicals will continue to process in mobs when overdosed.
burn_duration ![code/modules/reagents/chemistry/reagents_datum.dm 51](git.png)
How long would a fire burn using this reagent? Currently only used for chemical flamethrowers
burn_temperature ![code/modules/reagents/chemistry/reagents_datum.dm 49](git.png)
At what temperature does this reagent burn? Currently only used for chemical flamethrowers
color ![code/modules/reagents/chemistry/reagents_datum.dm 12](git.png)
The color of the agent outside of containers.
fire_stack_applications ![code/modules/reagents/chemistry/reagents_datum.dm 53](git.png)
How many firestacks will the reagent apply when it is burning? Currently only used for chemical flamethrowers
holder ![code/modules/reagents/chemistry/reagents_datum.dm 6](git.png)
A reference to the holder the chemical is 'in'.
Proc Details
reaction_mob
React with a mob.
The method var can be either REAGENT_TOUCH
or REAGENT_INGEST
. Some
reagents transfer on touch, others don't; dependent on if they penetrate the
skin or not. You'll want to put stuff like acid-facemelting in here. Should
only ever be called, directly, on living mobs.
reaction_obj
React with an object.
reaction_turf
React with a turf.
You'll want to put stuff like extra slippery floors for lube or something in here.