RecipeInventory

RecipeInventory

class

Inventory that mirrors the slots of a recipe

Fields

NameTypeDescription
recipe Recipe

Functions

RecipeInventory:add(item, count)

Append a recipe slot holding item with count

item StaticItem
count integer
Standard members (4)

Generated for every class of this kind by the game's codegen, not written for RecipeInventory.

RecipeInventory.cast(object) Trying to cast Object into RecipeInventory
RecipeInventory.get_class() Return RecipeInventory class object
RecipeInventory.new(parent, name) Creates a new RecipeInventory instance
RecipeInventory.new_simple() Creates a new RecipeInventory instance
Inherited from Inventory (1)
Inherited from InventoryAccess (3)
Inherited from InventoryReader (3)
Inherited from Instance (1)
Inherited from Object (3)

Used by