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

poster

The structure form of a poster. These are what get placed on maps as posters. They are also what gets created when a player places a poster on a wall. For the item form that can be spawned for players, see /obj/item/poster

Graffiti sprayed over a poster, painted as on a wall, freehand or from the can, but only on the poster's own pixels. It stays on the poster, never in the map's graffiti, so it lasts the round at most: it goes when the poster is ripped or its wall comes down, washes off, and goes along when the poster is taken down with wirecutters, to show again once it is hung.

Vars

blacklisted_typesExclude posters of these types from being added to the random pool
cutdown_typeWhat type should we put back in the rolled poster when we get cut down
graffitiThe graffiti sprayed over the poster this round, its pieces merged into one: list("art", "decoded" = graffiti_art_decode(), "key" = graffiti_art_hash(), "glow" = graffiti_art_glow_kind()), or list("art", "decoded", "rolled" = TRUE) while a rolled-up poster carries it to be hung. Null without any.
graffiti_baseThe graffiti as it was when graffiti_painter began, which its paint goes over: list(art, decoded, key), or null.
graffiti_painterThe freehand session or paint job painting the poster: one at a time.
printableWhether the poster should be printable from library management computer.

Procs

add_contextAdds contextual screentips
apply_holidayallows for posters to become festive posters during holidays
check_tearabilityCheck to see if this poster is tearable and gives the user feedback if it is not.
graffiti_beginLets a freehand session or paint job paint over the poster, over the graffiti it shows now.
graffiti_endEnds a painter's work on the poster.
graffiti_hangShows the graffiti a rolled-up poster carried on the pixels the poster shows now, which a festive poster rolled up plain may have changed.
graffiti_paintShows a painter's piece merged over the graffiti beneath it.
graffiti_showShows an art as the poster's graffiti, or takes the graffiti off.
on_placed_posterAlso shows the graffiti a rolled-up poster carried, now that it hangs.
return_to_poster_itemRe-creates the poster item from the poster structure
roll_and_dropAlso takes the poster's finished graffiti along in the rolled-up poster, to show again once it is hung. A piece still being painted stays behind: its painter's work there ends.
update_overlaysAlso draws the graffiti from the icon every poster and wall showing that art shares, with its glow.
washAlso washes the graffiti off, as cleaning takes it off a wall. A piece being painted goes with it, which ends its painter's work there.

Var Details

blacklisted_types

Exclude posters of these types from being added to the random pool

cutdown_type

What type should we put back in the rolled poster when we get cut down

graffiti

The graffiti sprayed over the poster this round, its pieces merged into one: list("art", "decoded" = graffiti_art_decode(), "key" = graffiti_art_hash(), "glow" = graffiti_art_glow_kind()), or list("art", "decoded", "rolled" = TRUE) while a rolled-up poster carries it to be hung. Null without any.

graffiti_base

The graffiti as it was when graffiti_painter began, which its paint goes over: list(art, decoded, key), or null.

graffiti_painter

The freehand session or paint job painting the poster: one at a time.

printable

Whether the poster should be printable from library management computer.

Proc Details

add_context

Adds contextual screentips

apply_holiday

allows for posters to become festive posters during holidays

check_tearability

Check to see if this poster is tearable and gives the user feedback if it is not.

graffiti_begin

Lets a freehand session or paint job paint over the poster, over the graffiti it shows now.

Arguments:

graffiti_end

Ends a painter's work on the poster.

Arguments:

graffiti_hang

Shows the graffiti a rolled-up poster carried on the pixels the poster shows now, which a festive poster rolled up plain may have changed.

graffiti_paint

Shows a painter's piece merged over the graffiti beneath it.

Arguments:

Returns:

graffiti_show

Shows an art as the poster's graffiti, or takes the graffiti off.

Arguments:

on_placed_poster

Also shows the graffiti a rolled-up poster carried, now that it hangs.

return_to_poster_item

Re-creates the poster item from the poster structure

roll_and_drop

Also takes the poster's finished graffiti along in the rolled-up poster, to show again once it is hung. A piece still being painted stays behind: its painter's work there ends.

Arguments:

Returns:

update_overlays

Also draws the graffiti from the icon every poster and wall showing that art shares, with its glow.

Returns:

wash

Also washes the graffiti off, as cleaning takes it off a wall. A piece being painted goes with it, which ends its painter's work there.

Arguments:

Returns: