SHOW:
|
|
- or go back to the newest paste.
| 1 | -- 1 - red | |
| 2 | - | {1,1,2},
|
| 2 | + | -- 2 - yellow |
| 3 | - | {4,5,2},
|
| 3 | + | -- 3 - green |
| 4 | - | {4,3,3}
|
| 4 | + | -- 4 - pink |
| 5 | -- 5 - black | |
| 6 | - | for zmeyka = 1,#slots do |
| 6 | + | |
| 7 | - | slot= slots[zmeyka] |
| 7 | + | {1,1,2},
|
| 8 | - | turtle.select(slot) |
| 8 | + | {4,5,2},
|
| 9 | - | turtle.forward () |
| 9 | + | {4,3,3}
|
| 10 | - | turtle.placeDown() |
| 10 | + | |
| 11 | - | end |
| 11 | + | |
| 12 | - | for nazat=1,#slots do |
| 12 | + | for stroka = 1,#slots do |
| 13 | - | turtle.back() |
| 13 | + | for zmeyka = 1,#slots do |
| 14 | - | end |
| 14 | + | slot= slots[zmeyka] |
| 15 | - | turtle.turnLeft() |
| 15 | + | turtle.select(slot) |
| 16 | - | turtle.forward() |
| 16 | + | turtle.forward () |
| 17 | - | turtle.turnRight() |
| 17 | + | turtle.placeDown() |
| 18 | end | |
| 19 | ||
| 20 | for nazat=1,#slots do | |
| 21 | turtle.back() | |
| 22 | end | |
| 23 | ||
| 24 | turtle.turnLeft() | |
| 25 | turtle.forward() | |
| 26 | turtle.turnRight() | |
| 27 | end |