/tg/ Station 13 - Modules - Types

modular_aphelion/modules/character_preview/code/glow.dm

/proc/emissive_branchesWhat of a look glows in the dark, for the pages that show it with the lights off.
/proc/emissive_branches_litWhether any of emissive_branches() glows, rather than only blocking.
/proc/emissive_branch_litWhether an emissive-plane branch glows anywhere. An emissive's colour is a matrix whose constant row turns it red (blooming) or green; BYOND keeps a blocker's, which only multiplies, as plain black. inherited is the colour the branch takes from above it.
/proc/emissive_holderemissive_branches() of look in a holder that get_flat_uni_icon() draws as the emissive plane holds them, placed as they are on the look: its layer and facing, and a blank tile of its own at the look's lower left, where the look's own icon is. Null when there are none.
/proc/character_preview_glowA look's glow, flattened facing dir onto box, its drawing's canvas as list(x1, y1, width, height) from the look's own lower left pixel, or null when nothing in it glows. always draws it whatever it holds, blank if nothing, for a facing whose drawing's other facings glow.