View difference between Paste ID: 46xvrFkt and muVT5xEJ
SHOW: | | - or go back to the newest paste.
1-
local length = 5 -- SeitenlåA4nge der Quarry
1+
local length = 5 -- length of the Quarry
2-
local s = 1 -- Slot numer
2+
local s = 1 -- Slot number
3
local p = 1
4
turtle.select(s)
5
for j = 0, 3, 1 do
6-
6+
	for i = 0,length, 1 do
7-
  for i = 0,length, 1 do
7+
		if i == length then
8-
    if i == length then
8+
			turtle.turnRight()      
9-
    turtle.turnRight()      
9+
		else
10-
   else
10+
			if turtle.getItemCount(s) > 1 then
11-
   if turtle.getItemCount(s) > 1 then
11+
				turtle.placeDown()
12-
       turtle.placeDown()
12+
				turtle.forward()
13-
       turtle.forward()
13+
			else 
14-
       else
14+
				s = s+1
15-
       
15+
				turtle.select(s)
16-
       p = s + 1
16+
				turtle.placeDown()
17-
       turtle.select(p)
17+
				turtle.forward()
18-
       turtle.placeDown()
18+
			end
19-
       turttle.forward()
19+
		end
20-
       end
20+
	end  
21-
  end
21+
end