Module:Sandbox/GauTest/Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 536: Line 536:
-- Let's make a list of all the buildings
-- Let's make a list of all the buildings
-- Return empty string if there is only 1 building in the upgrade chain (i.e. no upgrades/downgrades)
local buildingList = {}
local buildingList = {}
local _curBuilding = baseBuilding
local _curBuilding = baseBuilding
Line 544: Line 545:
break
break
end
end
end
if #buildingList == 1 then
return ''
end
end
572

edits