SHOW:
|
|
- or go back to the newest paste.
| 1 | local blocks = 64 | |
| 2 | local right = false | |
| 3 | ||
| 4 | while blocks ~= 0 do | |
| 5 | for i=1,14 do | |
| 6 | turtle.digDown() | |
| 7 | turtle.placeDown() | |
| 8 | for n=1,5 do | |
| 9 | turtle.dig() | |
| 10 | turtle.forward() | |
| 11 | end | |
| 12 | end | |
| 13 | - | if right == true do |
| 13 | + | if right == true then |
| 14 | turtle.turnRight() | |
| 15 | right = false | |
| 16 | else | |
| 17 | turtle.turnLeft() | |
| 18 | right = true | |
| 19 | end | |
| 20 | for i=1,5 do | |
| 21 | turtle.dig() | |
| 22 | turtle.forward() | |
| 23 | end | |
| 24 | - | if right == false do |
| 24 | + | if right == false then |
| 25 | turtle.turnRight() | |
| 26 | else | |
| 27 | turtle.turnLeft() | |
| 28 | end | |
| 29 | end |