606
modifications
m |
m Balise : Annulation |
||
| Ligne 48 : | Ligne 48 : | ||
local c = buildingList[v] | local c = buildingList[v] | ||
local buildingType = c.type | local buildingType = c.type | ||
local influence = '' | |||
if c.influence then | |||
for k, v in pairs(c.influence) do | |||
influence = influence .. i.icon(k, v, nil, k, 'en') .. '<br />' | |||
end | |||
local l = string.len(influence) | |||
influence = string.sub(influence, 1, l -6) | |||
end | |||
local unlocks = influence | |||
local production = '' | |||
if c.input then | |||
production = '\'\'\'Requires:\'\'\'<br />' | |||
for k, v in pairs(c.input) do | |||
production = production .. i.icon(v, nil, nil, v, 'en') .. '<br />' | |||
end | |||
end | |||
if c.output then | if c.output then | ||
modifications