RuneScape Wiki
Advertisement

Documentation for this module may be created at Module:Skill calc/Slayer/data/doc

--[=[
     Notations found in this Module:
        * name:     Name of product
        * icon:     Alternate image location
        * page:     Alternate link 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
        * iconSize: Used to modify large images into an icon
--]=]
local memb = '<sub title="Members only" style="cursor:help; margin-left:3px;">(m)</sub>'

return function(trainMethod)
    if trainMethod == "Milestones" then
        local methods = 
        {
            {
                page        = "Slayer Master#Mazchna/Achtryn",
                alt         = "Slayer master: Canifis",
                icon        = "Mazchna chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 1,
                xp          = 0
            }, {
                page        = "Slayer Master#Vannaka",
                alt         = "Slayer master: Edgeville Dungeon",
                icon        = "Vannaka chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 1.1,
                xp          = 0
            }, {
                page        = "Slayer Master#Chaeldar",
                alt         = "Slayer master: Zanaris",
                icon        = "Chaeldar chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 1.2,
                xp          = 0
            }, {
                page        = "Crawling hand",
                icon        = "Crawling hand icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 5,
                xp          = 0
            }, {
                page        = "Banshee",
                icon        = "Banshee icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 15,
                xp          = 0
            }, {
                page        = "Rockslug",
                icon        = "Rockslug icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 20,
                xp          = 0
            }, {
                page        = "Slayer Master#Sumona",
                alt         = "Slayer master: Pollnivneach",
                icon        = "Sumona chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 35,
                xp          = 0
            }, {
                page        = "Basilisk",
                icon        = "Basilisk icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 40,
                xp          = 0
            }, {
                page        = "Slayer Master#Duradel/Lapalok",
                alt         = "Slayer master: Shilo Village",
                icon        = "Duradel chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 50,
                xp          = 0
            }, {
                page        = "Jelly",
                icon        = "Jelly icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 52,
                xp          = 0
            }, {
                page        = "Aberrant spectre",
                icon        = "Aberrant spectre icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 60,
                xp          = 0
            }, {
                page        = "Dust devil",
                icon        = "Dust devil icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 65,
                xp          = 0
            }, {
                page        = "Jungle strykewyrm",
                icon        = "Jungle strykewyrm icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 73,
                xp          = 0
            }, {
                page        = "Gargoyle",
                icon        = "Gargoyle icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 75,
                xp          = 0
            }, {
                page        = "Slayer Master#Kuradal",
                alt         = "Slayer master: Ancient Cavern",
                icon        = "Kuradal chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 75.1,
                xp          = 0
            }, {
                page        = "Desert strykewyrm",
                icon        = "Desert strykewyrm icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 77,
                xp          = 0
            }, {
                page        = "Nechryael",
                icon        = "Nechryael icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 80,
                xp          = 0
            }, {
                page        = "Abyssal demon",
                icon        = "Abyssal demon icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 85,
                xp          = 0
            }, {
                page        = "Slayer Master#Morvran",
                alt         = "Slayer master: Prifddinas",
                icon        = "Morvran chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 85.1,
                xp          = 0
            }, {
                page        = "Rush of Blood#Bronze",
                alt         = "Rush of Blood - Bronze Challenge",
                icon        = "Elf city teaser - Iorwerth clan chained hellhounds",
                iconSize    = "30px",
                mem         = memb,
                level       = 85.2,
                xp          = 0
            }, {
                page        = "Grifolapine",
                icon        = "Grifolapine icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 88,
                xp          = 0
            }, {
                page        = "Corrupted scorpion",
                alt         = "Corrupted Creature: Scorpion",
                icon        = "Corrupted scorpion",
                iconSize    = "30px",
                mem         = memb,
                level       = 88.1,
                xp          = 0
            }, {
                page        = "Dark beast",
                icon        = "Dark beast icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 90,
                xp          = 0
            }, {
                page        = "Rush of Blood#Silver",
                alt         = "Rush of Blood - Silver Challenge",
                icon        = "Elf city teaser - Iorwerth clan chained hellhounds",
                iconSize    = "30px",
                mem         = memb,
                level       = 90.1,
                xp          = 0
            }, {
                page        = "Sotapanna",
                alt         = "Acolyte of Seiryu - Sotapanna",
                icon        = "Sotapanna",
                iconSize    = "30px",
                mem         = memb,
                level       = 90.2,
                xp          = 0
            }, {
                page        = "The Assassin",
                alt         = "Ports Adventurer: The Assassin",
                icon        = "The Assassin chathead",
                iconSize    = "30px",
                mem         = memb,
                level       = 90.3,
                xp          = 0
            }, {
                page        = "Corrupted scarab",
                alt         = "Corrupted Creature: Scarab",
                icon        = "Corrupted scarab",
                iconSize    = "30px",
                mem         = memb,
                level       = 91,
                xp          = 0
            }, {
                page        = "Ice strykewyrm",
                icon        = "Ice strykewyrm icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 93,
                xp          = 0
            }, {
                page        = "Sakadagami",
                alt         = "Acolyte of Seiryu - Sakadagami",
                icon        = "Sakadagami",
                iconSize    = "30px",
                mem         = memb,
                level       = 93.1,
                xp          = 0
            }, {
                page        = "Corrupted lizard",
                alt         = "Corrupted Creature: Desert lizard",
                icon        = "Corrupted lizard icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 94,
                xp          = 0
            }, {
                page        = "Ganodermic",
                alt         = "Ganodermic creatures",
                icon        = "Ganodermic beast icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 95,
                xp          = 0
            }, {
                page        = "Rush of Blood#Gold",
                alt         = "Rush of Blood - Gold Challenge",
                icon        = "Elf city teaser - Iorwerth clan chained hellhounds",
                iconSize    = "30px",
                mem         = memb,
                level       = 95.1,
                xp          = 0
            }, {
                page        = "Wyverns",
                alt         = "Living wyverns",
                icon        = "Wyvern icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 96,
                xp          = 0
            }, {
                page        = "Ripper Demon",
                alt         = "Ripper demons",
                icon        = "Ripper Demon icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 96.01,
                xp          = 0
            }, {
                page        = "Camel Warrior",
                alt         = "Camel warriors",
                icon        = "Camel Warrior icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 96.02,
                xp          = 0
            }, {
                page        = "Acheron mammoth",
                alt         = "Acheron mammoths",
                icon        = "Acheron mammoth icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 96.03,
                xp          = 0
            }, {
                page        = "Anagami",
                alt         = "Acolyte of Seiryu - Anagami",
                icon        = "Anagami",
                iconSize    = "30px",
                mem         = memb,
                level       = 96.04,
                xp          = 0
            }, {
                page        = "Arhat",
                alt         = "Acolyte of Seiryu - Arhat",
                icon        = "Arhat",
                iconSize    = "30px",
                mem         = memb,
                level       = 96.05,
                xp          = 0
            }, {
                page        = "Corrupted dust devil",
                alt         = "Corrupted Creature: Dust devil",
                icon        = "Corrupted dust devil icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 97,
                xp          = 0
            }, {
                page        = "Slayer cape (t)",
                alt         = "Skill mastery",
                icon        = "Slayer cape (t)",
                iconSize    = "30px",
                mem         = memb,
                level       = 99,
                xp          = 0
            }, {
                page        = "Rush of Blood#Platinum",
                alt         = "Rush of Blood - Platinum Challenge",
                icon        = "Elf city teaser - Iorwerth clan chained hellhounds",
                iconSize    = "30px",
                mem         = memb,
                level       = 99.1,
                xp          = 0
            }, {
                page        = "Slayer Codex",
                icon        = "Slayer Codex",
                iconSize    = "30px",
                mem         = memb,
                level       = 99.2,
                xp          = 0
            }, {
                page        = "Corrupted kalphite",
                alt         = "Corrupted Creature: Kalphite",
                icon        = "Corrupted kalphite icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 100,
                xp          = 0
            }, {
                page        = "Corrupted worker",
                alt         = "Corrupted Creature: Menaphite worker",
                icon        = "Corrupted worker icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 103,
                xp          = 0
            }, {
                page        = "Salawa akh",
                alt         = "Soul Devourer: Salawa akh",
                icon        = "Salawa akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 105,
                xp          = 0
            }, {
                page        = "Feline akh",
                alt         = "Soul Devourer: Feline akh",
                icon        = "Feline akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 107,
                xp          = 0
            }, {
                page        = "Scarab akh",
                alt         = "Soul Devourer: Scarab akh",
                icon        = "Scarab akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 109,
                xp          = 0
            }, {
                page        = "Crocodile akh",
                alt         = "Soul Devourer: Crocodile akh",
                icon        = "Crocodile akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 111,
                xp          = 0
            }, {
                page        = "Gorilla akh",
                alt         = "Soul Devourer: Gorilla akh",
                icon        = "Gorilla akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 113,
                xp          = 0
            }, {
                page        = "The Magister",
                icon        = "The Magister icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 115,
                xp          = 0
            }, {
                page        = "Imperial guard akh",
                alt         = "Soul devourer|Soul Devourer]]: [[Imperial guard akh",
                icon        = "Imperial warrior akh icon",
                iconSize    = "30px",
                mem         = memb,
                level       = 117,
                xp          = 0
            }, {
                page        = "Slayer master cape",
                alt         = "True skill mastery",
                icon        = "Slayer master cape",
                iconSize    = "30px",
                mem         = memb,
                level       = 120,
                xp          = 0
            }
        }
        return methods
    end

    if trainMethod == "Assignments" then
        if T.creature == "Aberrant Spectres" then
            local methods = 
            {
                {   
                    page        = "Aberrant spectre",
                    level       = 72,
                    level2      = 60,
                    xp          = 109.6
                }, {
                    page        = "Aberrant spectre#Smoke Dungeon",
                    icon        = "Aberrant spectre",
                    alt         = "Aberrant spectre (Smoke Dungeon)",
                    level       = 78,
                    level2      = 60,
                    xp          = 123
                }, {
                    page        = "Aberrant Spectre Champion",
                    level       = 84,
                    level2      = 60,
                    xp          = 45.4
                }
            }
        end
    return methods
    end
end
Advertisement