From d6fbcddca74cd1c971e6dd0fe945e9307378be5b Mon Sep 17 00:00:00 2001 From: Charlie <69320440+hal9000PR@users.noreply.github.com> Date: Mon, 30 May 2022 12:41:16 +0100 Subject: [PATCH] data (#17893) --- code/game/gamemodes/cult/blood_magic.dm | 1 + code/game/gamemodes/cult/ritual.dm | 2 +- code/game/gamemodes/cult/runes.dm | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/cult/blood_magic.dm b/code/game/gamemodes/cult/blood_magic.dm index df0aab83f8d..6b4a3ef0d16 100644 --- a/code/game/gamemodes/cult/blood_magic.dm +++ b/code/game/gamemodes/cult/blood_magic.dm @@ -77,6 +77,7 @@ spells += new_spell new_spell.Grant(owner, src) to_chat(owner, "Your wounds glow with power, you have prepared a [new_spell.name] invocation!") + SSblackbox.record_feedback("tally", "cult_spells_prepared", 1, "[name]") channeling = FALSE /datum/action/innate/cult/blood_magic/proc/remove_spell(message = "Pick a spell to remove.") diff --git a/code/game/gamemodes/cult/ritual.dm b/code/game/gamemodes/cult/ritual.dm index cac591e856a..19d248c394d 100644 --- a/code/game/gamemodes/cult/ritual.dm +++ b/code/game/gamemodes/cult/ritual.dm @@ -188,7 +188,7 @@ if(narsie_rune) for(var/obj/effect/rune/I in orange(1, R)) qdel(I) - + SSblackbox.record_feedback("tally", "runes_scribed", 1, "[R.cultist_name]") R.blood_DNA = list() R.blood_DNA[H.dna.unique_enzymes] = H.dna.blood_type R.add_hiddenprint(H) diff --git a/code/game/gamemodes/cult/runes.dm b/code/game/gamemodes/cult/runes.dm index 771152ca262..504ab19cb48 100644 --- a/code/game/gamemodes/cult/runes.dm +++ b/code/game/gamemodes/cult/runes.dm @@ -176,10 +176,14 @@ structure_check() searches for nearby cultist structures required for the invoca /obj/effect/rune/proc/invoke(list/invokers) //This proc contains the effects of the rune as well as things that happen afterwards. If you want it to spawn an object and then delete itself, have both here. + SHOULD_CALL_PARENT(TRUE) + var/ghost_invokers = 0 for(var/M in invokers) var/mob/living/L = M if(!L) return + if(L.has_status_effect(STATUS_EFFECT_SUMMONEDGHOST)) + ghost_invokers++ if(invocation) if(!L.IsVocal()) L.emote("gestures ominously.") @@ -190,6 +194,9 @@ structure_check() searches for nearby cultist structures required for the invoca L.apply_damage(invoke_damage, BRUTE) to_chat(L, "[src] saps your strength!") do_invoke_glow() + SSblackbox.record_feedback("nested tally", "runes_invoked", 1, list("[initial(cultist_name)]", "[length(SSticker.mode.cult)]")) // the name of the rune, and the number of cultists in the cult when it was invoked + if(ghost_invokers) + SSblackbox.record_feedback("nested tally", "runes_invoked_with_ghost", 1, list("[initial(cultist_name)]", "[ghost_invokers]")) //the name of the rune and the number of ghosts used to invoke it. /** * Spawns the phase in/out effects for a cult teleport.