code/__DEFINES/chat.dm
Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT | |
CHAT_RELIABILITY_HISTORY_SIZE | How many chat payloads to keep in history |
---|---|
CHAT_RELIABILITY_MAX_RESENDS | How many resends to allow before giving up |
CHAT_MESSAGE_MAX_LENGTH | Max length of chat message in characters |
debug_world | Used for debug messages to the world |
debug_usr | Used for debug messages to the player |
debug_admins | Used for debug messages to the admins |
debug_world_log | Used for debug messages to the server |
examine_block | Adds a generic box around whatever message you're sending in chat. Really makes things stand out. |
fieldset_block | Makes a fieldset with a name in the middle top part. Can apply additional classes |
separator_hr | Makes a horizontal line with text in the middle |
RUNECHAT_BOLD | Emboldens runechat messages |
conditional_tooltip | Helper which creates a chat message which may have a tooltip in some contexts, but not others. |
Define Details
CHAT_MESSAGE_MAX_LENGTH
Max length of chat message in characters
CHAT_RELIABILITY_HISTORY_SIZE
How many chat payloads to keep in history
CHAT_RELIABILITY_MAX_RESENDS
How many resends to allow before giving up
RUNECHAT_BOLD
Emboldens runechat messages
conditional_tooltip
Helper which creates a chat message which may have a tooltip in some contexts, but not others.
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
examine_block
Adds a generic box around whatever message you're sending in chat. Really makes things stand out.
fieldset_block
Makes a fieldset with a name in the middle top part. Can apply additional classes
separator_hr
Makes a horizontal line with text in the middle