Constructs/Shades removed from cult on death, and logged as antags if made by wizard/cultist. Shades now properly deleted when construct is created.

This commit is contained in:
unknown
2019-11-16 13:49:06 -05:00
parent 28a4e6a343
commit fa55b253b0
3 changed files with 26 additions and 51 deletions
@@ -47,6 +47,10 @@
if(SSticker.cultdat?.theme == "blood")
updateglow()
/mob/living/simple_animal/hostile/construct/death(gibbed)
. = ..()
SSticker.mode.remove_cultist(src.mind, FALSE)
/mob/living/simple_animal/hostile/construct/examine(mob/user)
. = ..()
@@ -28,6 +28,9 @@
del_on_death = 1
deathmessage = "lets out a contented sigh as their form unwinds."
/mob/living/simple_animal/shade/death(gibbed)
. = ..()
SSticker.mode.remove_cultist(src.mind, FALSE)
/mob/living/simple_animal/shade/attackby(var/obj/item/O as obj, var/mob/user as mob) //Marker -Agouri
if(istype(O, /obj/item/soulstone))