SHOW:
|
|
- or go back to the newest paste.
| 1 | local function tapColumn() | |
| 2 | for i=1, x do | |
| 3 | turtle.dig() | |
| 4 | turtle.up() | |
| 5 | turtle.dig() | |
| 6 | turtle.up() | |
| 7 | turtle.dig() | |
| 8 | turtle.down() | |
| 9 | turtle.down() | |
| 10 | turtle.turnLeft() | |
| 11 | leftTurn() | |
| 12 | end | |
| 13 | end | |
| 14 | ||
| 15 | local function leftTurn() | |
| 16 | if turtle.detect() == false do | |
| 17 | turtle.forward() | |
| 18 | turtle.turnRight() | |
| 19 | else | |
| 20 | end | |
| 21 | end | |
| 22 | ||
| 23 | while true do | |
| 24 | turtle.forward() | |
| 25 | turtle.forward() | |
| 26 | turtle.turnRight() | |
| 27 | tapColumn(38) | |
| 28 | turtle.turnRight() | |
| 29 | turtle.turnRight() | |
| 30 | turtle.back() | |
| 31 | turtle.back() | |
| 32 | turtle.turnRight() | |
| 33 | turtle.select(1) | |
| 34 | turtle.drop(64) | |
| 35 | turtle.select(2) | |
| 36 | turtle.drop(64) | |
| 37 | turtle.select(3) | |
| 38 | turtle.drop(64) | |
| 39 | turtle.select(4) | |
| 40 | turtle.drop(64) | |
| 41 | turtle.turnLeft() | |
| 42 | os.sleep(1800) | |
| 43 | end |