SHOW:
|
|
- or go back to the newest paste.
1 | local input = read() | |
2 | function mine() | |
3 | - | for i=1,4,1 do |
3 | + | for i=1,64,1 do |
4 | ||
5 | turtle.dig() | |
6 | turtle.digDown() | |
7 | turtle.forward() | |
8 | ||
9 | end | |
10 | end | |
11 | ||
12 | ||
13 | for d=1,4,1 do | |
14 | mine() | |
15 | if input == "left" then | |
16 | turtle.turnLeft() | |
17 | end | |
18 | if input == "right" then | |
19 | turtle.turnRight() | |
20 | end | |
21 | end |