• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua TFS 1.3 - Blacksmith NPC

anderkrox

New Member
Joined
May 14, 2020
Messages
21
Reaction score
1
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:
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?
}
 
Back
Top