Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Turtle can reach additional blocks left and right
- --variables
- RowPos = 0
- ColumnPos = 0
- function straightRowDig()
- for i = 1,18 do
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- end
- end
- function straightRowBackDig()
- for i = 1,18 do
- turtle.digDown()
- turtle.placeDown()
- turtle.forward()
- end
- end
- function straightRow()
- for i = 1,17 do
- turtle.forward()
- end
- end
- --Start Loop
- straightRowDig()
- turtle.turnLeft()
- for i = 1,5 do
- turtle.forward()
- end
- turtle.turnLeft()
- straightRowBackDig()
- turtle.turnRight()
- for i = 1,5 do
- turtle.forward()
- end
- turtle.turnRight()
- straightRowDig()
- turtle.turnLeft()
- for i = 1,5 do
- turtle.forward()
- end
- turtle.turnLeft()
- straightRowBackDig()
- turtle.turnLeft()
- for i = 1,15 do
- turtle.forward()
- end
- turtle.turnLeft()
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement