/tg/ Station 13 - Modules - Types

code/modules/unit_tests/~nova/body_marking_fixture.dm

/proc/markings_baseline_marking_namesFixtures the body marking tests share: the markings a test body wears and their colours, the standard and merge fills, a rendered icon's pixel signature and the emissive glow check. Their names come from the before/after baselines the markings datumisation was measured with. The markings the fixture wears. Each one claims all eight marking zones and ships art for every one of them plus both leg shapes, so no case falls back to a sheet's default frame and hides a difference. Named explicitly rather than read out of GLOB.body_markings_per_limb, whose order can change.
/proc/markings_baseline_marking_colorsOne fixed colour per fixture marking, so no signature ever depends on a mutant colour roll.
/proc/markings_baseline_fillBuilds the fixture's marking map in the nested shape a savefile holds: zone -> (marking name -> list(color, emissive)).
/proc/markings_merge_fixture_colorThe one colour every marking of the merge fixture wears.
/proc/markings_merge_fixture_fillBuilds the merge fixture's marking map, in the same nested shape as markings_baseline_fill(): the same three markings on every zone, all in one colour and all glowing. Each zone's markings then run together in colour and in glow, which the standard fixture, three colours with one glow per zone, never does. Its tests draw a zone's same-coloured markings, and its glows, as one.
/proc/markings_baseline_signatureReduces a rendered icon to one comparison key.
/proc/markings_baseline_is_glowingTells a glowing emissive appearance from an emissive blocker, which shares its plane.