SHOW:
|
|
- or go back to the newest paste.
1 | - | pic = {1, 2, 2, 3, 3, 1, 1, 2, 2, 3, 3, 1} |
1 | + | -- 0 - nothing |
2 | -- 1 - brown | |
3 | - | for i=1, 12 do |
3 | + | -- 2 - sand |
4 | - | turtle.select(pic[i]) |
4 | + | -- 3 - white wool |
5 | - | turtle.placeDown() |
5 | + | -- 4 - black wool |
6 | - | turtle.forward() |
6 | + | -- 5 - pink wool |
7 | pic = { | |
8 | {0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0}, | |
9 | {0, 1, 2, 2, 2, 1, 1, 2, 2, 2, 1, 0} | |
10 | } | |
11 | ||
12 | row = 2 | |
13 | column = 1 | |
14 | slot = 0 | |
15 | for row=1, 2 do | |
16 | for column=1, 12 do | |
17 | slot = pic[row][column] | |
18 | if slot == 0 then | |
19 | turtle.forward() | |
20 | else | |
21 | turtle.select(slot) | |
22 | turtle.placeDown() | |
23 | turtle.forward() | |
24 | end | |
25 | end | |
26 | turtle.turnLeft() | |
27 | turtle.forward() | |
28 | turtle.turnRight() | |
29 | for column = 1, 12 do | |
30 | turtle.back() | |
31 | end | |
32 | end | |
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 |