Ir para conteúdo

[TFS 1.1/1.2] [ModalWindow] Crafting Avançado


Posts Recomendados

Bem, esse é mais um sistema do RazorBlade, assim como no outro, pedi autorização para estar trazendo para cá. Esse sistema é bem complexo e enorme e, claro, pode ser alterado da maneira que lhe convir.

 

Espero que quem usar e testar de um rep, pois traduzir, ajeitar o conteúdo, testar para ver se tem erros e reportar demora né.. estou trazendo pois sei que muitos brs não sabem o mínimo de inglês e acho que esses deveriam ao menos agradecer pelo trabalho de disponibilizar aqui.. Enfim.. novamente, Vamos começar

 

Esse sistema é composto de 3 ferramentas distintas.: Smith(forja de items), Smelt(derretimento de items), tanning (tratar a pele)
Caracteristicas

Caracteristicas da Forja
- Altamente configurável
- Sistema de uso simples e amigável
- Lista de items em ordem alfabética (Ammo, Helmets, Sword, etc)
- Lista de sub-items em ordem alfabética (Arrows, Bolts, Blacksteel Sword, etc)
- Forja de items - ¬¬
- Se tiver a quantia de items necessários para forjar o item novamente, uma janela ira aparecer perguntando se quer fabricar de modo rápido
- Caso não haja quantidade de items necessários ele retorna a seleção de items.
- Configuração de skills customizaveis individualmente com rates e level maximo
- Avanço de skills seguindo a mesma formula que as skills regulares e de facil configuração
- Chance bonus para forjar o item usando metade dos ingredientes
- Chance bonus de aumentar as skills em questão usada para forjar um item
- Suporta o rastreio de sets - Demon set, dwarven set, dragon scale set, etc
- Suporta adição de achievements quando o player cria uma peça do set
- Centenas de receitas existentes podem ser removidas ou alteradas da maneira que desejar
Derretimento e tratamento de peles
- Sistema similar a forja mas com foco menor
- trata peles, pelos, couro em matéria prima para forja
- Derrete vários tipos de metais e objetos de metals para produzir barras e materias refinados para forja.
Para usar o sistema de forja você precisa de um molten lava well (ids: 12458 ao 12461)
Para usar o derretimento você precisa de um lit crucible (id: 8641)
Para preparação das peles você precisa usar uma skinning knife (id:13828) em uma fur wall (id:3869)
Alguns items foram renomeados, então para o sistema não ficar confuso seria bom renomear, (não atrapalha o jogo em si)
- Whetstone (id:18337) alterado para iron ingot
- Goosebump leather (id:22539) alterado para raw leather
- Yellow powder (id:6547) alterado para gold ore

Bem são mais de 2mil linhas de códigos :) vamos realmente começar?!?!
-- ACTIONS
Em actions.xml adicione isto

<action itemid="12458" script="crafting/smith.lua"/>
<action itemid="12459" script="crafting/smith.lua"/>
<action itemid="12460" script="crafting/smith.lua"/>
<action itemid="12461" script="crafting/smith.lua"/>
<action itemid="8641" script="crafting/smelt.lua"/>
<action itemid="13828" script="crafting/tan.lua"/>

Crie um arquivo scripts/crafting/smith.lua e adicione isso

function onUse(cid, item, fromPosition, target, toPosition, isHotkey)
    local player = Player(cid)
    if not Player(player) then
        return false
    end
    player:sendEquipmentWindow()
    return true
end

Crie um arquivo scripts/crafting/smelt.lua e adicione isso

function onUse(cid, item, fromPosition, target, toPosition, isHotkey)
    local player = Player(cid)
    if not Player(player) then
        return false
    end
    player:sendProductWindow()
    return true
end

Crie um arquivo scripts/crafting/tan.lua e adicione isso

function onUse(cid, item, fromPosition, target, toPosition, isHotkey)
    local player = Player(cid)
    if not Player(player) then
        return false
    end
    if target.itemid == 3869 then
        return player:sendPeltWindow()
    end
    return false
end

-- CREATURESCRIPTS
Em creaturescripts.xml adicione isso

    <event type="modalwindow" name="smith_modal" script="smith.lua"/>
    <event type="modalwindow" name="smelt_modal" script="smelt.lua"/>
    <event type="modalwindow" name="tan_modal" script="tan.lua"/>

Crie um arquivo em creaturescripts/scripts/smith.lua e adicione isso

function onModalWindow(player, modalWindowId, buttonId, choiceId)
    player:equipmentWindowChoice(modalWindowId, buttonId, choiceId)
    player:eRecipeWindowChoice(modalWindowId, buttonId, choiceId)
    player:sortedWindowChoice(modalWindowId, buttonId, choiceId)
    return true
end

Crie um arquivo em creaturescripts/scripts/smelt.lua e adicione isso

function onModalWindow(player, modalWindowId, buttonId, choiceId)
    player:productWindowChoice(modalWindowId, buttonId, choiceId)
    player:recipeWindowChoice(modalWindowId, buttonId, choiceId)
    return true
end

Crie um arquivo em creaturescripts/scripts/tan.lua e adicione isso

function onModalWindow(player, modalWindowId, buttonId, choiceId)
    player:peltWindowChoice(modalWindowId, buttonId, choiceId)
    player:pRecipeWindowChoice(modalWindowId, buttonId, choiceId)
    return true
end

Em creaturescripts/scripts/login.lua adicione isso em qualquer area que seja depois da primera sessão de login

for i = 40000, 40012 do
            if player:getStorageValue(i) < 10 then
                player:setStorageValue(i, 10)
                player:setStorageValue(i + 1000, 0)
            end
        end

e registre os eventos no final

player:registerEvent("smith_modal")

player:registerEvent("smelt_modal")
player:registerEvent("tan_modal")

 

 

 

-- SESSÃO DATA

 

Em global.lua adicione

 

 

dofile('data/smith.lua')
dofile('data/smelt.lua')
dofile('data/tan.lua')
dofile('data/skills.lua') 

 

 

 

Crie o arquivo smith.lua e adicione isso

 

 

local recipes = {
        [1] = {name = "Ammo",
                options = {
                        [1] = {name = "Arrows", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 30, id = 2544,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 1}
                                }
                        },
                        [2] = {name = "Bolts", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 30, id = 2543,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [3] = {name = "Crystalline Arrows", learned = false, learnStorage = 0, storage = {40004}, level = {20}, tries = 2, count = 5, id = 18304,
                                needed = {
                                        [1] = {name = "blue crystal shard", id = 18413, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 1},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [4] = {name = "Infernal Bolts", learned = false, learnStorage = 0, storage = {40006, 40007}, level = {50, 10}, tries = 1, count = 5, id = 6529,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 1},
                                        [3] = {name = "soul orbs", id = 5944, count = 2},
                                }
                        },
                        [5] = {name = "Onyx Arrows", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 15, id = 7365,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [6] = {name = "Piercing Bolts", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 15, id = 7363,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "wood", id = 5901, count = 1}
                                }
                        },
                        [7] = {name = "Power Bolts", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 10, id = 2547,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 1},
                                }
                        },
                        [8] = {name = "Prismatic Bolts", learned = false, learnStorage = 0, storage = {40004}, level = {25}, tries = 2, count = 5, id = 18435,
                                needed = {
                                        [1] = {name = "blue crystal shard", id = 18413, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [9] = {name = "Sniper Arrows", learned = false, learnStorage = 0, storage = {40000}, level = {15}, tries = 1, count = 20, id = 7364,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                }
        },
        [2] = {name = "Armors",
                options = {
                        [1] = {name = "Albino Plate", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 21692,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [3] = {name = "Mooh'Tah shell", id = 23573, count = 1},
                                        [4] = {name = "zaogun shoulderplates", id = 11331, count = 4},
                                        [5] = {name = "cursed shoulder spikes", id = 11327, count = 2},
                                        [6] = {name = "gold ingots", id = 9971, count = 5}
                                }
                        },
                        [2] = {name = "Belted Cape", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 8872,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "yellow pieces of cloth", id = 5914, count = 25},
                                        [3] = {name = "raw leather", id = 22539, count = 5}
                                }
                        },
                        [3] = {name = "Blue Robe", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 4, count = 1, id = 2656,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 50},
                                        [2] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [4] = {name = "Brass Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2465,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "gold ore", id = 6547, count = 5}
                                }
                        },
                        [5] = {name = "Chain Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2464,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "pieces of iron", id = 2225, count = 10}
                                }
                        },
                        [6] = {name = "Crown Armor", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 2487,
                                needed = {
                                        [1] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "gold ingots", id = 9971, count = 5}
                                }
                        },
                        [7] = {name = "Crystalline Armor", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 8878,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [3] = {name = "iron ingots", id = 18337, count = 3},
                                        [4] = {name = "blue crystal shards", id = 18413, count = 100},
                                        [5] = {name = "cyan crystal fragments", id = 18419, count = 30},
                                }
                        },
                        [8] = {name = "Dark Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2489,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 15},
                                        [2] = {name = "pieces of iron", id = 2225, count = 5},
                                        [3] = {name = "gold ore", id = 6547, count = 2}
                                }
                        },
                        [9] = {name = "Demon Armor", learned = false, learnStorage = 0, storage = {40006, 40007}, level = {60, 40}, tries = 4, set = "demon", piece = 2, count = 1, id = 2494,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 50},
                                        [3] = {name = "essence of dread", id = 22472, count = 1},
                                        [4] = {name = "demon horns", id = 5954, count = 25},
                                        [5] = {name = "demon dusts", id = 5906, count = 100},
                                        [6] = {name = "demonic essences", id = 6500, count = 100},
                                        [7] = {name = "red pieces of cloth", id = 5911, count = 100},
                                        [8] = {name = "raw leather", id = 22539, count = 15},
                                }
                        },
                        [10] = {name = "Dragon Robe", learned = false, learnStorage = 0, storage = {40002, 40006}, level = {80, 20}, tries = 2, count = 1, id = 8867,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 100},
                                        [3] = {name = "small dragon tear", id = 21401, count = 1},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 2},
                                        [5] = {name = "red dragon leathers", id = 5948, count = 50},
                                        [6] = {name = "glimmering soil", id = 8299, count = 25}
                                }
                        },
                        [11] = {name = "Dragon Scale Mail", learned = false, learnStorage = 0, storage = {40002}, level = {50}, tries = 6, count = 1, id = 2492,
                                needed = {
                                        [1] = {name = "green dragon scales", id = 5920, count = 50},
                                        [2] = {name = "green dragon leathers", id = 5877, count = 10},
                                        [3] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 10},
                                        [5] = {name = "small dragon tear", id = 21401, count = 1},
                                        [6] = {name = "gold ingot", id = 9971, count = 1}
                                }
                        },
                        [12] = {name = "Dwarven Armor", learned = false, learnStorage = 0, storage = {40001, 40006}, level = {80, 80}, tries = 8, count = 1, id = 2503,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 100},
                                        [3] = {name = "gold ingots", id = 9971, count = 20},
                                        [4] = {name = "orbs of Light Undying", id = 24174, count = 2},
                                        [5] = {name = "flask of warrior's sweat", id = 5885, count = 1},
                                        [6] = {name = "holy soil", id = 8301, count = 25},
                                        [7] = {name = "essences of wishful thinking", id = 22473, count = 2}
                                }
                        },
                        [13] = {name = "Focus Cape", learned = false, learnStorage = 0, storage = {40003}, level = {20}, tries = 3, count = 1, id = 8871,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [3] = {name = "natural soil", id = 8298, count = 10},
                                        [4] = {name = "glimmering soil", id = 8299, count = 10},
                                        [5] = {name = "iced soil", id = 8302, count = 10},
                                        [6] = {name = "energy soil", id = 8303, count = 10}
                                }
                        },
                        [14] = {name = "Glacier Robe", learned = false, learnStorage = 0, storage = {40003}, level = {50}, tries = 9, count = 1, id = 7897,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [2] = {name = "white pieces of cloth", id = 5909, count = 25},
                                        [3] = {name = "iced soil", id = 8302, count = 25},
                                }
                        },
                        [15] = {name = "Golden Armor", learned = false, learnStorage = 0, storage = {40005}, level = {10}, tries = 1, count = 1, id = 2466,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 50},
                                        [3] = {name = "gold ingots", id = 9971, count = 75}
                                }
                        },
                        [16] = {name = "Greenwood Coat", learned = false, learnStorage = 0, storage = {40006}, level = {10}, tries = 1, count = 1, id = 8869,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "green pieces of cloth", id = 5910, count = 50},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 2},
                                        [4] = {name = "orb of Life Everchanging", id = 24181, count = 1},
                                        [5] = {name = "gold ingot", id = 9971, count = 1},
                                        [6] = {name = "natural soil", id = 8298, count = 25}
                                }
                        },
                        [17] = {name = "Lavos Armor", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 8877,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [3] = {name = "gold ingots", id = 9971, count = 10},
                                        [4] = {name = "soul orbs", id = 5944, count = 25},
                                        [5] = {name = "red crystal fragments", id = 18420, count = 100}
                                }
                        },
                        [18] = {name = "Leather Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2467,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 25},
                                }
                        },
                        [19] = {name = "Lightning Robe", learned = false, learnStorage = 0, storage = {40003}, level = {50}, tries = 9, count = 1, id = 7898,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [3] = {name = "energy soil", id = 8303, count = 25},
                                        [4] = {name = "iron ingots", id = 18337, count = 2},
                                }
                        },
                        [20] = {name = "Knight Armor", learned = false, learnStorage = 0, storage = {40000}, level = {25}, tries = 2, count = 1, id = 2476,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 15},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 5},
                                }
                        },
                        [21] = {name = "Magic Plate Armor", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 2472,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 100},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 100},
                                        [4] = {name = "neutral matter", id = 8310, count = 5},
                                        [5] = {name = "fighting spirits", id = 5884, count = 2},
                                        [6] = {name = "frozen starlight", id = 2361, count = 1},
                                        [7] = {name = "magic sulphur", id = 5904, count = 25}
                                }
                        },
                        [22] = {name = "Magma Coat", learned = false, learnStorage = 0, storage = {40003}, level = {50}, tries = 9, count = 1, id = 7899,
                                needed = {
                                        [1] = {name = "brown pieces of cloth", id = 5913, count = 25},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [3] = {name = "glimmering soil", id = 8299, count = 25},
                                        [4] = {name = "iron ingots", id = 18337, count = 5},
                                }
                        },
                        [23] = {name = "Mooh'Tah Plate", learned = false, learnStorage = 0, storage = {40004}, level = {15}, tries = 1, count = 1, id = 23537,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 5},
                                        [4] = {name = "Mooh'Tah shells", id = 23573, count = 3},
                                        [5] = {name = "gold ingots", id = 9971, count = 25}
                                }
                        },
                        [24] = {name = "Noble Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 5, count = 1, id = 2486,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "brown pieces of cloth", id = 5914, count = 5},
                                        [3] = {name = "iron ingots", id = 18337, count = 10},
                                        [4] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [5] = {name = "pieces of royal steel", id = 5889, count = 5},
                                        [6] = {name = "gold ingot", id = 9971, count = 1}
                                }
                        },
                        [25] = {name = "Ornate Chestplate", learned = false, learnStorage = 0, storage = {40006}, level = {70}, tries = 7, count = 1, id = 15406,
                                needed = {
                                        [1] = {name = "green pieces of cloth", id = 5910, count = 25},
                                        [2] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [3] = {name = "white pieces of cloth", id = 5909, count = 25},
                                        [4] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [5] = {name = "pieces of royal steel", id = 5887, count = 25},
                                        [6] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [7] = {name = "enchanted chicken wings", id = 5891, count = 2},
                                        [8] = {name = "neutral matter", id = 8310, count = 10},
                                        [9] = {name = "orb of Darkness Eternal", id = 24173, count = 1},
                                        [10] = {name = "gold ingots", id = 9971, count = 10}
                                }
                        },
                        [26] = {name = "Paladin Armor", learned = false, learnStorage = 0, storage = {40000}, level = {40}, tries = 4, count = 1, id = 8891,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 50},
                                        [2] = {name = "iron ingots", id = 18337, count = 15},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 3},
                                        [4] = {name = "gold ingots", id = 9971, count = 10}
                                }
                        },
                        [27] = {name = "Plate Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2463,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                }
                        },
                        [28] = {name = "Prismatic Armor", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 18404,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 10},
                                        [2] = {name = "blue crystal shards", id = 18413, count = 75},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 5},
                                        [4] = {name = "gold ingots", id = 9971, count = 15}
                                }
                        },
                        [29] = {name = "Robe of the Ice Queen", learned = false, learnStorage = 0, storage = {40006}, level = {20}, tries = 2, count = 1, id = 8866,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "blue pieces of cloth", id = 5912, count = 50},
                                        [3] = {name = "sea serpent scales", id = 10583, count = 10},
                                        [4] = {name = "seacrest scales", id = 24169, count = 6},
                                        [5] = {name = "spools of steel silk yarn", id = 24189, count = 3},
                                        [6] = {name = "seacrest pearl", id = 24116, count = 1},
                                        [7] = {name = "iced soil", id = 8302, count = 25}
                                }
                        },
                        [30] = {name = "Robe of the Underworld", learned = false, learnStorage = 0, storage = {40006}, level = {60}, tries = 6, count = 1, id = 8890,
                                needed = {
                                        [1] = {name = "demonic essences", id = 6500, count = 50},
                                        [2] = {name = "soul orbs", id = 5944, count = 25},
                                        [3] = {name = "demon horns", id = 5954, count = 100},
                                        [4] = {name = "essences of a bad dream", id = 11223, count = 50},
                                        [5] = {name = "necromantic rust", id = 23567, count = 1},
                                        [6] = {name = "essence of dread", id = 22472, count = 1},
                                        [7] = {name = "frozen starlight", id = 2361, count = 1},
                                        [8] = {name = "brown pieces of cloth", id = 5913, count = 25},
                                        [9] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [10] = {name = "yellow pieces of cloth", id = 5914, count = 25},
                                        [11] = {name = "midnight shards", id = 10531, count = 5},
                                        [12] = {name = "orb of Darkness Eternal", id = 24173, count = 1},
                                }
                        },
                        [31] = {name = "Scale Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2483,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "iron ingots", id = 18337, count = 10},
                                        [3] = {name = "piece of hell steel", id = 5889, count = 1},
                                }
                        },
                        [32] = {name = "Skullcracker Armor", learned = false, learnStorage = 0, storage = {40006}, level = {10}, tries = 1, count = 1, id = 8889,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 50},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [5] = {name = "demonic essences", id = 6500, count = 25},
                                        [6] = {name = "soul orbs", id = 5944, count = 15},
                                        [7] = {name = "essences of a bad dream", id = 11223, count = 25},
                                        [8] = {name = "necromantic rust", id = 23567, count = 1},
                                }
                        },
                        [33] = {name = "Spirit Cloak", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 2, count = 1, id = 8870,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [2] = {name = "white pieces of cloth", id = 5909, count = 25},
                                        [3] = {name = "natural soil", id = 8298, count = 5},
                                        [4] = {name = "glimmering soil", id = 8299, count = 5},
                                        [5] = {name = "iced soil", id = 8302, count = 5},
                                        [6] = {name = "energy soil", id = 8303, count = 5}
                                }
                        },
                        [34] = {name = "Studded Armor", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2484,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 15},
                                        [2] = {name = "iron ingots", id = 18337, count = 2},
                                        [3] = {name = "pieces of iron", id = 2225, count = 5},
                                }
                        },
                        [35] = {name = "Swamplair Armor", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 8880,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 15},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [4] = {name = "green crystal fragments", id = 18421, count = 30},
                                        [5] = {name = "green crystal shards", id = 18415, count = 100}
                                }
                        },
                        [36] = {name = "Terra Mantle", learned = false, learnStorage = 0, storage = {40003}, level = {50}, tries = 9, count = 1, id = 7884,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 25},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 25},
                                        [4] = {name = "natural soil", id = 8298, count = 25},
                                        [5] = {name = "iron ingots", id = 18337, count = 5},
                                }
                        },
                        [37] = {name = "Velvet Mantle", learned = false, learnStorage = 0, storage = {40006}, level = {10}, tries = 1, count = 1, id = 8868,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "blue pieces of cloth", id = 5912, count = 25},
                                        [3] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [4] = {name = "necromantic rust", id = 23567, count = 1},
                                        [5] = {name = "wyrm scales", id = 10582, count = 20},
                                        [6] = {name = "spools of steel silk yarn", id = 24189, count = 3},
                                        [7] = {name = "energy soil", id = 8303, count = 25},
                                }
                        },
                        [38] = {name = "Voltage Armor", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 8879,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 25},
                                        [4] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [5] = {name = "violet crystal shards", id = 18414, count = 100},
                                        [6] = {name = "cyan crystal fragments", id = 18419, count = 30},
                                        [7] = {name = "frozen starlights", id = 2361, count = 2},
                                }
                        },
                        [39] = {name = "Zaoan Armor", learned = false, learnStorage = 0, storage = {40000}, level = {50}, tries = 6, count = 1, id = 11301,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 15},
                                        [2] = {name = "iron ingots", id = 18337, count = 5},
                                        [3] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [4] = {name = "brown pieces of cloth", id = 5913, count = 10},
                                        [5] = {name = "yellow pieces of cloth", id = 5914, count = 10},
                                        [6] = {name = "white pieces of cloth", id = 5909, count = 10},
                                }
                        },
                        [40] = {name = "Zaoan Robe", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {20, 10}, tries = 2, count = 1, id = 11356,
                                needed = {
                                        [1] = {name = "yellow pieces of cloth", id = 5914, count = 25},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 25},
                                        [3] = {name = "glimmering soil", id = 8299, count = 25},
                                }
                        },
                }
        },
        [3] = {name = "Axes",
                options = {
                        [1] = {name = "Angelic Axe", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 7436,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "iron ingots", id = 18337, count = 4},
                                        [3] = {name = "wood", id = 5901, count = 4},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 5},
                                }
                        },
                        [2] = {name = "Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2386,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [3] = {name = "Battle Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2378,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "red piece of cloth", id = 5911, count = 1},
                                }
                        },
                        [4] = {name = "Beastslayer Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 3, count = 1, id = 3962,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "wood", id = 5901, count = 1},
                                        [4] = {name = "gold ingots", id = 9971, count = 3}
                                }
                        },
                        [5] = {name = "Double Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2387,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "pieces of iron", id = 2225, count = 6}
                                }
                        },
                        [6] = {name = "Dragon Lance", learned = false, learnStorage = 0, storage = {40002, 40004}, level = {40, 10}, tries = 4, count = 1, id = 2414,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 1},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 5},
                                        [3] = {name = "pieces of draconian steel", id = 5889, count = 10},
                                }
                        },
                        [7] = {name = "Drakinata", learned = false, learnStorage = 0, storage = {40002}, level = {30}, tries = 3, count = 1, id = 11305,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "pieces of draconian steel", id = 5889, count = 5},
                                        [4] = {name = "gold ingot", id = 9971, count = 1},
                                        [5] = {name = "red piece of cloth", id = 5911, count = 1},
                                }
                        },
                        [8] = {name = "Dwarven Axe", learned = false, learnStorage = 0, storage = {40001}, level = {20}, tries = 2, count = 1, id = 2435,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "iron ingots", id = 18337, count = 5},
                                        [3] = {name = "wood", id = 5901, count = 1},
                                        [4] = {name = "gold ingots", id = 9971, count = 4},
                                }
                        },
                        [9] = {name = "Glorious Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 7454,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 4},
                                        [3] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [10] = {name = "Guardian Halberd", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 2427,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [4] = {name = "wood", id = 5901, count = 6}
                                }
                        },
                        [11] = {name = "Halberd", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2381,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [12] = {name = "Hatchet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2388,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "raw leather", id = 22539, count = 2},
                                        [3] = {name = "wood", id = 5901, count = 1}
                                }
                        },
                        [13] = {name = "Headchopper", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 7380,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "red crystal fragment", id = 18420, count = 1},
                                        [4] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [14] = {name = "Heroic Axe", learned = false, learnStorage = 0, storage = {40004}, level = {40}, tries = 4, count = 1, id = 7389,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "wood", id = 5901, count = 4},
                                        [4] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [5] = {name = "pieces of royal steel", id = 5887, count = 20},
                                        [6] = {name = "gold ingots", id = 9971, count = 10},
                                }
                        },
                        [15] = {name = "Knight Axe", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 2430,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 3},
                                        [3] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [16] = {name = "Naginata", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2426,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "wood", id = 5901, count = 8}
                                }
                        },
                        [17] = {name = "Noble Axe", learned = false, learnStorage = 0, storage = {40000}, level = {40}, tries = 5, count = 1, id = 7456,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 5},
                                        [3] = {name = "gold ingots", id = 9971, count = 25},
                                }
                        },
                        [18] = {name = "Obsidian Lance", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 3, count = 1, id = 2425,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "raw leather", id = 22539, count = 3},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 3},
                                        [4] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [5] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [19] = {name = "Ruthless Axe", learned = false, learnStorage = 0, storage = {40004}, level = {40}, tries = 4, count = 1, id = 6553,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "raw leather", id = 22539, count = 3},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 6},
                                        [4] = {name = "pieces of royal steel", id = 5888, count = 6},
                                        [5] = {name = "huge chunks of crude iron", id = 5892, count = 4},
                                        [6] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [20] = {name = "Steel Axe", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 5, count = 1, id = 8601,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "raw leather", id = 22539, count = 3},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 3},
                                        [4] = {name = "pieces of royal steel", id = 5888, count = 3},
                                        [5] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [6] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [21] = {name = "Stonecutter Axe", learned = false, learnStorage = 0, storage = {40006}, level = {40}, tries = 4, count = 1, id = 2431,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 12},
                                        [2] = {name = "pieces of royal steel", id = 5888, count = 12},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 6},
                                        [4] = {name = "neutral matter", id = 8310, count = 5},
                                        [5] = {name = "seacrest pearls", id = 24116, count = 5},
                                        [6] = {name = "weapon matrix crystal", id = 9743, count = 1},
                                        [7] = {name = "wood", id = 5901, count = 1}
                                }
                        },
                        [22] = {name = "Titan Axe", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 7413,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 6},
                                        [4] = {name = "huge chunks of crude iron", id = 5892, count = 4},
                                        [5] = {name = "brown pieces of cloth", id = 5913, count = 5},
                                        [6] = {name = "white pieces of cloth", id = 5909, count = 5},
                                        [7] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [23] = {name = "War Axe", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 2454,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [4] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [24] = {name = "Warrior's Axe", learned = false, learnStorage = 0, storage = {40000}, level = {40}, tries = 4, count = 1, id = 15451,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [4] = {name = "gold ingots", id = 9971, count = 10},
                                        [5] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                       
                }
        },
        [4] = {name = "Boots",
                options = {
                        [1] = {name = "Boots of Haste", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {60, 20}, tries = 2, count = 1, id = 2195,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "enchanted chicken wings", id = 5891, count = 4}
                                }
                        },
                        [2] = {name = "Crystal Boots", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 11117,
                                needed = {
                                        [1] = {name = "seacrest scales", id = 24169, count = 10},
                                        [2] = {name = "sea serpent scales", id = 10583, count = 50},
                                        [3] = {name = "iced soil", id = 8302, count = 100},
                                        [4] = {name = "blue crystal shard", id = 18413, count = 100},
                                        [5] = {name = "blue crystal shard", id = 18419, count = 100},
                                }
                        },
                        [3] = {name = "Dragon Scale Boots", learned = false, learnStorage = 0, storage = {40002, 40006}, level = {50, 30}, tries = 3, count = 1, id = 11118,
                                needed = {
                                        [1] = {name = "green dragon scales", id = 5920, count = 30},
                                        [2] = {name = "green dragon leathers", id = 5877, count = 30},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 25},
                                        [5] = {name = "small dragon tears", id = 21401, count = 2},
                                }
                        },
                        [4] = {name = "Draken Boots", learned = false, learnStorage = 0, storage = {40002, 40004}, level = {40, 30}, tries = 3, count = 1, id = 12646,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 15},
                                        [3] = {name = "brown pieces of cloth", id = 5913, count = 15},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 15},
                                        [5] = {name = "gold ingots", id = 9971, count = 15},
                                }
                        },
                        [5] = {name = "Glacier Shoes", learned = false, learnStorage = 0, storage = {40003}, level = {20}, tries = 2, count = 1, id = 7892,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [2] = {name = "white pieces of cloth", id = 5909, count = 15},
                                        [3] = {name = "iced soil", id = 8302, count = 15},
                                }
                        },
                        [6] = {name = "Golden Boots", learned = false, learnStorage = 0, storage = {40006}, level = {50}, tries = 5, count = 1, id = 2646,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 30},
                                        [3] = {name = "gold ingots", id = 9971, count = 50},
                                        [4] = {name = "orbs of Light Undying", id = 24174, count = 2},
                                        [5] = {name = "holy soil", id = 8301, count = 20},
                                        [6] = {name = "essences of wishful thinking", id = 22473, count = 2},                                  
                                        [7] = {name = "fighting spirits", id = 5884, count = 2},
                                }
                        },
                        [7] = {name = "Guardian Boots", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 11240,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 6},
                                }
                        },
                        [8] = {name = "Leather Boots", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2643,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6}
                                }
                        },
                        [9] = {name = "Lightning Boots", learned = false, learnStorage = 0, storage = {40003}, level = {20}, tries = 2, count = 1, id = 7893,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [3] = {name = "red pieces of cloth", id = 5911, count = 15},
                                        [4] = {name = "energy soil", id = 8303, count = 15},
                                        [5] = {name = "iron ingots", id = 18337, count = 2},
                                        [6] = {name = "cyan crystal fragments", id = 18419, count = 10},
                                }
                        },
                        [10] = {name = "Magma Boots", learned = false, learnStorage = 0, storage = {40003}, level = {20}, tries = 2, count = 1, id = 7891,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 15},
                                        [3] = {name = "red pieces of cloth", id = 5911, count = 15},
                                        [4] = {name = "glimmering soil", id = 8299, count = 15},
                                        [5] = {name = "iron ingots", id = 18337, count = 2},
                                }
                        },
                        [11] = {name = "Patched Boots", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2641,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "leather boots", id = 2643, count = 1},
                                        [3] = {name = "brown pieces of cloth", id = 5913, count = 6},
                                }
                        },
                        [12] = {name = "Prismatic Boots", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 18406,
                                needed = {
                                        [1] = {name = "blue crystal shards", id = 18413, count = 50},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [3] = {name = "gold ingots", id = 9971, count = 25}
                                }
                        },
                        [13] = {name = "Steel Boots", learned = false, learnStorage = 0, storage = {40004}, level = {25}, tries = 2, count = 1, id = 2645,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "piece of royal steel", id = 5887, count = 2},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                }
                        },
                        [14] = {name = "Terra Boots", learned = false, learnStorage = 0, storage = {40003}, level = {20}, tries = 2, count = 1, id = 7886,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 15},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 15},
                                        [4] = {name = "natural soil", id = 8298, count = 15},
                                        [5] = {name = "iron ingots", id = 18337, count = 2},
                                        [6] = {name = "gold ingots", id = 9971, count = 4}
                                }
                        },
                        [15] = {name = "Zaoan Shoes", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 11303,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 10},
                                        [3] = {name = "blue pieces of cloth", id = 5912, count = 10},
                                        [4] = {name = "white pieces of cloth", id = 5909, count = 10},
                                }
                        },
                }
        },
        [5] = {name = "Clubs",
                options = {
                        [1] = {name = "Banana Staff", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 3966,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 5},
                                        [3] = {name = "wood", id = 5901, count = 3},
                                        [4] = {name = "banana", id = 2676, count = 1}
                                }
                        },
                        [2] = {name = "Battle Hammer", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2417,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [3] = {name = "Clerical Mace", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2423,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [4] = {name = "Cranial Basher", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 7415,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 20},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                }
                        },
                        [5] = {name = "Demonbone", learned = false, learnStorage = 0, storage = {40005, 40007}, level = {50, 10}, tries = 1, count = 1, id = 7431,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 10},
                                        [3] = {name = "essence of dread", id = 22472, count = 1},
                                        [4] = {name = "demon horns", id = 5954, count = 25},
                                        [5] = {name = "demon dusts", id = 5906, count = 100},
                                        [6] = {name = "red pieces of cloth", id = 5911, count = 10},
                                        [7] = {name = "raw leather", id = 22539, count = 5},
                                }
                        },
                        [6] = {name = "Diamond Sceptre", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 3, count = 1, id = 7387,
                                needed = {
                                        [1] = {name = "small diamonds", id = 2145, count = 10},
                                        [2] = {name = "iron ingots", id = 18337, count = 2},
                                        [3] = {name = "raw leather", id = 22539, count = 3},
                                        [4] = {name = "wood", id = 5901, count = 3},
                                }
                        },
                        [7] = {name = "Drachaku", learned = false, learnStorage = 0, storage = {40002}, level = {30}, tries = 3, count = 1, id = 11308,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 15},
                                        [3] = {name = "raw leather", id = 22539, count = 6},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 4},
                                }
                        },
                        [8] = {name = "Dragon Hammer", learned = false, learnStorage = 0, storage = {40002}, level = {10}, tries = 2, count = 1, id = 2434,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [3] = {name = "pieces of draconian steel", id = 5889, count = 15},
                                        [4] = {name = "small dragon tear", id = 21401, count = 1}
                                }
                        },
                        [9] = {name = "Heavy Mace", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 2452,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 10},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [4] = {name = "raw leather", id = 22539, count = 6},
                                }
                        },
                        [10] = {name = "Iron Hammer", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2422,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 5}
                                }
                        },
                        [11] = {name = "Mace", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2398,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [12] = {name = "Morning Star", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2394,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "pieces of iron", id = 2225, count = 15},
                                        [3] = {name = "wood", id = 5901, count = 5}
                                }
                        },
                        [13] = {name = "Onyx Flail", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 7421,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 10},
                                        [3] = {name = "midnight shards", id = 10531, count = 25},
                                        [4] = {name = "demon horns", id = 5954, count = 15},
                                        [5] = {name = "demon dusts", id = 5906, count = 20},
                                        [6] = {name = "raw leather", id = 22539, count = 2},
                                }
                        },
                        [14] = {name = "Orcish Maul", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 7392,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 30},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                }
                        },
                        [15] = {name = "Ornate Mace", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 15414,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 4},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 50},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 5},
                                        [4] = {name = "blue pieces of cloth", id = 5912, count = 5},
                                        [5] = {name = "white pieces of cloth", id = 5909, count = 5},
                                        [6] = {name = "raw leather", id = 22539, count = 5},
                                        [7] = {name = "neutral matter", id = 8310, count = 15},
                                        [8] = {name = "gold ingots", id = 9971, count = 5},
                                        [9] = {name = "seacrest pearl", id = 24116, count = 1}
                                }
                        },
                        [16] = {name = "Sapphire Hammer", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 4, count = 1, id = 7437,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "gold ingots", id = 9971, count = 15},
                                        [3] = {name = "raw leather", id = 22539, count = 5},
                                        [4] = {name = "red pieces of cloth", id = 5911, count = 5},
                                        [5] = {name = "small sapphires", id = 2146, count = 2},
                                        [6] = {name = "pieces of royal steel", id = 5887, count = 5},
                                }
                        },
                        [17] = {name = "Staff", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2401,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 9},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 6},
                                        [3] = {name = "raw leather", id = 22539, count = 5},
                                        [4] = {name = "wood", id = 5901, count = 15}
                                }
                        },
                        [18] = {name = "Spiked Squelcher", learned = false, learnStorage = 0, storage = {40000}, level = {25}, tries = 2, count = 1, id = 7452,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 8},
                                        [3] = {name = "raw leather", id = 22539, count = 5},
                                        [4] = {name = "wood", id = 5901, count = 5}
                                }
                        },
                        [19] = {name = "Studded Club", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2448,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "wood", id = 5901, count = 10}
                                }
                        },
                        [20] = {name = "War Hammer", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2391,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                }
        },
        [6] = {name = "Distance",
                options = {
                        [1] = {name = "Arbalest", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 5803,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 10},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 50},
                                        [4] = {name = "spools of steel silk yarn", id = 24189, count = 5},
                                        [5] = {name = "string of mending", id = 22542, count = 1},
                                        [6] = {name = "wood", id = 5901, count = 15}
                                }
                        },
                        [2] = {name = "Bow", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2456,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [3] = {name = "Chain Bolter", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 8850,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 10},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 50},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 50},
                                        [5] = {name = "spools of steel silk yarn", id = 24189, count = 5},
                                        [6] = {name = "string of mending", id = 22542, count = 1},
                                        [7] = {name = "essence of wishful thinking", id = 22473, count = 1},
                                        [8] = {name = "wood", id = 5901, count = 15}
                                }
                        },
                        [4] = {name = "Composite Hornbow", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 8855,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 5},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 5},
                                        [4] = {name = "spools of steel silk yarn", id = 24189, count = 2},
                                        [5] = {name = "wood", id = 5901, count = 8}
                                }
                        },
                        [5] = {name = "Crossbow", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2455,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 6}
                                }
                        },
                        [6] = {name = "Crystal Crossbow", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 18453,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "iron ingots", id = 18337, count = 3},
                                        [3] = {name = "spools of steel silk yarn", id = 24189, count = 3},
                                        [4] = {name = "green crystal shards", id = 18415, count = 50},
                                        [5] = {name = "cyan crystal fragments", id = 18419, count = 20},
                                        [6] = {name = "red crystal fragments", id = 18420, count = 10},
                                        [7] = {name = "wood", id = 5901, count = 6}
                                }
                        },
                        [7] = {name = "Ironworker", learned = false, learnStorage = 0, storage = {40005}, level = {20}, tries = 2, count = 1, id = 8853,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 15},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 30},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 30},
                                        [5] = {name = "spools of steel silk yarn", id = 24189, count = 4},
                                        [6] = {name = "string of mending", id = 22542, count = 1},
                                }
                        },
                        [8] = {name = "Modified Crossbow", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 8849,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 6},
                                        [3] = {name = "crossbow", id = 2455, count = 1},
                                        [4] = {name = "iron ingots", id = 18337, count = 5},
                                }
                        },
                        [9] = {name = "Mycological Bow", learned = false, learnStorage = 0, storage = {40006}, level = {20}, tries = 2, count = 1, id = 18454,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 4},
                                        [2] = {name = "iron ingots", id = 18337, count = 5},
                                        [3] = {name = "spools of steel silk yarn", id = 24189, count = 6},
                                        [4] = {name = "strings of mending", id = 22542, count = 2},
                                        [5] = {name = "essence of dread", id = 22472, count = 1},
                                        [6] = {name = "red pieces of cloth", id = 5911, count = 6},
                                        [7] = {name = "white pieces of cloth", id = 5909, count = 10},
                                        [8] = {name = "wood", id = 5901, count = 8}
                                }
                        },
                        [10] = {name = "Ornate Crossbow", learned = false, learnStorage = 0, storage = {40005}, level = {10}, tries = 1, count = 1, id = 15644,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 6},
                                        [2] = {name = "green pieces of cloth", id = 5910, count = 15},
                                        [3] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [4] = {name = "white pieces of cloth", id = 5909, count = 15},
                                        [5] = {name = "pieces of royal steel", id = 5887, count = 30},
                                        [6] = {name = "enchanted chicken wings", id = 5891, count = 4},
                                        [7] = {name = "spools of steel silk yarn", id = 24189, count = 10},
                                        [8] = {name = "strings of mending", id = 22542, count = 2},
                                        [9] = {name = "gold ingots", id = 9971, count = 15},
                                        [10] = {name = "wood", id = 5901, count = 8}
                                }
                        },
                        [11] = {name = "Royal Spear", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 7378,
                                needed = {
                                        [1] = {name = "spear", id = 22539, count = 2},
                                        [2] = {name = "iron ingot", id = 18337, count = 2},
                                        [3] = {name = "piece of royal steel", id = 5887, count = 1},
                                }
                        },
                        [12] = {name = "Silkweaver Bow", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 8857,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "green pieces of cloth", id = 5910, count = 30},
                                        [3] = {name = "white pieces of cloth", id = 5909, count = 20},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 2},
                                        [5] = {name = "pieces of hell steel", id = 5888, count = 2},
                                        [6] = {name = "spools of steel silk yarn", id = 24189, count = 10},
                                        [7] = {name = "wood", id = 5901, count = 8}
                                }
                        },
                        [13] = {name = "Spear", count = 1, learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, id = 2389,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [14] = {name = "Throwing Knives", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 10, id = 2410,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 4},
                                        [2] = {name = "iron ingots", id = 18337, count = 3},
                                }
                        },
                        [15] = {name = "Throwing Stars", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 10, id = 2399,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 3},
                                }
                        },
                        [16] = {name = "Warsinger Bow", learned = false, learnStorage = 0, storage = {40006}, level = {20}, tries = 2, count = 1, id = 8854,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 50},
                                        [3] = {name = "yellow pieces of cloth", id = 5914, count = 15},
                                        [4] = {name = "spools of steel silk yarn", id = 24189, count = 8},
                                        [5] = {name = "strings of mending", id = 22542, count = 4},
                                        [6] = {name = "gold ingots", id = 9971, count = 10},
                                        [7] = {name = "wood", id = 5901, count = 6}
                                }
                        },
                }
        },
        [7] = {name = "Helmets",
                options = {
                        [1] = {name = "Brass Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2460,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "gold ore", id = 6547, count = 2}
                                }
                        },
                        [2] = {name = "Chain Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2458,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "pieces of iron", id = 2225, count = 4}
                                }
                        },
                        [3] = {name = "Crown Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 2491,
                                needed = {
                                        [1] = {name = "pieces of royal steel", id = 5887, count = 6},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [4] = {name = "Crusader Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {40}, tries = 4, count = 1, id = 2497,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 6},
                                        [3] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [5] = {name = "Demon Helmet", learned = false, learnStorage = 0, storage = {40005, 40007}, level = {70, 30}, tries = 3, set = "demon", piece = 1, count = 1, id = 2493,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 30},
                                        [3] = {name = "essences of dread", id = 22472, count = 2},
                                        [4] = {name = "demon horns", id = 5954, count = 15},
                                        [5] = {name = "demon dusts", id = 5906, count = 50},
                                        [6] = {name = "demonic essences", id = 6500, count = 100},
                                        [7] = {name = "red pieces of cloth", id = 5911, count = 10},
                                        [8] = {name = "raw leather", id = 22539, count = 5},
                                        [9] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [6] = {name = "Devil Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 2462,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 10},
                                        [4] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [7] = {name = "Dragon Scale Helmet", learned = false, learnStorage = 0, storage = {40002, 40006}, level = {80, 40}, tries = 4, count = 1, id = 2506,
                                needed = {
                                        [1] = {name = "green dragon scales", id = 5920, count = 30},
                                        [2] = {name = "green dragon leathers", id = 5877, count = 15},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 20},
                                        [5] = {name = "small dragon tear", id = 21401, count = 4},
                                        [6] = {name = "gold ingot", id = 9971, count = 1}
                                }
                        },
                        [8] = {name = "Dwarven Helmet", learned = false, learnStorage = 0, storage = {40001, 40005}, level = {75, 50}, tries = 5, count = 1, id = 2502,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 50},
                                        [3] = {name = "orb of Light Undying", id = 24174, count = 1},
                                        [4] = {name = "flask of warrior's sweat", id = 5885, count = 1},
                                        [5] = {name = "holy soil", id = 8301, count = 15},
                                        [6] = {name = "essence of wishful thinking", id = 22473, count = 1}
                                }
                        },
                        [9] = {name = "Golden Helmet", learned = false, learnStorage = 0, storage = {40006}, level = {80}, tries = 8, count = 1, id = 2471,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 50},
                                        [3] = {name = "gold ingots", id = 9971, count = 35},
                                        [4] = {name = "orbs of Light Undying", id = 24174, count = 2},
                                        [5] = {name = "orbs of Darkness Eternal", id = 24173, count = 2},
                                        [6] = {name = "orbs of Life Everchanging", id = 24181, count = 2},
                                        [7] = {name = "essence of wishful thinking", id = 22473, count = 1},
                                        [8] = {name = "bars of gold", id = 15515, count = 10}
                                }
                        },
                        [10] = {name = "Glacier Mask", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 3, count = 1, id = 7902,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [2] = {name = "white pieces of cloth", id = 5909, count = 15},
                                        [3] = {name = "iced soil", id = 8302, count = 15},
                                }
                        },
                        [11] = {name = "Helmet of the Ancients", learned = false, learnStorage = 0, storage = {40005}, level = {50}, tries = 5, count = 1, id = 2342,
                                needed = {
                                        [1] = {name = "pieces of royal steel", id = 5887, count = 3},
                                        [2] = {name = "damaged helmet", id = 2339, count = 1},
                                        [3] = {name = "helmet piece", id = 2340, count = 1},
                                        [4] = {name = "helmet adornment", id = 2341, count = 1},
                                        [5] = {name = "helmet ornament", id = 2335, count = 1},
                                        [6] = {name = "gem holder", id = 2336, count = 1},
                                        [7] = {name = "right horn", id = 2337, count = 1},
                                        [8] = {name = "left horn", id = 2338, count = 1},
                                }
                        },
                        [12] = {name = "Iron Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2459,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                }
                        },
                        [13] = {name = "Leather Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2461,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                }
                        },
                        [14] = {name = "Legion Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2480,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "pieces of iron", id = 2225, count = 6}
                                }
                        },
                        [15] = {name = "Lightning Headband", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 3, count = 1, id = 7901,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 15},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 15},
                                        [3] = {name = "energy soil", id = 8303, count = 15},
                                        [4] = {name = "iron ingots", id = 18337, count = 2},
                                }
                        },
                        [16] = {name = "Magma Monocle", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 3, count = 1, id = 7900,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [2] = {name = "glimmering soil", id = 8299, count = 15},
                                        [3] = {name = "iron ingots", id = 18337, count = 5},
                                }
                        },
                        [17] = {name = "Prismatic Helmet", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 18403,
                                needed = {
                                        [1] = {name = "blue crystal shards", id = 18413, count = 50},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 15},
                                        [3] = {name = "gold ingots", id = 9971, count = 25}
                                }
                        },
                        [18] = {name = "Royal Helmet", learned = false, learnStorage = 0, storage = {40004}, level = {40}, tries = 4,  count = 1, id = 2498,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 10},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 20},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [4] = {name = "gold ingots", id = 9971, count = 20}
                                }
                        },
                        [19] = {name = "Soldier Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2481,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "raw leather", id = 22539, count = 10}
                                }
                        },
                        [20] = {name = "Steel Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2457,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                }
                        },
                        [21] = {name = "Studded Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2482,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "iron ingots", id = 18337, count = 2},
                                        [3] = {name = "pieces of iron", id = 2225, count = 3},
                                }
                        },
                        [22] = {name = "Terra Hood", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 3, count = 1, id = 7903,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 15},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 15},
                                        [4] = {name = "natural soil", id = 8298, count = 15},
                                }
                        },
                        [23] = {name = "Warrior Helmet", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3,  count = 1, id = 2475,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 10},
                                        [3] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                }
                        },
                        [24] = {name = "Zaoan Helmet", learned = false, learnStorage = 0, storage = {40004}, level = {50}, tries = 5, count = 1, id = 11302,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "iron ingots", id = 18337, count = 15},
                                        [3] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [5] = {name = "pieces of hell steel", id = 5888, count = 10},
                                        [6] = {name = "gold ingots", id = 9971, count = 25}
                                }
                        },
                       
                }
        },
        [8] = {name = "Legs",
                options = {
                        [1] = {name = "Blue Legs", learned = false, learnStorage = 0, storage = {40003}, level = {30}, tries = 4, count = 1, id = 7730,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 50},
                                        [2] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [2] = {name = "Brass Legs", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2478,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "gold ore", id = 6547, count = 4}
                                }
                        },
                        [3] = {name = "Chain Legs", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2648,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "pieces of iron", id = 2225, count = 8}
                                }
                        },
                        [4] = {name = "Crown Legs", learned = false, learnStorage = 0, storage = {40004}, level = {20}, tries = 2, count = 1, id = 2488,
                                needed = {
                                        [1] = {name = "pieces of royal steel", id = 5887, count = 15},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "gold ingots", id = 9971, count = 6}
                                }
                        },
                        [5] = {name = "Demon Legs", learned = false, learnStorage = 0, storage = {40006, 40007}, level = {80, 50}, tries = 5, set = "demon", piece = 3, count = 1, id = 2495,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 30},
                                        [3] = {name = "essences of dread", id = 22472, count = 2},
                                        [4] = {name = "demon horns", id = 5954, count = 35},
                                        [5] = {name = "demon dusts", id = 5906, count = 200},
                                        [6] = {name = "demonic essences", id = 6500, count = 200},
                                        [7] = {name = "red pieces of cloth", id = 5911, count = 75},
                                        [8] = {name = "raw leather", id = 22539, count = 15},
                                        [9] = {name = "gold ingots", id = 9971, count = 4}
                                }
                        },
                        [6] = {name = "Dragon Scale Legs", learned = false, learnStorage = 0, storage = {40002, 40006}, level = {70, 40}, tries = 4, count = 1, id = 2469,
                                needed = {
                                        [1] = {name = "green dragon scales", id = 5920, count = 40},
                                        [2] = {name = "green dragon leathers", id = 5877, count = 20},
                                        [3] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 50},
                                        [5] = {name = "small dragon tear", id = 21401, count = 5},
                                        [6] = {name = "gold ingot", id = 9971, count = 5}
                                }
                        },
                        [7] = {name = "Dwarven Legs", learned = false, learnStorage = 0, storage = {40001, 40005}, level = {50, 40}, tries = 4, count = 1, id = 2504,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 3},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 75},
                                        [3] = {name = "gold ingots", id = 9971, count = 15},
                                        [4] = {name = "orb of Light Undying", id = 24174, count = 1},
                                        [5] = {name = "holy soil", id = 8301, count = 15},
                                        [6] = {name = "essence of wishful thinking", id = 22473, count = 1}
                                }
                        },
                        [8] = {name = "Glacier Kilt", learned = false, learnStorage = 0, storage = {40003}, level = {40}, tries = 7, count = 1, id = 7896,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 20},
                                        [2] = {name = "white pieces of cloth", id = 5909, count = 20},
                                        [3] = {name = "iced soil", id = 8302, count = 20},
                                }
                        },
                        [9] = {name = "Golden Legs", learned = false, learnStorage = 0, storage = {40004}, level = {50}, tries = 5, count = 1, id = 2470,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 4},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 40},
                                        [3] = {name = "gold ingots", id = 9971, count = 50}
                                }
                        },
                        [10] = {name = "Leather Legs", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2649,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10}
                                }
                        },
                        [11] = {name = "Lightning Legs", learned = false, learnStorage = 0, storage = {40003}, level = {40}, tries = 7, count = 1, id = 7895,
                                needed = {
                                        [1] = {name = "blue pieces of cloth", id = 5912, count = 20},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 20},
                                        [3] = {name = "energy soil", id = 8303, count = 20},
                                        [4] = {name = "iron ingots", id = 18337, count = 4},
                                }
                        },
                        [12] = {name = "Knight Legs", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 2477,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "pieces of hell steel", id = 5888, count = 8},
                                }
                        },
                        [13] = {name = "Magma Legs", learned = false, learnStorage = 0, storage = {40003}, level = {40}, tries = 7, count = 1, id = 7894,
                                needed = {
                                        [1] = {name = "brown pieces of cloth", id = 5913, count = 20},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 20},
                                        [3] = {name = "glimmering soil", id = 8299, count = 20},
                                        [4] = {name = "iron ingots", id = 18337, count = 3},
                                }
                        },
                        [14] = {name = "Ornate Legs", learned = false, learnStorage = 0, storage = {40006}, level = {50}, tries = 5, count = 1, id = 15412,
                                needed = {
                                        [1] = {name = "green pieces of cloth", id = 5910, count = 20},
                                        [2] = {name = "blue pieces of cloth", id = 5912, count = 20},
                                        [3] = {name = "white pieces of cloth", id = 5909, count = 20},
                                        [4] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [5] = {name = "pieces of royal steel", id = 5887, count = 20},
                                        [6] = {name = "pieces of hell steel", id = 5888, count = 20},
                                        [7] = {name = "enchanted chicken wings", id = 5891, count = 4},
                                        [8] = {name = "neutral matter", id = 8310, count = 5},
                                        [9] = {name = "gold ingots", id = 9971, count = 10}
                                }
                        },
                        [15] = {name = "Plate Legs", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2647,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                }
                        },
                        [16] = {name = "Prismatic Legs", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 18405,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 5},
                                        [2] = {name = "blue crystal shards", id = 18413, count = 50},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 8},
                                        [4] = {name = "gold ingots", id = 9971, count = 25}
                                }
                        },
                        [17] = {name = "Studded Legs", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2468,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "iron ingots", id = 18337, count = 3},
                                        [3] = {name = "pieces of iron", id = 2225, count = 4},
                                }
                        },
                        [18] = {name = "Terra Legs", learned = false, learnStorage = 0, storage = {40003}, level = {40}, tries = 7, count = 1, id = 7885,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 5},
                                        [2] = {name = "brown pieces of cloth", id = 5913, count = 20},
                                        [3] = {name = "green pieces of cloth", id = 5910, count = 20},
                                        [4] = {name = "natural soil", id = 8298, count = 20},
                                        [5] = {name = "iron ingots", id = 18337, count = 2},
                                }
                        },
                        [19] = {name = "Zaoan Legs", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 11304,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 10},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "iron ingots", id = 18337, count = 6}
                                }
                        },
                       
                       
                }
        },
        [9] = {name = "Necklaces",
                options = {
                        [1] = {name = "Bonfire Amulet", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {40, 20}, tries = 2, count = 1, id = 10218,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [2] = {name = "glimmering soil", id = 8299, count = 10}
                                }
                        },
                        [2] = {name = "Bronze Amulet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2172,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "gold ore", id = 6547, count = 1},
                                }
                        },
                        [3] = {name = "Crystal Necklace", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2125,
                                needed = {
                                        [1] = {name = "gold ingot", id = 9971, count = 1},
                                        [2] = {name = "blue gem", id = 2158, count = 1}
                                }
                        },
                        [4] = {name = "Demonbone Amulet", learned = false, learnStorage = 0, storage = {40004, 40007}, level = {50, 10}, tries = 1, count = 1, id = 2136,
                                needed = {
                                        [1] = {name = "demonic essences", id = 6500, count = 50},
                                        [2] = {name = "demon horns", id = 5954, count = 50}
                                }
                        },
                        [5] = {name = "Dragon Necklace", learned = false, learnStorage = 0, storage = {40002}, level = {10}, tries = 1, count = 1, id = 2201,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "gold ingots", id = 9971, count = 2},
                                        [3] = {name = "green gem", id = 2155, count = 1},
                                }
                        },
                        [6] = {name = "Elven Amulet", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 1, count = 1, id = 2198,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "frozen starlight", id = 2361, count = 1},
                                }
                        },
                        [7] = {name = "Glacier Amulet", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 1, count = 1, id = 7888,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "iced soil", id = 8302, count = 5}
                                }
                        },
                        [8] = {name = "Golden Amulet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 4, count = 1, id = 2130,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 8},
                                        [2] = {name = "small rubies", id = 2147, count = 11},
                                        [3] = {name = "green gem", id = 2155, count = 1},
                                }
                        },
                        [9] = {name = "Koshei's Ancient Amulet", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {40, 30}, tries = 3, count = 1, id = 8266,
                                needed = {
                                        [1] = {name = "raw leather", id = 22539, count = 2},
                                        [2] = {name = "piece of a broken amulet (top left)", id = 8262, count = 1},
                                        [3] = {name = "piece of a broken amulet (top right)", id = 8263, count = 1},
                                        [4] = {name = "piece of a broken amulet (bottom)", id = 8264, count = 1},
                                        [5] = {name = "piece of a broken amulet (middle)", id = 8265, count = 1},
                                        [6] = {name = "small emeralds", id = 2149, count = 2},
                                        [7] = {name = "necromantic rust", id = 23567, count = 1},
                                }
                        },
                        [10] = {name = "Leviathan's Amulet", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {30, 20}, tries = 2, count = 1, id = 10220,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [2] = {name = "iced soil", id = 8302, count = 10}
                                }
                        },
                        [11] = {name = "Lightning Pendant", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 1, count = 1, id = 7889,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "energy soil", id = 8303, count = 5}
                                }
                        },
                        [12] = {name = "Magma Amulet", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 1, count = 1, id = 7890,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 3},
                                        [2] = {name = "glimmering soil", id = 8299, count = 5}
                                }
                        },
                        [13] = {name = "Platinum Amulet", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 3, count = 1, id = 2171,
                                needed = {
                                        [1] = {name = "pieces of royal steel", id = 5887, count = 3},
                                        [2] = {name = "pieces of draconian steel", id = 5889, count = 3},
                                }
                        },
                        [14] = {name = "Prismatic Necklace", learned = false, learnStorage = 0, storage = {40004}, level = {20}, tries = 2, count = 1, id = 18407,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 3},
                                        [2] = {name = "blue crystal shards", id = 18413, count = 3},
                                        [3] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [15] = {name = "Ruby Necklace", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 3, count = 1, id = 2133,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 4},
                                        [2] = {name = "small rubies", id = 2147, count = 3},
                                }
                        },
                        [16] = {name = "Sacred Tree Amulet", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {30, 20}, tries = 2, count = 1, id = 10219,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [2] = {name = "natural soil", id = 8298, count = 10}
                                }
                        },
                        [17] = {name = "Shockwave Amulet", learned = false, learnStorage = 0, storage = {40003, 40004}, level = {30, 20}, tries = 2, count = 1, id = 10221,
                                needed = {
                                        [1] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [2] = {name = "energy soil", id = 8303, count = 10}
                                }
                        },
                        [18] = {name = "Silver Amulet", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2170,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 2},
                                        [3] = {name = "small emerald", id = 2149, count = 1},
                                }
                        },
                        [19] = {name = "Silver Necklace", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2132,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 2},
                                }
                        },
                        [20] = {name = "Terra Amulet", learned = false, learnStorage = 0, storage = {40003}, level = {10}, tries = 1, count = 1, id = 7887,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 3},
                                        [2] = {name = "natural soil", id = 8298, count = 5}
                                }
                        },
                }
        },
        [10] = {name = "Rings",
                options = {
                        [1] = {name = "Emerald Bangle", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2127,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 4},
                                        [2] = {name = "small emeralds", id = 2149, count = 3},
                                }
                        },
                        [2] = {name = "Gold Ring", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2179,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 3},
                                }
                        },
                        [3] = {name = "Prismatic Ring", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 18408,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 2},
                                        [2] = {name = "blue crystal shards", id = 18413, count = 3},
                                        [3] = {name = "red crystal fragments", id = 18420, count = 2},
                                }
                        },
                        [4] = {name = "Ring of the Sky", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 2123,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 4},
                                        [2] = {name = "frozen starlight", id = 2361, count = 1},
                                }
                        },
                        [5] = {name = "Wedding Ring", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2121,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 3},
                                        [2] = {name = "small diamond", id = 2145, count = 1},
                                }
                        },
                }
        },
        [11] = {name = "Shields",
                options = {
                        [1] = {name = "Battle Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2513,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4}
                                }
                        },
                        [2] = {name = "Brass Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2511,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "gold ore", id = 6547, count = 4},
                                }
                        },
                        [3] = {name = "Crown Shield", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 2519,
                                needed = {
                                        [1] = {name = "gold ingots", id = 9971, count = 2},
                                        [2] = {name = "red pieces of cloth", id = 5911, count = 3},
                                }
                        },
                        [4] = {name = "Dark Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2521,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "piece of hell steel", id = 5888, count = 1},
                                }
                        },
                        [5] = {name = "Dragon Shield", learned = false, learnStorage = 0, storage = {40002}, level = {20}, tries = 2, count = 1, id = 2516,
                                needed = {
                                        [1] = {name = "red pieces of cloth", id = 5911, count = 2},
                                        [2] = {name = "pieces of draconian steel", id = 5889, count = 2},
                                }
                        },
                        [6] = {name = "Demon Shield", learned = false, learnStorage = 0, storage = {40004, 40007}, level = {70, 20}, tries = 2, set = "demon", piece = 4, count = 1, id = 2520,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [3] = {name = "essence of dread", id = 22472, count = 1},
                                        [4] = {name = "demon horns", id = 5954, count = 25},
                                        [5] = {name = "demon dusts", id = 5906, count = 100},
                                        [6] = {name = "demonic essences", id = 6500, count = 100},
                                        [7] = {name = "raw leather", id = 22539, count = 5},
                                }
                        },
                        [7] = {name = "Dwarven Shield", learned = false, learnStorage = 0, storage = {40001}, level = {10}, tries = 1, count = 1, id = 2525,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 6},
                                        [3] = {name = "gold ore", id = 6547, count = 1},
                                }
                        },
                        [8] = {name = "Dragon Scale Shield", learned = false, learnStorage = 0, storage = {40002, 40006}, level = {90, 50}, tries = 5, count = 1, id = 2522,
                                needed = {
                                        [1] = {name = "green dragon scales", id = 5920, count = 100},
                                        [2] = {name = "green dragon leathers", id = 5877, count = 100},
                                        [3] = {name = "green dragon claw", id = 10020, count = 1},
                                        [4] = {name = "essences of wishful thinking", id = 22473, count = 5},
                                        [5] = {name = "small dragon tears", id = 21401, count = 7},
                                        [6] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [7] = {name = "pieces of draconian steel", id = 5889, count = 50},
                                }
                        },
                        [9] = {name = "Guardian Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 4, count = 1, id = 2515,
                                needed = {
                                        [1] = {name = "gold ore", id = 6547, count = 5},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 5},
                                        [3] = {name = "iron ingots", id = 18337, count = 5},
                                }
                        },
                        [10] = {name = "Mastermind Shield", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 2514,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [3] = {name = "demon horns", id = 5954, count = 3},
                                        [4] = {name = "essence of dread", id = 22472, count = 1}
                                }
                        },
                        [11] = {name = "Ornamented Shield", learned = false, learnStorage = 0, storage = {40000}, level = {50}, tries = 10, count = 1, id = 2524,
                                needed = {
                                        [1] = {name = "bars of gold", id = 15515, count = 5},
                                        [2] = {name = "heart of the sea", id = 15431, count = 1},
                                        [3] = {name = "small rubies", id = 2147, count = 4}
                                }
                        },
                        [12] = {name = "Ornate Shield", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 15413,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "essence of the deep", id = 21309, count = 1},
                                        [3] = {name = "cyan crystal fragments", id = 18419, count = 5},
                                        [4] = {name = "pieces of royal steel", id = 5887, count = 25},
                                        [5] = {name = "pieces of hell steel", id = 5888, count = 25},
                                        [6] = {name = "neutral matter", id = 8310, count = 10},
                                        [7] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [8] = {name = "gold ingots", id = 9971, count = 15}
                                }
                        },
                        [13] = {name = "Plate Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2510,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "gold ore", id = 6547, count = 4},
                                }
                        },
                        [14] = {name = "Prismatic Shield", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 18410,
                                needed = {
                                        [1] = {name = "blue crystal shards", id = 18413, count = 150},
                                        [2] = {name = "red crystal fragments", id = 18420, count = 50},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 15},
                                        [4] = {name = "gold ingots", id = 9971, count = 50}
                                }
                        },
                        [15] = {name = "Steel Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2509,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                }
                        },
                        [16] = {name = "Studded Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2526,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 5},
                                }
                        },
                        [17] = {name = "Tower Shield", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 5, count = 1, id = 2528,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 2},
                                        [3] = {name = "gold ingots", id = 9971, count = 5}
                                }
                        },
                        [18] = {name = "Viking Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2531,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                }
                        },
                        [19] = {name = "Wooden Shield", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2512,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 6},
                                }
                        },
                }
        },
        [12] = {name = "Swords",
                options = {
                        [1] = {name = "Assassin Dagger", learned = false, learnStorage = 0, storage = {40004}, level = {20}, tries = 2, count = 1, id = 7404,
                                needed = {
                                        [1] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [2] = {name = "piece of hell steel", id = 5888, count = 1},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 3}
                                }
                        },
                        [2] = {name = "Berserker", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 7403,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 10},
                                        [2] = {name = "raw leather", id = 22539, count = 4},
                                        [3] = {name = "wood", id = 5901, count = 2},
                                        [4] = {name = "piece of royal steel", id = 5887, count = 1}
                                }
                        },
                        [3] = {name = "Blacksteel Sword", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 7406,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 5},
                                        [3] = {name = "piece of royal steel", id = 5887, count = 1}
                                }
                        },
                        [4] = {name = "Bright Sword", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 2407,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "gold ingots", id = 9971, count = 2},
                                        [3] = {name = "holy soil", id = 8301, count = 1}
                                }
                        },
                        [5] = {name = "Broadsword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2413,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "piece of hell steel", id = 5888, count = 1},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [6] = {name = "Crimson Sword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 7385,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "small ruby", id = 2147, count = 1},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [7] = {name = "Crystalline Sword", learned = false, learnStorage = 0, storage = {40005}, level = {40}, tries = 4, count = 1, id = 18450,
                                needed = {
                                        [1] = {name = "small diamonds", id = 2145, count = 20},
                                        [2] = {name = "cyan crystal fragments", id = 18419, count = 40},
                                        [3] = {name = "green crystal shard", id = 18415, count = 1},
                                        [4] = {name = "gold ingots", id = 9971, count = 5},
                                        [5] = {name = "red pieces of cloth", id = 5911, count = 5}
                                }
                        },
                        [8] = {name = "Dagger", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2379,
                                needed = {
                                        [1] = {name = "wood", id = 5901, count = 1},
                                        [2] = {name = "iron ingots", id = 18337, count = 2},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [9] = {name = "Demonrage Sword", learned = false, learnStorage = 0, storage = {40005, 40007}, level = {50, 10}, tries = 1, count = 1, id = 7382,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 5},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 20},
                                        [3] = {name = "essences of dread", id = 22472, count = 2},
                                        [4] = {name = "demon horns", id = 5954, count = 40},
                                        [5] = {name = "demon dusts", id = 5906, count = 100},
                                        [6] = {name = "raw leather", id = 22539, count = 5},
                                }
                        },
                        [10] = {name = "Dragon Slayer", learned = false, learnStorage = 0, storage = {40002}, level = {40}, tries = 4, count = 1, id = 7402,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "pieces of draconian steel", id = 5889, count = 25},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [4] = {name = "small dragon tears", id = 21401, count = 2}
                                }
                        },
                        [11] = {name = "Epee", learned = false, learnStorage = 0, storage = {40004}, level = {15}, tries = 1, count = 1, id = 2438,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "piece of hell steel", id = 5888, count = 1},
                                        [3] = {name = "red piece of cloth", id = 5911, count = 1}
                                }
                        },
                        [12] = {name = "Giant Sword", learned = false, learnStorage = 0, storage = {40004}, level = {25}, tries = 2, count = 1, id = 7402,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "huge chunks of crude iron", id = 5889, count = 3},
                                        [3] = {name = "raw leather", id = 22539, count = 6}
                                }
                        },
                        [13] = {name = "Katana", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2412,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [14] = {name = "Longsword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2397,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "raw leather", id = 22539, count = 2},
                                        [3] = {name = "small rubies", id = 2147, count = 2},
                                        [4] = {name = "gold ingot", id = 9971, count = 1}
                                }
                        },
                        [15] = {name = "Magic Sword", learned = false, learnStorage = 0, storage = {40006}, level = {25}, tries = 3, count = 1, id = 2400,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 3},
                                        [2] = {name = "bars of gold", id = 15515, count = 2},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [4] = {name = "orb of Light Undying", id = 24174, count = 1},
                                        [5] = {name = "heart of the sea", id = 15431, count = 1}
                                }
                        },
                        [16] = {name = "Mercenary Sword", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 3, count = 1, id = 7386,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 4},
                                        [3] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [17] = {name = "Mystic Blade", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 7384,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 4},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 2},
                                        [4] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [18] = {name = "Nightmare Blade", learned = false, learnStorage = 0, storage = {40004}, level = {35}, tries = 3, count = 1, id = 7418,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "skulls", id = 2229, count = 3},
                                        [3] = {name = "wood", id = 5901, count = 5},
                                        [4] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [5] = {name = "raw leather", id = 22539, count = 5}
                                }
                        },
                        [19] = {name = "Relic Sword", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 7383,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "cyan crystal fragments", id = 18419, count = 2}
                                }
                        },
                        [20] = {name = "Sabre", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2385,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [21] = {name = "Sai", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 11306,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 6},
                                        [2] = {name = "pieces of royal steel", id = 5887, count = 3},
                                        [3] = {name = "raw leather", id = 22539, count = 2}
                                }
                        },
                        [22] = {name = "Scimitar", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2419,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "green piece of cloth", id = 5910, count = 2},
                                        [3] = {name = "gold ore", id = 6547, count = 2}
                                }
                        },
                        [23] = {name = "Short Sword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2406,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "raw leather", id = 22539, count = 2},
                                }
                        },
                        [24] = {name = "Spike Sword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2383,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "raw leather", id = 22539, count = 2},
                                        [3] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [25] = {name = "Sword", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2376,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 1},
                                        [3] = {name = "raw leather", id = 22539, count = 1}
                                }
                        },
                        [26] = {name = "Thaian Sword", learned = false, learnStorage = 0, storage = {40005}, level = {30}, tries = 3, count = 1, id = 7391,
                                needed = {
                                        [1] = {name = "huge chunks of crude iron", id = 5892, count = 2},
                                        [2] = {name = "gold ingots", id = 9971, count = 8},
                                        [3] = {name = "emerald spike", id = 18213, count = 1},
                                        [4] = {name = "iron ingots", id = 18337, count = 5}
                                }
                        },
                        [27] = {name = "Twin Hooks", learned = false, learnStorage = 0, storage = {40000}, level = {30}, tries = 3, count = 1, id = 11309,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 4},
                                        [3] = {name = "raw leather", id = 22539, count = 4}
                                }
                        },
                        [28] = {name = "Two Handed Sword", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 2377,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 8},
                                        [2] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [29] = {name = "Wyvern Fang", learned = false, learnStorage = 0, storage = {40002}, level = {10}, tries = 2, count = 1, id = 7408,
                                needed = {
                                        [1] = {name = "small emerald", id = 2149, count = 1},
                                        [2] = {name = "pieces of draconian steel", id = 5889, count = 4},
                                        [3] = {name = "small dragon tear", id = 21401, count = 1},
                                        [4] = {name = "red pieces of cloth", id = 5911, count = 2}
                                }
                        },
                        [30] = {name = "Zaoan Sword", learned = false, learnStorage = 0, storage = {40004}, level = {30}, tries = 3, count = 1, id = 11307,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 5},
                                        [2] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [3] = {name = "pieces of royal steel", id = 5887, count = 10},
                                        [4] = {name = "pieces of draconian steel", id = 5889, count = 10},
                                        [5] = {name = "red piece of cloth", id = 5911, count = 1},
                                        [6] = {name = "gold ingots", id = 9971, count = 2},
                                        [7] = {name = "raw leather", id = 22539, count = 4}
                                }
                        },
                }
        },
        [13] = {name = "Tools",
                        options = {
                        [1] = {name = "Crowbar", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2416,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                }
                        },
                        [2] = {name = "Heavy Machete", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 2, count = 1, id = 2442,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "gold ingots", id = 9971, count = 2}
                                }
                        },
                        [3] = {name = "Light Shovel", learned = false, learnStorage = 0, storage = {40000}, level = {20}, tries = 2, count = 1, id = 5710,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 3}
                                }
                        },
                        [4] = {name = "Lock Picks", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 3, id = 8717,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 1},
                                        [2] = {name = "raw leather", id = 22539, count = 2}
                                }
                        },
                        [5] = {name = "Machete", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2420,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "raw leather", id = 22539, count = 2}
                                }
                        },
                        [6] = {name = "Obsidian Knife", learned = false, learnStorage = 0, storage = {40004}, level = {10}, tries = 1, count = 1, id = 5908,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "pieces of hell steel", id = 5888, count = 2},
                                        [3] = {name = "huge chunk of crude iron", id = 5892, count = 1},
                                        [4] = {name = "raw leather", id = 22539, count = 2},
                                        [5] = {name = "gold ingots", id = 9971, count = 3}
                                }
                        },
                        [7] = {name = "Pick", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2553,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 3},
                                        [2] = {name = "wood", id = 5901, count = 2}
                                }
                        },
                        [8] = {name = "Shovel", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 1, count = 1, id = 2554,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 4},
                                        [2] = {name = "wood", id = 5901, count = 4}
                                }
                        },
                        [9] = {name = "Skinning Knife", learned = false, learnStorage = 0, storage = {40000}, level = {10}, tries = 3, count = 1, id = 13828,
                                needed = {
                                        [1] = {name = "iron ingots", id = 18337, count = 2},
                                        [2] = {name = "pieces of royal steel", id = 5888, count = 2},
                                        [3] = {name = "gold ingots", id = 9971, count = 2},
                                        [4] = {name = "raw leather", id = 22539, count = 2},
                                }
                        },
                }
        },
        [14] = {name = "Umbral",
                        options = {
                        [1] = {name = "Crude Umbral Axe", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22404,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [2] = {name = "Crude Umbral Blade", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22398,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [3] = {name = "Crude Umbral Bow", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22416,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [4] = {name = "Crude Umbral Chopper", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22407,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [5] = {name = "Crude Umbral Crossbow", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22419,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [6] = {name = "Crude Umbral Hammer", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22413,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [7] = {name = "Crude Umbral Mace", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22410,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [8] = {name = "Crude Umbral Slayer", learned = false, learnStorage = 0, storage = {40004, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22401,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [9] = {name = "Umbral Axe", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22405,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [10] = {name = "Umbral Blade", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22399,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [11] = {name = "Umbral Bow", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22417,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [12] = {name = "Umbral Chopper", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22408,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [13] = {name = "Umbral Crossbow", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22420,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [14] = {name = "Umbral Hammer", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22414,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [15] = {name = "Umbral Mace", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22411,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [16] = {name = "Umbral Slayer", learned = false, learnStorage = 0, storage = {40005, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22402,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [17] = {name = "Umbral Master Axe", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22406,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [18] = {name = "Umbral Masterblade", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22400,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [19] = {name = "Umbral Master Bow", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22418,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [20] = {name = "Umbral Master Chopper", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22409,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [21] = {name = "Umbral Master Crossbow", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22421,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [22] = {name = "Umbral Master Hammer", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22415,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [23] = {name = "Umbral Master Mace", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22412,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                        [24] = {name = "Umbral Master Slayer", learned = false, learnStorage = 0, storage = {40006, 40008}, level = {100, 10}, tries = 1, count = 1, id = 22403,
                                needed = {
                                        [1] = {name = "iron ingot", id = 18337, count = 5},
                                        [2] = {name = "wood", id = 5901, count = 2},
                                        [3] = {name = "dream matter", id = 22397, count = 2}
                                }
                        },
                }
        },
}
 
local modalId = 1005
local Type = {}
local Option = {}
 
local training = {
        [40000] = "Basic Smithing",
        [40001] = "Dwarven Smithing",
        [40002] = "Dragon Smithing",
        [40003] = "Magic Smithing",
        [40004] = "Advanced Smithing",
        [40005] = "Legendary Smithing",
        [40006] = "Ultimate Smithing",
        [40007] = "Demon Smithing",
        [40008] = "Umbral Smithing",
}
-- Checks if player has the items required for a recipe - used for bringing the craft option back up after each craft if they have enough to do it again - enables quick, easy crafting
function Player:hasReq(recipe)
        for i = 1, #recipe.needed do
                if self:getItemCount(recipe.needed[i].id) < recipe.needed[i].count then
                        return false
                end
        end
        return true
end
 
function Player:sendSortedWindow(type)
        local window = ModalWindow(1011, recipes[type].name, "Expand the item you want to produce to view the requirements.\nYou are trained in the following specialties:\n")
        local choices = 0
        local temp = 0
        for i = 40000, 40008 do
                if self:getCSkill(training[i]) >= 10 then
                        temp = temp + 1
                        window:setMessage(window:getMessage() .. training[i] .. " (" .. self:getCSkill(training[i]) .. ")\n")
                end
        end
        if temp == 0 then
                window:setMessage(window:getMessage() .. "No specialty training.\n")
        end
        for i = 1, #recipes[type].options do
                if (recipes[type].options[i].learned and self:getStorageValue(recipes[type].options[i].learnStorage) >= 1) or not recipes[type].options[i].learned then
                        if recipes[type].options[i].count > 1 then
                                window:addChoice(i, recipes[type].options[i].count .. " " .. recipes[type].options[i].name)
                        else
                                window:addChoice(i, recipes[type].options[i].name)
                        end
                end
        end
        window:addButton(1, "Expand")
        window:setDefaultEnterButton(1)
        window:addButton(2, "Back")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:sendEquipmentWindow()
        local window = ModalWindow(modalId, "Smithing", "Expand the type of item you want to craft to view the available items.\nYou are trained in the following specialties:\n")
        local choices = 0
        local temp = 0
        for i = 40000, 40008 do
                if self:getCSkill(training[i]) >= 10 then
                        temp = temp + 1
                        window:setMessage(window:getMessage() .. training[i] .. " (" .. self:getCSkill(training[i]) .. ")\n")
                end
        end
        if temp == 0 then
                window:setMessage(window:getMessage() .. "No specialty training.\n")
        end
       
        for i = 1, #recipes do
                local t = false
                for j = 1, #recipes[i].options do
                        if (recipes[i].options[j].learned and self:getStorageValue(recipes[i].options[j].learnStorage) >= 1) or not recipes[i].options[j].learned then
                                t = true
                                break
                        end
                end
                if t then
                        window:addChoice(i, recipes[i].name)
                end
        end
       
        window:addButton(1, "Expand")
        window:setDefaultEnterButton(1)
 
        window:addButton(2, "Exit")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:sendERecipeWindow(type, option)
        local window = ModalWindow(modalId + 1, recipes[type].options[option].name, "To produce this item, you need:\n")
        for i = 1, #recipes[type].options[option].needed do
                window:setMessage(window:getMessage() .. recipes[type].options[option].needed[i].count .. " " .. recipes[type].options[option].needed[i].name .. " (" .. self:getItemCount(recipes[type].options[option].needed[i].id) .. ")\n")
        end
        if recipes[type].options[option].storage then
                for i = 1, #recipes[type].options[option].storage do
                        local lev = self:getCSkill(training[recipes[type].options[option].storage[i]])
                        window:setMessage(window:getMessage() .. training[recipes[type].options[option].storage[i]] .. " " .. recipes[type].options[option].level[i] .. " (" .. lev .. ")\n")
                end
        end
        for i = 1, #recipes[type].options[option].needed do
                if self:getItemCount(recipes[type].options[option].needed[i].id) < recipes[type].options[option].needed[i].count then
                        return window:addButton(2, "Back"), window:setDefaultEscapeButton(2), window:setDefaultEnterButton(2), window:sendToPlayer(self)
                end
        end
        for i = 1, #recipes[type].options[option].storage do
                if self:getCSkill(training[recipes[type].options[option].storage[i]]) < recipes[type].options[option].level[i] then
                        return window:addButton(2, "Back"), window:setDefaultEscapeButton(2), window:setDefaultEnterButton(2), window:sendToPlayer(self)
                end
        end
        window:addButton(1, "Make It!")
        window:setDefaultEnterButton(1)
        window:addButton(2, "Back")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:sortedWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == 1011 then
                if buttonId == 1 then
                        Option[p] = choiceId
                        self:sendERecipeWindow(Type[p], Option[p])
                        return true
                elseif buttonId == 2 then
                        self:sendEquipmentWindow()
                        return true
                end
                return false
        end
        return false
end
 
function Player:equipmentWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId then
                if buttonId == 1 then
                        Type[p] = choiceId
                        self:sendSortedWindow(Type[p])
                        return true
                else
                        Type[p] = nil
                        Option[p] = nil
                        return false
                end
        end
        return false
end
 
function Player:eRecipeWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId + 1 then
                if buttonId == 1 then
                        local rand = math.random(1,100000)
                        local half = false
                        local chance = (cSkills[training[recipes[Type[p]].options[Option[p]].storage[1]]].bonus * self:getCSkill(training[recipes[Type[p]].options[Option[p]].storage[1]])) * 100
                        if rand < chance * 1000 then
                                half = true
                        end
                        for i = 1, #recipes[Type[p]].options[Option[p]].needed do
                                if half then
                                        self:removeItem(recipes[Type[p]].options[Option[p]].needed[i].id, math.ceil(recipes[Type[p]].options[Option[p]].needed[i].count / 2))
                                else
                                        self:removeItem(recipes[Type[p]].options[Option[p]].needed[i].id, recipes[Type[p]].options[Option[p]].needed[i].count)
                                end
                        end
                        self:addItem(recipes[Type[p]].options[Option[p]].id, recipes[Type[p]].options[Option[p]].count)
                        if half then
                                self:sendTextMessage(MESSAGE_INFO_DESCR, "Congratulations! You have crafted " .. recipes[Type[p]].options[Option[p]].count .. " " .. recipes[Type[p]].options[Option[p]].name .. " at half the usual cost!")
                        else
                                self:sendTextMessage(MESSAGE_INFO_DESCR, "You have crafted " .. recipes[Type[p]].options[Option[p]].count .. " " .. recipes[Type[p]].options[Option[p]].name .. "!")
                        end
                        for i = 1, #recipes[Type[p]].options[Option[p]].storage do
                                self:addCSkillTries(training[recipes[Type[p]].options[Option[p]].storage[i]], recipes[Type[p]].options[Option[p]].tries)
                        end
                        if recipes[Type[p]].options[Option[p]].set then
                                if self:getStorageValue(sets[recipes[Type[p]].options[Option[p]].set].pieces[recipes[Type[p]].options[Option[p]].piece].storage) ~= 1 then
                                        self:setStorageValue(sets[recipes[Type[p]].options[Option[p]].set].pieces[recipes[Type[p]].options[Option[p]].piece].storage, 1)
                                end
                                local tempStore = true
                                for i = 1, #sets[recipes[Type[p]].options[Option[p]].set].pieces do
                                        if self:getStorageValue(sets[recipes[Type[p]].options[Option[p]].set].pieces[recipes[Type[p]].options[Option[p]].piece].storage) ~= 1 then
                                                tempStore = false
                                        end
                                end
                                if tempStore then
                                        self:addAchievement(sets[recipes[Type[p]].options[Option[p]].set].achievement)
                                end
                        end
                        return self:hasReq(recipes[Type[p]].options[Option[p]]) and self:sendERecipeWindow(Type[p], Option[p]) or self:sendSortedWindow(Type[p])
                elseif buttonId == 2 then
                        self:sendSortedWindow(Type[p])
                end
                return false
        end
       
        return false
end 

 

 

 

Crie o arquivo smelt.lua e adicione isso

 

 

-- config
local modalId = 1003
local choice = {}
local recipes = {
        [1] = {name = "Iron Ingot", subname = "iron ore", count = 1, storage = 40011, level = 30, tries = 2, id = 18337,
                needed = {
                        [1] = {name = "iron ore", id = 5880, count = 2}
                }
        },
        [2] = {name = "Iron Ingot", subname = "piece of iron", count = 1, storage = 40011, level = 20, tries = 1, id = 18337,
                needed = {
                        [1] = {name = "pieces of iron", id = 2225, count = 5}
                }
        },
        [3] = {name = "Iron Ore", count = 3, storage = 40011, level = 10, tries = 1, id = 5880,
                needed = {
                        [1] = {name = "vein of ore", id = 18429, count = 1}
                }
        },
        [4] = {name = "Huge Chunk of Crude Iron", count = 1, storage = 40011, level = 40, tries = 3, id = 5892,
                needed = {
                        [1] = {name = "iron ingots", id = 18337, count = 5}
                }
        },
        [5] = {name = "Piece of Iron", subname = "nails", count = 1, storage = 40011, level = 10, tries = 1, id = 2225,
                needed = {
                        [1] = {name = "nails", id = 8309, count = 2}
                }
        },
        [6] = {name = "Pieces of Iron", subname = "metal spike", count = 2, storage = 40011, level = 10, tries = 1, id = 2225,
                needed = {
                        [1] = {name = "metal spike", id = 11215, count = 1}
                }
        },
        [7] = {name = "Pieces of Iron", subname = "gear wheel", count = 5, storage = 40011, level = 10, tries = 1, id = 2225,
                needed = {
                        [1] = {name = "gear wheel", id = 9690, count = 1}
                }
        },
        [8] = {name = "Pieces of Iron", subname = "spiked iron ball", count = 3, storage = 40011, level = 10, tries = 1, id = 2225,
                needed = {
                        [1] = {name = "spiked iron ball", id = 11325, count = 1}
                }
        },
        [9] = {name = "Piece of Royal Steel", count = 1, storage = 40012, level = 60, tries = 4, id = 5887,
                needed = {
                        [1] = {name = "iron ore", id = 5880, count = 1},
                        [2] = {name = "gold ore", id = 6547, count = 1}
                }
        },
        [10] = {name = "Piece of Draconian Steel", count = 1, storage = 40012, level = 50, tries = 3, id = 5889,
                needed = {
                        [1] = {name = "dragon shield", id = 2516, count = 1}
                }
        },
        [11] = {name = "Piece of Hell Steel", count = 1, storage = 40012, level = 40, tries = 2, id = 5888,
                needed = {
                        [1] = {name = "iron ores", id = 5880, count = 3},
                        [2] = {name = "soul orbs", id = 5944, count = 3}
                }
        },
        [12] = {name = "Gold Ore", count = 2, storage = 40012, level = 10, tries = 1, id = 6547,
                needed = {
                        [1] = {name = "pulverized ore", id = 18427, count = 1}
                }
        },
        [13] = {name = "Gold Nugget", count = 1, storage = 40012, level = 20, tries = 2, id = 2157,
                needed = {
                        [1] = {name = "gold ore", id = 6547, count = 3}
                }
        },
        [14] = {name = "Gold Ingot", count = 1, storage = 40012, level = 30, tries = 3, id = 9971,
                needed = {
                        [1] = {name = "gold nuggets", id = 2157, count = 5}
                }
        },
       
 
}
local training = {
        [40011] = "Basic Smelting",
        [40012] = "Advanced Smelting",
}
function Player:hasReq(recipe)
        for i = 1, #recipe.needed do
                if self:getItemCount(recipe.needed[i].id) < recipe.needed[i].count then
                        return false
                end
        end
        return true
end
 
function Player:sendProductWindow()
        local window = ModalWindow(modalId, "Smelting", "Expand the item you want to produce to view the requirements.\nYou are trained in the following specialties:\n")
        local choices = 0
        local temp = 0
        for i = 40011, 40012 do
                if self:getCSkill(training[i]) >= 10 then
                        temp = temp + 1
                        window:setMessage(window:getMessage() .. training[i] .. " (" .. self:getCSkill(training[i]) .. ")\n")
                end
        end
        if temp == 0 then
                window:setMessage(window:getMessage() .. "No specialty training.\n")
        end
        for i = 1, #recipes do
                if recipes[i].subname then
                        if recipes[i].count > 1 then
                                window:addChoice(i, recipes[i].count .. " " .. recipes[i]["name"] .. " (" .. recipes[i].subname .. ")")
                        else
                                window:addChoice(i, recipes[i]["name"] .. " (" .. recipes[i].subname .. ")")
                        end
                else
                        if recipes[i].count > 1 then
                                window:addChoice(i, recipes[i].count .. " " .. recipes[i]["name"])
                        else
                                window:addChoice(i, recipes[i]["name"])
                        end
                end
                choices = choices + 1
        end
        if choices > 0 then
                window:addButton(1, "Expand")
                window:setDefaultEnterButton(1)
        end
        window:addButton(2, "Exit")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:sendRecipeWindow(product)
        local window = ModalWindow(modalId + 1, product["name"], "To produce this item, you need:\n")
       
        for i = 1, #product.needed do
                window:setMessage(window:getMessage() .. product.needed[i].count .. " " .. product.needed[i].name .. " (" .. self:getItemCount(product.needed[i].id) .. ")\n")
        end
        if product.storage then
                local lev = self:getCSkill(training[product.storage])
                window:setMessage(window:getMessage() .. training[product.storage] .. " " .. product.level .. " (" .. lev .. ")\n")
        end
        for j = 1, #product.needed do
                if self:getItemCount(product.needed[j].id) < product.needed[j].count or (product.storage and self:getCSkill(training[product.storage]) < product.level) then
                        return window:addButton(2, "Back"), window:setDefaultEscapeButton(2), window:setDefaultEnterButton(2), window:sendToPlayer(self)
                end
        end
        window:addButton(1, "Make It!")
        window:setDefaultEnterButton(1)
        window:addButton(2, "Back")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:productWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId then
                if buttonId == 1 then
                        choice[p] = choiceId
                        self:sendRecipeWindow(recipes[choiceId])
                        return true
                else
                        choice[p] = nil
                        return false
                end
        end
        return false
end
 
function Player:recipeWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId + 1 then
                if buttonId == 1 then
                        for i = 1, #recipes[choice[p]].needed do
                                self:removeItem(recipes[choice[p]].needed[i].id, recipes[choice[p]].needed[i].count)
                        end
                        self:addItem(recipes[choice[p]].id, recipes[choice[p]].count)
                        self:sendTextMessage(MESSAGE_INFO_DESCR, "You have crafted " .. recipes[choice[p]].count .. " " .. recipes[choice[p]].name .. "!")
                        self:addCSkillTries(training[recipes[choice[p]].storage], recipes[choice[p]].tries)
                        return self:hasReq(recipes[choice[p]]) and self:sendRecipeWindow(recipes[choice[p]]) or self:sendProductWindow()
                elseif buttonId == 2 then
                        self:sendProductWindow()
                end
                return false
        end
       
        return false
end 

 

 

 

Crie o arquivo tan.lua e adicione isso

 

 

-- config
local modalId = 1007
local choice = {}
local recipes = {
        [1] = {name = "Raw Leather", subname = "lizard leather", count = 1, storage = 40010, level = 20, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "lizard leathers", id = 5876, count = 2}
                }
        },
        [2] = {name = "Raw Leather", subname = "minotaur leather", count = 1, storage = 40010, level = 10, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "minotaur leathers", id = 5878, count = 2}
                }
        },
        [3] = {name = "Raw Leather", subname = "red dragon leather", count = 1, storage = 40010, level = 20, tries = 3, id = 22539,
                needed = {
                        [1] = {name = "red dragon leathers", id = 5948, count = 2}
                }
        },
        [4] = {name = "Raw Leather", subname = "green dragon leather", count = 1, storage = 40010, level = 20, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "green dragon leathers", id = 5877, count = 2}
                }
        },
        [5] = {name = "Raw Leather", subname = "crocodile leather", count = 1, storage = 40010, level = 10, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "pieces of crocodile leather", id = 11196, count = 4}
                }
        },
        [6] = {name = "Raw Leather", subname = "orc leather", count = 1, storage = 40010, level = 10, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "orc leathers", id = 12435, count = 4}
                }
        },
        [7] = {name = "Raw Leather", subname = "silky fur", count = 1, storage = 40010, level = 30, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "silky fur", id = 11209, count = 1}
                }
        },
        [8] = {name = "Raw Leather", subname = "black wool", count = 1, storage = 40010, level = 30, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "black wool", id = 12404, count = 1}
                }
        },
        [9] = {name = "Raw Leather", subname = "striped fur", count = 1, storage = 40010, level = 30, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "striped fur", id = 11210, count = 1}
                }
        },
        [10] = {name = "Raw Leather", subname = "war wolf fur", count = 2, storage = 40010, level = 40, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "war wolf fur", id = 11235, count = 1}
                }
        },
        [11] = {name = "Raw Leather", subname = "winter wolf fur", count = 2, storage = 40010, level = 40, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "winter wolf fur", id = 11212, count = 1}
                }
        },
        [12] = {name = "Raw Leather", subname = "wool", count = 2, storage = 40010, level = 40, tries = 1, id = 22539,
                needed = {
                        [1] = {name = "wool", id = 11236, count = 1}
                }
        },
        [13] = {name = "Raw Leather", subname = "badger fur", count = 2, storage = 40010, level = 40, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "badger fur", id = 11216, count = 1}
                }
        },
        [14] = {name = "Raw Leather", subname = "werewolf fur", count = 2, storage = 40010, level = 40, tries = 4, id = 22539,
                needed = {
                        [1] = {name = "werewolf fur", id = 11234, count = 1}
                }
        },
        [15] = {name = "Raw Leather", subname = "thick fur", count = 4, storage = 40010, level = 60, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "thick fur", id = 11224, count = 1}
                }
        },
        [16] = {name = "Raw Leather", subname = "frost giant pelt", count = 4, storage = 40010, level = 60, tries = 2, id = 22539,
                needed = {
                        [1] = {name = "frost giant pelt", id = 10575, count = 1}
                }
        },
        [17] = {name = "Raw Leather", subname = "white deer skin", count = 4, storage = 40010, level = 80, tries = 3, id = 22539,
                needed = {
                        [1] = {name = "white deer skin", id = 13534, count = 1}
                }
        },
        [18] = {name = "Raw Leather", subname = "frazzle skin", count = 4, storage = 40010, level = 80, tries = 4, id = 22539,
                needed = {
                        [1] = {name = "frazzle skin", id = 22533, count = 1}
                }
        },
 
}
 
local training = {
        [40010] = "Basic Tanning",
}
 
function Player:hasReq(recipe)
        for i = 1, #recipe.needed do
                if self:getItemCount(recipe.needed[i].id) < recipe.needed[i].count then
                        return false
                end
        end
        return true
end
 
function Player:sendPeltWindow()
        local window = ModalWindow(modalId, "Tanning", "Expand the item you want to produce to view the requirements.\nYou are trained in the following skills:\n")
        local choices = 0
        local temp = 0
        for key,value in pairs(training) do
                if self:getStorageValue(key) >= 10 then
                        temp = temp + 1
                        window:setMessage(window:getMessage() .. training[key] .. " (" .. self:getCSkill(training[key]) .. ")\n")
                end
        end
        if temp == 0 then
                window:setMessage(window:getMessage() .. "No skill training.\n")
        end
        for i = 1, #recipes do
                if recipes[i].subname then
                        if recipes[i].count > 1 then
                                window:addChoice(i, recipes[i].count .. " " .. recipes[i]["name"] .. " (" .. recipes[i].subname .. ")")
                        else
                                window:addChoice(i, recipes[i]["name"] .. " (" .. recipes[i].subname .. ")")
                        end
                else
                        if recipes[i].count > 1 then
                                window:addChoice(i, recipes[i].count .. " " .. recipes[i]["name"])
                        else
                                window:addChoice(i, recipes[i]["name"])
                        end
                end
                choices = choices + 1
        end
        if choices > 0 then
                window:addButton(1, "Expand")
                window:setDefaultEnterButton(1)
        end
        window:addButton(2, "Exit")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:sendPRecipeWindow(product)
        local window = ModalWindow(modalId + 1, product["name"], "To produce this item, you need:\n")
       
        for i = 1, #product.needed do
                window:setMessage(window:getMessage() .. product.needed[i].count .. " " .. product.needed[i].name .. " (" .. self:getItemCount(product.needed[i].id) .. ")\n")
        end
        if product.storage then
                local lev = self:getCSkill(training[product.storage])
                window:setMessage(window:getMessage() .. training[product.storage] .. " " .. product.level .. " (" .. lev .. ")\n")
        end
        for j = 1, #product.needed do
                if self:getItemCount(product.needed[j].id) < product.needed[j].count or (product.storage and self:getCSkill(training[product.storage]) < product.level) then
                        return window:addButton(2, "Back"), window:setDefaultEscapeButton(2), window:setDefaultEnterButton(2), window:sendToPlayer(self)
                end
        end
        window:addButton(1, "Make It!")
        window:setDefaultEnterButton(1)
        window:addButton(2, "Back")
        window:setDefaultEscapeButton(2)
        window:sendToPlayer(self)
        return true
end
 
function Player:peltWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId then
                if buttonId == 1 then
                        choice[p] = choiceId
                        self:sendPRecipeWindow(recipes[choiceId])
                        return true
                else
                        choice[p] = nil
                        return false
                end
        end
        return false
end
 
function Player:pRecipeWindowChoice(windowId, buttonId, choiceId)
        local p = self:getGuid()
        if windowId == modalId + 1 then
                if buttonId == 1 then
                        for i = 1, #recipes[choice[p]].needed do
                                self:removeItem(recipes[choice[p]].needed[i].id, recipes[choice[p]].needed[i].count)
                        end
                       
                        local rand = math.random(1,100000)
                        local extra = false
                        local chance = (cSkills[training[recipes[choice[p]].storage]].bonus * self:getCSkill(training[recipes[choice[p]].storage])) * 100
                        if rand < chance * 1000 then
                                extra = true
                        end
                       
                        if extra then
                                self:addItem(recipes[choice[p]].id, recipes[choice[p]].count + 2)
                                self:sendTextMessage(MESSAGE_INFO_DESCR, "Congratulations! You have produced " .. recipes[choice[p]].count + 2 .. " " .. recipes[choice[p]].name .. " instead of the usual " .. recipes[choice[p]].count .. "!")
                        else
                                self:addItem(recipes[choice[p]].id, recipes[choice[p]].count)
                                self:sendTextMessage(MESSAGE_INFO_DESCR, "You have produced " .. recipes[choice[p]].count .. " " .. recipes[choice[p]].name .. "!")
                        end
                        self:addCSkillTries(training[recipes[choice[p]].storage], recipes[choice[p]].tries)
 
                       
                        return self:hasReq(recipes[choice[p]]) and self:sendPRecipeWindow(recipes[choice[p]]) or self:sendPeltWindow()
                elseif buttonId == 2 then
                        self:sendPeltWindow()
                end
                return false
        end
       
        return false
end 

 

 

 

Crie o arquivo skills.lua e adicione isso

 

 

cSkills = {
        ["Basic Smithing"] = {storage = 40000, maxskill = 100, bonus = 0.0033, minskill = 10, ratetries = 1.12},
        ["Dwarven Smithing"] = {storage = 40001, maxskill = 100, bonus = 0.0025, minskill = 10, ratetries = 1.13},
        ["Dragon Smithing"] = {storage = 40002, maxskill = 100, bonus = 0.0025, minskill = 10, ratetries = 1.14},
        ["Magic Smithing"] = {storage = 40003, maxskill = 100, bonus = 0.002, minskill = 10, ratetries = 1.15},
        ["Advanced Smithing"] = {storage = 40004, maxskill = 100, bonus = 0.0015, minskill = 10, ratetries = 1.16},
        ["Legendary Smithing"] = {storage = 40005, maxskill = 100, bonus = 0.0015, minskill = 10, ratetries = 1.17},
        ["Ultimate Smithing"] = {storage = 40006, maxskill = 100, bonus = 0.001, minskill = 10, ratetries = 1.18},
        ["Demon Smithing"] = {storage = 40007, maxskill = 100, bonus = 0.00075, minskill = 10, ratetries = 1.19},
        ["Umbral Smithing"] = {storage = 40008, maxskill = 100, bonus = 0.0005, minskill = 10, ratetries = 1.2},
        ["Basic Tanning"] = {storage = 40010, maxskill = 100, bonus = 0.002, minskill = 10, ratetries = 1.1},
        ["Basic Smelting"] = {storage = 40011, maxskill = 100, bonus = 0.002, minskill = 10, ratetries = 1.1},
        ["Advanced Smelting"] = {storage = 40012, maxskill = 100, bonus = 0.002, minskill = 10, ratetries = 1.15},
}
local storageOffset = 1000
local skillRate = 30
function Player.getCSkill(self, skill)
        return self:getStorageValue(cSkills[skill].storage)
end
 
function Player.setCSkill(self, skill, new)
        return self:setStorageValue(cSkills[skill].storage, new)
end
 
function Player.addCSkill(self, skill, count)
        local current = self:getCSkill(skill)
        self:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You advanced to " .. string.lower(skill) .. " level " .. current + count .. ".")
        return self:setCSkill(skill, current + count)
end
 
function Player.getCSkillTries(self, skill)
        return self:getStorageValue(cSkills[skill].storage + storageOffset)
end
 
function Player.getRequiredCTries(self, skill)
        local currentLevel = self:getStorageValue(cSkills[skill].storage)
        local requiredTries = math.floor(50 * math.pow(cSkills[skill].ratetries, currentLevel - 10) / skillRate)
        return requiredTries
end
 
function Player.setCTries(self, skill, value)
        return self:setStorageValue(cSkills[skill].storage + storageOffset, value)
end
 
function Player.addCSkillTries(self, skill, tries)
        local current = self:getCSkillTries(skill)
        if self:getCSkill(skill) >= cSkills[skill].maxskill then
                return false
        end
        self:setStorageValue(cSkills[skill].storage + storageOffset, current + tries)
        while self:getCSkillTries(skill) > self:getRequiredCTries(skill) do
                self:setCTries(skill, self:getCSkillTries(skill) - self:getRequiredCTries(skill))
                self:addCSkill(skill, 1)
        end
        return true
end
 
function Player.getCSkillPercent(self, skill)
        return 100 - math.floor((self:getCSkillTries(skill) / self:getRequiredCTries(skill)) * 100)
end 

 

 

 

-- SESSÃO DATA 1

 

Caso pretenda usar achievement para os sets é necessário adicionar mais 2 linhas ao global.lua

 

 

dofile('data/achievements.lua')
dofile('data/sets.lua') 

 

 

 

Crie o arquivo achievements.lua e adicione isso

 

 

achievements = {
        ["50kpots"] = {storage = 60001, value = 50000, points = 2, secret = false, name = "The Thirst Is Real", description = "Consume 50000 potions."},
        ["demonset"] = {storage = 60002, value = 1, points = 5, secret = false, name = "Demonized", description = "Craft a demon helmet, demon armor, demon legs and demon shield."},
}
 
local pointsStorage = 60000
 
function Player.getAchievements(self)
        local t = {}
        for key, value in pairs(achievements) do
                if self:getStorageValue(achievements[key].storage) >= achievements[key].value and not achievements[a].secret then
                        t[value] = key
                end
        end
        return t
end
 
function Player.getAchievementStatus(self, a)
        if self:getStorageValue(achievements[a].storage) < 0 then
                self:setStorageValue(achievements[a].storage, 0)
        end
        return self:getStorageValue(achievements[a].storage)
end
 
function Player.setAchievementStatus(self, a, value)
        return self:setStorageValue(achievements[a].storage, value)
end
 
function Player.addAchievementStatus(self, a, value)
        if self:getAchievementStatus(a) + value == achievements[a].value then
                return self:addAchievement(a)
        else
                return self:setAchievementStatus(a, self:getAchievementStatus(a) + value)
        end
end
 
function Player.addAchievement(self, a)
        return self:setStorageValue(achievements[a].storage, achievements[a].value), self:addAchievementPoints(achievements[a].points), self:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have unlocked the achievement \"" .. achievements[a].name .. "\"")
end
 
function Player.getAchievementPoints(self)
        return self:getStorageValue(pointsStorage)
end
 
function Player.addAchievementPoints(self, points)
        return self:setStorageValue(pointsStorage, self:getStorageValue(pointsStorage) + points)
end
 
function Player.removeAchievementPoints(self, points)
        return self:setStorageValue(pointsStorage, self:getStorageValue(pointsStorage) - points)
end
 
function Player.setAchievementPoints(self, points)
        return self:setStorageValue(pointsStorage, points)
end 

 

 

 

Crie o arquivo sets.lua e adicione isso

 

 

--Example of a set to be used with crafting achievements
sets = {
    ["demon"] = {pieces = {
        [1] = {name = "demon helmet", id = 2493, storage = 6661},
        [2] = {name = "demon armor", id = 2494, storage = 6662},
        [3] = {name = "demon legs", id = 2495, storage = 6663},
        [4] = {name = "demon shield", id = 2520, storage = 6664},
    }, achievement = "demonset"},

} 

 

 

 

-- CONSIDERAÇÕES FINAIS

O sistema foi testado em TFS 1.1 e 1.2 e esta funcionando sem problemas.

Eu fiz testes usando o tfs 1.2 mas não usei o sistema de achievements, o resto todo que testei esta funcionando perfeitamente..

 

Conheça também o sistema de alquimia avançada basta olhar a minha assinatura..

 

Por favor, antes de qualquer pergunta leia atentamente todas as informações..

 

Obs.: Curtiu, usou, testou.. da um rep ae.. isso mostra que valeu a pena gastar o tempo procurando algo interessante, pedindo autorização e tudo mais para trazer para cá.. além de não arrancar pedaço..

Link para o comentário
Compartilhar em outros sites

Esse erro esta acontecendo somente com smelt?

Quando você usa a faca na pele(tan) ou quando usa o lava mill (smith) ocorre o mesmo erro ou as janelas abrem normalmente?

O mesmo erro em ambos.

Link para o comentário
Compartilhar em outros sites

Pois bem, volte atras e refaça todo o caminho de 'instalação' do sistema, de preferência como esta sendo pedido..

 

Não tenho certeza ams parece que você usa load de libs automático (estilo 0.4) enfim, para encargo de consciência , faça do modo tradicional.. tal qual pedido no post..

 

Eu cheguei a ter um erro mas foi por eu ter colocado de forma diferente.. o próprio razor indicou que eu fizesse os passos novamente da forma pedida e funcionou..

 

Estou com ambos sistemas funcionando e testados de todas as formas possíveis...

Sei que é chato, mas seria bom se fizesse isso..

 

Grato

Editado por DeCarvalho
Link para o comentário
Compartilhar em outros sites

Consegui resolver.

o que acontece é que ao selecionar os códigos o próprio xt os buga, aí vem com 1 número antes, ficou assim:

1cSkill

aí era só remover. Fiquem atentos! E erro ao copiar, nao do script!

Mt obrigado parceiro.

Link para o comentário
Compartilhar em outros sites

  • 1 month later...

Fala galera como vão?! Pois bem. Aqui tudo correu bem durante a instalação etc, mas, ao término fui fazer o login para ver se as funcionalidades estavam corretas e de repente... o inesperado acontece. O char não loga mais. Olhem a foto e por gentileza tentem me ajudar.

 

Eu estou achando que é algo relacionado ao Login.lua. Pois deu este problema após eu finalizá-la. De qualquer forma, aqui esta ela;

http://pastebin.com/FQysSs7U

EhfbhSb.png

 

 

Editado por 9475518
Link para o comentário
Compartilhar em outros sites

Sem erro no console fica complicado..

 

Remova todas as alterações/adições e rode o server novamente.. lembrando que é para tfs 1.1/1.2 .. desconheço algo que faça com que o char não logue.. de qualquer maneira o que posso dizer é o mesmo que disse ao lumus..

 

Refaça todo o procedimento de forma atenta.. pois está funcionando perfeitamente.. como você pode ver até pelo comentário do próprio lumus :)

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...