Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/bioEffect

Vars

curable_by_mutadoneif 0/FALSE, we cant mutadone this - reinforced, magic genes and anti-toxins use this
degrade_afterif this mutation should degrade after timing out
effect_groupgroups of mutually exclusive bioeffects
is_magicalonly for trait genes/similar, we really dont want to lose this

Procs

GetCopyGets a copy of this effect. Used to build local effect pool from global instance list. Please don't use this for anything else as it might not work as you think it should.
OnAddCalled when the effect is added.
OnLifeCalled when the life proc of the mob is called. Children should NOT run when this returns 1
OnMobDrawCalled when the overlays for the mob are drawn. Children should NOT run when this returns 1
OnRemoveCalled when the effect is removed. Returns FALSE if the holder is being deleted, TRUE otherwise.

Var Details

curable_by_mutadone

if 0/FALSE, we cant mutadone this - reinforced, magic genes and anti-toxins use this

degrade_after

if this mutation should degrade after timing out

effect_group

groups of mutually exclusive bioeffects

is_magical

only for trait genes/similar, we really dont want to lose this

Proc Details

GetCopy

Gets a copy of this effect. Used to build local effect pool from global instance list. Please don't use this for anything else as it might not work as you think it should.

OnAdd

Called when the effect is added.

OnLife

Called when the life proc of the mob is called. Children should NOT run when this returns 1

OnMobDraw

Called when the overlays for the mob are drawn. Children should NOT run when this returns 1

OnRemove

Called when the effect is removed. Returns FALSE if the holder is being deleted, TRUE otherwise.