weapon_component_template = {
	key = "MEDIUM_PD_AEGIS_1"
	size = point_defence
	
	icon = "GFX_ship_part_PD_AEGIS_1"
	icon_frame = 1
	
	prerequisites = { "EW_tech_pd_aegis_1" }
	component_set = "PD_AEGIS_1"
	type = point_defence
	projectile_gfx = "red_laser_pd"
	tags = { weapon_type_point_defense weapon_type_kinetic }
	ai_tags = { weapon_role_point_defense }

	damage = { min = 3 max = 3 }
	windup = { min = 1 max = 1 }
	total_fire_time = 1
	range = 50
	accuracy = 0.8
	tracking = 0.4
	power = -15

	upgrades_to = "MEDIUM_PD_AEGIS_2"

	resources = {
		category = ship_components
		cost = {
			alloys = 15
		}
		upkeep = {
			energy = 0.15
			alloys = 0.015
		}
	}
  ai_weight = {
    weight = 5
  }

	target_weights = {
    corvette = 2
    frigate = 2
	}
  
  shield_penetration = 0.5
  shield_damage = 2.0
  armor_damage = 0.5
  
	point_defence_targets = { "missile" "strike_craft" }
}

weapon_component_template = {
	key = "MEDIUM_PD_AEGIS_2"
	size = point_defence
	
	icon = "GFX_ship_part_PD_AEGIS_2"
	icon_frame = 1
	
	prerequisites = { "EW_tech_pd_aegis_2" }
	component_set = "PD_AEGIS_2"
	type = point_defence
	projectile_gfx = "blue_laser_pd"
	tags = { weapon_type_point_defense weapon_type_kinetic }
	ai_tags = { weapon_role_point_defense }

	damage = { min = 3 max = 4 }
	windup = { min = 1 max = 1 }
	total_fire_time = 1
	range = 60
	accuracy = 0.9
	tracking = 0.6
	power = -18

	upgrades_to = "MEDIUM_PD_AEGIS_3"

	resources = {
		category = ship_components
		cost = {
			alloys = 20
		}
		upkeep = {
			energy = 0.2
			alloys = 0.02
		}
	}
  ai_weight = {
    weight = 5
  }

	target_weights = {
    corvette = 2
    frigate = 2
	}
  
  shield_penetration = 0.5
  shield_damage = 2.0
  armor_damage = 0.5
  
	point_defence_targets = { "missile" "strike_craft" }
}

weapon_component_template = {
	key = "MEDIUM_PD_AEGIS_3"
	size = point_defence
	
	icon = "GFX_ship_part_PD_AEGIS_3"
	icon_frame = 1
	
	prerequisites = { "EW_tech_pd_aegis_3" }
	component_set = "PD_AEGIS_3"
	type = point_defence
	projectile_gfx = "white_laser_pd"
	tags = { weapon_type_point_defense weapon_type_kinetic }
	ai_tags = { weapon_role_point_defense }

	damage = { min = 4 max = 4 }
	windup = { min = 1 max = 1 }
	total_fire_time = 1
	range = 80
	accuracy = 1.0
	tracking = 0.8
	power = -21

	resources = {
		category = ship_components
		cost = {
			alloys = 30
		}
		upkeep = {
			energy = 0.25
			alloys = 0.025
		}
	}
  
  ai_weight = {
    weight = 5
  }

	target_weights = {
    corvette = 2
    frigate = 2
	}
  
  shield_penetration = 0.5
  shield_damage = 2.0
  armor_damage = 0.5
  
	point_defence_targets = { "missile" "strike_craft" }
}