Roundstart pings (#106)

This commit is contained in:
SandPoot
2020-11-21 16:17:17 -03:00
committed by GitHub
parent 8e0739a814
commit 01dc62502a
6 changed files with 14 additions and 5 deletions
@@ -394,8 +394,6 @@
/datum/config_entry/flag/allow_random_events // Enables random events mid-round when set
/datum/config_entry/flag/admin_disk_inactive_msg //Allows admins to globally disable ingame logs for this crap
/datum/config_entry/number/events_min_time_mul // Multipliers for random events minimal starting time and minimal players amounts
config_entry_value = 1
min_val = 0
+3 -1
View File
@@ -335,6 +335,8 @@ SUBSYSTEM_DEF(ticker)
var/list/adm = get_admin_counts()
var/list/allmins = adm["present"]
send2irc("Server", "Round [GLOB.round_id ? "#[GLOB.round_id]:" : "of"] [hide_mode ? "secret":"[mode.name]"] has started[allmins.len ? ".":" with no active admins online!"]")
if(CONFIG_GET(string/new_round_ping))
send2chat("<@[CONFIG_GET(string/new_round_ping)]> | A new round has started on [SSmapping.config.map_name]!", CONFIG_GET(string/chat_announce_new_game))
setup_done = TRUE
for(var/i in GLOB.start_landmarks_list)
@@ -399,7 +401,7 @@ SUBSYSTEM_DEF(ticker)
//skyrat change
if(ishuman(N.new_character))
SSlanguage.AssignLanguage(N.new_character, N.client)
//
//
N.client.prefs.post_copy_to(player)
CHECK_TICK
if(captainless)
+1 -1
View File
@@ -12,7 +12,7 @@ $include plushies/defines.txt
$include job_threats.txt
$include policy.txt
# Special Sandstorm configs
$include sand/config.txt
$include sandstorm/config.txt
# You can use the @ character at the beginning of a config option to lock it from being edited in-game
# Example usage:
@@ -2,4 +2,8 @@
## Lone op inactive disk messaging
## Comment this out to disable that spam that annoys me.
ADMIN_DISK_INACTIVE_MSG
#ADMIN_DISK_INACTIVE_MSG
## Roundstart ping
## Won't do anything if unset
#NEW_ROUND_PING
@@ -0,0 +1,4 @@
/datum/config_entry/flag/admin_disk_inactive_msg //Allows admins to globally disable ingame logs for this crap
/datum/config_entry/string/new_round_ping
config_entry_value = null
+1
View File
@@ -3650,6 +3650,7 @@
#include "sandcode\code\_globalvars\lists\misc.dm"
#include "sandcode\code\_globalvars\lists\objects.dm"
#include "sandcode\code\_onclick\hud\screen_objects.dm"
#include "sandcode\code\controllers\configuration\entries\sandstorm.dm"
#include "sandcode\code\datums\action.dm"
#include "sandcode\code\datums\ai_laws.dm"
#include "sandcode\code\datums\shuttles.dm"