572
edits
No edit summary |
No edit summary |
||
Line 320: | Line 320: | ||
function p._GetTierText(tierlevel) | function p._GetTierText(tierlevel) | ||
local tier = p._GetTierRequirements(tierlevel) | local tier = p._GetTierRequirements(tierlevel) | ||
return | return Icons._SkillReq('Township', tier.level, false)..'<br>'..Icons.Icon({'Population', type='township', notext=true})..' '..tier.population | ||
end | end | ||
Line 342: | Line 342: | ||
-- Tier | -- Tier | ||
local tier = p._GetTierText(building.tier) | local tier = p._GetTierText(building.tier) | ||
table.insert(ret, '\r\n|-\r\n| '..tier) | table.insert(ret, '\r\n|-\r\n| <b>Requirements:</b><br>'..tier) | ||
-- Upgrades From | -- Upgrades From | ||
Line 560: | Line 560: | ||
-- Tier | -- Tier | ||
table.insert(ret, '\r\n|-\r\n! | table.insert(ret, '\r\n|-\r\n! Requirements') | ||
for _, building in ipairs(buildingList) do | for _, building in ipairs(buildingList) do | ||
local tier = p._GetTierText(building.tier) | local tier = p._GetTierText(building.tier) |
edits