/datum/component/edible
Vars | |
after_eat | Callback to be ran for when you take a bite of something |
---|---|
bite_consumption | Amount of reagents taken per bite |
bitecount | Amount of bites taken so far |
eat_time | Amount of seconds it takes to eat this food |
eatverbs | Message to send when eating |
food_flags | Flags for food |
foodtypes | Bitfield of the types of this food |
junkiness | Defines how much it lowers someones satiety (Need to eat, essentialy) |
last_check_time | Last time we checked for food likes |
Procs | |
CanConsume | Checks whether or not the eater can actually consume the food |
On_Consume | Delete the item when it is fully eaten |
TakeBite | This function lets the eater take a bite and transfers the reagents to the eater. |
TryToEat | All the checks for the act of eating itself and |
UseByAnimal | Ability to feed food to puppers |
checkLiked | Check foodtypes to see if we should send a moodlet |
Var Details
after_eat
Callback to be ran for when you take a bite of something
bite_consumption
Amount of reagents taken per bite
bitecount
Amount of bites taken so far
eat_time
Amount of seconds it takes to eat this food
eatverbs
Message to send when eating
food_flags
Flags for food
foodtypes
Bitfield of the types of this food
junkiness
Defines how much it lowers someones satiety (Need to eat, essentialy)
last_check_time
Last time we checked for food likes
Proc Details
CanConsume
Checks whether or not the eater can actually consume the food
On_Consume
Delete the item when it is fully eaten
TakeBite
This function lets the eater take a bite and transfers the reagents to the eater.
TryToEat
All the checks for the act of eating itself and
UseByAnimal
Ability to feed food to puppers
checkLiked
Check foodtypes to see if we should send a moodlet