606
edits
m |
m |
||
| Line 48: | Line 48: | ||
local c = buildingList[v] | local c = buildingList[v] | ||
local buildingType = c.type | local buildingType = c.type | ||
local influence = '' | |||
if c.influence then | if c.influence then | ||
local influenceKeys = {} | local influenceKeys = {} | ||
for k in pairs(c.influence) do | for k in pairs(c.influence) do | ||
if k ~= 'perEach splendour' and k ~= 'tier' then -- Exclude 'perEach splendour' and 'tier' | if k ~= 'perEach splendour' and k ~= 'tier' then -- Exclude 'perEach splendour' and 'tier'... for now | ||
table.insert(influenceKeys, k) | table.insert(influenceKeys, k) | ||
end | end | ||
| Line 68: | Line 66: | ||
end | end | ||
end | end | ||
end | end | ||
end | end | ||
edits