/tg/ Station 13 - Modules - Types

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

/proc/body_marking_compat_fullSaved marking maps exactly as preferences.json holds them, written out by hand so no loader or serializer change can regenerate them. Every zone wears the fixture's markings (body_marking_fixture.dm), each of which claims all eight zones, in an order no zone list or marking list sorts into, with glow mixed.
/proc/body_marking_compat_round_tripLoads a saved marking map the way a character load does and writes it back the way a save does.
/datum/unit_test/body_marking_save_round_tripSaved markings load and write back byte for byte; legacy and invalid content is repaired the documented way.
/datum/unit_test/body_marking_unique_per_zoneA zone wears each marking once, whatever adds it.
/datum/unit_test/body_marking_orderZones and the markings on them keep the order they were added in, which the "[zone]_[n]" row ids depend on.
/datum/unit_test/body_marking_copiescopy() owns what it copies, a plain assignment is the same collection, and shallow_copy() shares entries as the nested lists' Copy() shared tuples.