
SOV_strategic_bomber = {
	category = air

	available_for = {SOV}

	roles = {
		air_strategic_bomber
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 50
			factor = 0
		}
	}

	strat_bomber_0_default = {
		priority = {
			factor = 5
			modifier = { 
				has_tech = basic_large_airframe
				factor = 0 #let's not waste XP here
			}
		}

		history = yes
		target_variant = {
			match_value = 500
			type = large_plane_airframe_0
			modules = {
				fixed_main_weapon_slot = large_bomb_bay
				engine_type_slot = engine_1_4x
				special_type_slot_1 = lmg_defense_turret_2x
			}
			upgrades = {
				plane_AT_reliability_upgrade = 100
			}
		}

		allowed_modules = {
			large_bomb_bay
			engine_1_4x
			lmg_defense_turret_2x
			lmg_defense_turret
		}
	}

	strat_bomber_1_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = improved_large_airframe
				factor = 0 #let's not waste XP here
			}
		}

		history = yes
		target_variant = {
			match_value = 1000
			type = large_plane_airframe_1
			modules = {
				fixed_main_weapon_slot = large_bomb_bay
				fixed_auxiliary_weapon_slot_1 = empty
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_2_4x
				special_type_slot_1 = lmg_defense_turret_2x
				special_type_slot_2 = lmg_defense_turret
			}
			upgrades = {
				plane_AT_reliability_upgrade = 100
			}
		}

		allowed_modules = {
			large_bomb_bay
			engine_2_4x
			lmg_defense_turret_2x
			lmg_defense_turret
		}
	}

	strat_bomber_2_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = advanced_large_airframe
				factor = 0 #let's not waste XP here
			}
		}

		history = yes
		target_variant = {
			match_value = 2000
			type = large_plane_airframe_2
			modules = {
				fixed_main_weapon_slot = large_bomb_bay
				fixed_auxiliary_weapon_slot_1 = large_bomb_bay
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_3_4x
				special_type_slot_1 = {
					any_of = {
						hmg_defense_turret_2x
						lmg_defense_turret_2x
					}
				}
				special_type_slot_2 = lmg_defense_turret_2x
			}
			upgrades = {
				plane_AT_reliability_upgrade = 100
			}
		}

		allowed_modules = {
			large_bomb_bay
			engine_3_4x
			hmg_defense_turret_2x
			lmg_defense_turret_2x
		}
	}

	strat_bomber_3_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = modern_large_airframe
				factor = 0 #let's not waste XP here
			}
		}

		history = yes
		target_variant = {
			match_value = 4000
			type = large_plane_airframe_3
			modules = {
				fixed_main_weapon_slot = large_bomb_bay
				fixed_auxiliary_weapon_slot_1 = large_bomb_bay
				fixed_auxiliary_weapon_slot_2 = large_bomb_bay
				engine_type_slot = engine_4_4x
				special_type_slot_1 = {
					any_of = {
						cannon_defense_turret_2x
						hmg_defense_turret_2x
						lmg_defense_turret_2x
					}
				}
				special_type_slot_2 = {
					any_of = {
						hmg_defense_turret_2x
						lmg_defense_turret_2x
					}
				}
				special_type_slot_3 = {
					any_of = {
						bomb_sights_4
						bomb_sights_3
						bomb_sights_2
						bomb_sights_1
					}
				}
			}
			upgrades = {
				plane_AT_reliability_upgrade = 100
			}
		}

		allowed_modules = {
			large_bomb_bay
			engine_4_4x
			cannon_defense_turret_2x
			hmg_defense_turret_2x
		}
	}
	strat_bomber_4_default = {
		priority = {
			factor = 10
			modifier = { 
				not = { has_tech = modern_large_airframe }
				factor = 0 #let's not waste XP here
			}
		}

		history = yes
		target_variant = {
			match_value = 4000
			type = large_plane_airframe
			modules = {
				fixed_main_weapon_slot = large_bomb_bay
				fixed_auxiliary_weapon_slot_1 = large_bomb_bay
				fixed_auxiliary_weapon_slot_2 = large_bomb_bay
				engine_type_slot = {
					any_of = { 
						jet_engine_improved_centrifugal_4x
						jet_engine_centrifugal_4x
						jet_engine_axial_4x
						jet_engine_6x
					}
				}
				special_type_slot_1 = {
					any_of = {
						cannon_defense_turret_2x
						hmg_defense_turret_2x
						lmg_defense_turret_2x
					}
				}
				special_type_slot_2 = {
					any_of = {
						cannon_defense_turret_2x
						hmg_defense_turret_2x
						lmg_defense_turret_2x
					}
				}
				special_type_slot_3 = {
					any_of = {
						bomb_sights_4
						bomb_sights_3
						bomb_sights_2
						bomb_sights_1
					}
				}
				special_type_slot_4 = {
					any_of = {
						air_ground_radar_4
						air_ground_radar_3
						air_ground_radar_2
						air_ground_radar_1
					}
				}
				special_type_slot_5 = {
					any_of = {
						radio_navigation_4
						radio_navigation_3
						radio_navigation_2
						radio_navigation_1
					}
				}
				special_type_slot_6 = {
					any_of = {
						fuel_tanks_large
					}
				}
			}
			upgrades = {
				plane_AT_reliability_upgrade = 100
			}
		}

		allowed_modules = {
			large_bomb_bay
			engine_4_4x
			cannon_defense_turret_2x
			hmg_defense_turret_2x
		}
	}
}
