Dokeve

Quarryframe

Aug 19th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local length = 5 -- length of the Quarry
  2. local s = 1 -- Slot number
  3. local p = 1
  4. turtle.select(s)
  5. for j = 0, 3, 1 do
  6.     for i = 0,length, 1 do
  7.         if i == length then
  8.             turtle.turnRight()      
  9.         else
  10.             if turtle.getItemCount(s) > 1 then
  11.                 turtle.placeDown()
  12.                 turtle.forward()
  13.             else
  14.                 s = s+1
  15.                 turtle.select(s)
  16.                 turtle.placeDown()
  17.                 turtle.forward()
  18.             end
  19.         end
  20.     end  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment