From e23bb88e8605bdece12e36b3bfcde2a4725c13ad Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Sat, 26 Feb 2022 11:36:11 -0500 Subject: [PATCH] Adds a system message topic for better integration with tooling --- code/datums/world_topic.dm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index 11f314b02b2e..fcdb84876634 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -261,4 +261,11 @@ // Shuttle status, see /__DEFINES/stat.dm .["shuttle_timer"] = SSshuttle.emergency.timeLeft() // Shuttle timer, in seconds - + +/datum/world_topic/systemmsg + keyword = "systemmsg" + require_comms_key = TRUE + +/datum/world_topic/systemmsg/Run(list/input) + to_chat(world, span_boldannounce(input["message"])) +