SHOW:
|
|
- or go back to the newest paste.
| 1 | local function tapColumn() | |
| 2 | for i=1, x do | |
| 3 | - | turtle.turnRight() |
| 3 | + | |
| 4 | turtle.up() | |
| 5 | turtle.dig() | |
| 6 | turtle.up() | |
| 7 | turtle.dig() | |
| 8 | turtle.down() | |
| 9 | turtle.down() | |
| 10 | turtle.turnLeft() | |
| 11 | end | |
| 12 | end | |
| 13 | ||
| 14 | local function leftTurn() | |
| 15 | if turtle.detect() == false do | |
| 16 | turtle.forward() | |
| 17 | turtle.turnRight() | |
| 18 | else | |
| 19 | end | |
| 20 | end |