Merge pull request #12874 from Runa-Dacino/IPC_HealBelly

Fixes healbelly for synthmorphs draining nutrition forever
This commit is contained in:
Casey
2022-05-01 01:07:34 -04:00
committed by GitHub

View File

@@ -130,11 +130,12 @@ GLOBAL_LIST_INIT(digest_modes, list())
var/obj/item/organ/external/O = E
if(O.brute_dam > 0 || O.burn_dam > 0) //Making sure healing continues until fixed.
O.heal_damage(0.5, 0.5, 0, 1) // Less effective healing as able to fix broken limbs
B.owner.adjust_nutrition(-5) // More costly for the pred, since metals and stuff
if(L.health < L.maxHealth)
L.adjustToxLoss(-2)
L.adjustOxyLoss(-2)
L.adjustCloneLoss(-1)
B.owner.adjust_nutrition(-5) // More costly for the pred, since metals and stuff
B.owner.adjust_nutrition(-1) // Normal cost per old functionality
if(B.owner.nutrition > 90 && (L.health < L.maxHealth) && !H.isSynthetic())
L.adjustBruteLoss(-2.5)
L.adjustFireLoss(-2.5)