Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local i = 0
- -- Attack 100 times
- while i < 100 do
- if turtle.attack() == true then
- i = i + 1
- end
- end
- turtle.suck()
- -- Dump the inventory to the chest below
- for j = 1, 16 do
- local num = turtle.getItemCount(j)
- if num > 0 then
- turtle.select(j)
- turtle.dropDown(num)
- end
- end
- turtle.select(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement