# AI tank design for testing
generic_light_tanks = {
	category = land

	available_for = {CZE}

	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
			}
		}

		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 = tank_bogie_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_gasoline_engine
				special_type_slot_1 = empty
				special_type_slot_2 = empty
				special_type_slot_3 = empty
				special_type_slot_4 = empty
			}
			upgrades = {
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = {
					base = 1
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {
			tank_heavy_machine_gun
			tank_light_one_man_tank_turret
			tank_bogie_suspension
			tank_riveted_armor
			tank_gasoline_engine
		}
	}

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

		target_variant = {
			match_value = 2000
			type = light_tank_chassis_1
			modules = {
				main_armament_slot = { 
					any_of = { 
						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 = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_gasoline_engine
				special_type_slot_1 = empty
				special_type_slot_2 = empty
				special_type_slot_3 = empty
				special_type_slot_4 = empty
			}
			upgrades = {
				tank_nsb_engine_upgrade = 5
				tank_nsb_armor_upgrade = {
					base = 3
					modifier = {
						add = 1
						has_war = yes
					}
				}
			}
		}

		allowed_modules = {
			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_wheeled_suspension
			tank_riveted_armor
			tank_gasoline_engine
		}
	}

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

		target_variant = {
			match_value = 3000
			type = light_tank_chassis_2
			modules = {
				main_armament_slot = { 
					any_of = { 
						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 = tank_wheeled_suspension
				armor_type_slot = { 
					any_of = { 
						tank_welded_armor 
						tank_riveted_armor 
					} 
				}
				engine_type_slot = tank_gasoline_engine
				special_type_slot_1 = tank_radio_module
				special_type_slot_2 = easy_maintenance
				special_type_slot_3 = empty
				special_type_slot_4 = empty
			}
			upgrades = {
				tank_nsb_engine_upgrade = 7
				tank_nsb_armor_upgrade = 0
			}
		}

		allowed_modules = {
			easy_maintenance
			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_wheeled_suspension
			tank_riveted_armor
			tank_gasoline_engine
		}
	}

	advanced_light_tank_default = {
		priority = {
			factor = 10
		}

		target_variant = {
			match_value = 4000
			type = light_tank_chassis_3
			modules = {
				main_armament_slot = { 
					any_of = { 
						tank_close_support_gun 
						tank_high_velocity_cannon 
						tank_small_cannon_2 
					} 
				}
				turret_type_slot = tank_light_three_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 = tank_radio_module
				special_type_slot_2 = easy_maintenance
				special_type_slot_3 = empty
				special_type_slot_4 = empty
			}
			upgrades = {
				tank_nsb_engine_upgrade = 7
				tank_nsb_armor_upgrade = 0
			}
		}

		allowed_modules = { 
			easy_maintenance
			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_wheeled_suspension
			tank_riveted_armor
			tank_gasoline_engine
		}
	}
}