anchor.diff:  			if(ishuman(C) && !in_faction(C))
   
   				if(assess_perp(C) >= 4)
  -					if(shoot_heads_of_staff)
  -						targets += C
  -						continue
  -					else
  -						var/obj/item/card/id/I = C.get_idcard(TRUE)
  -						if (I?.assignment in GLOB.command_positions)
  -							continue
  -						else
  -							targets += C
  -							continue
  -			else if(check_anomalies) //non humans who are not simple animals (xenos etc)
  +					targets += C
  +			else if(turret_flags & TURRET_FLAG_SHOOT_ANOMALOUS) //non humans who are not simple animals (xenos etc)
   				if(!in_faction(C))
   					targets += C
   	for(var/A in GLOB.mechas_list)
  
positive.code: 	dat += "Behaviour controls are [locked ? "locked" : "unlocked"]<br>"
  
  	if(!locked)
  		dat += "Check for Weapon Authorization: <A href='?src=[REF(src)];operation=authweapon'>[auth_weapons ? "Yes" : "No"]</A><BR>"
  		dat += "Check Security Records: <A href='?src=[REF(src)];operation=checkrecords'>[check_records ? "Yes" : "No"]</A><BR>"
  		dat += "Neutralize Identified Criminals: <A href='?src=[REF(src)];operation=shootcrooks'>[criminals ? "Yes" : "No"]</A><BR>"
  		dat += "Neutralize All Non-Security and Non-Command Personnel: <A href='?src=[REF(src)];operation=shootall'>[stun_all ? "Yes" : "No"]</A><BR>"
  		dat += "Neutralize All Unidentified Life Signs: <A href='?src=[REF(src)];operation=checkxenos'>[check_anomalies ? "Yes" : "No"]</A><BR>"
  		dat += "Neutralize All Non-Mindshielded Personnel: <A href='?src=[REF(src)];operation=checkloyal'>[shoot_unloyal ? "Yes" : "No"]</A><BR>"
  		dat += "Neutralize All Cyborgs: <A href='?src=[REF(src)];operation=shootborgs'>[shoot_cyborgs ? "Yes" : "No"]</A><BR>"
  		dat += "Ignore Heads Of Staff: <A href='?src=[REF(src)];operation=shootheads'>[shoot_heads_of_staff ? "Yes" : "No"]</A><BR>"
  	if(issilicon(user))
  		if(!manual_control)
  			var/mob/living/silicon/S = user
  
negative.code: 			t += "<div class='notice icon'>Swipe ID card to lock interface</div>"
  		t += "Turrets [enabled?"activated":"deactivated"] - <A href='?src=[REF(src)];toggleOn=1'>[enabled?"Disable":"Enable"]?</a><br>"
  		t += "Currently set for [lethal?"lethal":"stun repeatedly"] - <A href='?src=[REF(src)];toggleLethal=1'>Change to [lethal?"Stun repeatedly":"Lethal"]?</a><br>"
  		t += "Target Cyborgs [shoot_cyborgs?"Yes":"No"] - <A href='?src=[REF(src)];shoot_silicons=1'>Change to [shoot_cyborgs?"Dont Shoot Borgs":"Shoot Borgs"]?</a><br>"
  	var/datum/browser/popup = new(user, "turretid", "Turret Control Panel ([get_area_name(src, TRUE)])")
  	popup.set_content(t)
  	popup.set_title_image(user.browse_rsc_icon(src.icon, src.icon_state))
  