anchor.diff:  		patient = scan(/mob/living/carbon/human, oldpatient, scan_range)
   		oldpatient = patient
   
  -	if(patient && (get_dist(src,patient) <= 1)) //Patient is next to us, begin treatment!
  +	if(patient && (get_dist(src,patient) <= 1) && !tending) //Patient is next to us, begin treatment!
   		if(mode != BOT_HEALING)
   			mode = BOT_HEALING
   			update_icon()
  
positive.code: 		return TRUE
  
  /mob/living/simple_animal/bot/medbot/UnarmedAttack(atom/A)
  	if(iscarbon(A))
  		var/mob/living/carbon/C = A
  		patient = C
  		mode = BOT_HEALING
  
negative.code: 	window_name = "Automatic Medical Unit v1.1"
  	data_hud_type = DATA_HUD_MEDICAL_ADVANCED
  	path_image_color = "#DDDDFF"
  /// drop determining variable
  	var/healthanalyzer = /obj/item/healthanalyzer
  /// drop determining variable
  	var/firstaid = /obj/item/storage/firstaid
  ///based off medkit_X skins in aibots.dmi for your selection; X goes here IE medskin_tox means skin var should be "tox"
  	var/skin
  	var/mob/living/carbon/patient
  	var/mob/living/carbon/oldpatient
  	var/oldloc
  	var/last_found = 0
  /// Don't spam the "HEY I'M COMING" messages
  	var/last_newpatient_speak = 0
  /// How much healing do we do at a time?
  	var/heal_amount = 2.5
  /// Start healing when they have this much damage in a category
  	var/heal_threshold = 10
  /// If active, the bot will transmit a critical patient alert to MedHUD users.
  	var/declare_crit = TRUE
  /// Prevents spam of critical patient alerts.
  	var/declare_cooldown = FALSE
  /// If enabled, the Medibot will not move automatically.
  	var/stationary_mode = FALSE
  
  /// silences the medbot if TRUE
  	var/shut_up = FALSE
  /// techweb linked to the medbot
  	var/datum/techweb/linked_techweb
  ///Is the medbot currently tending wounds
  	var/tending = FALSE
  
  /mob/living/simple_animal/bot/medbot/mysterious
  	name = "\improper Mysterious Medibot"
  