Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- local slot= 1
- function layer()
- turtle.up()
- length=11
- line()
- stepright()
- length=3
- line()
- stepright()
- length=2
- for j=1,3 do
- line()
- stepright()
- end
- length=1
- for j=1,6 do
- line()
- stepright()
- end
- turtle.turnRight()
- length=2
- for j=1,3 do
- line()
- stepleft()
- end
- length=4
- line()
- stepleft()
- length=11
- line()
- end
- function line()
- for i=1, length do
- turtle.placeDown()
- turtle.forward()
- checkblocks()
- end
- end
- function stepright()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- function stepleft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- function checkblocks()
- if turtle.getItemCount(slot) < 1 then
- slot = slot+1
- turtle.select(slot)
- end
- end
- layer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement