equipment_modules = {

### Engine Types

	tank_gasoline_engine = {
		abbreviation = "gas"
		category = tank_engine_type
		sfx = sfx_ui_sd_module_engine

		add_stats = {
			build_cost_ic = 1
			fuel_consumption = 2
			maximum_speed = 0.5
		}
		multiply_stats = {
			maximum_speed = 0.15
		}

	}

	tank_diesel_engine = {
		abbreviation = "die"
		category = tank_engine_type
		sfx = sfx_ui_sd_module_engine

		add_stats = {
			build_cost_ic = 1
			fuel_consumption = 2
			reliability = 0.25
		}
		multiply_stats = {
		}
	}

	tank_petrol_electric_engine = {
		abbreviation = "pel"
		category = tank_engine_type
		sfx = sfx_ui_sd_module_engine

		add_stats = {
			fuel_consumption = 2
			build_cost_ic = 2
			reliability = -0.5
			breakthrough = 2
			defense = 2
		}
		multiply_stats = {
			breakthrough = 0.15
			defense = 0.15
			build_cost_ic = 0.15
		}
	}

	tank_gas_turbine_engine = {
		abbreviation = "tur"
		category = tank_engine_type
		sfx = sfx_ui_sd_module_engine

		add_stats = {
			build_cost_ic = 3
			fuel_consumption = 4
			reliability = -0.1
			maximum_speed = 0.5
		}

		multiply_stats = {
			maximum_speed = 0.25
		}
	}

### Armor Types

	tank_riveted_armor = {
		abbreviation = "riv"
		category = tank_armor_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			#soft_attack = 1 # that's when rivets shoot back because they got dislodged by the shock. That was in fact the first reactive armor.

			defense = 2
			breakthrough = 2
		}
		xp_cost = 8
		multiply_stats = {
			build_cost_ic = -0.2
		}
	}

	tank_cast_armor = {
		abbreviation = "cas"
		category = tank_armor_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			defense = 4
			breakthrough = 4
		}
		xp_cost = 8
		multiply_stats = {
			build_cost_ic = 0.2
			armor_value = 0.5

		}
	}

	tank_welded_armor = {
		abbreviation = "wel"
		category = tank_armor_type
		sfx = sfx_ui_sd_module_sonar
		xp_cost = 8
		add_stats = {
			defense = 2
			breakthrough = 2
		}

		multiply_stats = {
			armor_value = 0.4

		}
	}

### Suspension Types

	tank_torsion_bar_suspension = {
		abbreviation = "tor"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 1
			reliability = 0.1
		}
		multiply_stats = {
		}
	}

	tank_christie_suspension = {
		abbreviation = "chr"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 1
		}
		multiply_stats = {
			maximum_speed = 0.2
		}
	}

	tank_bogie_suspension = {
		abbreviation = "bog"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

	}

	tank_interleaved_suspension = {
		abbreviation = "int"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 1
			breakthrough = 4
			reliability = -0.1
		}
		multiply_stats = {
		}
	}

	tank_hydropneumatic_suspension = {
		abbreviation = "int"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 2
			breakthrough = 4
		}
		multiply_stats = {
			maximum_speed = 0.1
		}
	}


	tank_wheeled_suspension = {
		abbreviation = "whe"
		category = tank_non_tracked_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			reliability = -0.2
		}
		multiply_stats = {
			build_cost_ic = -0.1
			hardness = -0.3
		}
	}

	tank_half_track_suspension = {
		abbreviation = "htr"
		category = tank_non_tracked_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 0.5
			reliability = -0.1
		}
		multiply_stats = {
			build_cost_ic = -0.05
			hardness = -0.2
		}
	}

	KGP_suspension = {
		abbreviation = "kps"
		category = KGP_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 1
		}
	}

### Turret

	###Turret Types - light
	### turrets are split by chassis to make it easier to control which guns they can mount

	#AC

	AC_no_turret = {
		abbreviation = "ant"
		category = AC_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0
		}
		xp_cost = 0
		multiply_stats = {

		}
		can_convert_from = {
			module_category = AC_turret_type
			convert_cost_ic = 0.05
		}
	}

	AC_one_man_tank_turret = {
		abbreviation = "a1m"
		category = AC_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.25
			breakthrough = 5
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = AC_turret_type
			convert_cost_ic = 0.15
		}

		allowed_module_categories = {
			main_armament_slot = {
				AC_main_armament
			}
		}
	}

	AC_two_man_tank_turret = {
		abbreviation = "a2m"
		category = AC_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.55
			breakthrough = 8
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = AC_turret_type
			convert_cost_ic = 0.25
		}

		allowed_module_categories = {
			main_armament_slot = {
				AC_main_armament
			}
		}
	}

	AC_three_man_tank_turret = {
		abbreviation = "a3m"
		category = AC_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.8
			maximum_speed = -0.2
			breakthrough = 10
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = AC_turret_type
			convert_cost_ic = 0.25
		}

		allowed_module_categories = {
			main_armament_slot = {
				AC_main_armament
			}
		}
	}

	#IFV

	IFV_one_man_tank_turret = {
		abbreviation = "l1m"
		category = IFV_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.5
			breakthrough = 7
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = IFV_turret_type
			convert_cost_ic = 0.25
		}
	}

	IFV_two_man_tank_turret = {
		abbreviation = "l2m"
		category = IFV_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.75
			breakthrough = 10
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = IFV_turret_type
			convert_cost_ic = 0.5
		}
	}

	IFV_three_man_tank_turret = {
		abbreviation = "l3m"
		category = IFV_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 1
			maximum_speed = -0.25
			breakthrough = 14
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = IFV_turret_type
			convert_cost_ic = 0.5
		}
	}

	IFV_fixed_superstructure_turret = {
		abbreviation = "lfs"
		category = IFV_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type = anti_air

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

		xp_cost = 2
		add_stats = {
			build_cost_ic = 0.75
			reliability = 0.2
			defense = 3
		}

		multiply_stats = {
			breakthrough = -0.25
		}
		can_convert_from = {
			module_category = IFV_turret_type
			convert_cost_ic = 0.5
		}
	}

	#MBT

	MBT_two_man_tank_turret = {
		abbreviation = "m2m"
		category = MBT_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 2.5
			breakthrough = 16
		}
		xp_cost = 2
		multiply_stats = {
		}
		can_convert_from = {
			module_category = MBT_turret_type
			convert_cost_ic = 1.5
		}
	}

	MBT_three_man_tank_turret = {
		abbreviation = "m3m"
		category = MBT_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 3
			maximum_speed = -0.25
			breakthrough = 20
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = MBT_turret_type
			convert_cost_ic = 2
		}
	}

	MBT_fixed_superstructure_turret = {
		abbreviation = "mfs"
		category = MBT_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type = anti_air

		allowed_module_categories = {

		}
		forbid_equipment_type_exact_match_for_category = {
			tank_heavy_main_armament = armor
			tank_super_heavy_main_armament = armor
		}

		xp_cost = 2
		add_stats = {
			build_cost_ic = 2.5
			reliability = 0.2
			defense = 3
		}

		multiply_stats = {
			breakthrough = -0.25
		}
		can_convert_from = {
			module_category = MBT_turret_type
			convert_cost_ic = 1.5
		}
	}

	#HEAVY

	Heavy_three_man_tank_turret = {
		abbreviation = "h3m"
		category = heavy_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 6
			maximum_speed = -0.25
			breakthrough = 22
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = heavy_turret_type
			convert_cost_ic = 2
		}
	}

	Heavy_four_man_tank_turret = {
		abbreviation = "h4m"
		category = heavy_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 8
			reliability = -0.1
			maximum_speed = -0.4
			breakthrough = 26
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = heavy_turret_type
			convert_cost_ic = 10
		}
	}

	Heavy_fixed_superstructure_turret = {
		abbreviation = "hfs"
		category = heavy_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type = anti_air

		allowed_module_categories = {

		}
		forbid_equipment_type_exact_match_for_category = {
			tank_heavy_main_armament = armor
			tank_super_heavy_main_armament = armor
		}

		xp_cost = 2
		add_stats = {
			build_cost_ic = 5.5
			reliability = 0.2
			defense = 3
		}

		multiply_stats = {
			breakthrough = -0.25
		}
		can_convert_from = {
			module_category = heavy_turret_type
			convert_cost_ic = 1.5
		}
	}

	#SUPERHEAVY

	Superheavy_three_man_tank_turret = {
		abbreviation = "sh3m"
		category = superheavy_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 10
			maximum_speed = -0.2
			breakthrough = 24
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = superheavy_turret_type
			convert_cost_ic = 8
		}
	}

	Superheavy_four_man_tank_turret = {
		abbreviation = "sh4m"
		category = superheavy_turret_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 12
			reliability = -0.1
			maximum_speed = -0.4
			breakthrough = 30
		}
		xp_cost = 2
		multiply_stats = {

		}
		can_convert_from = {
			module_category = superheavy_turret_type
			convert_cost_ic = 10
		}
	}

	Superheavy_fixed_superstructure_turret = {
		abbreviation = "shfs"
		category = superheavy_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type = anti_air

		allowed_module_categories = {

		}
		forbid_equipment_type_exact_match_for_category = {
			tank_heavy_main_armament = armor
			tank_super_heavy_main_armament = armor
		}

		xp_cost = 2
		add_stats = {
			build_cost_ic = 9
			reliability = 0.2
			defense = 5
		}

		multiply_stats = {
			breakthrough = -0.25
		}
		can_convert_from = {
			module_category = superheavy_turret_type
			convert_cost_ic = 7
		}
	}

	#KUGEL

	KGP_turret = {
		abbreviation = "kgt"
		category = KGP_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type = anti_air
		forbid_equipment_type = artillery

		allowed_module_categories = {
		}

		add_stats = {
			build_cost_ic = 2
			reliability = 0.05
			defense = 1
		}
	}

### Weapons

	tank_heavy_machine_gun = {
		abbreviation = "hmg"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 2
			ap_attack = 10
			build_cost_ic = 0.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	AC_mortar = {
		abbreviation = "acm"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 7
			hard_attack = 0.5
			ap_attack = 5
			build_cost_ic = 0.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	AC_AT_rifle = {
		abbreviation = "atr"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 2
			hard_attack = 3.5
			ap_attack = 15
			build_cost_ic = 0.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_recoilless_rifle_1 = {
		abbreviation = "rr1"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 8
			hard_attack = 8
			ap_attack = 20
			build_cost_ic = 1
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_recoilless_rifle_2 = {
		abbreviation = "rr2"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 13
			hard_attack = 13
			ap_attack = 40
			build_cost_ic = 2
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_recoilless_rifle_3 = {
		abbreviation = "rr3"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 20
			hard_attack = 20
			ap_attack = 65
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_grenade_launcher_1 = {
		abbreviation = "gl1"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10
			hard_attack = 5
			ap_attack = 13
			build_cost_ic = 1
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_grenade_launcher_2 = {
		abbreviation = "gl2"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 16
			hard_attack = 10
			ap_attack = 20
			build_cost_ic = 2
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_grenade_launcher_3 = {
		abbreviation = "gl3"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 25
			hard_attack = 15
			ap_attack = 30
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.05
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_missile_1 = {
		abbreviation = "m1"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 4
			hard_attack = 13
			ap_attack = 35
			build_cost_ic = 2.5
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_missile_2 = {
		abbreviation = "m2"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 25
			ap_attack = 70
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_missile_3 = {
		abbreviation = "m3"
		category = AC_no_turret_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 6
			hard_attack = 35
			ap_attack = 90
			build_cost_ic = 4
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		can_convert_from = {
			module_category = AC_no_turret_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	AC_cannon = {
		abbreviation = "acc"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 7
			hard_attack = 4
			ap_attack = 18
			build_cost_ic = 1
			maximum_speed = -0.1
			reliability = -0.05
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 1
		}
	}

	AC_cannon_2 = {
		abbreviation = "acc2"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10
			hard_attack = 9
			ap_attack = 30
			build_cost_ic = 2
			maximum_speed = -0.15
			reliability = -0.05
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 1.5
		}
	}

	AC_cannon_3 = {
		abbreviation = "acc3"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 15
			hard_attack = 16
			ap_attack = 60
			build_cost_ic = 3
			maximum_speed = -0.2
			reliability = -0.05
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 2.5
		}
	}

	AC_cannon_4 = {
		abbreviation = "acc4"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 22
			hard_attack = 26
			ap_attack = 75
			build_cost_ic = 4
			maximum_speed = -0.25
			reliability = -0.05
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 3.5
		}
	}

	flamethrower = { #Disco Inferno!
		abbreviation = "flt"
		category = tank_flamethrower
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = flame

		add_stats = {
			soft_attack = 5
			build_cost_ic = 0.5
			reliability = -0.05
		}
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}
	
	flamethrower_2 = { #NAPALM!
		abbreviation = "flt2"
		category = tank_flamethrower
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = flame

		add_stats = {
			soft_attack = 12
			breakthrough = 6
			build_cost_ic = 1.2
			reliability = -0.05
		}
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	tank_auto_cannon = {
		abbreviation = "ac1"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 15
			hard_attack = 5
			ap_attack = 20
			build_cost_ic = 1.5
			maximum_speed = -0.1
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 3
		}
	}

	tank_auto_cannon_2 = {
		abbreviation = "ac2"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_auto_cannon
		add_stats = {
			soft_attack = 20
			hard_attack = 7
			ap_attack = 35
			build_cost_ic = 2
			maximum_speed = -0.1
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 3.5
		}
	}

	tank_auto_cannon_3 = {
		abbreviation = "ac3"
		category = AC_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_auto_cannon
		add_stats = {
			soft_attack = 25
			hard_attack = 9
			ap_attack = 45
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = AC_main_armament
			convert_cost_ic = 3.5
		}
	}

	IFV_anti_air_cannon = {
		abbreviation = "aa1"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air

		add_stats = {
			soft_attack = 6
			hard_attack = 2
			ap_attack = 10
			air_attack = 16
			build_cost_ic = 2
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 4
		}
	}

	IFV_anti_air_cannon_2 = {
		abbreviation = "aa2"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		parent = IFV_anti_air_cannon
		add_stats = {
			soft_attack = 8
			hard_attack = 5
			ap_attack = 20
			air_attack = 32
			build_cost_ic = 3
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	IFV_anti_air_cannon_3 = {
		abbreviation = "aa3"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		parent = IFV_anti_air_cannon_2
		add_stats = {
			soft_attack = 10
			hard_attack = 5
			ap_attack = 30
			air_attack = 43
			build_cost_ic = 4
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			steel = 3
			tungsten = 1
		}
	}

	IFV_anti_air_cannon_4 = {
		abbreviation = "aa4"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		parent = IFV_anti_air_cannon_3
		add_stats = {
			soft_attack = 14
			hard_attack = 7
			ap_attack = 40
			air_attack = 57
			build_cost_ic = 6
			reliability = -0.1
		}
		multiply_stats = {
			breakthrough = -0.5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 8
		}
		build_cost_resources = {
			steel = 3
			tungsten = 1
			chromium = 2
		}
	}

	IFV_cannon = { #more or less light cannons
		abbreviation = "sc1"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10
			hard_attack = 6
			ap_attack = 25
			build_cost_ic = 1.5
			maximum_speed = -0.15
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 4
		}
	}

	IFV_cannon_2 = {
		abbreviation = "sc2"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_cannon
		add_stats = {
			soft_attack = 15
			hard_attack = 15
			ap_attack = 50
			build_cost_ic = 3
			maximum_speed = -0.2
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 5
		}
	}

	IFV_cannon_3 = {
		abbreviation = "sc3"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_cannon_2
		add_stats = {
			soft_attack = 21
			hard_attack = 24
			ap_attack = 75
			build_cost_ic = 4
			maximum_speed = -0.22
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 6
		}
	}

	IFV_cannon_4 = {
		abbreviation = "sc4"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_cannon_3
		add_stats = {
			soft_attack = 27
			hard_attack = 33
			ap_attack = 90
			build_cost_ic = 5
			maximum_speed = -0.25
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 7
		}
	}

	IFV_light_artillery = {
		abbreviation = "ia"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		add_stats = {
			soft_attack = 25
			hard_attack = 5
			ap_attack = 12
			build_cost_ic = 4
			maximum_speed = -0.2
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			steel = 1
		}
	}

	IFV_light_artillery_2 = {
		abbreviation = "ia2"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_light_artillery
		allow_equipment_type = artillery
		add_stats = {
			soft_attack = 40
			hard_attack = 10
			ap_attack = 16
			build_cost_ic = 5
			maximum_speed = -0.2
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 6.5
		}
		build_cost_resources = {
			steel = 1
		}
	}

	IFV_light_artillery_3 = {
		abbreviation = "ia3"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_light_artillery_2
		allow_equipment_type = artillery
		add_stats = {
			soft_attack = 55
			hard_attack = 15
			ap_attack = 20
			build_cost_ic = 7
			maximum_speed = -0.2
			reliability = -0.1
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 8
		}
		build_cost_resources = {
			steel = 2
		}
	}

	IFV_high_velocity_cannon = {
		abbreviation = "hv1"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10
			hard_attack = 26
			ap_attack = 85
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.05
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 2
			steel = 2
		}
	}

	IFV_high_velocity_cannon_2 = {
		abbreviation = "hv2"
		category = IFV_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = IFV_high_velocity_cannon

		add_stats = {
			soft_attack = 20
			hard_attack = 35
			ap_attack = 125
			build_cost_ic = 5
			maximum_speed = -0.3
			reliability = -0.175
		}
		xp_cost = 1
		can_convert_from = {
			module_category = IFV_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
			steel = 2
		}
	}

	MBT_cannon = { #more or less medium cannons
		abbreviation = "mc1"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 25
			hard_attack = 20
			ap_attack = 60
			build_cost_ic = 4
			maximum_speed = -0.1
			reliability = -0.1
			breakthrough = 2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 5
		}

		build_cost_resources = {
			tungsten = 1
		}
	}

	MBT_cannon_2 = {
		abbreviation = "mc2"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon
		add_stats = {
			soft_attack = 30
			hard_attack = 25
			ap_attack = 90
			build_cost_ic = 5
			maximum_speed = -0.1
			reliability = -0.15
			breakthrough = 4
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
		}
	}

	MBT_cannon_3 = {
		abbreviation = "mc3"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_2
		add_stats = {
			soft_attack = 40
			hard_attack = 30
			ap_attack = 120
			build_cost_ic = 6
			maximum_speed = -0.15
			reliability = -0.15
			breakthrough = 6
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 2
		}
	}

	MBT_cannon_4 = {
		abbreviation = "mc4"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_3
		add_stats = {
			soft_attack = 50
			hard_attack = 35
			ap_attack = 150
			build_cost_ic = 7
			maximum_speed = -0.15
			reliability = -0.15
			breakthrough = 8
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 2
		}
	}

	MBT_heavy_artillery = {
		abbreviation = "mh1"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 40
			hard_attack = 5
			ap_attack = 20
			build_cost_ic = 5
			maximum_speed = -0.3
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 2
		}
	}

	MBT_heavy_artillery_2 = {
		abbreviation = "mh2"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = MBT_heavy_artillery
		add_stats = {
			soft_attack = 55
			hard_attack = 15
			ap_attack = 30
			build_cost_ic = 6.5
			maximum_speed = -0.4
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 7.5
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 1
		}
	}
	
	MBT_heavy_artillery_3 = {
		abbreviation = "mh3"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = MBT_heavy_artillery
		add_stats = {
			soft_attack = 70
			hard_attack = 25
			ap_attack = 40
			build_cost_ic = 6.5
			maximum_speed = -0.4
			reliability = -0.2
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 3
			chromium = 2
		}
	}

	MBT_anti_air_cannon = {
		abbreviation = "aa1"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air

		add_stats = {
			soft_attack = 15
			hard_attack = 5
			ap_attack = 30
			air_attack = 35
			build_cost_ic = 5
			reliability = -0.1
		}
		multiply_stats = {
			breakthrough = -0.5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 4
		}
	}

	MBT_anti_air_cannon_2 = {
		abbreviation = "aa2"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_air
		parent = MBT_anti_air_cannon

		add_stats = {
			soft_attack = 35
			hard_attack = 10
			ap_attack = 30
			air_attack = 60
			build_cost_ic = 6
			reliability = -0.1
		}
		multiply_stats = {
			breakthrough = -0.5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = MBT_main_armament
			convert_cost_ic = 4
		}
	}


	heavy_cannon = {
		abbreviation = "hc1"
		category = heavy_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 20
			hard_attack = 20
			ap_attack = 100
			build_cost_ic = 6
			maximum_speed = -0.2
			reliability = -0.15
			breakthrough = 3 #Eh, keeping this around since tanks are kinda crappy in TNO for now. -Knife
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 5
		}

		build_cost_resources = {
			tungsten = 1
		}
	}

	heavy_cannon_2 = {
		abbreviation = "hc2"
		category = heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon
		add_stats = {
			soft_attack = 35
			hard_attack = 35
			ap_attack = 130
			build_cost_ic = 7
			maximum_speed = -0.3
			reliability = -0.15
			breakthrough = 5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
		}
	}

	heavy_cannon_3 = {
		abbreviation = "hc3"
		category = heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_2
		add_stats = {
			soft_attack = 45
			hard_attack = 45
			ap_attack = 170
			build_cost_ic = 8
			maximum_speed = -0.35
			reliability = -0.15
			breakthrough = 7
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 2
		}
	}

	heavy_cannon_4 = {
		abbreviation = "hc4"
		category = heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_3
		add_stats = {
			soft_attack = 55
			hard_attack = 55
			ap_attack = 200
			build_cost_ic = 9
			maximum_speed = -0.35
			reliability = -0.15
			breakthrough = 9
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 2
		}
	}

	superheavy_cannon = {
		abbreviation = "shc1"
		category = superheavy_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 35 #Why was this previously the same as medium cannons?
			hard_attack = 45
			ap_attack = 225
			build_cost_ic = 12.5 #Yeah, this was probably pasted and nobody cared.
			maximum_speed = -0.2
			reliability = -0.15 #Keeping this low to compensate for the weirdly high attrition TNO has.
			breakthrough = 3
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 5
		}

		build_cost_resources = {
			tungsten = 5
			chromium = 2
		}
	}

	superheavy_cannon_2 = {
		abbreviation = "shc2"
		category = superheavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon
		add_stats = {
			soft_attack = 45
			hard_attack = 55
			ap_attack = 300
			build_cost_ic = 15
			maximum_speed = -0.35
			reliability = -0.15
			breakthrough = 5
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 6
			chromium = 3
		}
	}

	superheavy_cannon_3 = {
		abbreviation = "shc3"
		category = superheavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_2
		add_stats = {
			soft_attack = 55
			hard_attack = 65
			ap_attack = 375
			build_cost_ic = 17.5
			maximum_speed = -0.35
			reliability = -0.15
			breakthrough = 7
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 7
			chromium = 4
		}
	}

	superheavy_cannon_4 = {
		abbreviation = "shc4"
		category = superheavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_3
		add_stats = {
			soft_attack = 65
			hard_attack = 75
			ap_attack = 450 #THIS WILL PEN EVERYTHING, BUT IT'S 1990S TECH LOL
			build_cost_ic = 20 #You're also expensive, given that you're a SHT
			maximum_speed = -0.35
			reliability = -0.15
			breakthrough = 9
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 8
			chromium = 5
		}
	}
	Liger_cannon = {
		abbreviation = "lc1"
		category = heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = MBT_cannon_3
		add_stats = {
			soft_attack = 71
			hard_attack = 71
			ap_attack = 220
			build_cost_ic = 36
			maximum_speed = -0.35
			reliability = -0.25
			breakthrough = 30
		}
		xp_cost = 1
		can_convert_from = {
			module_category = heavy_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 4
			chromium = 4
		}
	}	
	
### APC PARTS

	# DESIGNATION

	APC_infantry = {
		abbreviation = "apci"
		category = APC_designation_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0
		}
		xp_cost = 0
		multiply_stats = {

		}
		can_convert_from = {
			module_category = APC_designation_module
			convert_cost_ic = 0
		}
	}

	APC_support = {
		abbreviation = "apcs"
		category = APC_designation_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0
		}
		xp_cost = 0
		multiply_stats = {

		}
		can_convert_from = {
			module_category = APC_designation_module
			convert_cost_ic = 0
		}

		forbid_equipment_type_exact_match = armor

		forbid_equipment_type_exact_match_for_category = {
			apc_support_armament = armor
		}

		allowed_module_categories = {
			APC_armament_slot = {
				apc_support_armament
			}
		}
	}

	# APC ARMAMENT

	APC_no_weapon = {
		abbreviation = "apciw"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 0
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 0
		}
		xp_cost = 0
	}

	APC_infantry_weapon = {
		abbreviation = "apciw"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 7
			ap_attack = 10
			build_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	APC_infantry_weapon_2 = {
		abbreviation = "apciw2"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 10
			ap_attack = 20
			build_cost_ic = 1.5
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1.5
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1.5
		}
		xp_cost = 1
	}

	APC_infantry_weapon_3 = {
		abbreviation = "apciw3"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 13
			ap_attack = 30
			build_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_infantry_weapon_4 = {
		abbreviation = "apciw4"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 16
			ap_attack = 40
			build_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_infantry_AP_weapon = {
		abbreviation = "apciapw"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 4
			ap_attack = 20
			build_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	APC_infantry_AP_weapon_2 = {
		abbreviation = "apciapw2"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 6
			ap_attack = 40
			build_cost_ic = 1.5
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1.5
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1.5
		}
		xp_cost = 1
	}

	APC_infantry_AP_weapon_3 = {
		abbreviation = "apciapw3"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 7
			ap_attack = 60
			build_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_infantry_AP_weapon_4 = {
		abbreviation = "apciapw4"
		category = apc_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 8
			ap_attack = 80
			build_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_support_art = {
		abbreviation = "apcsart"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 22
			hard_attack = 4
			ap_attack = 10
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.1
		}
		allow_equipment_type = artillery
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		build_cost_resources = {
			steel = 1
		}
		xp_cost = 1
	}

	APC_support_art_2 = {
		abbreviation = "apcsart2"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 35
			hard_attack = 8
			ap_attack = 15
			build_cost_ic = 4
			maximum_speed = -0.1
			reliability = -0.1
		}
		allow_equipment_type = artillery
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 4
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			steel = 1
		}
		xp_cost = 1
	}

	APC_support_art_3 = {
		abbreviation = "apcsart3"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 45
			hard_attack = 12
			ap_attack = 20
			build_cost_ic = 6
			maximum_speed = -0.1
			reliability = -0.1
		}
		allow_equipment_type = artillery
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 6
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			steel = 2
		}
		xp_cost = 1
	}


	APC_support_aa = {
		abbreviation = "apcsaa"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 6
			hard_attack = 2
			ap_attack = 8
			air_attack = 10
			build_cost_ic = 2
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_support_aa_2 = {
		abbreviation = "apcsaa2"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 8
			hard_attack = 4
			ap_attack = 16
			air_attack = 20
			build_cost_ic = 3
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 3
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 3
		}
		build_cost_resources = {
			tungsten = 1
		}
		xp_cost = 1
	}

	APC_support_aa_3 = {
		abbreviation = "apcsaa3"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 10
			hard_attack = 5
			ap_attack = 25
			air_attack = 30
			build_cost_ic = 4
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 4
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			steel = 1
			tungsten = 1
		}
		xp_cost = 1
	}


	APC_support_aa_hard = {
		abbreviation = "apcsaah"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 2
			hard_attack = 2
			air_attack = 15
			build_cost_ic = 2
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 2
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 2
		}
		xp_cost = 1
	}

	APC_support_aa_hard_2 = {
		abbreviation = "apcsaah2"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 4
			hard_attack = 4
			air_attack = 30
			build_cost_ic = 3
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 3
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 3
		}
		build_cost_resources = {
			tungsten = 1
		}
		xp_cost = 1
	}

	APC_support_aa_hard_3 = {
		abbreviation = "apcsaah3"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 5
			air_attack = 40
			build_cost_ic = 4
			reliability = -0.1
		}
		allow_equipment_type = anti_air
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 4
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			steel = 1
			tungsten = 1
		}
		xp_cost = 1
	}

	APC_missile_1 = {
		abbreviation = "APCm1"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 4
			hard_attack = 13
			ap_attack = 35
			build_cost_ic = 2.5
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		allow_equipment_type = anti_tank
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	APC_missile_2 = {
		abbreviation = "APCm2"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 25
			ap_attack = 70
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		allow_equipment_type = anti_tank
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}

	APC_missile_3 = { #This should frankly be an IFV armament for SPATGM, but that's for later.
		abbreviation = "APCm3"
		category = apc_support_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 6
			hard_attack = 35
			ap_attack = 90
			build_cost_ic = 4
			maximum_speed = -0.1
			reliability = -0.1
			defense = -1.5
		}
		allow_equipment_type = anti_tank
		forbid_equipment_type_exact_match = armor
		can_convert_from = {
			module_category = apc_armament
			convert_cost_ic = 1
		}
		can_convert_from = {
			module_category = apc_support_armament
			convert_cost_ic = 1
		}
		xp_cost = 1
	}


###Special Modules

	autocannon_turret = {
		abbreviation = "act"
		category = tank_secondary_turret
		sfx = sfx_ui_sd_module_turret

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

	tank_radio_1 = {
		abbreviation = "rad1"
		category = tank_radio_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.5
		}
		xp_cost = 1
		multiply_stats = {
			defense = 0.25
			breakthrough = 0.15
		}
	}

	tank_radio_2 = {
		abbreviation = "rad2"
		category = tank_radio_module
		parent = tank_radio_1
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 1.5
		}

		multiply_stats = {
			defense = 0.45
			breakthrough = 0.30
		}
	}
	
	tank_radio_3 = {
		abbreviation = "rad3"
		category = tank_radio_module
		parent = tank_radio_2
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 2.5
		}
		xp_cost = 1
		multiply_stats = {
			defense = 0.6
			breakthrough = 0.4
		}
	}
	
	tank_radio_4 = { 
		abbreviation = "rad4"
		category = tank_radio_module
		parent = tank_radio_3
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 3.5
		}
		xp_cost = 1
		multiply_stats = {
			defense = 0.8
			breakthrough = 0.55
		}
	}

	tank_radio_5 = {
		abbreviation = "rad5"
		category = tank_radio_module
		parent = tank_radio_4
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 4.5
		}
		xp_cost = 1
		multiply_stats = {
			defense = 1
			breakthrough = 0.7
		}
	}

	amphibious_drive = {
		abbreviation = "amph"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = amphibious
		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 = {
			build_cost_ic = 2
			reliability = -0.15
		}
		xp_cost = 1
		multiply_stats = {
			build_cost_ic = 0.1
		}
	}

	secondary_turret_hmg = {
		abbreviation = "thmg"
		category = tank_secondary_turret
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 1
			reliability = -0.05
			soft_attack = 3
			hard_attack = 1
			breakthrough = 1
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	secondary_turret_small_cannon = {
		abbreviation = "tsc"
		category = tank_secondary_turret
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 3
			build_cost_ic = 2
			maximum_speed = -0.25
			reliability = -0.1
			breakthrough = 2
		}
		xp_cost = 1
		multiply_stats = {
			armor_value = -0.05
		}
	}

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

		add_stats = {
			build_cost_ic = 2
			breakthrough = 5
		}
		xp_cost = 1

	}

	smoke_launchers = {
		abbreviation = "smok"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.5
			defense = 2
			breakthrough = 1
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	smoke_emitter = {
		abbreviation = "smoe"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 0.5
			defense = 1
			breakthrough = 2
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	additional_armour = {
		abbreviation = "skirt"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			armor_value = 1.5
			breakthrough = 2
			defense = 2
			build_cost_ic = 1.5
			reliability = -0.1
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	dozer_blade = {
		abbreviation = "dozer"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			entrenchment = 2
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	auto_loader = {
		abbreviation = "auto"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 2
			breakthrough = 3
			defense = 2
		}
		xp_cost = 1

	}

	expanded_toolbox = {
		abbreviation = "tbt"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret
		
		add_stats = {
					reliability = 0.1
				}
		dismantle_cost_ic = 1
		xp_cost = 1
		multiply_stats = {
			build_cost_ic = -0.075
		}
	}

	additional_machine_guns = {
		abbreviation = "mg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 2
			defense = 2
			build_cost_ic = 0.5
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	ERA = {
		abbreviation = "era"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			armor_value = 5
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	night_vision = {
		abbreviation = "nvg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			recon = 0.5
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	nuclear_protection = {
		abbreviation = "nuke"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = 0.05
			defense = 2
			build_cost_ic = 1.5
		}
		xp_cost = 1
		multiply_stats = {

		}
	}

	fire_control_system = {
		abbreviation = "fcs"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			defense = 0.5
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {
			hard_attack = 0.1
		}
	}

	active_protection_system = {
		abbreviation = "aps"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = -0.1
			build_cost_ic = 1.5
			defense = 5
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	anti_tank_guided_missiles = {
		abbreviation = "atgm"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 1
			build_cost_ic = 1
			ap_attack = 10
			hard_attack = 5 #These things murder tanks.
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	spall_liner = {
		abbreviation = "spl"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			defense = 1
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	expanded_fuel_capacity = {
		abbreviation = "fuel"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			fuel_capacity = 100
			build_cost_ic = 1
			maximum_speed = -0.25
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	command_optics = {
		abbreviation = "cup"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			recon = 0.5
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	crew_heater = {
		abbreviation = "wrm"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = 0.05
			build_cost_ic = 0.025
		}
		xp_cost = 1
		multiply_stats = {
		}
	}

	fire_protection_equipment = {
		abbreviation = "fpe"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = 0.1
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {
		}
	}
## Experimental Modules
	experimental_night_vision = {
		abbreviation = "nvg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			recon = 1.5
			soft_attack = 2.5
			maximum_speed = 0.5
			reliability = -0.05
			build_cost_ic = 1.5
		}
		xp_cost = 1
		multiply_stats = {
			
		}
	}

	experimental_TOW_missile = {
		abbreviation = "TOW"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 3
			build_cost_ic = 2
			hard_attack = 6
			armor_value = -3
		}
		xp_cost = 1
		multiply_stats = {
			
		}
	}

	experimental_gyrostabiliser = {
		abbreviation = "nvg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			reliability = -0.10
			build_cost_ic = 2.5
			breakthrough = 4
		}
		xp_cost = 1
		multiply_stats = {
			maximum_speed = 0.2
		}
	}

	experimental_screw_suspension = {
		abbreviation = "screwsusp"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_sonar

		add_stats = {
			build_cost_ic = 2.5
			reliability = -0.05
			breakthrough = 4
			armor_value = 5
		}
		xp_cost = 1
		multiply_stats = {
			maximum_speed = -0.1
		}
	}

	experimental_auto_loader = {
		abbreviation = "autoload"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 5
			hard_attack = 5
			reliability = -0.05
			build_cost_ic = 1
		}
		xp_cost = 1
		multiply_stats = {
			
		}
	}

	experimental_wheel_suspension = {
		abbreviation = "wheelsusp"
		category = tank_suspension_type
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			build_cost_ic = 2.5
		}
		xp_cost = 1
		multiply_stats = {
			maximum_speed = 0.35
			armor_value = -0.2
		}
	}

	experimental_computer_assist_turret = {
		abbreviation = "caturret"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 38
			hard_attack = 13
			ap_attack = 33
			build_cost_ic = 8.5
			maximum_speed = -1.5
			reliability = -0.3
		}
		xp_cost = 1
		multiply_stats = {
			armor_value = 0.15
		}
	}

	experimental_missile_saturation_turret = {
		abbreviation = "saturatiotur"
		category = MBT_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 49
			hard_attack = 3
			ap_attack = 32
			build_cost_ic = 8
			maximum_speed = -0.8
			reliability = -0.3
		}
		xp_cost = 1
		multiply_stats = {
			armor_value = -0.15
		}
	}
}
