Files
Bubberstation/code/__DEFINES/paper.dm
SkyratBot b1bd40e760 [MIRROR] [MDB Ignore][Bounty][Complete Refactor] Papercode Redux: Too Many Damn Files <Map Conflict Edition> [MDB IGNORE] (#15362)
* [MDB Ignore][Bounty][Complete Refactor] Papercode Redux: Too Many Damn Files <Map Conflict Edition>

* Fixes merge conflicts and compilation errors, alongside fixing the joker card to make it fully functional again

* Fixed a bunch of info variables in map files

* Alright this is why I wanted this merged yesterday

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-04 15:50:15 +01:00

16 lines
751 B
Plaintext

/// Maximimum number of characters that we allow on paper.
#define MAX_PAPER_LENGTH 5000
/// Max number of stamps that can be applied to the paper in tgui.
#define MAX_PAPER_STAMPS 30
/// Max number of stamp overlays that we'll add to a piece of paper's icon.
#define MAX_PAPER_STAMPS_OVERLAYS 4
/// 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.
#define MAX_PAPER_INPUT_FIELD_LENGTH MAX_NAME_LEN
/// Should not be able to write on or stamp paper.
#define MODE_READING 0
/// Should be able to write on paper.
#define MODE_WRITING 1
/// Should be able to stamp paper.
#define MODE_STAMPING 2