# AI tank design for testing

HUN_light_tank_artillery = {
	category = land

	blocked_for = {}

	available_for = { HUN }

	roles = {
		land_light_tank_artillery
	}

	priority = {
		factor = 500
	}
	light_tank_artillery_0 = {
		priority = {
			factor = 10000

		}
		enable = {
			has_tech = interwar_artillery
		}

		target_variant = {
			match_value = 1000
			type = light_tank_artillery_chassis_0
			modules = {
				main_armament_slot = {
					any_of = {
						tank_close_support_gun
						tank_medium_howitzer
						tank_medium_howitzer_2
					}
				}
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_gasoline_engine
				special_type_slot_1 = secondary_turret_hmg
				special_type_slot_2 = additional_machine_guns
				special_type_slot_3 = additional_machine_guns
				special_type_slot_4 = additional_machine_guns
			}
			upgrades = {
				tank_nsb_engine_upgrade = 0
				tank_nsb_armor_upgrade = 4
			}
		}

		allowed_modules = {
			tank_close_support_gun
			tank_medium_howitzer
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_wheeled_suspension
			tank_riveted_armor
			tank_gasoline_engine
			additional_machine_guns
			secondary_turret_hmg
		}
	}
	light_tank_artillery_1 = {
		priority = {
			factor = 10000

		}
		enable = {
			has_tech = interwar_artillery
		}

		target_variant = {
			match_value = 1000
			type = light_tank_artillery_chassis_1
			modules = {
				main_armament_slot = {
					any_of = {
						tank_close_support_gun
						tank_medium_howitzer
						tank_medium_howitzer_2
					}
				}
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_diesel_engine
				special_type_slot_1 = secondary_turret_hmg
				special_type_slot_2 = additional_machine_guns
				special_type_slot_3 = additional_machine_guns
				special_type_slot_4 = additional_machine_guns
			}
			upgrades = {
				tank_nsb_engine_upgrade = 0
				tank_nsb_armor_upgrade = 4
			}
		}

		allowed_modules = {
			tank_close_support_gun
			tank_medium_howitzer
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_wheeled_suspension
			tank_riveted_armor
			tank_diesel_engine
			additional_machine_guns
			secondary_turret_hmg
		}
	}
	light_tank_artillery_2 = {
		priority = {
			factor = 20000

		}
		enable = {
			has_tech = artillery1
		}

		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 = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_diesel_engine
				special_type_slot_1 = secondary_turret_hmg
				special_type_slot_2 = additional_machine_guns
				special_type_slot_3 = additional_machine_guns
				special_type_slot_4 = additional_machine_guns
			}
			upgrades = {
				tank_nsb_engine_upgrade = 0
				tank_nsb_armor_upgrade = 4
			}
		}

		allowed_modules = {
			tank_medium_howitzer
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_wheeled_suspension
			tank_riveted_armor
			tank_diesel_engine
			additional_machine_guns
			secondary_turret_hmg
		}
	}
	light_tank_artillery_2b = {
		priority = {
			factor = 20000

		}
		enable = {
			has_tech = artillery1
		}

		target_variant = {
			match_value = 1500
			type = light_tank_artillery_chassis_2
			modules = {
				main_armament_slot = tank_medium_howitzer_2
				turret_type_slot = tank_light_fixed_superstructure_turret
				suspension_type_slot = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_diesel_engine
				special_type_slot_1 = secondary_turret_hmg
				special_type_slot_2 = additional_machine_guns
				special_type_slot_3 = additional_machine_guns
				special_type_slot_4 = easy_maintenance
			}
			upgrades = {
				tank_nsb_engine_upgrade = 0
				tank_nsb_armor_upgrade = 4
			}
		}

		allowed_modules = {
			tank_medium_howitzer
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_wheeled_suspension
			tank_riveted_armor
			tank_diesel_engine
			additional_machine_guns
			secondary_turret_hmg
			easy_maintenance
		}
	}

	light_tank_artillery_3 = {
		priority = {
			factor = 35000

		}
		enable = {
			has_tech = artillery4
		}

		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 = tank_wheeled_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_diesel_engine
				special_type_slot_1 = easy_maintenance
				special_type_slot_2 = secondary_turret_hmg
				special_type_slot_3 = additional_machine_guns
				special_type_slot_4 = additional_machine_guns
			}
			upgrades = {
				tank_nsb_engine_upgrade = 0
				tank_nsb_armor_upgrade = 4
			}
		}

		allowed_modules = {
			tank_medium_howitzer
			tank_medium_howitzer_2
			tank_light_fixed_superstructure_turret
			tank_wheeled_suspension
			tank_riveted_armor
			tank_diesel_engine
			secondary_turret_hmg
			additional_machine_guns		
			easy_maintenance
		}
	}
}
