SHOW:
|
|
- or go back to the newest paste.
| 1 | function refuel() | |
| 2 | if turtle.getFuelLevel() < 1000 then | |
| 3 | turtle.select(3) | |
| 4 | turtle.suckDown() | |
| 5 | turtle.refuel() | |
| 6 | end | |
| 7 | end | |
| 8 | ||
| 9 | while true do | |
| 10 | refuel() | |
| 11 | turtle.select(1) | |
| 12 | turtle.digUp() | |
| 13 | - | turtle.up(2) |
| 13 | + | turtle.up() |
| 14 | turtle.up() | |
| 15 | - | turtle.up(24) |
| 15 | + | |
| 16 | for i=24 do | |
| 17 | turtle.up(i) | |
| 18 | end | |
| 19 | turtle.select(2) | |
| 20 | turtle.placeDown() | |
| 21 | end |