anchor.diff:  		dat += "[get_design_cost(D)]<br>"
   
   	dat += "</div>"
  +	dat += "</td>"
  +	dat += get_queue()
  +	dat += "</tr></table>"
   	return dat
   
  -/obj/machinery/autolathe/proc/can_build(var/datum/design/D)
  -	var/coeff = (ispath(D.build_path,/obj/item/stack) ? 1 : 2 ** prod_coeff)
  -
  -	if(D.materials["$metal"] && (m_amount < (D.materials["$metal"] / coeff)))
  -		return 0
  -	if(D.materials["$glass"] && (g_amount < (D.materials["$glass"] / coeff)))
  -		return 0
  -	return 1
  -
   /obj/machinery/autolathe/proc/get_design_cost(var/datum/design/D)
  -	var/coeff = (ispath(D.build_path,/obj/item/stack) ? 1 : 2 ** prod_coeff)
  +	var/coeff = get_coeff(D)
   	var/dat
   	if(D.materials["$metal"])
   		dat += "[D.materials["$metal"] / coeff] metal "
  
positive.code: 
  	if(hack)
  		for(var/datum/design/D in files.possible_designs)
  			if((D.build_type & 4) && ("hacked" in D.category))
  				files.known_designs += D
  	else
  		for(var/datum/design/D in files.known_designs)
  
negative.code: 	var/max_g_amount = 75000.0
  
  	var/operating = 0.0
  	var/list/queue = list()
  	var/queue_max_len = 10
  	var/turf/BuildTurf
  	anchored = 1.0
  	var/list/L = list()
  	var/list/LL = list()
  