anchor.diff:  	if(D.materials[MAT_METAL] && (materials.amount(MAT_METAL) < (D.materials[MAT_METAL] * coeff * amount)))
   		return FALSE
   	if(D.materials[MAT_GLASS] && (materials.amount(MAT_GLASS) < (D.materials[MAT_GLASS] * coeff * amount)))
  +		return FALSE
  +	if(wallcheck(printdirection) == 1)
  +		say("Output blocked, please remove obstruction.")
   		return FALSE
   	return TRUE
   
  
positive.code: 	say("Queue processing finished successfully.")
  	processing_queue = 0
  
  /obj/machinery/autolathe/proc/get_processing_line()
  	var/datum/design/D = being_built[1]
  	var/multiplier = being_built[2]
  	var/is_stack = (multiplier>1)
  
negative.code: 		if("set_category")
  			selected_category = params["category"]
  
  		if("make") // Lets try make the item supplied via the UI
  			request = stored_research.isDesignResearchedID(params["item_id"])
  			if(!request)
  				return
  			var/multiplier = text2num(params["multiplier"])
  			multiplier = CLAMP(multiplier,1,50)
  			if((autoqueue.len + 1) < queue_max_len)
  				add_to_queue(request, multiplier) // Add item to queue for processing
  			else
  				to_chat(usr, "<span class='warning'>The autolathe queue is full!</span>")
  
  