Daedalus Dock - Modules - TypesDefine Details

code/__DEFINES/text.dm

FOURSPACESDoes 4 spaces. Used as a makeshift tabulator.
MAPTEXTPrepares a text to be used for maptext. Use this so it doesn't look hideous.
WXH_TO_HEIGHTMacro from Lummox used to get height from a MeasureText proc
SANITIZE_FILENAMERemoves characters incompatible with file names.
STRIP_HTML_SIMPLESimply removes the < and > characters, and limits the length of the message.
ADD_INFO_COLORIndex access defines for paper/var/add_info_style
PAPER_MARK_TEXTAdds a html style to a text string. Hacky, but that's how inputted text appear on paper sheets after going through the UI.
STRING_DIRECTORYFolder directory for strings
BRAIN_DAMAGE_FILEFile location for brain damage traumas
ION_FILEFile location for AI ion laws
PIRATE_NAMES_FILEFile location for pirate names
REDPILL_FILEFile location for redpill questions
ARCADE_FILEFile location for arcade names
BOOMER_FILEFile location for boomer meme catchphrases
LOCATIONS_FILEFile location for locations on the station
WANTED_FILEFile location for wanted posters messages
VISTA_FILEFile location for really dumb suggestions memes
FLESH_SCAR_FILEFile location for flesh wound descriptions
BONE_SCAR_FILEFile location for bone wound descriptions
SCAR_LOC_FILEFile location for scar wound descriptions
EXODRONE_FILEFile location for exodrone descriptions
CLOWN_NONSENSE_FILEFile location for clown honk descriptions
CULT_SHUTTLE_CURSEFile location for cult shuttle curse descriptions
strip_improperStrip 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.