SHOW:
|
|
- or go back to the newest paste.
1 | slot =1 | |
2 | function pos () | |
3 | turtle.digDown() | |
4 | turtle.placeDown() | |
5 | turtle.forward() | |
6 | turtle.digDown() | |
7 | turtle.placeDown() | |
8 | turtle.forward() | |
9 | end | |
10 | ||
11 | function av () | |
12 | turtle.forward() | |
13 | turtle.forward() | |
14 | turtle.forward() | |
15 | turtle.forward() | |
16 | turtle.forward() | |
17 | ||
18 | end | |
19 | ||
20 | function change () | |
21 | slot=slot+1 | |
22 | if (slot==17) then | |
23 | slot=1 | |
24 | end | |
25 | turtle.select(slot) | |
26 | ||
27 | end | |
28 | ||
29 | while true do | |
30 | av() | |
31 | change() | |
32 | pos() | |
33 | end |