Space Station 13 - Modules - TypesVar Details - Proc Details

reagent

Vars

addiction_decay_ratehow quickly the addiction threshold var decays
allowed_overdose_processIf this variable is true, chemicals will continue to process in mobs when overdosed.
colorThe color of the agent outside of containers.
holderA reference to the holder the chemical is 'in'.

Procs

reaction_mobReact with a mob.
reaction_objReact with an object.
reaction_turfReact with a turf.

Var Details

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.

color

The color of the agent outside of containers.

holder

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.