Module:Skill calc/Thieving/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
        * iconSize: Used to modify large images into an icon
        * title:    Alternate link location
            - Used to clarify the difference from a similar object or offer a cleaner name
        * level:    Level required to complete
        * xp:       Experience gained
        * members:  Indicates whether an item is members-only content
--]=]

--[=[
    Testing first before adding the rest
--]=]
return function(trainMethod,subMethod)
    --Sorceress' Garden
    if trainMethod == "Sorceress' Garden" or trainMethod == "Sorceress Garden" then
        local methods = 
        {
            {
                name        = "Winter sq'irkjuice",
                title       = "Winter Sq'irk Juice",
                level       = 1,
                xp          = 350,
                material    = {5, "Winter sq'irk"},
                mtrade      = 0,
                trade       = 0,
                members     = 0
            }, {
                name        = "Spring sq'irkjuice",
                title       = "Spring Sq'irk Juice",
                level       = 25,
                xp          = 1350,
                material    = {4, "Spring sq'irk"},
                mtrade      = 0,
                trade       = 0,
                members     = 0
            }, {
                name        = "Autumn sq'irkjuice",
                title       = "Autumn Sq'irk Juice",
                level       = 45,
                xp          = 2350,
                material    = {3, "Autumn sq'irk"},
                mtrade      = 0,
                trade       = 0,
                members     = 0 
            }, {
                name        = "Summer sq'irkjuice",
                title       = "Summer Sq'irk Juice",
                level       = 65,
                xp          = 3000,
                material    = {2, "Summer sq'irk"},
                mtrade      = 0,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end

    --Milestones
    --Pickpocket
    if trainMethod == "Pickpocket" then
        local methods = 
        {
            {
                name        = "Man",
                icon        = "Man chathead",
                iconSize    = 21,
                level       = 1,
                xp          = 8,
                trade       = 0,
                members     = 0
            }, {
                name        = "Farmer",
                icon        = "Farmer icon",
                level       = 10,
                xp          = 14.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "H.A.M. member",
                title       = "Female H.A.M. member",
                icon        = "H.A.M. Member (female) chathead",
                iconSize    = 21,
                level       = 15,
                xp          = 18.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "H.A.M. member",
                title       = "Male H.A.M. member",
                icon        = "H.A.M. Member (male) chathead",
                iconSize    = 21,
                level       = 20,
                xp          = 22.2,
                trade       = 0,
                members     = 0
            }, {
                name        = "H.A.M. Guard",
                icon        = "H.A.M. Guard chathead",
                iconSize    = 21,
                level       = 23,
                xp          = 22.2,
                trade       = 0,
                members     = 0
            }, {
                name        = "Warrior woman",
                iconSize    = 21,
                level       = 25,
                xp          = 26,
                trade       = 0,
                members     = 0
            }, {
                name        = "Rogue",
                iconSize    = 21,
                level       = 32,
                xp          = 36.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Cave goblin",
                icon        = "Cavegoblin",
                iconSize    = 21,
                level       = 36,
                xp          = 40,
                trade       = 0,
                members     = 0
            }, {
                name        = "Master Farmer",
                iconSize    = 21,
                level       = 38,
                xp          = 43,
                trade       = 0,
                members     = 0
            }, {
                name        = "Guard",
                icon        = "Guard (Lvl 21)",
                iconSize    = 21,
                level       = 40,
                xp          = 46.8,
                trade       = 0,
                members     = 0
            }, {
                name        = "Bearded Pollnivnian bandit",
                icon        = "Bandit chathead",
                iconSize    = 21,
                level       = 45,
                xp          = 65,
                trade       = 0,
                members     = 0
            }, {
                name        = "Fremennik citizen",
                icon        = "Pontak",
                iconSize    = 21,
                level       = 45,
                xp          = 65,
                trade       = 0,
                members     = 0
            }, {
                name        = "Menaphite marketeer",
                iconSize    = 21,
                level       = 46,
                xp          = 29.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Bandit (Kharid Bandit Camp)",
                title       = "Desert Bandit",
                icon        = "Bandit Kharid chathead",
                iconSize    = 21,
                level       = 53,
                xp          = 79.4,
                trade       = 0,
                members     = 0
            }, {
                name        = "Knight of Ardougne",
                iconSize    = 21,
                level       = 55,
                xp          = 84.3,
                trade       = 0,
                members     = 0
            }, {
                name        = "Bandit (Pollnivneach)",
                title       = "Pollnivian Bandit",
                icon        = "Pollnivneach bandit chathead",
                iconSize    = 21,
                level       = 55.1,
                xp          = 84.3,
                trade       = 0,
                members     = 0
            }, {
                name        = "Watchman (Yanille)",
                title       = "Yanille Watchman",
                icon        = "Yannile Watchman",
                iconSize    = 21,
                level       = 65,
                xp          = 137.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Menaphite Thug",
                icon        = "Menaphite thug chathead",
                iconSize    = 21,
                level       = 65.1,
                xp          = 137.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Paladin",
                icon        = "Paladin icon",
                level       = 70,
                xp          = 151.8,
                trade       = 0,
                members     = 0
            }, {
                name        = "Monkey knife fighter",
                icon        = "Monkey knife fighter chathead",
                iconSize    = 21,
                level       = 70,
                xp          = 150,
                trade       = 0,
                members     = 0
            }, {
                name        = "Gnome",
                icon        = "Local Gnome chathead",
                iconSize    = 21,
                level       = 75,
                xp          = 198.3,
                trade       = 0,
                members     = 0
            }, {
                name        = "Hero",
                iconSize    = 21,
                level       = 80,
                xp          = 273.3,
                trade       = 0,
                members     = 0
            }, {
                name        = "Elf",
                icon        = "Ilfeen chathead",
                iconSize    = 21,
                level       = 85,
                xp          = 353.3,
                trade       = 0,
                members     = 0
            }, {
                name        = "Trader",
                title       = "Dwarf trader",
                icon        = "Trader (dwarf)",
                iconSize    = 21,
                level       = 90,
                xp          = 556.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Iorwerth worker",
                icon        = "Iorwerth worker icon",
                iconSize    = 21,
                level       = 91,
                xp          = 125,
                trade       = 0,
                members     = 0
            }, {
                name        = "Ithell worker",
                icon        = "Ithell worker icon",
                iconSize    = 21,
                level       = 92,
                xp          = 130,
                trade       = 0,
                members     = 0
            }, {
                name        = "Rogue Captain",
                iconSize    = 21,
                level       = 92,
                xp          = 125,
                trade       = 0,
                members     = 0
            }, {
                name        = "Cadarn worker",
                icon        = "Cadarn worker icon",
                iconSize    = 21,
                level       = 93,
                xp          = 135,
                trade       = 0,
                members     = 0
            }, {
                name        = "Amlodd worker",
                icon        = "Amlodd worker icon",
                iconSize    = 21,
                level       = 94,
                xp          = 140,
                trade       = 0,
                members     = 0
            }, {
                name        = "Trahaearn worker",
                icon        = "Trahaearn worker icon",
                iconSize    = 21,
                level       = 95,
                xp          = 145,
                trade       = 0,
                members     = 0
            }, {
                name        = "Hefin worker",
                icon        = "Hefin worker icon",
                iconSize    = 21,
                level       = 96,
                xp          = 150,
                trade       = 0,
                members     = 0
            }, {
                name        = "Crwys worker",
                icon        = "Crwys worker icon",
                iconSize    = 21,
                level       = 97,
                xp          = 155,
                trade       = 0,
                members     = 0
            }, {
                name        = "Meilyr worker",
                icon        = "Meilyr worker icon",
                iconSize    = 21,
                level       = 98,
                xp          = 170,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end

    --TBD
    if trainMethod == "Other" then
        local methods = 
        {
            {
                name        = "Desert Phoenix",
                iconSize    = 21,
                level       = 25,
                xp          = 26,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end

    --Stalls
    if trainMethod == "Stalls" then
        local methods = 
        {
            {
                name        = "Vegetable stall",
                icon        = "Cabbage",
                iconSize    = 21,
                level       = 1,
                xp          = 10,
                trade       = 0,
                members     = 0
            }, {
                name        = "Baker's stall",
                icon        = "Cake",
                iconSize    = 21,
                level       = 5,
                xp          = 16,
                trade       = 0,
                members     = 0
            }, {
                name        = "Crafting stall",
                icon        = "Chisel",
                iconSize    = 21,
                level       = 5,
                xp          = 16,
                trade       = 0,
                members     = 0
            }, {
                name        = "Monkey Food stall",
                icon        = "Banana",
                iconSize    = 21,
                level       = 5,
                xp          = 16,
                trade       = 0,
                members     = 0
            }, {
                name        = "Monkey general store",
                icon        = "Pot of flour",
                iconSize    = 21,
                level       = 5,
                xp          = 16,
                trade       = 0,
                members     = 0
            }, {
                name        = "Tea stall",
                icon        = "Cup of tea",
                iconSize    = 21,
                level       = 5,
                xp          = 16,
                trade       = 0,
                members     = 0
            }, {
                name        = "Rock cake stall",
                icon        = "Rock cake",
                iconSize    = 21,
                level       = 15,
                xp          = 6.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Silk stall",
                icon        = "Silk",
                iconSize    = 21,
                level       = 20,
                xp          = 24,
                trade       = 0,
                members     = 0
            }, {
                name        = "Wine stall",
                icon        = "Bottle of wine",
                iconSize    = 21,
                level       = 22,
                xp          = 27,
                trade       = 0,
                members     = 0
            }, {
                name        = "Seed stall",
                icon        = "Barley seed 5",
                iconSize    = 21,
                level       = 27,
                xp          = 10,
                trade       = 0,
                members     = 0
            }, {
                name        = "Fur stall",
                icon        = "Bear fur",
                iconSize    = 21,
                level       = 35,
                xp          = 36,
                trade       = 0,
                members     = 0
            }, {
                name        = "Fish stall",
                icon        = "Raw salmon",
                iconSize    = 21,
                level       = 42,
                xp          = 42,
                trade       = 0,
                members     = 0
            }, {
                name        = "Lamp stall",
                icon        = "Antique lamp (Medium Daemonheim Tasks)",
                iconSize    = 21,
                level       = 46,
                xp          = 30,
                trade       = 0,
                members     = 0
            }, {
                name        = "Crossbow stall",
                icon        = "Bronze crossbow",
                iconSize    = 21,
                level       = 49,
                xp          = 52,
                trade       = 0,
                members     = 0
            }, {
                name        = "Silver stall",
                icon        = "Silver ore",
                iconSize    = 21,
                level       = 50,
                xp          = 54,
                trade       = 0,
                members     = 0
            }, {
                name        = "Customs evidence files",
                icon        = "Clue scroll",
                iconSize    = 21,
                level       = 63,
                xp          = 81,
                trade       = 0,
                members     = 0
            }, {
                name        = "Ardougne Spice Stall",
                icon        = "Gnome spice",
                iconSize    = 21,
                level       = 65,
                xp          = 81,
                trade       = 0,
                members     = 0
            }, {
                name        = "Magic stall",
                icon        = "Air rune",
                level       = 65,
                xp          = 100,
                trade       = 0,
                members     = 0
            }, {
                name        = "Scimitar stall",
                icon        = "Iron scimitar",
                iconSize    = 21,
                level       = 65,
                xp          = 160,
                trade       = 0,
                members     = 0
            }, {
                name        = "Gem stall",
                icon        = "Sapphire",
                iconSize    = 21,
                level       = 75,
                xp          = 160,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end
    
    --Chests
    if trainMethod == "Chests" then
        local methods = 
        {
            {
                sLink       = "Chests in",
                name        = "Ardougne",
                title       = "Ardougne,",
                eLink       = "[[Rellekka]] and the [[Wilderness]]",
                icon        = "Coins 100",
                level       = 13,
                xp          = 7,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests upstairs in",
                name        = "Ardougne",
                eLink       = "and [[Rellekka]]",
                icon        = "Nature rune",
                level       = 28,
                xp          = 25,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests upstairs in",
                name        = "Ardougne",
                icon        = "Coins 100",
                level       = 43,
                xp          = 125,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in",
                name        = "Hemenster",
                icon        = "Steel arrowheads",
                level       = 47,
                xp          = 150,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in",
                name        = "Rellekka",
                icon        = "Coins 100",
                level       = 47,
                xp          = 150,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in",
                name        = "Dorgesh-Kaan",
                icon        = "Oil lantern (empty)",
                level       = 52,
                xp          = 200,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in the",
                name        = "Chaos Druid Tower",
                title       = "Chaos Druid Tower,",
                eLink       = "north of [[Ardougne]]",
                icon        = "Blood rune",
                level       = 59,
                xp          = 250,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in King Lathas's",
                name        = "Ardougne Castle",
                title       = "castle",
                eLink       = "in [[Ardougne]]",
                icon        = "Raw shark",
                level       = 72,
                xp          = 500,
                trade       = 0,
                members     = 0
            }, {
                sLink       = "Chests in",
                name        = "Dorgesh-Kaan",
                icon        = "Uncut sapphire",
                level       = 78,
                xp          = 650,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end

    --Safes (needs icon, or set to show no icon?)
    if trainMethod == "Safes" then
        local methods = 
        {
            {
                name        = "Safecracking#Misthalin",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Misthalin",
                eLink       = "safes",
                level       = 62,
                xp          = 2815,
                noIcon      = 0,
                location    = "",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Misthalin",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Misthalin",
                eLink       = "safes",
                level       = 65,
                xp          = 2815,
                location    = "In the treasury room on the roof of the [[Varrock palace]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Kharidian Desert",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Kharidian desert",
                eLink       = "safes",
                level       = 69,
                xp          = 5195,
                location    = "",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Asgarnia",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Asgarnia",
                eLink       = "safes",
                level       = 76,
                xp          = 6995,
                location    = "",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Kandarin",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Kandarin",
                eLink       = "safes",
                level       = 83,
                xp          = 8825,
                location    = "",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 90,
                xp          = 10867,
                location    = "[[Zemouregal's fort]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 90.1,
                xp          = 11575,
                location    = "[[Zanaris marketplace]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 90.2,
                xp          = 19145,
                location    = "[[Rogues' Castle]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 92,
                xp          = 11210,
                location    = "[[Zemouregal's fort]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 94,
                xp          = 11576,
                location    = "[[Zemouregal's fort]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 94.1,
                xp          = 11575,
                location    = "[[Zanaris marketplace]]",
                trade       = 0,
                members     = 0
            }, {
                name        = "Safecracking#Hidden",
                icon        = "Thieving",
                iconSize    = 21,
                title       = "Hidden",
                eLink       = "safes",
                level       = 96,
                xp          = 11943,
                location    = "[[Zemouregal's fort]]",
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end
    
    --Doors
    if trainMethod == "Doors" then
       local methods = 
        {
            {
                name        = "Door to 10-coin chest",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 1,
                xp          = 3.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Door to Nature rune chest",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 14,
                xp          = 15,
                trade       = 0,
                members     = 0
            }, {
                name        = "Ardounge house door",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 14,
                xp          = 15,
                trade       = 0,
                members     = 0
            }, {
                name        = "H.A.M. entrance",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 15,
                xp          = 3.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Thieves' Guild north doors",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 15,
                xp          = 210,
                trade       = 0,
                members     = 0
            }, {
                name        = "Thieves' Guild south doors",
                icon        = "Lockpick",
                iconSize    = 21,
                level       = 35,
                xp          = 280,
                trade       = 0,
                members     = 0
            }, {
                name        = "Magic axe hut door",
                icon        = "Lockpick",
                iconSize    = 21,
                level       = 32,
                xp          = 25,
                trade       = 0,
                members     = 0
            }, {
                name        = "Ardougne sewer gate",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 32,
                xp          = 25,
                trade       = 0,
                members     = 0
            }, {
                name        = "Pirates' Hideout",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 39,
                xp          = 35,
                trade       = 0,
                members     = 0
            }, {
                name        = "Chaos druid tower",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 46,
                xp          = 37.5,
                trade       = 0,
                members     = 0
            }, {
                name        = "Paladin door",
                icon        = "Thieving",
                iconSize    = 21,
                level       = 61,
                xp          = 50,
                trade       = 0,
                members     = 0
            }, {
                name        = "Yanille dungeon door",
                icon        = "Lockpick",
                iconSize    = 21,
                level       = 82,
                xp          = 50,
                trade       = 0,
                members     = 0
            }
        }
        return methods
    end
    
    --Other
end