SHOW:
|
|
- or go back to the newest paste.
1 | while true do | |
2 | if turtle.getItemCount(2)<5 then | |
3 | turtle.select(2) | |
4 | turtle.turnLeft() | |
5 | turtle.suck() | |
6 | turtle.turnRight() | |
7 | end | |
8 | ||
9 | if turtle.getItemCount(3)<10 then | |
10 | turtle.select(3) | |
11 | turtle.turnRight() | |
12 | turtle.suck() | |
13 | turtle.turnLeft() | |
14 | end | |
15 | ||
16 | if turtle.getItemCount(1)<1 then | |
17 | - | print "place:Slot1-64 Fir Logs, Slot2-64 Fir Saplings, Slot3-Bone Meal and restart program" |
17 | + | print "place: Slot1-64 Rubber Tree Logs, Slot2-64 Rubber Saplings, Slot3-Bone Meal and restart program" |
18 | turtle.reboot() | |
19 | end | |
20 | ||
21 | if turtle.getFuelLevel()<82 then | |
22 | turtle.select(1) | |
23 | turtle.refuel(10) | |
24 | end | |
25 | ||
26 | if turtle.detect()==false then | |
27 | turtle.select(2) | |
28 | turtle.place() | |
29 | end | |
30 | ||
31 | turtle.select(2) | |
32 | if turtle.compare() then | |
33 | turtle.select(3) | |
34 | turtle.place() | |
35 | end | |
36 | ||
37 | turtle.select(1) | |
38 | if turtle.compare() then | |
39 | - | for u=1,41 do |
39 | + | for u=1,10 do |
40 | turtle.dig() | |
41 | turtle.digUp() | |
42 | turtle.up() | |
43 | end | |
44 | - | for d=1,41 do |
44 | + | for d=1,10 do |
45 | turtle.down() | |
46 | end | |
47 | - | print "Scyther used Cut ... It was Super Effective." |
47 | + | print "Cut was Super Effective." |
48 | ||
49 | turtle.select(2) | |
50 | turtle.place() | |
51 | ||
52 | --Drop Items Down | |
53 | for i=4,16 do | |
54 | turtle.select(i) | |
55 | turtle.dropDown() | |
56 | - | sleep(300) |
56 | + | |
57 | end | |
58 | end |