Prefix TGS broadcasts with SYSTEM MESSAGE: (#94643)

I'm probably the only one who uses this thing.
This commit is contained in:
Jordan Dominion
2025-12-30 21:58:49 +01:00
committed by GitHub
parent 109bf0aa97
commit 79bc7ebd36
+1 -1
View File
@@ -2,7 +2,7 @@
#define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) GLOBAL_VAR_INIT(##Name, ##Value); GLOBAL_PROTECT(##Name)
#define TGS_READ_GLOBAL(Name) GLOB.##Name
#define TGS_WRITE_GLOBAL(Name, Value) GLOB.##Name = ##Value
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, span_boldannounce("[html_encode(##message)]"))
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, span_boldannounce("SYSTEM MESSAGE: [html_encode(##message)]"))
#define TGS_INFO_LOG(message) log_world("TGS Info: [##message]")
#define TGS_WARNING_LOG(message) log_world("TGS Warn: [##message]")
#define TGS_ERROR_LOG(message) stack_trace("TGS Error: [##message]")