New functionality for round announcements (#18843)

* New functionality for round announcements

* Added missing send2chat

* Update game start announcement message format
This commit is contained in:
Selis
2026-01-05 10:18:10 +01:00
committed by GitHub
parent 9135e2253b
commit 201daed90a
5 changed files with 105 additions and 4 deletions
@@ -824,6 +824,16 @@
/datum/config_entry/flag/discord_ahelps_all
default = FALSE
/datum/config_entry/str_list/channel_announce_new_game
/datum/config_entry/str_list/channel_announce_end_game
/datum/config_entry/str_list/chat_new_game_notifications
/// validate ownership of admin flags for chat commands
/datum/config_entry/flag/secure_chat_commands
default = FALSE
/datum/config_entry/number/mc_tick_rate/base_mc_tick_rate
integer = FALSE
default = 1
+2 -2
View File
@@ -100,8 +100,8 @@ SUBSYSTEM_DEF(ticker)
for(var/client/C in GLOB.clients)
window_flash(C, ignorepref = TRUE) //let them know lobby has opened up.
to_chat(world, span_boldnotice("Welcome to [station_name()]!"))
//for(var/channel_tag in CONFIG_GET(str_list/channel_announce_new_game))
// send2chat(new /datum/tgs_message_content("New round starting on [SSmapping.current_map.map_name]!"), channel_tag)
for(var/channel_tag in CONFIG_GET(str_list/channel_announce_new_game))
send2chat(new /datum/tgs_message_content("New round starting on [using_map.full_name] ([using_map.name])!"), channel_tag)
current_state = GAME_STATE_PREGAME
SEND_SIGNAL(src, COMSIG_TICKER_ENTER_PREGAME)