SHOW:
|
|
- or go back to the newest paste.
| 1 | print("Starting Tunnelling!")
| |
| 2 | print("Refuelling!")
| |
| 3 | turtle.refuel() | |
| 4 | - | print("Fuel Level: " + turtle.getFuelLevel())
|
| 4 | + | print("Fuel Level: ".concat(turtle.getFuelValue()))
|
| 5 | while turtle.getFuelLevel() > 0 do | |
| 6 | turtle.dig() | |
| 7 | turtle.forward() | |
| 8 | turtle.digUp() | |
| 9 | turtle.up() | |
| 10 | turtle.digUp() | |
| 11 | turtle.up() | |
| 12 | turtle.turnLeft() | |
| 13 | turtle.dig() | |
| 14 | turtle.down() | |
| 15 | turtle.dig() | |
| 16 | turtle.down() | |
| 17 | turtle.dig() | |
| 18 | turtle.turnRight() | |
| 19 | turtle.turnRight() | |
| 20 | turtle.dig() | |
| 21 | turtle.up() | |
| 22 | turtle.dig() | |
| 23 | turtle.up() | |
| 24 | turtle.dig() | |
| 25 | turtle.down() | |
| 26 | turtle.down() | |
| 27 | turtle.turnLeft() | |
| 28 | end | |
| 29 | print("Finished Tunnelling!") |