
#############
### Armor ###
#############

tech_avc_ship_armor_6 = {
	area = engineering
	cost = @tier5cost2
	tier = 5
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_ship_armor_5" }
	weight = @tier5weight2
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_armor_6
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_ship_armor_7 = {
	area = engineering
	cost = @navstier6cost2
	tier = 6
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_avc_ship_armor_6" }
	weight = @navstier6weight2
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_armor_7
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_ship_armor_8 = {
	area = engineering
	cost = @navstier7cost2
	tier = 7
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_avc_ship_armor_7" }
	weight = @navstier7weight2
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_armor_8
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_ship_armor_9 = {
	area = engineering
	cost = @navstier8cost2
	tier = 8
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_avc_ship_armor_8" }
	weight = @navstier8weight2
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_armor_9
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_ship_armor_10 = {
	area = engineering
	cost = @navstier9cost2
	tier = 9
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_avc_ship_armor_9" }
	weight = @navstier9weight2
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_armor_10
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}


tech_avc_dragon_armor_2 = {
	area = engineering
	cost = @navstier10cost3
	tier = 10
	is_rare = yes
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_dragon_armor" "tech_avc_ship_armor_10" }
	weight = @navstier10weight3
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_dragon_armor_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}


########################
### Crystal Plating  ###
########################

tech_avc_crystal_armor_3 = {
	area = engineering
	cost = @tier5cost1
	tier = 5
	is_rare = yes
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_crystal_armor_2" }
	weight = @tier5weight2
	
	ai_weight = {

	}
}

tech_avc_crystal_armor_4 = {
	area = engineering
	cost = @navstier6cost1
	tier = 6
	is_rare = yes
	category = { materials }
	ai_update_type = all	
	prerequisites = { "tech_avc_crystal_armor_3" }
	weight = @navstier6weight2
	
	ai_weight = {

	}
}


###############
### Shields ###
###############

tech_avc_shields_6 = {
	area = physics
	cost = @tier5cost3
	tier = 5
	category = { field_manipulation }
	ai_update_type = all
	prerequisites = { "tech_shields_5" }
	weight = @tier5weight3

	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_shields_6
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_shields_7 = {
	area = physics
	cost = @navstier6cost3
	tier = 6
	category = { field_manipulation }
	ai_update_type = all
	prerequisites = { "tech_avc_shields_6" }
	weight = @navstier6weight3

	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_shields_7
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_shields_8 = {
	area = physics
	cost = @navstier7cost3
	tier = 7
	category = { field_manipulation }
	ai_update_type = all
	prerequisites = { "tech_avc_shields_7" }
	weight = @navstier7weight3

	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_shields_8
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_shields_9 = {
	area = physics
	cost = @navstier8cost3
	tier = 8
	category = { field_manipulation }
	ai_update_type = all
	prerequisites = { "tech_avc_shields_8" }
	weight = @navstier8weight3

	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_shields_9
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}

tech_avc_shields_10 = {
	area = physics
	cost = @navstier9cost3
	tier = 9
	category = { field_manipulation }
	ai_update_type = all
	prerequisites = { "tech_avc_shields_9" }
	weight = @navstier9weight3

	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 1.5
			is_specialist_subject_type = { TYPE = bulwark }
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_shields_10
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {

	}
}


tech_avc_dark_matter_deflector_2 = {
	cost = @navstier10cost3
	area = physics
	tier = 10
	category = { field_manipulation }
	ai_update_type = all
	weight = @navstier10weight3
	is_rare = yes
	
	prerequisites = { "tech_dark_matter_deflector" "tech_avc_shields_10"}
	
	weight_modifier = {	
		factor = 1.25
		modifier = {
			factor = 0
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_dark_matter_deflector_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {
		factor = 2 #good component
		modifier = {
			factor = 0
			NOR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}
}


tech_avc_psionic_shield_2 = {
	area = society
	cost = @navstier7cost3
	tier = 6
	category = { psionics }
	ai_update_type = all	
	is_rare = yes
	prerequisites = { "tech_psionic_shield" }
	weight = @navstier7weight3
	is_reverse_engineerable = no
	
	technology_swap = {
		name = tech_avc_bioship_psionic_shield_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	technology_swap = {
		name = tech_avc_psionic_shield_2_gestalt
		inherit_icon = yes
		inherit_effects = yes
		trigger = {
			is_gestalt = yes
			NOT = { has_origin = origin_shroud_forged }
		}
	}

	technology_swap = {
		name = tech_avc_psionic_shield_2_shroud_forged
		inherit_icon = yes
		inherit_effects = yes
		trigger = {
			has_origin = origin_shroud_forged
		}
	}
	
	ai_weight = {
		
	}	
}

tech_avc_psionic_shield_3 = {
	area = society
	cost = @navstier10cost3
	tier = 7
	category = { psionics }
	ai_update_type = all	
	is_rare = yes
	prerequisites = { "tech_avc_psionic_shield_2" }
	weight = @navstier10weight3
	is_reverse_engineerable = no
	
	technology_swap = {
		name = tech_avc_bioship_psionic_shield_3
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		weight = {
			factor = 1
		}
	}
	
	technology_swap = {
		name = tech_avc_psionic_shield_3_gestalt
		inherit_icon = yes
		inherit_effects = yes
		trigger = {
			is_gestalt = yes
			NOT = { has_origin = origin_shroud_forged }
		}
	}

	technology_swap = {
		name = tech_avc_psionic_shield_3_shroud_forged
		inherit_icon = yes
		inherit_effects = yes
		trigger = {
			has_origin = origin_shroud_forged
		}
	}
	
	ai_weight = {
		
	}	
}


#################
### Auxiliary ###
#################

tech_avc_reactor_boosters_4 = {
	area = physics
	cost = @tier4cost3
	tier = 4
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_zero_point_power" "tech_reactor_boosters_3" }
	weight = @tier4weight3
	
	weight_modifier = {
		factor = 1.5

	}

	ai_weight = {

	}
}

tech_avc_reactor_boosters_5 = {
	area = physics
	cost = @tier5cost3
	tier = 5
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_6" "tech_avc_reactor_boosters_4" }
	weight = @tier5weight3
	
	weight_modifier = {
		factor = 1.5

	}

	ai_weight = {

	}
}

tech_avc_reactor_boosters_6 = {
	area = physics
	cost = @navstier6cost3
	tier = 6
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_8" "tech_avc_reactor_boosters_5" }
	weight = @navstier6weight3
	
	weight_modifier = {
		factor = 1.5

	}

	ai_weight = {

	}
}

tech_avc_regenerative_hull_tissue_2 = {
	area = society
	cost = @tier5cost2
	tier = 5
	is_rare = yes
	category = { biology }
	ai_update_type = military
	prerequisites = { "tech_regenerative_hull_tissue" }
	weight = @tier5weight2
	
	ai_weight = {

	}
}

tech_avc_shield_rechargers_2 = {
	area = physics
	cost = @tier5cost3
	tier = 5
	category = { field_manipulation }
	ai_update_type = all	
	prerequisites = { "tech_shields_5" }
	weight = @tier5weight3
	
	weight_modifier = {

	}

	ai_weight = {

	}
}

tech_avc_afterburners_3 = {
	area = engineering
	cost = @tier5cost2
	tier = 5
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_afterburners_2" "tech_thrusters_4" }
	weight = @tier5weight2
	
	weight_modifier = {
		factor = 1.25
	}

	ai_weight = {
	}
}

tech_avc_afterburners_4 = {
	area = engineering
	cost = @navstier7cost2
	tier = 7
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_avc_afterburners_3" "tech_avc_thrusters_6" }
	weight = @navstier7weight2
	
	weight_modifier = {
		factor = 1.25
	}

	ai_weight = {
	}
}

tech_avc_auxiliary_fire_control_2 = {
	area = physics
	tier = 2
	cost = @tier2cost3
	category = { computing }	
	ai_update_type = military
	prerequisites = { "tech_combat_computers_2" "tech_auxiliary_fire_control" }
	weight = @tier2weight3
	
	weight_modifier = {

	}

	ai_weight = {

	}
}

tech_avc_enigmatic_encoder_2 = {
	cost = @navstier6cost3
	area = physics
	tier = 6
	category = { computing }
	ai_update_type = all
	prerequisites = { "tech_enigmatic_encoder" }
	weight = @navstier6weight3
	is_rare = yes

	ai_weight = {

	}
}

tech_avc_enigmatic_decoder_2 = {
	cost = @navstier6cost3
	area = physics
	tier = 6
	category = { computing }
	ai_update_type = all
	prerequisites = { "tech_enigmatic_decoder" }
	weight = @navstier6weight3
	is_rare = yes
	
	ai_weight = {

	}
}


################
### Reactors ###
################

tech_avc_power_core_6 = {
	area = physics
	cost = @tier5cost2
	tier = 5
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_zero_point_power" }
	weight = @tier5weight2
	
	gateway = power_generation
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
	}

	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_POWER_CORE_6_TITLE"
			desc = "TECH_UNLOCK_AVC_POWER_CORE_6_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_power_core_6
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_HYPERMATTER_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_HYPERMATTER_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_power_core_7 = {
	area = physics
	cost = @navstier6cost2
	tier = 6
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_6" }
	weight = @navstier6weight2
	
	gateway = power_generation
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
	}

	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_POWER_CORE_7_TITLE"
			desc = "TECH_UNLOCK_AVC_POWER_CORE_7_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_power_core_7
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_TACHYON_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_TACHYON_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_power_core_8 = {
	area = physics
	cost = @navstier7cost2
	tier = 7
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_7" }
	weight = @navstier7weight2
	
	gateway = power_generation
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
	}

	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_POWER_CORE_8_TITLE"
			desc = "TECH_UNLOCK_AVC_POWER_CORE_8_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_power_core_8
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_DARK_ENERGY_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_DARK_ENERGY_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_power_core_9 = {
	area = physics
	cost = @navstier8cost2
	tier = 8
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_8" }
	weight = @navstier8weight2
	
	gateway = power_generation
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
	}

	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_POWER_CORE_8_TITLE"
			desc = "TECH_UNLOCK_AVC_POWER_CORE_8_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_power_core_9
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_NEGATIVE_MASS_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_NEGATIVE_MASS_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_power_core_10 = {
	area = physics
	cost = @navstier9cost2
	tier = 9
	category = { particles }
	ai_update_type = all
	prerequisites = { "tech_avc_power_core_9" }
	weight = @navstier9weight2
	
	gateway = power_generation
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
	}

	ai_weight = {

	}
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_POWER_CORE_10_TITLE"
			desc = "TECH_UNLOCK_AVC_POWER_CORE_10_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_power_core_10
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_GRAVITON_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_GRAVITON_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}


tech_avc_dark_matter_power_core_2 = {
	cost = @navstier10cost3
	area = physics
	tier = 10
	category = { particles }
	ai_update_type = all
	weight = @navstier10weight2
	is_rare = yes
	
	prerequisites = { "tech_dark_matter_power_core" "tech_avc_power_core_10"}
	
	weight_modifier = {
		factor = 2
		modifier = {
			factor = 2
			OR = {
				has_technology = tech_battleships
				has_technology = tech_stingers
			}
		}
		modifier = {
			factor = 0
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}
	
	ai_weight = {
		factor = 3 #important component
		modifier = {
			factor = 0
			NOR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_DARK_MATTER_POWER_CORE_2_TITLE"
			desc = "TECH_UNLOCK_AVC_DARK_MATTER_POWER_CORE_2_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_dark_matter_power_core_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_ADVANCED_DARK_MATTER_METABOLISM_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_ADVANCED_DARK_MATTER_METABOLISM_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}


##################
### FTL Drives ###
##################

tech_avc_hyper_drive_4 = {
	cost = @tier4cost3
	area = physics
	tier = 4
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = no
	prerequisites = { "tech_hyper_drive_3" }
	weight = @tier4weight3
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_HYPERDRIVE_4_TITLE"
			desc = "TECH_UNLOCK_AVC_HYPERDRIVE_4_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_hyper_drive_4
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_4_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_4_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_hyper_drive_5 = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = no
	prerequisites = { "tech_avc_hyper_drive_4" }
	weight = @tier5weight3
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_HYPERDRIVE_5_TITLE"
			desc = "TECH_UNLOCK_AVC_HYPERDRIVE_5_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_hyper_drive_5
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_5_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_5_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_hyper_drive_6 = {
	cost = @navstier6cost3
	area = physics
	tier = 6
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = no
	prerequisites = { "tech_avc_hyper_drive_5" }
	weight = @navstier6weight3
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_HYPERDRIVE_6_TITLE"
			desc = "TECH_UNLOCK_AVC_HYPERDRIVE_6_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_hyper_drive_6
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_6_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_HYPERDRIVE_6_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}


tech_avc_jump_drive_2 = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = yes
	is_dangerous = yes
	weight = @tier5weight3
	prerequisites = { "tech_jump_drive_1"  }
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_2 }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_3 }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}		
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_JUMPDRIVE_2_TITLE"
			desc = "TECH_UNLOCK_AVC_JUMPDRIVE_2_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_jump_drive_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_2_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_2_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_jump_drive_3 = {
	cost = @navstier6cost1
	area = physics
	tier = 6
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = yes
	is_rare = yes
	is_dangerous = yes
	weight = @navstier6weight1
	prerequisites = { "tech_avc_jump_drive_2" }
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_2 }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_3 }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}		
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_JUMPDRIVE_3_TITLE"
			desc = "TECH_UNLOCK_AVC_JUMPDRIVE_3_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_jump_drive_3
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_3_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_3_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_jump_drive_4 = {
	cost = @navstier7cost1
	area = physics
	tier = 7
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = yes
	is_rare = yes
	is_dangerous = yes
	weight = @navstier7weight1
	prerequisites = { "tech_avc_jump_drive_3" }
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_2 }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_3 }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}		
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_JUMPDRIVE_4_TITLE"
			desc = "TECH_UNLOCK_AVC_JUMPDRIVE_4_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_jump_drive_4
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_4_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_4_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_jump_drive_5 = {
	cost = @navstier8cost1
	area = physics
	tier = 8
	category = { particles }
	ai_update_type = all
	is_reverse_engineerable = yes
	is_rare = yes
	is_dangerous = yes
	weight = @navstier8weight1
	prerequisites = { "tech_avc_jump_drive_4" }
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_2 }
				has_trait_in_council = { TRAIT = leader_trait_expertise_particles_3 }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}		
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_JUMPDRIVE_5_TITLE"
			desc = "TECH_UNLOCK_AVC_JUMPDRIVE_5_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_jump_drive_5
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_5_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_JUMPDRIVE_5_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}


tech_avc_psi_jump_drive_2 = {
	cost = 8000
	area = society
	tier = 6
	category = { psionics }
	ai_update_type = all
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_psi_jump_drive_1" }
	weight = @navstier6weight2
	is_dangerous = yes
	is_reverse_engineerable = no
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_psionics }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_country_flag = jaunted_traveler_secret_revealed
		}
	}
	
	ai_weight = {
		
	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_PSI_JUMPDRIVE_2_TITLE"
			desc = "TECH_UNLOCK_AVC_PSI_JUMPDRIVE_2_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_psi_jump_drive_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_PSI_JUMPDRIVE_2_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_PSI_JUMPDRIVE_2_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}

tech_avc_psi_jump_drive_3 = {
	cost = @navstier7cost2
	area = society
	tier = 7
	category = { psionics }
	ai_update_type = all
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_avc_psi_jump_drive_2" }
	weight = @navstier7weight2
	is_dangerous = yes
	is_reverse_engineerable = no
	
	weight_modifier = {
		factor = 0.1
		modifier = {
			factor = 0.1
			NOR = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_psionics }
				has_trait_in_council = { TRAIT = leader_trait_curator }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius }
				has_trait_in_council = { TRAIT = leader_trait_spark_of_genius_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_ascension_perk = ap_grasp_the_void
		}
		modifier = {
			factor = @eager_explorer_effect
			is_eager_explorer_empire = yes
		}
		modifier = {
			factor = @ap_grasp_the_void_travel_tech
			has_country_flag = jaunted_traveler_secret_revealed
		}
	}
	
	ai_weight = {
		
	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_PSI_JUMPDRIVE_3_TITLE"
			desc = "TECH_UNLOCK_AVC_PSI_JUMPDRIVE_3_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_psi_jump_drive_3
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_PSI_JUMPDRIVE_3_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_PSI_JUMPDRIVE_3_DESC"
			}
		}
		weight = {
			factor = 1
		}
	}
}


#################
### Thrusters ###
#################

tech_avc_thrusters_5 = {
	area = engineering
	cost = @tier5cost1
	tier = 5
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_thrusters_4" }
	weight = @tier5weight1
	
	weight_modifier = {
		factor = 1.25

		modifier = {
			factor = 2
			has_technology = tech_titans
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_THRUSTER_5_TITLE"
			desc = "TECH_UNLOCK_AVC_THRUSTER_5_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_thrusters_5
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_5_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_5_DESC"
			}
		}
	}
}

tech_avc_thrusters_6 = {
	area = engineering
	cost = @navstier6cost1
	tier = 6
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_avc_thrusters_5" }
	weight = @navstier6weight1
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_THRUSTER_6_TITLE"
			desc = "TECH_UNLOCK_AVC_THRUSTER_6_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_thrusters_6
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_6_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_6_DESC"
			}
		}
	}
}

tech_avc_thrusters_7 = {
	area = engineering
	cost = @navstier7cost1
	tier = 7
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_avc_thrusters_6" }
	weight = @navstier7weight1
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_THRUSTER_7_TITLE"
			desc = "TECH_UNLOCK_AVC_THRUSTER_7_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_thrusters_7
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_7_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_7_DESC"
			}
		}
	}
}

tech_avc_thrusters_8 = {
	area = engineering
	cost = @navstier7cost1
	tier = 7
	category = { propulsion }
	ai_update_type = all	
	prerequisites = { "tech_avc_thrusters_7" }
	weight = @navstier7weight1
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_THRUSTER_8_TITLE"
			desc = "TECH_UNLOCK_AVC_THRUSTER_8_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_thrusters_8
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_8_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_8_DESC"
			}
		}
	}
}


tech_avc_dark_matter_propulsion_2 = {
	cost = @navstier8cost3
	area = engineering
	tier = 8
	category = { propulsion }
	ai_update_type = all
	weight = @navstier8weight3
	is_rare = yes
	
	prerequisites = { "tech_dark_matter_propulsion" "tech_avc_thrusters_8" }
	
	weight_modifier = {
		factor = 1.00
		modifier = {
			factor = 0
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}

	ai_weight = {
		factor = 1.25 #important component
		modifier = {
			factor = 0
			NOR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
		}
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_DARK_MATTER_PROPULSION_2_TITLE"
			desc = "TECH_UNLOCK_AVC_DARK_MATTER_PROPULSION_2_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_thrusters_dark_matter_2
		inherit_icon = no
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_DARK_MATTER_2_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_THRUSTER_DARK_MATTER_2_DESC"
			}
		}
	}
}


###############
### Sensors ###
###############

tech_avc_sensors_5 = {
	area = physics
	cost = @tier5cost1
	tier = 5
	category = { computing }
	ai_update_type = all	
	prerequisites = { "tech_sensors_4" }
	weight = @tier5weight1
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_subterfuge_adopt
		}
		modifier = {
			factor = 1.25
			any_system_within_border = {
				is_inside_nebula = yes
			}
		}
	}
	
	ai_weight = {
	
	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_SENSOR_5_TITLE"
			desc = "TECH_UNLOCK_AVC_SENSOR_5_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_sensors_5
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_5_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_5_DESC"
			}
		}
	}
}

tech_avc_sensors_6 = {
	area = physics
	cost = @navstier6cost1
	tier = 6
	category = { computing }
	ai_update_type = all	
	prerequisites = { "tech_avc_sensors_5" }
	weight = @navstier6weight1
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_subterfuge_adopt
		}
		modifier = {
			factor = 1.25
			any_system_within_border = {
				is_inside_nebula = yes
			}
		}
	}	
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_SENSOR_6_TITLE"
			desc = "TECH_UNLOCK_AVC_SENSOR_6_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_sensors_6
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_6_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_6_DESC"
			}
		}
	}
}

tech_avc_sensors_7 = {
	area = physics
	cost = @navstier7cost1
	tier = 7
	category = { computing }
	ai_update_type = all	
	prerequisites = { "tech_avc_sensors_6" }
	weight = @navstier7weight1
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_subterfuge_adopt
		}
		modifier = {
			factor = 1.25
			any_system_within_border = {
				is_inside_nebula = yes
			}
		}
	}	
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_SENSOR_7_TITLE"
			desc = "TECH_UNLOCK_AVC_SENSOR_7_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_sensors_7
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_7_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_7_DESC"
			}
		}
	}
}

tech_avc_sensors_8 = {
	area = physics
	cost = @navstier8cost1
	tier = 8
	category = { computing }
	ai_update_type = all	
	prerequisites = { "tech_avc_sensors_7" }
	weight = @navstier8weight1
	
	weight_modifier = {
		modifier = {
			factor = 1.25
			has_tradition = tr_discovery_adopt
		}
		modifier = {
			factor = 1.25
			has_tradition = tr_subterfuge_adopt
		}
		modifier = {
			factor = 1.25
			any_system_within_border = {
				is_inside_nebula = yes
			}
		}
	}	
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		component = {
			title = "TECH_UNLOCK_AVC_SENSOR_7_TITLE"
			desc = "TECH_UNLOCK_AVC_SENSOR_7_DESC"
		}
	}
	
	technology_swap = {
		name = tech_avc_bioship_sensors_8
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			country_uses_bio_ships = yes
		}
		prereqfor_desc = {
			custom = {
				title = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_8_TITLE"
				desc = "TECH_UNLOCK_AVC_BIOSHIP_SENSOR_8_DESC"
			}
		}
	}
}


#################
### Computers ###
#################

tech_avc_combat_computers_4 = {
	area = physics
	tier = 5
	cost = @tier5cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_combat_computers_3" }
	weight = @tier5weight2
	
	potential = {
		NOT = { has_ethic = ethic_gestalt_consciousness }
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_4_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_4_DESC"
		}
	}
}

tech_avc_combat_computers_autonomous_4 = {
	area = physics
	tier = 5
	cost = @tier5cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_combat_computers_autonomous" }
	weight = @tier5weight2
	
	potential = {
		has_ethic = ethic_gestalt_consciousness
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_4_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_4_DESC"
		}
	}
}

tech_avc_combat_computers_5 = {
	area = physics
	tier = 6
	cost = @navstier6cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_avc_combat_computers_4" }
	weight = @navstier6weight2
	
	potential = {
		NOT = { has_ethic = ethic_gestalt_consciousness }
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_5_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_5_DESC"
		}
	}
}

tech_avc_combat_computers_autonomous_5 = {
	area = physics
	tier = 6
	cost = @navstier6cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_avc_combat_computers_autonomous_4" }
	weight = @navstier6weight2
	
	potential = {
		has_ethic = ethic_gestalt_consciousness
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_5_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_5_DESC"
		}
	}
}

tech_avc_combat_computers_6 = {
	area = physics
	tier = 7
	cost = @navstier7cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_avc_combat_computers_5" }
	weight = @navstier7weight2
	
	potential = {
		NOT = { has_ethic = ethic_gestalt_consciousness }
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_6_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_6_DESC"
		}
	}
}

tech_avc_combat_computers_autonomous_6 = {
	area = physics
	tier = 7
	cost = @navstier7cost2
	category = { computing }
	ai_update_type = military
	is_rare = yes
	is_dangerous = yes
	prerequisites = { "tech_avc_combat_computers_autonomous_5" }
	weight = @navstier7weight2
	
	potential = {
		has_ethic = ethic_gestalt_consciousness
	}
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0
			has_policy_flag = ai_outlawed
		}
	}
	
	ai_weight = {

	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_6_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTERS_AUTONOMOUS_6_DESC"
		}
	}
}

tech_avc_precognition_interface_2 = {
	cost = @navstier6cost2
	area = society
	tier = 6
	category = { psionics }
	is_rare = yes
	prerequisites = { "tech_precognition_interface" }
	weight = @navstier6weight2
	is_reverse_engineerable = no
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0.50
			NOT = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_psionics }
			}
		}
		modifier = {
			factor = 2
			has_ethic = "ethic_spiritualist"
		}
		modifier = {
			factor = 3
			has_ethic = "ethic_fanatic_spiritualist"
		}
		modifier = {
			factor = 3
			has_paragon_dlc = no
			any_owned_leader = {
				has_trait = leader_trait_shroudwalker
			}
		}
		modifier = {
			factor = 2
			OR = {
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}
		}
	}
	
	ai_weight = {
		modifier = {
			factor = 2
			is_militarist = yes
		}
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTER_PRECOG_2_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTER_PRECOG_2_DESC"
		}
	}
}

tech_avc_precognition_interface_3 = {
	cost = @navstier7cost2
	area = society
	tier = 7
	category = { psionics }
	is_rare = yes
	prerequisites = { "tech_avc_precognition_interface_2" }
	weight = @navstier7weight2
	is_reverse_engineerable = no
	
	weight_modifier = {
		factor = 0.5
		modifier = {
			factor = 0.50
			NOT = {
				has_trait_in_council = { TRAIT = leader_trait_expertise_psionics }
			}
		}
		modifier = {
			factor = 2
			has_ethic = "ethic_spiritualist"
		}
		modifier = {
			factor = 3
			has_ethic = "ethic_fanatic_spiritualist"
		}
		modifier = {
			factor = 3
			has_paragon_dlc = no
			any_owned_leader = {
				has_trait = leader_trait_shroudwalker
			}
		}
		modifier = {
			factor = 2
			OR = {
				has_trait_in_council = { TRAIT = leader_trait_maniacal }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_2 }
				has_trait_in_council = { TRAIT = leader_trait_maniacal_3 }
			}
		}
	}
	
	ai_weight = {
		modifier = {
			factor = 2
			is_militarist = yes
		}
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = component
		custom = {
			title = "TECH_UNLOCK_AVC_COMBAT_COMPUTER_PRECOG_3_TITLE"
			desc = "TECH_UNLOCK_AVC_COMBAT_COMPUTER_PRECOG_3_DESC"
		}
	}
}
