﻿division_template = {
	name = "Dywizja Piechoty"			# Represents both regular and reserve infantry divisions
										# Reserve divisions have minimal experience and equipment; several are still forming on 1939.9.1
	regiments = {
		infantry = { x = 0 y = 0 }
		infantry = { x = 0 y = 1 }
		infantry = { x = 0 y = 2 }
		infantry = { x = 1 y = 0 }
		infantry = { x = 1 y = 1 }
		infantry = { x = 1 y = 2 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
	}
	support = {
		recon = { x = 0 y = 0 } 
	}
}
division_template = {
	name = "Dywizja Górskiej"			# 21st, 22nd Infantry Divisions

	regiments = {
		mountaineers = { x = 0 y = 0 }
		mountaineers = { x = 0 y = 1 }
		mountaineers = { x = 0 y = 2 }	
		mountaineers = { x = 1 y = 0 }
		mountaineers = { x = 1 y = 1 }
		mountaineers = { x = 1 y = 2 }
		mountaineers = { x = 2 y = 0 }	
		mountaineers = { x = 2 y = 1 }	
		mountaineers = { x = 2 y = 2 }	
	}
	support = {
		recon = { x = 0 y = 0 } 
	}
}
division_template = {
	name = "Brygada Górskiej"			# Mixed units of regular and KOP mountain troops

	regiments = {
		mountaineers = { x = 0 y = 0 }
		mountaineers = { x = 0 y = 1 }
		mountaineers = { x = 0 y = 2 }	
		infantry = { x = 1 y = 0 }
		infantry = { x = 1 y = 1 }
		infantry = { x = 1 y = 2 }
	}
}
division_template = {
	name = "Brygada Kawalerii" 

	regiments = {
		cavalry = { x = 0 y = 0 }
		cavalry = { x = 0 y = 1 }
		cavalry = { x = 0 y = 2 }
	}
	support = {
		recon = { x = 0 y = 0 }     
	}
}
division_template = {
	name = "Brygada Motorowej"

	regiments = {
		motorized = { x = 0 y = 0 }
	    motorized = { x = 0 y = 1 }
	}
	support = {
        recon = { x = 0 y = 0 }
	 	engineer = { x = 0 y = 1 }
	}
}
division_template = {
	name = "Grupa Pancerna"				# represents reserve armor assets (FT-17s and some R-35s)

	regiments = {
		light_armor = { x = 0 y = 0 }
		light_armor = { x = 0 y = 1 }
	}
	support = {
		engineer = { x = 0 y = 0 } 
	}
}
division_template = {
	name = "Ochrony Pogranicza"			# Represents groupings of Korpus Ochrony Pogranicza (KOP) and 
										# Onrona Novrova (ON) units: militia units with minimal equip and experience
	regiments = {
		infantry = { x = 0 y = 0 }
		infantry = { x = 0 y = 1 }
		infantry = { x = 0 y = 2 }
		infantry = { x = 1 y = 0 }
		infantry = { x = 1 y = 1 }
		infantry = { x = 1 y = 2 }
	}
	priority = 0
}

units = {
	######## Sztab Generalny Wojska Polskiego (CO: Smgly-Ridz) ########
	division= {	
		name = "Nadbrzezne Grupa Obrony"					# Marine forces in Danzig
		location = 362
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
		start_equipment_factor = 0.3

	}

	### Armia Pomorze (CO: Bortnowski) ###
	division= {	
		name = "9 Dywizja Piechoty"
		location = 389
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "15 Dywizja Piechoty"
		location = 3324
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "27 Dywizja Piechoty"
		location = 3295
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	# Grupa Operacyjna Wschód (CO: Boltuc) #
	division= {	
		name = "4 Dywizja Piechoty"
		location = 334
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "16 Dywizja Piechoty"
		location = 279
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	# Dowództwo Operacyjne Czersk (CO: Grzmot-Skotnicki) #
	division= {	
		name = "Pomorska B.K."
		location = 9263
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Czersk Grupa KOP"
		location = 334
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}

	### Armia Poznan (CO: Kutzreba) ###	
	division= {	
		name = "14 Dywizja Piechoty"
		location = 388
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "17 Dywizja Piechoty"
		location = 11232
		division_template = "Dywizja Piechoty"			# Under-strength on 1.9.1939
		start_experience_factor = 0.3
		start_equipment_factor = 0.7

	}
	division= {	
		name = "25 Dywizja Piechoty"
		location = 3532
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "26 Dywizja Piechoty"
		location = 9532
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "Podolska B.K."
		location = 388
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Wielkopolska B.K."
		location = 3460
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Poznan Grupa KOP"
		location = 6558
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### Armia Lódz (CO: Rommel) ###	
	division= {	
		name = "2 Dywizja Piechoty"
		location = 9546
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "10 Dywizja Piechoty"
		location = 9508
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "28 Dywizja Piechoty"
		location = 9508
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "Kresowa B.K."
		location = 11558
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	# Grupa Operacyjna Piotrkrow (CO: Thomnee) #
	division= {	
		name = "30 Dywizja Piechoty"
		location = 584
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "Wolynska B.K."
		location = 584
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}

	### Armia Kraków (CO: Szylling) ###	
	division= {	
		name = "6 Dywizja Piechoty"
		location = 506
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "7 Dywizja Piechoty"
		location = 6464
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "11 Karpacka Dywizja Piechoty"
		location = 9567
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "10 Brygada Motorowej"
		location = 11398
		division_template = "Brygada Motorowej"
		start_experience_factor = 0.3
	}
	division= {	
		name = "Krakowska B.K."
		location = 506
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	# Grupa Operacyjna Slask (CO: Sadowski) #
	division= {	
		name = "23 Dywizja Piechoty"
		location = 9412
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "55 Dywizja Piechoty Rezerwy"		# Reserve Division (low experience, poor equipment)
		location = 9412
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.1
		start_equipment_factor = 0.5

	}
	# Grupa Operacyjna Bielsko (CO: Wager) #
	division= {	
		name = "21 Dywizja Piechoty Górskiej"
		location = 9551
		division_template = "Dywizja Górskiej"
		start_experience_factor = 0.3
	}
	division= {	
		name = "1 Brygada Piechoty Górskiej"
		location = 9551
		division_template = "Brygada Górskiej"
		start_experience_factor = 0.2
		start_equipment_factor = 0.7

	}
	
	### Armia Karpaty (CO: Szylling) ###	
	division= {	
		name = "2 Brygada Piechoty Górskiej"
		location = 417
		division_template = "Brygada Górskiej"
		start_experience_factor = 0.2
		start_equipment_factor = 0.7

	}
	division= {	
		name = "3 Brygada Piechoty Górskiej"
		location = 3410
		division_template = "Brygada Górskiej"
		start_experience_factor = 0.2
		start_equipment_factor = 0.7

	}
	division= {	
		name = "Grupa Granicznej Wegry"
		location = 466
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### Armia Modlin ###	
	division= {	
		name = "8 Dywizja Piechoty"
		location = 9290
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "20 Dywizja Piechoty"
		location = 6321
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "Nowogródzka B.K."
		location = 9316
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Mazowiecka B.K."
		location = 6347
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Modlin Grupa KOP"
		location = 9290
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	## Specjalna Grupa Operacyjna Narew (CO: Mlot-Fijakowski) ##	
	division= {	
		name = "18 Dywizja Piechoty"
		location = 11329
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "33 Dywizja Piechoty Rezerwy"			# Reserve Division (low experience, poor equipment)
		location = 11357								# Mobilized using KOP troops, equipment (even lower than normal levels)
		division_template = "Dywizja Piechoty"		
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	division= {	
		name = "Suwalska B.K."
		location = 400
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	division= {	
		name = "Podalska B.K."
		location = 3254
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}

	### Armia Prusy (CO: Dab-Biernacki) ###	
	division= {	
		name = "Grupa Pancerna Prusy"
		location = 11532
		division_template = "Grupa Pancerna" 			# Was still being mobilized on 1939.9.1
		start_experience_factor = 0.3
		start_equipment_factor = 0.5

	}
	# Grupa Operacyjna Pólnocna (CO: Sadowski) #
	division= {	
		name = "13 Dywizja Piechoty"
		location = 11532
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "19 Dywizja Piechoty"
		location = 11532
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "29 Dywizja Piechoty"
		location = 11532
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	division= {	
		name = "44 Dywizja Piechoty Rezerwy"			# Reserve Division (low experience, poor equipment)
		location = 11532								# Was still being mobilized on 1939.9.1
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	division= {	
		name = "Wilenska B.K."
		location = 11532
		division_template = "Brygada Kawalerii" 
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.2
	}
	# Grupa Operacyjna Poludniowa (CO: Sadowski) #
	division= {	
		name = "3 Dywizja Piechoty Legionów"
		location = 11430
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "12 Dywizja Piechoty"
		location = 11430
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "36 Dywizja Piechoty Rezerwy"			# Reserve Division (low experience, poor equipment)
		location = 11430								# Was still being mobilized on 1939.9.1
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}

	
	#### SHQ Reserves ####	
	division= {	
		name = "39 Dywizja Piechoty Rezerwy"		# Reserve Division (low experience, poor equipment)
		location = 3544								# Was still being mobilized on 1939.9.1
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	division= {	
		name = "Brygada Motorowej Warszawska"		# Was still being mobilized on 1939.9.1
		location = 3544
		division_template = "Brygada Motorowej"
		start_experience_factor = 0.3
		start_equipment_factor = 0.3

	}
	## Grupa Operacyjna Kutno (CO: )  ##	
	division= {	
		name = "5 Dywizja Piechoty"
		location = 11492
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "24 Dywizja Piechoty"
		location = 11492
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.2
	}
	## Grupa Operacyjna Tarnow (CO: )  ##	
	division= {	
		name = "22 Dywizja Piechoty Górskiej"
		location = 562
		division_template = "Dywizja Górskiej"
		start_experience_factor = 0.3
	}
	division= {	
		name = "38 Dywizja Piechoty Rezerwy"		# Reserve Division (low experience, poor equipment)
		location = 562								# Was still being mobilized on 1939.9.1
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	## Grupa Operacyjna Wyszkow (CO: Kowalski)  ##	
	division= {	
		name = "1 DP Legionów im. Pilsudskiego"
		location = 524
		division_template = "Dywizja Piechoty"
		start_experience_factor = 0.3
	}
	division= {	
		name = "35 Dywizja Piechoty Rezerwy"		# Reserve Division (low experience, poor equipment)
		location = 524								# Was still being mobilized on 1939.9.1
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	division= {	
		name = "41 Dywizja Piechoty Rezerwy"		# Reserve Division (low experience, poor equipment)
		location = 524								
		division_template = "Dywizja Piechoty"		
		start_experience_factor = 0.1
		start_equipment_factor = 0.5

	}


	## Independent KOP Units ##	
	division= {	
		name = "Stryj Grupa KOP"
		location = 438
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division= {	
		name = "Czortkow Grupa KOP"
		location = 6435
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division= {	
		name = "Luniniec Grupa KOP"
		location = 9304
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division= {	
		name = "Wilejka Grupa KOP"
		location = 3320
		division_template = "Ochrony Pogranicza"
		force_equipment_variants = { infantry_equipment_0 = { owner = "POL" } }
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	
	######## NAVAL OOB ########
	navy = {
		name = "Polska Flota Niszczycieli"		# CO: Unrug
		base = 362 
		location = 362 # Danzig
		ship = { name = "ORP Grom" definition = destroyer equipment = { destroyer_2 = { amount = 1 owner = POL } } }	
		ship = { name = "ORP Blyskawica" definition = destroyer equipment = { destroyer_2 = { amount = 1 owner = POL } } }	
		ship = { name = "ORP Burza" definition = destroyer equipment = { destroyer_1 = { amount = 1 owner = POL } } }	
		ship = { name = "ORP Wicher" definition = destroyer equipment = { destroyer_1 = { amount = 1 owner = POL } } }		
	}	
	navy = {
		name = "Dywizjon Okretów Podwodnych"	# CO: Mohuczy
		base = 362 
		location = 362 # Danzig
		ship = { name = "ORP Orzel" definition = submarine equipment = { submarine_2 = { amount = 1 owner = POL } } }					
		ship = { name = "ORP Sep" definition = submarine equipment = { submarine_2 = { amount = 1 owner = POL } } }					
		ship = { name = "ORP Rys" definition = submarine equipment = { submarine_1 = { amount = 1 owner = POL } } }					
		ship = { name = "ORP Wilk" definition = submarine equipment = { submarine_1 = { amount = 1 owner = POL } } }					
		ship = { name = "ORP Zbik" definition = submarine equipment = { submarine_1 = { amount = 1 owner = POL } } }			
	}
}

##### Wojska Lotnicze i Obrony Powietrzne (CO: Zajec) #####
air_wings = {
	10 = { 																			# Warsaw
		### Brygada Poscigowa (CO: Pawlikowski) ###
		fighter_equipment_0 =  { owner = "POL" amount = 54 }						# III/1. Dywizjon Mysliwski -- P.11c
								# IV/1. Dywizjon Mysliwski -- P.11c
	}
	92 = { 																			# Lublin
		### Brygada Bombowy (CO: Haller) ###
		tac_bomber_equipment_1 =  { owner = "POL" amount = 36 }						# X-XV Dywizjon Bombowy -- P.37 Los
		CAS_equipment_1 =  { owner = "POL" amount = 50 }							# II-VI Dywizjon Bombowy -- P.23 Karas
	}
	85 = { 																			# Danzig
		### Lotnictwo Armii Pomorze (CO: Stachon) ###
		fighter_equipment_0 =  { owner = "POL" amount = 22 }						# III/4. Dywizjon Mysliwski -- P.11c
	}
	86 = { 																			# Poznan
		### Lotnictwo Armii Poznan (CO: Kuzminski) ###
		fighter_equipment_0 =  { owner = "POL" amount = 22 }						# III/3. Dywizjon Mysliwski -- P.11c
	}
	87 = { 																			# Lodz
		### Lotnictwo Armii Lodz (CO: Iwaszkiewscz) ###
		fighter_equipment_0 =  { owner = "POL" amount = 22 }						# III/6. Dywizjon Mysliwski -- P.11c
	}
	88 = { 																			# Krakow
		### Lotnictwo Armii Krakow (CO: Szylling) ###
		fighter_equipment_0 =  { owner = "POL" amount = 22 }						# III/2. Dywizjon Mysliwski -- P.11c
	}
	97 = { 																			# Bialystok
		### Lotnictwo Armii Modlin (CO: Prauss) ###
		fighter_equipment_0 =  { owner = "POL" amount = 22 }						# III/5. Dywizjon Mysliwski -- P.7
	}
}

#########################
## STARTING PRODUCTION ##
#########################
instant_effect = {
	add_equipment_production = {
		equipment = {
			type = infantry_equipment_1
			creator = "POL"
		}
		requested_factories = 3
		progress = 0.1
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = support_equipment_1
			creator = "POL" 
		}
		requested_factories = 1
		progress = 0.3
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = light_tank_equipment_1
			creator = "POL" 
		}
		requested_factories = 1
		progress = 0.4
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = motorized_equipment_1
			creator = "POL" 
		}
		requested_factories = 1
		progress = 0.4
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = fighter_equipment_0
			creator = "POL" 
		}
		requested_factories = 1
		progress = 0.15
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = CAS_equipment_1
			creator = "POL" 
		}
		requested_factories = 1
		progress = 0.2
		efficiency = 100
	}

}
#####################