anchor.diff:  	var/hitcost = 1000
   	var/throw_hit_chance = 35
   	var/preload_cell_type //if not empty the baton starts with this type of cell
  -	var/emped_timer = 0
   
   /obj/item/melee/baton/get_cell()
   	return cell
  
positive.code: 	if (!(. & EMP_PROTECT_SELF))
  		switch_status(FALSE)
  		deductcharge(1000 / severity)
  		var/downtime = 5 SECONDS / severity
  		if(emped_timer > world.time)
  			emped_timer += downtime * 0.5
  		else
  			emped_timer = world.time + downtime
  
  //Makeshift stun baton. Replacement for stun gloves.
  /obj/item/melee/baton/cattleprod
  
negative.code: 
  /obj/item/melee/baton/attack_self(mob/user)
  	if(cell && cell.charge > hitcost * STUNBATON_CHARGE_LENIENCY)
  		switch_status(!status)
  		to_chat(user, "<span class='notice'>[src] is now [status ? "on" : "off"].</span>")
  	else
  		switch_status(FALSE, TRUE)
  		if(!cell)
  