equipment_modules = {

#CS Gun

	imp_tank_close_support_gun = {
		abbreviation = "ics"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_close_support_gun
		add_stats = {
			soft_attack = 32
			hard_attack = 6
			ap_attack = 10
			build_cost_ic = 6
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			steel = 1
		}
	}

### Armor Types

	aluminium_armor = {
		abbreviation = "aarm"
		category = tank_armor_type
		sfx = tank_armor_type
		xp_cost = 8
		
		add_stats = {
			defense = 5
			breakthrough = 5
		}
		xp_cost = 8
		multiply_stats = {
			build_cost_ic = -0.25
			armor_value = -0.1
			hardness = -0.125
		}
		build_cost_resources = {
			aluminium = 2
			steel = -2
		}
	}
	
	composite_armor = {
		abbreviation = "com"
		category = tank_armor_type
		sfx = tank_armor_type
		xp_cost = 8
		
		add_stats = {
			defense = 5
			breakthrough = 5
		}
		xp_cost = 8
		multiply_stats = {
			build_cost_ic = 0.3
			armor_value = 0.6
		}
		build_cost_resources = {
			steel = -1
		}
	}
	###AA

	tank_anti_air_cannon_4 = {
		abbreviation = "aa4"
		category = tank_aa_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 = 14
			hard_attack = 6
			ap_attack = 35
			air_attack = 55
			build_cost_ic = 6
			reliability = -0.1
			#breakthrough = -20
		}
		multiply_stats = {
			#breakthrough = -0.95
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 1
			chromium = 1
		}
	}

	tank_anti_air_cannon_5 = {
		abbreviation = "aa5"
		category = tank_aa_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 = {
			soft_attack = 18
			hard_attack = 7
			ap_attack = 40
			air_attack = 65
			build_cost_ic = 7
			reliability = -0.1
			#breakthrough = -20
		}
		multiply_stats = {
			#breakthrough = -0.95
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 1
			chromium = 1
		}
	}
	
	###Small Cannon

	tank_small_cannon_3 = {
		abbreviation = "sc3"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_small_cannon
		add_stats = {
			soft_attack = 14
			hard_attack = 18
			ap_attack = 75
			build_cost_ic = 5
			maximum_speed = -0.25
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 7
		}
	}
		
	tank_small_cannon_4 = {
		abbreviation = "sc4"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_small_cannon
		add_stats = {
			soft_attack = 20
			hard_attack = 30
			ap_attack = 100
			build_cost_ic = 6
			maximum_speed = -0.25
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 7
		}
	}
	###Medium Cannon

	tank_medium_cannon_3 = {
		abbreviation = "mc3"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_medium_cannon_2
		add_stats = {
			soft_attack = 35
			hard_attack = 30
			ap_attack = 110
			build_cost_ic = 7
			maximum_speed = -0.4
			reliability = -0.15
			breakthrough = 4
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
		}
	}
	###Med Howitzer

	tank_medium_howitzer_3 = {
		abbreviation = "mh3"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_medium_howitzer_2
		add_stats = {
			soft_attack = 45
			hard_attack = 3
			ap_attack = 40
			build_cost_ic = 9
			maximum_speed = -0.5
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 7.5
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}

	tank_medium_howitzer_4 = {
		abbreviation = "mh4"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_medium_howitzer_3
		add_stats = {
			soft_attack = 50
			hard_attack = 5
			ap_attack = 50
			build_cost_ic = 11
			maximum_speed = -0.6
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}

	tank_medium_howitzer_5 = {
		abbreviation = "mh5"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_medium_howitzer_4
		add_stats = {
			soft_attack = 55
			hard_attack = 5
			ap_attack = 60
			build_cost_ic = 14
			maximum_speed = -0.7
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 11			
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}
	###High Velocity Cannon


	tank_high_velocity_cannon_4 = {
		abbreviation = "hv4"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 25
			hard_attack = 50
			ap_attack = 220
			build_cost_ic = 10
			maximum_speed = -0.5
			reliability = -0.225
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}

	tank_high_velocity_cannon_5 = {
		abbreviation = "hv5"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 30
			hard_attack = 60
			ap_attack = 240
			build_cost_ic = 12
			maximum_speed = -0.6
			reliability = -0.25
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}

	tank_ATGM = {	
		abbreviation = "atg"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		forbid_equipment_type_exact_match = armor
		forbid_equipment_type = anti_air
		forbid_equipment_type = artillery
		forbid_equipment_type = flame

		add_stats = {
			hard_attack = 65
			ap_attack = 280
			build_cost_ic = 12
			maximum_speed = -0.3
			reliability = -0.3
		}
		
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		
		build_cost_resources = {
			tungsten = 1
			aluminium = 1
		}
	}

	aux_atgm_launcher = {
		abbreviation = "axtg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			hard_attack = 30
			defense = 20
			build_cost_ic = 10
			reliability = -0.1
			breakthrough = -20
		}
		xp_cost = 2
		multiply_stats = {
			
		}
	}

	tank_heavy_cannon_4 = {
		abbreviation = "hc3"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_heavy_cannon_3
		add_stats = {
			soft_attack = 35
			hard_attack = 45
			ap_attack = 200
			build_cost_ic = 9
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
			steel = 3
		}
	}
	###Heavy Howitzer
	
	tank_heavy_howitzer_1 = {
		abbreviation = "hh1"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_heavy_howitzer

		add_stats = {
			soft_attack = 65
			hard_attack = 7
			ap_attack = 70
			build_cost_ic = 11
			maximum_speed = -0.5
			reliability = -0.3
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}

		build_cost_resources = {
			tungsten = 3
			chromium = 2
		}
	}
	
	
	tank_heavy_howitzer_2 = {
		abbreviation = "hh2"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_heavy_howitzer_1

		add_stats = {
			soft_attack = 80
			hard_attack = 8
			ap_attack = 80
			build_cost_ic = 14
			maximum_speed = -0.5
			reliability = -0.35
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}

		build_cost_resources = {
			tungsten = 3
			chromium = 2
		}
	}
	
	
	tank_heavy_howitzer_3 = {
		abbreviation = "hh3"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_heavy_howitzer_2

		add_stats = {
			soft_attack = 105
			hard_attack = 9
			ap_attack = 90
			build_cost_ic = 17
			maximum_speed = -0.5
			reliability = -0.4
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}

		build_cost_resources = {
			tungsten = 3
			chromium = 2
		}
	}		
	
	tank_super_heavy_howitzer = {
		abbreviation = "hh3"
		category = tank_super_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		#parent = tank_heavy_howitzer_2

		add_stats = {
			soft_attack = 115
			hard_attack = 8
			ap_attack = 110
			build_cost_ic = 25
			maximum_speed = -2
			reliability = -0.5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_super_heavy_main_armament
			convert_cost_ic = 10
		}

		build_cost_resources = {
			tungsten = 3
			chromium = 2
		}
	}	
	###Special Modules

	stabilizer = {
		abbreviation = "stab"
		category = tank_stabilizer
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 2
			breakthrough = 5
			reliability = -0.1
		}
		multiply_stats = {
			hard_attack = 0.05
			soft_attack  = 0.05
		}
		xp_cost = 1
	}
	
	stabilizer_2 = {
		abbreviation = "sta2"
		category = tank_stabilizer
		sfx = sfx_ui_sd_module_turret
		parent = stabilizer

		add_stats = {
			build_cost_ic = 3
			breakthrough = 7
			reliability = -0.1
		}
		multiply_stats = {
			hard_attack = 0.075
			soft_attack  = 0.075
		}
		xp_cost = 1

	}
	
	stabilizer_3 = {
		abbreviation = "sta3"
		category = tank_stabilizer
		sfx = sfx_ui_sd_module_turret
		parent = stabilizer_2

		add_stats = {
			build_cost_ic = 4
			breakthrough = 10
		}
		multiply_stats = {
			hard_attack = 0.1
			soft_attack  = 0.1
		}
		xp_cost = 1

	}

	apds_ammo = {
		abbreviation = "apds"
		category = tank_special_ammo
		sfx = sfx_ui_sd_module_turret

		forbid_equipment_type = flame		
		forbid_equipment_type = anti_air
		forbid_equipment_type = artillery

		add_stats = {
			
		}
		xp_cost = 1
		multiply_stats = {
			ap_attack = 0.10
		}

		build_cost_resources = {
			tungsten = 1
		}
	}

	heatfs_ammo = {
		abbreviation = "apds"
		category = tank_special_ammo
		sfx = sfx_ui_sd_module_turret
		parent = apds_ammo

		forbid_equipment_type = flame
		forbid_equipment_type = anti_air
		forbid_equipment_type = artillery

		add_stats = {
			
		}
		xp_cost = 1
		multiply_stats = {
			ap_attack = 0.15
		}

		build_cost_resources = {
			tungsten = 1
		}
	}

	apfsds_ammo = {
		abbreviation = "apfs"
		category = tank_special_ammo
		sfx = sfx_ui_sd_module_turret
		parent = heatfs_ammo

		forbid_equipment_type = flame
		forbid_equipment_type = anti_air
		forbid_equipment_type = artillery
		
		add_stats = {
			
		}
		xp_cost = 1
		multiply_stats = {
			ap_attack = 0.2
		}

		build_cost_resources = {
			tungsten = 1
		}
	}

	rangefinder_1 = {
		abbreviation = "rang"
		category = tank_rangefinder
		sfx = sfx_ui_sd_module_turret

		forbid_equipment_type = flame
		
		add_stats = {
			reliability = -0.1
		}
		xp_cost = 1
		multiply_stats = {
			breakthrough = 0.1
			hard_attack = 0.05
			soft_attack  = 0.05
		}
	}

	rangefinder_2 = {
		abbreviation = "ran2"
		category = tank_rangefinder
		sfx = sfx_ui_sd_module_turret
		parent = rangefinder_1

		forbid_equipment_type = flame
		
		add_stats = {
			reliability = -0.1
			
		}
		xp_cost = 1
		multiply_stats = {
			breakthrough = 0.15
			hard_attack = 0.075
			soft_attack  = 0.075
		}
	}

	# covered_top = {
		# abbreviation = "covt"
		# category = hull_cover
		# sfx = sfx_ui_sd_module_turret
		
		# add_stats = {
			
		# }
		# xp_cost = 1

	# }

	open_top = {
		abbreviation = "opet"
		category = hull_cover
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
			hardness = -0.15
		}
		
		allow_equipment_type = anti_tank
		
		allowed_module_categories = {
			main_armament_slot = {
				tank_medium_main_armament
			}
		}
		
		allowed_module_categories = {
			main_armament_slot = {
				tank_heavy_main_armament
			}
		}
		
		xp_cost = 1
		
		multiply_stats = {			
			build_cost_ic = -0.2
			maximum_speed = 0.15
		}
	}

	oscillating_turret = {
		abbreviation = "osct"
		category = oscillating_turret_type_normal
		sfx = sfx_ui_sd_module_turret
				
		allowed_module_categories = {
			main_armament_slot = {				
				tank_medium_main_armament		
				tank_heavy_main_armament
			}
		}		
		
		allow_equipment_type = anti_tank
				
		add_stats = {
			reliability = -0.15
		}
		
		xp_cost = 1
		multiply_stats = {	
			defense = -0.075	
			breakthrough = 0.15
		}
	}

	oscillating_turret_small = {
		abbreviation = "osct"
		category = oscillating_turret_type_small
		sfx = sfx_ui_sd_module_turret
				
		allowed_module_categories = {
			main_armament_slot = {				
				tank_medium_main_armament		
				tank_heavy_main_armament
			}
		}		
		allow_equipment_type = anti_tank
				
		add_stats = {
			reliability = -0.3
		}
		
		xp_cost = 1
		multiply_stats = {	
			defense = -0.15	
			#breakthrough = 0.075
		}
	}
	
	# recovery_equipment = {
		# abbreviation = "arv"
		# category = tank_medium_main_armament
		# sfx = sfx_ui_sd_module_turret
				
		# forbid_equipment_type_exact_match = armor
		# forbid_equipment_type = anti_air
		# forbid_equipment_type = artillery
		# forbid_equipment_type = anti_tank
		# forbid_equipment_type = flame
		
		# add_stats = {
			# reliability = -0.1
		# }
		# xp_cost = 1
	# }
	
	tank_modern_tank_turret_2 = {
		abbreviation = "mb2"
		category = tank_modern_turret_type
		sfx = sfx_ui_sd_module_turret

		allowed_module_categories = {
			main_armament_slot = {
				tank_medium_main_armament
				tank_heavy_main_armament
			}
		}
		add_stats = {
			build_cost_ic = 10
			breakthrough = 28
		}
		dismantle_cost_ic = 1
		xp_cost = 2
		multiply_stats = {
		
		}

	}	

	tank_heavy_modern_turret = {
		abbreviation = "hmt"
		category = tank_modern_heavy_turret_type
		gui_category = tank_modern_turret_type
		sfx = sfx_ui_sd_module_turret

		allowed_module_categories = {
			main_armament_slot = {				
				tank_heavy_main_armament		
				tank_medium_main_armament
			}
		}

		dismantle_cost_ic = 1
		xp_cost = 2
		add_stats = {
			build_cost_ic = 7.5
			maximum_speed = -0.2
			breakthrough = 24
		}

		multiply_stats = {
			
		}
		
	}	

	tank_aa_radar = {
		abbreviation = "aar"
		category = tank_radio_module
		sfx = sfx_ui_sd_module_turret
		
		forbid_equipment_type_exact_match = armor		
		forbid_equipment_type = amphibious
		forbid_equipment_type = artillery
		forbid_equipment_type = anti_tank
		forbid_equipment_type = flame
				
		add_stats = {
			reliability = -0.15
		}
		multiply_stats = {
			air_attack = 0.5
			build_cost_ic = 0.5
		}
		xp_cost = 1
		
		# allowed_module_categories = {
			# special_type_slot_1 = {
				# tank_screen_module
			# }
			# special_type_slot_2 = {
				# tank_screen_module
			# }
			# special_type_slot_3 = {
				# tank_screen_module
			# }
			# special_type_slot_4 = {
				# tank_screen_module
			# }
		# }
	}	

	armor_skirts_2 = {
		abbreviation = "skir2"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			armor_value = 8
			breakthrough = 12
			build_cost_ic = 2
		}
		xp_cost = 1
		multiply_stats = {
			maximum_speed = -0.15
		}
	}

	tank_super_heavy_fixed_superstructure_turret = {
		abbreviation = "sfs"
		category = tank_super_heavy_turret_type
		sfx = sfx_ui_sd_module_turret

		allowed_module_categories = {
			main_armament_slot = {				
				tank_heavy_main_armament
				tank_super_heavy_main_armament
			}
		}
		
		forbid_equipment_type_exact_match_for_category = {
			tank_super_heavy_main_armament = armor
		}		

		multiply_stats = {
			breakthrough = -0.25
		}
		
		add_stats = {
			build_cost_ic = 10
			reliability = -0.15
			maximum_speed = -0.25
			defense = 5
		}
		
		dismantle_cost_ic = 1
		xp_cost = 2
		multiply_stats = {
			
		}

		can_convert_from = {
			module = tank_super_heavy_turret_type
			convert_cost_ic = 5
		}

	}	

	ballistic_computer = {
		abbreviation = "mblm"
		category = tank_radio_module
		parent = tank_radio_3
		sfx = sfx_ui_sd_module_turret
		
		forbid_equipment_type_exact_match = anti_air

		add_stats = {
			build_cost_ic = 3
		}
		
		xp_cost = 1
		multiply_stats = {
			defense = 0.60
			breakthrough = 0.40
			soft_attack = 0.1
			hard_attack = 0.1
		}
	}

	# radar_fire_director = {
		# abbreviation = "rfd"
		# category = tank_screen_module
		# gui_category =tank_radio_module
		# parent = tank_radio_3
		# sfx = sfx_ui_sd_module_turret
		
		# forbid_equipment_type_exact_match = armor
		# forbid_equipment_type_exact_match = anti_tank
		# forbid_equipment_type_exact_match = artillery
		# forbid_equipment_type_exact_match = amphibious
		# forbid_equipment_type_exact_match = flame

		# add_stats = {
			# build_cost_ic = 3
			# air_attack = 10
			# reliability = -0.05
		# }
		
		# xp_cost = 1
	# }

	auto_loader_1 = {
		abbreviation = "aut1"
		category = tank_special_module_autoloader
		sfx = sfx_ui_sd_module_turret

		forbid_equipment_type_exact_match = flame
		forbid_equipment_type_exact_match = anti_air
		
		add_stats = {
			#breakthrough = 10
			hard_attack = 15
			soft_attack = 15
			#defense = -5
			armor_value = -15
			reliability = -0.35
		}
		multiply_stats = {	
			build_cost_ic = 0.1	
		}
		xp_cost = 1
		
	}
	
	tank_radio_0 = {
		abbreviation = "rad0"
		category = tank_radio_module
		sfx = sfx_ui_sd_module_turret

		
		xp_cost = 1
		multiply_stats = {
			defense = 0.05
			breakthrough = 0.03
		}
	}

	anti_tank_rocket_main = {
		abbreviation = "atr"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_medium_cannon
		dismantle_cost_ic = 1
		add_stats = {
			soft_attack = 15
			hard_attack = 25
			ap_attack = 40
			build_cost_ic = 2
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 1
			#steel = 2
			chromium = 1
		}
	}

	secondary_anti_tank_rocket = {
		abbreviation = "satr"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 9
			ap_attack = 13
			build_cost_ic = 1			
			reliability = -0.1
		}
		xp_cost = 1
		multiply_stats = {
			
		}
	}
	
	####### LAND CRUISER
	
	lc_high_impact_obliterator_cannon_2 = {
		abbreviation = "hioc"
		category = lc_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = lc_high_impact_obliterator_cannon

		add_stats = {
			breakthrough = 30 #LC Needs breakthrough
			soft_attack = 40 #Advanced AT Cannon: 25
			hard_attack = 80 #Advanced AT Cannon: 45 
			ap_attack = 300 #Advanced AT Cannon: 200 
			build_cost_ic = 18 #Advanced AT Cannon: 7 
			maximum_speed = -0.4 #Advanced AT Cannon: -0.4 
			reliability = -0.1 #Advanced AT Cannon: -0.2 
		}

		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = lc_main_armament
			convert_cost_ic = 16 #Advanced AT Cannon: 7
		}
		build_cost_resources = {
			tungsten = 7 #Advanced AT Cannon: 2
			chromium = 3 #Advanced AT Cannon: 1
			steel = 4 #Advanced AT Cannon: 3
		}
	}

	lc_sam = {
		abbreviation = "haab"
		category = lc_sam_category
		gui_category = lc_additional_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 = 80 #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 = {
			aluminium = 4 #Advanced AA Cannon: 1
			#steel = 4 #Advanced AA Cannon: 3
		}
	}

	lc_composite_armor = {
		abbreviation = "ask"
		category = lc_external_features
		sfx = sfx_ui_sd_module_turret
		
		xp_cost = 1
		
		multiply_stats = {
			build_cost_ic = 0.1
		}
		build_cost_resources = {
			steel = -6
		}
	}
	
	lc_nuclear_reactor = {
		abbreviation = "ocg"
		category = lc_structural_features
		sfx = sfx_ui_sd_module_turret

		multiply_stats = {
			fuel_consumption = -1
			maximum_speed = 0.2
		}
		xp_cost = 1
	}
	
	lc_workshop = {
		abbreviation = "ocg"
		category = lc_structural_features
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = 0.3
		}
		xp_cost = 1
	}

	### Late Cold War Tank Systems

	infrared_searchlight = {
		abbreviation = "irs"
		category = tank_ir_sight
		gui_category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 1
			reliability = -0.15
		}
		multiply_stats = {
			defense = 0.05
			breakthrough = 0.03
		}
		xp_cost = 1
	}

	tank_nbc_protection = {
		abbreviation = "nbc"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			defense = 3
			breakthrough = 1
			build_cost_ic = 1.5
			reliability = 0.1
		}
		xp_cost = 1
	}

	early_smoothbore_cannon = {
		abbreviation = "smb"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_high_velocity_cannon_5

		add_stats = {
			soft_attack = 24
			hard_attack = 68
			ap_attack = 260
			build_cost_ic = 13
			maximum_speed = -0.6
			reliability = -0.25
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}

	tank_gun_launcher_152mm = {
		abbreviation = "glr"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		#allow_equipment_type = anti_tank
		allow_equipment_type = armored_recovery_vehicle
		parent = tank_ATGM

		forbid_equipment_type_exact_match = anti_air
		forbid_equipment_type = artillery
		forbid_equipment_type = flame

		add_stats = {
			soft_attack = 28
			hard_attack = 72
			ap_attack = 285
			build_cost_ic = 15
			maximum_speed = -0.5
			reliability = -0.40
			breakthrough = -5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 12
		}
		build_cost_resources = {
			tungsten = 1
			aluminium = 2
		}
	}

	passive_night_sights = {
		abbreviation = "pns"
		category = tank_ir_sight
		gui_category = tank_special_module
		sfx = sfx_ui_sd_module_turret
		parent = infrared_searchlight

		add_stats = {
			build_cost_ic = 2
			reliability = -0.15
		}
		multiply_stats = {
			defense = 0.10
			breakthrough = 0.05
			hard_attack = 0.03
			soft_attack = 0.03
		}
		xp_cost = 1
	}

	laser_rangefinder_tank = {
		abbreviation = "lrf"
		category = tank_rangefinder
		sfx = sfx_ui_sd_module_turret
		parent = rangefinder_2

		forbid_equipment_type_exact_match = flame

		add_stats = {
			build_cost_ic = 2
			reliability = -0.05
		}
		multiply_stats = {
			breakthrough = 0.20
			hard_attack = 0.10
			soft_attack = 0.05
		}
		xp_cost = 1
	}

	solid_state_ballistic_computer = {
		abbreviation = "ssbc"
		category = tank_radio_module
		sfx = sfx_ui_sd_module_turret
		parent = ballistic_computer

		forbid_equipment_type_exact_match = anti_air
		forbid_equipment_type_exact_match = flame

		add_stats = {
			build_cost_ic = 5
			reliability = -0.1
		}
		multiply_stats = {
			defense = 0.70
			breakthrough = 0.50
			soft_attack = 0.12
			hard_attack = 0.12
		}
		xp_cost = 1
	}

	remote_20mm_weapon_station = {
		abbreviation = "r20"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			air_attack = 3
			soft_attack = 4
			defense = 2
			build_cost_ic = 3
			reliability = -0.2
		}
		xp_cost = 1
	}

	improved_ammunition_stowage = {
		abbreviation = "iast"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret
		parent = wet_ammo_storage

		forbid_equipment_type_exact_match = flame

		add_stats = {
			reliability = 0.20
			defense = 3
			build_cost_ic = 1.5
		}
		multiply_stats = {
			breakthrough = -0.03
		}
		xp_cost = 1
	}

}
