606
modifications
m |
m |
||
| Ligne 240 : | Ligne 240 : | ||
if buildingData.costs or buildingData.influence['bsplendour'] then | if buildingData.costs or buildingData.influence['bsplendour'] then | ||
local costData = {} | local costData = {} | ||
for resource, amount in pairs(buildingData.costs) do | |||
local resourceIcon = i.icon(resource, nil, nil, com.firstUpper({resource}), 'en') | |||
table.insert(costData, {label = resourceIcon, value = amount}) | |||
end | |||
-- Add 'bsplendour' to running costs if it exists | -- Add 'bsplendour' to running costs if it exists | ||
| Ligne 258 : | Ligne 254 : | ||
addSection(infobox, costData, 'Economic Impact', 2) | addSection(infobox, costData, 'Economic Impact', 2) | ||
end | end | ||
end | |||
--/ | --/ | ||
end | end | ||
modifications