Guest User

Quarryframe

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