Space Station 13 - Modules - TypesVar Details

recipe

ParaCooking With Jane

A cooking rework ported from Sojourn and heavily adapted for Para.

The recipe datum outlines a list of steps from getting a piece of food from point A to point B.

Recipes have clear start and end points. They start with a particular item and end with a particular item. That said, a start item can follow multiple recipes until they eventually diverge as different steps are followed. In the case two recipes have identical steps, the user should be prompted on what their intended result should be. (Donuts vs Bagels)

Recipes are loaded at startup. Food items reference it by the recipe_tracker datum.

Recipes and their steps are singletons. Cooking processes should never alter them.

Vars

appear_in_default_catalogEverything appears in the catalog by default.
catalog_categoryThe category of the recipe for the cookbook PDA app and other sources of recipe info.
container_typeThe type of the cooking container the recipe is performed in.
product_countHow much of a thing is made per case of the recipe being followed.
product_typeType path for the product created by the recipe.
replace_reagentsDetermines if we entirely replace the contents of the food product with the slurry that goes into it.
stepsA list of /datum/cooking/recipe_steps needed to be followed to create the recipe. Generally steps must be completed in order for the preparation to be considered valid.

Var Details

appear_in_default_catalog

Everything appears in the catalog by default.

catalog_category

The category of the recipe for the cookbook PDA app and other sources of recipe info.

container_type

The type of the cooking container the recipe is performed in.

product_count

How much of a thing is made per case of the recipe being followed.

product_type

Type path for the product created by the recipe.

replace_reagents

Determines if we entirely replace the contents of the food product with the slurry that goes into it.

steps

A list of /datum/cooking/recipe_steps needed to be followed to create the recipe. Generally steps must be completed in order for the preparation to be considered valid.