/tg/ Station 13 - Modules - TypesDefine Details

code/datums/components/food/edible.dm

This component makes it possible to make things edible. What this means is that you can take a bite or force someone to take a bite (in the case of items). These items take a specific time to eat, and can do most of the things our original food items could.

Behavior that's still missing from this component that original food items had that should either be put into separate components or somewhere else: Components: Drying component (jerky etc) Processable component (Slicing and cooking behavior essentialy, making it go from item A to B when conditions are met.)

Misc:
Something for cakes (You can store things inside)
EAT_TIME_FORCE_FEEDNormal time to forcefeed someone something
EAT_TIME_VORACIOUS_MULTMultiplier for eat time if the eater has TRAIT_VORACIOUS
EAT_TIME_VORACIOUS_FULL_MULTMultiplier for how much longer it takes a voracious folk to eat while full

Define Details

EAT_TIME_FORCE_FEED

Normal time to forcefeed someone something

EAT_TIME_VORACIOUS_FULL_MULT

Multiplier for how much longer it takes a voracious folk to eat while full

EAT_TIME_VORACIOUS_MULT

Multiplier for eat time if the eater has TRAIT_VORACIOUS