[MIRROR] HARS no longer cures brain traumas, it moves your brain to your chest (#1198)

* HARS no longer cures brain traumas, it moves your brain to your chest (#54222)

* HARS no longer cures brain traumas, it moves your brain to your chest

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-10-07 23:27:15 +02:00
committed by GitHub
co-authored by tralezab
parent c9a5695440
commit 1b666d4b3d
+6 -4
View File
@@ -463,7 +463,7 @@
/datum/mutation/human/headless
name = "H.A.R.S."
desc = "A mutation that makes the body reject the head. Stands for Head Allergic Rejection Syndrome. Warning: Removing this mutation is very dangerous, though it will regenerate head organs."
desc = "A mutation that makes the body reject the head, the brain receding into the chest. Stands for Head Allergic Rejection Syndrome. Warning: Removing this mutation is very dangerous, though it will regenerate non-vital head organs."
difficulty = 12 //pretty good for traitors
quality = NEGATIVE //holy shit no eyes or tongue or ears
text_gain_indication = "<span class='warning'>Something feels off.</span>"
@@ -473,9 +473,8 @@
if(.)//cant add
return TRUE
var/obj/item/organ/brain/brain = owner.getorganslot(ORGAN_SLOT_BRAIN)
if(brain) //so this doesn't instantly kill you
brain.organ_flags &= ~ORGAN_VITAL
qdel(brain)
if(brain)
brain.zone = BODY_ZONE_CHEST
var/obj/item/bodypart/head/head = owner.get_bodypart(BODY_ZONE_HEAD)
if(head)
@@ -491,6 +490,9 @@
. = ..()
if(.)
return TRUE
var/obj/item/organ/brain/brain = owner.getorganslot(ORGAN_SLOT_BRAIN)
if(brain) //so this doesn't instantly kill you. we could delete the brain, but it lets people cure brain issues they /really/ shouldn't be
brain.zone = BODY_ZONE_HEAD
UnregisterSignal(owner, COMSIG_CARBON_ATTACH_LIMB)
var/successful = owner.regenerate_limb(BODY_ZONE_HEAD, noheal = TRUE) //noheal needs to be TRUE to prevent weird adding and removing mutation healing
if(!successful)