mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Chat markup (#441)
Enables you to use Skype/Discord style mark-up in OOC, LOOC, and IC chat.
This commit is contained in:
@@ -222,6 +222,9 @@ var/list/gamemode_cache = list()
|
||||
var/client_warn_version = 0
|
||||
var/client_warn_message = ""
|
||||
|
||||
//Mark-up enabling
|
||||
var/allow_chat_markup = 0
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
for (var/T in L)
|
||||
@@ -712,6 +715,9 @@ var/list/gamemode_cache = list()
|
||||
if("client_warn_message")
|
||||
config.client_warn_message = value
|
||||
|
||||
if("allow_chat_markup")
|
||||
config.allow_chat_markup = 1
|
||||
|
||||
else
|
||||
log_misc("Unknown setting in configuration: '[name]'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user