anchor.diff:  	name = "\improper Mysterious Medibot"
   	desc = "International Medibot of mystery."
   	skin = "bezerk"
  -	treatment_oxy = "tricordrazine"
   	treatment_brute = "tricordrazine"
   	treatment_fire = "tricordrazine"
   	treatment_tox = "tricordrazine"
  
positive.code: 	heal_threshold = 0
  	declare_crit = 0
  	treatment_oxy = "pancuronium"
  	treatment_brute = "pancuronium"
  	treatment_fire = "sodium_thiopental"
  	treatment_tox = "sodium_thiopental"
  
  /mob/living/simple_animal/bot/medbot/update_icon()
  
negative.code: 				return 1
  
  	//They're injured enough for it!
  	if((!C.reagents.has_reagent(treatment_brute_avoid)) && (C.getBruteLoss() >= heal_threshold) && (!C.reagents.has_reagent(treatment_brute)))
  		return 1 //If they're already medicated don't bother!
  
  	if((!C.reagents.has_reagent(treatment_oxy_avoid)) && (C.getOxyLoss() >= (15 + heal_threshold)) && (!C.reagents.has_reagent(treatment_oxy)))
  		return 1
  
  	if((!C.reagents.has_reagent(treatment_fire_avoid)) && (C.getFireLoss() >= heal_threshold) && (!C.reagents.has_reagent(treatment_fire)))
  		return 1
  
  	if((!C.reagents.has_reagent(treatment_tox_avoid)) && (C.getToxLoss() >= heal_threshold) && (!C.reagents.has_reagent(treatment_tox)))
  		return 1
  
  	if(treat_virus && !C.reagents.has_reagent(treatment_virus_avoid) && !C.reagents.has_reagent(treatment_virus))
  		for(var/datum/disease/D in C.viruses)
  			//the medibot can't detect viruses that are undetectable to Health Analyzers or Pandemic machines.
  			if(!(D.visibility_flags & HIDDEN_SCANNER || D.visibility_flags & HIDDEN_PANDEMIC) \
  			&& D.severity != NONTHREAT \
  			&& (D.stage > 1 || (D.spread_flags & AIRBORNE))) // medibot can't detect a virus in its initial stage unless it spreads airborne.
  				return 1 //STOP DISEASE FOREVER
  
  	return 0
  
  