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

modular_aphelion/modules/graffiti/code/poster.dm

GRAFFITI_POSTER_LOOKSMost poster looks graffiti_poster_look() keeps: a look holds its poster as an art, about 10 KB decoded, and the posters painted in a round share a few dozen icon states.
/proc/graffiti_poster_lookReturns what a poster offers graffiti, read from its icon pixel by pixel: the pixels it shows, which alone take paint, and the poster itself as an art, for the editor's window to draw beneath the canvas. Kept for each icon and state; a poster drawn at runtime, as a wanted poster is, is read each time.
/proc/graffiti_clip_recordReturns a decoded art or layer with paint left only where a poster takes it.
/datum/custom_sprite_editor/graffiti/posterThe graffiti editor on a poster: a freehand session whose canvas takes paint only on the poster's own pixels, as the hair and markings editors keep paint to the body, with the poster and its graffiti beneath the canvas. The piece goes on the poster rather than in the map's graffiti, one tile wide, and resumes nowhere: an unsaved piece is kept as a plain draft.
/datum/graffiti_paint_job/posterA paint job spraying a saved piece over a poster: its paint lands only on the poster's own pixels, over the poster's graffiti, and a stopped piece resumes nowhere.

Define Details

GRAFFITI_POSTER_LOOKS

Most poster looks graffiti_poster_look() keeps: a look holds its poster as an art, about 10 KB decoded, and the posters painted in a round share a few dozen icon states.