
infantry_POL = {
	
	role = infantry

	available_for = {
		POL
	}
	
	upgrade_prio = {
		factor = 2000
	}
	infantry_mass_mob_POL_base = {
	
		upgrade_prio = {
			factor = 3000

			modifier = {
				factor = 0
				is_ai_mass_mob = no
			}
			modifier = {
				factor = 0
				AND = {
					date > 1941.1.1
					has_capitulated = no
				}
			}

			modifier = {
				factor = 0
				is_historical_focus_on = no
			}


		}
		target_template = {
			support = {
				anti_air = 1
				artillery = 1
				rangers_support = 1
			}

			regiments = {
				infantry = 7
			}
		}
	}

	infantry_mass_mob_POL_upgrade = {
	
		upgrade_prio = {
			factor = 1000

			modifier = {
				factor = 0
				is_ai_mass_mob = no
			}

			modifier = {
				factor = 0
				OR = {
					date < 1941.1.1
					has_capitulated = yes
				}
			}

			modifier = {
				factor = 0
				is_historical_focus_on = no
			}


		}
		
		can_upgrade_in_field = {
			has_equipment = { anti_tank_equipment > 200 } 
		}
		

		target_template = {
			support = {
				engineer = 1
				anti_air = 1
				artillery = 1
				logistics_company = 1
				rangers_support = 1
			}

			regiments = {
				infantry = 10
				anti_tank_brigade = 1
			}
		}
	}

	infantry_mass_mob_POL_nonhistorical = {
	
		upgrade_prio = {
			factor = 1000

			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_completed_focus = POL_cossack_king
			}


		}

		target_template = {
			support = {
				engineer = 1
				anti_air = 1
				artillery = 1
				logistics_company = 1
				rangers_support = 1
			}

			regiments = {
				infantry = 9
				artillery_brigade = 1
			}
		}
	}

	infantry_silly_horse_king_cavalry = {
	
		upgrade_prio = {
			factor = 2000
			modifier = {
				factor = 0
				NOT = { has_completed_focus = POL_cossack_king }
			}


		}
		target_template = {
			support = {
				anti_air = 1
				artillery = 1
			}

			regiments = {
				cavalry = 10
			}
		}
	}

	infantry_silly_horse_king_cavalry_2 = {
	
		upgrade_prio = {
			factor = 2000
			modifier = {
				factor = 0
				NOT = { has_completed_focus = POL_cossack_king }
			}


		}
		
		can_upgrade_in_field = {
			has_equipment = { support_equipment > 200 } 
		}
		target_template = {
			support = {
				anti_tank = 1
				anti_air = 1
				artillery = 1
				logistics_company = 1
				rangers_support = 1
			}

			regiments = {
				cavalry = 10
			}
		}
	}
}
