From 5016ea6186d0254d8e0b835d8f3db8b6bea5ebf9 Mon Sep 17 00:00:00 2001 From: imsxz Date: Wed, 23 May 2018 02:40:49 -0400 Subject: [PATCH] Add logging to mayhem bottle and blood frenzy (#37951) * who the fuck didnt make this logged ages ago jesus fucking christ * who fucking coded this garbage why isnt it a status effect * Update mines.dm * reeeeeeeee * reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --- code/game/objects/effects/mines.dm | 3 +++ code/modules/mining/lavaland/necropolis_chests.dm | 2 ++ 2 files changed, 5 insertions(+) diff --git a/code/game/objects/effects/mines.dm b/code/game/objects/effects/mines.dm index a859896c2a..8f256f1102 100644 --- a/code/game/objects/effects/mines.dm +++ b/code/game/objects/effects/mines.dm @@ -129,6 +129,8 @@ new /datum/hallucination/delusion(victim, TRUE, "demon",duration,0) var/obj/item/twohanded/required/chainsaw/doomslayer/chainsaw = new(victim.loc) + add_logs(victim, null, "entered a blood frenzy") + chainsaw.flags_1 |= NODROP_1 victim.drop_all_held_items() victim.put_in_hands(chainsaw, forced = TRUE) @@ -144,6 +146,7 @@ sleep(duration) to_chat(victim, "Your bloodlust seeps back into the bog of your subconscious and you regain self control.") qdel(chainsaw) + add_logs(victim, null, "exited a blood frenzy") qdel(src) /obj/effect/mine/pickup/healing diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index 272a66766e..b0f02e162c 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -908,6 +908,8 @@ INVOKE_ASYNC(B, /obj/effect/mine/pickup/bloodbath/.proc/mineEffect, H) to_chat(user, "You shatter the bottle!") playsound(user.loc, 'sound/effects/glassbr1.ogg', 100, 1) + message_admins("[key_name_admin(user)][ADMIN_FLW(user)] has activated a bottle of mayhem!") + add_logs(user, null, "activated a bottle of mayhem", src) qdel(src) /obj/item/blood_contract