while true do
turtle.attack()
if turtle.getItemCount(13) > 0 then
for i = 16,1,-1 do
turtle.select(i)
turtle.dropDown()
end