" for currentX = 1, x, 1 do for currentY = 1, y, 1 do houseNr = math.floor(math.random()*6 + 1) orientation = math.floor(math.random()*4)*90 houses = {"Glasstower1","ETH","Hausc1","PrimeTower","Hausc2","101"} scales = {100,80,100,100,100,100} collisionShapes = {--[[Glasstower1]]" ",--[[ETH]]"",--[[Hausc1]]"",--[[PrimeTower]]" ",--[[Hausc2]]" ",--[[101]]""} if (currentX > 0 and currentX < x and currentY > 1 --[[and currentY ~= y]]) then returnString = returnString .. " " .. collisionShapes[houseNr] .. "\n\n" end returnString = returnString .. " \n\n" end end return returnString end ?>