Crafting
How it works
Step-by-step guide
local CRAFTING_RECIPES = {
["source_item_name"] = {
sourceQuantityRequired = 1, -- How many source items needed
sourceIsToRemove = true, -- Remove source item after crafting?
targetItem = "target_item_name", -- Name of the target item
targetQuantity = 1, -- How many target items needed
targetIsToRemove = true, -- Remove target item after crafting?
resultItem = "result_item_name", -- Name of the item created
resultQuantity = 1, -- How many result items created
},
}Recipe properties explained
Examples
Example 1: Upgrade scope to thermal scope
Example 2: Combine materials
Important notes
Last updated