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

face_decal

Face decal component

For when you have some dirt on your face

Vars

bodypart_overlayBodypart overlay we use for carbon mobs
colorColor that the overlay is modified by
icon_stateBase icon state we use for the effect
layersLayers for the bodypart_overlay to draw on
my_headCached head for carbons, to ensure proper removal of our overlay
normal_overlayOverlay we use for non-carbon mobs

Procs

clean_upCallback to remove our decal
lost_headRemoves the decal when the head gets dismembered
update_overlaysEnsures normal_overlay overlay in case the mob is not a carbon

Var Details

bodypart_overlay

Bodypart overlay we use for carbon mobs

color

Color that the overlay is modified by

icon_state

Base icon state we use for the effect

layers

Layers for the bodypart_overlay to draw on

my_head

Cached head for carbons, to ensure proper removal of our overlay

normal_overlay

Overlay we use for non-carbon mobs

Proc Details

clean_up

Callback to remove our decal

lost_head

Removes the decal when the head gets dismembered

update_overlays

Ensures normal_overlay overlay in case the mob is not a carbon