SHOW:
|
|
- or go back to the newest paste.
1 | -- Refuel | |
2 | turtle.select(16) | |
3 | turtle.refuel() | |
4 | ||
5 | -- Place 3 Turtles | |
6 | for i = 1,3 do | |
7 | ||
8 | -- Mid 2 Blocks | |
9 | while turtle.detect() do | |
10 | turtle.dig() | |
11 | sleep(0.5) | |
12 | end | |
13 | turtle.forward() | |
14 | while turtle.detectUp() do | |
15 | turtle.digUp() | |
16 | sleep(0.5) | |
17 | end | |
18 | ||
19 | -- Right 2 Blocks | |
20 | turtle.turnRight() | |
21 | while turtle.detect() do | |
22 | turtle.dig() | |
23 | sleep(0.5) | |
24 | end | |
25 | turtle.forward() | |
26 | while turtle.detectUp() do | |
27 | turtle.digUp() | |
28 | sleep(0.5) | |
29 | end | |
30 | turtle.turnRight() | |
31 | turtle.turnRight() | |
32 | turtle.forward() | |
33 | ||
34 | -- Left 2 Blocks | |
35 | while turtle.detect() do | |
36 | turtle.dig() | |
37 | sleep(0.5) | |
38 | end | |
39 | turtle.forward() | |
40 | while turtle.detectUp() do | |
41 | turtle.digUp() | |
42 | sleep(0.5) | |
43 | end | |
44 | turtle.turnRight() | |
45 | turtle.turnRight() | |
46 | turtle.forward() | |
47 | ||
48 | turtle.turnRight() | |
49 | turtle.forward() | |
50 | turtle.turnRight() | |
51 | turtle.turnRight() | |
52 | turtle.select(4) | |
53 | turtle.place() | |
54 | turtle.select(5) | |
55 | turtle.drop(1) | |
56 | ||
57 | turtle.turnLeft() | |
58 | turtle.forward() | |
59 | turtle.turnRight() | |
60 | turtle.select(3) | |
61 | turtle.place() | |
62 | turtle.select(1) | |
63 | turtle.drop(1) | |
64 | turtle.select(2) | |
65 | turtle.drop(1) | |
66 | peripheral.call("front", "turnOn") | |
67 | ||
68 | turtle.turnRight() | |
69 | turtle.forward() | |
70 | ||
71 | turtle.select(5) | |
72 | turtle.suck() | |
73 | turtle.select(4) | |
74 | turtle.dig() | |
75 | turtle.suck() | |
76 | ||
77 | turtle.forward() | |
78 | end | |
79 | turtle.select(1) |