/tg/ Station 13 - Modules - Types — Var Details - Proc Details

poster

The 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.

Vars

paintedWhether the poster shows the piece's paint, as the last composite left it.
posterThe poster painted.

Procs

NewOpens a freehand session on a poster.
editor_actA poster takes one tile, so the width never changes.
end_surfaceEnds the session on the poster: a kept piece stays there (leave_surface()), and none resumes there.
leave_surfaceLeaves the piece over the poster as the session ends, composited one last time, as on a wall: with paint left, the can is charged once, the poster is marked as the painter's work and the painter given the graffiti achievement. A piece that paints nothing leaves the poster as it was.
place_artShows the piece over the poster's graffiti.
poster_goneLets go of the poster as it is deleted, as ripping or rolling it up does: the session ends at its next check.
surface_problemReturns why the poster can't take the session's paint any more.
tile_backgroundReturns the poster as it shows beneath the session's piece, its graffiti over it, which the window draws under the canvas.
ui_dataAlso says the paint lasts the round at most, on one tile.

Var Details

painted

Whether the poster shows the piece's paint, as the last composite left it.

poster

The poster painted.

Proc Details

New

Opens a freehand session on a poster.

Arguments:

editor_act

A poster takes one tile, so the width never changes.

end_surface

Ends the session on the poster: a kept piece stays there (leave_surface()), and none resumes there.

Arguments:

Returns:

leave_surface

Leaves the piece over the poster as the session ends, composited one last time, as on a wall: with paint left, the can is charged once, the poster is marked as the painter's work and the painter given the graffiti achievement. A piece that paints nothing leaves the poster as it was.

Arguments:

Returns:

place_art

Shows the piece over the poster's graffiti.

poster_gone

Lets go of the poster as it is deleted, as ripping or rolling it up does: the session ends at its next check.

surface_problem

Returns why the poster can't take the session's paint any more.

Returns:

tile_background

Returns the poster as it shows beneath the session's piece, its graffiti over it, which the window draws under the canvas.

Arguments:

Returns:

ui_data

Also says the paint lasts the round at most, on one tile.