Module:Skill calc/Cooking/data

From RuneScape Classic Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Skill calc/Cooking/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
        * noBurn:   Indicates when an item can no longer be burned. Not currently used.
        * 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
--]=]
local skillData = {}

return function(trainMethod)
    ---------------------------------  Meat  ---------------------------------------------
    if trainMethod == "Meat" then
        local methods = 
        {
            {
                name        = "cookedmeat",
                level       = 1,
                xp          = 30,
                material    = {1, "raw beef"}
            }, {
                name        = "cookedmeat",
                level       = 1,
                xp          = 30,
                material    = {1, "Raw chicken"}
            }, {
                name        = "cookedmeat",
                level       = 1,
                xp          = 30,
                material    = {1, "raw rat meat"}
            }, {
                name        = "cookedmeat",
                level       = 1,
                xp          = 30,
                material    = {1, "raw bear meat"}
            }, {
                name        = "Cooked Ugthanki Meat",
                level       = 1,
                xp          = 40,
                material    = {1, "Raw Ugthanki Meat"},
                members     = 0
            }, {
                name        = "Shrimp",
                level       = 1,
                xp          = 30,
                material    = {1, "Raw Shrimp"},
                noBurn      = 34
            }, {
                name        = "Anchovies",
                level       = 1,
                xp          = 30,
                material    = {1, "Raw Anchovies"},
                noBurn      = 34
            }, {
                name        = "Sardine",
                level       = 1,
                xp          = 40,
                material    = {1, "Raw Sardine"},
                noBurn      = 38
            },--[[ {
                name        = "Ugthanki Kebab",
                level       = 1,
                xp          = 40,
                material    = {1, "Onion and Tomato and Ugthanki Mix", 1, "Pitta Bread"},
                members     = 0
            }, {
                name        = "Ugthanki Kebab",
                title       = "Ugthanki Kebab (Scratch)",
                level       = 1,
                xp          = 40,
                material    = {1, "Onion", 1, "Tomato", 1, "Ugthanki meat", 1, "Pitta bread"},
                members     = 0
            },]] {
                name        = "Herring",
                level       = 5,
                xp          = 50,
                material    = {1, "Raw Herring"},
                noBurn      = 41
            }, {
                name        = "Mackerel",
                level       = 10,
                xp          = 60,
                material    = {1, "Raw Mackerel"},
                noBurn      = 45,
                members     = 0
            }, {
                name        = "Trout",
                level       = 15,
                xp          = 70,
                material    = {1, "Raw Trout"},
                noBurn      = 50
            }, {
                name        = "Cod",
                level       = 18,
                xp          = 75,
                material    = {1, "Raw Cod"},
                noBurn      = 52,
                members     = 0
            }, {
                name        = "Pike",
                level       = 20,
                xp          = 80,
                material    = {1, "Raw Pike"},
                noBurn      = 53
            }, {
                name        = "Salmon",
                level       = 25,
                xp          = 90,
                material    = {1, "Raw Salmon"},
                noBurn      = 58
            }, {
                name        = "Tuna",
                level       = 30,
                xp          = 100,
                material    = {1, "Raw Tuna"},
                noBurn      = 65
            }, {
                name        = "Lobster",
                level       = 40,
                xp          = 120,
                material    = {1, "Raw Lobster"},
                noBurn      = 74
            }, {
                name        = "Bass",
                level       = 43,
                xp          = 130,
                material    = {1, "Raw Bass"},
                noBurn      = 80,
                members     = 0
            }, {
                name        = "Swordfish",
                level       = 45,
                xp          = 140,
                material    = {1, "Raw Swordfish"},
                noBurn      = 86
            }, {
                name        = "Cooked Oomlie meat Parcel",
                title       = "Oomlie wrap",
                level       = 50,
                xp          = 30,
                material    = {1, "Raw Oomlie Meat Parcel"},
                members     = 0
            },--[[ {
                name        = "Cooked Oomlie meat Parcel",
                title       = "Cooked Oomlie meat Parcel (Scratch)",
                level       = 50,
                xp          = 110,
                material    = {1, "Raw oomlie"},
                members     = 0
            },]] {
                name        = "Lava eel",
                level       = 53,
                xp          = 140,
                material    = {1, "Raw lava eel"},
                noBurn      = 53,
                trade       = 0,
                mtrade      = 0,
                members     = 0
            }, {
                name        = "Shark",
                level       = 80,
                xp          = 210,
                material    = {1, "Raw Shark"},
                members     = 0
            }, {
                name        = "Sea turtle",
                level       = 82,
                xp          = 211.5,
                material    = {1, "Raw Sea turtle"},
                members     = 0
            }, {
                name        = "Manta ray",
                level       = 91,
                xp          = 216,
                material    = {1, "Raw Manta ray"},
                members     = 0
            }
        }
        return methods
    end
    
    ---------------------------------  Pie  ---------------------------------------------
    if trainMethod == "Pie" then
        local methods =
        {
            {
                name        = "Redberry pie",
                level       = 10,
                xp          = 72,
                material    = {1, "Uncooked redberry pie"},
                noBurn      = 55
            },--[[ {
                name        = "Redberry pie",
                title       = "Redberry pie (Scratch)",
                level       = 10,
                xp          = 78,
                material    = {1, "Redberries", 1, "Pie shell"},
                mcount      = 2,
                noBurn      = 55
            },]] {
                name        = "meat pie",
                level       = 20,
                xp          = 80,
                material    = {1, "Uncooked meat pie"}
            },--[[ {
                name        = "Meat pie",
                title       = "Meat pie (Scratch)",
                level       = 20,
                xp          = 110,
                material    = {1, "Cooked chicken", 1, "Pie shell"},
                mcount      = 2
            },]] {
                name        = "apple pie",
                level       = 30,
                xp          = 100,
                material    = {1, "Uncooked apple pie"}
            }--[[ {
                name        = "Apple pie",
                title       = "Apple pie (Scratch)",
                level       = 30,
                xp          = 130,
                material    = {1, "Cooking apple", 1, "Pie shell"},
                mcount      = 2
            },]]
        }
        return methods
    end

    ---------------------------------  Pizza  ---------------------------------------------
    if trainMethod == "Pizza" then
        local methods =
        {
            {
                name        = "Plain Pizza",
                level       = 35,
                xp          = 110,
                material    = {1, "Uncooked Pizza"},
                noBurn      = 68
            }, {
                name        = "Plain Pizza",
                title       = "Plain Pizza (Scratch)",
                level       = 35,
                xp          = 110,
                material    = {1, "Tomato", 1, "Cheese", 1, "Pizza Base"},
                mcount      = 3,
                noBurn      = 68
            }, {
                name        = "Meat Pizza",
                level       = 45,
                xp          = 0,
                material    = {1, "Plain Pizza", 1, "cookedmeat"},
                mcount      = 2
            }, {
                name        = "Meat Pizza",
                title       = "Meat Pizza (Scratch)",
                level       = 45,
                xp          = 110,
                material    = {1, "Tomato", 1, "Cheese", 1,"cookedmeat", 1, "Pizza Base"},
                mcount      = 4
            }, {
                name        = "Anchovie Pizza",
                level       = 55,
                xp          = 0,
                material    = {1, "Plain Pizza", 1, "Anchovies"},
                mcount      = 2
            }, {
                name        = "Anchovie Pizza",
                title       = "Anchovie Pizza (Scratch)",
                level       = 55,
                xp          = 110,
                material    = {1, "Tomato", 1, "Cheese", 1,"Anchovies", 1, "Pizza Base"},
                mcount      = 4,
                noBurn      = 68
            }, {
                name        = "Pineapple Pizza",
                level       = 65,
                xp          = 0,
                material    = {1, "Plain Pizza", 1, "Pineapple ring"},
                mcount      = 2,
                members     = 0
            }, {
                name        = "Pineapple Pizza",
                title       = "Pineapple Pizza (Scratch)",
                level       = 65,
                xp          = 110,
                material    = {1, "Tomato", 1, "Cheese", 1,"Pineapple ring", 1, "Pizza Base"},
                mcount      = 4,
                noBurn      = 68,
                members     = 0
            }
        }
        return methods
    end

    ---------------------------------  Brewing  ---------------------------------------------
    if trainMethod == "Brewing" then
        local methods = 
        {
            {
                name        = "wine",
                level       = 35,
                xp          = 110,
                material    = {1, "Water (jug)", 1, "grapes"},
                mcount      = 2
            }
        }
        return methods
    end
    
    ---------------------------------  Other  ---------------------------------------------
    if trainMethod == "Other" then
        local methods = 
        {
            {
                name        = "bread",
                level       = 1,
                xp          = 40,
                material    = {1, "bread dough"}
            }, {
                name        = "Stew",
                level       = 25,
                xp          = 90,
                material    = {1, "Uncooked stew"}
            }, {
                name        = "Cake",
                level       = 40,
                xp          = 120,
                material    = {1, "Uncooked cake"}
            }, {
                name        = "Cake",
                title       = "Cake (Scratch)",
                level       = 40,
                xp          = 120,
                material    = {1, "Egg", 1, "flour", 1, "Milk"},
                mcount      = 3
            }, {
                name        = "Chocolate Cake",
                level       = 50,
                xp          = 0,
                material    = {1, "Cake", 1, "Chocolate Bar"},
                mcount      = 2
            }, {
                name        = "Chocolate Cake",
                title       = "Chocolate Cake (Scratch)",
                level       = 50,
                xp          = 120,
                material    = {1, "Egg", 1, "flour", 1, "Milk", 1, "Chocolate Bar"},
                mcount      = 4
            }, {
                name        = "Pitta Bread",
                level       = 58,
                xp          = 40,
                material    = {1, "Uncooked Pitta Bread"},
                members     = 0
            }, {
                name        = "Curry",
                level       = 60,
                xp          = 125,
                material    = {1, "Uncooked curry"},
                members     = 0
            }--[[ {
                name        = "Curry",
                level       = 60,
                xp          = 280,
                material    = {1, "Raw potato", 1, "Cooked meat", 1, "Spice", 1, "Bowl"},
                mcount      = 4,
                members     = 0
            },]]
        }
        return methods
    end

    ---------------------------------  Gnome Baking  ----------------------------------
    if trainMethod == "Gnome Baking" then
        local methods = 
        {
            {
                name        = "Toad crunchies",
                level       = 15,
                xp          = 30,
                material    = {1, "gianne dough", 2, "Toad legs", 1, "Equa leaves"},
                mcount      = 3,
                members     = 0
            }, {
                name        = "Spice crunchies",
                level       = 15,
                xp          = 30,
                material    = {1, "gianne dough", 3, "Gnome spice", 2, "Equa leaves", 1, "Gnome spice"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "Worm crunchies",
                level       = 15,
                xp          = 30,
                material    = {1, "gianne dough", 1, "Gnome spice", 2, "King worm", 1, "Equa leaves", 1, "Gnome spice"},
                mcount      = 5,
                members     = 0
            }, {
                name        = "Choc crunchies",
                level       = 15,
                xp          = 30,
                material    = {1, "gianne dough", 2, "Chocolate Bar", 1, "Gnome spice", 1, "Chocolate dust"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "fruit batta",
                level       = 25,
                xp          = 30,
                material    = {1, "gnomebatta dough", 4, "Equa leaves", 1, "Pineapple chunks", 1, "Diced orange", 1, "Lime chunks", 1, "Gnome spice"},
                mcount      = 6,
                members     = 0
            }, {
                name        = "toad batta",
                level       = 25,
                xp          = 30,
                material    = {1, "gnomebatta dough", 1, "Equa leaves", 1, "Gnome spice", 1, "Toad legs", 1, "Cheese"},
                mcount      = 5,
                members     = 0
            }, {
                name        = "worm batta",
                level       = 25,
                xp          = 30,
                material    = {1, "gnomebatta dough", 1, "Gnome spice", 1, "King worm", 1, "Cheese", 1, "Equa leaves"},
                mcount      = 5,
                members     = 0
            }, {
                name        = "Veg batta",
                level       = 25,
                xp          = 30,
                material    = {1, "gnomebatta dough", 1, "Onion", 2, "Tomato", 1, "Cabbage", 1, "Dwellberries", 1, "Cheese", 1, "Equa leaves"},
                mcount      = 7,
                members     = 0
            }, {
                name        = "cheese and tomato batta",
                level       = 25,
                xp          = 30,
                material    = {1, "gnomebatta dough", 1, "Tomato", 1, "Cheese", 1, "Equa leaves"},
                mcount      = 4,
                members     = 0
            }, {
                name        = "worm hole",
                level       = 30,
                xp          = 30,
                material    = {1, "gnomebowl dough", 6, "King worm", 2, "Onion", 1, "Gnome spice", 1, "Equa leaves"},
                mcount      = 5,
                members     = 0
            }, {
                name        = "Vegball",
                level       = 30,
                xp          = 30,
                material    = {1, "gnomebowl dough", 2, "Onion", 2, "Potato", 1, "Gnome spice", 1, "Equa leaves"},
                mcount      = 5,
                members     = 0
            }, {
                name        = "Tangled toads legs",
                level       = 30,
                xp          = 30,
                material    = {1, "gnomebowl dough", 2, "Cheese", 5, "Toad legs", 2, "Equa leaves", 1, "Dwellberries", 2, "Gnome spice"},
                mcount      = 6,
                members     = 0
            }, {
                name        = "Chocolate bomb",
                level       = 30,
                xp          = 30,
                material    = {1, "gnomebowl dough", 4, "Chocolate Bar", 1, "Equa leaves", 2, "cream", 1, "Chocolate dust"},
                mcount      = 6,
                members     = 0
            }
        }
        return methods
    end
end