Module:Skill calc/elts

From RuneScape Classic Wiki
Jump to: navigation, search

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

--[=[ elts
-- These determine and return the table headers for calculators.
-- No calculations are done on this page; this purely an array of headers.
-- To create a new one:
--   - if there is no base skill yet, use ["Skillname"]
--   - if the goal is a specific sub-set of a skill that requires different 
--     headers, use ["Skillname-Subset"]. 
--     The Subset should be the option displayed in the calculator.
--   - All elts should follow this exact template where possible:
--     {'', 'Name', 'Level', 'XP', '# needed', ...} where the ellipse includes additional columns
--]=]
local p2pf2p = "[[File:P2P-F2P icon.png|16px|link=|alt=Pay-to-play]]"

return {
    ["Agility"] = 
        {'', 'Name', 'Level', 'XP', '# needed', p2pf2p},
    ["Agility-Basic"] = 
        {'', 'Name', 'Level', p2pf2p},
    ["Cooking"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', 'Product cost', 'Profit/Loss',  'Profit/XP', p2pf2p},
    ["Crafting"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', 'Product cost', 'Profit/Loss', 'Profit/XP', p2pf2p},
    ["Firemaking"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Unit cost', 'Product cost', 'Profit/XP', p2pf2p},
    ["Fishing"] =
        {'', 'Name', 'Tool', 'Bait', 'Level', 'XP', '# needed', 'Product cost', 'Raw cost', 'Profit', p2pf2p},
    ["Fletching"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', 'Product cost', 'Profit/Loss', 'Profit/XP', p2pf2p},
    ["Herblaw"] =
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', 'Product cost', 'Profit/Loss', 'Profit/XP', p2pf2p},
    ["Magic"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', p2pf2p},
    ["Mining"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Profit', p2pf2p},
    ["Prayer"] =
        {'', 'Name', 'XP', '# needed', 'Raw cost', 'XP cost', p2pf2p},
    ["Ranged"] =
        {'', 'Name', 'XP', '# needed', 'Raw cost', 'XP cost', p2pf2p},
    ["Smithing"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Materials', 'Raw cost', 'Product cost', 'Profit/Loss', 'Profit/XP', p2pf2p},
    ["Thieving"] = 
        {'', 'Name', 'Level', 'XP', '# needed', p2pf2p},
    ["Woodcutting"] = 
        {'', 'Name', 'Level', 'XP', '# needed', 'Profit', p2pf2p},
}