armored_ITA = {
	
	role = armor

	available_for = {
		ITA
	}
	
	upgrade_prio = {
		factor = 2.0

		modifier = {
			factor = 5
			OR = {
				has_tech = basic_medium_tank
				has_tech = basic_medium_tank_chassis
			}
		}
		
		modifier = {
			factor = 2
			OR = {
				has_tech = main_battle_tank
				has_tech = main_battle_tank_chassis
			}
		}
	}

	medium_armor_default_ITA = {
	
		upgrade_prio = {
			factor = 20

			modifier = {
				factor = 5
				OR = {
					has_tech = basic_medium_tank
					has_tech = basic_medium_tank_chassis
				}
				NOT = {
					has_tech = main_battle_tank
					has_tech = main_battle_tank_chassis
				}
			}
		}

		target_template = {
			support = {
				engineer = 1
				anti_tank = 1
				medium_flame_tank = 1
				artillery = 1
				rangers_support = 1
			}
			
			regiments = {
				medium_armor = 9
				mot_anti_air_brigade = 1
				camelry = 8
			}
		}
	}
}


garrison_ITA = {
	
	role = garrison

	available_for = {
		ITA
	}
	upgrade_prio = {
		factor = 80
	}

	garrison_ITA = {
	
		reinforce_prio = 0
		custom_icon = 7
	
		upgrade_prio = {
			factor = 2

			modifier = {
				factor = 0
				is_historical_focus_on = yes
				ENG = { is_ai = yes }
				USA = { is_ai = yes }
				SOV = { is_ai = yes }
			}
		}
		
		target_template = {
			support = {
				engineer = 1
				artillery = 1
				anti_air = 1
				anti_tank = 1
				rangers_support = 1
			}
			
			regiments = {
				infantry = 9
			}
		}
	}


	garrison_ITAw = {
	
		reinforce_prio = 0
		custom_icon = 7
	
		upgrade_prio = {
			factor = 2

			modifier = {
				factor = 0
				is_historical_focus_on = yes
				OR = {
					ENG = { is_ai = no }
					USA = { is_ai = no }
					SOV = { is_ai = no }
				}
			}

			modifier = {
				factor = 0
				is_historical_focus_on = no
			}
		}
		
		target_template = {
			support = {
				engineer = 1
			}
			
			regiments = {
				infantry = 4
			}
		}
	}
}

infantry_ITA = {
	
	role = infantry

	available_for = {
		ITA
	}
	
	upgrade_prio = {
		base = 200

		modifier = {
			factor = 1
		}
	}
	infantry_default_ITA = {
	
		upgrade_prio = {
			factor = 22

			modifier = {
				factor = 1
			}
		}
		
		target_template = {
			support = {
				engineer = 1
				artillery = 1
				anti_air = 1
				rangers_support = 1
				medium_flame_tank = 1
			}
			
			regiments = {
				infantry = 10
				anti_tank_brigade = 1
			}
		}
	}
}

mountaineers_ITA = {
	
	role = mountaineers

	available_for = {
		ITA
	}
	
	upgrade_prio = {
		factor = 2

		modifier = {
			factor = 0
			NOT = {
				has_tech = tech_mountaineers
			}
		}
	}
	
	mountaineers_default_ITA = {
		upgrade_prio = {
			factor = 22

			modifier = {
				factor = 1
			}
		}

		target_template = {
			support = {
				engineer = 1
				artillery = 1
				anti_air = 1
				rangers_support = 1
				medium_flame_tank = 1
			}
			
			regiments = {
				mountaineers = 16
				anti_tank_brigade = 2
			}
		}
	}
}

marines_ITA = {
	
	role = marines

	available_for = {
		ITA
	}
	upgrade_prio = {
		factor = 2

		modifier = {
			factor = 0
			NOT = {
				has_tech = marines
			}
		}
	}
	
	marine_default_ITA = {
	
		upgrade_prio = {
			factor = 2

			modifier = {
				factor = 1
			}
		}

		target_template = {
			support = {
				recon = 1
				logistics_company = 1
			}
			
			regiments = {
				marine = 9
			}
		}
	}
}


paratroopers_ITA = {
	
	role = paratroopers

	available_for = {
		ITA
	}
	
	upgrade_prio = {
		factor = 2

		modifier = {
			factor = 0
			NOT = {
				has_tech = paratroopers
			}
		}
	}
	paratrooper_default_ITA = {
	
		upgrade_prio = {
			factor = 2

			modifier = {
				factor = 1
			}
		}

		target_template = {
			support = {
				engineer = 1
				artillery = 1
				anti_tank = 1
			}
			
			regiments = {
				paratrooper= 5 
			}
		}
	}
}


militia_ITA = {
	
	role = militias

	available_for = {
		ITA
	}
	upgrade_prio = {
		factor = 2
		modifier = {
			factor = 0
			has_completed_focus = ITA_disband_the_blackshirts
		}
	}
	
	militia_default_ITA = {
	
		upgrade_prio = {
			factor = 1
		}
		target_template = {
			support = {
				engineer = 1
				#artillery = 1
			}
			
			regiments = {
				militia = 12
			}
		}
	}
}

	# REGIMENTS:
	#infantry
	#light_armor
	#super_heavy_armor
	#modern_armor
	#heavy_armor
	#medium_armor
	#light_armor
	#anti_tank
	#cavalry
	#motorized
	#mechanized
	#marine
	#mountaineers
	#paratrooper
	#rocket_artillery
	#light_tank_destroyer
	#anti_air
	#artillery

	# SUPPORT:
	#engineer
	#recon
	#signal_company
	#maintenance_company
	#anti_tank_brigade
	#anti_air_brigade
	#artillery_brigade
	#field_hospital
	#logistics_company
	#military_police
	#light_sp_anti_air_brigade
	#light_sp_artillery_brigade
