Looks like there are chunks of reagents updates I gotta port later.

This commit is contained in:
Ghommie
2020-06-24 21:22:08 +02:00
parent c5cbfa64e5
commit ba794a3283

View File

@@ -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)