diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index 5e3452ebea0..dad2d3f6d8c 100755 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -159,7 +159,7 @@ 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, "Welcome to [station_name()]!") - send2chat("<@&656268126253744152> New round starting on [SSmapping.config.map_name]! \nIf you wish to be pinged for game related stuff, go to a text channel and type $assignrole Game-Alert", CONFIG_GET(string/chat_announce_new_game)) // Skyrat EDIT -- role ping + send2chat("<@&[CONFIG_GET(number/game_alert_role_id)]> New round starting on [SSmapping.config.map_name], [CONFIG_GET(string/servername)]! \nIf you wish to be pinged for game related stuff, go to <@%[CONFIG_GET(string/role_assign_channel_id)]> and assign yourself the roles.", CONFIG_GET(string/chat_announce_new_game)) // Skyrat EDIT -- role ping current_state = GAME_STATE_PREGAME //Everyone who wants to be an observer is now spawned create_observers() diff --git a/config/skyrat/skyrat_config.txt b/config/skyrat/skyrat_config.txt index 85965f02329..56203ac51cc 100644 --- a/config/skyrat/skyrat_config.txt +++ b/config/skyrat/skyrat_config.txt @@ -47,3 +47,9 @@ WIKIURLSKYRAT https://skyrat13.tk/wiki/index.php ## Combat indicator, comment out to disable it COMBAT_INDICATOR + +## Role ID for the new game discord ping +GAME_ALERT_ROLE_ID + +## Channel that either has reaction roles or instruction on assigning roles +ROLE_ASSIGN_CHANNEL_ID diff --git a/modular_skyrat/master_files/code/controllers/configuration/entries/skryat_config_entries.dm b/modular_skyrat/master_files/code/controllers/configuration/entries/skryat_config_entries.dm index 8f800a03e71..01abfe3e0d2 100644 --- a/modular_skyrat/master_files/code/controllers/configuration/entries/skryat_config_entries.dm +++ b/modular_skyrat/master_files/code/controllers/configuration/entries/skryat_config_entries.dm @@ -3,3 +3,10 @@ /datum/config_entry/string/wikiurlskyrat config_entry_value = "https://skyrat13.tk/wiki/index.php" + +//DISCORD GAME ALERT CONFIGS +//Role id to ping +/datum/config_entry/number/game_alert_role_id + +//Reaction roles channel +/datum/config_entry/string/role_assign_channel_id