Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
(LandCostTable)
No edit summary
Line 628: Line 628:
table.insert(ret, '\r\n{| class="wikitable"')
table.insert(ret, '\r\n{| class="wikitable"')
table.insert(ret, '\r\n|- style="text-align:center" \r\n! Total Land \r\n! Single Land Cost \r\n! Total Cost')
table.insert(ret, '\r\n|- style="text-align:center" \r\n! Total Land \r\n! Single Land Cost \r\n! Total Cost')
table.insert(ret, '\r\n|-\r\n|'..Icons.GP(p.GetLandCost(FREE_LAND))..'\r\n|'..Icons.GP(p.GetCumulativeLandCost(FREE_LAND)))
table.insert(ret, '\r\n|-\r\n|'..FREE_LAND..'\r\n|'..Icons.GP(p.GetLandCost(FREE_LAND))..'\r\n|'..Icons.GP(p.GetCumulativeLandCost(FREE_LAND)))
for i=128,2048,128 do
table.insert(ret, '\r\n|-\r\n|'..i..'\r\n|'..Icons.GP(p.GetLandCost(i))..'\r\n|'..Icons.GP(p.GetCumulativeLandCost(i)))
end
table.insert(ret, '\r\n|}')
table.insert(ret, '\r\n|}')
return table.concat(ret)
return table.concat(ret)
572

edits