/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/dirt/code/taur.dm

DIRT_POOL_KEYA pool pixel as a key, from its column and row on the taur canvas: a pool's drip can run a few pixels off it.
DIRT_MESS_TAUR_SEEDA fixed seed value, the reference generator's: changing it reshapes every taur splat.
/datum/dirt_taur_sourceA taur body's sprite as mess reads it: each of its layers' states, its colour layers' together, as the taur body draws them on the 64x32 taur canvas. A mess aimed at the back puts pools along the back these pixels show (dirt_taur_pools()). Made once and never changed.
/proc/dirt_taur_stackReturns what a taur canvas shows, lowest first, as the reference stacks a taur under its rider: the taur body's behind and adjacent layers, the rider, then its front layers. You should NEVER modify it.
/proc/dirt_taur_sourceReturns a person's taur body as mess reads it, drawn or hidden (a taur suit hides it), or null without one.
/proc/dirt_taur_ownersReturns what each pixel of the taur canvas shows in one direction: the EXTERNAL_* layer of the taur body drawn last over it, DIRT_TAUR_RIDER where the rider (the body, 16 px in) is drawn over the taur body, or null, as dirt_taur_stack() stacks them.
/proc/dirt_taur_poolsReturns a back shot's pools on a taur body in one direction: dirt_mess_splat_rasterise() on the pixels the taur body shows, keeping clear of the rider's mess there.
/proc/dirt_taur_back_regionReturns the pixels of a taur body mess aimed at its back reaches in one direction: a band 3 px deep under the back line the view shows. None facing south (the band there is the rider's waist, which read as underwear); facing north, the columns whose top lies within 2 px below the back's middle height; in profile, the columns whose top lies within 1 px of it, less the 30% at the far end (a white tuft at the tail) and the 2 beside the rider's waist (the groin).
/proc/dirt_mess_splat_rasteriseReturns mess aimed at a taur body's back in one direction, from the "splat:aimed_back:taur:" and DIRT_MESS_TAUR_SEED streams: broken pools along the back line (dirt_taur_back_region()), ragged underneath, drips of uneven length off them, an opaque core, a highlight per drop and a translucent fringe, all on the taur body's pixels. Level 1 is one drop; levels 2 and 3 two pools, level 3's heavier. A drop or pool that comes beside the rider's mess, or under it where a line would carry on down, is left out whole: a pool beside it read as one straight line across both bodies. Its levels don't nest: each is drawn from the streams on its own.
/proc/dirt_pool_putLays a solid role on a pool pixel, noting it as the drop or pool's own if nothing was laid there before.
/proc/dirt_pool_clearReturns whether a pool's columns keep more than 2 px from every column of the pools kept before it.
/proc/dirt_pool_drawDraws a role on a pool pixel of the taur body, where the role drawn there doesn't outrank it: never off the taur body's pixels.
/proc/dirt_taur_takes_poolsReturns whether a back shot on a person also lands along their taur body's back: they have a taur body of a kind with a back (dirt_read_source(): not Big Legs), it draws now, and the surface the shot lands on isn't a garment drawn over the whole taur canvas (a taur suit), which takes the pools itself (/datum/component/dirtiness/proc/ready_taur_cloth_masks()).
/proc/dirt_taur_blankReturns a 64x32 blank, for masks on the taur canvas. You should NEVER modify it.

Define Details

DIRT_MESS_TAUR_SEED

A fixed seed value, the reference generator's: changing it reshapes every taur splat.

DIRT_POOL_KEY

A pool pixel as a key, from its column and row on the taur canvas: a pool's drip can run a few pixels off it.