Module:Skill calc/Fishing/data

From RuneScape Classic Wiki
Jump to: navigation, search

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

--[=[
     Notations found in this Module:
        * name:         Name of product
        * icon:         Alternate image location
        * level:        Level required to complete
        * xp:           Experience gained
        * material:     Materials required { #, "Item name", ...}
            - Special case for alternate currencies: {#, value, "Item name", ...}
        * mcount:       Material count - Number of materials required
            - This allows for exclusion of items not found in the GE
        * title:        Alternative name of object
            - Used to clarify the difference from a similar object or offer a cleaner name
        * equipment:    Indicates equipment needed to catch
        * 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 item is members-only content
--]=]
local skillData = {}

return function(trainMethod)
    if trainMethod == "Everything" then
        local methods = 
        {
                        {
                name        = "Raw Shrimp",
                title       = "Shrimp",
                level       = 1,
                xp          = 10,
                equipment   = "Net"
            }, {
                name        = "Raw Sardine",
                title       = "Sardine",
                level       = 5,
                xp          = 20,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Herring",
                title       = "Herring",
                level       = 10,
                xp          = 30,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Anchovies",
                title       = "Anchovies",
                level       = 15,
                xp          = 40,
                equipment   = "Net"
            }, {
                name        = "Raw Mackerel",
                title       = "Mackerel",
                level       = 16,
                xp          = 20,
                equipment   = "Big Net"
            },   {
                name        = "Raw Trout",
                title       = "Trout",
                level       = 20,
                xp          = 50,
                material    = {1, "Feather"},
                equipment   = "Fly Fishing Rod"
            },  {
                name        = "Raw cod",
                title       = "Cod",
                level       = 23,
                xp          = 45,
                equipment   = "Big Net"
            },  {
                name        = "Raw Pike",
                title       = "Pike",
                level       = 25,
                xp          = 60,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Salmon",
                title       = "Salmon",
                level       = 30,
                xp          = 70,
                material    = {1, "Feather"},
                equipment   = "Fly Fishing Rod"
            }, {
                name        = "Raw Tuna",
                title       = "Tuna",
                level       = 35,
                xp          = 80,
                equipment   = "Harpoon"
            }, {
                name        = "Raw Lobster",
                title       = "Lobster",
                level       = 40,
                xp          = 90,
                equipment   = "Lobster Pot"
            }, {
                name        = "Raw Bass",
                title       = "Bass",
                level       = 50,
                xp          = 100,
                equipment   = "Big Net"
            },  {
                name        = "Raw Swordfish",
                title       = "Swordfish",
                level       = 50,
                xp          = 100,
                equipment   = "Harpoon"
            }, {
                name        = "Raw lava eel",
                title       = "lava eel",
                level       = 53,
                xp          = 90,
                material    = {1, "Fishing Bait"},
                equipment   = "Oily Fishing Rod",
                members     = 0
            }, {
                name        = "Raw Shark",
                title       = "Shark",
                level       = 76,
                xp          = 110,
                equipment   = "Harpoon",
                members     = 0
            }, {
                name        = "Raw Sea turtle",
                title       = "Sea turtle",
                level       = 79,
                xp          = 95,
                equipment   = "Bailing Bucket",
                members     = 0
            }, {
                name        = "Raw Manta ray",
                title       = "Manta ray",
                level       = 81,
                xp          = 115,
                equipment   = "Bailing Bucket",
                members     = 0
            }
        }
        return methods
    end

    if trainMethod == "Free-to-Play" then
        local methods = 
        {
            {
                name        = "Raw Shrimp",
                title       = "Shrimp",
                level       = 1,
                xp          = 10,
                equipment   = "Net"
            }, {
                name        = "Raw Sardine",
                title       = "Sardine",
                level       = 5,
                xp          = 20,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Herring",
                title       = "Herring",
                level       = 10,
                xp          = 30,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Anchovies",
                title       = "Anchovies",
                level       = 15,
                xp          = 40,
                equipment   = "Net"
            }, {
                name        = "Raw Trout",
                title       = "Trout",
                level       = 20,
                xp          = 50,
                material    = {1, "Feather"},
                equipment   = "Fly Fishing Rod"
            }, {
                name        = "Raw Pike",
                title       = "Pike",
                level       = 25,
                xp          = 60,
                material    = {1, "Fishing Bait"},
                equipment   = "Fishing Rod"
            }, {
                name        = "Raw Salmon",
                title       = "Salmon",
                level       = 30,
                xp          = 70,
                material    = {1, "Feather"},
                equipment   = "Fly Fishing Rod"
            }, {
                name        = "Raw Tuna",
                title       = "Tuna",
                level       = 35,
                xp          = 80,
                equipment   = "Harpoon"
            }, {
                name        = "Raw Lobster",
                title       = "Lobster",
                level       = 40,
                xp          = 90,
                equipment   = "Lobster Pot"
            }, {
                name        = "Raw Swordfish",
                title       = "Swordfish",
                level       = 50,
                xp          = 100,
                equipment   = "Harpoon"
            }
        }
        return methods
    end
end