Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 125: Line 125:
     if buildingData then
     if buildingData then
--SECTION-PRODUCTION
--SECTION-PRODUCTION
        local productionData = {}
if buildingData.employees then
--draft new workers part based on prosperity
             local employeeData = {}
if buildingData.workers then
             for type, value in pairs(buildingData.employees) do
             local workers = {}
                 table.insert(employeeData, {label = com.firstUpper({type}), value = value})
             for type, value in pairs(buildingData.workers) do
                 table.insert(workers, {label = com.firstUpper({type}), value = value})
             end
             end
        end
end
        --
   
         if buildingData.input then
         if buildingData.input then
             local input = ''
             local input = ''
606

edits

Navigation menu