/tg/ Station 13 - Modules - TypesVar 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

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
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.
return_to_poster_itemRe-creates the poster item from the poster structure

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

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.

return_to_poster_item

Re-creates the poster item from the poster structure