dmdoc: Some cleanups. (#27242)

* dmdoc: Some cleanups.

* satisfy check_grep
This commit is contained in:
warriorstar-orion
2024-11-13 13:37:37 +00:00
committed by GitHub
parent f6a45ae95e
commit bfb18b48e4
24 changed files with 80 additions and 67 deletions
+9 -6
View File
@@ -43,12 +43,15 @@
* to_chat(client, "You have found <strong>[object]</strong>", MESSAGE_TYPE_INFO,
* ```
* Always remember to close spans!
* TARGET: Refers to the target of the to_chat message. Valid targets include clients, mobs, and the static world controller
* HTML: The Message to be sent to the TARGET. Converted to a string if not already one in this function
* TYPE: The chat tab that this message will be sent to, a list of all valid types can be found in chat.dm
* TEXT: Unused
* AVOID_HIGHLIGHTING: Unused
* trailing_newline, confidential, and handle_whitespace currently have no effect, please fix this in the future or remove the arguments to lower cache!
*
* Arguments:
* - target: Refers to the target of the to_chat message. Valid targets include clients, mobs, and the static world controller
* - html: The Message to be sent to the TARGET. Converted to a string if not already one in this function
* - type: The chat tab that this message will be sent to, a list of all valid types can be found in chat.dm
* - text: Unused
* - avoid_highlighting: Unused
*
* `trailing_newline`, `confidential`, and `handle_whitespace` currently have no effect, please fix this in the future or remove the arguments to lower cache!
*/
/proc/to_chat(target, html, type, text, avoid_highlighting, handle_whitespace = TRUE, trailing_newline = TRUE, confidential = FALSE, ticket_id = -1)
if(Master.current_runlevel == RUNLEVEL_INIT || !SSchat?.initialized)