anchor.diff:  	if (amount > 100)
   		amount = 100
   
  -	for(var/mob/player)
  +	for(var/mob/player in player_list)
   		if (player.machine == src && player.client)
   			updateWindow(player)
   
  
positive.code: 		src.updateUsrDialog()
  	return
  
  
  /obj/machinery/chem_master/Topic(href, href_list)
  	if(stat & (BROKEN|NOPOWER)) return
  	if(usr.stat || usr.restrained()) return
  
negative.code: 				dat += "<TITLE>Condimaster 3000</TITLE>Condiment infos:<BR><BR>Name:<BR>[href_list["name"]]<BR><BR>Description:<BR>[href_list["desc"]]<BR><BR><BR><A href='?src=\ref[src];main=1'>(Back)</A>"
  			usr << browse(dat, "window=chem_master;size=575x400")
  			return
  
  		else if (href_list["add"])
  
  			if(href_list["amount"])
  				var/id = href_list["add"]
  				var/amount = text2num(href_list["amount"])
  				R.trans_id_to(src, id, amount)
  
  		else if (href_list["addcustom"])
  
  			var/id = href_list["addcustom"]
  			useramount = input("Select the amount to transfer.", 30, useramount) as num
  			useramount = isgoodnumber(useramount)
  			src.Topic(null, list("amount" = "[useramount]", "add" = "[id]"))
  
  		else if (href_list["remove"])
  
  			if(href_list["amount"])
  				var/id = href_list["remove"]
  				var/amount = text2num(href_list["amount"])
  				if(mode)
  					reagents.trans_id_to(beaker, id, amount)
  				else
  					reagents.remove_reagent(id, amount)
  
  
  		else if (href_list["removecustom"])
  
  			var/id = href_list["removecustom"]
  			useramount = input("Select the amount to transfer.", 30, useramount) as num
  			useramount = isgoodnumber(useramount)
  			src.Topic(null, list("amount" = "[useramount]", "remove" = "[id]"))
  
  		else if (href_list["toggle"])
  			mode = !mode
  
  		else if (href_list["main"])
  			attack_hand(usr)
  			return
  