country_decisions = {

	hannoverian_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			primary_culture = hannoverian
			NOT = { exists = HAN }
			NOT = { tag = HLR }
			NOT = { tag = PAP }
			NOT = { tag = GER }
			NOT = { tag = PRU }
			NOT = { tag = WGE }
			NOT = { tag = EGE }
			NOT = { tag = EUR }
			is_colonial_nation = no
			OR = {
				ai = no
				AND = {
					ai = yes
					num_of_cities = 5
				}
			}			
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		allow = {
			adm_tech = 55
			government = monarchy
			is_subject = no
			is_at_war = no
			owns_core_province = 54	# Stade
			owns_core_province = 57	# Brunswick
			owns_core_province = 1758	# Hannover
			owns_core_province = 1874	# Bremen
		}
		effect = {
			change_tag = HAN
			1758 = {
				add_base_tax = 1
			}
			add_country_modifier = {
				name = "centralization_modifier"
				duration = 7300
			}
			every_province = {
				limit = {
					NOT = { owned_by = ROOT }
					OR = {
						province_id = 55 # Oldenburg
						province_id = 56 # Osnabruck
						province_id = 57 # Brunswick
						province_id = 1874 #Bremen
						province_id = 1931 # East Frisia
					}
				}
				add_claim = ROOT
			}
			add_prestige = 25
			if = {
				limit = {
					NOT = { government_rank = 2 }
				}
				set_government_rank = 2
			}
			HAN = {
				set_capital = 1758 # Hannover
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	westfalian_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			NOT = { tag = HLR }
			NOT = { tag = HAN }
			NOT = { tag = PAP }
			NOT = { tag = GER }
			NOT = { tag = PRU }
			NOT = { tag = SWI }
			NOT = { tag = WGE }
			NOT = { tag = EGE }
			NOT = { tag = EUR }
			NOT = { exists = WES }
			OR = {
				primary_culture = hannoverian #Westphalian
				primary_culture = hessian
				capital_scope = {
					region = westphalian_region
				}
			}
			is_colonial_nation = no
			OR = {
				ai = no
				AND = {
					owns_core_province = 52	# Magdeburg
					owns_core_province = 82	# Westfalen
					owns_core_province = 1758	# Hannover
					owns_core_province = 1762	# Kassel
					owns_core_province = 2972	# Paderborn
				}
			}			
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		allow = {
			adm_tech = 67 # Constitution, 1687
			is_subject = no
			is_at_war = no
			capital_scope = {
				region = westphalian_region
			}
			owns_core_province = 52	# Altmark
			owns_core_province = 81	# Hessen
			owns_core_province = 82	# Westfalen
			owns_core_province = 86	# Munster
			owns_core_province = 1758	# Hannover
			owns_core_province = 1762	# Kassel
		}
		effect = {
			change_tag = WES
			if = {
				limit = {
					NOT = { government_rank = 2 }
				}
				set_government_rank = 2
			}
			random_owned_province = {
				add_base_tax = 1
			}
			add_country_modifier = {
				name = "decentralization_modifier"
				duration = 7300
			}
			westphalian_region = {
				limit = {
					NOT = { owned_by = ROOT }
				}
				add_claim = WES
			}
			add_prestige = 25
			change_government = administrative_monarchy
			WES = {
				set_capital = 1762 # Kassel
			}
		}
		ai_will_do = {
			factor = 1
		}
	}	
	greek_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			NOT = { tag = HLR }
			NOT = { tag = PAP }
			NOT = { tag = TUR }
			NOT = { tag = BYZ }
			NOT = { tag = ROM }
			NOT = { tag = ROW }
			NOT = { tag = EUR }
			NOT = { exists = BYZ }
			NOT = { exists = GRE }
			primary_culture = greek
			is_colonial_nation = no
			OR = {
				ai = no
				AND = {
					ai = yes
					num_of_cities = 3
				}
			}			
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		allow = {
			adm_tech = 15
			is_subject = no
			is_at_war = no
			owns_core_province = 144
			owns_core_province = 145
			owns_core_province = 146
			owns_core_province = 164
			owns_core_province = 1773
		}
		effect = {
			change_tag = GRE
			if = {
				limit = {
					is_part_of_hre = yes
					is_elector = no
				}
				every_owned_province = {
					limit = {
						is_part_of_hre = yes
					}
					set_in_empire = no
				}
			}
			if = {
				limit = {
					NOT = { government_rank = 2 }
				}
				set_government_rank = 2
			}
			random_owned_province = {
				limit = { culture = greek }
				add_base_tax = 1
			}
			add_country_modifier = {
				name = "centralization_modifier"
				duration = 7300
			}
			greece_region = {
				limit = {
					NOT = { owned_by = ROOT }
					NOT = { province_id = 143 }
				}
				add_claim = GRE
			}
			add_prestige = 10
			if = {
				limit = {
					NOT = { capital_scope = { region = greece_region } }
				}
				set_capital = 146
			}
			if = {
				limit = { NOT = { has_idea_group = greek_ideas } }
				swap_free_idea_group = yes
			}
		}
		ai_will_do = {
			factor = 1
		}
	}	
}