Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 336: Line 336:
table.insert(ret, '\r\n|-\r\n| <b>Building ID:</b> '..building.id)
table.insert(ret, '\r\n|-\r\n| <b>Building ID:</b> '..building.id)
local tier = p._GetTierRequirements(building.tier)
local tier = p._GetTierRequirements(building.tier)
table.insert(ret, '\r\n|-\r\n| <b>Tier '..building.tier..'</b><ul><li>'..Icons._SkillReq('Township', tier.level, false)..'</li><li> PLACEHOLDER POP'..tier.population..'</li></ul>')
table.insert(ret, '\r\n|-\r\n| <b>Tier '..building.tier..'</b><ul><li>'..Icons._SkillReq('Township', tier.level, false)..'</li><li>'..tier.population..Icons.Icon({'Population', type='township', notext=true})..'</li></ul>')
table.insert(ret, '\r\n|}')
table.insert(ret, '\r\n|}')
return table.concat(ret)
return table.concat(ret)
end
end


p.GameData = GameData
p.GameData = GameData
p.Township = Township
p.Township = Township
return p
return p
572

edits