SHOW:
|
|
- or go back to the newest paste.
| 1 | while true do | |
| 2 | - | turtle.select(9) |
| 2 | + | turtle.select(16) |
| 3 | - | if turtle.compare() then |
| 3 | + | if turtle.compare() == true then |
| 4 | turtle.select(1) | |
| 5 | - | while turtle.compare() do |
| 5 | + | turtle.dig() |
| 6 | - | turtle.dig() |
| 6 | + | turtle.dropDown() |
| 7 | - | turtle.digUp() |
| 7 | + | turtle.suckDown() |
| 8 | - | turtle.up() |
| 8 | + | |
| 9 | - | end |
| 9 | + | sleep(0.1) |
| 10 | - | while not turtle.detectDown() do |
| 10 | + | else |
| 11 | - | turtle.down() |
| 11 | + | turtle.select(1) |
| 12 | - | end |
| 12 | + | |
| 13 | - | turtle.turnLeft() |
| 13 | + | turtle.dig() |
| 14 | - | turtle.turnLeft() |
| 14 | + | sleep(0.1) |
| 15 | - | while turtle.getItemCount(1) > 0 do |
| 15 | + | end |
| 16 | - | turtle.drop(1) |
| 16 | + |