equipment_modules = {
	limit = {
		has_dlc = "No Step Back" 
	}

############# Turrets
#####################
	r56_tank_front_plate_fixed_superstructure_turret = { #Only Soviets really used something like this. Added it to make super cheap tanks meme. Supposed to be bad stats becasuse IRL it was. 
		abbreviation = "pfs"
		category = tank_light_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type_exact_match = armor #Like the Gun Platform, the Turret Shield and Fixed Superstructure are meant to be used to install larger guns that are only forward facing, and as such should not fit into normal Light Tank roles but rather Self-Propelled Anti Tank and Artillery 
		forbid_equipment_type = {
			anti_air
			flame
		}

		allowed_module_categories = {
			main_armament_slot = {
				tank_medium_main_armament
				#tank_heavy_main_armament # too strong ?
			}
		}

		forbid_equipment_type_exact_match_for_category = {
			tank_heavy_main_armament = armor
			tank_super_heavy_main_armament = armor
			tank_secondary_turret = armor #you don't even have a first one!
		}

		xp_cost = 0 #RT56RPMITAKA #radical redesign

		add_stats = {
			reliability = 0.25 #the only thing that can go wrong is the gun lol
		}

		multiply_stats = {
			breakthrough = -0.25
			hardness = -0.10 #no gunner crew protection
			armor_value = -0.10
			hard_attack = -0.10
			defense = -0.10 #please don't flank me :(
			build_cost_ic = -0.05 #upside
			maximum_speed = 0.05 #upside
			fuel_consumption = -0.05 #upside
		}
	}
	r56_tank_platform_mount_turret = { #SPG mount
		abbreviation = "pmt"
		category = tank_light_turret_type
		sfx = sfx_ui_sd_module_turret
		forbid_equipment_type_exact_match = armor #it's not a tank steve
		forbid_equipment_type = {
			flame
		}

		allowed_module_categories = {
			main_armament_slot = {
				tank_small_main_armament
				tank_medium_main_armament
				#tank_heavy_main_armament  # too strong?
			}
		}

		xp_cost = 0 #RT56RPMITAKA #radical redesign

		add_stats = {
			reliability = 0.25 #the only thing that can go wrong is the gun lol
		}

		multiply_stats = {
			breakthrough = -0.50 #No gunner crew protection
			hardness = -0.25 #no gunner crew protection
			hard_attack = -0.25
			armor_value = -0.25
			defense = -0.25 #The crew just gets killed if used in a direct fire role lol. Source: 1941 combat reports from both sides of barba who used these type of armor in direct fire missions
			build_cost_ic = -0.10 #upside
			maximum_speed = 0.10 #upside
			fuel_consumption = -0.10 #upside
		}
	}
	r56_tank_light_oscillating_turret = { #late-game oscillating turret
		abbreviation = "lot"
		category = tank_light_turret_type
		sfx = sfx_ui_sd_module_turret

		allowed_module_categories = {
			main_armament_slot = {
				tank_small_main_armament
				tank_medium_main_armament
			}
		}

		forbid_equipment_type = {
			anti_air
		}

		add_stats = {
			build_cost_ic = 0.75
			breakthrough = 10
		}

		xp_cost = 0 #RT56RPMITAKA #radical redesign

		dismantle_cost_ic = 0.50

		multiply_stats = {
			armor_value = -0.15	#two-part solution allows for less armor
		}
	}	
	r56_tank_light_tankette_superstructure_turret = { #for role players
		abbreviation = "ltst"
		category = tank_light_turret_type
		sfx = sfx_ui_sd_module_turret

		forbid_equipment_type = anti_air

		forbid_equipment_type_exact_match_for_category = {
			tank_medium_main_armament = armor
			tank_heavy_main_armament = armor
			tank_super_heavy_main_armament = armor
		}

		xp_cost = 0 #RT56RPMITAKA #radical redesign

		add_stats = {
			reliability = 0.1 #not a moving turret 
			defense = 1 #I'm okay at ambusing 
			build_cost_ic = 0.25
		}
	
		multiply_stats = { 
			maximum_speed = 0.1 #upside
			fuel_consumption = -0.10 #upside
			armor_value = -0.10 #downside
			breakthrough = -0.1 #downside
		}

		dismantle_cost_ic = 0.25

		can_convert_from = {
			module = tank_light_turret_type
			convert_cost_ic = 0.25
		}
	}


############# Guns
##################
	r56_tank_anti_tank_rifle_gun = {
		abbreviation = "ag1"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 3
			hard_attack = 6
			ap_attack = 15
			build_cost_ic = 0.5
		}
		dismantle_cost_ic = 0.5

		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 0.5
		}
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_anti_tank_rifle_gun_2 = {
		abbreviation = "ag2"
		category = tank_small_main_armament
		sfx = sfx_ui_sd_module_turret
		parent = r56_tank_anti_tank_rifle_gun
		allow_equipment_type = anti_tank

		add_stats = {
			soft_attack = 5
			hard_attack = 8
			ap_attack = 20
			build_cost_ic = 0.5
		}
		dismantle_cost_ic = 0.5

		can_convert_from = {
			module_category = tank_small_main_armament
			convert_cost_ic = 0.5
		}
		
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_heavy_cannon_4 = {
		abbreviation = "hc4"
		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 = 40
			hard_attack = 50
			ap_attack = 200
			build_cost_ic = 8.5
			maximum_speed = -0.5
			reliability = -0.3
		}
		dismantle_cost_ic = 1
		xp_cost = 0 #RT56RPMITAKA
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 8
		}
		build_cost_resources = {
			tungsten = 4
			chromium = 1
			steel = 3
		}
	}
	r56_tank_high_velocity_cannon_4 = {
		abbreviation = "hv4"
		category = tank_heavy_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = tank_high_velocity_cannon_3

		add_stats = {
			soft_attack = 30
			hard_attack = 55
			ap_attack = 270
			build_cost_ic = 9
			maximum_speed = -0.4
			reliability = -0.2
		}
		dismantle_cost_ic = 1
		xp_cost = 0 #RT56RPMITAKA
		can_convert_from = {
			module_category = tank_heavy_main_armament
			convert_cost_ic = 7
		}
		build_cost_resources = {
			tungsten = 4
			chromium = 1
			steel = 3
		}
	}
	r56_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 = 38
			hard_attack = 30
			ap_attack = 100
			build_cost_ic = 5
			maximum_speed = -0.3
			reliability = -0.15
			breakthrough = 4
		}
		dismantle_cost_ic = 1
		xp_cost = 0 #RT56RPMITAKA
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 1
			steel = 3
			chromium = 1
		}
	}
	r56_tank_medium_cannon_4 = {
		abbreviation = "mc4"
		category = tank_medium_main_armament
		sfx = sfx_ui_sd_module_turret
		allow_equipment_type = anti_tank
		parent = r56_tank_medium_cannon_3
		dismantle_cost_ic = 1
		add_stats = {
			soft_attack = 45
			hard_attack = 35
			ap_attack = 110
			build_cost_ic = 6
			maximum_speed = -0.3
			reliability = -0.15
			breakthrough = 4
		}
		xp_cost = 0 #RT56RPMITAKA
		can_convert_from = {
			module_category = tank_medium_main_armament
			convert_cost_ic = 4
		}
		build_cost_resources = {
			tungsten = 2
			steel = 3
			chromium = 1
		}
	}
	
############# Special Modules
#############################
	r56_tank_supercharger = {
		abbreviation = "tscr"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			maximum_speed = 1
#			build_cost_ic = 2.5
			build_cost_ic = 2.0 #RT56RPMITAKA
			fuel_consumption = 1
		}
		xp_cost = 0 #RT56RPMITAKA
		multiply_stats = {
			maximum_speed = 0.20 #RT56RPMITAKA
		}
	}
	r56_tank_hull_lmg = {
		abbreviation = "hlmg"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 2
			soft_attack = 3
			build_cost_ic = 2
			hardness = -0.02
		}
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_optical_rangefinder = {
		abbreviation = "oprf"
		category = r56_tank_rangefinder_category
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			max_organisation = 0.3 #rt56fffa
			breakthrough = 2
			build_cost_ic = 1.5 #RT56RPMITAKA
			recon = 0.25
		}

		multiply_stats = {
			soft_attack = 0.05 #RT56RPMITAKA
			hard_attack = 0.05 #RT56RPMITAKA
		}
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_advanced_rangefinder = {
		abbreviation = "adrf"
		category = r56_tank_rangefinder_category
		parent = r56_tank_optical_rangefinder
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			breakthrough = 5 #RT56RPMITAKA
			build_cost_ic = 2.5 #RT56RPMITAKA
			recon = 0.75
			max_organisation = 0.6 #RT56RPMITAKA
		}

		multiply_stats = {
			soft_attack = 0.1 #RT56RPMITAKA
			hard_attack = 0.1 #RT56RPMITAKA
		}
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_improved_optics = {
		abbreviation = "imop"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 2 #RT56RPMITAKA
			recon = 0.6
			build_cost_ic = 0.5 #RT56RPMITAKA
		}

		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_electro_mechanical_fire_control = {
		abbreviation = "emfc"
		category = tank_special_module
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			hard_attack = 2
			ap_attack = 1
			reliability = -0.02
		}
		
		xp_cost = 0 #RT56RPMITAKA
	}
	r56_tank_coaxial_support_cannon = {
		abbreviation = "csc"
		category = r56_tank_coaxial_support_cannon_category
		sfx = sfx_ui_sd_module_turret

		add_stats = {
			soft_attack = 7
			build_cost_ic = 2.5
			breakthrough = 2
			reliability = -0.05
		}
		xp_cost = 0 #RT56RPMITAKA
	}				
}
