mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Fixes HARS replacing the brain (which fixes various traumas) (#2213)
* putting a gun to my stupid fat brain (#55556) Our new Pull Request is now established, and has an appearance that promises permanency; but in this world nothing can be said to be certain, except death and HARS bugs. * Fixes HARS replacing the brain (which fixes various traumas) Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
@@ -498,7 +498,7 @@
|
||||
if(!successful)
|
||||
stack_trace("HARS mutation head regeneration failed! (usually caused by headless syndrome having a head)")
|
||||
return TRUE
|
||||
owner.dna.species.regenerate_organs(owner, excluded_zones = list(BODY_ZONE_CHEST)) //only regenerate head
|
||||
owner.dna.species.regenerate_organs(owner, replace_current = FALSE, excluded_zones = list(BODY_ZONE_CHEST)) //replace_current needs to be FALSE to prevent weird adding and removing mutation healing
|
||||
owner.apply_damage(damage = 50, damagetype = BRUTE, def_zone = BODY_ZONE_HEAD) //and this to DISCOURAGE organ farming, or at least not make it free.
|
||||
owner.visible_message("<span class='warning'>[owner]'s head returns with a sickening crunch!</span>", "<span class='warning'>Your head regrows with a sickening crack! Ouch.</span>")
|
||||
new /obj/effect/gibspawner/generic(get_turf(owner), owner)
|
||||
|
||||
Reference in New Issue
Block a user