1,124
edits
Line 124: | Line 124: | ||
result:node(v) | result:node(v) | ||
end | end | ||
end | |||
if buildingData.prosperity then | |||
local prospRows = {} | |||
for k, v in pairs(buildingData.prosperity) do | |||
table.insert(prospRows, infoboxData(v, k)) | |||
end | |||
local prospSet = infoboxGroup(prospRows, 2, 'Prosperity') | |||
result:node(prospSet) | |||
end | end | ||