The anvil (Workbench) allows the player to craft items using specific crafting recipes. Each item can have its own unique requirements and crafting times. When crafting begins, items are added to the Crafting Queue, where player see the current progress and clear the queue.
Open DT_CraftingItems
To create a new craftable item that can be crafted in Anvil, you need to open Plugins -> UE5_InventorySystem Content -> Sample "DT_Crafting Items. This uses the CraftingItems structure. You can also create a data table from this structure yourself and then add it to Anvil.
Crafting Recipe
A crafting reipe defines through the amount of items that are needed to create the specific item in the given craft time. This can be setup as shown above.
Crafting Item: Defines the item that will be crafted and added to the inventory. Select Item Blueprint.
Result Amount: The number of items added to the inventory when crafting this item.
Ingredients: The items and the quantities required to craft the item.
Craft Time: The amount of time, in seconds, it takes to fully craft the item.Â