on_actions = {
	on_startup = {
		effect = {
			every_country = {
				country_lock_all_division_template = no
				#USSR
				if = {
					limit = {
						has_template = "NKVD Pogranichnaya Diviziya"
					}
					set_division_template_lock = {
						division_template = "NKVD Pogranichnaya Diviziya"
						is_locked = no
					}
				}
				#Switzerland
				if = {
					limit = {
						has_template = "Leichte-Brigade"
					}
					set_division_template_lock = {
						division_template = "Leichte-Brigade"
						is_locked = no
					}
				}
				#Ethiopia
				if = {
					limit = {
						has_template = "Kebur Zabagna"
					}
					set_division_template_lock = {
						division_template = "Kebur Zabagna"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Chitet Sefari"
					}
					set_division_template_lock = {
						division_template = "Chitet Sefari"
						is_locked = no
					}
				}
				#Italy
				if = { #
					limit = {
						has_template = "Truppe Irregolari a Cavallo"
					}
					set_division_template_lock = {
						division_template = "Truppe Irregolari a Cavallo"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Banda Indigena Irregolare"
					}
					set_division_template_lock = {
						division_template = "Banda Indigena Irregolare"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Camicie Nere" 
					}
					set_division_template_lock = {
						division_template = "Camicie Nere"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Banda Irregolare Eritrea"
					}
					set_division_template_lock = {
						division_template = "Banda Irregolare Eritrea"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Banda Irregolare Somala"
					}
					set_division_template_lock = {
						division_template = "Banda Irregolare Somala"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Banda Irregolare Libica"
					}
					set_division_template_lock = {
						division_template = "Banda Irregolare Libica"
						is_locked = no
					}
				}
				if = { #
					limit = {
						has_template = "Banda Indigena Irregolare"
					}
					set_division_template_lock = {
						division_template = "Banda Indigena Irregolare"
						is_locked = no
					}
				}
				#SEA
				#Mengukuo
				if = {
					limit = {
						has_template = "Mongol Levy"
					}
					set_division_template_lock = {
						division_template = "Mongol Levy"
						is_locked = no
					}
				}
				#Japan
				if = {
					limit = {
						has_template = "Kantō-gun Hohei Shidan"
					}
					set_division_template_lock = {
						division_template = "Kantō-gun Hohei Shidan"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Dai-Nippon Teikoku Rikugun Hohei Shidan"
					}
					set_division_template_lock = {
						division_template = "Dai-Nippon Teikoku Rikugun Hohei Shidan"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Ashigaru Levy"
					}
					set_division_template_lock = {
						division_template = "Ashigaru Levy"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Kokumin Giyū Sentōtai"
					}
					set_division_template_lock = {
						division_template = "Kokumin Giyū Sentōtai"
						is_locked = no
					}
				}
				#Manchuria
				if = {
					limit = {
						has_template = "Yong Ying"
					}
					set_division_template_lock = {
						division_template = "Yong Ying"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Rebel Forces"
					}
					set_division_template_lock = {
						division_template = "Rebel Forces"
						is_locked = no
					}
				}
				#China
				if = {
					limit = {
						has_template = "Blueshirt Militia"
					}
					set_division_template_lock = {
						division_template = "Blueshirt Militia"
						is_locked = no
					}
				}
			}
		}
	}
	on_weekly = {
		effect = {
			country_lock_all_division_template = no
			#"Anti-Exploit Punitive Brigade" is only given to AI
			if = {
				limit = {
					has_template = "Makedonska Revolyutsionna Militsiya"
				}
				set_division_template_lock = {
					division_template = "Makedonska Revolyutsionna Militsiya"
					is_locked = no
				}
			}
			#France
			if = {
				limit = {
					has_template = "Syria Intervention Force" 	
				}
				set_division_template_lock = {
					division_template = "Syria Intervention Force" 	
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Syria Defense Force" 	
				}
				set_division_template_lock = {
					division_template = "Syria Defense Force" 	
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Indochina Intervention Force" 
				}
				set_division_template_lock = {
					division_template = "Indochina Intervention Force" 
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Indochina Defense Force"
				}
				set_division_template_lock = {
					division_template = "Indochina Defense Force"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Central Africa Intervention Force"
				}
				set_division_template_lock = {
					division_template = "Central Africa Intervention Force"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Central Africa Defense Force"
				}
				set_division_template_lock = {
					division_template = "Central Africa Defense Force"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "West Africa Intervention Force"
				}
				set_division_template_lock = {
					division_template = "West Africa Intervention Force"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "West Africa Defense Force"
				}
				set_division_template_lock = {
					division_template = "West Africa Defense Force"
					is_locked = no
				}
			}
			#Italy
			if = {
				limit = {
					has_template = "Divisione Partigiana"
				}
				set_division_template_lock = {
					division_template = "Divisione Partigiana"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Truppe Irregolari a Cavallo"
				}
				set_division_template_lock = {
					division_template = "Truppe Irregolari a Cavallo"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Truppe Irregolari di Cammelli"
				}
				set_division_template_lock = {
					division_template = "Truppe Irregolari di Cammelli"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Cavalleria Coloniale"
				}
				set_division_template_lock = {
					division_template = "Cavalleria Coloniale"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Banda Indigena Irregolare"
				}
				set_division_template_lock = {
					division_template = "Banda Indigena Irregolare"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Camicie Nere" 
				}
				set_division_template_lock = {
					division_template = "Camicie Nere"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Camicie Rosse" 
				}
				set_division_template_lock = {
					division_template = "Camicie Rosse"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Banda Irregolare Eritrea"
				}
				set_division_template_lock = {
					division_template = "Banda Irregolare Eritrea"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Banda Irregolare Somala"
				}
				set_division_template_lock = {
					division_template = "Banda Irregolare Somala"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Banda Irregolare Libica"
				}
				set_division_template_lock = {
					division_template = "Banda Irregolare Libica"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Banda Indigena Irregolare"
				}
				set_division_template_lock = {
					division_template = "Banda Indigena Irregolare"
					is_locked = no
				}
			}
			#???
			if = {
				limit = {
					has_template = "Tomislav's Royal Guards"
				}
				set_division_template_lock = {
					division_template = "Tomislav's Royal Guards"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Montenegrin Chetniks"
				}
				set_division_template_lock = {
					division_template = "Montenegrin Chetniks"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Redemption Army"
				}
				set_division_template_lock = {
					division_template = "Redemption Army"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Manchu Banner"
				}
				set_division_template_lock = {
					division_template = "Manchu Banner"
					is_locked = no
				}
			}
			#Soviets
			if = {
				limit = {
					has_template = "Shtrafnaya Chast"
				}
				set_division_template_lock = {
					division_template = "Shtrafnaya Chast"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Trotskyist Revolutionary Militias"
				}
				set_division_template_lock = {
					division_template = "Trotskyist Revolutionary Militias"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Resistance Fighters"	#Also used by Ethiopia
				}
				set_division_template_lock = {
					division_template = "Resistance Fighters"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Peasant Militia"
				}
				set_division_template_lock = {
					division_template = "Peasant Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "International Marxist Brigades"
				}
				set_division_template_lock = {
					division_template = "International Marxist Brigades"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Soviet Special Brigades"
				}
				set_division_template_lock = {
					division_template = "Soviet Special Brigades"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "POUM Special Brigades"
				}
				set_division_template_lock = {
					division_template = "POUM Special Brigades"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada de las Juventudes del POUM"
				}
				set_division_template_lock = {
					division_template = "Brigada de las Juventudes del POUM"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Trotskyist Workers' Militia"
				}
				set_division_template_lock = {
					division_template = "Trotskyist Workers' Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Trotskyist Peasant Militia"
				}
				set_division_template_lock = {
					division_template = "Trotskyist Peasant Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bukharinist Workers' Militia"
				}
				set_division_template_lock = {
					division_template = "Bukharinist Workers' Militia"
					is_locked = no
				}
			}		
			if = {
				limit = {
					has_template = "Bukharinist Peasant Militia"
				}
				set_division_template_lock = {
					division_template = "Bukharinist Peasant Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Japanese Expeditionary Force"
				}
				set_division_template_lock = {
					division_template = "Japanese Expeditionary Force"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Opposition Partisan Brigade"
				}
				set_division_template_lock = {
					division_template = "Opposition Partisan Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "International Brigades"
				}
				set_division_template_lock = {
					division_template = "International Brigades"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "German Trained Division"
				}
				set_division_template_lock = {
					division_template = "German Trained Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "NKVD Pogranichnaya Diviziya"
				}
				set_division_template_lock = {
					division_template = "NKVD Pogranichnaya Diviziya"
					is_locked = no
				}
			}
			#Spain
			if = {
				limit = {
					has_template = "Brigada Internacionales"
				}
				set_division_template_lock = {
					division_template = "Brigada Internacionales"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Fifth Columnist Brigade"
				}
				set_division_template_lock = {
					division_template = "Fifth Columnist Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Anarchist Militia"
				}
				set_division_template_lock = {
					division_template = "Anarchist Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Carabineros"
				}
				set_division_template_lock = {
					division_template = "Carabineros"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada Legionario"
				}
				set_division_template_lock = {
					division_template = "Brigada Legionario"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Guarnición Nacionalista"
				}
				set_division_template_lock = {
					division_template = "Guarnición Nacionalista"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Guarnición Republicana"
				}
				set_division_template_lock = {
					division_template = "Guarnición Republicana"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Requeté Carlista"
				}
				set_division_template_lock = {
					division_template = "Requeté Carlista"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "División de la Guardia de Asalto"
				}
				set_division_template_lock = {
					division_template = "División de la Guardia de Asalto"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada de la Guardia Civil"
				}
				set_division_template_lock = {
					division_template = "Brigada de la Guardia Civil"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada de la Guardia Civil"
				}
				set_division_template_lock = {
					division_template = "Brigada de la Guardia Civil"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada de Juventudes Sindicales"
				}
				set_division_template_lock = {
					division_template = "Brigada de Juventudes Sindicales"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada Popular"
				}
				set_division_template_lock = {
					division_template = "Brigada Popular"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Brigada Anarquista"
				}
				set_division_template_lock = {
					division_template = "Brigada Anarquista"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Spanish Loyalist Division"
				}
				set_division_template_lock = {
					division_template = "Spanish Loyalist Division"
					is_locked = no
				}
			}
			#Britain
			if = {
				limit = {
					has_template = "Loyalist Brigade"
				}
				set_division_template_lock = {
					division_template = "Loyalist Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Blackshirt Brigade"
				}
				set_division_template_lock = {
					division_template = "Blackshirt Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Pakistani Liberation Army"
				}
				set_division_template_lock = {
					division_template = "Pakistani Liberation Army"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Hindu Militia"
				}
				set_division_template_lock = {
					division_template = "Hindu Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bangladeshi Liberation Army"
				}
				set_division_template_lock = {
					division_template = "Bangladeshi Liberation Army"
					is_locked = no
				}
			}
			#USA
			if = {
				limit = {
					has_template = "Local Volunteers"
				}
				set_division_template_lock = {
					division_template = "Local Volunteers"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Citizen Militia"
				}
				set_division_template_lock = {
					division_template = "Citizen Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Silver Legion"
				}
				set_division_template_lock = {
					division_template = "Silver Legion"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Exiles"
				}
				set_division_template_lock = {
					division_template = "Exiles"
					is_locked = no
				}
			}
			#Baltics
			if = {
				limit = {
					has_template = "Soviet Volunteers" #Also used by Japan
				}
				set_division_template_lock = {
					division_template = "Soviet Volunteers"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Forest Brothers"
				}
				set_division_template_lock = {
					division_template = "Forest Brothers"
					is_locked = no
				}
			}	
			#Germany (SS)
			if = {
				limit = {
					has_template = "SS Motorisierte Division"
				}
				set_division_template_lock = {
					division_template = "SS Motorisierte Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Panzergrenadier Division"
				}
				set_division_template_lock = {
					division_template = "SS Panzergrenadier Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Panzergrenadier Division (n.A.)"
				}
				set_division_template_lock = {
					division_template = "SS Panzergrenadier Division (n.A.)"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Panzer Division"
				}
				set_division_template_lock = {
					division_template = "SS Panzer Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Panzer Division (n.A.)"
				}
				set_division_template_lock = {
					division_template = "SS Panzer Division (n.A.)"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Panzer Division (vollgep.)"
				}
				set_division_template_lock = {
					division_template = "SS Panzer Division (vollgep.)"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS Waffen-Grenadier-Division"
				}
				set_division_template_lock = {
					division_template = "SS Waffen-Grenadier-Division"
					is_locked = no
				}
			}
			#Germany (civil war)
			if = {
				limit = {
					has_template = "SS-Sturmbrigade"
				}
				set_division_template_lock = {
					division_template = "SS-Sturmbrigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Landsturmregiment"
				}
				set_division_template_lock = {
					division_template = "Landsturmregiment"
					is_locked = no
				}
			}
			#Ethiopia
			if = {
				limit = {
					has_template = "Arbegnoch Fighters"
				}
				set_division_template_lock = {
					division_template = "Arbegnoch Fighters"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Kebur Zabagna"
				}
				set_division_template_lock = {
					division_template = "Kebur Zabagna"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Chitet Sefari"
				}
				set_division_template_lock = {
					division_template = "Chitet Sefari"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Guards"
				}
				set_division_template_lock = {
					division_template = "Guards"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Red Guards"
				}
				set_division_template_lock = {
					division_template = "Red Guards"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Black Lions"
				}
				set_division_template_lock = {
					division_template = "Black Lions"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Eritrean Askari"
				}
				set_division_template_lock = {
					division_template = "Eritrean Askari"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "International brigade"
				}
				set_division_template_lock = {
					division_template = "International brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Irregular Cavalry Division"
				}
				set_division_template_lock = {
					division_template = "Irregular Cavalry Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Irregular Camelry Division"
				}
				set_division_template_lock = {
					division_template = "Irregular Camelry Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Congolese Mercenaries"
				}
				set_division_template_lock = {
					division_template = "Congolese Mercenaries"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Arab Mercenaries"
				}
				set_division_template_lock = {
					division_template = "Arab Mercenaries"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Sudanese Mercenaries"
				}
				set_division_template_lock = {
					division_template = "Sudanese Mercenaries"
					is_locked = no
				}
			}
			#Rebellions
			if = {
				limit = {
					has_template = "Resistance"
				}
				set_division_template_lock = {
					division_template = "Resistance"
					is_locked = no
				}
			}
			#Bulgaria
			if = {
				limit = {
					has_template = "Fatherland Front Militia"
				}
				set_division_template_lock = {
					division_template = "Fatherland Front Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Fatherland Front Partisans"
				}
				set_division_template_lock = {
					division_template = "Fatherland Front Partisans"
					is_locked = no
				}
			}
			#Yugoslavia
			if = {
				limit = {
					has_template = "Yugoslavian Defence Army"
				}
				set_division_template_lock = {
					division_template = "Yugoslavian Defence Army"
					is_locked = no
				}
			}
			#Switzerland
			if = {
				limit = {
					has_template = "Leichte-Brigade"
				}
				set_division_template_lock = {
					division_template = "Leichte-Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Swiss Citizen Militia"
				}
				set_division_template_lock = {
					division_template = "Swiss Citizen Militia"
					is_locked = no
				}
			}
			#Mixed
			if = {
				limit = {
					has_template ="FFI Demi-Brigade" #Free France
				}
				set_division_template_lock = {
					division_template ="FFI Demi-Brigade"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "East African Irregulars" #Horn of Africa
				}
				set_division_template_lock = {
					division_template = "East African Irregulars"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Maori Volunteers" #New Zealand
				}
				set_division_template_lock = {
					division_template = "Maori Volunteers"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Morges Division" #Poland
				}
				set_division_template_lock = {
					division_template = "Morges Division"
					is_locked = no
				}
			}
			#Japan (civil war)
			if = {
				limit = {
					has_template = "Japanese People's Regiment"
				}
				set_division_template_lock = {
					division_template = "Japanese People's Regiment"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Japanese Loyalist Regiment"
				}
				set_division_template_lock = {
					division_template = "Japanese Loyalist Regiment"
					is_locked = no
				}
			}
			#Latvia
			if = {
				limit = {
					has_template = "Ugonskrust Division"
				}
				set_division_template_lock = {
					division_template = "Ugonskrust Division"
					is_locked = no
				}
			}
			#Netherlands
			if = {
				limit = {
					has_template = "Hare Majesteits Duitse Legioen"
				}
				set_division_template_lock = {
					division_template = "Hare Majesteits Duitse Legioen"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "American Garrison"
				}
				set_division_template_lock = {
					division_template = "American Garrison"
					is_locked = no
				}
			}
			#Denmark
			if = {
				limit = {
					has_template = "Landstormen Militia"
				}
				set_division_template_lock = {
					division_template = "Landstormen Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Modstandsbevægelsen Militia"
				}
				set_division_template_lock = {
					division_template = "Modstandsbevægelsen Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Danske Brigade"
				}
				set_division_template_lock = {
					division_template = "Danske Brigade"
					is_locked = no
				}
			}
			#Finland
			if = {
				limit = {
					has_template = "Rannikkorykmentti"
				}
				set_division_template_lock = {
					division_template = "Rannikkorykmentti"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Mustapaidat"
				}
				set_division_template_lock = {
					division_template = "Mustapaidat"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Punakaarti"
				}
				set_division_template_lock = {
					division_template = "Punakaarti"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Neuvostoliiton Legioona"
				}
				set_division_template_lock = {
					division_template = "Neuvostoliiton Legioona"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Rangaistusdivisioona"
				}
				set_division_template_lock = {
					division_template = "Rangaistusdivisioona"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Karjalan Metsäsissit"
				}
				set_division_template_lock = {
					division_template = "Karjalan Metsäsissit"
					is_locked = no
				}
			}
			#Sweden
			if = {
				limit = {
					has_template = "Mobile Headquarter"
				}
				set_division_template_lock = {
					division_template = "Mobile Headquarter"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Hemvärn"
				}
				set_division_template_lock = {
					division_template = "Hemvärn"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Stormtrupper"
				}
				set_division_template_lock = {
					division_template = "Stormtrupper"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Workers Militia"
				}
				set_division_template_lock = {
					division_template = "Workers Militia"
					is_locked = no
				}
			}
			#Norway
			if = {
				limit = {
					has_template = "Kongens Menn"
				}
				set_division_template_lock = {
					division_template = "Kongens Menn"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "forsvarsmilitser"
				}
				set_division_template_lock = {
					division_template = "forsvarsmilitser"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Hemmelige Hæren"
				}
				set_division_template_lock = {
					division_template = "Hemmelige Hæren"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Hirden Milits"
				}
				set_division_template_lock = {
					division_template = "Hirden Milits"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "våpenfolket"
				}
				set_division_template_lock = {
					division_template = "våpenfolket"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "folkets hær"
				}
				set_division_template_lock = {
					division_template = "folkets hær"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Norsk Milits"
				}
				set_division_template_lock = {
					division_template = "Norsk Milits"
					is_locked = no
				}
			}
			#Brazil
			if = {
				limit = {
					has_template = "Legião Estrangeira"
				}
				set_division_template_lock = {
					division_template = "Legião Estrangeira"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Batalhões de Presos"
				}
				set_division_template_lock = {
					division_template = "Batalhões de Presos"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Integralist Militia"
				}
				set_division_template_lock = {
					division_template = "Integralist Militia"
					is_locked = no
				}
			}
			#Chile
			if = {
				limit = {
					has_template = "Carabineros Patrios de Chile"
				}
				set_division_template_lock = {
					division_template = "Carabineros Patrios de Chile"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Voluntarios Argentinos"
				}
				set_division_template_lock = {
					division_template = "Voluntarios Argentinos"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Republican Guard"
				}
				set_division_template_lock = {
					division_template = "Republican Guard"
					is_locked = no
				}
			}
			#Hungary
			if = {
				limit = {
					has_template = "Rongyos Gárda"
				}
				set_division_template_lock = {
					division_template = "Rongyos Gárda"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Volksbundmiliz"
				}
				set_division_template_lock = {
					division_template = "Volksbundmiliz"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Volksbund Militia"
				}
				set_division_template_lock = {
					division_template = "Volksbund Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Horthysta Gyalogdándar"
				}
				set_division_template_lock = {
					division_template = "Horthysta Gyalogdándar"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Fasiszta Milícia"
				}
				set_division_template_lock = {
					division_template = "Fasiszta Milícia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Monarchista Milícia"
				}
				set_division_template_lock = {
					division_template = "Monarchista Milícia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Lenin-fiúk"
				}
				set_division_template_lock = {
					division_template = "Lenin-fiúk"
					is_locked = no
				}
			}
			#Congo
			if = {
				limit = {
					has_template = "Division loyale de Léopoldville"
				}
				set_division_template_lock = {
					division_template = "Division loyale de Léopoldville"
					is_locked = no
				}
			}
			#Germany (misc)
			if = {
				limit = {
					has_template = "Straf-Division"
				}
				set_division_template_lock = {
					division_template = "Straf-Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Waffen-SS Division"
				}
				set_division_template_lock = {
					division_template = "Waffen-SS Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "SS-Verfügungstruppe"
				}
				set_division_template_lock = {
					division_template = "SS-Verfügungstruppe"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Afrikanische Schutztruppe"
				}
				set_division_template_lock = {
					division_template = "Afrikanische Schutztruppe"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Askari Schutztruppe"
				}
				set_division_template_lock = {
					division_template = "Askari Schutztruppe"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Asiatische Schutztruppe"
				}
				set_division_template_lock = {
					division_template = "Asiatische Schutztruppe"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Freikorps"
				}
				set_division_template_lock = {
					division_template = "Freikorps"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bund Wiking"
				}
				set_division_template_lock = {
					division_template = "Bund Wiking"
					is_locked = no
				}
			}
			#India
			if = {	#pre-DLC
				limit = {
					has_template = "Battaglione Azad Hindoustan"
				}
				set_division_template_lock = {
					division_template = "Battaglione Azad Hindoustan"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Royal Indian Infantry"
				}
				set_division_template_lock = {
					division_template = "Royal Indian Infantry"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Princely Personal Guard"
				}
				set_division_template_lock = {
					division_template = "Princely Personal Guard"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Ahadi Division"
				}
				set_division_template_lock = {
					division_template = "Ahadi Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Loyalist Infantry Division"
				}
				set_division_template_lock = {
					division_template = "Loyalist Infantry Division"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Firqat Aljaysh Aleiraqii"
				}
				set_division_template_lock = {
					division_template = "Firqat Aljaysh Aleiraqii"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Arab Free Legion"
				}
				set_division_template_lock = {
					division_template = "Arab Free Legion"
					is_locked = no
				}
			}
			#Iran
			if = {
				limit = {
					has_template = "Vafadaran"
				}
				set_division_template_lock = {
					division_template = "Vafadaran"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shorshian"
				}
				set_division_template_lock = {
					division_template = "Shorshian"
					is_locked = no
				}
			}
			#Afghanistan
			if = {
				limit = {
					has_template = "Tribal Militia"
				}
				set_division_template_lock = {
					division_template = "Tribal Militia"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Pashtun Levy"
				}
				set_division_template_lock = {
					division_template = "Pashtun Levy"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Royal Guard"
				}
				set_division_template_lock = {
					division_template = "Royal Guard"
					is_locked = no
				}
			}
			#SEA
			#Mengukuo
			if = {
				limit = {
					has_template = "Mongol Levy"
				}
				set_division_template_lock = {
					division_template = "Mongol Levy"
					is_locked = no
				}
			}
			#Japan
			if = {
				limit = {
					has_template = "Kantō-gun Hohei Shidan"
				}
				set_division_template_lock = {
					division_template = "Kantō-gun Hohei Shidan"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Dai-Nippon Teikoku Rikugun Hohei Shidan"
				}
				set_division_template_lock = {
					division_template = "Dai-Nippon Teikoku Rikugun Hohei Shidan"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Ashigaru Levy"
				}
				set_division_template_lock = {
					division_template = "Ashigaru Levy"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Kokumin Giyū Sentōtai"
				}
				set_division_template_lock = {
					division_template = "Kokumin Giyū Sentōtai"
					is_locked = no
				}
			}
			#Manchuria
			if = {
				limit = {
					has_template = "Yong Ying"
				}
				set_division_template_lock = {
					division_template = "Yong Ying"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Rebel Forces"
				}
				set_division_template_lock = {
					division_template = "Rebel Forces"
					is_locked = no
				}
			}
			#China
			if = {
				limit = {
					has_template = "Blueshirt Militia"
				}
				set_division_template_lock = {
					division_template = "Blueshirt Militia"
					is_locked = no
				}
			}
		}
	}
}