From 4c4293d2221514108de981f9992a3f1ea9a4f1a0 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Mon, 27 May 2024 19:05:11 +0100 Subject: [PATCH] logging --- code/game/machinery/ARES/ARES_interface.dm | 1 + code/game/machinery/ARES/ARES_interface_admin.dm | 1 + code/game/machinery/ARES/ARES_interface_apollo.dm | 1 + code/game/machinery/ARES/apollo_pda.dm | 1 + code/game/machinery/ARES/debug_pda.dm | 1 + 5 files changed, 5 insertions(+) diff --git a/code/game/machinery/ARES/ARES_interface.dm b/code/game/machinery/ARES/ARES_interface.dm index b7a2333f36db..85cc543add84 100644 --- a/code/game/machinery/ARES/ARES_interface.dm +++ b/code/game/machinery/ARES/ARES_interface.dm @@ -562,6 +562,7 @@ return FALSE link.change_iff(new_iff) playsound(src, 'sound/machines/chime.ogg', 15, 1) + message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].") to_chat(user, SPAN_WARNING("Sentry IFF settings updated!")) return TRUE diff --git a/code/game/machinery/ARES/ARES_interface_admin.dm b/code/game/machinery/ARES/ARES_interface_admin.dm index 0756c8b01db9..d97798f1d086 100644 --- a/code/game/machinery/ARES/ARES_interface_admin.dm +++ b/code/game/machinery/ARES/ARES_interface_admin.dm @@ -534,5 +534,6 @@ if(new_iff == faction_label) return FALSE change_iff(new_iff) + message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].") to_chat(user, SPAN_WARNING("Sentry IFF settings updated!")) return TRUE diff --git a/code/game/machinery/ARES/ARES_interface_apollo.dm b/code/game/machinery/ARES/ARES_interface_apollo.dm index fe0f26880a16..27f6f0f231fd 100644 --- a/code/game/machinery/ARES/ARES_interface_apollo.dm +++ b/code/game/machinery/ARES/ARES_interface_apollo.dm @@ -457,6 +457,7 @@ return FALSE link.change_iff(new_iff) playsound(src, 'sound/machines/chime.ogg', 15, 1) + message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].") to_chat(user, SPAN_WARNING("Sentry IFF settings updated!")) return TRUE diff --git a/code/game/machinery/ARES/apollo_pda.dm b/code/game/machinery/ARES/apollo_pda.dm index cd5de02a1ddb..79520e39c682 100644 --- a/code/game/machinery/ARES/apollo_pda.dm +++ b/code/game/machinery/ARES/apollo_pda.dm @@ -482,6 +482,7 @@ if(new_iff == link.faction_label) return FALSE link.change_iff(new_iff) + message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].") playsound(src, 'sound/machines/chime.ogg', 15, 1) to_chat(user, SPAN_WARNING("Sentry IFF settings updated!")) return TRUE diff --git a/code/game/machinery/ARES/debug_pda.dm b/code/game/machinery/ARES/debug_pda.dm index 72f52c412909..2577acddc56b 100644 --- a/code/game/machinery/ARES/debug_pda.dm +++ b/code/game/machinery/ARES/debug_pda.dm @@ -748,6 +748,7 @@ return FALSE link.change_iff(new_iff) playsound(src, 'sound/machines/chime.ogg', 15, 1) + message_admins("ARES: [key_name(user)] updated ARES Sentry IFF to [new_iff].") to_chat(user, SPAN_WARNING("Sentry IFF settings updated!")) return TRUE