jBlume

Ore quarry row set up beta

Feb 11th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.78 KB | None | 0 0
  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. --digDown 15 times
  13.     for d=1,15 do
  14.         turtle.digDown()
  15.         turtle.down()  
  16.     end
  17. --place Turtles from ender chest
  18.     for p=1,5 do
  19.         turtle.dig()
  20.         turtle.select(2)
  21.         turtle.placeUp()
  22.         turtle.select(16)
  23.         turtle.suckUp(1)   
  24.         turtle.place()
  25. --place stone and dirt in turtle
  26.         turtle.select(4)
  27.         turtle.drop(1)
  28.         turtle.select(5)
  29.         turtle.drop(1)
  30. --place chest
  31.         turtle.select(2)
  32.         turtle.digUp()
  33.         turtle.up()
  34.         turtle.select(3)
  35.         turtle.placeDown()
  36.         turtle.up()
  37.         turtle.up()
  38.     end
Add Comment
Please, Sign In to add comment