##############################
# The Armor Technology Group #
##############################

technology = {
	id = 2
	category = armor
	name = TECH_ARMOR_NAME #Localized name
	desc = TECH_ARMOR_DESC #Localized description
	
	level = { # 1 - Cavalry Innovations
		id = 2000
		name = TECH_LEVEL_ARMOR_1_NAME
		desc = TECH_LEVEL_ARMOR_1_DESC
		
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Bolt-Action Carbine
			id = 2001
			name = TECH_APP_ARMOR_1_1_NAME
			desc = TECH_APP_ARMOR_1_1_DESC
			
			required = { 1101 }
			chance = 90
			cost = 6
			time = 60
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = soft_attack which = cavalry value = 1 }
				command = { type = ground_defense which = cavalry value = 1 }
			}
		}
		application = { # Basic Load-Bearing Saddle
			id = 2002
			name = TECH_APP_ARMOR_1_2_NAME
			desc = TECH_APP_ARMOR_1_2_DESC
			
			required = { }
			chance = 90
			cost = 6
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = ground_defense which = cavalry value = 1 }
			}
		}
		application = { # Modern Load-Bearing Saddle
			id = 2003
			name = TECH_APP_ARMOR_1_3_NAME
			desc = TECH_APP_ARMOR_1_3_DESC
			
			required = { 2002 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = cavalry value = 1 }
			}
		}
	} # Level 1
	
	level = { # 2 - Military Vehicle Innovations
		id = 2100
		name = TECH_LEVEL_ARMOR_2_NAME 
		desc = TECH_LEVEL_ARMOR_2_DESC 
		
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Internal Combustion Engine
			id = 2101
			name = TECH_APP_ARMOR_2_1_NAME
			desc = TECH_APP_ARMOR_2_1_DESC
			
			required = { 4003 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Motor Transportation
			id = 2102
			name = TECH_APP_ARMOR_2_2_NAME
			desc = TECH_APP_ARMOR_2_2_DESC
			
			required = { 2101 4103 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = industrial_modifier which = supplies value = 5 }
			}
		}
		application = { # Military Truck and Utility Vehicle
			id = 2103
			name = TECH_APP_ARMOR_2_3_NAME
			desc = TECH_APP_ARMOR_2_3_DESC
			
			required = { 2102 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = speed which = infantry value = 1 }
				command = { type = speed which = motorized value = 1 }
				command = { type = speed which = paratrooper value = 1 }
				command = { type = max_organization which = infantry value = 3 }
				command = { type = max_organization which = motorized value = 3 }
				command = { type = max_organization which = paratrooper value = 3 }
			}
		}
		application = { # Military Unit Transportation
			id = 2104
			name = TECH_APP_ARMOR_2_4_NAME
			desc = TECH_APP_ARMOR_2_4_DESC
			
			required = { 2102 11301 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = {
			}
		}
		application = { # Motorcycle Messengers
			id = 2105
			name = TECH_APP_ARMOR_2_5_NAME
			desc = TECH_APP_ARMOR_2_5_DESC
			
			required = { 1206 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_def_eff value = 2 }
				command = { type = max_organization which = armor value = 2 }
				command = { type = max_organization which = bergsjaeger value = 2 }
				command = { type = max_organization which = infantry value = 2 }
				command = { type = max_organization which = motorized value = 2 }
				command = { type = max_organization which = marine value = 2 }
				command = { type = max_organization which = paratrooper value = 2 }
			}
		}
	} # Level 2
	
	level = { # 3 - Early Armored Vehicle
		id = 2200
		name = TECH_LEVEL_ARMOR_3_NAME 
		desc = TECH_LEVEL_ARMOR_3_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Basic Armored Car
			id = 2201
			name = TECH_APP_ARMOR_3_1_NAME
			desc = TECH_APP_ARMOR_3_1_DESC
			
			required = { 2103 1103 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = ground_defense which = motorized value = 1 }
				command = { type = build_time which = motorized value = 1 }
			}
		}
		application = { # Motorized Earth Mover
			id = 2202
			name = TECH_APP_ARMOR_3_2_NAME
			desc = TECH_APP_ARMOR_3_2_DESC
			
			required = { 2103 4006 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = ground_defense which = engineer value = 1 }
				command = { type = build_time which = engineer value = 2 }
			}
		}
		application = { # Vehicle Maintenance Unit
			id = 2203
			name = TECH_APP_ARMOR_3_3_NAME
			desc = TECH_APP_ARMOR_3_3_DESC
			
			required = { 2103 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = max_organization which = armor value = 2 }
				command = { type = max_organization which = infantry value = 2 }
				command = { type = max_organization which = motorized value = 2 }
			}
		}
		application = { # Intermediate Armored Car
			id = 2204
			name = TECH_APP_ARMOR_3_4_NAME
			desc = TECH_APP_ARMOR_3_4_DESC
			
			required = { 2201 1302 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = soft_attack which = infantry value = 1 }
				command = { type = ground_defense which = infantry value = 1 }
				command = { type = build_time which = infantry value = 3 }
				command = { type = soft_attack which = motorized value = 1 }
				command = { type = ground_defense which = motorized value = 1 }
				command = { type = build_time which = motorized value = 3 }
			}
		}
		application = { # Military Tank Tread
			id = 2205
			name = TECH_APP_ARMOR_3_5_NAME
			desc = TECH_APP_ARMOR_3_5_DESC
			
			required = { 4004 }
			chance = 90
			cost = 6
			time = 60
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
	} # Level 3
	
	level = { # 4 - Tank Prototype
		id = 2300
		name = TECH_LEVEL_ARMOR_4_NAME 
		desc = TECH_LEVEL_ARMOR_4_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Tank Gear
			id = 2301
			name = TECH_APP_ARMOR_4_1_NAME
			desc = TECH_APP_ARMOR_4_1_DESC
			
			required = { 2103 2205 }
			chance = 90
			cost = 6
			time = 60
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Tank Suspension
			id = 2302
			name = TECH_APP_ARMOR_4_2_NAME
			desc = TECH_APP_ARMOR_4_2_DESC
			
			required = { 2103 2205 }
			chance = 90
			cost = 6
			time = 60
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Gasoline Tank Engine
			id = 2303
			name = TECH_APP_ARMOR_4_3_NAME
			desc = TECH_APP_ARMOR_4_3_DESC
			
			required = { 2101 4103 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = supply_consumption which = armor when = now value = -0.1 }
				command = { type = fuel_consumption which = armor when = now value = -0.1 }
			}
		}
		application = { # Riveted Armor
			id = 2304
			name = TECH_APP_ARMOR_4_4_NAME
			desc = TECH_APP_ARMOR_4_4_DESC
			
			required = { 4203 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Tank Prototype Tests
			id = 2305
			name = TECH_APP_ARMOR_4_5_NAME
			desc = TECH_APP_ARMOR_4_5_DESC
			
			required = { 2204 2301 2302 2303 2304 11306 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Tank Production
			id = 2306
			name = TECH_APP_ARMOR_4_6_NAME
			desc = TECH_APP_ARMOR_4_6_DESC
			
			required = { 2305 4306 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
	} # Level 4
	
	level = { # 5 - Basic Tank Development
		id = 2400
		name = TECH_LEVEL_ARMOR_5_NAME 
		desc = TECH_LEVEL_ARMOR_5_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Tank MG Armament
			id = 2401
			name = TECH_APP_ARMOR_5_1_NAME
			desc = TECH_APP_ARMOR_5_1_DESC
			
			required = { 1302 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Female Tank Prototype Tests
			id = 2402
			name = TECH_APP_ARMOR_5_2_NAME
			desc = TECH_APP_ARMOR_5_2_DESC
			
			required = { 2306 2401 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Female Tank
			id = 2403
			name = TECH_APP_ARMOR_5_3_NAME
			desc = TECH_APP_ARMOR_5_3_DESC
			
			required = { 2402 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = activate_unit_type which = armor }
			}
		}
		application = { # Tank Gun Armament
			id = 2404
			name = TECH_APP_ARMOR_5_4_NAME
			desc = TECH_APP_ARMOR_5_4_DESC
			
			required = { 14601 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Male Tank Prototype Tests
			id = 2405
			name = TECH_APP_ARMOR_5_5_NAME
			desc = TECH_APP_ARMOR_5_5_DESC
			
			required = { 2306 2404 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Male Tank
			id = 2406
			name = TECH_APP_ARMOR_5_6_NAME
			desc = TECH_APP_ARMOR_5_6_DESC
			
			required = { 2405 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = armor value = 1 }
			}
		}
		application = { # Basic Optical Sights
			id = 2407
			name = TECH_APP_ARMOR_5_7_NAME
			desc = TECH_APP_ARMOR_5_7_DESC
			
			required = { 2306 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor value = 1 }
			}
		}
	} # Level 5
	
	level = { # 6 - Basic Tank Innovations
		id = 2500
		name = TECH_LEVEL_ARMOR_6_NAME 
		desc = TECH_LEVEL_ARMOR_6_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Basic Rotating Turret
			id = 2501
			name = TECH_APP_ARMOR_6_1_NAME
			desc = TECH_APP_ARMOR_6_1_DESC
			
			required = { 2306 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = ground_defense which = armor value = 1 }
			}
		}
		application = { # Advanced Armored Car
			id = 2502
			name = TECH_APP_ARMOR_6_2_NAME
			desc = TECH_APP_ARMOR_6_2_DESC
			
			required = { 2204 2304 2407 2501 }
			chance = 90
			cost = 10
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
			}
		}
		application = { # Crew Coordination and Training
			id = 2503
			name = TECH_APP_ARMOR_6_3_NAME
			desc = TECH_APP_ARMOR_6_3_DESC
			
			required = { 2306 3601 }
			chance = 90
			cost = 6
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = armor value = 1 }
				command = { type = supply_consumption which = armor when = now value = -0.1 }
				command = { type = max_organization which = armor value = 2 }
			}
		}
	} # Level 6
	
	level = { # 7 - Improved Tank Development
		id = 2600
		name = TECH_LEVEL_ARMOR_7_NAME 
		desc = TECH_LEVEL_ARMOR_7_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Armored Scout Tactics
			id = 2601
			name = TECH_APP_ARMOR_7_1_NAME
			desc = TECH_APP_ARMOR_7_1_DESC
			
			required = { 2502 11403 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = army_detection which = us value = 5 }
			}
		}
		application = { # Light Tank Prototype Tests
			id = 2602
			name = TECH_APP_ARMOR_7_2_NAME
			desc = TECH_APP_ARMOR_7_2_DESC
			
			required = { 2306 2404 2503 2601 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = deactivate which = 2605 }
				command = { type = deactivate which = 2608 }
			}
		}
		application = { # Light Tank
			id = 2603
			name = TECH_APP_ARMOR_7_3_NAME
			desc = TECH_APP_ARMOR_7_3_DESC
			
			required = { 2407 2501 2602 14704 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = new_model which = armor value = 2 }
			}
		}
		application = { # Armored Exploitation Tactics
			id = 2604
			name = TECH_APP_ARMOR_7_4_NAME
			desc = TECH_APP_ARMOR_7_4_DESC
			
			required = { 2403 11403 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = armor value = 1 }
			}
		}
		application = { # Cruiser Tank Prototype Tests
			id = 2605
			name = TECH_APP_ARMOR_7_5_NAME
			desc = TECH_APP_ARMOR_7_5_DESC
			
			required = { 2306 2404 2503 2604 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = deactivate which = 2602 }
				command = { type = deactivate which = 2608 }

			}
		}
		application = { # Cruiser Tank
			id = 2606
			name = TECH_APP_ARMOR_7_6_NAME
			desc = TECH_APP_ARMOR_7_6_DESC
			
			required = { 2407 2501 2605 14805 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = armor value = 3 }
			}
		}
		application = { # Armored Assault Tactics
			id = 2607
			name = TECH_APP_ARMOR_7_7_NAME
			desc = TECH_APP_ARMOR_7_7_DESC
			
			required = { 2406 11403 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor value = 1 }
			}
		}
		application = { # Land Battleship Prototype Tests
			id = 2608
			name = TECH_APP_ARMOR_7_8_NAME
			desc = TECH_APP_ARMOR_7_8_DESC
			
			required = { 2306 2404 2503 2607 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = deactivate which = 2602 }
				command = { type = deactivate which = 2605 }
			}
		}
		application = { # Land Battleship
			id = 2609
			name = TECH_APP_ARMOR_7_9_NAME
			desc = TECH_APP_ARMOR_7_9_DESC
			
			required = { 2407 2501 2608 14806 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = armor value = 4 }
			}
		}
	} # Level 7
	
	level = { # 8 - Advanced Tank Innovations
		id = 2700
		name = TECH_LEVEL_ARMOR_8_NAME 
		desc = TECH_LEVEL_ARMOR_8_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Welded Armor
			id = 2701
			name = TECH_APP_ARMOR_8_1_NAME
			desc = TECH_APP_ARMOR_8_1_DESC
			
			required = { 2304 4303 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = ground_defense which = armor value = 1 }
				command = { type = build_cost which = armor value = -1 }
			}
		}
		application = { # Improved Optical Sights
			id = 2702
			name = TECH_APP_ARMOR_8_2_NAME
			desc = TECH_APP_ARMOR_8_2_DESC
			
			required = { 2407 }
			chance = 90
			cost = 8
			time = 100
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = soft_attack which = armor value = 1 }
				command = { type = hard_attack which = armor value = 1 }
			}
		}
		application = { # Diesel Tank Engine
			id = 2703
			name = TECH_APP_ARMOR_8_3_NAME
			desc = TECH_APP_ARMOR_8_3_DESC
			
			required = { 2303 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { }
			}
		}
		application = { # Sloped Armor
			id = 2704
			name = TECH_APP_ARMOR_8_4_NAME
			desc = TECH_APP_ARMOR_8_4_DESC
			
			required = { 2701 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = ground_defense which = armor value = 1 }
			}
		}
		application = { # Armor Skirts
			id = 2705
			name = TECH_APP_ARMOR_8_5_NAME
			desc = TECH_APP_ARMOR_8_5_DESC
			
			required = { 2701 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = armor value = 1 }
			}
		}
		application = { # Improved Rotating Turret
			id = 2706
			name = TECH_APP_ARMOR_8_6_NAME
			desc = TECH_APP_ARMOR_8_6_DESC
			
			required = { 2501 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = armor value = 1 }
				command = { type = hard_attack which = armor value = 1 }
			}
		}
	} # Level 8
	
	level = { # 9 - Advanced Tank Development
		id = 2800
		name = TECH_LEVEL_ARMOR_9_NAME 
		desc = TECH_LEVEL_ARMOR_9_DESC 
				
		cost = 20
		time = 150
		neg_offset = 45
		pos_offset = 90

		application = { # Tank Transportation Units
			id = 2801
			name = TECH_APP_ARMOR_9_1_NAME
			desc = TECH_APP_ARMOR_9_1_DESC
			
			required = { 2202 2203 }
			chance = 90
			cost = 6
			time = 80
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { type = supply_consumption which = armor when = now value = -0.2 }
				command = { type = fuel_consumption which = armor when = now value = -0.1 }
			}
		}
		application = { # Modern Tank Prototype Tests
			id = 2802
			name = TECH_APP_ARMOR_9_2_NAME
			desc = TECH_APP_ARMOR_9_2_DESC
			
			required = { 2601 2604 2607 2701 2702 2703 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 15
			pos_offset = 30
			
			effects = {
				command = { }
			}
		}
		application = { # Modern Tank 40mm+
			id = 2803
			name = TECH_APP_ARMOR_9_3_NAME
			desc = TECH_APP_ARMOR_9_3_DESC
			
			required = { 2802 14704 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = armor value = 5 }
				#command = { type = deactivate which = 2804 }
				#command = { type = deactivate which = 2805 }
			}
		}
		application = { # Modern Tank 70mm+
			id = 2804
			name = TECH_APP_ARMOR_9_4_NAME
			desc = TECH_APP_ARMOR_9_4_DESC
			
			required = { 2802 14805 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = new_model which = armor value = 6 }
				#command = { type = deactivate which = 2803 }
				#command = { type = deactivate which = 2805 }
			}
		}
		application = { # Modern Tank 100mm+
			id = 2805
			name = TECH_APP_ARMOR_9_5_NAME
			desc = TECH_APP_ARMOR_9_5_DESC
			
			required = { 2802 14806 }
			chance = 90
			cost = 8
			time = 80
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = new_model which = armor value = 7 }
				#command = { type = deactivate which = 2803 }
				#command = { type = deactivate which = 2804 }
			}
		}
	} # Level 9
	
	level = { # 10 - Extra
		id = 2900
		name = TECH_LEVEL_ARMOR_10_NAME 
		desc = TECH_LEVEL_ARMOR_10_DESC 
				
		cost = 0
		time = 1
		neg_offset = 45
		pos_offset = 90

	} # Level 10
	
	level = { # 11 - Extra
		id = 2940
		name = TECH_LEVEL_ARMOR_11_NAME 
		desc = TECH_LEVEL_ARMOR_11_DESC 
				
		cost = 0
		time = 1
		neg_offset = 45
		pos_offset = 90

	} # Level 11
	
	level = { # 12 - Extra
		id = 2970
		name = TECH_LEVEL_ARMOR_12_NAME 
		desc = TECH_LEVEL_ARMOR_12_DESC 
				
		cost = 0
		time = 1
		neg_offset = 45
		pos_offset = 90

	} # Level 12
}