Blood cult: cleans up blood rites code, fixes a bug or two, & adds blackbox logging for spells, runes, and shades (#82444)

This commit is contained in:
wesoda25
2024-04-12 12:30:23 -07:00
committed by GitHub
parent 7f8752be14
commit 9b830bc8a9
5 changed files with 270 additions and 171 deletions
@@ -54,6 +54,8 @@
icon_living = icon_state
/mob/living/basic/shade/death()
if(IS_CULTIST(src))
SSblackbox.record_feedback("tally", "cult_shade_killed", 1)
if(death_message == initial(death_message))
death_message = "lets out a contented sigh as [p_their()] form unwinds."
..()
@@ -63,6 +65,11 @@
return FALSE
return ..()
/mob/living/basic/shade/suicide_log(obj/item/suicide_tool)
if(IS_CULTIST(src))
SSblackbox.record_feedback("tally", "cult_shade_suicided", 1)
..()
/mob/living/basic/shade/attackby(obj/item/item, mob/user, params)
if(istype(item, /obj/item/soulstone))
var/obj/item/soulstone/stone = item