food
Abstract class to allow us to easily create all the generic "normal" food without too much copy pasta of adding more components
Vars | |
bite_consumption | How much reagents per bite |
---|---|
eat_time | How long it will take to eat this food without any other modifiers |
eatverbs | Verbs used when eating this food in the to_chat messages |
food_flags | Extra flags for things such as if the food is in a container or not |
food_reagents | List of reagents this food gets on creation |
foodtypes | Bitflag of the types of food this food is |
max_volume | Amount of volume the food can contain |
microwaved_type | What you get if you microwave the food, this should be replaced once I fully re-work cooking. |
tastes | Tastes to describe this food |
trash_type | Type of atom thats spawned after eating this item |
Procs | |
make_edible | This proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks. |
make_leave_trash | This proc handles trash components, overwrite this if you want the object to spawn trash |
make_processable | This proc handles processable elements, overwrite this if you want to add behavior such as slicing, forking, spooning, whatever, to turn the item into something else |
Var Details
bite_consumption
How much reagents per bite
eat_time
How long it will take to eat this food without any other modifiers
eatverbs
Verbs used when eating this food in the to_chat messages
food_flags
Extra flags for things such as if the food is in a container or not
food_reagents
List of reagents this food gets on creation
foodtypes
Bitflag of the types of food this food is
max_volume
Amount of volume the food can contain
microwaved_type
What you get if you microwave the food, this should be replaced once I fully re-work cooking.
tastes
Tastes to describe this food
trash_type
Type of atom thats spawned after eating this item
Proc Details
make_edible
This proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks.
make_leave_trash
This proc handles trash components, overwrite this if you want the object to spawn trash
make_processable
This proc handles processable elements, overwrite this if you want to add behavior such as slicing, forking, spooning, whatever, to turn the item into something else