#Written by Hiddengearz

### SSN - SSGN - SSK ###

technologies = {
	
	#y axis
	@1945 = 1
	@1965 = 7
	@1975 = 13
	@1985 = 19
	@2005 = 25
	@2015 = 31
	@2025 = 37
	@2035 = 43
	#@2035 = 43
	#@2035 = 49
	#@1944 = 16
	#@1945 = 18
	#@1946 = 20
	
	#y Axis
	@row1 = -2
	@row2 = 0
	@row3 = 2
	@row4 = 6
	@row5 = 8
	@row6 = 10
	@row7 = 12
	
	#1945 - doesn't actually unlock anything
	submarine_1 = {

		enable_equipments = { 
			submarine_1
		}
		
		path = {
			leads_to_tech = attack_submarine_1 
			research_cost_coeff = 1
		}
	
		path = {
			leads_to_tech = missile_submarine_1 
			research_cost_coeff = 1
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_1 
			research_cost_coeff = 1
		}
		
		research_cost = 2.7

		start_year = 1945
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @1945 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
		}
	}
	
	### SSN - Nuclear-Powered Attack Submarine ###
	
	#1965
	attack_submarine_1 = {

		enable_equipments = { 
			attack_submarine_1
		}
		
		path = {
			leads_to_tech = attack_submarine_2 
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = missile_submarine_1 
			research_cost_coeff = 0.75
		}
		
		research_cost = 2.7

		start_year = 1965
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	
	#1975
	attack_submarine_2 = {

		enable_equipments = { 
			attack_submarine_2
		}
		
		path = {
			leads_to_tech = attack_submarine_3
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = missile_submarine_2
			research_cost_coeff = 0.75
		}
		
		research_cost = 2.9

		start_year = 1975
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @1975 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	} 
	
	#1985
	attack_submarine_3 = {

		enable_equipments = { 
			attack_submarine_3
		}
		
		path = {
			leads_to_tech = attack_submarine_4
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = missile_submarine_3
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.1

		start_year = 1985
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	
	#2005
	attack_submarine_4 = {

		enable_equipments = { 
			attack_submarine_4
		}
		
		path = {
			leads_to_tech = attack_submarine_5
			research_cost_coeff = 1
		}
		
		research_cost = 3.3

		start_year = 2005
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @2005 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	
	#2015
	attack_submarine_5 = {

		enable_equipments = { 
			attack_submarine_5
		}
		
		path = {
			leads_to_tech = attack_submarine_6
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = missile_submarine_5
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.5
		start_year = 2015
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @2015 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	
	#2025
	attack_submarine_6 = {

		enable_equipments = { 
			attack_submarine_6
		}
		
		path = {
			leads_to_tech = attack_submarine_7
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = missile_submarine_6
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.7

		start_year = 2025
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	
	#2035
	attack_submarine_7 = {

		enable_equipments = { 
			attack_submarine_7
		}
		
		path = {
			leads_to_tech = missile_submarine_7
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.9

		start_year = 2035
		
		folder = {
			name = submarine_folder
			position = { x = @row1 y = @2035 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_ATT_SUB
		}
	}
	

	### SSGN - Nuclear-Powered Guided Missile Submarine ###
	
	#1965
	missile_submarine_1 = {

		enable_equipments = { 
			missile_submarine_1
		}
		
		path = {
			leads_to_tech = missile_submarine_2
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = diesel_attack_submarine_1
			research_cost_coeff = 0.75
		}
		
		research_cost = 2.7

		start_year = 1965
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
	#1975
	missile_submarine_2 = {

		enable_equipments = { 
			missile_submarine_2
		}
		
		path = {
			leads_to_tech = missile_submarine_3
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = diesel_attack_submarine_2
			research_cost_coeff = 0.75
		}
		
		research_cost = 2.9

		start_year = 1975
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @1975 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
	#1985
	missile_submarine_3 = {

		enable_equipments = { 
			missile_submarine_3
		}
		
		path = {
			leads_to_tech = missile_submarine_5
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = diesel_attack_submarine_3
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.1

		start_year = 1985
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
	#2015
	missile_submarine_5 = {

		enable_equipments = { 
			missile_submarine_5
		}
		
		path = {
			leads_to_tech = missile_submarine_6
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = diesel_attack_submarine_5
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.5

		start_year = 2015
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @2015 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
	#2025
	missile_submarine_6 = {

		enable_equipments = { 
			missile_submarine_6
		}
		
		path = {
			leads_to_tech = missile_submarine_7
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = diesel_attack_submarine_6
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.7

		start_year = 2025
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
	#2035
	missile_submarine_7 = {

		enable_equipments = { 
			missile_submarine_7
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_7
			research_cost_coeff = 0.75
		}
		
		research_cost = 3.9

		start_year = 2035
		
		folder = {
			name = submarine_folder
			position = { x = @row2 y = @2035 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_NUKE_SUB
			Cat_M_SUB
		}
	}
	
		### SSK - Diesel Attack Submarine ###
	
	#1965
	diesel_attack_submarine_1 = {

		enable_equipments = { 
			diesel_attack_submarine_1
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_2 
			research_cost_coeff = 1
		}
		
		research_cost = 1.7

		start_year = 1965
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @1965 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#1975
	diesel_attack_submarine_2 = {

		enable_equipments = { 
			diesel_attack_submarine_2
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_3
			research_cost_coeff = 1
		}
		
		research_cost = 1.9

		start_year = 1975
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @1975 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#1985
	diesel_attack_submarine_3 = {

		enable_equipments = { 
			diesel_attack_submarine_3
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_4
			research_cost_coeff = 1
		}
		
		research_cost = 2.1

		start_year = 1985
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @1985 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#2005
	diesel_attack_submarine_4 = {

		enable_equipments = { 
			diesel_attack_submarine_4
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_5
			research_cost_coeff = 1
		}
		
		research_cost = 2.3

		start_year = 2005
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @2005 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#2015
	diesel_attack_submarine_5 = {

		enable_equipments = { 
			diesel_attack_submarine_5
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_6
			research_cost_coeff = 1
		}
		
		research_cost = 2.5

		start_year = 2015
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @2015 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#2025
	diesel_attack_submarine_6 = {

		enable_equipments = { 
			diesel_attack_submarine_6
		}
		
		path = {
			leads_to_tech = diesel_attack_submarine_7
			research_cost_coeff = 1
		}
		
		research_cost = 2.7

		start_year = 2025
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @2025 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	#2035
	diesel_attack_submarine_7 = {

		enable_equipments = { 
			diesel_attack_submarine_7
		}
		
		research_cost = 2.9

		start_year = 2035
		
		folder = {
			name = submarine_folder
			position = { x = @row3 y = @2035 }
		}
		
		ai_will_do = {
			factor = 1
		}
		
		categories = {
			Cat_NAVAL_EQP
			Cat_SUB
			Cat_D_SUB
		}
	}
	
	
}