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

emote

Variant of bodypart_overlay for displaying emote overlays. See /datum/emote/living/blush/run_emote for an example on how to use one of these.

Vars

attached_body_zoneThe body zone to attach the overlay to, overlay won't be added if no bodypart can be found with this
attached_bodypartThe bodypart that the overlay is currently applied to
offsetThe offset define to use with the overlay (none by default), should correspond with a list(0,0) in a species' offset_features
offset_xX offset of the overlay image, stored here so we can access this even after bodypart we're on gets severed
offset_yY offset of the overlay image, stored here so we can access this even after bodypart we're on gets severed

Procs

DestroyRemoves the overlay from the attached bodypart and updates the necessary sprites

Var Details

attached_body_zone

The body zone to attach the overlay to, overlay won't be added if no bodypart can be found with this

attached_bodypart

The bodypart that the overlay is currently applied to

offset

The offset define to use with the overlay (none by default), should correspond with a list(0,0) in a species' offset_features

offset_x

X offset of the overlay image, stored here so we can access this even after bodypart we're on gets severed

offset_y

Y offset of the overlay image, stored here so we can access this even after bodypart we're on gets severed

Proc Details

Destroy

Removes the overlay from the attached bodypart and updates the necessary sprites