/tg/ Station 13 - Modules - Types

code/modules/unit_tests/~nova/custom_sprites/markings_editor.dm

/proc/custom_sprite_test_region_pixelThe first canvas pixel a region owns in one view, as list(x, y), or null.
/proc/custom_sprite_test_front_drawingA drawing with one painted pixel, in the Front view only.
/proc/custom_sprite_test_paint_regionPaints one pixel a region owns with the first color the canvas offers.
/proc/custom_sprite_test_pool_colorsSaves up to count distinct colors across the body's regions in the Front view, a few per region, and returns how many it placed.
/proc/custom_sprite_test_hidden_pixelA pixel a region's own mask covers but a different limb owns on the canvas, as list(direction, x, y), or null.
/datum/unit_test/custom_sprite_markings_editor_locked_colorsA locked marking keeps its own colour in the whole-body editor, as in character setup: a row renamed to one starts in that colour, not the old row's, and its colour can't be picked.
/datum/unit_test/custom_sprite_markings_editor_exclusion_groupsTwo markings of one exclusion group never share a region through the whole-body editor, which saves regions through set_zone_from_list(), where the second would be dropped: renaming a row into a group another row wears and an imported style holding two are refused with the reason, and adding a marking skips the ones a worn marking's group keeps off, refusing with the reason when nothing else is left. A row may still become another marking of its own group.
/datum/custom_sprite_editor/markings/unified_test/lockingA whole-body editor that locks the left arm, as the salon does with a covered region.
/proc/custom_sprite_test_selection_placementThe compact placement the selection tool sends for a temporary picture or a final drop.
/datum/custom_sprite_editor/markings/unified_test/selection_locksMutable locks emulate clothing or mirror access changing during the debounce.
/datum/custom_sprite_base_marking_fixtureSynthetic native marking art, registered only for these tests and removed by the test allocator.