code/__DEFINES/paper.dm
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. |
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. |
MODE_READING | Should not be able to write on or stamp paper. |
MODE_WRITING | Should be able to write on paper. |
MODE_STAMPING | Should be able to stamp paper. |
LIST_PAPER_COLOR | key defines used when converting a paper to and fro' a data/json list. It's really important that they stay the same lest we break persistence. |
Define Details
LIST_PAPER_COLOR
key defines used when converting a paper to and fro' a data/json list. It's really important that they stay the same lest we break persistence.
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.