Shiptest 13 - Modules - TypesDefine Details

code/__DEFINES/paper.dm

MAX_PAPER_LENGTHMaximimum number of characters that we allow on paper.
MAX_PAPER_STAMPSMax number of stamps that can be applied to the paper in tgui.
MAX_PAPER_STAMPS_OVERLAYSMax number of stamp overlays that we'll add to a piece of paper's icon.
MAX_PAPER_INPUT_FIELD_LENGTHMaximum length of input fields. Input fields greater than this length are clamped tgui-side. Input field text input greater than this length is rejected tgui-side, discarded + logged if it reaches DM-side.
MODE_READINGShould not be able to write on or stamp paper.
MODE_WRITINGShould be able to write on paper.
MODE_STAMPINGShould be able to stamp paper.

Define Details

MAX_PAPER_INPUT_FIELD_LENGTH

Maximum length of input fields. Input fields greater than this length are clamped tgui-side. Input field text input greater than this length is rejected tgui-side, discarded + logged if it reaches DM-side.

MAX_PAPER_LENGTH

Maximimum number of characters that we allow on paper.

MAX_PAPER_STAMPS

Max number of stamps that can be applied to the paper in tgui.

MAX_PAPER_STAMPS_OVERLAYS

Max number of stamp overlays that we'll add to a piece of paper's icon.

MODE_READING

Should not be able to write on or stamp paper.

MODE_STAMPING

Should be able to stamp paper.

MODE_WRITING

Should be able to write on paper.