Module:Skill calc/Runecrafting/data

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Module documentation
This documentation is transcluded from Template:No documentation/doc. [edit] [purge]
--[=[
     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 products value in alternative currency
        * members:  Indicates whether an object is members-only content
--]=]
local skillData = {}
 
return function(trainMethod)
    if trainMethod == "Runes" then
        local methods = 
        {
            {
                name        = "Air rune",
                level       = 1,
                xp          = 5,
                material    = {1, "Rune essence"}
            }, {
                name        = "Mind rune",
                level       = 1,
                xp          = 5.5,
                material    = {1, "Rune essence"}
            }, {
                name        = "Water rune",
                level       = 5,
                xp          = 6,
                material    = {1, "Rune essence"}
            }, {
                name        = "Earth rune",
                level       = 9,
                xp          = 6.5,
                material    = {1, "Rune essence"}
            }, {
                name        = "Fire rune",
                level       = 14,
                xp          = 7,
                material    = {1, "Rune essence"}
            }, {
                name        = "Body rune",
                level       = 20,
                xp          = 7.5,
                material    = {1, "Rune essence"}
            }, {
                name        = "Cosmic rune",
                level       = 27,
                xp          = 8,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Chaos rune",
                level       = 35,
                xp          = 8.5,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Astral rune",
                level       = 40,
                xp          = 8.7,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Nature rune",
                level       = 44,
                xp          = 9,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Law rune",
                level       = 54,
                xp          = 9.5,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Death rune",
                level       = 65,
                xp          = 10,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Armadyl rune",
                level       = 72,
                xp          = 10,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Blood rune",
                level       = 77,
                xp          = 10.5,
                material    = {1, "Pure essence"},
                members     = 0
            }, {
                name        = "Soul rune",
                level       = 90,
                xp          = 275,
                material    = {5, "Pure essence"},
                members     = 0
            }
        }
        return methods
    end

    -- Combination runes
    if trainMethod == "Combination Runes" then
        local methods = 
        {
            {
                name        = "Mist rune",
                level       = 6,
                xp          = 8.5,
                material    = {1, "Pure essence", 1, "Air rune", 1, "Air talisman"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Mist rune",
                eLink       = "([[Magic Imbue]])",
                level       = 6,
                xp          = 8.5,
                material    = {1, "Pure essence", 1, "Air rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Dust rune",
                level       = 10,
                xp          = 9,
                material    = {1, "Pure essence", 1, "Air talisman", 1, "Air rune"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Dust rune",
                eLink       = "([[Magic Imbue]])",
                level       = 10,
                xp          = 9,
                material    = {1, "Pure essence", 1, "Air rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Mud rune",
                level       = 13,
                xp          = 9.5,
                material    = {1, "Pure essence", 1, "Water talisman", 1, "Water rune"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Mud rune",
                eLink       = "([[Magic Imbue]])",
                level       = 13,
                xp          = 9.5,
                material    = {1, "Pure essence", 1, "Water rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Smoke rune",
                level       = 15,
                xp          = 9.5,
                material    = {1, "Pure essence", 1, "Air talisman", 1, "Air rune"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Smoke rune",
                eLink       = "([[Magic Imbue]])",
                level       = 15,
                xp          = 9.5,
                material    = {1, "Pure essence", 1, "Air rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Steam rune",
                level       = 19,
                xp          = 10,
                material    = {1, "Pure essence", 1, "Water talisman", 1, "Water rune"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Steam rune",
                eLink       = "([[Magic Imbue]])",
                level       = 19,
                xp          = 10,
                material    = {1, "Pure essence", 1, "Water rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Lava rune",
                level       = 23,
                xp          = 10.5,
                material    = {1, "Pure essence", 1, "Earth talisman", 1, "Earth rune"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Lava rune",
                eLink       = "([[Magic Imbue]])",
                level       = 23,
                xp          = 10.5,
                material    = {1, "Pure essence", 1, "Earth rune", 2, "Astral rune"},
                mcount      = 4,
                members     = 0
            }
        }
        return methods
    end

    -- Tiaras
    if trainMethod == "Tiaras" then
        local methods = 
        {
            {
                name        = "Air tiara",
                xp          = 25,
                material    = {1, "Tiara", 1, "Air talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Mind tiara",
                xp          = 27.5,
                material    = {1, "Tiara", 1, "Mind talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Water tiara",
                xp          = 30,
                material    = {1, "Tiara", 1, "Water talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Earth tiara",
                xp          = 32.5,
                material    = {1, "Tiara", 1, "Earth talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Fire tiara",
                xp          = 35,
                material    = {1, "Tiara", 1, "Fire talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Body tiara",
                xp          = 37.5,
                material    = {1, "Tiara", 1, "Body talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Cosmic tiara",
                xp          = 40,
                material    = {1, "Tiara", 1, "Cosmic talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Chaos tiara",
                xp          = 42.5,
                material    = {1, "Tiara", 1, "Chaos talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Nature tiara",
                xp          = 45,
                material    = {1, "Tiara", 1, "Nature talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Law tiara",
                xp          = 47.5,
                material    = {1, "Tiara", 1, "Law talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Death tiara",
                xp          = 50,
                material    = {1, "Tiara", 1, "Death talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Blood tiara",
                xp          = 52.5,
                material    = {1, "Tiara", 1, "Blood talisman"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Soul tiara",
                xp          = 55,
                material    = {1, "Tiara", 1, "Soul talisman"},
                mcount      = 2,
                members     = 0
            }
        }
    return methods
    end

    -- Runespan - Free
    if trainMethod == "Runespan - Free" then
        local methods = 
        {
            {
                name        = "Air essling",
                icon        = "Air essling icon",
                level       = 1,
                xp          = 9.5,
                trade       = 0
            }, {
                name        = "Mind essling",
                icon        = "Mind essling icon",
                level       = 1,
                xp          = 10,
                trade       = 0
            }, {
                name        = "Water essling",
                icon        = "Water essling icon",
                level       = 5,
                xp          = 12.6,
                trade       = 0
            }, {
                name        = "Earth essling",
                icon        = "Earth essling icon",
                level       = 9,
                xp          = 14.5,
                trade       = 0
            }, {
                name        = "Fire essling",
                icon        = "Fire essling icon",
                level       = 14,
                xp          = 17.4,
                trade       = 0
            }, {
                name        = "Body esshound",
                icon        = "Body esshound icon",
                level       = 33,
                xp          = 23.13,
                trade       = 0
            }, {
                name        = "Cyclone",
                icon        = "Cyclone icon",
                level       = 1,
                xp          = 19,
                trade       = 0
            }, {
                name        = "Mind storm",
                icon        = "Mind storm icon",
                level       = 1,
                xp          = 20,
                trade       = 0
            }, {
                name        = "Water pool",
                icon        = "Water pool icon",
                level       = 5,
                xp          = 25.3,
                trade       = 0
            }, {
                name        = "Rock fragment (Runespan)",
                icon        = "Rock fragment icon",
                title       = "Rock fragment",
                level       = 9,
                xp          = 28.6,
                trade       = 0
            }, {
                name        = "Fireball",
                icon        = "Fireball icon",
                level       = 14,
                xp          = 34.8,
                trade       = 0
            }, {
                name        = "Vine (Runespan)",
                icon        = "Vine icon",
                title       = "Vine (Water)",
                level       = 17,
                xp          = 30.3,
                trade       = 0
            }, {
                name        = "Vine (Runespan)",
                icon        = "Vine icon",
                title       = "Vine (Earth)",
                level       = 17,
                xp          = 34.3,
                trade       = 0
            }, {
                name        = "Fleshy growth",
                icon        = "Fleshy growth icon",
                level       = 33,
                xp          = 46.2,
                trade       = 0
            }, {
                name        = "Fire storm",
                icon        = "Fire storm icon",
                title       = "Fire storm (Air)",
                level       = 33,
                xp          = 22.8,
                trade       = 0
            }, {
                name        = "Fire storm",
                icon        = "Fire storm icon",
                title       = "Fire storm (Fire)",
                level       = 33,
                xp          = 41.7,
                trade       = 0
            }
        }
    return methods
    end

    -- Runespan - Members
    if trainMethod == "Runespan - Members" then
        local methods = 
        {
            {
                name        = "Cosmic esshound",
                icon        = "Cosmic esshound icon",
                level       = 33,
                xp          = 26.5,
                trade       = 0
            }, {
                name        = "Chaos esshound",
                icon        = "Chaos esshound icon",
                level       = 35,
                xp          = 30.8,
                trade       = 0
            }, {
                name        = "Astral esshound",
                icon        = "Astral esshound icon",
                level       = 40,
                xp          = 35.5,
                trade       = 0
            }, {
                name        = "Nature esshound",
                icon        = "Nature esshound icon",
                level       = 44,
                xp          = 43.33,
                trade       = 0
            }, {
                name        = "Law esshound",
                icon        = "Law esshound icon",
                level       = 54,
                xp          = 54,
                trade       = 0
            }, {
                name        = "Death esswraith",
                icon        = "Death esswraith icon",
                level       = 65,
                xp          = 60,
                trade       = 0
            }, {
                name        = "Blood esswraith",
                icon        = "Blood esswraith icon",
                level       = 77,
                xp          = 73,
                trade       = 0
            }, {
                name        = "Soul esswraith",
                icon        = "Soul esswraith icon",
                level       = 90,
                xp          = 106.5,
                trade       = 0
            }, {
                name        = "Chaotic cloud",
                icon        = "Chaotic cloud icon",
                level       = 35,
                xp          = 61.6,
                trade       = 0
            }, {
                name        = "Nebula",
                icon        = "Nebula icon",
                title       = "Nebula (Cosmic)",
                level       = 40,
                xp          = 63.8,
                trade       = 0
            }, {
                name        = "Nebula",
                icon        = "Nebula icon",
                title       = "Nebula (Astral)",
                level       = 40,
                xp          = 85.6,
                trade       = 0
            }, {
                name        = "Shifter (Runespan)",
                icon        = "Shifter icon",
                title       = "Shifter",
                level       = 44,
                xp          = 86.8,
                trade       = 0
            }, {
                name        = "Jumper",
                icon        = "Jumper icon",
                level       = 54,
                xp          = 107.8,
                trade       = 0
            }, {
                name        = "Skulls",
                icon        = "Skulls icon",
                level       = 65,
                xp          = 120,
                trade       = 0
            }, {
                name        = "Blood pool",
                icon        = "Blood pool icon",
                level       = 77,
                xp          =  146.3,
                trade       = 0
            }, {
                name        = "Bloody skulls",
                icon        = "Bloody skulls icon",
                title       = "Bloody skulls (Death)",
                level       = 83,
                xp          = 144,
                trade       = 0
            }, {
                name        = "Bloody skulls",
                icon        = "Bloody skulls icon",
                title       = "Bloody skulls (Blood)",
                level       = 83,
                xp          = 175.5,
                trade       = 0
            }, {
                name        = "Living soul",
                icon        = "Living soul icon",
                level       = 90,
                xp          = 213,
                trade       = 0
            }, {
                name        = "Undead soul",
                icon        = "Undead soul icon",
                title       = "Undead soul (Death)",
                level       = 95,
                xp          = 144,
                trade       = 0
            }, {
                name        = "Undead soul",
                icon        = "Undead soul icon",
                title       = "Undead soul (Soul)",
                level       = 95,
                xp          = 255.5,
                trade       = 0
            }
        }
        return methods
    end

    -- Runecrafting Urns
    if trainMethod == "Urns" then
        local methods = 
        {
            {
                name        = "Cracked runecrafting urn",
                xp          = 1260,
                material    = {1, "Cracked runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Cracked runecrafting urn",
                title       = "Cracked runecrafting urn (enhancer)",
                xp          = 1312.5,
                material    = {1, "Cracked runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Fragile runecrafting urn",
                xp          = 2100,
                material    = {1, "Fragile runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Fragile runecrafting urn",
                title       = "Fragile runecrafting urn (enhancer)",
                xp          = 2187.5,
                material    = {1, "Fragile runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Plain runecrafting urn",
                xp          = 4200,
                material    = {1, "Plain runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Plain runecrafting urn",
                title       = "Plain runecrafting urn (enhancer)",
                xp          = 4375,
                material    = {1, "Plain runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Strong runecrafting urn",
                xp          = 6000,
                material    = {1, "Strong runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Strong runecrafting urn",
                title       = "Strong runecrafting urn (enhancer)",
                xp          = 6250,
                material    = {1, "Strong runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Decorated runecrafting urn",
                xp          = 8400,
                material    = {1, "Decorated runecrafting urn (nr)"},
                trade       = 0
            }, {
                name        = "Decorated runecrafting urn",
                title       = "Decorated runecrafting urn (enhancer)",
                xp          = 8750,
                material    = {1, "Decorated runecrafting urn (nr)"},
                trade       = 0
            }
        }
        return methods
    end
end