anchor.diff:  		if(!R || (R.fields["criminal"] == "*Arrest*"))
   			threatcount += 4
   
  +	if(shoot_unloyal)
  +		if (!perp.isloyal())
  +			threatcount += 4
  +
   	return threatcount
   
   
  
positive.code: 				stun_all = !stun_all
  			if("checkxenos")
  				check_anomalies = !check_anomalies
  		interact(usr)
  
  /obj/machinery/porta_turret/power_change()
  
negative.code: 	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!)
  
  