Module:Skill calc/Smithing/data
Documentation for this module may be created at Module:Skill calc/Smithing/data/doc
--[=[
Notations found in this Module:
* name: Name of product
* icon: Alternate image location
* level: Level required to complete
* xp: Experience gained
* material: Materials required { #, "Item name", ...}
- Special case for alternate currencies: {#, value, "Item name", ...}
* mcount: Material count - Number of materials required
- This allows for exclusion of items not found in the GE
* title: Alternative name of object
- Used to clarify the difference from a similar object or offer a cleaner name
* mtrade: Indicates whether the materials needed can be found in the GE
* trade: Indicates whether the product can be found in the GE
* currency: Indicates an alternative currency being used
* value: Specifies the product's value in alternative currency
--]=]
local skillData = {}
return function(trainMethod)
-- Smelting
if trainMethod == "Smelting" then
local methods =
{
{
name = "bronze bar",
level = 1,
xp = 6.25,
material = {1, "copper ore", 1, "tin ore"},
mcount = 2
},
{
name = "iron bar",
level = 15,
xp = 12.5,
material = {1, "iron ore"}
},
{
name = "silver bar",
level = 20,
xp = 13.75,
material = {1, "silver"}
},
{
name = "steel bar",
level = 30,
xp = 17.5,
material = {1, "iron ore", 2, "coal"},
mcount = 2
},
{
name = "gold bar",
level = 40,
xp = 22.5,
material = {1, "gold"}
},
{
title = "gold bar + Gauntlets",
name = "gold bar",
level = 40,
xp = 33.75,
material = {1, "gold"},
members = 0
},
{
name = "gold bar (Family Crest)",
level = 40,
xp = 22.5,
material = {1, "gold (Family Crest)"},
trade = 0,
mtrade = 0,
members = 0
},
{
name = "gold bar (Family Crest)",
title = "gold bar (Family Crest) + Gauntlets",
level = 40,
xp = 33.75,
material = {1, "gold (Family Crest)"},
trade = 0,
mtrade = 0,
members = 0
},
{
name = "mithril bar",
level = 50,
xp = 30,
material = {1, "mithril ore", 4, "coal"},
mcount = 2
},
{
name = "adamantite bar",
level = 70,
xp = 37.5,
material = {1, "adamantite ore", 6, "coal"},
mcount = 2
},
{
name = "Runite bar",
level = 85,
xp = 50,
material = {1, "runite ore", 8, "coal"},
mcount = 2
}
}
return methods
end
-- Forging
if trainMethod == "Forging" then
local methods =
{
{
name = "bronze bar",
level = 1,
xp = 12.5,
material = {1, "copper ore", 1, "tin ore"},
mcount = 2
},
{
name = "iron bar",
level = 15,
xp = 25,
material = {1, "iron ore"}
},
{
name = "steel bar",
level = 30,
xp = 37.5,
material = {1, "iron ore", 2, "coal"},
mcount = 2
},
{
name = "mithril bar",
level = 50,
xp = 50,
material = {1, "mithril ore", 4, "coal"},
mcount = 2
},
{
name = "adamantite bar",
level = 70,
xp = 62.5,
material = {1, "adamantite ore", 6, "coal"},
mcount = 2
},
{
name = "Runite bar",
level = 85,
xp = 75,
material = {1, "runite ore", 8, "coal"},
mcount = 2
}
}
return methods
end
end