equipment_modules = {

	###Weapons

	tank_heavy_machine_gun = { #12mm HMG
		abbreviation = "hmg"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 2
			hard_attack = 1
			ap_attack = 2
			defense = 2
			breakthrough = 1
			build_cost_ic = 0.5
		}
		xp_cost = 1
		dismantle_cost_ic = 0.5

		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 1
		}
	}

	flamethrower = { #Hans, hol den Flammenwerfer!
		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
		}
		xp_cost = 1
		dismantle_cost_ic = 0.5

		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 0.5
		}
		build_cost_resources = {
			chromium = 1
		}
	}

	tank_auto_cannon = { #20mm
		abbreviation = "ac1"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 3
			hard_attack = 2
			ap_attack = 3
			defense = 2
			breakthrough = 2
			build_cost_ic = 1
			maximum_speed = -0.1
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 1
		}
	}

	tank_auto_cannon_2 = { #30mm
		abbreviation = "ac2"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_auto_cannon
		add_stats = {
			soft_attack = 5
			hard_attack = 3
			ap_attack = 5
			defense = 2
			breakthrough = 3
			build_cost_ic = 1.5
			maximum_speed = -0.1
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 1.5
		}
	}

	tank_anti_air_cannon = { #20mm Dual
		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 = 6
			hard_attack = 4
			ap_attack = 3
			air_attack = 5
			build_cost_ic = 2.5
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 4
		}
	}

	tank_anti_air_cannon_2 = { #37mm Dual
		abbreviation = "aa2"
		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 = 12
			hard_attack = 7
			ap_attack = 6
			air_attack = 15
			build_cost_ic = 4
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 4
		}
	}

	tank_anti_air_cannon_3 = { #57mm Dual
		abbreviation = "aa3"
		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 = 15
			hard_attack = 12
			ap_attack = 12
			air_attack = 18
			build_cost_ic = 5
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 5
		}
	}

	tank_anti_air_cannon_4 = { #85mm
		abbreviation = "aa4"
		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 = 8
			hard_attack = 18
			ap_attack = 24
			air_attack = 21
			build_cost_ic = 6
			reliability = -0.15
		}
		dismantle_cost_ic = 1.0
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_anti_air_cannon_5 = { #100mm
		abbreviation = "aa5"
		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 = 10
			hard_attack = 24
			ap_attack = 27
			air_attack = 27
			build_cost_ic = 7
			reliability = -0.15
		}
		dismantle_cost_ic = 1.0
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	
	tank_small_cannon = { #37mm Cannon
		abbreviation = "sc1"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 3
			hard_attack = 6
			ap_attack = 20
			defense = 1
			breakthrough = 1
			build_cost_ic = 1
			maximum_speed = -0.15
			reliability = -0.1
		}
		dismantle_cost_ic = 0.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 1
		}
	}

	tank_small_cannon_2 = { #47mm Cannon
		abbreviation = "sc2"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_small_cannon
		add_stats = {
			soft_attack = 5
			hard_attack = 8
			ap_attack = 32
			defense = 2
			breakthrough = 1
			build_cost_ic = 2
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
	}

	tank_small_cannon_3 = { #57mm Cannon
		abbreviation = "sc3"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = tank_small_cannon_2
		add_stats = {
			soft_attack = 7
			hard_attack = 10
			ap_attack = 48
			defense = 2
			breakthrough = 2
			build_cost_ic = 3
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 2
		}
	}

	tank_close_support_gun = { #75mm Support Cannon
		abbreviation = "cs"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		#allow_equipment_type = anti_tank
		add_stats = {
			soft_attack = 9
			hard_attack = 5
			ap_attack = 6
			defense = 1
			breakthrough = 1
			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 = 2
		}
	}

	tank_medium_cannon = { #75/76mm Cannon
		abbreviation = "mc1"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 9
			hard_attack = 12
			ap_attack = 84
			defense = 3
			breakthrough = 2
			build_cost_ic = 4
			maximum_speed = -0.2
			reliability = -0.15
			breakthrough = 2
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_medium_howitzer = { #75mm Howitzer
		abbreviation = "cs"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		add_stats = {
			soft_attack = 9
			hard_attack = 6
			ap_attack = 8
			defense = 3
			breakthrough = 2
			build_cost_ic = 3
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 3
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_medium_howitzer_2 = { #85mm Howitzer
		abbreviation = "cs"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		add_stats = {
			soft_attack = 12
			hard_attack = 8
			ap_attack = 12
			defense = 4
			breakthrough = 3
			build_cost_ic = 4
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 1
		}
	}
	
	tank_medium_cannon_2 = { #85/88mm Cannon
		abbreviation = "mc2"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_medium_cannon
		add_stats = {
			soft_attack = 11
			hard_attack = 15
			ap_attack = 108
			defense = 3
			breakthrough = 3
			build_cost_ic = 5
			maximum_speed = -0.3
			reliability = -0.15
			breakthrough = 4
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 6
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_heavy_howitzer = { #100/105mm Howitzer
		abbreviation = "mh1"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 18
			hard_attack = 11
			ap_attack = 17
			defense = 5
			breakthrough = 4
			build_cost_ic = 5
			maximum_speed = -0.3
			reliability = -0.2
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 5
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_heavy_howitzer_2 = { #120/122mm Howitzer
		abbreviation = "mh2"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_medium_howitzer
		add_stats = {
			soft_attack = 24
			hard_attack = 15
			ap_attack = 22
			defense = 6
			breakthrough = 6
			build_cost_ic = 6.5
			maximum_speed = -0.4
			reliability = -0.2
		}
		dismantle_cost_ic = 1.25
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 6.5
		}
		build_cost_resources = {
			tungsten = 1
		}
	}

	tank_rocket_launcher = {
		abbreviation = "rk1"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 25
			hard_attack = 1
			ap_attack = 2
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.1
		}
		dismantle_cost_ic = 0.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 3
		}
	}

	tank_rocket_launcher_2 = {
		abbreviation = "rk2"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery
		parent = tank_rocket_launcher
		add_stats = {
			soft_attack = 35
			hard_attack = 1
			ap_attack = 2
			build_cost_ic = 4
			maximum_speed = -0.2
			reliability = -0.1
		}
		dismantle_cost_ic = 0.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 4
		}
	}

	tank_high_velocity_cannon = { #47mm Cannon FRA
		abbreviation = "hv1"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 5
			hard_attack = 8
			ap_attack = 64
			defense = 1
			breakthrough = 1
			build_cost_ic = 3
			maximum_speed = -0.1
			reliability = -0.05
		}
		dismantle_cost_ic = 0.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 3
		}
		build_cost_resources = {
			tungsten = 2
		}
	}

	tank_high_velocity_cannon_2 = { #88mm Cannon GER
		abbreviation = "hv2"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 14
			hard_attack = 19
			ap_attack = 162
			defense = 4
			breakthrough = 3
			build_cost_ic = 7.5
			maximum_speed = -0.3
			reliability = -0.175
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 7.5
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
		}
	}
	tank_high_velocity_cannon_3 = { #100mm Cannon GER
		abbreviation = "hv3"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 18
			hard_attack = 23
			ap_attack = 220
			defense = 5
			breakthrough = 4
			build_cost_ic = 9
			maximum_speed = -0.4
			reliability = -0.2
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 2
			chromium = 1
		}
	}

	tank_heavy_cannon = { #88/90mm Cannon
		abbreviation = "hc1"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 14
			hard_attack = 19
			ap_attack = 120
			defense = 4
			breakthrough = 3
			build_cost_ic = 5.5
			maximum_speed = -0.3
			reliability = -0.25
		}
		dismantle_cost_ic = 0.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 5.5
		}
		build_cost_resources = {
			tungsten = 2
		}
	}

	tank_heavy_cannon_2 = { #100/105mm Cannon
		abbreviation = "hc2"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_heavy_cannon
		add_stats = {
			soft_attack = 18
			hard_attack = 23
			ap_attack = 165
			defense = 5
			breakthrough = 4
			build_cost_ic = 6.5
			maximum_speed = -0.4
			reliability = -0.25
		}
		dismantle_cost_ic = 1
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 6.5
		}
		build_cost_resources = {
			tungsten = 2
		}
	}

	tank_heavy_cannon_3 = { #120/125mm Cannon
		abbreviation = "hc3"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_heavy_cannon_2
		add_stats = {
			soft_attack = 23
			hard_attack = 30
			ap_attack = 216
			defense = 6
			breakthrough = 5
			build_cost_ic = 9
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 1.25
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 9
		}
		build_cost_resources = {
			tungsten = 2
		}
	}

	tank_heavy_howitzer_3 = { #150/152/155mm Howitzer
		abbreviation = "hh1"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 30
			hard_attack = 20
			ap_attack = 34
			defense = 7
			breakthrough = 7
			build_cost_ic = 8
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 1.5
		xp_cost = 1
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}

		build_cost_resources = {
			tungsten = 2
		}
	}

	tank_super_heavy_cannon = { #150/152mm Cannon
		abbreviation = "sh1"
		category = tank_super_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 30
			hard_attack = 40
			ap_attack = 338
			defense = 8
			breakthrough = 7
			build_cost_ic = 12
			maximum_speed = -0.6
			reliability = -0.35
		}
		dismantle_cost_ic = 1.5
		xp_cost = 1
		build_cost_resources = {
			tungsten = 3
		}
	}

	tank_super_heavy_howitzer = { #180/183mm Howitzer
		abbreviation = "sh1"
		category = tank_super_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 36
			hard_attack = 25
			ap_attack = 49
			defense = 8
			breakthrough = 9
			build_cost_ic = 11
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 1.75
		xp_cost = 1
		can_convert_from = {
			module_category = tank_super_heavy_main_armament
			convert_cost_ic = 11
		}

		build_cost_resources = {
			tungsten = 3
		}
	}

	tank_super_heavy_howitzer_2 = { #203mm Howitzer
		abbreviation = "sh2"
		category = tank_super_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = artillery

		add_stats = {
			soft_attack = 42
			hard_attack = 30
			ap_attack = 60
			defense = 7
			breakthrough = 11
			build_cost_ic = 14
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 2
		xp_cost = 1
		can_convert_from = {
			module_category = tank_super_heavy_main_armament
			convert_cost_ic = 14
		}

		build_cost_resources = {
			tungsten = 3
		}
	}
}