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

fake_health_doll

Causes the target to see incorrect health damages on the healthdoll

Vars

bodypartsAssoc list of [ref to bodyparts] to [severity]
del_timer_idTimer ID for when we're deleted
durationThe duration of the hallucination

Procs

add_fake_limbAdds a fake limb to the effect.
increment_fake_damageIncrements the severity of the damage seen on all the limbs we are already tracking.
on_bodypart_checkedSignal proc for COMSIG_BODYPART_CHECKED_FOR_INJURY. Our bodyparts look a lot more wounded than they actually are.
on_bodypart_hud_updateWhenever a bodypart we're tracking has their health hud updated, override it with our fake overlay
remove_bodypartRemove a bodypart from our list, unregistering all associated signals and handling the reference

Var Details

bodyparts

Assoc list of [ref to bodyparts] to [severity]

del_timer_id

Timer ID for when we're deleted

duration

The duration of the hallucination

Proc Details

add_fake_limb

Adds a fake limb to the effect.

specific_limb - optional, the specific limb to apply the effect to. If not passed, picks a random limb seveirty - optional, the specific severity level to apply the effect. Clamped from 1 to 5. If not passed, picks a random number.

increment_fake_damage

Increments the severity of the damage seen on all the limbs we are already tracking.

on_bodypart_checked

Signal proc for COMSIG_BODYPART_CHECKED_FOR_INJURY. Our bodyparts look a lot more wounded than they actually are.

on_bodypart_hud_update

Whenever a bodypart we're tracking has their health hud updated, override it with our fake overlay

remove_bodypart

Remove a bodypart from our list, unregistering all associated signals and handling the reference