Commit e1e6fde2 authored by JustSumBody's avatar JustSumBody Committed by Intigracy
Browse files

Manifested ghosts and their brains now dust on death/removal (#12531)

* Manifested ghosts dust on death

* Stop it from being cut out the regular way as well
parent 6a5adf1e
......@@ -71,3 +71,9 @@
brainmob.mind.transfer_to(target)
else
target.key = brainmob.key
/obj/item/organ/brain/ash/removed(var/mob/living/target,var/mob/living/user)
..()
visible_message("<span class = 'sinister'>\The [src] suddenly turns to ash, unable to exist detached from its host.</span>")
new /obj/effect/decal/cleanable/ash(loc)
qdel(src)
\ No newline at end of file
......@@ -265,8 +265,19 @@ var/global/list/whitelisted_species = list("Human")
deform = 'icons/mob/human_races/r_def_manifested.dmi'
known_languages = list(LANGUAGE_HUMAN)
primitive = /mob/living/carbon/monkey
has_organ = list(
"heart" = /datum/organ/internal/heart,
"lungs" = /datum/organ/internal/lungs,
"liver" = /datum/organ/internal/liver,
"kidneys" = /datum/organ/internal/kidney,
"brain" = /datum/organ/internal/brain/ash,
"appendix" = /datum/organ/internal/appendix,
"eyes" = /datum/organ/internal/eyes
)
flags = HAS_SKIN_TONE | HAS_LIPS | HAS_UNDERWEAR | CAN_BE_FAT | NO_BLOOD
/datum/species/manifested/handle_death(var/mob/living/carbon/human/H)
H.dust()
/datum/species/unathi
name = "Unathi"
......
......@@ -208,6 +208,8 @@
removed_type = /obj/item/organ/brain
vital = 1
/datum/organ/internal/brain/ash
removed_type = /obj/item/organ/brain/ash
/datum/organ/internal/appendix
name = "appendix"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment