From ba794a32831b2eefe09b443a3f0d8a2b3844cc9a Mon Sep 17 00:00:00 2001 From: Ghommie <42542238+Ghommie@users.noreply.github.com> Date: Wed, 24 Jun 2020 21:22:08 +0200 Subject: [PATCH] Looks like there are chunks of reagents updates I gotta port later. --- code/datums/components/edible.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/components/edible.dm b/code/datums/components/edible.dm index b2b75ab032..e70c791f98 100644 --- a/code/datums/components/edible.dm +++ b/code/datums/components/edible.dm @@ -155,7 +155,8 @@ Behavior that's still missing from this component that original food items had t if(owner.reagents.total_volume) SEND_SIGNAL(parent, COMSIG_FOOD_EATEN, eater, feeder) var/fraction = min(bite_consumption / owner.reagents.total_volume, 1) - owner.reagents.trans_to(eater, bite_consumption, transfered_by = feeder, method = INGEST) + reagents.reaction(M, INGEST, fraction) + owner.reagents.trans_to(eater, bite_consumption) bitecount++ On_Consume(eater) checkLiked(fraction, eater)