SHOW:
|
|
- or go back to the newest paste.
1 | print("I am an attack turtle") | |
2 | while true do | |
3 | if redstone.getInput("back") then --side the wire is on | |
4 | turtle.attack() | |
5 | if turtle.getItemCount(16) > 1 then | |
6 | for i = 1, 16 do | |
7 | turtle.select(i) | |
8 | turtle.dropDown() | |
9 | end | |
10 | end | |
11 | sleep(0.5) | |
12 | else | |
13 | sleep(5) | |
14 | end | |
15 | end |