# AI tank design for testing

generic_light_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_light_tank
	}

	priority = {
		factor = 1000
	}

	great_war_tank_default = {
		priority = {
			factor = 1
			modifier = { 
				has_tech = basic_light_tank_chassis
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = light_tank_chassis_0
			modules = {
				main_armament_slot = tank_heavy_machine_gun
				turret_type_slot = tank_light_one_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = secondary_turret_hmg
				special_type_slot_2 = expanded_fuel_tank
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_apcbc_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_smoke_wp_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_survivability_slot = atd_track_link_field_armor
				powertrain_type_slot = atd_simplified_manual_gearbox
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = additional_machine_guns
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_machine_gun
			tank_light_one_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	basic_light_tank_default = {
		priority = {
			factor = 100
			modifier = { 
				has_tech = improved_light_tank_chassis 
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = light_tank_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_close_support_gun 
						tank_small_cannon_2 
						tank_high_velocity_cannon 
						tank_auto_cannon_2 
						tank_small_cannon 
						tank_auto_cannon 
						tank_heavy_machine_gun 
					} 
				}
				turret_type_slot = tank_light_one_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = expanded_fuel_tank
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = additional_machine_guns
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_auto_cannon 
			tank_auto_cannon_2 
			tank_small_cannon 
			tank_small_cannon_2 
			tank_close_support_gun 
			tank_heavy_machine_gun 
			tank_high_velocity_cannon
			tank_light_one_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	improved_light_tank_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = advanced_light_tank_chassis 
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 3000
			type = light_tank_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon 
						tank_small_cannon_2 
						tank_close_support_gun 
						tank_auto_cannon_2 
						tank_auto_cannon 
						tank_small_cannon 
						tank_heavy_machine_gun 
					} 
				}
				turret_type_slot = { 
					any_of = { 
						tank_light_three_man_tank_turret 
						tank_light_two_man_tank_turret 
					} 
				}
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = { 
					any_of = {
					atd_bolted_rolled_armor 
						tank_welded_armor 
						tank_riveted_armor 
					} 
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = wet_ammo_storage
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 2
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			tank_auto_cannon 
			tank_auto_cannon_2 
			tank_small_cannon 
			tank_small_cannon_2 
			tank_close_support_gun 
			tank_heavy_machine_gun 
			tank_high_velocity_cannon
			tank_light_two_man_tank_turret
			tank_light_three_man_tank_turret
			tank_welded_armor
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	advanced_light_tank_default = {
		priority = {
			factor = 10
		}

		history = no
		history = yes
		target_variant = {
			match_value = 4000
			type = light_tank_chassis_3
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_close_support_gun 
						tank_high_velocity_cannon 
						tank_small_cannon_2 
						tank_auto_cannon_2 
					} 
				}
				turret_type_slot = tank_light_three_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_torsion_bar_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_welded_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = armor_skirts
				special_type_slot_2 = dozer_blade
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = squeezebore_adaptor
			
				atd_auxiliary_slot_2 = tank_radio_3
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 2
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
 
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			tank_auto_cannon_2  
			tank_small_cannon_2 
			tank_close_support_gun  
			tank_high_velocity_cannon
			tank_light_three_man_tank_turret
			tank_torsion_bar_suspension
			tank_welded_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_light_tank_destroyers = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_light_tank_destroyer
	}

	priority = {
		factor = 100
		modifier = {
			NOT = { has_tech = basic_medium_tank_chassis } 
			any_enemy_country = {
				has_tech = basic_medium_tank_chassis
			}
			factor = 15
		}
	}
	light_tank_destroyer_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = interwar_antitank
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = light_tank_destroyer_chassis_1
			modules = {
				main_armament_slot = tank_high_velocity_cannon
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = expanded_fuel_tank
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_apcbc_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_smoke_wp_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = additional_machine_guns
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_high_velocity_cannon
			tank_light_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	light_tank_destroyer_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
			OR = {
				has_tech = interwar_antitank
				has_tech = artillery1
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = light_tank_destroyer_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon_2 
						tank_medium_cannon_2 
						tank_medium_cannon 
						tank_high_velocity_cannon 
					} 
				}
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = extra_ammo_storage
				special_type_slot_2 = armor_skirts
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = squeezebore_adaptor
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			tank_medium_cannon 
			tank_medium_cannon_2 
			tank_high_velocity_cannon 
			tank_high_velocity_cannon_2
			tank_light_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_light_tank_artillery = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_light_tank_artillery
	}

	priority = {
		factor = 500
	}
	light_tank_artillery_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = light_tank_artillery_chassis_1
			modules = {
				main_armament_slot = tank_close_support_gun
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = expanded_fuel_tank
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = additional_machine_guns
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_close_support_gun
			tank_light_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	light_tank_artillery_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
				has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = light_tank_artillery_chassis_2
			modules = {
				main_armament_slot = tank_medium_howitzer
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = secondary_turret_small_cannon
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer
			tank_light_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	light_tank_artillery_3 = {
		priority = {
			factor = 200
			
		}
		enable = {
			has_tech = artillery1
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = light_tank_artillery_chassis_3
			modules = {
				main_armament_slot = tank_medium_howitzer_2
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = extra_ammo_storage
				special_type_slot_2 = dozer_blade
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = squeezebore_adaptor
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_light_tank_anti_air = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_light_tank_anti_air
	}

	priority = {
		factor = 50
		modifier = {
			NOT = { has_tech = fighter2 } #we should probably do something about that air superiority...
			any_enemy_country = {
				has_tech = fighter2
			}
			factor = 3
		}
	}
	light_tank_anti_air_1 = {
		priority = {
			factor = 10
			
		}
		enable = {
			has_tech = interwar_antiair
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = light_tank_aa_chassis_1
			modules = {
				main_armament_slot = tank_anti_air_cannon
				turret_type_slot = tank_light_one_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = expanded_fuel_tank
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = additional_machine_guns
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon
			tank_light_one_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	light_tank_anti_air_2 = {
		priority = {
			factor = 20
			
		}
		enable = {
			has_tech = antiair2
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = light_tank_aa_chassis_2
			modules = {
				main_armament_slot = tank_anti_air_cannon_2
				turret_type_slot = tank_light_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = secondary_turret_small_cannon
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_2
			tank_light_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	light_tank_anti_air_3 = {
		priority = {
			factor = 20
			
		}
		enable = {
			has_tech = antiair5
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2500
			type = light_tank_aa_chassis_3
			modules = {
				main_armament_slot = tank_anti_air_cannon_2
				turret_type_slot = tank_light_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = dozer_blade
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = easy_maintenance
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_2
			tank_light_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_medium_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_medium_tank
	}

	priority = {
		factor = 2000
		modifier = {
			num_of_factories < 100
			factor = 0.5
		}
		modifier = {
			num_of_factories < 50
			factor = 0.5
		}
	}

	basic_medium_tank_default = {
		priority = {
			factor = 100
			modifier = { 
				has_tech = improved_medium_tank_chassis
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = medium_tank_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_close_support_gun 
						tank_small_cannon_2 
						tank_high_velocity_cannon 
						tank_small_cannon 
					} 
				}
				turret_type_slot = tank_medium_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 2
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 3
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_small_cannon 
			tank_small_cannon_2 
			tank_close_support_gun 
			tank_high_velocity_cannon
			tank_medium_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	improved_medium_tank_default = {
		priority = {
			factor = 100
			modifier = { 
				has_tech = advanced_medium_tank_chassis 
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 3000
			type = medium_tank_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_medium_cannon_2 
						tank_medium_cannon 
						tank_close_support_gun 
						tank_small_cannon_2 
						tank_high_velocity_cannon 
					} 
				}
				turret_type_slot = { 
					any_of = { 
						tank_medium_three_man_tank_turret 
						tank_medium_two_man_tank_turret 
					}
				}
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = { 
					any_of = {
					atd_bolted_rolled_armor 
						tank_cast_armor 
						tank_riveted_armor 
					} 
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = wet_ammo_storage
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 3
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 3
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_small_cannon_2 
			tank_close_support_gun 
			tank_medium_cannon 
			tank_medium_cannon_2
			tank_high_velocity_cannon
			tank_medium_three_man_tank_turret
			tank_medium_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_cast_armor
			tank_gasoline_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	advanced_medium_tank_default = {
		priority = {
			factor = 100
		}

		history = no
		history = yes
		target_variant = {
			match_value = 4000
			type = medium_tank_chassis_3
			modules = {
				main_armament_slot = { any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
 tank_high_velocity_cannon_2 tank_medium_cannon_2 } }
				turret_type_slot = tank_medium_three_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_torsion_bar_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_welded_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = easy_maintenance
				special_type_slot_2 = sloped_armor
special_type_slot_4 = squeezebore_adaptor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = dozer_blade
			
				atd_auxiliary_slot_2 = tank_radio_3
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = {
					base = 5
					modifier = {
							add = 3
							has_war = yes
						}
				}
				tank_nsb_armor_upgrade = {
					base = 6
					modifier = {
						add = 3
						has_war = yes
					}
					modifier = {
						add = 3
						any_enemy_country = {
							is_major = yes
						}
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_cannon_2
			tank_high_velocity_cannon_2
			tank_medium_three_man_tank_turret
			tank_torsion_bar_suspension
			tank_welded_armor
			tank_gasoline_engine
			sloped_armor
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			smoke_launchers
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_medium_tank_destroyer = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_medium_tank_destroyer
	}

	priority = {
		factor = 500
		modifier = {
			NOT = { has_tech = basic_heavy_tank_chassis } 
			any_enemy_country = {
				has_tech = basic_heavy_tank_chassis
			}
			factor = 3
		}
	}
	medium_tank_destroyer_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = interwar_antitank
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = medium_tank_destroyer_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon_2 
						tank_medium_cannon_2 
						tank_medium_cannon 
					} 
				}
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 3
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_cannon 
			tank_medium_cannon_2
			tank_high_velocity_cannon_2
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	medium_tank_destroyer_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
			OR = {
				has_tech = interwar_antitank
				has_tech = artillery1
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = medium_tank_destroyer_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon_2 
						tank_medium_cannon_2 
						tank_heavy_cannon 
						tank_medium_cannon 
					} 
				}
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = wet_ammo_storage
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 6
					modifier = {
						add = 4
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_cannon 
			tank_medium_cannon_2 
			tank_high_velocity_cannon_2 
			tank_heavy_cannon
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_cast_armor
			tank_diesel_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	medium_tank_destroyer_3 = {
		priority = {
			factor = 200
			
		}
		enable = {
			OR = {
				has_tech = antitank3
				has_tech = artillery1
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = medium_tank_destroyer_chassis_3
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
						tank_medium_cannon_2 
					} 
				}
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_welded_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = sloped_armor
special_type_slot_4 = extra_ammo_storage
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = dozer_blade
			
				atd_auxiliary_slot_2 = tank_radio_3
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 6
				tank_nsb_armor_upgrade = {
					base = 6
					modifier = {
						add = 6
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_cannon_2 
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3 
			tank_heavy_cannon 
			tank_heavy_cannon_2
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_welded_armor
			tank_diesel_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			sloped_armor
			smoke_launchers
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_medium_tank_artillery = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_medium_tank_artillery
	}

	priority = {
		factor = 500
	}
	medium_tank_artillery_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = medium_tank_artillery_chassis_1
			modules = {
				main_armament_slot = tank_medium_howitzer
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	medium_tank_artillery_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
				has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = medium_tank_artillery_chassis_2
			modules = {
				main_armament_slot = tank_medium_howitzer_2
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = secondary_turret_small_cannon
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer_2
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	medium_tank_artillery_3 = {
		priority = {
			factor = 200
			
		}
		enable = {
			has_tech = artillery1
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = medium_tank_artillery_chassis_3
			modules = {
				main_armament_slot = tank_heavy_howitzer
				turret_type_slot = tank_medium_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = extra_ammo_storage
				special_type_slot_2 = dozer_blade
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = squeezebore_adaptor
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 5
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			extra_ammo_storage
			tank_heavy_howitzer
			tank_medium_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_medium_tank_anti_air = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_medium_tank_anti_air
	}

	priority = {
		factor = 50
		modifier = {
			NOT = { has_tech = fighter2 } #we should probably do something about that air superiority...
			any_enemy_country = {
				has_tech = fighter2
			}
			factor = 3
		}
	}
	medium_tank_anti_air_1 = {
		priority = {
			factor = 10
			
		}
		enable = {
			has_tech = interwar_antiair
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = medium_tank_aa_chassis_1
			modules = {
				main_armament_slot = tank_anti_air_cannon
				turret_type_slot = tank_medium_one_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon
			tank_medium_one_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	medium_tank_anti_air_2 = {
		priority = {
			factor = 20
			
		}
		enable = {
			has_tech = antiair2
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = medium_tank_aa_chassis_2
			modules = {
				main_armament_slot = tank_anti_air_cannon_2
				turret_type_slot = tank_medium_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = secondary_turret_small_cannon
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_2
			tank_medium_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	medium_tank_anti_air_3 = {
		priority = {
			factor = 20
			
		}
		enable = {
			has_tech = antiair5
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2500
			type = medium_tank_aa_chassis_3
			modules = {
				main_armament_slot = tank_anti_air_cannon_3
				turret_type_slot = tank_medium_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = dozer_blade
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = easy_maintenance
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_3
			tank_medium_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}
###HEAVY TANKS
generic_heavy_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_heavy_tank
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 50
			factor = 0
		}
	}

	basic_heavy_tank_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = improved_heavy_tank_chassis 
				factor = 0 #let's not waste XP here
			}
			
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = heavy_tank_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_close_support_gun 
						tank_high_velocity_cannon 
						tank_small_cannon_2 
						tank_small_cannon 
					} 
				}
				turret_type_slot = tank_heavy_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = additional_machine_guns
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = expanded_fuel_tank
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = secondary_turret_small_cannon
			
				atd_auxiliary_slot_2 = tank_radio_1
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 2
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 3
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_small_cannon 
			tank_small_cannon_2 
			tank_close_support_gun 
			tank_high_velocity_cannon
			tank_heavy_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
			secondary_turret_hmg
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	improved_heavy_tank_default = {
		priority = {
			factor = 10
			modifier = { 
				has_tech = advanced_heavy_tank_chassis 
				factor = 0 #let's not waste XP here
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = heavy_tank_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon 
						tank_high_velocity_cannon_2 
						tank_close_support_gun 
					} 
				}
				turret_type_slot = { 
					any_of = { 
						tank_heavy_three_man_tank_turret 
						tank_heavy_two_man_tank_turret 
					} 
				}
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = wet_ammo_storage
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 8
				tank_nsb_armor_upgrade = {
					base = 7
					modifier = {
						add = 3
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 3
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_close_support_gun 
			tank_heavy_cannon 
			tank_heavy_cannon_2
			tank_high_velocity_cannon_2
			tank_high_velocity_cannon_3
			tank_heavy_two_man_tank_turret
			tank_heavy_three_man_tank_turret
			tank_bogie_suspension
			tank_cast_armor
			tank_gasoline_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	advanced_heavy_tank_default = {
		priority = {
			factor = 10
		}

		history = no
		history = yes
		target_variant = {
			match_value = 4000
			type = heavy_tank_chassis_3
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_heavy_cannon_3 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
					} 
				}
				turret_type_slot = tank_heavy_three_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_torsion_bar_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_welded_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_high_output_v12_engine
						atd_supercharged_gasoline_engine
						atd_turbocharged_diesel_engine
						tank_gasoline_engine
					}
				}
				special_type_slot_1 = easy_maintenance
				special_type_slot_2 = sloped_armor
special_type_slot_4 = squeezebore_adaptor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = dozer_blade
			
				atd_auxiliary_slot_2 = tank_radio_3
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = {
					base = 8
					modifier = {
							add = 3
							has_war = yes
						}
				}
				tank_nsb_armor_upgrade = {
					base = 8
					modifier = {
						add = 4
						has_war = yes
					}
					modifier = {
						add = 4
						any_enemy_country = {
							is_major = yes
						}
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_cannon_3
			tank_high_velocity_cannon_3
			tank_heavy_cannon_2
			tank_high_velocity_cannon_2
			tank_heavy_three_man_tank_turret
			tank_torsion_bar_suspension
			tank_welded_armor
			tank_gasoline_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			sloped_armor
			smoke_launchers
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_heavy_tank_destroyer = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_heavy_tank_destroyer
	}

	priority = {
		factor = 500
		modifier = {
			NOT = { has_tech = basic_heavy_tank_chassis } 
			any_enemy_country = {
				has_tech = basic_heavy_tank_chassis
			}
			factor = 3
		}
	}
	heavy_tank_destroyer_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = antitank2
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = heavy_tank_destroyer_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
					} 
				}
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 3
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_cannon 
			tank_heavy_cannon_2
			tank_high_velocity_cannon_2
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	heavy_tank_destroyer_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
			OR = {
				has_tech = interwar_antitank
				has_tech = artillery1
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = heavy_tank_destroyer_chassis_2
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_super_heavy_cannon 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
					} 
				}
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = armor_skirts
				special_type_slot_2 = extra_ammo_storage
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = squeezebore_adaptor
			
				atd_auxiliary_slot_2 = tank_radio_2
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 6
				tank_nsb_armor_upgrade = {
					base = 6
					modifier = {
						add = 6
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_cannon 
			tank_heavy_cannon_2 
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3
			tank_super_heavy_cannon
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_cast_armor
			tank_diesel_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	heavy_tank_destroyer_3 = {
		priority = {
			factor = 200
			
		}
		enable = {
			OR = {
				has_tech = antitank3
				has_tech = artillery1
			}
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = heavy_tank_destroyer_chassis_3
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_super_heavy_cannon 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
					} 
				}
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_welded_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = sloped_armor
special_type_slot_4 = extra_ammo_storage
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = dozer_blade
			
				atd_auxiliary_slot_2 = tank_radio_3
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 8
				tank_nsb_armor_upgrade = {
					base = 8
					modifier = {
						add = 6
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_cannon_2 
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3 
			tank_super_heavy_cannon 
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_welded_armor
			tank_diesel_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			sloped_armor
			smoke_launchers
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_heavy_tank_artillery = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_heavy_tank_artillery
	}

	priority = {
		factor = 500
	}
	heavy_tank_artillery_1 = {
		priority = {
			factor = 100
			
		}
		enable = {
			has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = heavy_tank_artillery_chassis_1
			modules = {
				main_armament_slot = tank_medium_howitzer
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	heavy_tank_artillery_2 = {
		priority = {
			factor = 200
			
		}
		enable = {
				has_tech = interwar_artillery
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = heavy_tank_artillery_chassis_2
			modules = {
				main_armament_slot = tank_medium_howitzer_2
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = extra_ammo_storage
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_medium_howitzer_2
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	heavy_tank_artillery_3 = {
		priority = {
			factor = 200
			
		}
		enable = {
			has_tech = artillery5
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2000
			type = heavy_tank_artillery_chassis_3
			modules = {
				main_armament_slot = tank_heavy_howitzer
				turret_type_slot = tank_heavy_fixed_superstructure_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = extra_ammo_storage
				special_type_slot_2 = dozer_blade
special_type_slot_4 = easy_maintenance
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = squeezebore_adaptor
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 6
				tank_nsb_armor_upgrade = {
					base = 5
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_heavy_howitzer
			tank_heavy_fixed_superstructure_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			extra_ammo_storage
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_heavy_tank_anti_air = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_heavy_tank_anti_air
	}

	priority = {
		factor = 5
		modifier = {
			NOT = { has_tech = fighter2 } #we should probably do something about that air superiority...
			any_enemy_country = {
				has_tech = fighter2
			}
			factor = 3
		}
	}
	heavy_tank_anti_air_1 = {
		priority = {
			factor = 1
			
		}
		enable = {
			has_tech = interwar_antiair
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = heavy_tank_aa_chassis_1
			modules = {
				main_armament_slot = tank_anti_air_cannon
				turret_type_slot = tank_heavy_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = secondary_turret_small_cannon
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = additional_machine_guns
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_synchromesh_transmission
				atd_fire_control_slot = atd_coincidence_rangefinder
				atd_survivability_slot = atd_bolt_on_applique_armor
				atd_crew_support_slot = atd_improved_crew_ergonomics
				powertrain_type_slot = atd_reinforced_final_drive
				atd_auxiliary_slot_1 = atd_emergency_escape_hatches
				atd_auxiliary_slot_2 = tank_radio_1
				atd_auxiliary_slot_3 = atd_commanders_vision_cupola
				atd_auxiliary_slot_6 = wet_ammo_storage
				special_type_slot_3 = expanded_fuel_tank
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon
			tank_heavy_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
	heavy_tank_anti_air_2 = {
		priority = {
			factor = 2
			
		}
		enable = {
			has_tech = antiair2
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1500
			type = heavy_tank_aa_chassis_2
			modules = {
				main_armament_slot = tank_anti_air_cannon_2
				turret_type_slot = tank_heavy_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = secondary_turret_small_cannon
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 4
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_2
			tank_heavy_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}

	heavy_tank_anti_air_3 = {
		priority = {
			factor = 2
			
		}
		enable = {
			has_tech = antiair5
		}

		history = no
		history = yes
		target_variant = {
			match_value = 2500
			type = heavy_tank_aa_chassis_3
			modules = {
				main_armament_slot = tank_anti_air_cannon_3
				turret_type_slot = tank_heavy_two_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = dozer_blade
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = armor_skirts
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_apcr_ammunition
				fixed_atd_tactical_ammunition_slot = atd_canister_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_torque_converter_transmission
				atd_fire_control_slot = atd_mechanical_ballistic_computer
				atd_survivability_slot = atd_anti_heat_mesh_screens
				atd_crew_support_slot = atd_auxiliary_power_unit
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_protected_ammunition_bins
				atd_auxiliary_slot_2 = tank_radio_3
				atd_auxiliary_slot_3 = atd_stereoscopic_observation_suite
				atd_auxiliary_slot_4 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_5 = atd_double_differential_transmission
				atd_auxiliary_slot_6 = stabilizer
				special_type_slot_3 = easy_maintenance
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_anti_air_cannon_3
			tank_heavy_two_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_super_heavy_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_super_heavy_tank
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 100
			factor = 0
		}
	}

	basic_super_heavy_tank_default = {
		priority = {
			factor = 10
			modifier = { 
				has_government = fascism
				factor = 5
			}
			
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = super_heavy_tank_chassis
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_super_heavy_cannon 
						tank_heavy_cannon_3 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
					} 
				}
				turret_type_slot = tank_super_heavy_four_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_interleaved_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = tank_gas_turbine_engine
				special_type_slot_1 = easy_maintenance
				special_type_slot_2 = secondary_turret_hmg
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = squeezebore_adaptor
			
				atd_auxiliary_slot_2 = tank_radio_1
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 12
				tank_nsb_armor_upgrade = {
					base = 10
					modifier = {
						add = 5
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 5
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3 
			tank_heavy_cannon 
			tank_heavy_cannon_2 
			tank_heavy_cannon_3 
			tank_super_heavy_cannon
			tank_super_heavy_four_man_tank_turret
			tank_interleaved_suspension
			tank_cast_armor
			tank_gas_turbine_engine
			tank_petrol_electric_engine
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			secondary_turret_hmg
			sloped_armor
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_modern_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_modern_tank
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 100
			factor = 0
		}
	}

	basic_modern_tank_default = {
		priority = {
			factor = 10
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = modern_tank_chassis
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_heavy_cannon_3 
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
					} 
				}
				turret_type_slot = tank_modern_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_torsion_bar_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = armor_skirts
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_1
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 12
				tank_nsb_armor_upgrade = {
					base = 4
					modifier = {
						add = 3
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 2
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3 
			tank_heavy_cannon 
			tank_heavy_cannon_2 
			tank_heavy_cannon_3 
			tank_modern_tank_turret
			tank_torsion_bar_suspension
			tank_cast_armor
			tank_diesel_engine
			sloped_armor
			smoke_launchers
			easy_maintenance
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_modern_tank_destroyer = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_modern_tank_destroyer
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 100
			factor = 0
		}
	}

	basic_modern_tank_destroyer_default = {
		priority = {
			factor = 10
			
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = modern_tank_destroyer_chassis
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_high_velocity_cannon_3 
						tank_heavy_cannon_3 
						tank_heavy_cannon_2 
						tank_high_velocity_cannon_2 
						tank_heavy_cannon 
					} 
				}
				turret_type_slot = tank_modern_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_torsion_bar_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_cast_armor
					}
				}
				engine_type_slot = tank_gas_turbine_engine
				special_type_slot_1 = armor_skirts
				special_type_slot_2 = squeezebore_adaptor
special_type_slot_4 = sloped_armor
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = easy_maintenance
			
				atd_auxiliary_slot_2 = tank_radio_1
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 18
				tank_nsb_armor_upgrade = {
					base = 8
					modifier = {
						add = 5
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 5
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_high_velocity_cannon_2 
			tank_high_velocity_cannon_3 
			tank_heavy_cannon 
			tank_heavy_cannon_2 
			tank_heavy_cannon_3 
			tank_modern_tank_turret
			tank_torsion_bar_suspension
			tank_cast_armor
			tank_gas_turbine_engine
			sloped_armor
			smoke_launchers
			stabilizer
			atd_integrated_command_radio
			atd_vhf_command_radio
			atd_armored_intercom
			tank_radio_3
			tank_radio_2
			tank_radio_1
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}

generic_amphibious_tanks = {
	category = land

	blocked_for = {GER SOV ENG USA FRA JAP ITA HUN}

	available_for = {}

	roles = {
		land_amphibious_tank
	}

	priority = {
		factor = 20
	}

	basic_amphibious_tank_default = {
		priority = {
			factor = 10
			
			
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = amphibious_tank_chassis
			modules = {
				main_armament_slot = {
					any_of = {
					atd_modern_120mm_rifled_gun
					atd_modern_100mm_autoloading_gun
					atd_modern_105mm_stabilized_gun
					atd_modern_90mm_standardized_gun
					atd_super_heavy_170mm_assault_gun
					atd_super_heavy_150mm_siege_gun
					atd_super_heavy_128mm_fortress_gun
					atd_super_heavy_105mm_economy_gun
					atd_heavy_152mm_assault_howitzer
					atd_heavy_122mm_breakthrough_gun
					atd_heavy_105mm_high_velocity_gun
					atd_heavy_88mm_dual_purpose_gun
					atd_heavy_85mm_economy_gun
					atd_105mm_close_support_gun
					atd_long_barrel_75mm_gun
					atd_dual_purpose_75mm_gun
					atd_medium_57mm_economy_gun
					atd_tank_destroyer_75mm_gun
					atd_amphibious_75mm_support_gun
					atd_amphibious_57mm_sealed_breech_gun
					atd_amphibious_37mm_low_recoil_gun
					atd_light_75mm_support_gun
					atd_light_37mm_high_velocity_gun
					atd_light_47mm_dual_purpose_gun
					atd_light_50mm_tank_destroyer_gun
						tank_close_support_gun
						tank_small_cannon_2
						tank_small_cannon
					} 
				}
				turret_type_slot = tank_light_one_man_tank_turret
				suspension_type_slot = {
					
any_of = {
					atd_mass_production_suspension
						atd_hydropneumatic_suspension
						atd_wide_track_suspension
						atd_reinforced_torsion_suspension
						tank_bogie_suspension
					}
				}
				armor_type_slot = {
					
any_of = {
					atd_bolted_rolled_armor
						atd_spaced_laminate_armor
						atd_high_hardness_welded_armor
						atd_face_hardened_armor
						tank_riveted_armor
					}
				}
				engine_type_slot = {
					
any_of = {
					atd_economy_gasoline_engine
						atd_opposed_piston_diesel_engine
						atd_turbocharged_diesel_engine
						tank_diesel_engine
					}
				}
				special_type_slot_1 = squeezebore_adaptor
				special_type_slot_2 = easy_maintenance
special_type_slot_4 = wet_ammo_storage
				atd_transmission_slot = {
					
any_of = {
						atd_double_differential_transmission
						atd_planetary_transmission
						atd_synchromesh_transmission
					}
				}
				atd_fire_control_slot = {
					
any_of = {
						atd_mechanical_ballistic_computer
						atd_gyroscopic_stabilization
						atd_stereoscopic_rangefinder
						atd_coincidence_rangefinder
					}
				}
				atd_survivability_slot = {
					
any_of = {
						atd_track_link_field_armor
						atd_bolt_on_applique_armor
					}
				}
				atd_crew_support_slot = {
					
any_of = {
						atd_standardized_components
						atd_forced_crew_ventilation
						atd_improved_crew_ergonomics
						atd_auxiliary_power_unit
					}
				}
				atd_auxiliary_slot_1 = {
					
any_of = {
						atd_automatic_fire_suppression
						atd_emergency_escape_hatches
						atd_protected_ammunition_bins
						atd_internal_spall_liner
						atd_integrated_fighting_compartment
					}
				}
				atd_auxiliary_slot_3 = {
					
any_of = {
						atd_commanders_vision_cupola
						atd_rotating_panoramic_periscope
						atd_stereoscopic_observation_suite
					}
				}
				atd_auxiliary_slot_4 = {
					any_of = {
						atd_stereoscopic_observation_suite
						atd_rotating_panoramic_periscope
						atd_commanders_vision_cupola
					}
				}
				powertrain_type_slot = {
					
any_of = {
						atd_simplified_manual_gearbox
						atd_twin_differential_steering
						atd_reinforced_final_drive
						atd_heavy_duty_gearbox
					}
				}
				atd_auxiliary_slot_5 = {
					any_of = {
						atd_synchromesh_transmission
						atd_planetary_transmission
					}
				}
				atd_auxiliary_slot_6 = {
					any_of = {
						wet_ammo_storage
						easy_maintenance
					}
				}
				fixed_atd_standard_ammunition_slot = atd_he_ammunition
				fixed_atd_anti_armor_ammunition_slot = atd_heat_ammunition
				fixed_atd_tactical_ammunition_slot = atd_demolition_ammunition
				fixed_atd_countermeasure_slot = smoke_launchers
			
				atd_transmission_slot = atd_double_differential_transmission
				atd_fire_control_slot = atd_gyroscopic_stabilization
				atd_survivability_slot = atd_armor_side_skirts
				atd_crew_support_slot = atd_standardized_components
				powertrain_type_slot = atd_heavy_duty_gearbox
				atd_auxiliary_slot_1 = atd_automatic_fire_suppression
				atd_auxiliary_slot_2 = tank_radio_2
				atd_auxiliary_slot_3 = atd_rotating_panoramic_periscope
				atd_auxiliary_slot_4 = atd_commanders_vision_cupola
				atd_auxiliary_slot_5 = atd_planetary_transmission
				atd_auxiliary_slot_6 = dozer_blade
				special_type_slot_3 = armor_skirts
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 2
					modifier = {
						add = 2
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 3
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			tank_small_cannon
			tank_small_cannon_2
			tank_close_support_gun
			tank_light_turret_type
			tank_bogie_suspension
			tank_riveted_armor
			tank_diesel_engine
			tank_light_two_man_tank_turret
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}



generic_land_cruiser_tanks = {
	category = land 

	roles = { 
		land_mega_heavy_breakthrough_tank  
	}

	priority = {
		factor = 200
		modifier = {
			num_of_factories < 100
			factor = 0
		}
	}

	basic_land_cruiser_default = {
		priority = {
			factor = 10
			modifier = { 
				has_government = fascism
				factor = 5
			}
			
		}

		history = no
		history = yes
		target_variant = {
			match_value = 1000
			type = land_cruiser_chassis_1
			modules = {
				lc_main_armament_slot = lc_heavy_naval_guns
				lc_secondary_armament_slot = lc_medium_naval_guns
				lc_special_features_slot_1 = lc_radio_1
				lc_special_features_slot_2 = empty
				lc_special_features_slot_3 = empty
				lc_additional_armament_slot_1 = lc_heavy_naval_guns
				lc_additional_armament_slot_2 = empty
				lc_additional_armament_slot_3 = empty
				lc_additional_armament_slot_4 = empty
			}
			upgrades = {


				atd_tank_firepower_upgrade = 2


				atd_tank_ammunition_upgrade = 2
				tank_nsb_engine_upgrade = 12
				tank_nsb_armor_upgrade = {
					base = 10
					modifier = {
						add = 5
						has_war = yes
					}
					modifier = {
						any_enemy_country = {
							is_major = yes
						}
						add = 5
					}
				}
			}
		}

		allowed_modules = {


		atd_infrared_night_sight
		atd_integrated_fighting_compartment
		atd_105mm_close_support_gun
		atd_amphibious_37mm_low_recoil_gun
		atd_amphibious_57mm_sealed_breech_gun
		atd_amphibious_75mm_support_gun
		atd_automatic_fire_suppression
		atd_auxiliary_power_unit
		atd_bolted_rolled_armor
		atd_coincidence_rangefinder
		atd_commanders_vision_cupola
		atd_rotating_panoramic_periscope
		atd_stereoscopic_observation_suite
		atd_compact_gas_turbine_engine
		atd_double_differential_transmission
		atd_dual_purpose_75mm_gun
		atd_economy_gasoline_engine
		atd_emergency_escape_hatches
		atd_face_hardened_armor
		atd_forced_crew_ventilation
		atd_gyroscopic_stabilization
		atd_heavy_105mm_high_velocity_gun
		atd_heavy_122mm_breakthrough_gun
		atd_heavy_152mm_assault_howitzer
		atd_heavy_85mm_economy_gun
		atd_heavy_88mm_dual_purpose_gun
		atd_heavy_duty_gearbox
		atd_high_hardness_welded_armor
		atd_high_output_v12_engine
		atd_hydropneumatic_suspension
		atd_improved_crew_ergonomics
		atd_improved_petrol_electric_engine
		atd_internal_spall_liner
		atd_light_37mm_high_velocity_gun
		atd_light_47mm_dual_purpose_gun
		atd_light_50mm_tank_destroyer_gun
		atd_light_75mm_support_gun
		atd_long_barrel_75mm_gun
		atd_mass_production_suspension
		atd_mechanical_ballistic_computer
		atd_medium_57mm_economy_gun
		atd_modern_100mm_autoloading_gun
		atd_modern_105mm_stabilized_gun
		atd_modern_120mm_rifled_gun
		atd_modern_90mm_standardized_gun
		atd_opposed_piston_diesel_engine
		atd_planetary_transmission
		atd_protected_ammunition_bins
		atd_reinforced_final_drive
		atd_reinforced_torsion_suspension
		atd_simplified_manual_gearbox
		atd_spaced_laminate_armor
		atd_standardized_components
		atd_stereoscopic_rangefinder
		atd_super_heavy_105mm_economy_gun
		atd_super_heavy_128mm_fortress_gun
		atd_super_heavy_150mm_siege_gun
		atd_super_heavy_170mm_assault_gun
		atd_supercharged_gasoline_engine
		atd_synchromesh_transmission
		atd_tank_destroyer_75mm_gun
		atd_torque_converter_transmission
		atd_turbocharged_diesel_engine
		atd_twin_differential_steering
		atd_wide_track_suspension
			lc_heavy_naval_guns
			lc_super_heavy_railway_gun
			lc_high_impact_obliterator_cannon
			lc_heavy_anti_air_platform
			lc_medium_naval_guns
			lc_hull_mounted_railway_gun
			lc_super_heavy_howitzer
			lc_heavy_high_velocity_cannons
			lc_heavy_anti_air_battery
			lc_medium_cannon_turret
			lc_assault_gun
			lc_high_velocity_cannon_turret
			lc_light_anti_air_battery
			lc_flamethrower_turret
			lc_rocket_launcher
			lc_radio_1
			lc_radio_2
			lc_radio_3
			lc_command_center
			lc_radar
			lc_aircraft_catapult
			lc_helipad
			lc_armored_skirts
			lc_bunker_emplacement
			lc_obstacle_clearance_gear
			lc_internal_fuel_tanks
			lc_internal_ammunition_compartments
			lc_wet_ammunition_storage
			lc_smoke_generators
			lc_stabilizers
			atd_apcbc_ammunition
			atd_he_ammunition
			atd_apcr_ammunition
			atd_heat_ammunition
			atd_apds_ammunition
			atd_smoke_wp_ammunition
			atd_canister_ammunition
			atd_demolition_ammunition
			smoke_launchers
			atd_smoke_generator
			atd_close_defense_launcher
			atd_camouflage_equipment
		}
	}
}
