Module:Sandbox/User:Alsang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 6: Line 6:


function p.stone()
function p.stone()
return makeTable('stone')
return p.makeTable('stone')
end
end


function p.metal()
function p.metal()
return makeTable('metal')
return p.makeTable('metal')
end
end


function p.bone()
function p.bone()
return makeTable('bone')
return p.makeTable('bone')
end
end
local function makeTable(args)
function p.makeTable(args)
local variants = {'Basic','Moderate','Fine','Strong','Superior','Perfect'}
local variants = {'Basic','Moderate','Fine','Strong','Superior','Perfect'}