View difference between Paste ID: ZZQ1Rtj5 and KQeAvxPE
SHOW: | | - or go back to the newest paste.
1-
function turtle.DigandMove()
1+
function DigandMove()
2
 turtle.dig()
3
 os.sleep( 1 )
4
 while turtle.detect() do
5
  turtle.dig()
6
  os.sleep( 1 )
7-
fuction DigTunnel()
7+
8-
 turtle.DigandMove()
8+
9
end
10-
 for i=1,4 do
10+
11-
  turtle.DigandMove()
11+
for t=1,30000 do
12
 DigandMove()
13-
 turtle.digUp()
13+
14-
 turtle.up()
14+
 turtle.digDown()
15
 for i=1,3 do
16
  DigandMove()
17-
 for i=1,4 do
17+
  turtle.digDown()
18-
  turtle.DigandMove()
18+
  if i < 3 then
19
   turtle.digUp()
20
   os.sleep( 1 )
21
   while turtle.detectUp() do
22
    turtle.digUp()
23-
 turtle.digUp()
23+
    os.sleep( 1 )
24
   end
25-
 turtle.digUp()
25+
  end
26
 end
27
 for i=1,9 do
28
  turtle.drop() 
29-
 turtle.down()
29+
30-
 turtle.down()
30+
31
 DigandMove()
32
 turtle.turnLeft()
33
 turtle.digDown()
34
 for i=1,3 do
35
  DigandMove()
36
  turtle.digDown()
37
  if i<3 then
38
   turtle.digUp()
39
   os.sleep( 1 )
40
   while turtle.detectUp() do
41
    turtle.digUp()
42
    os.sleep( 1 )
43
   end
44
  end
45
 end
46
 for i=1,9 do
47
  turtle.drop()
48
 end
49
 turtle.turnRight()
50
end