SS1984 - Modules - TypesDefine Details

code/__DEFINES/chat.dm

CHAT_RELIABILITY_HISTORY_SIZEHow many chat payloads to keep in history
CHAT_RELIABILITY_MAX_RESENDSHow many resends to allow before giving up
debug_worldUsed for debug messages to the world
debug_usrUsed for debug messages to the player
debug_adminsUsed for debug messages to the admins
debug_world_logUsed for debug messages to the server
boxed_messageAdds a generic box around whatever message you're sending in chat. Really makes things stand out.
custom_boxed_messageAdds a box around whatever message you're sending in chat. Can apply color and/or additional classes. Available colors: red, green, blue, purple. Use it like red_box
fieldset_blockMakes a fieldset with a neaty styled name. Can apply additional classes.
separator_hrMakes a horizontal line with text in the middle
RUNECHAT_BOLDEmboldens runechat messages
conditional_tooltipHelper which creates a chat message which may have a tooltip in some contexts, but not others.
UNKNOWN_NAME_RUSReplaces name of someone if we shouldn't know that
UNKNOWN_STATUS_RUSReplaces something (job, sec status, disease' name, etc) if we shouldn't know that
NOJOB_STATUS_RUSReplaces job's name of someone if they don't have one
OOC_COOLDOWNThe cooldown on OOC messages such as OOC, LOOC, praying and adminhelps
EXAMINE_HINTHandles text formatting for item use hints in examine text

Define Details

CHAT_RELIABILITY_HISTORY_SIZE

How many chat payloads to keep in history

CHAT_RELIABILITY_MAX_RESENDS

How many resends to allow before giving up

EXAMINE_HINT

Handles text formatting for item use hints in examine text

NOJOB_STATUS_RUS

Replaces job's name of someone if they don't have one

OOC_COOLDOWN

The cooldown on OOC messages such as OOC, LOOC, praying and adminhelps

RUNECHAT_BOLD

Emboldens runechat messages

UNKNOWN_NAME_RUS

Replaces name of someone if we shouldn't know that

UNKNOWN_STATUS_RUS

Replaces something (job, sec status, disease' name, etc) if we shouldn't know that

boxed_message

Adds a generic box around whatever message you're sending in chat. Really makes things stand out.

conditional_tooltip

Helper which creates a chat message which may have a tooltip in some contexts, but not others.

custom_boxed_message

Adds a box around whatever message you're sending in chat. Can apply color and/or additional classes. Available colors: red, green, blue, purple. Use it like red_box

debug_admins

Used for debug messages to the admins

debug_usr

Used for debug messages to the player

debug_world

Used for debug messages to the world

debug_world_log

Used for debug messages to the server

fieldset_block

Makes a fieldset with a neaty styled name. Can apply additional classes.

separator_hr

Makes a horizontal line with text in the middle