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

modular_aphelion/modules/graffiti/code/placement.dm

GRAFFITI_REVEAL_BASETime a paint job takes before GRAFFITI_REVEAL_PER_PIXEL is added for each painted pixel.
GRAFFITI_REVEAL_PER_PIXELTime a paint job adds per painted pixel, in deciseconds.
GRAFFITI_REVEAL_MIN_STEPShortest time between two paint job steps.
/proc/graffiti_reveal_unitsReturns how a paint job reveals a piece: in strips GRAFFITI_REVEAL_STRIP pixels wide, left to right across each layer in turn, from the bottom layer up.
/proc/graffiti_reveal_boundsReturns how much of a piece shows once a paint job has revealed some of its strips, as graffiti_flatten() takes it.
/proc/graffiti_resume_placementsReturns the placements a stopped paint job or freehand session left on a surface, to resume them there: those with its placement id on the tile and, for a two-tile piece, on the tile to its right. They resume only on the same map and the same tile, and only while every tile that showed paint still shows it.
/proc/graffiti_resume_tileReturns the tile a stopped paint job or freehand session left its paint on, the only one it resumes on: the left tile of the placements with its placement id that still show on this map.
/proc/graffiti_resume_anchorReturns the anchor a stopped piece resumes on: its left tile's, with the kind of surface its paint went on, which a window fastened over floor paint since doesn't change.
/proc/graffiti_release_mergesLets the decals of a piece's tiles go of their merges once its painter stops painting there (release_merges()).
/proc/graffiti_drop_loose_paintDrops for good the paint a stopping piece has placed, both halves of a two-tile one, when a tile of it offers no surface now, as a pane loosened under it leaves one: a loose pane drops the piece in progress whole. Graffiti finished there stays.
/datum/graffiti_paint_jobA spray can painting a saved piece onto a wall, a floor or a full-tile window over time: a do_after while each layer appears in turn from the bottom, left to right in strips, the surface recomposited at each step. The can is charged once, as the piece's paint first shows. Stopping leaves the paint revealed so far, and puts the piece in the painter's Unfinished slot, ready to resume on that surface, unless a pane loosened under it, which drops the piece's paint whole.

Define Details

GRAFFITI_REVEAL_BASE

Time a paint job takes before GRAFFITI_REVEAL_PER_PIXEL is added for each painted pixel.

GRAFFITI_REVEAL_MIN_STEP

Shortest time between two paint job steps.

GRAFFITI_REVEAL_PER_PIXEL

Time a paint job adds per painted pixel, in deciseconds.