SHOW:
|
|
- or go back to the newest paste.
| 1 | --initialisierung | |
| 2 | - | richtung=true |
| 2 | + | |
| 3 | - | run=true |
| 3 | + | |
| 4 | while turtle.detectUp() == true do | |
| 5 | turtle.digUp() | |
| 6 | end | |
| 7 | if turtle.detect() == true then | |
| 8 | turtle.dig() | |
| 9 | end | |
| 10 | turtle.forward() | |
| 11 | end | |
| 12 | ||
| 13 | while true do | |
| 14 | for i=1,8 do | |
| 15 | fGRABEN() | |
| 16 | end | |
| 17 | turtle.turnLeft() | |
| 18 | fGRABEN() | |
| 19 | - | if richtung==true then |
| 19 | + | turtle.turnLeft() |
| 20 | - | turtle.turnLeft() |
| 20 | + | |
| 21 | - | fGRABEN() |
| 21 | + |