Module recipe

Source

Structsยง

ComponentKey
ComponentRecipe
ComponentRecipeBook
ComponentRecipeInputsIterator
ItemList ๐Ÿ”’
RawComponentRecipe ๐Ÿ”’
RawComponentRecipeBook ๐Ÿ”’
RawRecipe ๐Ÿ”’
RawRecipeBook ๐Ÿ”’
RawRepairRecipe ๐Ÿ”’
RawRepairRecipeBook ๐Ÿ”’
Recipe
RecipeBookManifest
RepairRecipe
RepairRecipeBook
ReverseComponentRecipeBook

Enumsยง

ComponentOutput ๐Ÿ”’
ModularWeaponError
RawComponentOutput ๐Ÿ”’
RawRecipeInput
RecipeInput
RepairKey ๐Ÿ”’
SalvageError

Functionsยง

complete_recipe_book
default_component_recipe_book
default_repair_recipe_book
inventory_contains_ingredients ๐Ÿ”’
Determine whether the inventory contains the ingredients for a recipe. If it does, return a vec of inventory slots that contain the ingredients needed, whose positions correspond to particular recipe inputs. If items are missing, return the missing items, and how many are missing.
modular_weapon
try_salvage