From 2b9f48c74f9cc34c419f67d1ae18f5fe63a70325 Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 14 Jan 2020 22:52:23 +0200 Subject: [PATCH] Adds sound alert for paranoia logging criminal detected --- code/modules/client/client procs.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 7321e96a238..90f8532ded9 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -168,10 +168,19 @@ hook_vr("client_new",list(src)) //VOREStation Code if(config.paranoia_logging) + var/alert = FALSE //VOREStation Edit start. if(isnum(player_age) && player_age == 0) log_and_message_admins("PARANOIA: [key_name(src)] has connected here for the first time.") + alert = TRUE if(isnum(account_age) && account_age <= 2) log_and_message_admins("PARANOIA: [key_name(src)] has a very new BYOND account ([account_age] days).") + alert = TRUE + if(alert) + for(var/client/X in admins) + if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping)) + X << 'sound/voice/bcriminal.ogg' + window_flash(X) + //VOREStation Edit end. ////////////// //DISCONNECT//