From a9c59e8b8ddc9d6482b173e804fed6a4d432ea75 Mon Sep 17 00:00:00 2001 From: Kyep Date: Sun, 12 Feb 2017 03:56:18 -0800 Subject: [PATCH] Adds area to admin canister open notices Modifies the "X opened a canister that contains " notice for admins. Add the area the canister was opened in. Reason: someone opening a toxins canister in toxins is not a big deal. Someone opening one in central primary is. With this PR, admins can tell the difference without having to go look at the canister. --- code/game/machinery/atmoalter/canister.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/atmoalter/canister.dm b/code/game/machinery/atmoalter/canister.dm index 65f6fb7b09d..2ffa9301dd7 100644 --- a/code/game/machinery/atmoalter/canister.dm +++ b/code/game/machinery/atmoalter/canister.dm @@ -445,12 +445,12 @@ update_flag else logmsg = "Valve was opened by [usr] ([usr.ckey]), starting the transfer into the air
" if(air_contents.toxins > 0) - message_admins("[key_name_admin(usr)] opened a canister that contains plasma! (JMP)") - log_admin("[key_name(usr)] opened a canister that contains plasma at [x], [y], [z]") + message_admins("[key_name_admin(usr)] opened a canister that contains plasma in [get_area(src)]! (JMP)") + log_admin("[key_name(usr)] opened a canister that contains plasma at [get_area(src)]: [x], [y], [z]") var/datum/gas/sleeping_agent = locate(/datum/gas/sleeping_agent) in air_contents.trace_gases if(sleeping_agent && (sleeping_agent.moles > 1)) - message_admins("[key_name_admin(usr)] opened a canister that contains N2O! (JMP)") - log_admin("[key_name(usr)] opened a canister that contains N2O at [x], [y], [z]") + message_admins("[key_name_admin(usr)] opened a canister that contains N2O in [get_area(src)]! (JMP)") + log_admin("[key_name(usr)] opened a canister that contains N2O at [get_area(src)]: [x], [y], [z]") investigate_log(logmsg, "atmos") release_log += logmsg valve_open = !valve_open