mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user