mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-27 17:33:05 +00:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
18 lines
494 B
Plaintext
18 lines
494 B
Plaintext
/**
|
|
* Message-related procs
|
|
*
|
|
* Message format (/list):
|
|
* - type - Message type, must be one of defines in `code/__DEFINES/chat.dm`
|
|
* - text - Plain message text
|
|
* - html - HTML message text
|
|
* - Optional metadata, can be any key/value pair.
|
|
*
|
|
* Copyright (c) 2020 Aleksej Komarov
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/proc/message_to_html(message)
|
|
// Here it is possible to add a switch statement
|
|
// to custom-handle various message types.
|
|
return message["html"] || message["text"]
|