Module:Skill calc/Magic/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 target
        * icon:      Alternate image location
        * level:    Level required to complete
        * xp:       Experience gained
        * Product:  Main reward from capturing target
        * title:    Alternative name of object
            - Used to clarify the difference from a similar object or offer a cleaner name
        * 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
        * members:  Indicates whether an item is members-only content. Currently not used.
--]=]
local skillData = {}
 
return function(trainMethod)
 
    -- Teleportation    
    if trainMethod == "Teleportation" then
        local methods = 
        {
            {
                name        = "South Feldip Hills Teleport",
                icon        = "South Feldip Hills Teleport icon",
                level       = 10,
                xp          = 19,
                material    = {1, "Law rune", 1, "Water rune", 1, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Varrock teleport",
                icon        = "Varrock Teleport icon",
                level       = 25,
                xp          = 35,
                material    = {1, "Law rune", 1, "Fire rune", 3, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lumbridge teleport",
                icon        = "Lumbridge Teleport icon",
                level       = 31,
                xp          = 41,
                material    = {1, "Law rune", 1, "Earth rune", 3, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Telekinetic grab",
                icon        = "Telekinetic Grab icon",
                level       = 33,
                xp          = 43,
                material    = {1, "Law rune", 1, "Air rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Falador teleport",
                icon        = "Falador Teleport icon",
                level       = 37,
                xp          = 48,
                material    = {1, "Law rune", 1, "Water rune", 3, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "House Teleport",
                icon        = "House Teleport icon",
                level       = 40,
                xp          = 30,
                material    = {1, "Law rune", 1, "Earth rune", 1, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Camelot teleport",
                icon        = "Camelot Teleport icon",
                level       = 45,
                xp          = 55.5,
                material    = {1, "Law rune", 5, "Air rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Ardougne teleport",
                icon        = "Ardougne Teleport icon",
                level       = 51,
                xp          = 61,
                material    = {2, "Law rune", 2, "Water rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Paddewwa teleport",
                icon        = "Paddewwa Teleport icon",
                level       = 54,
                xp          = 64,
                material    = {2, "Law rune", 1, "Fire rune", 1, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Watchtower teleport",
                icon        = "Watchtower Teleport icon",
                level       = 58,
                xp          = 68,
                material    = {2, "Law rune", 2, "Earth rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Senntisten teleport",
                icon        = "Senntisten Teleport icon",
                level       = 60,
                xp          = 70,
                material    = {2, "Law rune", 1, "Soul rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Trollheim teleport",
                icon        = "Trollheim Teleport icon",
                level       = 61,
                xp          = 68,
                material    = {2, "Law rune", 2, "Fire rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "God Wars Dungeon Teleport",
                icon        = "God Wars Dungeon Teleport icon",
                level       = 61,
                xp          = 68,
                material    = {2, "Law rune", 2, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Ape Atoll Teleport",
                icon        = "Ape Atoll Teleport icon",
                level       = 64,
                xp          = 74,
                material    = {2, "Law rune", 2, "Fire rune", 2, "Water rune", 1, "Banana"},
                mcount      = 4,
                trade       = 0
            }, {
                name        = "Kharyrll teleport",
                icon        = "Kharyrll Teleport icon",
                level       = 66,
                xp          = 76,
                material    = {2, "Law rune", 1, "Blood rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Moonclan teleport",
                icon        = "Moonclan Teleport icon",
                level       = 69,
                xp          = 66,
                material    = {1, "Law rune", 2, "Earth rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Moonclan",
                icon        = "Tele-group Moonclan icon",
                level       = 70,
                xp          = 67,
                material    = {1, "Law rune", 4, "Earth rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Ourania teleport",
                icon        = "Ourania Teleport icon",
                level       = 71,
                xp          = 69,
                material    = {1, "Law rune", 6, "Earth rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lassar teleport",
                icon        = "Lassar Teleport icon",
                level       = 72,
                xp          = 82,
                material    = {2, "Law rune", 4, "Water rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Waterbirth teleport",
                icon        = "Waterbirth Teleport icon",
                level       = 72,
                xp          = 71,
                material    = {1, "Law rune", 1, "Water rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Waterbirth",
                icon        = "Tele-group Waterbirth icon",
                level       = 73,
                xp          = 72,
                material    = {1, "Law rune", 5, "Water rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-other Lumbridge",
                icon        = "Tele-other Lumbridge icon",
                level       = 74,
                xp          = 84,
                material    = {1, "Law rune", 1, "Earth rune", 1, "Soul rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Barbarian teleport",
                icon        = "Barbarian Teleport icon",
                level       = 75,
                xp          = 76,
                material    = {2, "Law rune", 3, "Fire rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Barbarian",
                icon        = "Tele-group Barbarian icon",
                level       = 76,
                xp          = 77,
                material    = {2, "Law rune", 6, "Fire rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Dareeyak teleport",
                icon        = "Dareeyak Teleport icon",
                level       = 78,
                xp          = 88,
                material    = {2, "Law rune", 3, "Fire rune", 2, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Khazard teleport",
                icon        = "Khazard Teleport icon",
                level       = 78,
                xp          = 80,
                material    = {2, "Law rune", 4, "Water rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Khazard",
                icon        = "Tele-group Khazard icon",
                level       = 79,
                xp          = 81,
                material    = {2, "Law rune", 8, "Water rune", 2, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-other Falador",
                icon        = "Tele-other Falador icon",
                level       = 82,
                xp          = 92,
                material    = {1, "Law rune", 1, "Water rune", 1, "Soul rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Carrallanger teleport",
                icon        = "Carrallanger Teleport icon",
                level       = 84,
                xp          = 94,
                material    = {2, "Law rune", 2, "Soul rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Teleport block",
                icon        = "Teleport Block icon",
                level       = 85,
                xp          = 80,
                material    = {1, "Law rune", 1, "Chaos rune", 1, "Death rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Fishing Guild Teleport",
                icon        = "Fishing Guild Teleport icon",
                level       = 85,
                xp          = 89,
                material    = {3, "Law rune", 10, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Fishing Guild",
                icon        = "Tele-group Fishing Guild icon",
                level       = 86,
                xp          = 90,
                material    = {3, "Law rune", 14, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Catherby teleport",
                icon        = "Catherby Teleport icon",
                level       = 87,
                xp          = 92,
                material    = {3, "Law rune", 10, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Catherby",
                icon        = "Tele-group Catherby icon",
                level       = 88,
                xp          = 93,
                material    = {3, "Law rune", 15, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Ice Plateau Teleport",
                icon        = "Ice Plateau Teleport icon",
                level       = 89,
                xp          = 96,
                material    = {3, "Law rune", 8, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-other Camelot",
                icon        = "Tele-other Camelot icon",
                level       = 90,
                xp          = 100,
                material    = {1, "Law rune", 2, "Soul rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Annakarl teleport",
                icon        = "Annakarl Teleport icon",
                level       = 90,
                xp          = 100,
                material    = {2, "Law rune", 2, "Blood rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Tele-group Ice Plateau",
                icon        = "Tele-group Ice Plateau icon",
                level       = 90,
                xp          = 99,
                material    = {3, "Law rune", 16, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Trollheim Teleport (Lunar)",
                icon        = "Trollheim Teleport (Lunar) icon",
                level       = 92,
                xp          = 101,
                material    = {3, "Law rune", 10, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Tele-group Trollheim",
                icon        = "Tele-group Trollheim icon",
                level       = 93,
                xp          = 102,
                material    = {3, "Law rune", 20, "Water rune", 3, "Astral rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Ghorrock teleport",
                icon        = "Ghorrock Teleport icon",
                level       = 96,
                xp          = 106,
                material    = {2, "Law rune", 8, "Water rune"},
                mcount      = 2,
                trade       = 0
            }
        }
        return methods
    end

    -- Enchantments
    if trainMethod == "Enchantment" then
        local methods = 
        {
            {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Opal bolts",
                level       = 4,
                xp          = 9,
                material    = {1, "Cosmic rune", 2, "Air rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Sapphire bolts",
                level       = 7,
                xp          = 17,
                material    = {1, "Cosmic rune", 1, "Mind rune", 1, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-1 Enchant",
                icon        = "Lvl-1 Enchant icon",
                level       = 7,
                xp          = 17.5,
                material    = {1, "Cosmic rune", 1, "Water rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Jade bolts",
                level       = 14,
                xp          = 19,
                material    = {1, "Cosmic rune", 2, "Earth rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Pearl bolts",
                level       = 24,
                xp          = 29,
                material    = {1, "Cosmic rune", 2, "Water rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Emerald bolts",
                level       = 27,
                xp          = 37,
                material    = {1, "Cosmic rune", 1, "Nature rune", 3, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-2 Enchant",
                icon        = "Lvl-2 Enchant icon",
                level       = 27,
                xp          = 37,
                material    = {1, "Cosmic rune", 3, "Air rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Topaz bolts",
                level       = 29,
                xp          = 33,
                material    = {1, "Cosmic rune", 2, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Ruby bolts",
                level       = 49,
                xp          = 59,
                material    = {1, "Cosmic rune", 1, "Blood rune", 5, "Fire rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-3 Enchant",
                icon        = "Lvl-3 Enchant icon",
                level       = 49,
                xp          = 59,
                material    = {1, "Cosmic rune", 5, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Charge Water Orb",
                icon        = "Charge Water Orb icon",
                level       = 56,
                xp          = 56,
                material    = {3, "Cosmic rune", 30, "Water rune", 1, "Unpowered orb"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Diamond bolts",
                level       = 57,
                xp          = 67,
                material    = {1, "Cosmic rune", 10, "Earth rune", 2, "Law rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-4 Enchant",
                icon        = "Lvl-4 Enchant icon",
                level       = 57,
                xp          = 67,
                material    = {1, "Cosmic rune", 10, "Earth rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Charge Earth Orb",
                icon        = "Charge Earth Orb icon",
                level       = 56,
                xp          = 56,
                material    = {3, "Cosmic rune", 30, "Earth rune", 1, "Unpowered orb"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Charge Fire Orb",
                icon        = "Charge Fire Orb icon",
                level       = 56,
                xp          = 56,
                material    = {3, "Cosmic rune", 30, "Fire rune", 1, "Unpowered orb"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Charge Air Orb",
                icon        = "Charge Air Orb icon",
                level       = 56,
                xp          = 56,
                material    = {3, "Cosmic rune", 30, "Air rune", 1, "Unpowered orb"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Dragon bolts",
                level       = 68,
                xp          = 78,
                material    = {1, "Cosmic rune", 15, "Earth rune", 1, "Soul rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-5 Enchant",
                icon        = "Lvl-5 Enchant icon",
                level       = 68,
                xp          = 78,
                material    = {1, "Cosmic rune", 15, "Earth rune", 15, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Enchant Crossbow Bolt",
                icon        = "Enchant Crossbow Bolt icon",
                title       = "Enchant Onyx/Ascendri bolts",
                level       = 87,
                xp          = 97,
                material    = {1, "Cosmic rune", 20, "Fire rune", 1, "Death rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Lvl-6 Enchant",
                icon        = "Lvl-6 Enchant icon",
                level       = 87,
                xp          = 97,
                material    = {1, "Cosmic rune", 20, "Earth rune", 20, "Fire rune"},
                mcount      = 3,
                trade       = 0
            }
        }
        return methods
    end

    -- 
    if trainMethod == "Alchemy" then
        local methods = 
        {
            {
                name        = "Bones to Bananas",
                icon        = "Bones to Bananas icon",
                level       = 15,
                xp          = 25,
                material    = {1, "Nature rune", 2, "Earth rune", 2, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Low level alchemy",
                icon        = "Low Level Alchemy icon",
                level       = 21,
                xp          = 31,
                material    = {1, "Nature rune", 3, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Superheat item",
                icon        = "Superheat Item icon",
                level       = 43,
                xp          = 53,
                material    = {1, "Nature rune", 4, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "High level alchemy",
                icon        = "High Level Alchemy icon",
                level       = 55,
                xp          = 65,
                material    = {1, "Nature rune", 5, "Fire rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Bones to Peaches",
                icon        = "Bones to Peaches icon",
                level       = 60,
                xp          = 35.5,
                material    = {2, "Nature rune", 4, "Earth rune", 4, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Bake pie",
                icon        = "Bake Pie icon",
                level       = 65,
                xp          = 60,
                material    = {1, "Astral rune", 5, "Fire rune", 4, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Cure plant",
                icon        = "Cure Plant icon",
                level       = 66,
                xp          = 60,
                material    = {1, "Astral rune", 8, "Earth rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Humidify",
                icon        = "Humidify icon",
                level       = 68,
                xp          = 65,
                material    = {1, "Astral rune", 1, "Fire rune", 3, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Hunter kit",
                icon        = "Hunter Kit icon",
                level       = 71,
                xp          = 70,
                material    = {2, "Astral rune", 2, "Earth rune"},
                mcount      = 2,
                trade       = 0
            }, {
                name        = "Repair rune pouch",
                icon        = "Repair Rune Pouch icon",
                level       = 75,
                xp          = 75,
                material    = {2, "Astral rune", 1, "Cosmic rune", 1, "Law rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Superglass make",
                icon        = "Superglass Make icon",
                level       = 77,
                xp          = 78,
                material    = {2, "Astral rune", 6, "Fire rune", 10, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "String jewellery",
                icon        = "String Jewellery icon",
                level       = 80,
                xp          = 87,
                material    = {2, "Astral rune", 10, "Earth rune", 5, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Make leather",
                icon        = "Make Leather icon",
                level       = 83,
                xp          = 87,
                material    = {2, "Astral rune", 2, "Body rune", 2, "Fire rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Fertile soil",
                icon        = "Fertile Soil icon",
                level       = 83,
                xp          = 87,
                material    = {3, "Astral rune", 2, "Nature rune", 15, "Earth rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Plank make",
                icon        = "Plank Make icon",
                level       = 86,
                xp          = 90,
                material    = {2, "Astral rune", 1, "Nature rune", 15, "Earth rune"},
                mcount      = 3,
                trade       = 0
            }
        }
        return methods
    end

    -- Other
    if trainMethod == "Other" then
        local methods = 
        {
            {
                name        = "NPC Contact",
                icon        = "NPC Contact icon",
                level       = 67,
                xp          = 63,
                material    = {1, "Astral rune", 1, "Cosmic rune", 2, "Air rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Remote farm",
                icon        = "Remote Farm icon",
                level       = 78,
                xp          = 79,
                material    = {2, "Astral rune", 2, "Earth rune", 3, "Nature rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Magic imbue",
                icon        = "Magic Imbue icon",
                level       = 82,
                xp          = 86,
                material    = {2, "Astral rune", 7, "Fire rune", 7, "Water rune"},
                mcount      = 3,
                trade       = 0
            }, {
                name        = "Spellbook swap",
                icon        = "Spellbook Swap icon",
                level       = 96,
                xp          = 130,
                material    = {3, "Astral rune", 2, "Cosmic rune", 1, "Law rune"},
                mcount      = 3,
                trade       = 0
            }
        }
        return methods
    end
end