SHOW:
|
|
- or go back to the newest paste.
| 1 | function drop() | |
| 2 | for i=1, 16 do | |
| 3 | turtle.select(i) | |
| 4 | turtle.dropDown() | |
| 5 | end | |
| 6 | end | |
| 7 | ||
| 8 | function shear() | |
| 9 | - | if not turtle.attack()then |
| 9 | + | if not turtle.attack() then |
| 10 | turtle.turnLeft() | |
| 11 | end | |
| 12 | end | |
| 13 | ||
| 14 | while true do | |
| 15 | if not shear()then | |
| 16 | if turtle.getItemCount(1)>=1 then | |
| 17 | drop() | |
| 18 | end | |
| 19 | sleep(1) | |
| 20 | end | |
| 21 | end |