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

Aller à la navigation Aller à la recherche
79 octets supprimés ,  19 avril 2025 à 00:45
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.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

modifications

Menu de navigation