anchor.diff:  	var/prod_coeff
   	var/datum/wires/autolathe/wires = null
   
  -	var/datum/design/being_built
  +	var/list/being_built = list()
   	var/datum/research/files
   	var/list/datum/design/matching_designs
   	var/selected_category
  
positive.code: 	var/glass_cost = D.materials["$glass"]
  	var/power = max(2000, (metal_cost+glass_cost)*multiplier/5)
  	if (can_build(D,multiplier))
  		being_built = D
  		use_power(power)
  		icon_state = "autolathe"
  		flick("autolathe_n",src)
  		updateUsrDialog()
  		sleep(32/coeff)
  		if(is_stack)
  			m_amount -= metal_cost*multiplier
  			g_amount -= glass_cost*multiplier
  			var/obj/item/stack/S = new D.build_path(BuildTurf)
  			S.amount = multiplier
  		else
  			m_amount -= metal_cost/coeff
  			g_amount -= glass_cost/coeff
  			var/obj/item/new_item = new D.build_path(BuildTurf)
  			new_item.m_amt /= coeff
  			new_item.g_amt /= coeff
  
negative.code: 		OutputList[2] = (D.materials["$glass"] / coeff)*multiplier
  	return OutputList
  
  /obj/machinery/autolathe/proc/get_processing_line()
  	var/datum/design/D = being_built[1]
  	var/multiplier = being_built[2]
  	var/is_stack = (multiplier>1)
  	var/output = "PROCESSING: [initial(D.name)][is_stack?" (x[multiplier])":null]"
  	return output
  
  /obj/machinery/autolathe/proc/get_queue()
  	var/temp_metal = m_amount
  	var/temp_glass = g_amount
  