Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 242: Line 242:
             for resource, amount in pairs(buildingData.costs) do
             for resource, amount in pairs(buildingData.costs) do
                 local labelText = com.firstUpper({resource})
                 local labelText = com.firstUpper({resource})
                 if labelText == 'gold coins' then
                 if resourceIcon == 'gold coins' then
                     labelText = com.firstUpper({'build cost'})
                     labelText = com.firstUpper({'build cost'})
                 end
                 end
606

edits

Navigation menu