Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args={...}
- length=args[1]
- height=args[2]
- turtle.select(1)
- turtle.turnLeft()
- turtle.turnLeft()
- for heighti=1, height/3 do
- turtle.placeDown()
- turtle.placeUp()
- for lengthi=1,length-1 do
- turtle.back()
- turtle.placeUp()
- turtle.place()
- turtle.placeDown()
- if lengthi % 16 ==0 then
- for i=1,16 do
- turtle.select(i)
- turtle.transferTo(1)
- end
- turtle.select(1)
- end
- end
- print("loop "..tostring(heighti).." traveled "..tostring(heighti*3).." blocks")
- turtle.digUp()
- turtle.up()
- turtle.placeDown()
- turtle.digUp()
- turtle.up()
- turtle.placeDown()
- turtle.digUp()
- turtle.up()
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- for i=1,16 do
- turtle.select(i)
- turtle.transferTo(1)
- end
- turtle.select(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement