Différences entre les versions de « Module:OTable »

Aller à la navigation Aller à la recherche
m
aucun résumé de modification
m
m
Ligne 48 : Ligne 48 :
local c = buildingList[v]
local c = buildingList[v]
local buildingType = c.type
local buildingType = c.type
local influence = ''
local influence = ''
           if c.influence then
           if c.influence then
           local influenceKeys = {}
           local influenceKeys = {}
          local tierValue = c.influence.tier
       
           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
Ligne 68 : Ligne 66 :
             end
             end
             end
             end
          end
       
          -- Append the tier in brackets if it exists
          if tierValue then
            influence = influence .. ' (' .. tierValue .. ')'
           end
           end
           end
           end
606

modifications

Menu de navigation