1,124
edits
Line 108: | Line 108: | ||
if workers or products then | if workers or products then | ||
local productionSet = {} | local productionSet = {} | ||
table.insert(productionSet, infoboxData('workers', workers)) | |||
table.insert(productionSet, infoboxData('Produces', products)) | |||
result:node(infoboxGroup(productionSet, nil, 'Production')) | result:node(infoboxGroup(productionSet, nil, 'Production')) | ||
end | end |