anchor.diff:  				var/mob/living/silicon/robot/sillyconerobot = A
   				if(LAZYLEN(faction) && (ROLE_SYNDICATE in faction) && sillyconerobot.emagged == TRUE)
   					continue
  -			if (shoot_cyborgs)
  -				targets += sillycone
  -				continue
   
   		if(iscarbon(A))
   			var/mob/living/carbon/C = A
  
positive.code: 	if(href_list["operation"])
  		switch(href_list["operation"])	//toggles customizable behavioural protocols
  			if("authweapon")
  				auth_weapons = !auth_weapons
  			if("checkrecords")
  				check_records = !check_records
  			if("shootcrooks")
  				criminals = !criminals
  			if("shootall")
  				stun_all = !stun_all
  			if("checkxenos")
  				check_anomalies = !check_anomalies
  			if("checkloyal")
  				shoot_unloyal = !shoot_unloyal
  			if ("shootborgs")
  				shoot_cyborgs = !shoot_cyborgs
  			if ("shootheads")
  				shoot_heads_of_staff = !shoot_heads_of_staff
  			if("manual")
  				if(issilicon(usr) && !manual_control)
  					give_control(usr)
  
negative.code: 			if(istype(perp.belt, /obj/item/gun) || istype(perp.belt, /obj/item/melee/baton))
  				threatcount += 2
  
  	if(turret_flags & TURRET_FLAG_SHOOT_CRIMINALS)	//if the turret can check the records, check if they are set to *Arrest* on records
  		var/perpname = perp.get_face_name(perp.get_id_name())
  		var/datum/data/record/R = find_record("name", perpname, GLOB.data_core.security)
  		if(!R || (R.fields["criminal"] == "*Arrest*"))
  			threatcount += 4
  
  	if((turret_flags & TURRET_FLAG_SHOOT_UNSHIELDED) && (!HAS_TRAIT(perp, TRAIT_MINDSHIELD)))
  		threatcount += 4
  
  	// If we aren't shooting heads then return a threatcount of 0
  	if (!(turret_flags & TURRET_FLAG_SHOOT_HEADS) && (perp.get_assignment() in GLOB.command_positions))
  		return 0
  	
  	return threatcount
  
  /obj/machinery/porta_turret/proc/in_faction(mob/target)
  	for(var/faction1 in faction)
  