@attack_range = 10
@engagement_range = 125
@launch_time = 2
@speed = 800
@count = 8
@regen = 0.5
@power = -73

strike_craft_component_template = {
	key = "AVW_PSIONIC_STRIKE_CRAFT_2"
	size = LARGE
	entity = "bomber_entity"
	weapon_type = point_defence
	
	icon = "GFX_ship_part_avw_psionic_bombers_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_bombers_2" }
	component_set = "AVW_PSIONIC_STRIKE_CRAFT_2"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "psionic_strike_craft_laser"
	tags = { weapon_type_strike_craft weapon_type_psionic }
	ai_tags = { weapon_role_point_defense carrier }
	
	upgrades_to = "AVW_PSIONIC_STRIKE_CRAFT_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 750
			sr_zro = 3.520
		}
		upkeep = {
			energy = 6.84
			alloys = 1.368
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	ship_behavior = "fighters_behavior"
	point_defence_targets = { "strike_craft" }

	power = -95
	damage = { min = 6.5 max = 17 }
	hull_damage = 1
	shield_damage = 1
	shield_penetration = 1
	armor_damage = 1.5
	armor_penetration = 0
	size_damage_factor = 0.1
	
	cooldown = 2.3
	range = 10
	engagement_range = 125
	accuracy = 1.00
	tracking = 0.40
	
	military_power_multiplier = 1
	
	speed = 850
	health = 17
	armor = 0
	shield = 46
	evasion = 0.95

	count = 8
	regeneration_per_day = 0.5
	launch_time = 2
	rotation_speed = 0.80
	acceleration = 1
}

strike_craft_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_STRIKE_CRAFT_2"
	size = LARGE
	entity = "bomber_entity"
	weapon_type = point_defence
	
	icon = "GFX_mutation_avw_psionic_sappers_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_bombers_2" }
	component_set = "AVW_BIOSHIP_PSIONIC_STRIKE_CRAFT_2"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}
	
	projectile_gfx = "psionic_strike_craft_laser"
	tags = { weapon_type_strike_craft weapon_type_psionic }
	ai_tags = { weapon_role_point_defense carrier }
	
	upgrades_to = "AVW_BIOSHIP_PSIONIC_STRIKE_CRAFT_3"
	resources = {
		category = ship_components
		cost = {
			food = 750
			mult = @alloy_to_food_cost_ratio
		}
		cost = {
			sr_zro = 3.520
		}
		upkeep = {
			food = 6.84
			alloys = 1.368
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	ship_behavior = "fighters_behavior"
	point_defence_targets = { "strike_craft" }

	power = -95
	damage = { min = 3 max = 8.5 }
	hull_damage = 1
	shield_damage = 1
	shield_penetration = 1
	armor_damage = 1.5
	armor_penetration = 0
	size_damage_factor = 0.1
	
	cooldown = 2.3
	range = 10
	engagement_range = 125
	accuracy = 1.00
	tracking = 0.40
	
	military_power_multiplier = 1
	
	speed = 850
	health = 8.5
	armor = 22
	shield = 0
	evasion = 0.95

	count = 16
	regeneration_per_day = 1.0
	launch_time = 2
	rotation_speed = 0.80
	acceleration = 1
}

strike_craft_component_template = {
	key = "AVW_PSIONIC_STRIKE_CRAFT_3"
	size = LARGE
	entity = "bomber_entity"
	weapon_type = point_defence
	
	icon = "GFX_ship_part_avw_psionic_bombers_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_bombers_3" }
	component_set = "AVW_PSIONIC_STRIKE_CRAFT_3"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "psionic_strike_craft_laser"
	tags = { weapon_type_strike_craft weapon_type_psionic }
	ai_tags = { weapon_role_point_defense carrier }
	
	resources = {
		category = ship_components
		cost = {
			alloys = 1688
			sr_zro = 7.52
		}
		upkeep = {
			energy = 15.39
			alloys = 3.078
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	ship_behavior = "fighters_behavior"
	point_defence_targets = { "strike_craft" }

	power = -124
	damage = { min = 8 max = 22 }
	hull_damage = 1
	shield_damage = 1
	shield_penetration = 1
	armor_damage = 1.5
	armor_penetration = 0
	size_damage_factor = 0.1
	
	cooldown = 2.3
	range = 10
	engagement_range = 125
	accuracy = 1.00
	tracking = 0.45
	
	military_power_multiplier = 1
	
	speed = 900
	health = 17
	armor = 0
	shield = 46
	evasion = 0.95

	count = 8
	regeneration_per_day = 0.5
	launch_time = 2
	rotation_speed = 0.80
	acceleration = 1
}

strike_craft_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_STRIKE_CRAFT_3"
	size = LARGE
	entity = "bomber_entity"
	weapon_type = point_defence
	
	icon = "GFX_mutation_avw_psionic_sappers_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_bombers_3" }
	component_set = "AVW_BIOSHIP_PSIONIC_STRIKE_CRAFT_3"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}
	
	projectile_gfx = "psionic_strike_craft_laser"
	tags = { weapon_type_strike_craft weapon_type_psionic }
	ai_tags = { weapon_role_point_defense carrier }
	
	resources = {
		category = ship_components
		cost = {
			food = 1688
			mult = @alloy_to_food_cost_ratio
		}
		cost = {
			sr_zro = 7.52
		}
		upkeep = {
			food = 15.39
			alloys = 3.078
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	ship_behavior = "fighters_behavior"
	point_defence_targets = { "strike_craft" }

	power = -124
	damage = { min = 4 max = 11 }
	hull_damage = 1
	shield_damage = 1
	shield_penetration = 1
	armor_damage = 1.5
	armor_penetration = 0
	size_damage_factor = 0.1
	
	cooldown = 2.3
	range = 10
	engagement_range = 125
	accuracy = 1.00
	tracking = 0.40
	
	military_power_multiplier = 1
	
	speed = 900
	health = 11
	armor = 29
	shield = 0
	evasion = 0.95

	count = 16
	regeneration_per_day = 1.0
	launch_time = 2
	rotation_speed = 0.80
	acceleration = 1
}

weapon_component_template = {
	key = "AVW_PSIONIC_LIGHTNING_2"
	size = large
	type = instant
	
	icon = "GFX_ship_part_avw_psionic_lightning_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_lightning_2" }
	component_set = "AVW_PSIONIC_LIGHTNING_2"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "psionic_arc_emitter"
	tags = { weapon_type_energy weapon_type_psionic l_slot }
	ai_tags = { weapon_role_anti_hull }
	
	upgrades_to = "AVW_PSIONIC_LIGHTNING_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 220
			sr_zro = 1.408
		}
		upkeep = {
			energy = 2.03
			alloys = 0.405
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -91
	damage = { min = 1 max = 181 }
	hull_damage = 1.0
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_damage = 1.0
	armor_penetration = 1.0
	
	windup = { min = 9 max = 34 }
	total_fire_time = 23.5
	range = 70
	accuracy = 1.0
	tracking = 0.3

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	on_hit = {
		hidden_effect = {
			if = {
				limit = {
					exists = this
					is_civilian = no
					NOT = { is_ship_class = shipclass_starbase }
				}
				random = {
					chance = value:ship_terrify_chance
					set_terrified_by = root.from
					set_ship_flag = is_terrified
					ship_event = {
						id = shroud.5
						days = value:ship_terrify_duration
					}
				}
			}
		}
		custom_tooltip = "ship_terrify_tt"
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_LIGHTNING_2"
	size = large
	type = instant
	
	icon = "GFX_mutation_avw_bio_psionic_lightning_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_lightning_2" }
	component_set = "AVW_BIOSHIP_PSIONIC_LIGHTNING_2"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}
	
	projectile_gfx = "psionic_arc_emitter"
	tags = { weapon_type_energy weapon_type_psionic l_slot }
	ai_tags = { weapon_role_anti_hull }
	
	upgrades_to = "AVW_BIOSHIP_PSIONIC_LIGHTNING_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 220
			sr_zro = 1.408
		}
		upkeep = {
			food = 2.03
			alloys = 0.405
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -91
	damage = { min = 1 max = 181 }
	hull_damage = 1.0
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_damage = 1.0
	armor_penetration = 1.0
	
	windup = { min = 9 max = 34 }
	total_fire_time = 23.5
	range = 70
	accuracy = 1.0
	tracking = 0.3

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	on_hit = {
		hidden_effect = {
			if = {
				limit = {
					exists = this
					is_civilian = no
					NOT = { is_ship_class = shipclass_starbase }
				}
				random = {
					chance = value:ship_terrify_chance
					set_terrified_by = root.from
					set_ship_flag = is_terrified
					ship_event = {
						id = shroud.5
						days = value:ship_terrify_duration
					}
				}
			}
		}
		custom_tooltip = "ship_terrify_tt"
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_LIGHTNING_3"
	size = large
	type = instant
	
	icon = "GFX_ship_part_avw_psionic_lightning_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_lightning_3" }
	component_set = "AVW_PSIONIC_LIGHTNING_3"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "psionic_arc_emitter"
	tags = { weapon_type_energy weapon_type_psionic l_slot }
	ai_tags = { weapon_role_anti_hull }
	
	resources = {
		category = ship_components
		cost = {
			alloys = 500
			sr_zro = 3.17
		}
		upkeep = {
			energy = 4.56
			alloys = 0.912
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -118
	damage = { min = 1 max = 235 }
	hull_damage = 1.0
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_damage = 1.0
	armor_penetration = 1.0
	
	windup = { min = 9 max = 34 }
	total_fire_time = 23.5
	range = 70
	accuracy = 1.0
	tracking = 0.3

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	on_hit = {
		hidden_effect = {
			if = {
				limit = {
					exists = this
					is_civilian = no
					NOT = { is_ship_class = shipclass_starbase }
				}
				random = {
					chance = value:ship_terrify_chance
					set_terrified_by = root.from
					set_ship_flag = is_terrified
					ship_event = {
						id = shroud.5
						days = value:ship_terrify_duration
					}
				}
			}
		}
		custom_tooltip = "ship_terrify_tt"
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_LIGHTNING_3"
	size = large
	type = instant
	
	icon = "GFX_mutation_avw_bio_psionic_lightning_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_lightning_3" }
	component_set = "AVW_BIOSHIP_PSIONIC_LIGHTNING_3"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}
	
	projectile_gfx = "psionic_arc_emitter"
	tags = { weapon_type_energy weapon_type_psionic l_slot }
	ai_tags = { weapon_role_anti_hull }
	
	resources = {
		category = ship_components
		cost = {
			alloys = 500
			sr_zro = 3.17
		}
		upkeep = {
			food = 4.56
			alloys = 0.912
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -118
	damage = { min = 1 max = 235 }
	hull_damage = 1.0
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_damage = 1.0
	armor_penetration = 1.0
	
	windup = { min = 9 max = 34 }
	total_fire_time = 23.5
	range = 70
	accuracy = 1.0
	tracking = 0.3

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	on_hit = {
		hidden_effect = {
			if = {
				limit = {
					exists = this
					is_civilian = no
					NOT = { is_ship_class = shipclass_starbase }
				}
				random = {
					chance = value:ship_terrify_chance
					set_terrified_by = root.from
					set_ship_flag = is_terrified
					ship_event = {
						id = shroud.5
						days = value:ship_terrify_duration
					}
				}
			}
		}
		custom_tooltip = "ship_terrify_tt"
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_DISRUPTOR_SMALL_2"
	size = small
	type = instant

	icon = "GFX_ship_part_avw_psionic_disruptor_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_2" }
	component_set = "AVW_PSIONIC_DISRUPTOR_2"

	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_disruptor_small"
	tags = { weapon_type_energy weapon_type_psionic s_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	upgrades_to = "AVW_PSIONIC_DISRUPTOR_SMALL_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			sr_zro = 0.76
		}
		upkeep = {
			energy = 1.14
			alloys = 0.228
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -30
	damage = { min = 1 max = 33 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.90
	armor_damage = 1.00
	armor_penetration = 0.90
	
	windup = { min = 3 max = 11 }
	total_fire_time = 16
	range = 30
	accuracy = 1
	tracking = 0.6

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_2
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_DISRUPTOR_MEDIUM_2"
	size = medium
	type = instant

	icon = "GFX_ship_part_avw_psionic_disruptor_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_2" }
	component_set = "AVW_PSIONIC_DISRUPTOR_2"

	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_disruptor_medium"
	tags = { weapon_type_energy weapon_type_psionic m_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	upgrades_to = "AVW_PSIONIC_DISRUPTOR_MEDIUM_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 200
			sr_zro = 0.845
		}
		upkeep = {
			energy = 2.28
			alloys = 0.456
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -61
	damage = { min = 1 max = 81 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.90
	armor_damage = 1.00
	armor_penetration = 0.90
	
	windup = { min = 4 max = 16 }
	total_fire_time = 24
	range = 40
	accuracy = 1
	tracking = 0.35

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_2
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_SMALL_2"
	size = small
	type = instant

	icon = "GFX_mutation_avw_bio_psionic_disruptor_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_2" }
	component_set = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_2"

	potential = {
		from = {
			country_uses_bio_ships = yes
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_disruptor_small"
	tags = { weapon_type_energy weapon_type_psionic s_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	upgrades_to = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_SMALL_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			sr_zro = 0.76
		}
		upkeep = {
			food = 1.14
			alloys = 0.228
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -30
	damage = { min = 1 max = 41 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.90
	armor_damage = 1.00
	armor_penetration = 0.90
	
	windup = { min = 3 max = 11 }
	total_fire_time = 16
	range = 15
	accuracy = 1
	tracking = 0.6

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_2
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_MEDIUM_2"
	size = medium
	type = instant

	icon = "GFX_mutation_avw_bio_psionic_disruptor_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_2" }
	component_set = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_2"

	potential = {
		from = {
			country_uses_bio_ships = yes
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_disruptor_medium"
	tags = { weapon_type_energy weapon_type_psionic m_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	upgrades_to = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_MEDIUM_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 200
			sr_zro = 0.845
		}
		upkeep = {
			food = 2.28
			alloys = 0.456
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -61
	damage = { min = 1 max = 81 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.90
	armor_damage = 1.00
	armor_penetration = 0.90
	
	windup = { min = 4 max = 16 }
	total_fire_time = 24
	range = 40
	accuracy = 1
	tracking = 0.35

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_2
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_DISRUPTOR_SMALL_3"
	size = small
	type = instant

	icon = "GFX_ship_part_avw_psionic_disruptor_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_3" }
	component_set = "AVW_PSIONIC_DISRUPTOR_3"

	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_disruptor_small"
	tags = { weapon_type_energy weapon_type_psionic s_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	resources = {
		category = ship_components
		cost = {
			alloys = 180
			sr_zro = 1.71
		}
		upkeep = {
			energy = 2.565
			alloys = 0.513
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -39
	damage = { min = 1 max = 43 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 1.00
	armor_damage = 1.00
	armor_penetration = 1.00
	
	windup = { min = 3 max = 11 }
	total_fire_time = 16
	range = 30
	accuracy = 1
	tracking = 0.6

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_3
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_DISRUPTOR_MEDIUM_3"
	size = medium
	type = instant

	icon = "GFX_ship_part_avw_psionic_disruptor_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_3" }
	component_set = "AVW_PSIONIC_DISRUPTOR_3"

	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_disruptor_medium"
	tags = { weapon_type_energy weapon_type_psionic m_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	resources = {
		category = ship_components
		cost = {
			alloys = 450
			sr_zro = 1.901
		}
		upkeep = {
			energy = 5.13
			alloys = 1.026
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -79
	damage = { min = 1 max = 105 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 1.00
	armor_damage = 1.00
	armor_penetration = 1.00
	
	windup = { min = 4 max = 16 }
	total_fire_time = 24
	range = 40
	accuracy = 1
	tracking = 0.35

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_3
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_SMALL_3"
	size = small
	type = instant

	icon = "GFX_mutation_avw_bio_psionic_disruptor_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_3" }
	component_set = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_3"

	potential = {
		from = {
			country_uses_bio_ships = yes
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_disruptor_small"
	tags = { weapon_type_energy weapon_type_psionic s_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	resources = {
		category = ship_components
		cost = {
			alloys = 180
			sr_zro = 1.71
		}
		upkeep = {
			food = 2.565
			alloys = 0.513
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -39
	damage = { min = 1 max = 53 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 1.00
	armor_damage = 1.00
	armor_penetration = 1.00
	
	windup = { min = 3 max = 11 }
	total_fire_time = 16
	range = 15
	accuracy = 1
	tracking = 0.6

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_3
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_MEDIUM_3"
	size = medium
	type = instant

	icon = "GFX_mutation_avw_bio_psionic_disruptor_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_psionic_disruptor_3" }
	component_set = "AVW_BIOSHIP_PSIONIC_DISRUPTOR_3"

	potential = {
		from = {
			country_uses_bio_ships = yes
		}
		is_arkship_ship = no
	}
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_disruptor_medium"
	tags = { weapon_type_energy weapon_type_psionic m_slot debuffer_role }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth debuffer_role debuffer_role_stealth }
	ai_tag_weight = 5
	
	resources = {
		category = ship_components
		cost = {
			alloys = 450
			sr_zro = 1.901
		}
		upkeep = {
			food = 5.13
			alloys = 1.026
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -79
	damage = { min = 1 max = 105 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 1.00
	armor_damage = 1.00
	armor_penetration = 1.00
	
	windup = { min = 4 max = 16 }
	total_fire_time = 24
	range = 40
	accuracy = 1
	tracking = 0.35

	military_power_multiplier = 1
	
	target_type = target_enemies
	target_focus = spread
	injected_modifier = {
		modifier = {
			modifier = psionic_disruptor_anti_fire_rate_3
			days = 10
		}
		stack_info = {
			id = anti_fire_rate
			priority = 1
		}
	}
}

weapon_component_template = {
	key = "AVW_PSIONIC_TORPEDO_2"
	size = torpedo
	type = instant
	
	icon = "GFX_ship_part_avw_psionic_torpedo_2"
	icon_frame = 1
	
	prerequisites = { "tech_avw_zro_launcher_2" }
	component_set = "AVW_PSIONIC_TORPEDO_2"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
		ship_uses_mauler_components = no
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_torpedoes"
	tags = { weapon_type_energy weapon_type_psionic g_slot }
	ai_tags = { weapon_role_artillery artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	
	upgrades_to = "AVW_PSIONIC_TORPEDO_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 1125
			sr_zro = 3.520
		}
		upkeep = {
			energy = 4.56
			alloys = 0.912
		}
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
	}
	
	power = -153
	damage = { min = 169 max = 364 }
	hull_damage = 1.75
	shield_damage = 0.5
	shield_penetration = 0.5
	armor_damage = 1.5
	armor_penetration = 0.5
	
	windup = { min = 25 max = 100 }
	total_fire_time = 150
	range = 120
	accuracy = 0.75
	tracking = 0
	
	firing_arc = 25.0
	min_range = 45.0
	size_damage_factor = 0.2
	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_TORPEDO_2"
	size = torpedo
	type = instant
	
	icon = "GFX_mutation_avw_bio_psionic_torpedo_2"
	icon_frame = 1

	prerequisites = { "tech_avw_zro_launcher_2" }
	component_set = "AVW_BIOSHIP_PSIONIC_TORPEDO_2"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
		ship_uses_mauler_components = no
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_torpedoes"
	tags = { weapon_type_energy weapon_type_psionic g_slot }
	ai_tags = { weapon_role_artillery artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	
	upgrades_to = "AVW_BIOSHIP_PSIONIC_TORPEDO_3"
	resources = {
		category = ship_components
		cost = {
			alloys = 1125
			sr_zro = 3.520
		}
		upkeep = {
			food = 4.56
			alloys = 0.912
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
	}
	
	power = -153
	damage = { min = 169 max = 364 }
	hull_damage = 1.75
	shield_damage = 0.5
	shield_penetration = 0.5
	armor_damage = 1.5
	armor_penetration = 0.5
	
	windup = { min = 25 max = 100 }
	total_fire_time = 150
	range = 120
	accuracy = 0.75
	tracking = 0
	
	firing_arc = 25.0
	min_range = 45.0
	size_damage_factor = 0.2
	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_PSIONIC_TORPEDO_3"
	size = torpedo
	type = instant
	
	icon = "GFX_ship_part_avw_psionic_torpedo_3"
	icon_frame = 1
	
	prerequisites = { "tech_avw_zro_launcher_3" }
	component_set = "AVW_PSIONIC_TORPEDO_3"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
		ship_uses_mauler_components = no
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}

	projectile_gfx = "psionic_torpedoes"
	tags = { weapon_type_energy weapon_type_psionic g_slot }
	ai_tags = { weapon_role_artillery artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	
	resources = {
		category = ship_components
		cost = {
			alloys = 2531
			sr_zro = 7.92
		}
		upkeep = {
			energy = 10.26
			alloys = 2.052
		}
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
	}
	
	power = -199
	damage = { min = 220 max = 473 }
	hull_damage = 1.75
	shield_damage = 0.5
	shield_penetration = 0.5
	armor_damage = 1.5
	armor_penetration = 0.5
	
	windup = { min = 25 max = 100 }
	total_fire_time = 150
	range = 120
	accuracy = 0.75
	tracking = 0
	
	firing_arc = 25.0
	min_range = 45.0
	size_damage_factor = 0.2
	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_BIOSHIP_PSIONIC_TORPEDO_3"
	size = torpedo
	type = instant
	
	icon = "GFX_mutation_avw_bio_psionic_torpedo_3"
	icon_frame = 1

	prerequisites = { "tech_avw_zro_launcher_3" }
	component_set = "AVW_BIOSHIP_PSIONIC_TORPEDO_3"
	
	potential = {
		is_arkship_ship = no
		from = {
			country_uses_bio_ships = yes
		}
		ship_uses_mauler_components = no
	}
	
	show_tech_unlock_if = {
		country_uses_bio_ships = yes
	}

	projectile_gfx = "psionic_torpedoes"
	tags = { weapon_type_energy weapon_type_psionic g_slot }
	ai_tags = { weapon_role_artillery artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
	ai_tag_weight = 0
	
	resources = {
		category = ship_components
		cost = {
			alloys = 2531
			sr_zro = 7.92
		}
		upkeep = {
			food = 10.26
			alloys = 2.052
		}
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = sr_zro }
		}
	}
	
	power = -199
	damage = { min = 220 max = 473 }
	hull_damage = 1.75
	shield_damage = 0.5
	shield_penetration = 0.5
	armor_damage = 1.5
	armor_penetration = 0.5
	
	windup = { min = 25 max = 100 }
	total_fire_time = 150
	range = 120
	accuracy = 0.75
	tracking = 0
	
	firing_arc = 25.0
	min_range = 45.0
	size_damage_factor = 0.2
	military_power_multiplier = 1
}
