Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 629: Line 629:
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|'..FREE_LAND..'\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=FREE_LAND,maxTownSize,FREE_LAND do
for i=FREE_LAND,Township.maxTownSize,FREE_LAND do
table.insert(ret, '\r\n|-\r\n|'..i..'\r\n|'..Icons.GP(p.GetLandCost(i))..'\r\n|'..Icons.GP(p.GetCumulativeLandCost(i)))
table.insert(ret, '\r\n|-\r\n|'..i..'\r\n|'..Icons.GP(p.GetLandCost(i))..'\r\n|'..Icons.GP(p.GetCumulativeLandCost(i)))
end
end
572

edits