Module:Sandbox/User:Alsang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(tidy up completed tables)
No edit summary
Line 129: Line 129:
--return '<pre>'..mw.text.jsonEncode(allWeapons, mw.text.JSON_PRETTY)..'</pre>'
--return '<pre>'..mw.text.jsonEncode(allWeapons, mw.text.JSON_PRETTY)..'</pre>'
end

function p.stonetasks()
local tasks = {
'Snake Statue',
'Uren Ornamental',
'Orb Column',
'Eagle Statue',
'Lord Bust',
'Birdbath Ornamental',
'Pyramid Column',
'Lion Statue',
'Lady Bust',
'Sundial Ornamental',
'Ionic Column',
'Cryoknight Statue',
'King Bust',
'Fountain Ornamental',
'Acorn Column',
'Hammermage Statue',
'Queen Bust',
'Guardian Statue',
'Pineapple Column',
'Lightning Born Statue'
}
local out = {}
for i,item in ipairs(tasks) do
table.insert(out,'[[' .. item .. ' Sculpture]]')
end
return table.concat(out,'<br>')

end
end