SHOW:
|
|
- or go back to the newest paste.
| 1 | - | near=true |
| 1 | + | while(true) |
| 2 | - | blocksTravelled = 0 |
| 2 | + | if turtle.getItemSpace() == 0 then |
| 3 | - | |
| 3 | + | turtle.drop() |
| 4 | - | function detectLava() |
| 4 | + | end |
| 5 | - | while not turtle.up() do |
| 5 | + | if turtle.detect() then |
| 6 | - | turtle.digUp() |
| 6 | + | turtle.dig() |
| 7 | - | end |
| 7 | + | end |
| 8 | - | for i=0, 1, 1 do |
| 8 | + |