Module:Skill calc/Woodcutting/data

From RuneScape Classic Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Skill calc/Woodcutting/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
        * 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)

    -- All methods
    if trainMethod == "All" then
        local methods = 
        {
            {   
                icon        = "Logs",
                name        = "Tree",
                level       = 1,
                xp          = 25
            }, {
                icon        = "Oak Logs",
                name        = "Oak Tree",
                level       = 15,
                xp          = 37.5
            }, {
                icon        = "Willow Logs",
                name        = "Willow Tree",
                level       = 30,
                xp          = 62.5
            }, {
                icon        = "Maple Logs",
                name        = "Maple Tree",
                level       = 45,
                xp          = 100
            }, {
                icon        = "Yew Logs",
                name        = "Yew Tree",
                level       = 60,
                xp          = 175
            }, {
                icon        = "Magic Logs",
                name        = "Tree (magic)",
                level       = 75,
                xp          = 250,
                members     = 0
            }
        }
    	return methods
    end
end