anchor.diff:  	lose_text = "<span class='notice'>You feel like you should kick your drug habit.</span>"
   	medical_record_text = "Patient has a history of hard drugs."
   	var/drug_list = list(/datum/reagent/drug/crank, /datum/reagent/drug/krokodil, /datum/reagent/medicine/morphine, /datum/reagent/drug/happiness, /datum/reagent/drug/methamphetamine) //List of possible IDs
  -	var/datum/reagent/reagent_type //!If this is defined, reagent_id will be unused and the defined reagent type will be instead.
  -	var/datum/reagent/reagent_instance //! actual instanced version of the reagent
  -	var/where_drug //! Where the drug spawned
  -	var/obj/item/drug_container_type //! If this is defined before pill generation, pill generation will be skipped. This is the type of the pill bottle.
  -	var/obj/item/drug_instance //! instanced version of the container
  -	var/where_accessory //! where the accessory spawned
  -	var/obj/item/accessory_type //! If this is null, an accessory won't be spawned.
  -	var/obj/item/accessory_instance //! instanced version of the accessory
  -	var/process_interval = 30 SECONDS //! how frequently the quirk processes
  -	var/next_process = 0 //! ticker for processing
  +	var/reagent_id //ID picked from list
  +	var/datum/reagent/reagent_type //If this is defined, reagent_id will be unused and the defined reagent type will be instead.
  +	var/datum/reagent/reagent_instance
  +	var/where_drug
  +	var/obj/item/drug_container_type //If this is defined before pill generation, pill generation will be skipped. This is the type of the pill bottle.
  +	var/obj/item/drug_instance
  +	var/where_accessory
  +	var/obj/item/accessory_type //If this is null, it won't be spawned.
  +	var/obj/item/accessory_instance
  +	var/tick_counter = 0
   
   /datum/quirk/junkie/on_spawn()
   	var/mob/living/carbon/human/H = quirk_holder
  +	reagent_id = pick(drug_list)
   	if (!reagent_type)
  -		reagent_type = pick(drug_list)
  +		var/datum/reagent/prot_holder = GLOB.chemical_reagents_list[reagent_id]
  +		reagent_type = prot_holder.type
   	reagent_instance = new reagent_type()
   	H.reagents.addiction_list.Add(reagent_instance)
   	var/current_turf = get_turf(quirk_holder)
  
positive.code: 		if(prob(1))
  			new/obj/item/reagent_containers/food/snacks/spaghetti/pastatomato(get_turf(H)) //now that's what I call spaghetti code
  
  /datum/quirk/junkie
  	name = "Junkie"
  	desc = "You can't get enough of hard drugs."
  
negative.code: 
  /datum/quirk/junkie/on_process()
  	var/mob/living/carbon/human/H = quirk_holder
  	if (tick_counter == 60) //Halfassed optimization, increase this if there's slowdown due to this quirk
  		var/in_list = FALSE
  		for (var/datum/reagent/entry in H.reagents.addiction_list)
  			if(istype(entry, reagent_type))
  				in_list = TRUE
  				break
  		if(!in_list)
  			H.reagents.addiction_list += reagent_instance
  			reagent_instance.addiction_stage = 0
  			to_chat(quirk_holder, "<span class='danger'>You thought you kicked it, but you suddenly feel like you need [reagent_instance.name] again...</span>")
  		tick_counter = 0
  	else
  		++tick_counter
  
  /datum/quirk/junkie/smoker
  	name = "Smoker"
  