[MISSED MIRROR] Adds a config-optional endgame chat message (#72860) [MDB IGNORE] (#20108)

Adds a config-optional endgame chat message (#72860)

This basically does what we do for roundstart announcements, but for
round end.

With a delay between a round ending, the server rebooting, and a new
round starting, sometimes it feels like players would be more likely to
catch a roundstart when they know the previous game has just ended, and
not a few moments before the next one starts.

This idea was suggested to me several times by many people who don't
have good connections to servers and keep missing roundstart because
they just aren't given enough time to get on SS13.

I also included Round ID in this, so people who know what time they've
played a round can also now easily see which round it was, if they
wanted to go back to look at the logs for any reason they have.

🆑
config: There's now a config-optional announcer for a round ending.
/🆑

---------

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
GoldenAlpharex
2023-03-27 05:36:07 +01:00
committed by GitHub
co-authored by John Willard Mothblocks
parent 3cfd28d6e7
commit 3d1a7ecff0
5 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
help_text = "Pings the invoker when the round ends"
/datum/tgs_chat_command/notify/Run(datum/tgs_chat_user/sender, params)
if(!CONFIG_GET(string/chat_announce_new_game))
if(!CONFIG_GET(string/channel_announce_new_game))
return "Notifcations are currently disabled"
for(var/member in SSdiscord.notify_members) // If they are in the list, take them out