SHOW:
|
|
- or go back to the newest paste.
1 | while true do | |
2 | turtle.select(1) | |
3 | repeat | |
4 | turtle.suckUp() | |
5 | os.sleep(0.5) | |
6 | - | until turtle.getItemCount(2) >= 8 |
6 | + | until turtle.getItemCount(1) == 64 |
7 | - | turtle.dropUp(turtle.getItemCount(2) - 8) |
7 | + | |
8 | for i = 1, 4 do | |
9 | - | turtle.transferTo(4) |
9 | + | |
10 | turtle.drop() | |
11 | end | |
12 | turtle.select(1) | |
13 | - | turtle.transferTo(17 - i) |
13 | + | |
14 | turtle.suckUp() | |
15 | os.sleep(0.5) | |
16 | until turtle.getItemCount(1) >= 8 | |
17 | - | turtle.select(12) |
17 | + | turtle.dropUp(turtle.getItemCount(1) - 8) |
18 | turtle.select(13) | |
19 | turtle.craft() | |
20 | - | turtle.select(16) |
20 | + | turtle.drop() -- makes 72 logs into planks |
21 | - | turtle.transferTo(1, 16) |
21 | + | |
22 | turtle.select(1) | |
23 | turtle.suck() | |
24 | - | turtle.select(20- 4 * i) |
24 | + | turtle.suck() |
25 | turtle.drop(16) | |
26 | turtle.select(2) | |
27 | turtle.drop(16) | |
28 | - | turtle.select(12 + i) |
28 | + | turtle.transferTo(5) |
29 | - | turtle.tranferTo(i) |
29 | + | |
30 | for i = 1, 3 do | |
31 | - | turtle.select(16) |
31 | + | |
32 | - | turtle.tranferTo(6) |
32 | + | turtle.drop() |
33 | - | turtle.select(12) |
33 | + | end -- makes 3 stacks of sticks |
34 | - | turtle.tranferTo(9) |
34 | + | |
35 | - | turtle.select(8) |
35 | + | for i = i, 5 do |
36 | - | turtle.tranferTo(11) |
36 | + | turtle.suck() |
37 | end | |
38 | ||
39 | turtle.select(1) | |
40 | turtle.transferTo(9) | |
41 | turtle.select(2) | |
42 | turtle.transferTo(11) | |
43 | turtle.select(4) | |
44 | turtle.transferTo(1) | |
45 | turtle.select(5) | |
46 | turtle.transferTo(2) | |
47 | turtle.select(13) | |
48 | for i = 1, 16 do | |
49 | turtle.craft() | |
50 | turtle.dropDown() | |
51 | end | |
52 | end |