Différences entre les versions de « Module:OInfobox-Building »

Aller à la navigation Aller à la recherche
m
aucun résumé de modification
m
m
Ligne 125 : Ligne 125 :
     if buildingData then
     if buildingData then
--SECTION-PRODUCTION
--SECTION-PRODUCTION
         local productionData = {}
         if buildingData.workers then
         ---------------
            local workersData = {}
            for type, value in pairs(buildingData.workers) do
                table.insert(workersData, {label = com.firstUpper({type}), value = value})
            end
           
        end
         --test worker stuff above this line
         if buildingData.workers then
         if buildingData.workers then
             local workers = buildingData.workers
             local workers = buildingData.workers
Ligne 134 : Ligne 140 :
             table.insert(productionData, {label = 'Workers', value = workers})
             table.insert(productionData, {label = 'Workers', value = workers})
         end
         end
         -----------------
          
         if buildingData.input then
         if buildingData.input then
             local input = ''
             local input = ''
606

modifications

Menu de navigation