Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 337: Line 337:
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:</b> '..building.tier..'('..Icons._SkillReq('Township', tier.level, false)..'POP'..tier.population..')')
table.insert(ret, '\r\n|-\r\n| <b>Tier:</b> '..building.tier..'<ul><li>'..Icons._SkillReq('Township', tier.level, false)..'</li><li> PLACEHOLDER'..tier.population..'</li></ul>')
table.insert(ret, '\r\n|-\r\n| <b>Building ID:</b> '..building.id)
table.insert(ret, '\r\n|}')
table.insert(ret, '\r\n|}')
return table.concat(ret)
return table.concat(ret)
572

edits