anchor.diff:  /obj/item/device/multitool/ai_detect/process()
   	if(track_cooldown > world.time)
   		return
  -
  -	detect_state = 0
  +	detect_state = PROXIMITY_NONE
   	our_turf = get_turf(src)
   	multitool_detect()
  -
  -	if(detect_state == 1)
  -		icon_state = "[initial(icon_state)]_yellow"
  -	else if(detect_state == 2)
  -		icon_state = "[initial(icon_state)]_red"
  -	else
  -		icon_state = initial(icon_state)
  -
  +	icon_state = "[initial(icon_state)][detect_state]"
   	track_cooldown = world.time + track_delay // 1 second
  -	return
   
   /obj/item/device/multitool/ai_detect/proc/multitool_detect()
   	for(var/mob/living/silicon/ai/AI in ai_list)
   		if(AI.cameraFollow == src)
  -			detect_state = 2
  +			detect_state = PROXIMITY_ON_SCREEN
   			break
   
   	if(!detect_state && cameranet.chunkGenerated(our_turf.x, our_turf.y, our_turf.z))
  
positive.code: /obj/item/device/multitool/ai_detect
  	var/track_cooldown = 0
  	var/track_delay = 10 //How often it checks for proximity
  	var/detect_state = 0 //1 = yellow, 2 = red
  	var/turf/our_turf
  	var/rangealert = 8	//Glows red when inside
  	var/rangewarning = 20 //Glows yellow when inside
  
negative.code: 				for(var/mob/camera/aiEye/A in chunk.seenby)
  					var/turf/detect_turf = get_turf(A)
  					if(get_dist(our_turf, detect_turf) < rangealert)
  						detect_state = PROXIMITY_ON_SCREEN
  						break
  					if(get_dist(our_turf, detect_turf) < rangewarning)
  						detect_state = PROXIMITY_NEAR
  						break
  
  /obj/item/device/multitool/ai_detect/admin
  