I need a blacksmith NPC to create some items, but for him to create the items, he will need the ingredients.
In addition to needing the ingredients, he will need time to create each item, and each item will have its chance to break and fail.
Example:
In addition to needing the ingredients, he will need time to create each item, and each item will have its chance to break and fail.
Example:
Lua:
[2392] = {
name = "Fire Sword", -- What is the name of the item that the Blacksmith will create?
price = 10000, -- How much will the Blacksmith charge for the service?
ingredients = {[5880] = 90, [5468] = 2, [2406] = 1}, -- What ingredients will the blacksmith need?
failChance = 10, -- What is the chance that the Blacksmith will break the item?
timeDone = 15, -- How many minutes will the item be ready?
}