From bf9b922446aac244cda432f7b5e6ac9cc8d6d63f Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Thu, 4 Feb 2016 18:32:14 -0800 Subject: [PATCH] Actually lets you regrow limbs while missing legs --- code/modules/mob/living/carbon/human/species/station.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station.dm b/code/modules/mob/living/carbon/human/species/station.dm index de84359b635..9ff0c71657e 100644 --- a/code/modules/mob/living/carbon/human/species/station.dm +++ b/code/modules/mob/living/carbon/human/species/station.dm @@ -480,7 +480,7 @@ visible_message("[src] begins to hold still and concentrate on their missing [limb_select]...", "You begin to focus on regrowing your missing [limb_select]... (This will take [round(regrowthdelay/10)] seconds)") if(do_after(src, regrowthdelay, needhand=0)) - if(stat || paralysis || stunned || weakened) + if(stat || paralysis || stunned) src << "You cannot regenerate missing limbs in your current state." return @@ -511,7 +511,8 @@ src << "You've lost the organ that you've been growing your new part on!" return // No rayman for you var/obj/item/organ/external/new_limb = new limb_path(src) - new_limb.take_damage(stored_brute, stored_burn, 0, 0) + adjustBruteLoss(stored_brute) + adjustFireLoss(stored_burn) update_body() updatehealth() UpdateDamageIcon()