code/__DEFINES/text.dm
FOURSPACES | Does 4 spaces. Used as a makeshift tabulator. |
---|---|
MAPTEXT | Prepares a text to be used for maptext. Use this so it doesn't look hideous. |
WXH_TO_HEIGHT | Macro from Lummox used to get height from a MeasureText proc |
SANITIZE_FILENAME | Removes characters incompatible with file names. |
STRIP_HTML_SIMPLE | Simply removes the < and > characters, and limits the length of the message. |
ADD_INFO_COLOR | Index access defines for paper/var/add_info_style |
PAPER_MARK_TEXT | Adds a html style to a text string. Hacky, but that's how inputted text appear on paper sheets after going through the UI. |
STRING_DIRECTORY | Folder directory for strings |
BRAIN_DAMAGE_FILE | File location for brain damage traumas |
ION_FILE | File location for AI ion laws |
PIRATE_NAMES_FILE | File location for pirate names |
REDPILL_FILE | File location for redpill questions |
ARCADE_FILE | File location for arcade names |
BOOMER_FILE | File location for boomer meme catchphrases |
LOCATIONS_FILE | File location for locations on the station |
WANTED_FILE | File location for wanted posters messages |
VISTA_FILE | File location for really dumb suggestions memes |
FLESH_SCAR_FILE | File location for flesh wound descriptions |
BONE_SCAR_FILE | File location for bone wound descriptions |
SCAR_LOC_FILE | File location for scar wound descriptions |
EXODRONE_FILE | File location for exodrone descriptions |
CLOWN_NONSENSE_FILE | File location for clown honk descriptions |
CULT_SHUTTLE_CURSE | File location for cult shuttle curse descriptions |
strip_improper | Strip out the special beyond characters for \proper and \improper from text that will be sent to the browser. |
Define Details
ADD_INFO_COLOR
Index access defines for paper/var/add_info_style
ARCADE_FILE
File location for arcade names
BONE_SCAR_FILE
File location for bone wound descriptions
BOOMER_FILE
File location for boomer meme catchphrases
BRAIN_DAMAGE_FILE
File location for brain damage traumas
CLOWN_NONSENSE_FILE
File location for clown honk descriptions
CULT_SHUTTLE_CURSE
File location for cult shuttle curse descriptions
EXODRONE_FILE
File location for exodrone descriptions
FLESH_SCAR_FILE
File location for flesh wound descriptions
FOURSPACES
Does 4 spaces. Used as a makeshift tabulator.
ION_FILE
File location for AI ion laws
LOCATIONS_FILE
File location for locations on the station
MAPTEXT
Prepares a text to be used for maptext. Use this so it doesn't look hideous.
PAPER_MARK_TEXT
Adds a html style to a text string. Hacky, but that's how inputted text appear on paper sheets after going through the UI.
PIRATE_NAMES_FILE
File location for pirate names
REDPILL_FILE
File location for redpill questions
SANITIZE_FILENAME
Removes characters incompatible with file names.
SCAR_LOC_FILE
File location for scar wound descriptions
STRING_DIRECTORY
Folder directory for strings
STRIP_HTML_SIMPLE
Simply removes the < and > characters, and limits the length of the message.
VISTA_FILE
File location for really dumb suggestions memes
WANTED_FILE
File location for wanted posters messages
WXH_TO_HEIGHT
Macro from Lummox used to get height from a MeasureText proc
strip_improper
Strip out the special beyond characters for \proper and \improper from text that will be sent to the browser.