/tg/ Station 13 - Modules - Types

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

/datum/unit_test/body_marking_artShared setup for the body marking art tests. Abstract, so the runner never runs it on its own.
/datum/unit_test/body_marking_art/claimed_zonesEvery zone a body marking claims has its art. For each marking in GLOB.body_markings and each zone in its affected_bodyparts, every icon state the limb renderer can ask of zone_icon_state() there must be on the marking's sheet: both physiques of a gendered chest, each leg shape leg_shapes keeps, and the hands, an arm's aux zone. A claimed zone is offered in character setup, so a missing state is a marking players can pick that draws nothing.
/datum/unit_test/body_marking_art/unclaimed_statesEvery state on a body marking sheet is art some marking claims: a state no marking claims is art a marking lost or a duplicate, and must not come back unnoticed. A body marking sheet is one under icons/mob/body_markings/ that a marking in GLOB.body_markings draws from; the states a sheet keeps though no marking claims them are listed here with the reason.
/datum/unit_test/body_marking_art/missing_stateA marking draws nothing where its sheet lacks the state a zone asks for, glow included, rather than the sheet's default state: a zone claimed without art, or one a save holds that the marking no longer claims. A zone it has art for draws.
/datum/unit_test/body_marking_art/leg_shapesA marking with art for one leg shape draws on legs of that shape and on no other, even where its sheet has art for both.