/tg/ Station 13 - Modules - TypesVar Details - Proc Details

Paperwork

Paperwork documents that can be stamped by their associated stamp to provide a bonus to cargo.

Paperwork documents are a cargo item meant to provide the opportunity to make money. Each piece of paperwork has its own associated stamp it needs to be stamped with. Selling a properly stamped piece of paperwork will provide a cash bonus to the cargo budget. If a document is not properly stamped it will instead drain a small stipend from the cargo budget.

Vars

detailed_descUsed to store the bonus text that displays when the paperwork's associated role reads it
stamp_iconThe specific stamp icon to be overlaid on the paperwork
stamp_jobThe path to the job of the associated paperwork form
stamp_overlayThe stamp overlay, used to show that the paperwork is complete without making a bunch of sprites
stamp_requestedThe stamp needed to "complete" this form.
stampedHas the paperwork been properly stamped

Procs

add_stampAdds the stamp overlay and sets "stamped" to true
copy_stamp_infoCopies the requested stamp, associated job, and associated icon of a given paperwork type

Var Details

detailed_desc

Used to store the bonus text that displays when the paperwork's associated role reads it

stamp_icon

The specific stamp icon to be overlaid on the paperwork

stamp_job

The path to the job of the associated paperwork form

stamp_overlay

The stamp overlay, used to show that the paperwork is complete without making a bunch of sprites

stamp_requested

The stamp needed to "complete" this form.

stamped

Has the paperwork been properly stamped

Proc Details

add_stamp

Adds the stamp overlay and sets "stamped" to true

Adds the stamp overlay to a piece of paperwork, and sets "stamped" to true. Handled as a proc so that an object may be maked as "stamped" even when a stamp isn't present (like the photocopier)

copy_stamp_info

Copies the requested stamp, associated job, and associated icon of a given paperwork type

Copies the stamp/job related info of a given paperwork type to the object Used to mutate photocopied/ancient paperwork into behaving like their subtype counterparts without the extra details