create_the_correct_improved_airframe = {
	hidden_effect = {
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				NOT = { has_tech = engines_3 }
				NOT = { has_tech = range_improvements }
			}
			set_country_flag = created_new_design
			air_experience = -1
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = empty
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_1_1x
					special_type_slot_1 = empty	
					special_type_slot_2 = empty 
					special_type_slot_3 = empty
				}
			}
		}
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				has_tech = engines_3
				NOT = { has_tech = range_improvements }
			}
			set_country_flag = created_new_design
			air_experience = -2
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = empty
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_3_1x
					special_type_slot_1 = fuel_tanks_small	
					special_type_slot_2 = empty 
					special_type_slot_3 = empty
				}
			}
		}
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				NOT = { has_tech = engines_3 }
				has_tech = range_improvements
			}
			set_country_flag = created_new_design
			air_experience = -1
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = empty
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_1_1x
					special_type_slot_1 = empty	
					special_type_slot_2 = empty 
					special_type_slot_3 = empty
				}
			}
		}
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				has_tech = engines_3
				has_tech = range_improvements
			}
			set_country_flag = created_new_design
			air_experience = -2
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = empty
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_3_1x
					special_type_slot_1 = fuel_tanks_small	
					special_type_slot_2 = empty 
					special_type_slot_3 = empty
				}
			}
		}
	}
}
create_the_correct_equipped_improved_airframe = {
	hidden_effect = {
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				NOT = { has_tech = range_improvements }
			}
			set_country_flag = created_new_design
			air_experience = -1
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_3_1x
					special_type_slot_1 = empty
					special_type_slot_2 = armor_plate_small  
					special_type_slot_3 = self_sealing_fuel_tanks_small
				}
			}
		}
		if = {
			limit = {
				NOT = { has_country_flag = created_new_design }
				has_tech = range_improvements
			}
			set_country_flag = created_new_design
			air_experience = -2
			create_equipment_variant = { 
				name = "Naval Bomber II"
				type = small_plane_naval_bomber_airframe_2
				parent_version = 0
				allow_without_tech = yes # Tooltip purposes, tech is required anyways
				modules = {
					fixed_main_weapon_slot = torpedo_mounting
					fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
					fixed_auxiliary_weapon_slot_2 = empty
					engine_type_slot = engine_3_1x
					special_type_slot_1 = fuel_tanks_small	
					special_type_slot_2 = armor_plate_small  
					special_type_slot_3 = self_sealing_fuel_tanks_small
				}
			}
		}
	}
}
create_the_correct_equipped_improved_airframe_full = {
	hidden_effect = {
		air_experience = -5
		create_equipment_variant = { 
			name = "License Naval Bomber II"
			type = small_plane_naval_bomber_airframe_2
			parent_version = 0
			allow_without_tech = yes # Tooltip purposes, tech is required anyways
			modules = {
				fixed_main_weapon_slot = torpedo_mounting
				fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_3_1x
				special_type_slot_1 = fuel_tanks_small
				special_type_slot_2 = armor_plate_small  
				special_type_slot_3 = self_sealing_fuel_tanks_small
			}
		}
	}
}