stacked_metabolization_effect 
Side effects from metabolizing an reagent or a combination of them
Vars | |
| requirements | List of reagents that need to be metabolized for this side effect to kick in. For subtypes values greater than requirement list will also trigger this effect |
|---|---|
Procs | |
| apply | Apply a list of side effects to an mob once they have metabolized the requirments Arguments |
| average | Returns the average metabolzation ratio from an list Arguments |
| check_and_apply | Checks if this side effect can be applied on the mob Arguments |
Var Details
requirements 
List of reagents that need to be metabolized for this side effect to kick in. For subtypes values greater than requirement list will also trigger this effect
Proc Details
apply
Apply a list of side effects to an mob once they have metabolized the requirments Arguments
- list/reagents_metabolized - a map of reagent -> metabolization_ratio of all reagents
- mob/living/carbon/owner - the mob to apply the side effects to
- seconds_per_tick - passed from /datum/reagents/proc/metabolize_reagent() Returns a positive value if the mobs health needs to be updated
average
Returns the average metabolzation ratio from an list Arguments
- list/reagents_metabolized - the list of reagents metabolized
check_and_apply
Checks if this side effect can be applied on the mob Arguments
- list/reagents_metabolized - a map of reagent type path -> metabolization_ratio of all reagents
- mob/living/carbon/owner - the mob to apply the side effects to
- seconds_per_tick - passed from /datum/reagents/proc/metabolize_reagent()