Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

food

Droppers. END

Vars

_utensil_food_typeA type used when cloning this food item for utensils.
allergen_flagsIs this ingredient considered meat, fish, veg, etc
backyard_grilling_announcementThe message shown when the food cooks.
backyard_grilling_countThe number of times this object and its ancestors have been grilled. Used for grown foods' roasted chems.
backyard_grilling_productWhat object type the food cooks into.
backyard_grilling_rawnessHow many SSobj ticks it takes for the food to cook.
backyard_grilling_spanThe span class used for the message above. Burned food defaults to SPAN_DANGER.
cooked_foodIndicates the food should give a stress effect on eating.
eat_soundEither a path to a sound file, a get_sfx sound string, or a list of any combination of those.
utensil_flagsA set of utensil flags determining which utensil interactions are valid with this food.
volumeThe maximum reagent volume of this food. Used in initialize_reagents.

Procs

get_combined_food_productsItems you can craft together. Like bomb making, but with food and less screwdrivers. Uses format list(ingredient = result_type). The ingredient can be a typepath or a grown_tag string (used for mobs or plants) The product can be a typepath or a list of typepaths, which will prompt the user. TODO: validate that these products are properly ordered

Var Details

_utensil_food_type

A type used when cloning this food item for utensils.

allergen_flags

Is this ingredient considered meat, fish, veg, etc

backyard_grilling_announcement

The message shown when the food cooks.

backyard_grilling_count

The number of times this object and its ancestors have been grilled. Used for grown foods' roasted chems.

backyard_grilling_product

What object type the food cooks into.

backyard_grilling_rawness

How many SSobj ticks it takes for the food to cook.

backyard_grilling_span

The span class used for the message above. Burned food defaults to SPAN_DANGER.

cooked_food

Indicates the food should give a stress effect on eating.

eat_sound

Either a path to a sound file, a get_sfx sound string, or a list of any combination of those.

utensil_flags

A set of utensil flags determining which utensil interactions are valid with this food.

volume

The maximum reagent volume of this food. Used in initialize_reagents.

Proc Details

get_combined_food_products

Items you can craft together. Like bomb making, but with food and less screwdrivers. Uses format list(ingredient = result_type). The ingredient can be a typepath or a grown_tag string (used for mobs or plants) The product can be a typepath or a list of typepaths, which will prompt the user. TODO: validate that these products are properly ordered