anchor.diff:  						D.createmessage("Ore Redemption Machine", "New minerals available!", msg, 1, 0)
   		var/obj/item/stack/sheet/storage = stack_list[processed_sheet]
   		storage.amount += 1 //Stack the sheets
  -		O.loc = null //Let the old sheet garbage collect
  +		O.loc = null //Let the old sheet...
  +		qdel(O) //... garbage collect
   
   /obj/machinery/mineral/ore_redemption/process()
   	if(!panel_open) //If the machine is partially dissassembled, it should not process minerals
  
positive.code: 		return
  	if(panel_open)
  		if(istype(W, /obj/item/weapon/crowbar))
  			for (var/obj/O in src.contents)
  				O.loc = src.loc //Drop item to the floor
  				O.layer = initial(O.layer)
  			default_deconstruction_crowbar(W)
  		return 1
  	if(default_deconstruction_screwdriver(user, "ore_redemption-open", "ore_redemption", W))
  
negative.code: 	s.start()
  	if(severity == 1)
  		if(prob(50))
  			empty_content()
  			qdel(src)
  	else if(severity == 2)
  		if(prob(25))
  			empty_content()
  			qdel(src)
  	return
  
  //empty the redemption machine by stacks of at most max_amount (50 at this time) size
  /obj/machinery/mineral/ore_redemption/proc/empty_content()
  	var/obj/item/stack/sheet/s
  
  	for(var/O in stack_list)
  		s = stack_list[O]
  		while(s.amount > s.max_amount)
  			new s.type(loc,s.max_amount)
  			s.use(s.max_amount)
  		s.loc = loc
  		s.layer = initial(s.layer)
  
  
  /**********************Mining Equipment Vendor**************************/
  
  