# Icons set here are the ones show in the actual slot. The reason is so that we can support different icons for different sizes.

# Updated Range on these

# DEFAULT VALUES:
# is_missile = no
# is_beam = no
# is_point_defence = no

#NOTE that values from weapon_components.csv will override values from this file

# ####################
# Laser
# ####################

### Red Lasers

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

	icon = "GFX_avw_ship_part_laser_6"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_6" }
	component_set = "AVW_LASER_6"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_6_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_SMALL_LASER_7"
	resources = {
		category = ship_components
		cost = {
			alloys = 53
			rare_crystals = 0.563
		}		
		upkeep = {
			energy = 0.76
			alloys = 0.152
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -22
	damage = { min = 22 max = 59 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 5 max = 20 }
	total_fire_time = 30
	range = 40
	accuracy = 0.9
	tracking = 0.5
	
	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_6"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_6" }
	component_set = "AVW_LASER_6"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_6_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_MEDIUM_LASER_7"
	resources = {
		category = ship_components
		cost = {
			alloys = 133
			rare_crystals = 1.408
		}		
		upkeep = {
			energy = 1.52
			alloys = 0.304
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -51
	damage = { min = 56 max = 150 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 60
	accuracy = 0.9
	tracking = 0.3

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_LASER_6"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_laser_6"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_6" }
	component_set = "AVW_LASER_6"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_6_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_LARGE_LASER_7"
	resources = {
		category = ship_components
		cost = {
			alloys = 333
			rare_crystals = 3.520
		}		
		upkeep = {
			energy = 3.04
			alloys = 0.608
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -114
	damage = { min = 133 max = 356 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 80
	accuracy = 0.9
	tracking = 0.05

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_7"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_7" }
	component_set = "AVW_LASER_7"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_7_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_SMALL_LASER_8"
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			rare_crystals = 0.845
		}		
		upkeep = {
			energy = 1.14
			alloys = 0.228
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -28
	damage = { min = 29 max = 77 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 5 max = 20 }
	total_fire_time = 30
	range = 40
	accuracy = 0.9
	tracking = 0.5

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_7"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_7" }
	component_set = "AVW_LASER_7"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_7_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_MEDIUM_LASER_8"
	resources = {
		category = ship_components
		cost = {
			alloys = 200
			rare_crystals = 2.112
		}		
		upkeep = {
			energy = 2.28
			alloys = 0.456
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -66
	damage = { min = 72 max = 195 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 60
	accuracy = 0.9
	tracking = 0.3

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_LASER_7"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_laser_7"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_7" }
	component_set = "AVW_LASER_7"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_7_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_LARGE_LASER_8"
	resources = {
		category = ship_components
		cost = {
			alloys = 500
			rare_crystals = 5.28
		}		
		upkeep = {
			energy = 4.56
			alloys = 0.912
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -148
	damage = { min = 173 max = 463 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 80
	accuracy = 0.9
	tracking = 0.05

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_8"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_8" }
	component_set = "AVW_LASER_8"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_8_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_SMALL_LASER_9"
	resources = {
		category = ship_components
		cost = {
			alloys = 120
			rare_crystals = 1.268
		}		
		upkeep = {
			energy = 1.71
			alloys = 0.342
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -35
	damage = { min = 38 max = 100 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 5 max = 20 }
	total_fire_time = 30
	range = 40
	accuracy = 0.9
	tracking = 0.5

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_8"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_8" }
	component_set = "AVW_LASER_8"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_8_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_MEDIUM_LASER_9"
	resources = {
		category = ship_components
		cost = {
			alloys = 300
			rare_crystals = 3.168
		}		
		upkeep = {
			energy = 3.42
			alloys = 0.684
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -86
	damage = { min = 94 max = 254 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 60
	accuracy = 0.9
	tracking = 0.3

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_LASER_8"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_laser_8"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_8" }
	component_set = "AVW_LASER_8"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_8_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_LARGE_LASER_9"
	resources = {
		category = ship_components
		cost = {
			alloys = 750
			rare_crystals = 7.92
		}		
		upkeep = {
			energy = 6.84
			alloys = 1.368
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -191
	damage = { min = 225 max = 602 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 80
	accuracy = 0.9
	tracking = 0.05

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_9"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_9" }
	component_set = "AVW_LASER_9"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_9_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_SMALL_LASER_10"
	resources = {
		category = ship_components
		cost = {
			alloys = 180
			rare_crystals = 1.902
		}		
		upkeep = {
			energy = 2.565
			alloys = 0.513
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -43
	damage = { min = 49 max = 131 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 5 max = 20 }
	total_fire_time = 30
	range = 40
	accuracy = 0.9
	tracking = 0.5

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_9"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_9" }
	component_set = "AVW_LASER_9"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_9_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_MEDIUM_LASER_10"
	resources = {
		category = ship_components
		cost = {
			alloys = 450
			rare_crystals = 4.752
		}		
		upkeep = {
			energy = 5.13
			alloys = 1.026
		}
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -112
	damage = { min = 122 max = 330 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 60
	accuracy = 0.9
	tracking = 0.3

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_LASER_9"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_laser_9"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_9" }
	component_set = "AVW_LASER_9"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_9_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	upgrades_to = "AVW_LARGE_LASER_10"
	resources = {
		category = ship_components
		cost = {
			alloys = 1125
			rare_crystals = 11.88
		}		
		upkeep = {
			energy = 10.26
			alloys = 2.052
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -249
	damage = { min = 293 max = 783 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 80
	accuracy = 0.9
	tracking = 0.05

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_10"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_10" }
	component_set = "AVW_LASER_10"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_10_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = 270
			rare_crystals = 2.853
		}		
		upkeep = {
			energy = 3.848
			alloys = 0.77
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -52
	damage = { min = 64 max = 170 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 5 max = 20 }
	total_fire_time = 30
	range = 40
	accuracy = 0.9
	tracking = 0.5

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_laser_10"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_10" }
	component_set = "AVW_LASER_10"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_10_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = 675
			rare_crystals = 7.128
		}		
		upkeep = {
			energy = 7.695
			alloys = 1.539
		}
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -146
	damage = { min = 159 max = 430 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 60
	accuracy = 0.9
	tracking = 0.3

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_LASER_10"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_laser_10"
	icon_frame = 1

	prerequisites = { "tech_avw_lasers_10" }
	component_set = "AVW_LASER_10"
	
	potential = {
		OR = {
			from = {
				country_uses_bio_ships = no
			}
			is_arkship_ship = yes
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_laser_10_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	resources = {
		category = ship_components
		cost = {
			alloys = 1688
			rare_crystals = 17.82
		}		
		upkeep = {
			energy = 15.39
			alloys = 3.078
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -324
	damage = { min = 382 max = 1020 }
	hull_damage = 1.25
	shield_damage = 0.5
	shield_penetration = 0
	armor_damage = 1.5
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 80
	accuracy = 0.9
	tracking = 0.05

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_plasma_4"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_4" }
	component_set = "AVW_PLASMA_4"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_4_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_SMALL_PLASMA_5"
	resources = {
		category = ship_components
		cost = {
			alloys = 53
			exotic_gases = 0.563
		}		
		upkeep = {
			energy = 0.76
			alloys = 0.152
		}
	}

	ai_weight = {
		weight = 20
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -31
	damage = { min = 28 max = 73 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 40
	accuracy = 0.8
	tracking = 0.4

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_plasma_4"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_4" }
	component_set = "AVW_PLASMA_4"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_4_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_MEDIUM_PLASMA_5"
	resources = {
		category = ship_components
		cost = {
			alloys = 133
			exotic_gases = 1.408
		}		
		upkeep = {
			energy = 1.52
			alloys = 0.304
		}
	}

	ai_weight = {
		weight = 20
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -61
	damage = { min = 71 max = 182 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 60
	accuracy = 0.8
	tracking = 0.2

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_PLASMA_4"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_plasma_4"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_4" }
	component_set = "AVW_PLASMA_4"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_4_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_LARGE_PLASMA_5"
	resources = {
		category = ship_components
		cost = {
			alloys = 333
			exotic_gases = 3.520
		}		
		upkeep = {
			energy = 3.04
			alloys = 0.608
		}
	}

	ai_weight = {
		weight = 20
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = @cosmic_storm_gravity_ai_weight_factor
			has_country_flag = affected_by_gravity_storm
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}

	power = -138
	damage = { min = 163 max = 435 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 8 max = 30 }
	total_fire_time = 45
	range = 80
	accuracy = 0.8
	tracking = 0.05

	military_power_multiplier = 1
	min_range = 45
}

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

	icon = "GFX_avw_ship_part_plasma_5"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_5" }
	component_set = "AVW_PLASMA_5"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_5_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_SMALL_PLASMA_6"
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			exotic_gases = 0.845
		}		
		upkeep = {
			energy = 1.14
			alloys = 0.228
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -41
	damage = { min = 38 max = 94 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 40
	accuracy = 0.8
	tracking = 0.4

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_plasma_5"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_5" }
	component_set = "AVW_PLASMA_5"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_5_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_MEDIUM_PLASMA_6"
	resources = {
		category = ship_components
		cost = {
			alloys = 200
			exotic_gases = 2.112
		}		
		upkeep = {
			energy = 2.28
			alloys = 0.456
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -79
	damage = { min = 94 max = 237 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 60
	accuracy = 0.8
	tracking = 0.2

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_PLASMA_5"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_plasma_5"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_5" }
	component_set = "AVW_PLASMA_5"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_5_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	upgrades_to = "AVW_LARGE_PLASMA_6"
	resources = {
		category = ship_components
		cost = {
			alloys = 500
			exotic_gases = 5.28
		}		
		upkeep = {
			energy = 4.56
			alloys = 0.912
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = @cosmic_storm_gravity_ai_weight_factor
			has_country_flag = affected_by_gravity_storm
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}

	power = -180
	damage = { min = 212 max = 565 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 8 max = 30 }
	total_fire_time = 45
	range = 80
	accuracy = 0.8
	tracking = 0.05

	military_power_multiplier = 1
	min_range = 45
}

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

	icon = "GFX_avw_ship_part_plasma_6"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_6" }
	component_set = "AVW_PLASMA_6"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_6_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	resources = {
		category = ship_components
		cost = {
			alloys = 120
			exotic_gases = 1.268
		}		
		upkeep = {
			energy = 1.71
			alloys = 0.342
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -54
	damage = { min = 50 max = 123 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 6 max = 24 }
	total_fire_time = 35
	range = 40
	accuracy = 0.8
	tracking = 0.4

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_plasma_6"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_6" }
	component_set = "AVW_PLASMA_6"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_6_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	resources = {
		category = ship_components
		cost = {
			alloys = 300
			exotic_gases = 3.168
		}		
		upkeep = {
			energy = 3.42
			alloys = 0.684
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	power = -103
	damage = { min = 125 max = 308 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 7 max = 27 }
	total_fire_time = 40
	range = 60
	accuracy = 0.8
	tracking = 0.2

	military_power_multiplier = 1
}

weapon_component_template = {
	key = "AVW_LARGE_PLASMA_6"
	size = large
	type = instant

	icon = "GFX_avw_ship_part_plasma_6"
	icon_frame = 1

	prerequisites = { "tech_avw_plasma_6" }
	component_set = "AVW_PLASMA_6"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_plasma_6_l"
	tags = { weapon_type_energy l_slot }
	ai_tags = { weapon_role_anti_armor gunship }
	ai_tag_weight = 3
	resources = {
		category = ship_components
		cost = {
			alloys = 750
			exotic_gases = 7.92
		}		
		upkeep = {
			energy = 6.84
			alloys = 1.368
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = exotic_gases }
		}
		modifier = {
			factor = @cosmic_storm_gravity_ai_weight_factor
			has_country_flag = affected_by_gravity_storm
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}

	power = -234
	damage = { min = 275 max = 735 }
	hull_damage = 1.5
	shield_damage = 0.25
	shield_penetration = 0
	armor_damage = 2
	armor_penetration = 0
	
	windup = { min = 8 max = 30 }
	total_fire_time = 45
	range = 80
	accuracy = 0.8
	tracking = 0.05

	military_power_multiplier = 1
	min_range = 45
}

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

	icon = "GFX_avw_ship_part_disruptor_4"
	icon_frame = 1	

	prerequisites = { "tech_avw_disruptors_4" }
	component_set = "AVW_DISRUPTOR_4"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_4_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	upgrades_to = "AVW_SMALL_DISRUPTOR_5"
	resources = {
		category = ship_components
		cost = {
			alloys = 53
			rare_crystals = 0.563
		}		
		upkeep = {
			energy = 0.76
			alloys = 0.152
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_4
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 4
		}
	}
	
	power = -22
	damage = { min = 1 max = 24 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.80
	armor_damage = 1.00
	armor_penetration = 0.80
	
	windup = { min = 3 max = 11 }
	total_fire_time = 16
	range = 30
	accuracy = 1
	tracking = 0.6

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_disruptor_4"
	icon_frame = 1

	prerequisites = { "tech_avw_disruptors_4" }
	component_set = "AVW_DISRUPTOR_4"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_4_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	upgrades_to = "AVW_MEDIUM_DISRUPTOR_5"
	resources = {
		category = ship_components
		cost = {
			alloys = 133
			rare_crystals = 1.408
		}		
		upkeep = {
			energy = 1.52
			alloys = 0.304
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_4
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 4
		}
	}
	
	power = -51
	damage = { min = 1 max = 62 }
	hull_damage = 1.00
	shield_damage = 1.25
	shield_penetration = 0.80
	armor_damage = 1.00
	armor_penetration = 0.80
	
	windup = { min = 4 max = 16 }
	total_fire_time = 24
	range = 40
	accuracy = 1
	tracking = 0.35

	military_power_multiplier = 1
}

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

	icon = "GFX_avw_ship_part_disruptor_5"
	icon_frame = 1

	prerequisites = { "tech_avw_disruptors_5" }
	component_set = "AVW_DISRUPTOR_5"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_5_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	upgrades_to = "AVW_SMALL_DISRUPTOR_6"
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			rare_crystals = 0.845
		}		
		upkeep = {
			energy = 1.14
			alloys = 0.228
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_5
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 5
		}
	}
	
	power = -28
	damage = { min = 1 max = 31 }
	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
}

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

	icon = "GFX_avw_ship_part_disruptor_5"
	icon_frame = 1

	prerequisites = { "tech_avw_disruptors_5" }
	component_set = "AVW_DISRUPTOR_5"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_5_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	upgrades_to = "AVW_MEDIUM_DISRUPTOR_6"
	resources = {
		category = ship_components
		cost = {
			alloys = 200
			rare_crystals = 2.112
		}		
		upkeep = {
			energy = 2.28
			alloys = 0.456
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_5
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 5
		}
	}
	
	power = -66
	damage = { min = 1 max = 80 }
	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
}

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

	icon = "GFX_avw_ship_part_disruptor_6"
	icon_frame = 1

	prerequisites = { "tech_avw_disruptors_6" }
	component_set = "AVW_DISRUPTOR_6"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_6_s"
	tags = { weapon_type_energy s_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	resources = {
		category = ship_components
		cost = {
			alloys = 120
			rare_crystals = 1.268
		}		
		upkeep = {
			energy = 1.71
			alloys = 0.342
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_6
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 6
		}
	}
	
	power = -37
	damage = { min = 1 max = 41 }
	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
}

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

	icon = "GFX_avw_ship_part_disruptor_6"
	icon_frame = 1

	prerequisites = { "tech_avw_disruptors_6" }
	component_set = "AVW_DISRUPTOR_6"
	
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		is_arkship_ship = no
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	
	projectile_gfx = "avw_disruptor_6_m"
	tags = { weapon_type_energy m_slot }
	ai_tags = { weapon_role_anti_hull brawler brawler_stealth }
	ai_tag_weight = 5
	resources = {
		category = ship_components
		cost = {
			alloys = 300
			rare_crystals = 3.168
		}		
		upkeep = {
			energy = 3.42
			alloys = 0.684
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
		modifier = {
			factor = 0.0
			avw_fallen_empire_check = true
		}
	}
	
	target_type = target_enemies
	injected_modifier = {
		modifier = {
			modifier = disruptor_regen_debuff_6
			days = 10
		}
		stack_info = {
			id = disruptor_regen
			priority = 6
		}
	}
	
	power = -85
	damage = { min = 1 max = 104 }
	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
}
