
weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P2_S"
	size = small
	entity = "small_kinetic_gun_entity"
	damage = { min = 40.0 max = 60.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 45
	range = 60
	accuracy = 1.0
	tracking = 1.0
	armor_penetration = 0.1
	shield_penetration = 0.5
	shield_damage = 1.5
	icon = "GFX_ship_part_autocannon_3"
	icon_frame = 1
	power = -50
	cost = 50
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P2"
	projectile_gfx = "stormfire_auto_cannons_s"
	tags = { weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P2_M"
	size = medium
	entity = "medium_kinetic_gun_entity"
	damage = { min = 80.0 max = 120.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 45
	range = 90
	accuracy = 1.0
	tracking = 0.7
	armor_penetration = 0.3
	shield_penetration = 0.5
	shield_damage = 1.5
	icon = "GFX_ship_part_autocannon_3"
	icon_frame = 1
	power = -100
	cost = 100
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P2"
	projectile_gfx = "stormfire_auto_cannons_m"
	tags = { weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P2_L"
	size = large
	entity = "large_kinetic_gun_entity"
	damage = { min = 160.0 max = 240.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 45
	range = 120
	accuracy = 1.0
	tracking = 0.4
	armor_penetration = 0.5
	shield_penetration = 0.5
	shield_damage = 1.5
	icon = "GFX_ship_part_autocannon_3"
	icon_frame = 1
	power = -200
	cost = 200
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P2"
	projectile_gfx = "stormfire_auto_cannons_l"
	tags = { weapon_type_kinetic }
}


weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P_S"
	size = small
	entity = "small_kinetic_gun_entity"
	damage = { min = 75.0 max = 125.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 95
	range = 60
	accuracy = 1.0
	tracking = 1.0
	armor_penetration = 0.25
	shield_penetration = 0
	shield_damage = 2.0
	icon = "GFX_ship_part_kinetic_artillery_2"
	icon_frame = 1
	power = -50
	cost = 50
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P_M"
	size = medium
	entity = "medium_kinetic_gun_entity"
	damage = { min = 150.0 max = 250.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 95
	range = 90
	accuracy = 1.0
	tracking = 0.7
	armor_penetration = 0.5
	shield_penetration = 0
	shield_damage = 2.0
	icon = "GFX_ship_part_kinetic_artillery_2"
	icon_frame = 1
	power = -100
	cost = 100
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P_L"
	size = large
	entity = "large_kinetic_gun_entity"
	damage = { min = 300.0 max = 500.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 95
	range = 120
	accuracy = 1.0
	tracking = 0.4
	armor_penetration = 0.75
	shield_penetration = 0
	shield_damage = 2.0
	icon = "GFX_ship_part_kinetic_artillery_2"
	icon_frame = 1
	power = -200
	cost = 200
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_P"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = instant
	key = "DJ_P_XL"
	size = extra_large
	entity = "invisible_turret_entity"
	damage = { min = 1600.0 max = 2400.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 195
	range = 140
	accuracy = 1.0
	tracking = 0.1
	armor_penetration = 0.85
	shield_penetration = 0.4
	shield_damage = 3.0
	icon = "GFX_ship_part_mass_accelerator_2"
	icon_frame = 1
	power = -400
	cost = 400
	firing_arc = 90.0
	min_range = 10.0
	static_rotation = yes
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_PXL"
	projectile_gfx = "adv_kinetic_artillery"
	tags = { weapon_type_kinetic }
}


weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = point_defence
	key = "DJ_PD_1"
	size = small
	entity = "small_kinetic_gun_entity"
	damage = { min = 40.0 max = 80.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 15
	range = 40
	accuracy = 0.5
	tracking = 2.0
	armor_penetration = 0.5
	shield_penetration = 1.0
	shield_damage = 0
	power = -50
	cost = 50
	icon = "GFX_ship_part_flak_batteries_2"
	icon_frame = 1
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_PD"
	projectile_gfx = "mass_driver_m"
	tags = { weapon_type_point_defense weapon_type_kinetic }
}

weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_HS_Battleship DJ_battleship DJ_Carrier }
	type = point_defence
	key = "DJ_PD_2"
	size = medium
	entity = "medium_kinetic_gun_entity"
	damage = { min = 40.0 max = 80.0 }
	windup = { min = 2.0 max = 4.0 }
	total_fire_time = 7
	range = 40
	accuracy = 0.5
	tracking = 2.0
	armor_penetration = 0.5
	shield_penetration = 1.0
	shield_damage = 0
	power = -100
	cost = 100
	icon = "GFX_ship_part_flak_batteries_2"
	icon_frame = 1
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_PD"
	projectile_gfx = "mass_driver_m"
	tags = { weapon_type_point_defense weapon_type_kinetic }
}


weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser }
	type = missile
	key = "DJ_T_T"
	size = small
	entity = "turret_missile_small_entity"
	damage = { min = 200.0 max = 400.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 145
	range = 60.0
	accuracy = 1.0
	tracking = 0.2
	armor_penetration = 1.0
	shield_penetration =  0
	shield_damage = 2.0
	icon = "GFX_ship_part_torpedo_3"
	icon_frame = 1
	power = -50
	cost = 50
	missile_speed = 30
	missile_evasion = 1.0
	missile_retarget_range = 30.0
	missile_health = 10
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_T1"
	projectile_gfx = "large_torpedo_02"
	tags = { weapon_type_explosive }
}
weapon_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Heavy_Cruiser }
	type = missile
	key = "DJ_T_T_T"
	size = small
	entity = "turret_missile_small_entity"
	damage = { min = 400.0 max = 800.0 }
	windup = { min = 2.0 max = 8.0 }
	total_fire_time = 195
	range = 60.0
	accuracy = 1.0
	tracking = 0.2
	armor_penetration = 1.0
	shield_penetration =  0
	shield_damage = 2.0
	icon = "GFX_ship_part_torpedo_3"
	icon_frame = 1
	power = -100
	cost = 100
	missile_speed = 30
	missile_evasion = 1.0
	missile_retarget_range = 30.0
	missile_health = 10
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_T2"
	projectile_gfx = "large_torpedo_03"
	tags = { weapon_type_explosive }
}


strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Cruiser DJ_Light_Carrier DJ_Carrier }
	key = "DJ_F_6"
	size = LARGE
	entity = "fighter_entity"
	weapon_type = point_defence
	projectile_gfx = "gauss_cannon_s"
	power = -60
	cost = 60
	count = 6
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 10 max = 15 }
	cooldown = 2
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 100
	armor = 35
	shield = 0
	speed = 10.0
	rotation_speed = 0.3
	acceleration = 1.0
	shield_damage = 2.0
	shield_penetration = 0.5
	armor_penetration = 0
	ship_behavior = "DJ_fighters_behavior"
	icon = "GFX_ship_part_strike_craft_fighter_3"
	icon_frame = 1
	component_set = "DJ_F1"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier DJ_Carrier }
	key = "DJ_F_8"
	size = LARGE
	entity = "fighter_entity"
	weapon_type = point_defence
	projectile_gfx = "gauss_cannon_s"
	power = -80
	cost = 80
	count = 8
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 10 max = 15 }
	cooldown = 2
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 120
	armor = 35
	shield = 0
	speed = 10.0
	rotation_speed = 0.3
	acceleration = 1.0
	shield_damage = 2.0
	shield_penetration = 0.5
	armor_penetration = 0
	ship_behavior = "DJ_fighters_behavior"
	icon = "GFX_ship_part_strike_craft_fighter_3"
	icon_frame = 1
	component_set = "DJ_F2"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier DJ_Carrier }
	key = "DJ_F_10"
	size = LARGE
	entity = "fighter_entity"
	weapon_type = point_defence
	projectile_gfx = "gauss_cannon_s"
	power = -100
	cost = 100
	count = 10
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 10 max = 15 }
	cooldown = 2
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 140
	armor = 35
	shield = 0
	speed = 10.0
	rotation_speed = 0.3
	acceleration = 1.0
	shield_damage = 2.0
	shield_penetration = 0.5
	armor_penetration = 0
	ship_behavior = "DJ_fighters_behavior"
	icon = "GFX_ship_part_strike_craft_fighter_3"
	icon_frame = 1
	component_set = "DJ_F3"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Carrier }
	key = "DJ_F_12"
	size = LARGE
	entity = "fighter_entity"
	weapon_type = point_defence
	projectile_gfx = "gauss_cannon_s"
	power = -120
	cost = 120
	count = 12
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 10 max = 15 }
	cooldown = 2
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 160
	armor = 35
	shield = 0
	speed = 10.0
	rotation_speed = 0.3
	acceleration = 1.0
	shield_damage = 2.0
	shield_penetration = 0.5
	armor_penetration = 0
	ship_behavior = "DJ_fighters_behavior"
	icon = "GFX_ship_part_strike_craft_fighter_3"
	icon_frame = 1
	component_set = "DJ_F4"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}


strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Cruiser DJ_Light_Carrier DJ_Carrier }
	key = "DJ_B_7"
	size = LARGE
	entity = "bomber_entity"
	power = -70
	cost = 70
	count = 7
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 20 max = 40 }
	cooldown = 6
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 160
	armor = 35
	shield = 0
	speed = 7.5
	rotation_speed = 0.25
	acceleration = 0.75
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_penetration = 1.0
	ship_behavior = "DJ_bombers_behavior"
	weapon_type = instant
	projectile_gfx = "scout_laser_1"
	icon = "GFX_ship_part_strike_craft_bomber_3"
	icon_frame = 1
	component_set = "DJ_B1"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier DJ_Carrier }
	key = "DJ_B_10"
	size = LARGE
	entity = "bomber_entity"
	power = -100
	cost = 100
	count = 10
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 20 max = 40 }
	cooldown = 6
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 180
	armor = 35
	shield = 0
	speed = 7.5
	rotation_speed = 0.25
	acceleration = 0.75
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_penetration = 1.0
	ship_behavior = "DJ_bombers_behavior"
	weapon_type = instant
	projectile_gfx = "scout_laser_1"
	icon = "GFX_ship_part_strike_craft_bomber_3"
	icon_frame = 1
	component_set = "DJ_B2"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier DJ_Carrier }
	key = "DJ_B_13"
	size = LARGE
	entity = "bomber_entity"
	power = -130
	cost = 130
	count = 13
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 20 max = 40 }
	cooldown = 6
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 200
	armor = 35
	shield = 0
	speed = 7.5
	rotation_speed = 0.25
	acceleration = 0.75
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_penetration = 1.0
	ship_behavior = "DJ_bombers_behavior"
	weapon_type = instant
	projectile_gfx = "scout_laser_1"
	icon = "GFX_ship_part_strike_craft_bomber_3"
	icon_frame = 1
	component_set = "DJ_B3"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}
strike_craft_component_template = {
	should_ai_use = no
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Carrier }
	key = "DJ_B_16"
	size = LARGE
	entity = "bomber_entity"
	power = -160
	cost = 160
	count = 16
	regeneration_per_day = 0.2
	launch_time = 1.0
	damage = { min = 20 max = 40 }
	cooldown = 6
	range = 20
	accuracy = 1.0
	tracking = 1.0
	evasion = 1.0
	health = 240
	armor = 35
	shield = 0
	speed = 7.5
	rotation_speed = 0.25
	acceleration = 0.75
	shield_damage = 1.0
	shield_penetration = 1.0
	armor_penetration = 1.0
	ship_behavior = "DJ_bombers_behavior"
	weapon_type = instant
	projectile_gfx = "scout_laser_1"
	icon = "GFX_ship_part_strike_craft_bomber_3"
	icon_frame = 1
	component_set = "DJ_B4"
	prerequisites = { "tech_dajian_wepaon" }
	tags = { weapon_type_strike_craft }
}



utility_component_template = {
	should_ai_use = no
	key = "DJ_H_1"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 90
	cost = 400
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer }
	component_set = "DJ_H1"
	ship_modifier = {
		ship_armor_add = 15
		ship_fire_rate_mult = 0.25
	}
	modifier = {
		ship_hitpoints_add = 600
		ship_shield_hp_add = 1000
		ship_shield_regen_add = 2.5
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_2"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 200
	cost = 1200
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Cruiser }
	component_set = "DJ_H2"
	ship_modifier = {
		ship_armor_add = 20
		ship_fire_rate_mult = 1.0
	}
	modifier = {
		ship_hitpoints_add = 2000
		ship_shield_hp_add = 3000
		ship_shield_regen_add = 7.5
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_3"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 330
	cost = 2850
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Heavy_Cruiser }
	component_set = "DJ_H3"
	ship_modifier = {
		ship_armor_add = 30
		ship_fire_rate_mult = 1.5
	}
	modifier = {
		ship_hitpoints_add = 6400
		ship_shield_hp_add = 4000
		ship_shield_regen_add = 10
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_4"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 480
	cost = 5400
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier }
	component_set = "DJ_H4"
	ship_modifier = {
		ship_armor_add = 35
		ship_fire_rate_mult = 2.0
		weapon_type_strike_craft_weapon_damage_mult = 2.0
		weapon_type_strike_craft_weapon_fire_rate_mult = 1.0
	}
	modifier = {
		ship_hitpoints_add = 2800
		ship_shield_hp_add = 2000
		ship_shield_regen_add = 10
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_5"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 650
	cost = 11700
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_HS_Battleship }
	component_set = "DJ_H5"
	ship_modifier = {
		ship_armor_add = 50
		ship_fire_rate_mult = 2.5
	}
	modifier = {
		ship_hitpoints_add = 10500
		ship_shield_hp_add = 8000
		ship_shield_regen_add = 12.5
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_6"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 840
	cost = 19125
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_battleship }
	component_set = "DJ_H6"
	ship_modifier = {
		ship_armor_add = 100
		ship_fire_rate_mult = 1.5
	}
	modifier = {
		ship_hitpoints_add = 15000
		ship_shield_hp_add = 7000
		ship_shield_regen_add = 17.5
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_H_7"
	size = aux
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 1050
	cost = 24975
	prerequisites = { "tech_dajian_wepaon" }
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Carrier }
	component_set = "DJ_H7"
	ship_modifier = {
		ship_armor_add = 100
		ship_fire_rate_mult = 1.5
		weapon_type_strike_craft_weapon_damage_mult = 3.0
		weapon_type_strike_craft_weapon_fire_rate_mult = 1.5
	}
	modifier = {
		ship_hitpoints_add = 7000
		ship_shield_hp_add = 4000
		ship_shield_regen_add = 10
	}
}


utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_H_a"
	size = small
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_H"
	ship_modifier = {
		ship_weapon_damage = 0.25
	}
	modifier = {
		ship_hitpoints_mult = 0.25
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_H_b"
	size = small
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_H"
	ship_modifier = {
		ship_weapon_damage = 0.5
	}
	modifier = {
		ship_hitpoints_mult = 0.5
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_H_c"
	size = small
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_H"
	ship_modifier = {
		ship_weapon_damage = 0.75
	}
	modifier = {
		ship_hitpoints_mult = 0.75
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_H_d"
	size = small
	icon = "GFX_ship_part_crystal_armor_2"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_H"
	ship_modifier = {
		ship_weapon_damage = 1.0
	}
	modifier = {
		ship_hitpoints_mult = 1.0
	}
}



utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_W_a"
	size = small
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_W"
	ship_modifier = {
		ship_fire_rate_mult = 0.25
	}
	modifier = {
		ship_shield_hp_mult = 0.25
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_W_b"
	size = small
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_W"
	ship_modifier = {
		ship_fire_rate_mult = 0.5
	}
	modifier = {
		ship_shield_hp_mult = 0.5
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_W_c"
	size = small
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_W"
	ship_modifier = {
		ship_fire_rate_mult = 0.75
	}
	modifier = {
		ship_shield_hp_mult = 0.75
	}
}
utility_component_template = {
	should_ai_use = no
	should_ai_use = no
	hidden = yes
	key = "DJ_W_d"
	size = small
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = 0
	cost = 0
	prerequisites = { "tech_dajian_wepaon" }
	component_set = "DJ_W"
	ship_modifier = {
		ship_fire_rate_mult = 1.0
	}
	modifier = {
		ship_shield_hp_mult = 1.0
	}
}

utility_component_template = {
	should_ai_use = no
	key = "DJ_J_1"
	size = small
	icon = "GFX_ship_part_jump_drive_1"
	icon_frame = 1
	power = -50
	cost = 50
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	ftl = warp
	ship_modifier = {
		ship_ftl_warp_range_mult = 2.0
		ship_interstellar_speed_mult = 5.0
		ship_winddown_mult = -0.90
	}
	component_set = "ftl_components"
	prerequisites = { "tech_dajian_wepaon" }
	ai_weight = {
		weight = 1000
		modifier = {
			factor = 1000
		}
	}
}

utility_component_template = {
	should_ai_use = no
	key = "DJ_ST_1"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	power = -50
	cost = 50
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	modifier = {
		ship_speed_mult = 1.0
		ship_combat_speed_mult = 1.0
		ship_evasion_add = 30
	}
	component_set = "thruster_components"
	prerequisites = { "tech_dajian_wepaon" }
	ai_weight = {
		weight = 1000
		modifier = {
			factor = 1000
		}
	}
}

utility_component_template = {
	should_ai_use = no
	key = "DJ_SS_1"
	size = medium
	icon = "GFX_ship_part_sensor_4"
	icon_frame = 1
	power = -50
	cost = 50
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer DJ_Light_Cruiser DJ_Heavy_Cruiser DJ_Light_Carrier DJ_HS_Battleship DJ_battleship DJ_Carrier }
	sensor_range = 120
	prerequisites = { "tech_dajian_wepaon" }
	ai_weight = {
		weight = 1000
		modifier = {
			factor = 1000
		}
	}
	component_set = "ship_sensor_components"
	ship_modifier = {
		ship_tracking_add = 20
	}
}


utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_1"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 45
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Destroyer }
	component_set = "combat_computers"
	ship_behavior = "corvette_default"
	prerequisites = { "tech_dajian_ship_1" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 30
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_2"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 180
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Cruiser }
	component_set = "combat_computers"
	ship_behavior = "cruiser_default"
	prerequisites = { "tech_dajian_ship_2" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 25
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_3"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 260
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Heavy_Cruiser }
	component_set = "combat_computers"
	ship_behavior = "cruiser_default"
	prerequisites = { "tech_dajian_ship_3" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 20
		ship_weapon_range_mult = 0.1
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_4"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 560
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Light_Carrier }
	component_set = "combat_computers"
	ship_behavior = "battleship_sniper"
	prerequisites = { "tech_dajian_ship_4" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 20
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_5"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 860
	class_restriction = { shipclass_military }
	size_restriction = { DJ_HS_Battleship }
	component_set = "combat_computers"
	ship_behavior = "cruiser_default"
	prerequisites = { "tech_dajian_ship_5" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 15
		ship_speed_mult = 1.0
		ship_weapon_range_mult = 0.4
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_6"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 1280
	class_restriction = { shipclass_military }
	size_restriction = { DJ_battleship }
	component_set = "combat_computers"
	ship_behavior = "battleship_sniper"
	prerequisites = { "tech_dajian_ship_6" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 10
		ship_weapon_range_mult = 0.2
	}
}
utility_component_template = {
	should_ai_use = no
	key = "DJ_CC_7"
	size = small
	icon = "GFX_ship_part_computer_sentient"
	icon_frame = 1
	power = 0
	cost = 1680
	class_restriction = { shipclass_military }
	size_restriction = { DJ_Carrier }
	component_set = "combat_computers"
	ship_behavior = "battleship_sniper"
	prerequisites = { "tech_dajian_ship_7" }
	modifier = {
	}
	ship_modifier = {
		ship_tracking_add = 30
	}
}