# 
# The Heavy Aircraft Technology Group
#

#
#	
#	
#	
technology = {
	id = 9
	category = heavy_aircraft
	name = TECH_H_AIR_NAME #Localized name
	desc = TECH_H_AIR_DESC #Localized description
	
	level = { # 1 - Lighter-than-Air Development
		id = 9000
		name = TECH_LEVEL_H_AIR_1_NAME 
		desc = TECH_LEVEL_H_AIR_1_DESC 

		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Hydrogen Production
			id = 9001
			name = TECH_APP_H_AIR_1_1_NAME
			desc = TECH_APP_H_AIR_1_1_DESC
			
			required = { 4002 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Observation Balloon Prototype Test
			id = 9002
			name = TECH_APP_H_AIR_1_2_NAME
			desc = TECH_APP_H_AIR_1_2_DESC
			
			required = { 9001 3103 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Observation Balloon
			id = 9003
			name = TECH_APP_H_AIR_1_3_NAME
			desc = TECH_APP_H_AIR_1_3_DESC
			
			required = { 9002 11007 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type  = intelligence which = us value = 5 }
			}
		}
	} # Level 1
	
	level = { # 2 - Defensive Balloon Innovations
		id = 9100
		name = TECH_LEVEL_H_AIR_2_NAME 
		desc = TECH_LEVEL_H_AIR_2_DESC 
		
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Barrage Balloon Prototype
			id = 9101
			name = TECH_APP_H_AIR_2_1_NAME
			desc = TECH_APP_H_AIR_2_1_DESC
			
			required = { 9002 4304 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { }
			}
		}
		application = { # Barrage Balloon
			id = 9102
			name = TECH_APP_H_AIR_2_2_NAME
			desc = TECH_APP_H_AIR_2_2_DESC
			
			required = { 9101 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = AA_batteries value = 5 }
			}
		}
		application = { # Rigid Airship Frame
			id = 9103
			name = TECH_APP_H_AIR_2_3_NAME
			desc = TECH_APP_H_AIR_2_3_DESC
			
			required = { 9101 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Basic Airship Gas Cells
			id = 9104
			name = TECH_APP_H_AIR_2_4_NAME
			desc = TECH_APP_H_AIR_2_4_DESC
			
			required = { 9103 9001 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { }
			}
		}
	} # Level 2
	
	level = { # 3 - Steerable Airship Design
		id = 9200
		name = TECH_LEVEL_H_AIR_3_NAME 
		desc = TECH_LEVEL_H_AIR_3_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Flight Control System
			id = 9201
			name = TECH_APP_H_AIR_3_1_NAME
			desc = TECH_APP_H_AIR_3_1_DESC
			
			required = { }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Aerial Navigation
			id = 9202
			name = TECH_APP_H_AIR_3_2_NAME
			desc = TECH_APP_H_AIR_3_2_DESC
			
			required = { 9201 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Water Ballast
			id = 9203
			name = TECH_APP_H_AIR_3_3_NAME
			desc = TECH_APP_H_AIR_3_3_DESC
			
			required = { 9103 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
	} # Level 3
	
	level = { # 4 - Steerable Airship Construction
		id = 9300
		name = TECH_LEVEL_H_AIR_4_NAME 
		desc = TECH_LEVEL_H_AIR_4_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Basic Airship Engine
			id = 9301
			name = TECH_APP_H_AIR_4_1_NAME
			desc = TECH_APP_H_AIR_4_1_DESC
			
			required = { 9103 2101 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Dirigible Airship Prototype Test
			id = 9302
			name = TECH_APP_H_AIR_4_2_NAME
			desc = TECH_APP_H_AIR_4_2_DESC
			
			required = { 9101 9104 9301 9201 9202 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Dirigible Airship
			id = 9303
			name = TECH_APP_H_AIR_4_3_NAME
			desc = TECH_APP_H_AIR_4_3_DESC
			
			required = { 9302 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = activate_unit_type which = transport_plane }
			}
		}
	} # Level 4
	
	level = { # 5 - Basic Airship Equipment
		id = 9400
		name = TECH_LEVEL_H_AIR_5_NAME 
		desc = TECH_LEVEL_H_AIR_5_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Bomb Release Mechanism
			id = 9401
			name = TECH_APP_H_AIR_5_1_NAME
			desc = TECH_APP_H_AIR_5_1_DESC
			
			required = { }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Bomb Aiming Techniques
			id = 9402
			name = TECH_APP_H_AIR_5_2_NAME
			desc = TECH_APP_H_AIR_5_2_DESC
			
			required = { }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = max_organization which = transport_plane value = 2 }
			}
		}
		application = { # Basic Airship Bomb
			id = 9403
			name = TECH_APP_H_AIR_5_3_NAME
			desc = TECH_APP_H_AIR_5_3_DESC
			
			required = { 10202 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = tactical_attack which = transport_plane value = 1 }
				command = { type = strategic_attack which = transport_plane value = 1 }
			}
		}
		application = { # Military Airship Prototype Test
			id = 9404
			name = TECH_APP_H_AIR_5_4_NAME
			desc = TECH_APP_H_AIR_5_4_DESC
			
			required = { 9302 9401 9402 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Military Airship
			id = 9405
			name = TECH_APP_H_AIR_5_5_NAME
			desc = TECH_APP_H_AIR_5_5_DESC
			
			required = { 9403 9404 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = transport_plane value = 1 }
			}
		}
	} # Level 5
	
	level = { # 6 - Armed Airship Improvements
		id = 9500
		name = TECH_LEVEL_H_AIR_6_NAME 
		desc = TECH_LEVEL_H_AIR_6_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Compressed Oxygen
			id = 9501
			name = TECH_APP_H_AIR_6_1_NAME
			desc = TECH_APP_H_AIR_6_1_DESC
			
			required = { 9001 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Airship Steel Frame
			id = 9502
			name = TECH_APP_H_AIR_6_2_NAME
			desc = TECH_APP_H_AIR_6_2_DESC
			
			required = { 9103 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Improved Airship Gas Cells
			id = 9503
			name = TECH_APP_H_AIR_6_3_NAME
			desc = TECH_APP_H_AIR_6_3_DESC
			
			required = { 9104 9502 9501 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { }
			}
		}
		application = { # Balloon Cloud Car
			id = 9504
			name = TECH_APP_H_AIR_6_4_NAME
			desc = TECH_APP_H_AIR_6_4_DESC
			
			required = { 9502 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = strategic_attack which = transport_plane when = on_upgrade value = 1 }
				command = { type = naval_attack which = transport_plane when = on_upgrade value = 1 }
				# command = { type = surface_defense which = transport_plane when = on_upgrade value = 1 }
				command = { type = surface_detection which = transport_plane when = on_upgrade value = 2 }
			}
		}
		application = { # Airship Incendiary Bomb
			id = 9505
			name = TECH_APP_H_AIR_6_5_NAME
			desc = TECH_APP_H_AIR_6_5_DESC
			
			required = { 9403 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = tactical_attack which = transport_plane value = 1 }
				command = { type = strategic_attack which = transport_plane value = 1 }
				command = { type = naval_attack which = transport_plane value = 1 }
			}
		}
	} # Level 6
	
	level = { # 7 - Modern Military Airship Construction
		id = 9600
		name = TECH_LEVEL_H_AIR_7_NAME 
		desc = TECH_LEVEL_H_AIR_7_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # High Altitude Engine
			id = 9601
			name = TECH_APP_H_AIR_7_1_NAME
			desc = TECH_APP_H_AIR_7_1_DESC
			
			required = { 9301 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Improved Airship Prototype Test
			id = 9602
			name = TECH_APP_H_AIR_7_2_NAME
			desc = TECH_APP_H_AIR_7_2_DESC
			
			required = { 9404 9503 9601 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Improved Airship
			id = 9603
			name = TECH_APP_H_AIR_7_3_NAME
			desc = TECH_APP_H_AIR_7_3_DESC
			
			required = { 9602 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = transport_plane value = 2 }
			}
		}
		application = { # Radio Navigation
			id = 9604
			name = TECH_APP_H_AIR_7_4_NAME
			desc = TECH_APP_H_AIR_7_4_DESC
			
			required = { 3402 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = surface_detection which = transport_plane when = on_upgrade value = 1 }
				command = { type = snow_attack which = transport_plane when = on_upgrade value = 10 }
				command = { type = rain_attack which = transport_plane when = on_upgrade value = 10 }
				command = { type = snow_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = rain_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = blizzard_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = storm_move which = transport_plane when = on_upgrade value = 10 }
			}
		}
	} # Level 7
	
	level = { # 8 - Improved Airship Equipment
		id = 9700
		name = TECH_LEVEL_H_AIR_8_NAME 
		desc = TECH_LEVEL_H_AIR_8_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Liquid Oxygen
			id = 9701
			name = TECH_APP_H_AIR_8_1_NAME
			desc = TECH_APP_H_AIR_8_1_DESC
			
			required = { 9501 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Advanced Airship Gas Cells
			id = 9702
			name = TECH_APP_H_AIR_8_2_NAME
			desc = TECH_APP_H_AIR_8_2_DESC
			
			required = { 9503 9701 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Weather Forcasting
			id = 9703
			name = TECH_APP_H_AIR_8_3_NAME
			desc = TECH_APP_H_AIR_8_3_DESC
			
			required = { 3402 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = snow_attack which = transport_plane when = on_upgrade value = 10 }
				command = { type = rain_attack which = transport_plane when = on_upgrade value = 10 }
				command = { type = snow_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = rain_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = blizzard_move which = transport_plane when = on_upgrade value = 10 }
				command = { type = storm_move which = transport_plane when = on_upgrade value = 10 }
			}
		}
		application = { # Advanced Airship Prototype Test
			id = 9704
			name = TECH_APP_H_AIR_8_4_NAME
			desc = TECH_APP_H_AIR_8_4_DESC
			
			required = { 9602 9702 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Advanced Airship
			id = 9705
			name = TECH_APP_H_AIR_8_5_NAME
			desc = TECH_APP_H_AIR_8_5_DESC
			
			required = { 9704 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = transport_plane value = 3 }
			}
		}
	} # Level 8
	
	level = { # 9 - Advanced Airship Equipment
		id = 9800
		name = TECH_LEVEL_H_AIR_9_NAME 
		desc = TECH_LEVEL_H_AIR_9_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
		application = { # Naval Cooperation Radio
			id = 9801
			name = TECH_APP_H_AIR_9_1_NAME
			desc = TECH_APP_H_AIR_9_1_DESC
			
			required = { 3605 3606 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = naval_attack which = transport_plane when = on_upgrade value = 1 }
				command = { type = sub_detection which = transport_plane when = on_upgrade value = 2 }
			}
		}
		application = { # Submarine Cooperation Radio
			id = 9802
			name = TECH_APP_H_AIR_9_2_NAME
			desc = TECH_APP_H_AIR_9_2_DESC
			
			required = { 9801 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = naval_attack which = transport_plane when = on_upgrade value = 2 }
			}
		}
		application = { # Helium Gas
			id = 9803
			name = TECH_APP_H_AIR_9_3_NAME
			desc = TECH_APP_H_AIR_9_3_DESC
			
			required = { 9701 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Parasite Aircraft
			id = 9804
			name = TECH_APP_H_AIR_9_4_NAME
			desc = TECH_APP_H_AIR_9_4_DESC
			
			required = { 9704 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = transport_plane when = on_upgrade value = 2 }
				command = { type = air_defense which = transport_plane when = on_upgrade value = 2 }
				command = { type = tactical_attack which = transport_plane when = on_upgrade value = 1 }
				command = { type = air_detection which = transport_plane when = on_upgrade value = 3 }
			}
		}
		application = { # Parasite Aircraft Hangar
			id = 9805
			name = TECH_APP_H_AIR_9_5_NAME
			desc = TECH_APP_H_AIR_9_5_DESC
			
			required = { 9804 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = transport_plane when = on_upgrade value = 1 }
				command = { type = air_defense which = transport_plane when = on_upgrade value = 1 }
				command = { type = tactical_attack which = transport_plane when = on_upgrade value = 1 }
				command = { type = air_detection which = transport_plane when = on_upgrade value = 1 }
			}
		}
		application = { # Advanced Airship Bomb
			id = 9806
			name = TECH_APP_H_AIR_9_6_NAME
			desc = TECH_APP_H_AIR_9_6_DESC
			
			required = { 9403 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = tactical_attack which = transport_plane value = 2 }
				command = { type = strategic_attack which = transport_plane value = 2 }
				command = { type = naval_attack which = transport_plane value = 2 }
			}
		}
	} # Level 9
	
	level = { # 10 - Extra
		id = 9900
		name = TECH_LEVEL_H_AIR_10_NAME 
		desc = TECH_LEVEL_H_AIR_10_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
	} # Level 10
	
	level = { # 11 - Extra
		id = 9940
		name = TECH_LEVEL_H_AIR_11_NAME 
		desc = TECH_LEVEL_H_AIR_11_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
	} # Level 11
	
	level = { # 12 - Extra
		id = 9970
		name = TECH_LEVEL_H_AIR_12_NAME 
		desc = TECH_LEVEL_H_AIR_12_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90
		
	} # Level 12
}