technologies = {
	#y axis
	@1945 = -4
	@1965 = 0
	@1985 = 4
	@1995 = 8
	@2005 = 12
	@2015 = 16
	@2025 = 20
	@2035 = 24
	#@1944 = 16
	#@1945 = 18
	#@1946 = 20

	#Y Axis
	@row1 = -2
	@row2 = 0
	@row3 = 2
	@row4 = 4
	@row5 = 6
	@row6 = 8
	@row7 = 10
	@row8 = 12
	@row9 = 14
	
	early_fighter = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech early_fighter" }
		##Some kind of buff. add an early fighter varient?

		path = {
			leads_to_tech = small_plane_1
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = medium_plane_1
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = large_plane_1
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1945 #needs to be synched maybee with other starting techs
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row3 y = @1945 }
		}

		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
		}

		ai_will_do = {
			factor = 10 # We want to be able to at least buy planes.
			modifier = {
				factor = 0.10
				check_variable = { gdp_per_capita < 7.000 }
			}
		}
	}
	small_plane_1 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech small_plane_1" }
		
		enable_equipments = {
			small_plane_airframe_1
			cv_small_plane_airframe_1
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_L_Fighter
			Cat_CAS
			Cat_NAVAL_AIR
			Cat_NAVAL_PLANE
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = small_plane_2
			research_cost_coeff = 1
		}
	
		research_cost = 2.3
		start_year = 1965
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row2 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	small_plane_2 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech small_plane_2" }
		
		enable_equipments = {
			small_plane_airframe_2
			
			cv_small_plane_airframe_2
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_L_Fighter
			Cat_CAS
			Cat_NAVAL_AIR
			Cat_NAVAL_PLANE
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = small_plane_3
			research_cost_coeff = 1
		}
	
		research_cost = 2.4
		start_year = 1985
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row2 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	small_plane_3 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech small_plane_3" }
		
		enable_equipments = {
			small_plane_airframe_3	
			cv_small_plane_airframe_3
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_L_Fighter
			Cat_CAS
			Cat_NAVAL_AIR
			Cat_NAVAL_PLANE
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = small_plane_4
			research_cost_coeff = 1
		}
	
		research_cost = 2.5
		start_year = 2015
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row2 y = @2005 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	small_plane_4 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech small_plane_4" }
		
		enable_equipments = {
			small_plane_airframe_4
			
			cv_small_plane_airframe_4
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_L_Fighter
			Cat_CAS
			Cat_NAVAL_AIR
			Cat_NAVAL_PLANE
			Cat_AIR_EQP
		}
	
		research_cost = 2.7
		start_year = 2035
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row2 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	medium_plane_1 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech medium_plane_1" }
		
		enable_equipments = {
			medium_plane_airframe_1
			
			cv_medium_plane_airframe_1
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_S_FIGHTER
			Cat_AS_FIGHTER
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = medium_plane_2
			research_cost_coeff = 1
		}
	
		research_cost = 2.3
		start_year = 1965
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row3 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	medium_plane_2 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech medium_plane_2" }
		
		enable_equipments = {
			medium_plane_airframe_2
			
			cv_medium_plane_airframe_2
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_S_FIGHTER
			Cat_AS_FIGHTER
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = medium_plane_3
			research_cost_coeff = 1
		}
	
		research_cost = 2.4
		start_year = 1985
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row3 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	medium_plane_3 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech medium_plane_3" }
		
		enable_equipments = {
			medium_plane_airframe_3
			
			cv_medium_plane_airframe_3
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_S_FIGHTER
			Cat_AS_FIGHTER
			Cat_AIR_EQP
		}
		
		path = {
			leads_to_tech = medium_plane_4
			research_cost_coeff = 1
		}
	
		research_cost = 2.5
		start_year = 2015
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row3 y = @2005 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	medium_plane_4 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech medium_plane_4" }
		
		enable_equipments = {
			medium_plane_airframe_4
			
			cv_medium_plane_airframe_4
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_S_FIGHTER
			Cat_AS_FIGHTER
			Cat_AIR_EQP
		}
	
		research_cost = 2.7
		start_year = 2035
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row3 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	large_plane_1 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech large_plane_1" }
		
		enable_equipments = {
			large_plane_airframe_1
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_STR_BOMBER
		}
		
		path = {
			leads_to_tech = large_plane_2
			research_cost_coeff = 1
		}
	
		research_cost = 2.3
		start_year = 1965
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row5 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	large_plane_2 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech large_plane_2" }
		
		enable_equipments = {
			large_plane_airframe_2
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_STR_BOMBER
		}
		
		path = {
			leads_to_tech = large_plane_3
			research_cost_coeff = 1
		}
	
		research_cost = 2.4
		start_year = 1985
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row5 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	large_plane_3 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech large_plane_3" }
		
		enable_equipments = {
			large_plane_airframe_3
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_STR_BOMBER
		}
		
		path = {
			leads_to_tech = large_plane_4
			research_cost_coeff = 1
		}
	
		research_cost = 2.5
		start_year = 2015
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row5 y = @2005 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	large_plane_4 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech large_plane_4" }
		
		enable_equipments = {
			large_plane_airframe_4
		}
		
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_STR_BOMBER
		}
	
		research_cost = 2.7
		start_year = 2035
		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row5 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	Air_UAV1 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech Air_UAV1" }

		enable_equipments = {
			Air_UAV1
		}

		path = {
			leads_to_tech = Air_UAV2
			research_cost_coeff = 1
		}


		research_cost = 3.5
		start_year = 1995

		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row8 y = @1995 }
		}
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_A_UAV
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				check_variable = { gdp_per_capita > 19.999 }
			}
			modifier = {
				factor = 0
				AND = {
					NOT = {
						original_tag = CHI
					}
					check_variable = { gdp_per_capita < 7.000 }
				}
			}
		}
	}
	Air_UAV2 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech Air_UAV2" }

		enable_equipments = {
			Air_UAV2
		}

		path = {
			leads_to_tech = Air_UAV3
			research_cost_coeff = 1
		}


		research_cost = 3.2
		start_year = 2015

		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row8 y = @2005 }
		}
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_A_UAV
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				date < 2015.01.01
			}
			modifier = {
				factor = 0.2
				date < 2010.01.01
			}
			modifier = {
				factor = 2
				check_variable = { gdp_per_capita > 19.999 }
			}
			modifier = {
				factor = 0
				AND = {
					NOT = {
						original_tag = CHI
					}
					check_variable = { gdp_per_capita < 7.000 }
				}
			}
		}
	}
	Air_UAV3 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech Air_UAV3" }

		enable_equipments = {
			Air_UAV3
		}

		path = {
			leads_to_tech = Air_UAV4
			research_cost_coeff = 1
		}


		research_cost = 3
		start_year = 2025

		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row8 y = @2015 }
		}
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_A_UAV
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				date < 2025.01.01
			}
			modifier = {
				factor = 0.2
				date < 2020.01.01
			}
			modifier = {
				factor = 2
				check_variable = { gdp_per_capita > 19.999 }
			}
			modifier = {
				factor = 0
				AND = {
					NOT = {
						original_tag = CHI
					}
					check_variable = { gdp_per_capita < 7.000 }
				}
			}
		}
	}
	Air_UAV4 = {
		on_research_complete = { log = "[GetDateText]: [Root.GetName]: add tech Air_UAV4" }

		enable_equipments = {
			Air_UAV4
		}

		# path = {
			# leads_to_tech = Air_UAV4
			# research_cost_coeff = 1
		# }


		research_cost = 2.8
		start_year = 2035

		folder = {
			name = bba_fixed_wing_folder
			position = { x = @row8 y = @2025 }
		}
		categories = {
			CAT_FIXED_WING
			Cat_AIR_EQP
			Cat_A_UAV
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				date < 2035.01.01
			}
			modifier = {
				factor = 0.2
				date < 2030.01.01
			}
			modifier = {
				factor = 2
				check_variable = { gdp_per_capita > 19.999 }
			}
			modifier = {
				factor = 0
				AND = {
					NOT = {
						original_tag = CHI
					}
					check_variable = { gdp_per_capita < 7.000 }
				}
			}
		}
	}
}