SHOW:
|
|
- or go back to the newest paste.
| 1 | turtle.getFuelLevel() | |
| 2 | if turtle.getFuelLevel < 200 then | |
| 3 | - | print("I need more fuel mister!"
|
| 3 | + | print("I need more fuel mister!")
|
| 4 | end | |
| 5 | if message == "1x1" then | |
| 6 | print("Down or up?")
| |
| 7 | end | |
| 8 | if message == "down" then | |
| 9 | print("Depth?")
| |
| 10 | local args { … }
| |
| 11 | local dist = tonumber(args[1]) | |
| 12 | for i=1,dist,1 do | |
| 13 | turtle.digDown() | |
| 14 | end | |
| 15 | for i=1,dist do | |
| 16 | turtle.up() | |
| 17 | end | |
| 18 | if message == "up" then | |
| 19 | print("Height?")
| |
| 20 | local args { … }
| |
| 21 | local dist = tonumber(args[1]) | |
| 22 | for i=1,dist,1 do | |
| 23 | turtle.digUp() | |
| 24 | end | |
| 25 | for i=1,dist do | |
| 26 | turtle.down() | |
| 27 | end | |
| 28 | print("Done! Please give me another task!") |