Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.getFuelLevel()
- if turtle.getFuelLevel < 200 then
- print("I need more fuel mister!"
- end
- if message == "1x1" then
- print("Down or up?")
- end
- if message == "down" then
- print("Depth?")
- local args { … }
- local dist = tonumber(args[1])
- for i=1,dist,1 do
- turtle.digDown()
- end
- for i=1,dist do
- turtle.up()
- end
- if message == "up" then
- print("Height?")
- local args { … }
- local dist = tonumber(args[1])
- for i=1,dist,1 do
- turtle.digUp()
- end
- for i=1,dist do
- turtle.down()
- end
- print("Done! Please give me another task!")
Advertisement
Add Comment
Please, Sign In to add comment