anchor.diff:  	var/scanning = 0
   	var/list/log = list()
   	origin_tech = "engineering=4;biotech=2;programming=5"
  +	var/range = 8
  +	var/view_check = TRUE
   
   /obj/item/device/detective_scanner/attack_self(mob/user)
   	if(log.len && !scanning)
  
positive.code: 	log = list()
  	scanning = 0
  
  /obj/item/device/detective_scanner/pre_attackby(atom/A, mob/user, params)
  	scan(A, user)
  	return FALSE
  
  
negative.code: 	set waitfor = 0
  	if(!scanning)
  		// Can remotely scan objects and mobs.
  		if((get_dist(A, user) > range) || (!(A in view(range, user)) && view_check) || (loc != user))
  			return
  
  		scanning = 1
  