supply

                Never    
Lua
       
function supply(u)
	if turtle.getItemCount(u)==1 then 
		if u==1 then
		u=6
		else
    if u==2 then
  		u=7
    end
  end 
	end
return u
end

turtle.select(supply(1))
turtle.place()