1,124
edits
Line 111: | Line 111: | ||
if workers or products then | if workers or products then | ||
local productionSet = {} | local productionSet = {} | ||
table.insert(productionSet, infoboxData(' | table.insert(productionSet, infoboxData(workers, 'Workers')) | ||
table.insert(productionSet, infoboxData('Produces' | table.insert(productionSet, infoboxData(products, 'Produces')) | ||
local production = infoboxGroup(productionSet, nil, 'Production') | local production = infoboxGroup(productionSet, nil, 'Production') | ||
for k, v in ipairs(production) do | for k, v in ipairs(production) do |