View difference between Paste ID: 4CsBCPmk and KeUMyRRd
SHOW: | | - or go back to the newest paste.
1
--initialisierung
2
3
function fGRABEN()
4
  sleep(3)
5
  while turtle.detectUp() == true do
6
    turtle.digUp()
7
  end
8
  if turtle.detect() == true then
9
    turtle.dig()
10
  end
11
  turtle.forward()
12
end
13
14
while true do
15
  for i=1,8 do
16
    fGRABEN()
17
  end
18
    turtle.turnLeft()
19
    fGRABEN()
20
    turtle.turnLeft()
21
end