# All equipment based on light tank chassis

equipments = {

	armored_car_equipment = {
		year = 1939
	
		is_archetype = yes
		is_buildable = no
		is_convertable = yes
		picture = archetype_armored_car_equipment			
		type = armor
#		type = motorized
		group_by = archetype
		
		interface_category = interface_category_armor
		

		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

		}
		module_count_limit = {
			module = sloped_armor
			count < 2
		}	
		module_count_limit = {
			category = tank_radio_module
			count < 2
		}
		module_count_limit = {
			category = tank_secondary_turret
			count < 2
		}
		module_count_limit = {
			module = amphibious_drive
			count < 1
		}

		module_count_limit = {
			module = wet_ammo_storage
			count < 2
		}

		module_count_limit = {
			module = squeezebore_adaptor
			count < 2
		}

		module_count_limit = {
			module = armor_skirts
			count < 2
		}

		module_count_limit = {
			module = dozer_blade
			count < 2
		}

		module_count_limit = {
			module = easy_maintenance
			count < 2
		}
		module_count_limit = {
			module = auto_loader
			count < 2
		}
		module_count_limit = {
			module = stabilizer
			count < 2
		}
		module_count_limit = {
			module = tank_light_fixed_superstructure_turret
			count < 1
		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = empty
			suspension_type_slot = empty
			armor_type_slot = empty
			engine_type_slot = empty
#			special_type_slot_1 = equipment_type_armored_car_module
		}
		
#		upgrades = {
#			tank_reliability_upgrade
#			ac_engine_upgrade
#			tank_armor_upgrade
#			tank_gun_upgrade
#		}

		#Misc Abilities
		maximum_speed 	= 12
		reliability 	= 0.8
		#recon 			= 2

		#Defensive Abilities
		defense 		= 3
		breakthrough 	= 16
		hardness 		= 0.65
		armor_value 	= 10

		#Offensive Abilities
		soft_attack 	= 13
		hard_attack 	= 4
		ap_attack 		= 8
		air_attack 		= 0

		#Space taken in convoy
		lend_lease_cost = 10
		
		build_cost_ic 	= 5.5
		resources = {
			#oil 		= 1
			steel 		= 2
		}

		fuel_consumption 	= 1.8
	}

	# WW1 Armored Car
	gw_armored_car_equipment = {
		year = 1914
	
		archetype = armored_car_equipment
		priority = 5
		visual_level = 0
		is_convertable = yes
		type = motorized
		
		upgrades = {
			tank_reliability_upgrade
			ac_engine_upgrade
			tank_armor_upgrade
			tank_gun_upgrade
		}
		
		

		#Misc Abilities
		maximum_speed 	= 9
		reliability 	= 0.8
		#recon 			= 1

		#Defensive Abilities
		defense 		= 2
		breakthrough 	= 12
		hardness 		= 0.65
		armor_value 	= 3

		#Offensive Abilities
		soft_attack 	= 6
		hard_attack 	= 2
		ap_attack 		= 6
		air_attack 		= 0

		build_cost_ic 		= 3.5 
		resources = {
			#oil 		= 1
			steel 		= 2
		}
		fuel_consumption 	= 0.8
	}

	armored_car_equipment_1 = {
		year = 1934
		
		archetype = armored_car_equipment
		parent = gw_armored_car_equipment
		priority = 10
		visual_level = 0
		is_convertable = yes
		type = motorized

		upgrades = {
			tank_reliability_upgrade
			ac_engine_upgrade
			tank_armor_upgrade
			tank_gun_upgrade
		}

		#Misc Abilities
		maximum_speed 	= 12
		reliability 	= 0.8
		#recon 			= 2

		#Defensive Abilities
		defense 		= 3
		breakthrough 	= 16
		hardness 		= 0.65
		armor_value 	= 10

		#Offensive Abilities
		soft_attack 	= 13
		hard_attack 	= 4
		ap_attack 		= 8
		air_attack 		= 0

		#Space taken in convoy
		lend_lease_cost = 10
		
		build_cost_ic 	= 5.5
		resources = {
			#oil 		= 1
			steel 		= 2
		}

		fuel_consumption 	= 1.8
	}

	armored_car_equipment_2 = {
		year = 1941
		
		archetype = armored_car_equipment
		parent = armored_car_equipment_1
		priority = 10
		visual_level = 1
		is_convertable = yes
		type = motorized

		upgrades = {
			tank_reliability_upgrade
			ac_engine_upgrade
			tank_armor_upgrade
			tank_gun_upgrade
		}

		#Misc Abilities
		maximum_speed 	= 15
		reliability 	= 0.8

		#Defensive Abilities
		defense 		= 5
		breakthrough 	= 28
		hardness 		= 0.70
		armor_value 	= 20
		#recon 			= 2

		#Offensive Abilities
		soft_attack 	= 16
		hard_attack 	= 8
		ap_attack 		= 36
		air_attack 		= 0		
		
		#Space taken in convoy
		lend_lease_cost = 10
		
		build_cost_ic = 7.5
		resources = {
			#oil = 1
			steel = 2
			tungsten = 1
		}
		fuel_consumption 	= 1.8
	}

	armored_car_at_equipment = {
		#should be closer to a tank than an AT tank/SPG
		year = 1941

		archetype = armored_car_equipment
		parent = armored_car_equipment_2
		priority = 10
		visual_level = 1
		is_convertable = yes
		type = motorized

		upgrades = {
			tank_reliability_upgrade
			ac_engine_upgrade
			tank_armor_upgrade
			tank_gun_upgrade
		}

		#Misc Abilities
		maximum_speed 	= 16
		reliability 	= 0.8
		#recon 			= 1

		#Defensive Abilities
		defense 		= 6
		breakthrough 	= 28
		hardness 		= 0.70
		armor_value 	= 20

		#Offensive Abilities
		soft_attack 	= 12
		hard_attack 	= 14
		ap_attack 		= 62
		air_attack 		= 0
		
		#Space taken in convoy
		lend_lease_cost = 10
		
		build_cost_ic 	= 8.5
		resources = {
			#oil 		= 1
			steel 		= 2
			tungsten 	= 1
		}
		fuel_consumption = 1.8
	}

	armored_car_chassis_0 = {
		derived_variant_name = gw_armored_car_equipment
		visual_level = 0
		year = 1914
		archetype = armored_car_equipment
#		archetype = light_tank_chassis
		priority = 10
		type = armor
		
		
		module_slots = inherit
		build_cost_ic = 1
		reliability = 1
		hardness 	= 0.8
		maximum_speed = 8
		armor_value = 3
		fuel_consumption = 0
		resources = {
			steel = 1
		}

		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_1 = {
		derived_variant_name = armored_car_equipment_1
		visual_level = 0
		year = 1940
		archetype = armored_car_equipment
		priority = 10
		module_slots = inherit
		parent = armored_car_chassis_0
		build_cost_ic = 1.25
		reliability = 0.95
		armor_value = 8
		maximum_speed = 9
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 1
		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_2 = {
		derived_variant_name = armored_car_equipment_2
		visual_level = 0
		year = 1942
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_1
		build_cost_ic = 1.6
		reliability = 1.1
		armor_value = 12
		maximum_speed = 10
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 1
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_3 = {
		derived_variant_name = armored_car_equipment_3
		visual_level = 0
		year = 1944
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_2
		build_cost_ic = 2
		reliability = 1.3
		armor_value = 16
		maximum_speed = 10
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 2
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_4 = {
		derived_variant_name = armored_car_equipment_4
		visual_level = 0
		year = 1947
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_3
		build_cost_ic = 2.5
		reliability = 1.4
		armor_value = 20
		maximum_speed = 11
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 2
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_5 = {
		derived_variant_name = armored_car_equipment_5
		visual_level = 0
		year = 1951
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_1
		build_cost_ic = 3
		reliability = 1.5
		armor_value = 24
		maximum_speed = 14
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 2
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_4 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}
		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_6 = {
		derived_variant_name = armored_car_equipment_6
		visual_level = 0
		year = 1956
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_5
		build_cost_ic = 3.5
		reliability = 1.6
		armor_value = 28
		maximum_speed = 12
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 3
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_4 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}
		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}

	armored_car_chassis_7 = {
		derived_variant_name = armored_car_equipment_7
		visual_level = 0
		year = 1960
		archetype = armored_car_equipment
		priority = 10
		parent = armored_car_chassis_6
		build_cost_ic = 4
		reliability = 1.7
		armor_value = 32
		maximum_speed = 12
		hardness 	= 0.8
		fuel_consumption = 0
		resources = {
			steel = 3
		}
		module_slots = {
			turret_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_light_turret_type
				}
			}
			main_armament_slot = {
				required = yes
				allowed_module_categories = {
				}
			}

			suspension_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_suspension_type
					tank_non_tracked_suspension_type
				}
			}

			armor_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_armor_type
				}
			}

			engine_type_slot = {
				required = yes
				allowed_module_categories = {
					tank_engine_type
				}
			}

			special_type_slot_1 = {
				required = yes
				allowed_module_categories = {
					equipment_type_armored_car
				}
			}

			special_type_slot_2 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_3 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}

			special_type_slot_4 = {
				required = no
				allowed_module_categories = {
					tank_special_module
					tank_radio_module
				}
			}
		}
		default_modules = {
			main_armament_slot = empty
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_wheeled_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = equipment_type_armored_car_module
		}
		upgrades = {
			tank_AT_reliability_upgrade
			tank_nsb_engine_upgrade
			tank_nsb_armor_upgrade
		}
	}
	
	
}
