equipment_modules = {

	###Weapons

	tank_anti_air_cannon = { #AAMG Dual - Vanilla Basic AAG
		abbreviation = "aa1"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor

		add_stats = {
			soft_attack = 3
			hard_attack = 2
			ap_attack = 9
			air_attack = 3
			supply_consumption = 0.04
			build_cost_ic = 1.5
			reliability = -0.05
		}
		dismantle_cost_ic = 0.50
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
	}
	tank_anti_air_cannon_12 = { #AAMG Quad
		abbreviation = "aa12"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor

		add_stats = {
			soft_attack = 5
			hard_attack = 4
			ap_attack = 9
			air_attack = 6
			supply_consumption = 0.08
			build_cost_ic = 3
			reliability = -0.10
		}
		dismantle_cost_ic = 0.50
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
	}
	tank_anti_air_cannon_2 = { #20mm - Vanilla Improved AAG
		abbreviation = "aa2"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor

		add_stats = {
			soft_attack = 3
			hard_attack = 3
			ap_attack = 20
			air_attack = 4
			supply_consumption = 0.03
			build_cost_ic = 2
			reliability = -0.10
		}
		dismantle_cost_ic = 0.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 2
		}
	}
	tank_anti_air_cannon_22 = { #20mm Dual - RT56
		abbreviation = "aa22"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor

		add_stats = {
			soft_attack = 4
			hard_attack = 6
			ap_attack = 20
			air_attack = 8
			supply_consumption = 0.06
			build_cost_ic = 4
			reliability = -0.10
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
	}
	tank_anti_air_cannon_24 = { #20mm Quad - RT56
		abbreviation = "aa24"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor

		add_stats = {
			soft_attack = 6
			hard_attack = 12
			ap_attack = 20
			air_attack = 16
			supply_consumption = 0.12
			build_cost_ic = 8.5
			reliability = -0.10
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 7
		}
	}
	tank_anti_air_cannon_3 = { #37mm - Vanilla Advanced AAG
		abbreviation = "aa3"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon
		add_stats = {
			soft_attack = 4
			hard_attack = 4
			ap_attack = 35
			air_attack = 12
			supply_consumption = 0.05
			build_cost_ic = 3.5
			reliability = -0.15
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
	}
	tank_anti_air_cannon_32 = { #37mm Dual - RT56
		abbreviation = "aa32"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon
		add_stats = {
			soft_attack = 5
			hard_attack = 8
			ap_attack = 35
			air_attack = 24
			supply_consumption = 0.10
			build_cost_ic = 6.5
			reliability = -0.15
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 5.5
		}
	}
	tank_anti_air_cannon_5 = { #37mm Quad - RT56
		abbreviation = "aa34"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon
		add_stats = {
			soft_attack = 8
			hard_attack = 16
			ap_attack = 35
			air_attack = 48
			supply_consumption = 0.20
			build_cost_ic = 15
			reliability = -0.20
		}
		dismantle_cost_ic = 1.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 13.5
		}
	}
	tank_anti_air_cannon_4 = { #40mm
		abbreviation = "aa4"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_2
		add_stats = {
			soft_attack = 5
			hard_attack = 5
			ap_attack = 40
			air_attack = 16
			supply_consumption = 0.06
			build_cost_ic = 4
			reliability = -0.15
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3.5
		}
	}
	tank_anti_air_cannon_42 = { #40mm Dual - RT56
		abbreviation = "aa42"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_2
		add_stats = {
			soft_attack = 6
			hard_attack = 10
			ap_attack = 40
			air_attack = 32
			supply_consumption = 0.12
			build_cost_ic = 8.5
			reliability = -0.15
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 7.5
		}
	}
	tank_anti_air_cannon_52 = { #40mm Quad - RT56
		abbreviation = "aa34"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_2
		add_stats = {
			soft_attack = 10
			hard_attack = 20
			ap_attack = 40
			air_attack = 64
			supply_consumption = 0.24
			build_cost_ic = 17
			reliability = -0.20
		}
		dismantle_cost_ic = 1.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 15.5
		}
	}

	tank_heavy_anti_air_cannon = { #57mm
		abbreviation = "haa4"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_3
		add_stats = {
			soft_attack = 3
			hard_attack = 9
			ap_attack = 60
			air_attack = 35
			supply_consumption = 0.07
			build_cost_ic = 8
			reliability = -0.15
		}
		dismantle_cost_ic = 1.0
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_12 = { #57mm Dual - RT56
		abbreviation = "haa12"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_3
		add_stats = {
			soft_attack = 4
			hard_attack = 18
			ap_attack = 60
			air_attack = 70
			supply_consumption = 0.14
			build_cost_ic = 17
			reliability = -0.20
		}
		dismantle_cost_ic = 1.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 15.5
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_2 = { #75mm
		abbreviation = "haa2"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_4
		add_stats = {
			hard_attack = 13
			ap_attack = 90
			air_attack = 45
			supply_consumption = 0.08
			build_cost_ic = 15
			reliability = -0.20
		}
		dismantle_cost_ic = 2
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 13
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_22 = { #75mm Dual - RT56
		abbreviation = "haa22"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_4
		add_stats = {
			hard_attack = 26
			ap_attack = 90
			air_attack = 90
			supply_consumption = 0.16
			build_cost_ic = 32
			reliability = -0.25
		}
		dismantle_cost_ic = 3
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 29
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_3 = { #85mm
		abbreviation = "haa3"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_4
		add_stats = {
			hard_attack = 15
			ap_attack = 100
			air_attack = 55
			supply_consumption = 0.10
			build_cost_ic = 19
			reliability = -0.20
		}
		dismantle_cost_ic = 2
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 17
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_32 = { #85mm Dual - RT56
		abbreviation = "haa32"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_4
		add_stats = {
			hard_attack = 30
			ap_attack = 100
			air_attack = 110
			supply_consumption = 0.20
			build_cost_ic = 40
			reliability = -0.25
		}
		dismantle_cost_ic = 3
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 37
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	tank_heavy_anti_air_cannon_4 = { #100mm
		abbreviation = "haa4"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_5
		add_stats = {
			hard_attack = 24
			ap_attack = 115
			air_attack = 65
			supply_consumption = 0.13
			build_cost_ic = 24
			reliability = -0.25
		}
		dismantle_cost_ic = 3
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 21
		}
		build_cost_resources = {
			tungsten = 2
		}
	}
	tank_heavy_anti_air_cannon_5 = { #120mm - RT56
		abbreviation = "haa5"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		parent = tank_anti_air_cannon_5
		add_stats = {
			hard_attack = 30
			ap_attack = 145
			air_attack = 85
			supply_consumption = 0.18
			build_cost_ic = 36
			reliability = -0.30
		}
		dismantle_cost_ic = 4
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 32
		}
		build_cost_resources = {
			tungsten = 3
		}
	}
	
	lc_heavy_anti_air_platform = {
		abbreviation = "haap"
		category = lc_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 20 #LC Needs breakthrough
			soft_attack = 20 #Advanced AA Cannon: 10
			hard_attack = 10 #Advanced AA Cannon: 5
			ap_attack = 50 #Advanced AA Cannon: 30
			air_attack = 90 #Advanced AA Cannon: 46
			build_cost_ic = 10 #Advanced AA Cannon: 4
			reliability = -0.05 #Advanced AA Cannon: -0.1
		}


		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = lc_main_armament
			convert_cost_ic = 16 #Advanced AA Cannon: 7
		}
		build_cost_resources = {
			tungsten = 3 #Advanced AA Cannon: 1
			steel = 5 #Advanced AA Cannon: 3
		}
	}
	
	lc_heavy_anti_air_battery = {
		abbreviation = "haab"
		category = lc_secondary_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 10 #LC Needs breakthrough
			soft_attack = 14 #Advanced AA Cannon: 10
			hard_attack = 7 #Advanced AA Cannon: 5
			ap_attack = 40 #Advanced AA Cannon: 30
			air_attack = 65 #Advanced AA Cannon: 46
			build_cost_ic = 7 #Advanced AA Cannon: 4
			#reliability = -0.05 #Advanced AA Cannon: -0.1
		}

		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = lc_secondary_armament
			convert_cost_ic = 12 #Advanced AA Cannon: 7
		}
		build_cost_resources = {
			tungsten = 2 #Advanced AA Cannon: 1
			steel = 4 #Advanced AA Cannon: 3
		}
	}
	
	lc_light_anti_air_battery = {
		abbreviation = "laab"
		category = lc_additional_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10 #Advanced AA Cannon: 10
			hard_attack = 5 #Advanced AA Cannon: 5
			ap_attack = 30 #Advanced AA Cannon: 30
			air_attack = 46 #Advanced AA Cannon: 46
			build_cost_ic = 4 #Advanced AA Cannon: 4
			#reliability = -0.05 #Advanced AA Cannon: -0.1
		}

		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = lc_additional_armament
			convert_cost_ic = 8 #Advanced AA Cannon: 7
		}
		build_cost_resources = {
			tungsten = 1 #Advanced AA Cannon: 1
			steel = 3 #Advanced AA Cannon: 3
		}
	}
}