mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-04 19:01:17 +01:00
94bb4b9658
* adds new defines * multiline to be safe * MORE!!! * why wasn't the 450 field multiline
15 lines
878 B
Plaintext
15 lines
878 B
Plaintext
// Don't set this very much higher then 1024 unless you like inviting people in to dos your server with message spam
|
|
#define MAX_MESSAGE_LEN 1024
|
|
#define MAX_PAPER_MESSAGE_LEN 3072
|
|
#define MAX_PAPER_FIELDS 50
|
|
/// Max Characters that can be on a single book page, this will give players an average of 5000 words worth of writing space (1000 per page)
|
|
#define MAX_CHARACTERS_PER_BOOKPAGE 5000
|
|
#define MAX_SUMMARY_LEN 1500
|
|
#define MAX_NAME_LEN 50 // diona names can get loooooooong
|
|
#define MAX_TWEAKNAME_LEN 50 // geartweaks item name; separated if this ever needs changing on its own
|
|
#define MAX_TWEAKDESC_LEN 450 // geartweaks item description
|
|
#define MAX_FLAVORTEXT_PRINT 400 // Amount of flavor text characters to print before cutting off.
|
|
|
|
/// Removes characters incompatible with file names.
|
|
#define SANITIZE_FILENAME(text) (GLOB.filename_forbidden_chars.Replace(text, ""))
|