SHOW:
|
|
- or go back to the newest paste.
| 1 | while true do | |
| 2 | - | if turtle.getItemCount(1) >= 9 then |
| 2 | + | if turtle.getItemCount(1) >= nbUp + nbDown + nbFront then |
| 3 | turtle.select(1) | |
| 4 | - | turtle.drop(6) |
| 4 | + | turtle.drop(nbFront) |
| 5 | - | turtle.dropUp(3) |
| 5 | + | turtle.dropUp(nbUp) |
| 6 | turtle.dropDown(nbDown) | |
| 7 | else | |
| 8 | sleep(1) | |
| 9 | end | |
| 10 | end |