From c791c2e3d9e96e500342d2d947f0c4e7903328ef Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 28 Sep 2021 15:20:29 +0300 Subject: [PATCH] Update bellymodes_datum_vr.dm --- code/modules/vore/eating/bellymodes_datum_vr.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/vore/eating/bellymodes_datum_vr.dm b/code/modules/vore/eating/bellymodes_datum_vr.dm index e96d367e7c0..2a791203bcd 100644 --- a/code/modules/vore/eating/bellymodes_datum_vr.dm +++ b/code/modules/vore/eating/bellymodes_datum_vr.dm @@ -22,6 +22,7 @@ GLOBAL_LIST_INIT(digest_modes, list()) noise_chance = 50 /datum/digest_mode/digest/process_mob(obj/belly/B, mob/living/L) + var/oldstat = L.stat //Pref protection! if(!L.digestable || L.absorbed) return null @@ -59,6 +60,8 @@ GLOBAL_LIST_INIT(digest_modes, list()) B.owner.adjust_nutrition(offset*(4.5 * (damage_gain) / difference)) //4.5 nutrition points per health point. Normal same size 100+100 health prey with average weight would give 900 points if the digestion was instant. With all the size/weight offset taxes plus over time oxyloss+hunger taxes deducted with non-instant digestion, this should be enough to not leave the pred starved. else B.owner.adjust_nutrition(4.5 * (damage_gain) / difference) + if(L.stat != oldstat) + return list("to_update" = TRUE) /datum/digest_mode/absorb id = DM_ABSORB