From c699bae573c445ae0fb254c2e11d1eb2c4e47b2c Mon Sep 17 00:00:00 2001 From: oranges Date: Thu, 9 Jun 2016 05:52:08 +0000 Subject: [PATCH] Adds admin notice and game log entry to the grief (lava) staff --- code/modules/mining/lavaland/necropolis_chests.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index 1e63acb8d7a..7533fc5552f 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -634,6 +634,10 @@ return if(target in view(user.client.view, get_turf(user))) + var/turf/T = get_turf(target) + message_admins("[key_name_admin(user)] fired the lava staff at ([get_area(target)] ([T.x], [T.y], [T.z])).") + log_game("[key_name(user)] fired the lava staff at [get_area(target)] ([T.x], [T.y], [T.z]).") + var/turf/open/O = target user.visible_message("[user] turns \the [O] into lava!") O.ChangeTurf(turf_type) @@ -709,4 +713,4 @@ H << "You have an overwhelming desire to kill [L]. They have been marked red! Go kill them!" H.equip_to_slot_or_del(new /obj/item/weapon/kitchen/knife/butcher(H), slot_l_hand) - qdel(src) \ No newline at end of file + qdel(src)