anchor.diff:  	. = FALSE
   	switch(p_class) //if we've gotten this var, the target is valid
   		if(PAINT_MODE) //Paint pipes
  +			if(!istype(A, /obj/machinery/atmospherics/pipe))
  +				return ..()
   			var/obj/machinery/atmospherics/pipe/P = A
   			playsound(get_turf(src), 'sound/machines/click.ogg', 50, 1)
   			P.paint(paint_colors[paint_color])
  
positive.code: 			return
  
  		if(EATING_MODE) //Eating pipes
  			to_chat(user, "<span class='notice'>You start destroying a pipe...</span>")
  			playsound(get_turf(src), 'sound/machines/click.ogg', 50, 1)
  			if(do_after(user, 2, target = A))
  
negative.code: 				qdel(A)
  
  		if(ATMOS_MODE) //Making pipes
  			if(!can_make_pipe)
  				return ..()
  			to_chat(user, "<span class='notice'>You start building a pipe...</span>")
  			playsound(get_turf(src), 'sound/machines/click.ogg', 50, 1)
  			if(do_after(user, 2, target = A))
  