division_template = {
	name = "Pesadijska Divizija"	# Infantry Division	
	# Note: infantry divisions were all at low reserve levels even just prior to Axis 
	#	invasion of 1941

	division_names_group = YUG_INF_01

	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 = {
		engineer = { x = 0 y = 0 } 
		artillery = { x = 0 y = 1 }  
	}
}
division_template = {
	name = "Gorska Pesadija"		# Mountain Brigade

	division_names_group = YUG_MTN_01

	regiments = {
		mountaineers = { x = 0 y = 0 }
		mountaineers = { x = 0 y = 1 }
		mountaineers = { x = 0 y = 2 }
	}
}
division_template = {

	division_names_group = YUG_CAV_01

	name = "Konjička Divizija" 			# Cavalry Division
	# Note: regiments within the brigade were battalion-sized units
	regiments = {
		cavalry = { x = 0 y = 0 }
		cavalry = { x = 0 y = 1 }
		cavalry = { x = 0 y = 2 }
		cavalry = { x = 1 y = 0 }
		cavalry = { x = 1 y = 1 }
		cavalry = { x = 1 y = 2 }
	}
}
division_template = {
	name = "Tenkovski Bataljon" 			# Tank Battalion
	# Note: 1st Armor Battalion had FT-17s in 1936, 
	#	2nd battalion formed when R-35s added in 1940

	division_names_group = YUG_ARM_01

	regiments = {
		light_armor = { x = 0 y = 0 }
		infantry = { x = 1 y = 0 }       # added infantry to not make it a death trap
		infantry = { x = 1 y = 1 }
		infantry = { x = 1 y = 2 }
	}
}


units = {
	######## LAND UNITS ########
	###### Vojska Kraljevine Jugoslavije ######
	division = {
#		name = "Gardijska Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 4
		}
		location = 11586
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.3
	}
	division = {
		#name = "1. 'Cerska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 1
		}
		location = 11586
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		name = "1. Bataljon Bornih Kola"
		location = 11586
		division_template = "Tenkovski Bataljon"
		start_experience_factor = 0.3
		start_equipment_factor = 1
		force_equipment_variants = { gw_tank_equipment = { owner = "YUG" creator = "FRA" } }

	}

	### Obalnim Armija ###
	division = {
		#name = "12. 'Jadranska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 12
		}
		location = 3924
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### 5. Armija ###
	division = {
		#name = "8. 'Krajinska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 8
		}
		location = 907
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "9. 'Timocka' Pesadijska Div."  				# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 9
		}
		location = 11868
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "2. Konjička Divizija"
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 2
		}
		location = 11887
		division_template = "Konjička Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### 6. Armija ###
	division = {
		#name = "3. 'Dunavska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 3
		}
		location = 3614
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	#### 1. Grupa Vojska ####
	### 4. Armija ###
	division = {
		#name = "27. 'Savaska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 27
		}
		location = 11581
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### 7. Armija ###
	division = {
		#name = "Triglavski Odred"
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 1
		}
		location = 3631
		division_template = "Gorska Pesadija"
		start_experience_factor = 0.3
		start_equipment_factor = 0.7

	}
	division = {
		#name = "Risnajaski Odred" 							# Rinajaski if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 2
		}
		location = 11612
		division_template = "Gorska Pesadija"
		start_experience_factor = 0.3
		start_equipment_factor = 0.7

	}
	division = {
		#name = "1. Konjička Divizija"
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 1
		}
		location = 9627
		division_template = "Konjička Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	#### 2. Grupa Vojska ####
	### 1. Armija ###
	division = {
		#name = "7. 'Potiska' Pesadijska Div."  				# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 7
		}
		location = 6643
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "3. Konjička Divizija"
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 3
		}
		location = 614
		division_template = "Konjička Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### 2. Armija ###
	division = {
		#name = "10. 'Bosanska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 10
		}
		location = 3627
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "17. 'Vrbaska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 17
		}
		location = 3623
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	#### 3. Grupa Vojska ####
	### 3. Armija ###
	division = {
		#name = "13. 'Hercegovacka' Pesadijska Div."  		# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 13
		}
		location = 833
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "15. 'Zetska' Pesadijska Div."  				# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 15
		}
		location = 6913
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "25. 'Vardarsa' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 25
		}
		location = 9809
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	### 3. Teritorijalna Armija ###
	division = {
		#name = "5. 'Sumadijska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 5
		}
		location = 3833
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "20. 'Bregalnicka' Pesadijska Div."  		# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 20
		}
		location = 11856
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}
	division = {
		#name = "22. 'Ibarska' Pesadijska Div."  			# Peadijska if we get font support
		division_name = {    # New syntax for compatibility with name lists
			is_name_ordered = yes
			name_order = 22
		}
		location = 3882
		division_template = "Pesadijska Divizija"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}


	##### NAVAL UNITS #####
	###### Kraljevska Jugoslovenska Ratna Mornarica (KJRM) ######
	navy = {				
		name = "Kraljevska Mornarica"			
		base = 3924
		location = 3924 # Split
		ship = { name = "KB Dalmacija" definition = light_cruiser equipment = { light_cruiser_1 = { amount = 1 owner = YUG } } }
		ship = { name = "KB Dubrovnik" definition = destroyer equipment = { destroyer_1 = { amount = 1 owner = YUG } } }
		# Podmornica Divizija
		ship = { name = "KB Hrabri" definition = submarine equipment = { submarine_1 = { amount = 1 owner = YUG } } }				
		ship = { name = "KB Nebojsa" definition = submarine equipment = { submarine_1 = { amount = 1 owner = YUG } } }				
		ship = { name = "KB Smeli" definition = submarine equipment = { submarine_1 = { amount = 1 owner = YUG } } }				
		ship = { name = "KB Osvetnik" definition = submarine equipment = { submarine_1 = { amount = 1 owner = YUG } } }				
	}				

}  # Neboja if we get font support


###### Vazduhoplovstvo Vojske Kraljevine Jugoslavije (VVKJ) ######
air_wings = {
	107 = {
		# 1. Vazduhoplovna Brigada -- Dewotine D.1/9/27 fighters
		fighter_equipment_0 = {
			owner = "YUG" 
			amount = 48
		}
	}
	104 = {
		# 2. Vazduhoplovna Brigada  -- Hawker Fury and Ikarus IK-2 fighters
		fighter_equipment_0 = {
			owner = "YUG" 
			amount = 48
		}
	}
}

### Starting Production ###
instant_effect = {
	add_equipment_production = {
		equipment = {
			type = infantry_equipment_1
			creator = "YUG"
		}
		requested_factories = 1
		progress = 0.37
		efficiency = 100
	}
	add_equipment_production = {
		equipment = {
			type = support_equipment_1
			creator = "YUG"
		}
		requested_factories = 1
		progress = 0.76
		efficiency = 100
	}
	
}