CraftBook
classscriptedClass
extends IScriptable › ISerializable
Properties 3
| Name | Type | Flags |
|---|---|---|
knownRecipes | array<ItemRecipe> | scriptedprotectedpersistent |
newRecipes | array<TweakDBID> | scriptedpublic |
owner | wref<GameObject> | scriptedpublic |
Methods 13
public final func AddRecipe(targetItem: TweakDBID, opt hideOnItemsAdded: array<wref<Item_Record>>, opt amount: Int32)scripted
public final const func GetCraftableItems() -> array<wref<Item_Record>>scripted
public final const func GetOwner() -> wref<GameObject>scripted
public final const func GetRecipeData(Recipe: TweakDBID) -> ItemRecipescripted
public final const func GetRecipeIndex(recipe: TweakDBID) -> Int32scripted
public final func HideRecipe(recipe: TweakDBID, shouldHide: Bool) -> Boolscripted
public final func HideRecipesForOwnedItems()scripted
public final func InitializeCraftBook(owner: wref<GameObject>, recipes: wref<Craftable_Record>)scripted
public final func InitializeCraftBookOwner(owner: wref<GameObject>)scripted
public final func IsRecipeNew(itemID: TweakDBID) -> Boolscripted
public final const func KnowsRecipe(recipe: TweakDBID) -> Boolscripted
public final func ResetRecipeCraftedAmount()scripted
public final func SetRecipeInspected(itemID: TweakDBID)scripted