Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
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
         end
606

edits

Navigation menu