anchor.diff:  	..()
   
   /datum/reagent/medicine/ephedrine/addiction_act_stage2(mob/living/M)
  +	if(prob(6) && iscarbon(M))
  +		M.visible_message("<span class='danger'>[M] starts having a seizure!</span>", "<span class='userdanger'>You have a seizure!</span>")
  +		M.Unconscious(100)
  +		M.Jitter(350)
  +	
   	if(prob(33))
   		M.adjustToxLoss(3*REM, 0)
   		M.losebreath += 3
  
positive.code: 	..()
  
  /datum/reagent/medicine/ephedrine/addiction_act_stage4(mob/living/M)
  	if(prob(33))
  		M.adjustToxLoss(5*REM, 0)
  		M.losebreath += 5
  
negative.code: 	reagent_state = LIQUID
  	color = "#D2FFFA"
  	metabolization_rate = 0.5 * REAGENTS_METABOLISM
  	overdose_threshold = 30
  	addiction_threshold = 25
  
  /datum/reagent/medicine/ephedrine/on_mob_add(mob/living/L)
  	..()
  	L.add_movespeed_modifier(id, update=TRUE, priority=100, multiplicative_slowdown=-0.85, blacklisted_movetypes=(FLYING|FLOATING))
  
  /datum/reagent/medicine/ephedrine/on_mob_delete(mob/living/L)
  	L.remove_movespeed_modifier(id)
  	..()
  
  /datum/reagent/medicine/ephedrine/on_mob_life(mob/living/carbon/M)
  	if(prob(20) && iscarbon(M))
  		var/obj/item/I = M.get_active_held_item()
  		if(I && M.dropItemToGround(I))
  			to_chat(M, "<span class ='notice'>Your hands spaz out and you drop what you were holding!</span>")
  			M.Jitter(10)
  	
  	M.AdjustAllImmobility(-20, FALSE)
  	M.adjustStaminaLoss(-1*REM, FALSE)
  	..()
  	return TRUE
  
  /datum/reagent/medicine/ephedrine/overdose_process(mob/living/M)
  	if(prob(2) && iscarbon(M))
  		var/datum/disease/D = new /datum/disease/heart_failure
  		M.ForceContractDisease(D)
  		to_chat(M, "<span class='userdanger'>You're pretty sure you just felt your heart stop for a second there..</span>")
  		M.playsound_local(M, 'sound/effects/singlebeat.ogg', 100, 0)
  
  	if(prob(7))
  		to_chat(M, "<span class='notice'>[pick("Your head pounds.", "You feel a tight pain in your chest.", "You find it hard to stay still.", "You feel your heart practically beating out of your chest.")]</span>")
  	
  	if(prob(33))
  		M.adjustToxLoss(1*REM, 0)
  		M.losebreath++
  		. = 1
  	return TRUE
  
  /datum/reagent/medicine/ephedrine/addiction_act_stage1(mob/living/M)
  	if(prob(3) && iscarbon(M))
  		M.visible_message("<span class='danger'>[M] starts having a seizure!</span>", "<span class='userdanger'>You have a seizure!</span>")
  		M.Unconscious(100)
  		M.Jitter(350)
  	
  	if(prob(33))
  		M.adjustToxLoss(2*REM, 0)
  		M.losebreath += 2
  