/tg/ Station 13 - Modules - Types — Var Details - Proc Details

custom_marking

A drawing painted on a bodypart, clipped to the limb's own geometry. Subtypes keep a limb's zone, hand and taur paint apart.

Vars

cache_iconsWhether built icons go into the shared caches. Throwaway overlays, such as region-map scratch, skip them.
drawingPrivate drawing snapshot owned by this limb overlay.
drawing_hashFull drawing identity used to skip unchanged overlay updates.
drawing_pixel_hashPixel identity shared by cached masks with different appearance settings.

Procs

clip_paintA copy of paint, or a blank without any, clipped to where this overlay shows on limb in one of its layers.
get_all_overlaysBodypart overlays are collected after the normal leg split, so split our own overlays here. Content keys avoid the runtime-icon reference reuse issue in generate_masked_leg().
get_layer_postfixesCustom markings supply their own paint: their layer keys pick a limb silhouette, not an accessory icon state postfix.
pixel_render_keyPixel caches depend on paint and mask geometry, not tint, opacity, emission or layer.
set_drawingTakes a private copy of the drawing and records its identities; hand overlays follow their arm's aux layer.

Var Details

cache_icons

Whether built icons go into the shared caches. Throwaway overlays, such as region-map scratch, skip them.

drawing

Private drawing snapshot owned by this limb overlay.

drawing_hash

Full drawing identity used to skip unchanged overlay updates.

drawing_pixel_hash

Pixel identity shared by cached masks with different appearance settings.

Proc Details

clip_paint

A copy of paint, or a blank without any, clipped to where this overlay shows on limb in one of its layers.

get_all_overlays

Bodypart overlays are collected after the normal leg split, so split our own overlays here. Content keys avoid the runtime-icon reference reuse issue in generate_masked_leg().

get_layer_postfixes

Custom markings supply their own paint: their layer keys pick a limb silhouette, not an accessory icon state postfix.

pixel_render_key

Pixel caches depend on paint and mask geometry, not tint, opacity, emission or layer.

set_drawing

Takes a private copy of the drawing and records its identities; hand overlays follow their arm's aux layer.