/tg/ Station 13 - Modules - Types

modular_aphelion/modules/dirt/code/component.dm

/datum/component/dirtinessThe mess a person or an item carries, as splats: each a variant of a zone's mess at a level, from masks SSdirt makes. A person's skin splats draw through one /datum/bodypart_overlay/dirt_skin on each limb skin mess draws on, under what they wear, and fade out beside it. Their underclothes' splats are kept with each piece, and draw over it through one /datum/bodypart_overlay/dirt_underclothes on the chest while it's worn and shows. Their parts' splats draw with each part's own front layer, and their taur body's pools with the taur body's own images. A garment's splats draw inset over it while a person wears it, and a taur suit's back splats as pools along the taur body's back too. The parts a surface's mess reaches shape it (dirt_surface_parts()). Washing clears it, as it clears the floor's decals.
/proc/dirt_fresh_variantReturns a variant of a zone's mess none of some splats on that zone has, at random, or any once they have them all.