jonassvensson4

Untitled

Jun 8th, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. turtle.getFuelLevel()
  2. if turtle.getFuelLevel < 200 then
  3.     print("I need more fuel!")
  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!")
Advertisement
Add Comment
Please, Sign In to add comment