Daedalus Dock - Modules - TypesVar Details - Proc Details

food

Abstract class to allow us to easily create all the generic "normal" food without too much copy pasta of adding more components

Vars

ant_attractingDoes our food normally attract ants?
bite_consumptionHow much reagents per bite
burns_in_ovenWill this food turn into badrecipe in an oven? Don't use this for everything; preferably mostly for food that is made in an oven to begin with so it burns after some time
burns_on_grillWill 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
decomp_req_handleFood that needs to be picked up in order to decompose.
decomp_typeWhat our food decomposes into.
decomposition_timeUsed to set custom decomposition times for food. Set to 0 to have it automatically set via the food's flags.
eat_timeHow long it will take to eat this food without any other modifiers
eatverbsVerbs used when eating this food in the to_chat messages
food_flagsExtra flags for things such as if the food is in a container or not
food_reagentsList of reagents this food gets on creation
foodtypesBitflag of the types of food this food is
junkinessHow much junkiness this food has? God I should remove junkiness soon
max_volumeAmount of volume the food can contain
microwaved_typeWhat you get if you microwave the food. Use baking for raw things, use microwaving for already cooked things
preserved_foodFood that's immune to decomposition.
tastesTastes to describe this food
trash_typeType of atom thats spawned after eating this item
venue_valuePrice of this food if sold in a venue

Procs

MakeBakeableThis proc handles bakeable components, overwrite if you want different bake results etc.
MakeDecomposeThis proc makes things decompose. Set preserved_food to TRUE to make it never decompose. Set decomp_req_handle to TRUE to only make it decompose when someone picks it up.
MakeEdibleThis proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks.
MakeGrillableThis proc handles grillable components, overwrite if you want different grill results etc.
MakeLeaveTrashThis proc handles trash components, overwrite this if you want the object to spawn trash
MakeProcessableThis 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

ant_attracting

Does our food normally attract ants?

bite_consumption

How much reagents per bite

burns_in_oven

Will this food turn into badrecipe in an oven? Don't use this for everything; preferably mostly for food that is made in an oven to begin with so it burns after some time

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

decomp_req_handle

Food that needs to be picked up in order to decompose.

decomp_type

What our food decomposes into.

decomposition_time

Used to set custom decomposition times for food. Set to 0 to have it automatically set via the food's flags.

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. Use baking for raw things, use microwaving for already cooked things

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

MakeBakeable

This proc handles bakeable components, overwrite if you want different bake results etc.

MakeDecompose

This proc makes things decompose. Set preserved_food to TRUE to make it never decompose. Set decomp_req_handle to TRUE to only make it decompose when someone picks it up.

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