Super Dismemberment (#11086)

This commit is contained in:
Geeves
2021-02-15 13:47:09 +02:00
committed by GitHub
parent 0ccc20de19
commit c710fe52f5
8 changed files with 56 additions and 9 deletions
+3
View File
@@ -901,7 +901,10 @@ Note that amputating the affected organ does in fact remove the infection from t
victim.shock_stage += min_broken_damage
victim.flash_strong_pain()
var/mob/living/carbon/human/last_owner = owner
removed(null, ignore_children)
if(istype(last_owner) && !QDELETED(last_owner) && length(last_owner.organs) <= 1)
last_owner.drop_all_limbs(disintegrate) // drops the last remaining part, usually the torso, as an item
if(parent_organ)
var/datum/wound/lost_limb/W = new(src, disintegrate, clean)