Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 126: Line 126:
--SECTION-PRODUCTION
--SECTION-PRODUCTION
         if buildingData.workers then
         if buildingData.workers then
--
             local workersData = {}
             local workersData = {}
             for type, value in pairs(buildingData.workers) do
             for type, value in pairs(buildingData.workers) do
Line 132: Line 131:
             end
             end
              
              
        --test worker stuff above this line
            local workers = buildingData.workers
            if buildingData.rank then
                workers = workers .. ' ' .. buildingData.rank
            end
            table.insert(productionData, {label = 'Workers', value = workers})
         end
         end
          
          
606

edits

Navigation menu