﻿MILITARY_FORMATIONS = {
	c:TUR ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_balkans
			name = Hassa_Ordusu

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_BULGARIA
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_WESTERN_THRACE
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_BOSNIA
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_NORTHERN_THRACE
				count = 5
			}
			save_scope_as = hassa_ordusu
		}

		create_character = { # TUR, General
			is_general = yes
			first_name = Omer_Lutfi
			last_name = Pasha
			historical = yes
			culture = cu:serb
			religion = sunni
			interest_group = ig_armed_forces
			ideology = ideology_royalist
			birth_date = 1806.9.24
			commander_rank = commander_rank_2
			hq = region_arabic
			traits = {
				meticulous
				charismatic
				experienced_offensive_planner
			}
			save_scope_as = lutfi_gen
		}

		scope:lutfi_gen = {
			transfer_to_formation = scope:hassa_ordusu
		}		

		create_military_formation = {
			type = army
			hq_region = sr:region_balkans
			name = Rumeli_Ordusu

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_THESSALIA
				count = 15
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_SOUTHERN_SERBIA
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BAGHDAD
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_ANKARA
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_MACEDONIA
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_SKOPIA
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_SKOPIA
				count = 2
			}

			save_scope_as = rumeli_ordusu
		}

		create_character = { # TUR, General
			is_general = yes
			first_name = Hafiz_Osman
			last_name = Pasha
			historical = yes
			interest_group = ig_armed_forces
			ideology = ideology_royalist
			birth_date = 1790.2.11 # Unsure of birth date, approxiamate age based on portraits.
			hq = region_caucasus
			traits = {
				reckless
				basic_defensive_strategist
			}
			save_scope_as = hafiz_gen
		}

		scope:hafiz_gen = {
			transfer_to_formation = scope:rumeli_ordusu
		}

		create_military_formation = {
			type = army
			hq_region = sr:region_anatolia
			name = Konstantiniyye_Ordusu

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_EASTERN_THRACE
				count = 20
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_ANKARA
				count = 2
			}
		}

		create_military_formation = {
			type = army
			hq_region = sr:region_anatolia
			name = Anadolu_Ordusu

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_DIYARBAKIR
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_ERZURUM
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KARS
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_HUDAVENDIGAR
				count = 15
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_AYDIN
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_KONYA
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_KASTAMONU
				count = 3
			}
		}

		create_military_formation = {
			type = fleet
			hq_region = sr:region_anatolia
			name = Donanmay_Humyn

			combat_unit = {
				type = unit_type:combat_unit_type_man_o_war
				state_region = s:STATE_HUDAVENDIGAR
				count = 6
			}

			combat_unit = {
				type = unit_type:combat_unit_type_man_o_war
				state_region = s:STATE_EASTERN_THRACE
				count = 10
			}

			combat_unit = {
				type = unit_type:combat_unit_type_man_o_war
				state_region = s:STATE_AYDIN
				count = 1
			}

			combat_unit = {
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_EASTERN_THRACE
				count = 7
			}

			combat_unit = {
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_HUDAVENDIGAR
				count = 4
			}

			combat_unit = {
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_AYDIN
				count = 2
			}

			combat_unit = {
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_MACEDONIA
				count = 3
			}
		}
	}

	c:OMA ?= {
		create_military_formation = { # If somebody can explain the reason behind these whacky ship names, please give me a call
			type = fleet
			hq_region = sr:region_arabic
			name = Bahriat_alMasqat

			combat_unit = { # Liverpool (?)
				type = unit_type:combat_unit_type_man_o_war
				state_region = s:STATE_OMAN
				count = 1
			}

			combat_unit = { # Shah Alam, Caroline, Humayun Shah, Prince of Wales (??), Piedemontaise
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_OMAN
				count = 5
			}
		}
	}
	c:PER = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_IRAKAJEMI
				count = 6
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_IRAKAJEMI
				count = 4
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_IRAKAJEMI
				count = 2
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_FARS
				count = 3
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_TABRIZ
				count = 8
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_LURISTAN
				count = 3
			}
		}
	}
	c:PER = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_ISFAHAN
				count = 3
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_MAZANDARAN
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_KHORASAN
				count = 1
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KHORASAN
				count = 4
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KERMAN
				count = 5
			}

			combat_unit = {
				type = unit_type:combat_unit_type_cannon_artillery
				state_region = s:STATE_KHORASAN
				count = 1
			}
		}
	}
	c:DUR = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KABUL
				count = 7
			}

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_PASHTUNISTAN
				count = 4
			}
		}
	}
	
	c:KAB = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KABUL
				count = 7
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_KABUL
				count = 2
			}

		}
	}

	c:HER = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_HERAT
				count = 12
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_HERAT
				count = 1
			}
		}
	}

	c:KAN = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KANDAHAR
				count = 14
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_KANDAHAR
				count = 2
			}
		}
	}

	c:MAI = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BALKH
				count = 4
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_BALKH
				count = 1
			}
		}
	}

	c:KUN = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BALKH
				count = 7
			}

			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_BALKH
				count = 2
			}
		}
	}

	c:CHT = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_PASHTUNISTAN
				count = 4
			}
		}
	}

	c:KAL = {
		create_military_formation = {
			type = army
			hq_region = sr:region_north_india

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BALUCHISTAN
				count = 6
			}
			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_BALUCHISTAN
				count = 1
			}
		}
	}

	c:MAK = {
		create_military_formation = {
			type = army
			hq_region = sr:region_north_india

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BALUCHISTAN
				count = 2
			}
			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_SISTAN
				count = 1
			}
		}
	}

	c:ARB = {
		create_military_formation = {
			type = army
			hq_region = sr:region_persia

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KHUZESTAN
				count = 4
			}
			combat_unit = {
				type = unit_type:combat_unit_type_hussars
				state_region = s:STATE_KHUZESTAN
				count = 1
			}
		}
	}
}
