/tg/ Station 13 - 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

bite_consumptionHow much reagents per bite
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
max_volumeAmount of volume the food can contain
microwaved_typeWhat you get if you microwave the food, this should be replaced once I fully re-work cooking.
tastesTastes to describe this food
trash_typeType of atom thats spawned after eating this item

Procs

MakeEdibleThis proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks.
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

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

MakeEdible

This proc adds the edible component, overwrite this if you for some reason want to change some specific args like callbacks.

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