anchor.diff:  /obj/machinery/smartfridge/ui_act(action, params)
   	. = ..()
   	if(.)
  ->>>>>>> 5f6b2a9... Merge pull request #30519 from vuonojenmustaturska/smartfridges2electricboogaloo
  -		return
  -	usr.set_machine(src)
  -
  -	var/N = href_list["vend"]
  -	var/amount = text2num(href_list["amount"])
  -
  -	var/i = amount
  -	for(var/obj/O in contents)
  -		if(i <= 0)
  -			break
  -		if(O.name == N)
  -			O.loc = src.loc
  -			i--
  -
  -
  -	updateUsrDialog()
  +		return
  +	switch(action)
  +		if("Release")
  +			var/desired = 0
  +
  +			if (params["amount"])
  +				desired = text2num(params["amount"])
  +			else
  +				desired = input("How many items?", "How many items would you like to take out?", 1) as null|num
  +
  +			if(QDELETED(src) || QDELETED(usr) || !usr.Adjacent(src)) // Sanity checkin' in case stupid stuff happens while we wait for input()
  +				return FALSE
  +
  +			for(var/obj/item/O in src)
  +				if(desired <= 0)
  +					break
  +				if(O.name == params["name"])
  +					O.forceMove(drop_location())
  +					desired--
  +			return TRUE
  +	return FALSE
   
   
   // ----------------------------
  
positive.code: /obj/machinery/smartfridge/drying_rack/default_deconstruction_crowbar(obj/item/crowbar/C, ignore_panel = 1)
  	..()
  
  <<<<<<< HEAD
  /obj/machinery/smartfridge/drying_rack/interact(mob/user)
  	var/dat = ..()
  	if(dat)
  		dat += "<br>"
  		dat += "<a href='byond://?src=\ref[src];dry=1'>Toggle Drying</A> "
  		user << browse("<HEAD><TITLE>[src] supplies</TITLE></HEAD><TT>[dat]</TT>", "window=smartfridge")
  	onclose(user, "smartfridge")
  
  /obj/machinery/smartfridge/drying_rack/Topic(href, list/href_list)
  	..()
  	if(href_list["dry"])
  		toggle_drying(FALSE)
  	updateUsrDialog()
  	update_icon()
  =======
  /obj/machinery/smartfridge/drying_rack/ui_data(mob/user)
  	. = ..()
  	.["isdryer"] = TRUE
  
negative.code: 	user.set_machine(src)
  	interact(user)
  
  
  
  /obj/machinery/smartfridge/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
  	ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
  	if(!ui)
  