anchor.diff:  	if (!busy)
   		if(href_list["make"])
   			var/turf/T = get_step(src.loc, get_dir(src,usr))
  -				
  +
   			// critical exploit fix start -walter0o
   			var/obj/item/template = null
   			var/attempting_to_build = locate(href_list["make"])
  
positive.code: 			user << "You close the maintenance hatch of [src]."
  		return 1
  	if (opened)
  		if(istype(O, /obj/item/weapon/crowbar))
  			playsound(get_turf(src), 'sound/items/Crowbar.ogg', 50, 1)
  			var/obj/machinery/constructable_frame/machine_frame/M = new /obj/machinery/constructable_frame/machine_frame(src.loc)
  
negative.code: 				template = attempting_to_build
  
  			else // somebody is trying to exploit, alert admins -walter0o
  
  				var/turf/LOC = get_turf(usr)
  				message_admins("[key_name_admin(usr)] tried to exploit an autolathe to duplicate <a href='?_src_=vars;Vars=\ref[attempting_to_build]'>[attempting_to_build]</a> ! ([LOC ? "<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[LOC.x];Y=[LOC.y];Z=[LOC.z]'>JMP</a>" : "null"])", 0)
  				log_admin("EXPLOIT : [key_name(usr)] tried to exploit an autolathe to duplicate [attempting_to_build] !")
  				return
  
  			// now check for legit multiplier, also only stacks should pass with one to prevent raw-materials-manipulation -walter0o
  
  			var/multiplier = text2num(href_list["multiplier"])
  
  			if (!multiplier) multiplier = 1
  			var/max_multiplier = 1
  
  			if(istype(template, /obj/item/stack)) // stacks are the only items which can have a multiplier higher than 1 -walter0o
  				var/obj/item/stack/S = template
  				max_multiplier = min(S.max_amount, S.m_amt?round(m_amount/S.m_amt):INFINITY, S.g_amt?round(g_amount/S.g_amt):INFINITY)  // pasta from regular_win() to make sure the numbers match -walter0o
  
  			if( (multiplier > max_multiplier) || (multiplier <= 0) ) // somebody is trying to exploit, alert admins-walter0o
  
  				var/turf/LOC = get_turf(usr)
  				message_admins("[key_name_admin(usr)] tried to exploit an autolathe with multiplier set to <u>[multiplier]</u> on <u>[template]</u>  ! ([LOC ? "<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[LOC.x];Y=[LOC.y];Z=[LOC.z]'>JMP</a>" : "null"])" , 0)
  				log_admin("EXPLOIT : [key_name(usr)] tried to exploit an autolathe with multiplier set to [multiplier] on [template]  !")
  