View source for Module:Sandbox/User:Fire/test
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local gePrice = require('Module:Exchange')._price
local p = {}
local herbs = {"Guam leaf", "Marrentill", "Tarromin", "Harralander",
"Ranarr weed", "Toadflax", "Irit leaf", "Avantoe", "Kwuarm", "Snapdragon",
"Cadantine", "Lantadyme", "Dwarf weed" , "Torstol"}
function p.showTable(frame)
local herbTable = "{| class=\"wikitable sortable\" \n"
herbTable = herbTable .. "|- \n"
herbTable = herbTable .. "! Herb !! Grimy Price !! Clean Price !! Profit \n"
for _, herb in ipairs(herbs) do
herbTable = herbTable .. addRow(frame, herb)
end
herbTable = herbTable .. "|}"
return herbTable
end
000
1:0
Return to Module:Sandbox/User:Fire/test.