anchor.diff:  		else
   			dat += "Empty<BR>"
   		if(!condi)
  -			dat += "<HR><BR><A href='?src=\ref[src];createpill=1'>Create pill (50 units max)</A><BR>"
  -			dat += "<A href='?src=\ref[src];createbottle=1'>Create bottle (30 units max)</A>"
  +			dat += "<HR><BR><A href='?src=\ref[src];createpill=1'>Create pill (50 units max)</A><a href=\"?src=\ref[src]&change_pill=1\"><img src=\"pill[pillsprite].png\" /></a><BR>"
  +			dat += "<A href='?src=\ref[src];createbottle=1'>Create bottle (30 units max)<a href=\"?src=\ref[src]&change_bottle=1\"><img src=\"bottle[bottlesprite].png\" /></A>"
   		else
   			dat += "<A href='?src=\ref[src];createbottle=1'>Create bottle (50 units max)</A>"
   	if(!condi)
  
positive.code: 	var/mode = 0
  	var/condi = 0
  	var/useramount = 30 // Last used amount
  
  /obj/machinery/chem_master/New()
  	var/datum/reagents/R = new/datum/reagents(100)
  
negative.code: 				P.name = "[name] bottle"
  				P.pixel_x = rand(-7, 7) //random position
  				P.pixel_y = rand(-7, 7)
  				P.icon_state = "bottle"+bottlesprite
  				reagents.trans_to(P,30)
  			else
  				var/obj/item/weapon/reagent_containers/food/condiment/P = new/obj/item/weapon/reagent_containers/food/condiment(src.loc)
  				reagents.trans_to(P,50)
  		else if(href_list["change_pill"])
  			#define MAX_PILL_SPRITE 20 //max icon state of the pill sprites
  			var/dat = "<table>"
  			for(var/i = 1 to MAX_PILL_SPRITE)
  				dat += "<tr><td><a href=\"?src=\ref[src]&pill_sprite=[i]\"><img src=\"pill[i].png\" /></a></td></tr>"
  			dat += "</table>"
  			usr << browse(dat, "window=chem_master")
  			return
  		else if(href_list["change_bottle"])
  			#define MAX_BOTTLE_SPRITE 20 //max icon state of the bottle sprites
  			var/dat = "<table>"
  			for(var/i = 1 to MAX_BOTTLE_SPRITE)
  				dat += "<tr><td><a href=\"?src=\ref[src]&bottle_sprite=[i]\"><img src=\"bottle[i].png\" /></a></td></tr>"
  			dat += "</table>"
  			usr << browse(dat, "window=chem_master")
  			return
  		else if(href_list["pill_sprite"])
  			pillsprite = href_list["pill_sprite"]
  		else if(href_list["bottle_sprite"])
  			bottlesprite = href_list["bottle_sprite"]
  
  	src.updateUsrDialog()
  	return
  