/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/custom_sprites/code/mirror.dm

CUSTOM_SPRITE_MIRROR_TIMEOUTHow long the recipient has to answer the mirror before it declines for them.
/proc/custom_sprite_worn_overlaysThis body's worn clothing overlays, in layer order. Held items are left out.
/proc/custom_sprite_limb_appearanceA body without its hair, so nothing hanging off the head covers the limb being drawn on.
/proc/custom_sprite_obstructing_overlayWhether a bodypart overlay hangs over the limb's paint: every mutant part except the taur body, which carries its own paint, and a moth chest's extra arms.
/proc/custom_sprite_cover_looksThe looks that can hide paint: the hair, every mutant part drawn on the body, each piece of underwear and, given a wearer, each item they have on. Each look carries its images, offset the way get_limb_icon() draws them, the highest layer it draws on and a label for the window; worn items are also marked worn. Looks come lowest layer first, so stamping them in order leaves the topmost part at each pixel. Parts behind the body, hidden parts, the taur body (which carries its own paint) and emissive images are left out. key, when given, collects what each look is drawn from and where it lands, so rows flattened from these looks can be cached by geometry.
/proc/custom_sprite_underwear_looksEach piece of underwear the body shows, as a look of its own: underwear, bra, undershirt and socks.
/proc/custom_sprite_worn_looksWhat the wearer has on, a look for each worn item, labelled by its name. Held items are left out.
/proc/custom_sprite_hair_cover_keyThe look the head's hair images were built from: those icons are generated at runtime and can't be keyed by path.
/proc/custom_sprite_placement_keyWhere an image lands when flattened: its offsets and layer. Its art is keyed separately.
/proc/custom_sprite_preview_appearanceA body's look with worn overlays added, captured so its views can be flattened one at a time.
/proc/custom_sprite_preview_widthThe canvas width a body's previews are flattened at: a taur organ widens it.
/proc/custom_sprite_render_viewsFront, Back, Right and Left data URLs of a captured look, without flipping any view, from one walk. Each picture's PNG goes through the callback when one is given, in GLOB.cardinals order, and is kept under name when one is given; see custom_sprite_draw_recipes().
/proc/custom_sprite_preview_heightThe rows a body's pictures need: taller while its hair drawing reaches above the head, and taller again for a hairstyle drawn above it, such as Afro (Huge). style names a hairstyle other than the body's own.
/datum/custom_sprite_mirrorThe recipient's mirror.
/proc/custom_style_spawned_slot_problemReturns why a body's style can't be saved to the selected character slot, or null when it can.
/proc/custom_sprite_live_package_fromThe live form of an applied package: emission follows the body's current permission.

Define Details

CUSTOM_SPRITE_MIRROR_TIMEOUT

How long the recipient has to answer the mirror before it declines for them.