Advertisement
jBlume

Ore quarry row set up beta2 (top down)

Feb 13th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --fuel check
  2.     if turtle.getFuelLevel()<60 then
  3.         turtle.select(1)
  4.         turtle.refuel(10)
  5.     end
  6.  
  7.     if turtle.getItemCount(2)<1 then
  8.         print "place:Slot1-Fuel, Slot2-Turtle Ender Chest, Slot3-5 Chests, Slot4-Stone, Slot5-Dirt Slot6-To Sorting Ender Chest and restart"
  9.         turtle.reboot()
  10.     end
  11.  
  12. --start loop for 5x
  13.     for p=1,5 do
  14. --get into position
  15.         for d=1,3 do
  16.             turtle.digDown()
  17.             turtle.down()
  18.             turtle.dig()       
  19.         end
  20. --place Turtles from ender chest
  21.         turtle.select(2)
  22.         turtle.placeUp()
  23.         turtle.suckUp(1)   
  24.         turtle.place()
  25.         turtle.digUp()
  26. --place stone and dirt in turtle
  27.         turtle.select(4)
  28.         turtle.drop(1)
  29.         turtle.select(5)
  30.         turtle.drop(1)
  31.     end
  32. --place chests
  33.     turtle.select(3)
  34.     for u=1,5 do
  35.         turtle.up()
  36.         turtle.placeDown()
  37.         turtle.up()
  38.         turtle.up()
  39.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement