From 70dcd2ea9b8e4b078f7fc7a6ccc33aee32fd4ffd Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Tue, 4 Jul 2017 15:40:45 -0400 Subject: [PATCH] Clockcult conversion has more explicit logging in what did it (#29007) * Clockcult conversion has more explicit logging in what did it * clang * tweak --- code/datums/status_effects/debuffs.dm | 3 ++- code/game/gamemodes/clock_cult/clock_effects/clock_sigils.dm | 4 +++- .../clock_cult/clock_scriptures/scripture_drivers.dm | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/code/datums/status_effects/debuffs.dm b/code/datums/status_effects/debuffs.dm index ee3cf684e809..7f70432b7a83 100644 --- a/code/datums/status_effects/debuffs.dm +++ b/code/datums/status_effects/debuffs.dm @@ -215,7 +215,8 @@ if(owner.getToxLoss() > MANIA_DAMAGE_TO_CONVERT) if(is_eligible_servant(owner)) to_chat(owner, "\"[text2ratvar("You are mine and his, now.")]\"") - add_servant_of_ratvar(owner) + if(add_servant_of_ratvar(owner)) + owner.log_message("Conversion was done with a Mania Motor.", INDIVIDUAL_ATTACK_LOG) owner.Unconscious(100) else if(prob(severity * 0.15)) diff --git a/code/game/gamemodes/clock_cult/clock_effects/clock_sigils.dm b/code/game/gamemodes/clock_cult/clock_effects/clock_sigils.dm index 7f295569dac4..dcd160c601e2 100644 --- a/code/game/gamemodes/clock_cult/clock_effects/clock_sigils.dm +++ b/code/game/gamemodes/clock_cult/clock_effects/clock_sigils.dm @@ -120,7 +120,8 @@ post_channel(L) if(is_eligible_servant(L)) to_chat(L, "\"You belong to me now.\"") - add_servant_of_ratvar(L) + if(add_servant_of_ratvar(L)) + L.log_message("Conversion was done with a [sigil_name].", INDIVIDUAL_ATTACK_LOG) L.Knockdown(60) //Completely defenseless for about five seconds - mainly to give them time to read over the information they've just been presented with if(iscarbon(L)) var/mob/living/carbon/C = L @@ -162,6 +163,7 @@ /obj/effect/clockwork/sigil/submission/accession/post_channel(mob/living/L) if(L.isloyal()) + L.log_message("Had their mindshield implant broken by a [sigil_name].", INDIVIDUAL_ATTACK_LOG) delete_on_finish = TRUE L.visible_message("[L] visibly trembles!", \ "[text2ratvar("You will be mine and his. This puny trinket will not stop me.")]") diff --git a/code/game/gamemodes/clock_cult/clock_scriptures/scripture_drivers.dm b/code/game/gamemodes/clock_cult/clock_scriptures/scripture_drivers.dm index 4b0ff2e00c9a..7fa96f950711 100644 --- a/code/game/gamemodes/clock_cult/clock_scriptures/scripture_drivers.dm +++ b/code/game/gamemodes/clock_cult/clock_scriptures/scripture_drivers.dm @@ -170,7 +170,9 @@ return target && binding && target.buckled == binding && !is_servant_of_ratvar(target) && target.stat != DEAD /datum/clockwork_scripture/geis/scripture_effects() - return add_servant_of_ratvar(target) + . = add_servant_of_ratvar(target) + if(.) + add_logs(invoker, target, "Converted", object = "Geis") //Taunting Tirade: Channeled for up to five times over thirty seconds. Confuses non-servants that can hear it and allows movement for a brief time after each chant.