/tg/ Station 13 - Modules - TypesVar Details - Proc Details

liver

Vars

alcohol_toleranceAffects how much damage the liver takes from alcohol
liver_resistanceModifies how much damage toxin deals to the liver
toxToleranceThe maximum volume of toxins the liver will ignore

Procs

handle_chemicalThis proc can be overriden by liver subtypes so they can handle certain chemicals in special ways. Return null to continue running the normal on_mob_life() for that reagent. Return COMSIG_MOB_STOP_REAGENT_TICK to not run the normal metabolism effects.

Var Details

alcohol_tolerance

Affects how much damage the liver takes from alcohol

liver_resistance

Modifies how much damage toxin deals to the liver

toxTolerance

The maximum volume of toxins the liver will ignore

Proc Details

handle_chemical

This proc can be overriden by liver subtypes so they can handle certain chemicals in special ways. Return null to continue running the normal on_mob_life() for that reagent. Return COMSIG_MOB_STOP_REAGENT_TICK to not run the normal metabolism effects.

NOTE: If you return COMSIG_MOB_STOP_REAGENT_TICK, that reagent will not be removed like normal! You must handle it manually.