anchor.diff:  	var/auth_weapons = 0	//checks if it can shoot people that have a weapon they aren't authorized to have
   	var/stun_all = 0		//if this is active, the turret shoots everything that isn't security or head of staff
   	var/check_anomalies = 1	//checks if it can shoot at unidentified lifeforms (ie xenos)
  +	var/shoot_unloyal = 0	//checks if it can shoot people that aren't loyalty implantd
   
   	var/attacked = 0		//if set to 1, the turret gets pissed off and shoots at people nearby (unless they have sec access!)
   
  
positive.code: 		if(!R || (R.fields["criminal"] == "*Arrest*"))
  			threatcount += 4
  
  	return threatcount
  
  
  
negative.code: 				stun_all = !stun_all
  			if("checkxenos")
  				check_anomalies = !check_anomalies
  			if("checkloyal")
  				shoot_unloyal = !shoot_unloyal
  		interact(usr)
  
  /obj/machinery/porta_turret/power_change()
  