From f2e6eab25380eb2b20bfdc19a509914f59500a9f Mon Sep 17 00:00:00 2001
From: Metis <100518708+sheepishgoat@users.noreply.github.com>
Date: Mon, 23 Sep 2024 15:15:57 -0400
Subject: [PATCH] vore change I forgot
---
code/modules/vore/eating/bellymodes.dm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/code/modules/vore/eating/bellymodes.dm b/code/modules/vore/eating/bellymodes.dm
index 7828de8cde..9a5bc86a67 100644
--- a/code/modules/vore/eating/bellymodes.dm
+++ b/code/modules/vore/eating/bellymodes.dm
@@ -93,6 +93,15 @@
digest_alert_prey = replacetext(digest_alert_prey,"%prey",M)
digest_alert_prey = replacetext(digest_alert_prey,"%belly",lowertext(name))
+ //GS13 edit
+ var/mob/living/carbon/gainer = owner
+ if(iscarbon(gainer) && owner?.client?.prefs?.weight_gain_food)
+ var/mob/living/carbon/prey = M
+ if(iscarbon(prey) && prey.fatness_real)
+ var/fatness_to_add = (prey.fatness_real * 0.80)
+ gainer.adjust_fatness(fatness_to_add, FATTENING_TYPE_FOOD)
+ //GS13 edit end
+
//Send messages
to_chat(owner, "[digest_alert_owner]")
to_chat(M, "[digest_alert_prey]")