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

Aller à la navigation Aller à la recherche
293 octets supprimés ,  18 avril 2025 à 23:32
m
aucun résumé de modification
m
m
Ligne 126 : Ligne 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
Ligne 132 : Ligne 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

modifications

Menu de navigation