/tg/ Station 13 - Modules - Types

modular_aphelion/modules/dirt/code/skin.dm

/datum/bodypart_overlay/dirt_skinA limb's skin mess: one container image at DIRT_SKIN_LAYER holding the limb's baked image, so a limb adds one overlay to its person whatever the splats. It lies under the underclothes, the genitals and everything worn. The masks are its carrier's, clipped to the pixels the limb shows, fading out beside what's worn over them.
/datum/bodypart_overlay/dirt_underclothesA person's mess on their underclothes: one container image on the chest at DIRT_UNDERCLOTHES_LAYER, over the underclothes and under the uniform, holding the baked image of each piece worn and shown, already kept to the pixels it shows.
/proc/dirt_skin_zonesReturns the body zones of the limbs skin mess draws on: the head, the chest and the legs, where aimed mess lands. You should NEVER modify it.
/proc/dirt_skin_besidesReturns the body zones whose sprites a limb skin mess draws on checks besides its own (ready_skin_masks()): for the chest the arms, which bring their hands and which no limb skin mess draws on draws (the chest checks the eyes too); for the rest none. You should NEVER modify it.
/proc/dirt_eye_readsReturns what a body's eyes and its human head are drawn from as dirt_zone_sources_match() reads them against zone sources: list(the head, its limb_id, whether it draws eyes, the eyes, their sheet, their state).
/proc/dirt_eyes_unchangedReturns whether a body's eyes and its human head are drawn from what they were when dirt_eye_reads() read them, read as it reads them without making a list.
/proc/dirt_mess_baked_imageReturns an image of a surface's baked mess, drawn as it is: its colours and alpha are in its pixels (dirt_baked_icon()).