606
edits
m |
m |
||
| Line 244: | Line 244: | ||
if buildingData.costs['gold coins'] then | if buildingData.costs['gold coins'] then | ||
labelText = com.firstUpper({'build cost'}) | labelText = com.firstUpper({'build cost'}) | ||
end | |||
local resourceIcon = i.icon(resource, nil, nil, com.firstUpper({resource}), 'en') | local resourceIcon = i.icon(resource, nil, nil, com.firstUpper({resource}), 'en') | ||
table.insert(costData, {label = resourceIcon, value = amount}) | table.insert(costData, {label = resourceIcon, value = amount}) | ||
end | end | ||
edits