mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-24 04:33:23 +00:00
Update bellymodes_datum_vr.dm
Fixes healbelly for synthmorphs draining nutrition forever Made a little oopsie that local testing didn't catch. It's a minor bug. Moved nutrition drain to only occur when either limbs are damaged, or there's toxloss to repair. Revert "Fixes healbelly for synthmorphs draining nutrition forever" This reverts commit 950c855936890ce186fb33d35a06139ce83e7b54.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user