Advertisement
Spatzenhirn123

Miner-Staffel

Sep 27th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. local args = {...}
  2. a = args[1]
  3. shell.run("refuel all")
  4. while turtle.getFuelLevel()<200*a do
  5. sleep(60)
  6. shell.run("refuel all")
  7. end
  8. for x=1,a,1 do
  9. repeat
  10. turtle.down()
  11. turtle.digDown()
  12. until(turtle.detectDown()==true)
  13. for i=1,74,1 do
  14. turtle.up()
  15. end
  16. turtle.dig()
  17. turtle.select(1)
  18. turtle.place()
  19. for x=2,16,1 do
  20. turtle.select(x)
  21. turtle.drop()
  22. end
  23. turtle.select(1)
  24. turtle.dig()
  25. turtle.forward()
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement