@cost0 = 0
@cost1 = 5
@cost2 = 10
@cost3 = 20

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_4"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_SWARM_5"
	upgrade_path = swarm
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.35
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.20
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_SWARM_AUTONOMOUS_5"
	upgrade_path = swarm
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 6
	}

	modifier = {
		ship_evasion_mult = 0.35
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.20
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_5"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_SWARM_6"
	upgrade_path = swarm
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.40
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.25
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_SWARM_AUTONOMOUS_6"
	upgrade_path = swarm
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 7
	}

	modifier = {
		ship_evasion_mult = 0.40
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.25
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_6"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrade_path = swarm

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.50
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.30
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrade_path = swarm

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 8
	}

	modifier = {
		ship_evasion_mult = 0.50
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.30
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_SWARM_PRECOG_3"
	upgrade_path = swarm
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 6
	}
	
	modifier = {
		ship_evasion_mult = 0.40
		ship_speed_mult = 0.25
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.25
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_SWARM_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth brawler brawler_stealth }
	ai_tag_weight = 0
	upgrade_path = swarm

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "swarm"
	
	ai_weight = {
		weight = 8
	}
	
	modifier = {
		ship_evasion_mult = 0.50
		ship_speed_mult = 0.30
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.30
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_4"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_5"
	upgrade_path = torpedo
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.15
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.20
		ship_damage_against_starbases_mult = 0.95
		ship_orbital_bombardment_mult = 0.95
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_5"
	upgrade_path = torpedo
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 6
	}

	modifier = {
		ship_evasion_mult = 0.15
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.20
		ship_damage_against_starbases_mult = 0.95
		ship_orbital_bombardment_mult = 0.95
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_5"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_6"
	upgrade_path = torpedo
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.20
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.25
		ship_damage_against_starbases_mult = 1.05
		ship_orbital_bombardment_mult = 1.05
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_6"
	upgrade_path = torpedo
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 7
	}

	modifier = {
		ship_evasion_mult = 0.20
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.25
		ship_damage_against_starbases_mult = 1.05
		ship_orbital_bombardment_mult = 1.05
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_6"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrade_path = torpedo

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.25
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.30
		ship_damage_against_starbases_mult = 1.20
		ship_orbital_bombardment_mult = 1.20
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrade_path = torpedo

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 8
	}

	modifier = {
		ship_evasion_mult = 0.25
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.30
		ship_damage_against_starbases_mult = 1.20
		ship_orbital_bombardment_mult = 1.20
	}
}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_PRECOG_3"
	upgrade_path = torpedo
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.20
		ship_tracking_add = 15
		ship_damage_against_starbases_mult = 0.95
		ship_orbital_bombardment_mult = 0.95
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_TORPEDO_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_swarm_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" "tech_torpedoes_1" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { explosive explosive_stealth }
	ai_tag_weight = 0
	upgrade_path = torpedo

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "torpedo"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		weapon_type_explosive_weapon_damage_mult = 0.25
		ship_tracking_add = 20
		ship_damage_against_starbases_mult = 1.20
		ship_orbital_bombardment_mult = 1.20
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_4"
	size = small
	
	icon = "GFX_avc_neurochips_picket_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_PICKET_5"
	upgrade_path = picket
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.15
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.20
		ship_tracking_add = 40
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_picket_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_5"
	upgrade_path = picket
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 6
	}

	modifier = {
		ship_evasion_mult = 0.15
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.20
		ship_tracking_add = 40
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_5"
	size = small
	
	icon = "GFX_avc_neurochips_picket_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_PICKET_6"
	upgrade_path = picket
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.20
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.25
		ship_tracking_add = 50
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_picket_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_TORPEDO_AUTONOMOUS_6"
	upgrade_path = picket
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 7
	}

	modifier = {
		ship_evasion_mult = 0.20
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.25
		ship_tracking_add = 50
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_6"
	size = small
	
	icon = "GFX_avc_neurochips_picket_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrade_path = picket

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	modifier = {
		ship_evasion_mult = 0.25
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.30
		ship_tracking_add = 60
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_picket_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrade_path = picket

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 8
	}

	modifier = {
		ship_evasion_mult = 0.25
	}
	ship_modifier = {
		ship_fire_rate_mult = 0.30
		ship_tracking_add = 60
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_picket_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_PICKET_PRECOG_3"
	upgrade_path = picket
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.20
		ship_tracking_add = 60
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_PICKET_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_picket_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { screen screen_stealth }
	ai_tag_weight = 0
	upgrade_path = picket

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "picket"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.25
		ship_tracking_add = 70
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_4"
	size = small
	
	icon = "GFX_avc_neurochips_line_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_LINE_5"
	upgrade_path = line
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.30
		ship_accuracy_add = 30
	}		

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_line_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_LINE_AUTONOMOUS_5"
	upgrade_path = line
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.30
		ship_accuracy_add = 30
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_5"
	size = small
	
	icon = "GFX_avc_neurochips_line_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_LINE_6"
	upgrade_path = line
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.40
		ship_accuracy_add = 40
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_line_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_LINE_AUTONOMOUS_6"
	upgrade_path = line
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 7
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.40
		ship_accuracy_add = 40
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_6"
	size = small
	
	icon = "GFX_avc_neurochips_line_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrade_path = line

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.50
		ship_accuracy_add = 50
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_line_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrade_path = line

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.50
		ship_accuracy_add = 50
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_line_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_LINE_PRECOG_3"
	upgrade_path = line
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.35
		ship_accuracy_add = 35
		ship_tracking_add = 20
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_LINE_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_line_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { gunship gunship_stealth }
	ai_tag_weight = 0
	upgrade_path = line

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "line"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.45
		ship_accuracy_add = 45
		ship_tracking_add = 30
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_4"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_ARTILLERY_5"
	upgrade_path = artillery
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.3
		ship_weapon_range_mult = 0.3
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_ARTILLERY_AUTONOMOUS_5"
	upgrade_path = artillery
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.3
		ship_weapon_range_mult = 0.3
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_5"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_ARTILLERY_6"
	upgrade_path = artillery
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.4
		ship_weapon_range_mult = 0.4
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_ARTILLERY_AUTONOMOUS_6"
	upgrade_path = artillery
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 7
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.4
		ship_weapon_range_mult = 0.4
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_6"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrade_path = artillery

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_fire_rate_mult = 0.5
		ship_weapon_range_mult = 0.5
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrade_path = artillery

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.5
		ship_weapon_range_mult = 0.5
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_ARTILLERY_PRECOG_3"
	upgrade_path = artillery
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 6
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.3
		ship_weapon_range_mult = 0.3
		ship_tracking_add = 20
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_ARTILLERY_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_artillery_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	upgrade_path = artillery

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "artillery"
	
	ai_weight = {
		weight = 8
	}

	ship_modifier = {
		ship_fire_rate_mult = 0.45
		ship_weapon_range_mult = 0.45
		ship_tracking_add = 30
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_4"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_CARRIER_5"
	upgrade_path = carrier
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_engagement_range_mult = 1.5
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_AUTONOMOUS_4"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_4" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_CARRIER_AUTONOMOUS_5"
	upgrade_path = carrier
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
	}

	ship_modifier = {
		ship_engagement_range_mult = 1.5
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_5"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_CARRIER_6"
	upgrade_path = carrier
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_engagement_range_mult = 2.0
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_AUTONOMOUS_5"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_5"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_5" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_CARRIER_AUTONOMOUS_6"
	upgrade_path = carrier
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 7
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
	}

	ship_modifier = {
		ship_engagement_range_mult = 2.0
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_6"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrade_path = carrier

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
		modifier = {
			factor = 0
			OR = {
				has_global_flag = ghost_signal_5_flag
				has_global_flag = ghost_signal_4_flag
				has_global_flag = ghost_signal_3_flag
				has_global_flag = ghost_signal_2_flag
				has_global_flag = ghost_signal_1_flag
				has_policy_flag = ai_outlawed
			}
		}
	}
	
	ship_modifier = {
		ship_engagement_range_mult = 2.5
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_AUTONOMOUS_6"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_combat_computers_autonomous_6" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrade_path = carrier

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
	}

	ship_modifier = {
		ship_engagement_range_mult = 2.5
	}

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_PRECOG_2"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_precog_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_2" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrades_to = "AVC_NEUROCHIPS_CARRIER_PRECOG_3"
	upgrade_path = carrier
	
	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 40
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 6
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
	}

	ship_modifier = {
		ship_engagement_range_mult = 1.5
		ship_tracking_add = 15
	}	

}

utility_component_template = {
	key = "AVC_NEUROCHIPS_CARRIER_PRECOG_3"
	size = small
	
	icon = "GFX_avc_neurochips_carrier_precog_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_precognition_interface_3" "tech_combat_computers_bio_integration" }
	component_set = "neurochips"
	
	potential = {
		ship_uses_space_fauna_computers = yes
	}
	
	ai_tags = { carrier }
	ai_tag_weight = 0
	upgrade_path = carrier

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 60
		}
	}
	
	ship_behavior = "carrier"
	
	ai_weight = {
		weight = 8
		modifier = {
			factor = 5
			is_preferred_weapons = weapon_type_strike_craft
		}
	}

	ship_modifier = {
		ship_engagement_range_mult = 2.25
		ship_tracking_add = 20
	}

}
