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

modular_aphelion/modules/dirt/code/mess.dm

DIRT_AIM_MIRROR_PXA stomach streak may not start this near the mirror of another's: the pair read as a bra or a U.
DIRT_AIM_DROP_PXStomach drops keep this far apart: nearer, they lined up into a band.
DIRT_AIM_BEADS_LEVELThe level a shot's streaks break into beads at, with skin between them.
DIRT_AIM_RUN_PITCHHow far round its limb a shot that hangs a run lands from every other: nearer, the runs filled into a sheet.
DIRT_AIM_RUN_PXA hung run's length in pixels, spread 0.55 to 1.45 times by its drip draw so no two end level.
DIRT_AIM_COVER_DRAWSThe top level's draws, made after every other.
/datum/dirt_aimA mess aimed at a zone: one deposit's random draws, made once, and the features each level draws from them, as the reference generator's aimed cause draws them.
/proc/dirt_aim_zonesReturns each aim zone's areas, where its shots land: list(zone = list(list(limb, lowest theta, highest theta, lowest h, highest h), ...)). You should NEVER modify it.
/proc/dirt_aim_boundsReturns how far past its zone's heights a streak may end, for the zones whose streaks stay in them: list(zone = h). Off target they read as a U, bars or socks. You should NEVER modify it.
/proc/dirt_aim_insideReturns a streak's end pulled back along the streak until its height lies between two bounds: list(theta, h). The streak keeps its own taper.
/proc/dirt_aim_insetReturns how many pixels a clamped streak end's or a capped drip's bound moves in: odd on one side of a pair, 0 or 2 on the other, so the sides keep to different rows. It stays under the room the streak or drip starts with inside its bound, so a streak never shrinks to nothing and a drip never runs up. Without the room an odd one moves 1 px out where that's allowed (the knee); elsewhere it stays on the bound.
/proc/dirt_mess_role_tintsReturns the mess's tints, indexed by DIRT_ROLE_* define, each list(colour, alpha from 0 to 1), as dirt_baked_icon() takes them. Pearl white, translucent where thin and near opaque where thick, a light grey underside that sets drops apart on pale skin, and a white highlight. Haze is the film's colour at half its alpha, drawn as film at half coverage. You should NEVER modify it.

Define Details

DIRT_AIM_BEADS_LEVEL

The level a shot's streaks break into beads at, with skin between them.

DIRT_AIM_COVER_DRAWS

The top level's draws, made after every other.

DIRT_AIM_DROP_PX

Stomach drops keep this far apart: nearer, they lined up into a band.

DIRT_AIM_MIRROR_PX

A stomach streak may not start this near the mirror of another's: the pair read as a bra or a U.

DIRT_AIM_RUN_PITCH

How far round its limb a shot that hangs a run lands from every other: nearer, the runs filled into a sheet.

DIRT_AIM_RUN_PX

A hung run's length in pixels, spread 0.55 to 1.45 times by its drip draw so no two end level.