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

paper

Paper is now using markdown (like in github pull notes) for ALL rendering so we do loose a bit of functionality but we gain in easy of use of paper and getting rid of that crashing bug

Vars

form_fieldsWhen the sheet can be "filled out" This is an associated list
infoWhat's actually written on the paper.
riggedOverlay info This REALLY should be a componenet. Basicly used during, april fools to honk at you
stampedPositioning for the stamp in tgui
stampsThe (text for the) stamps on the paper.

Procs

copyThis proc copies this sheet of paper to a new sheet, Makes it nice and easy for carbon and the copyer machine
create_uiThis creates the ui, since we are using a custom state but not much else just makes it easyer to make it. Also we make a custom ui_key as I am not sure how tgui handles many producers?
fire_actNormaly you just stamp, you don't need to read the thing
renameThis might change in a future PR
reset_spamflagONLY USED FOR APRIL FOOLS
setTextThis proc sets the text of the paper and updates the icons. You can modify the pen_color after if need be.
ui_actTODO: show the sheet will bloodied or crinkling?
update_all_uiclose the editing window and change the mode

Var Details

form_fields

When the sheet can be "filled out" This is an associated list

info

What's actually written on the paper.

rigged

Overlay info This REALLY should be a componenet. Basicly used during, april fools to honk at you

stamped

Positioning for the stamp in tgui

stamps

The (text for the) stamps on the paper.

Proc Details

copy

This proc copies this sheet of paper to a new sheet, Makes it nice and easy for carbon and the copyer machine

create_ui

This creates the ui, since we are using a custom state but not much else just makes it easyer to make it. Also we make a custom ui_key as I am not sure how tgui handles many producers?

fire_act

Normaly you just stamp, you don't need to read the thing

rename

This might change in a future PR

reset_spamflag

ONLY USED FOR APRIL FOOLS

setText

This proc sets the text of the paper and updates the icons. You can modify the pen_color after if need be.

ui_act

TODO: show the sheet will bloodied or crinkling?

update_all_ui

close the editing window and change the mode