anchor.diff:  			user << "<span class='notice'>You should probably unscrew the service panel first.</span>"
   	else
   		..()
  +
  +
   
   /obj/machinery/vending/proc/scan_card(var/obj/item/weapon/card/I)
   	if(!currently_vending) return
  
positive.code: 		if(panel_open)
  			attack_hand(user)
  		return
  	else if(istype(W, /obj/item/weapon/coin) && premium.len > 0)
  		user.drop_item()
  		W.loc = src
  		coin = W
  		user << "<span class='notice'>You insert [W] into [src].</span>"
  		return
  
  	else if(istype(W, /obj/item/weapon/wrench))
  
  		if(do_after(user, 20))
  			if(!src) return
  			playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
  			switch (anchored)
  				if (0)
  					anchored = 1
  					user.visible_message("[user] tightens the bolts securing \the [src] to the floor.", "You tighten the bolts securing \the [src] to the floor.")
  				if (1)
  					user.visible_message("[user] unfastens the bolts securing \the [src] to the floor.", "You unfasten the bolts securing \the [src] to the floor.")
  					anchored = 0
  		return
  
  	else if(src.panel_open)
  		for(var/datum/data/vending_product/R in product_records)
  			if(istype(W, R.product_path))
  				stock(R, user)
  				del(W)
  
  	else if(istype(W, /obj/item/weapon/card) && currently_vending)
  		var/obj/item/weapon/card/I = W
  		scan_card(I)
  	else if(istype(W, refill_canister) && refill_canister != null)
  		if(stat & (BROKEN|NOPOWER))
  			user << "<span class='notice'>It does nothing.</span>"
  
negative.code: 	prices = list(/obj/item/weapon/storage/fancy/cigarettes = 60,/obj/item/weapon/storage/box/matches = 10,/obj/item/weapon/lighter/random = 60, /obj/item/weapon/rollingpaperpack = 20)
  	refill_canister = /obj/item/weapon/vending_refill/cigarette
  
  /obj/machinery/vending/cigarette/New()
  	..()
  	component_parts = list()
  	var/obj/item/weapon/circuitboard/vendor/V = new(null)
  	V.set_type(type)
  	component_parts += V
  	component_parts += new /obj/item/weapon/vending_refill/cigarette(0)
  	component_parts += new /obj/item/weapon/vending_refill/cigarette(0)
  	component_parts += new /obj/item/weapon/vending_refill/cigarette(0)	
  	
  /obj/machinery/vending/medical
  	name = "NanoMed Plus"
  	desc = "Medical drug dispenser."
  