1,124
edits
Line 175: | Line 175: | ||
--Construction group | --Construction group | ||
local construction = buildingData.construction | |||
if construction then | |||
local conList = {} | local conList = {} | ||
for k, v in pairs( | for k, v in pairs(construction) do | ||
local conLabel = i.icon(k, nil, nil, string.gsub(k, | local conLabel = i.icon(k, nil, nil, string.gsub(k, | ||
string.sub(k,1,1), string.upper(string.sub(k,1,1)), 1), | string.sub(k,1,1), string.upper(string.sub(k,1,1)), 1), |