anchor.diff:  		if(O.density)
   			return FALSE
   
  -	var/obj/item/reagent_containers/food/snacks/lollipop/L = new(T)
  +	var/obj/item/reagent_containers/food/snacks/L
  +	switch(mode)
  +		if(DISPENSE_LOLLIPOP_MODE)
  +			L = new /obj/item/reagent_containers/food/snacks/lollipop(T)
  +		if(DISPENSE_ICECREAM_MODE)
  +			L = new /obj/item/reagent_containers/food/snacks/icecream(T)
  +			var/obj/item/reagent_containers/food/snacks/icecream/I = L
  +			I.add_ice_cream("vanilla")
  +			I.desc = "Eat the ice cream."
   
   	var/into_hands = FALSE
   	if(ismob(A))
  
positive.code: 
  /obj/item/borg/lollipop/proc/dispense(atom/A, mob/user)
  	if(candy <= 0)
  		to_chat(user, "<span class='warning'>No lollipops left in storage!</span>")
  		return FALSE
  	var/turf/T = get_turf(A)
  	if(!T || !istype(T) || !isopenturf(T))
  
negative.code: #define DISPENSE_LOLLIPOP_MODE 1
  #define THROW_LOLLIPOP_MODE 2
  #define THROW_GUMBALL_MODE 3
  #define DISPENSE_ICECREAM_MODE 4
  
  /obj/item/borg/lollipop
  	name = "treat fabricator"
  	desc = "Reward humans with various treats. Toggle in-module to switch between dispensing and high velocity ejection modes."
  	icon_state = "lollipop"
  	var/candy = 30
  	var/candymax = 30
  