﻿MILITARY_FORMATIONS = {
	c:PAN ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_punjab
			name = FaujiKhas

			combat_unit = {
				type = unit_type:combat_unit_type_line_infantry
				state_region = s:STATE_PUNJAB
				count = 30
			}

			combat_unit = {
				type = unit_type:combat_unit_type_lancers
				state_region = s:STATE_PUNJAB
				count = 30
			}

			save_scope_as = qawaid_army
		}

		create_character = {
			is_general = yes
			first_name = Alexander
			last_name = Gardner
			culture = cu:yankee
			interest_group = ig_armed_forces
			historical = yes
			hq = region_punjab
			age = 51
			traits = {
				brave
				# experienced_artillery_commander
			}
			save_scope_as = gardner_gen
		}

		scope:gardner_gen = {
			transfer_to_formation = scope:qawaid_army
		}
	}

	c:BIC ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_bengal
			name = Bengal_Army

			combat_unit = { # European Regiments
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_MADRAS
				count = 15
			}
			combat_unit = { # European Regiments
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BOMBAY
				count = 15
			}
			combat_unit = { # European Infantry Regiments
				type = unit_type:combat_unit_type_lancers
				state_region = s:STATE_WEST_BENGAL
				count = 15
			}
			combat_unit = { # Bengal Native Infantry
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_AGRA
				count = 15
			}
			combat_unit = { # Bengal Native Infantry
				type = unit_type:combat_unit_type_lancers
				state_region = s:STATE_EAST_BENGAL
				count = 15
			}
			combat_unit = { # Bengal Native Infantry
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_BIHAR
				count = 15
			}
			save_scope_as = bengal_army
		}

		create_character = {
			template = BIC_john_keane
			save_scope_as = keane_gen
		}

		scope:keane_gen = {
			transfer_to_formation = scope:bengal_army
		}

		create_character = {
			template = BIC_robert_o_callaghan
			save_scope_as = o_callaghan_gen
		}

		scope:o_callaghan_gen = {
			transfer_to_formation = scope:bengal_army
		}
		
		create_character = {
			template = BIC_peregrine_maitland
			save_scope_as = maitland_gen
		}

		scope:maitland_gen = {
			transfer_to_formation = scope:bengal_army
		}

		create_character = {
			template = BIC_henry_fane
			save_scope_as = fane_gen
		}

		scope:fane_gen = {
			transfer_to_formation = scope:bengal_army
		}

		create_military_formation = {
			type = fleet
			hq_region = sr:region_bombay
			name = Indian_Navy

			combat_unit = { # Nothing the size of a frigate
				type = unit_type:combat_unit_type_frigate
				state_region = s:STATE_BOMBAY	
				count = 1
			}
		}	
	}
	c:KAS ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_himalayas
			name = JammuArmy

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

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KASHMIR
				count = 2
			}

			save_scope_as = dogra_army
		}
		
		create_character = {
			is_general = yes
			first_name = Zorawar
			last_name = Singh
			historical = yes
			interest_group = ig_armed_forces
			age = 50
			hq = region_himalayas
			commander_rank = commander_rank_2
			traits = {
				reserved
				mountain_commander
			}
			save_scope_as = zorawar_gen
		}

		scope:zorawar_gen = {
			transfer_to_formation = scope:dogra_army
		}
	}
	c:LAD ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_himalayas
			name = NamgyalArmy

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_KASHMIR
				count = 2
			}
		}
	}
	c:MUG ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_punjab
			name = MughalArmy

			combat_unit = {
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_DELHI
				count = 2
			}
		}
	}
	c:BCE ?= {
		create_military_formation = {
			type = army
			hq_region = sr:region_madras
			name = CeylonRifleRegiment

			combat_unit = { # 1824 men, including officers, in 1834
				type = unit_type:combat_unit_type_irregular_infantry
				state_region = s:STATE_CEYLON
				count = 2
			}
		}
	}
}
