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 |
---|---|
burns_on_grill | Will this food turn into badrecipe on a grill? Don't use this for everything; preferably mostly for food that is made on a grill to begin with so it burns after some time |
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 |
junkiness | How much junkiness this food has? God I should remove junkiness soon |
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. |
preserved_food | Food that's immune to decomposition. |
tastes | Tastes to describe this food |
trash_type | Type of atom thats spawned after eating this item |
venue_value | Price of this food if sold in a venue |
Procs | |
MakeDecompose | This proc makes things decompose. Set preserved_food to TRUE to make it never decompose. |
MakeEdible | This proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks. |
MakeGrillable | This proc handles grillable components, overwrite if you want different grill results etc. |
MakeLeaveTrash | This proc handles trash components, overwrite this if you want the object to spawn trash |
MakeProcessable | 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
burns_on_grill

Will this food turn into badrecipe on a grill? Don't use this for everything; preferably mostly for food that is made on a grill to begin with so it burns after some time
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
junkiness

How much junkiness this food has? God I should remove junkiness soon
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.
preserved_food

Food that's immune to decomposition.
tastes

Tastes to describe this food
trash_type

Type of atom thats spawned after eating this item
venue_value

Price of this food if sold in a venue
Proc Details
MakeDecompose
This proc makes things decompose. Set preserved_food to TRUE to make it never decompose.
MakeEdible
This proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks.
MakeGrillable
This proc handles grillable components, overwrite if you want different grill results etc.
MakeLeaveTrash
This proc handles trash components, overwrite this if you want the object to spawn trash
MakeProcessable
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