SHOW:
|
|
- or go back to the newest paste.
| 1 | local function cutTree() | |
| 2 | local lim=0; | |
| 3 | local moveRight=true; | |
| 4 | turtle.dig() | |
| 5 | turtle.forward() | |
| 6 | while turtle.detectUp() do | |
| 7 | turtle.digUp();turtle.dig();turtle.up(); | |
| 8 | lim=lim+1 | |
| 9 | end | |
| 10 | turtle.turnRight();turtle.dig();turtle.forward();turtle.turnLeft() | |
| 11 | while lim>0 do | |
| 12 | turtle.digDown();turtle.dig();turtle.down(); | |
| 13 | lim=lim-1; | |
| 14 | end | |
| 15 | turtle.dig() | |
| 16 | end | |
| 17 | - | cutTree() |
| 17 | + | cutTree() |
| 18 | ||
| 19 | turtle.select(16) | |
| 20 | turtle.place() | |
| 21 | turtle.turnLeft() | |
| 22 | turtle.forward() | |
| 23 | turtle.turnRight() | |
| 24 | turtle.place() | |
| 25 | turtle.turnRight() | |
| 26 | turtle.place() | |
| 27 | turtle.turnRight() | |
| 28 | turtle.forward() | |
| 29 | turtle.turnRight() | |
| 30 | turtle.turnRight() | |
| 31 | turtle.place() | |
| 32 | ||
| 33 | turtle.turnRight() | |
| 34 | turtle.select(15) | |
| 35 | turtle.drop() | |
| 36 | turtle.select(14) | |
| 37 | turtle.drop() | |
| 38 | turtle.select(13) | |
| 39 | turtle.drop() | |
| 40 | turtle.select(12) | |
| 41 | turtle.drop()turtle.select(11) | |
| 42 | turtle.drop() | |
| 43 | turtle.select(10) | |
| 44 | turtle.drop() | |
| 45 | turtle.select(9) | |
| 46 | turtle.drop() | |
| 47 | turtle.select(8) | |
| 48 | turtle.drop() | |
| 49 | turtle.select(7) | |
| 50 | turtle.drop() | |
| 51 | turtle.select(6) | |
| 52 | turtle.drop() | |
| 53 | turtle.select(5) | |
| 54 | turtle.drop() | |
| 55 | turtle.select(4) | |
| 56 | turtle.drop() | |
| 57 | turtle.select(3) | |
| 58 | turtle.drop() | |
| 59 | turtle.select(2) | |
| 60 | turtle.drop() | |
| 61 | turtle.select(1) | |
| 62 | turtle.drop() | |
| 63 | turtle.turnLeft() |