form_scandinavia_category = {
	
	form_scandinavia = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = NOR
				original_tag = DEN
				original_tag = SWE
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Arms Against Tyranny"
			}
		}

		available = {
			is_subject = no
			# Norway
			custom_trigger_tooltip = {
				tooltip = form_country_norway_required_states_tt
				controls_state = 110
				controls_state = 142
				controls_state = 143
				controls_state = 144
				controls_state = 920
				controls_state = 921
				controls_state = 922
				controls_state = 923
				controls_state = 924
				controls_state = 925
			}
			# Sweden
			custom_trigger_tooltip = {
				tooltip = form_country_sweden_required_states_tt
				controls_state = 38
				controls_state = 124
				controls_state = 138
				controls_state = 139
				controls_state = 140
				controls_state = 141
				controls_state = 666
				controls_state = 913
				controls_state = 915
				controls_state = 916
				controls_state = 917
				controls_state = 918
				controls_state = 919
			}
			# Denmark
			custom_trigger_tooltip = {
				tooltip = form_country_denmark_required_states_tt
				controls_state = 37
				controls_state = 99
				#controls_state = 100 Iceland should not be included here
				#controls_state = 101 Greenland should not be included here
				controls_state = 337
				controls_state = 910
				controls_state = 911
				controls_state = 912
			}
		}

		visible = {
			OR = {
				original_tag = NOR
				original_tag = DEN
				original_tag = SWE
			}
			NOT = { has_global_flag = form_nordic_league_flag }
			NOT = { has_global_flag = form_scandinavia_flag }
		}

		complete_effect = {
			set_cosmetic_tag = SCA_UNIFIED
			# Norway
			custom_effect_tooltip = form_country_norway_coring_states_tt
			hidden_effect = {
				110 = { add_core_of = ROOT }
				142 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
				144 = { add_core_of = ROOT }
				920 = { add_core_of = ROOT }
				921 = { add_core_of = ROOT }
				922 = { add_core_of = ROOT }
				923 = { add_core_of = ROOT }
				924 = { add_core_of = ROOT }
				925 = { add_core_of = ROOT }
			}
			# Sweden
			custom_effect_tooltip = form_country_sweden_coring_states_tt
			hidden_effect = {
				124 = { add_core_of = ROOT }
				138 = { add_core_of = ROOT }
				139 = { add_core_of = ROOT }
				140 = { add_core_of = ROOT }
				141 = { add_core_of = ROOT }
				38 = { add_core_of = ROOT }
				666 = { add_core_of = ROOT }
				913 = { add_core_of = ROOT }
				915 = { add_core_of = ROOT }
				916 = { add_core_of = ROOT }
				917 = { add_core_of = ROOT }
				918 = { add_core_of = ROOT }
				919 = { add_core_of = ROOT }
			}
			# Denmark / European Mainland
			custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt
			hidden_effect = {
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				910 = { add_core_of = ROOT }
				911 = { add_core_of = ROOT }
				912 = { add_core_of = ROOT }
				337 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.53 hours = 6 }
				set_global_flag = form_scandinavia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_nordic_league_category = {

	form_nordic_league = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = NOR
				original_tag = DEN
				original_tag = SWE
				original_tag = FIN
				original_tag = ICE
				original_tag = EST
				original_tag = GRN
				original_tag = SMI
				original_tag = KAR
			}
			OR = {
				has_dlc = "Waking the Tiger"
				AND = {
					has_dlc = "Arms Against Tyranny"
					OR = {
						original_tag = NOR
						original_tag = DEN
						original_tag = SWE
						original_tag = FIN
						original_tag = ICE
						original_tag = GRN
						original_tag = SMI
						original_tag = KAR
					}
				}
				AND = {
					has_dlc = "No Step Back"
					original_tag = EST
				}
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = form_nordic_nation_flag
				hidden_trigger = {
					NOT = { has_country_flag = form_nordic_nation_flag }
				}
			}
			is_subject = no
			if = {
				limit = {
					NOT = { original_tag = EST }
				}
				# Norway
				custom_trigger_tooltip = {
					tooltip = form_country_norway_required_states_tt
					controls_state = 110
					controls_state = 142
					controls_state = 143
					controls_state = 144
					controls_state = 920
					controls_state = 921
					controls_state = 922
					controls_state = 923
					controls_state = 924
					controls_state = 925
					controls_state = 914
				}
				# Sweden
				custom_trigger_tooltip = {
					tooltip = form_country_sweden_required_states_tt
					controls_state = 38
					controls_state = 124
					controls_state = 138
					controls_state = 139
					controls_state = 140
					controls_state = 141
					controls_state = 666
					controls_state = 913
					controls_state = 915
					controls_state = 916
					controls_state = 917
					controls_state = 918
					controls_state = 919
				}
				# Denmark
				custom_trigger_tooltip = {
					tooltip = form_country_denmark_required_states_tt
					controls_state = 37
					controls_state = 99
					controls_state = 101
					controls_state = 337
					controls_state = 910
					controls_state = 911
					controls_state = 912
				}
				# Finland
				custom_trigger_tooltip = {
					tooltip = form_country_finland_required_states_tt
					controls_state = 111
					controls_state = 145
					controls_state = 148
					controls_state = 149
					controls_state = 150
					controls_state = 926
					controls_state = 927
					controls_state = 928
					controls_state = 929
					controls_state = 930
					# PETSAMO, SALLA and KARJALA left out intentionally
				}
				#Iceland
				custom_trigger_tooltip = {
					tooltip = form_country_iceland_required_states_tt
					controls_state = 100
				}
			}
			else = {
				custom_override_tooltip = {
					tooltip = control_all_nordic_states_tt
					all_country_of = {
						target = { NOR DEN SWE }
						all_core_state = {
							or = {
								controls_or_subject_of = yes
								controller = {
									original_tag = FIN
									is_in_faction_with = ROOT
								}
							}
						}
					}
				}
			}
		}

		visible = {
			OR = {
				original_tag = NOR
				original_tag = DEN
				original_tag = SWE
				original_tag = FIN
				original_tag = ICE
				original_tag = GRN
				original_tag = SMI
				original_tag = KAR
				AND = {
					original_tag = EST
					has_completed_focus = EST_form_scandinavia
				}
			}
			NOT = { has_country_flag = form_nordic_nation_flag }
			NOT = { has_global_flag = form_nordic_league_flag }
		}

		complete_effect = {
			hidden_effect = {
				if = {
					limit = {
						original_tag = FIN
						has_government = communism
					}
					set_country_flag = FIN_formed_nordic_union #Used to bring back this cosmetic tag after Kuusinen's cosmetic tag
				}
			}
			set_cosmetic_tag = NDC_UNIFIED
			# Norway
			custom_effect_tooltip = form_country_norway_coring_states_tt
			hidden_effect = {
				110 = { add_core_of = ROOT }
				142 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
				144 = { add_core_of = ROOT }
				920 = { add_core_of = ROOT }
				921 = { add_core_of = ROOT }
				922 = { add_core_of = ROOT }
				923 = { add_core_of = ROOT }
				924 = { add_core_of = ROOT }
				925 = { add_core_of = ROOT }
				914 = { add_core_of = ROOT }
			}

			if = {
				limit = {
					NOR = {
						is_subject_of = ROOT
					}
				}
				
				NOR = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}
				
				annex_country = {
					target = NOR
					transfer_troops = yes
				}
			}
			# Sweden
			custom_effect_tooltip = form_country_sweden_coring_states_tt
			hidden_effect = {
				38 = { add_core_of = ROOT }
				124 = { add_core_of = ROOT }
				138 = { add_core_of = ROOT }
				139 = { add_core_of = ROOT }
				140 = { add_core_of = ROOT }
				141 = { add_core_of = ROOT }
				666 = { add_core_of = ROOT }
				913 = { add_core_of = ROOT }
				915 = { add_core_of = ROOT }
				916 = { add_core_of = ROOT }
				917 = { add_core_of = ROOT }
				918 = { add_core_of = ROOT }
				919 = { add_core_of = ROOT }
			}

			if = {
				limit = {
					SWE = {
						is_subject_of = ROOT
					}
				}
				
				SWE = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}
				
				annex_country = {
					target = SWE
					transfer_troops = yes
				}
			}
			# Denmark
			custom_effect_tooltip = form_country_denmark_coring_states_tt
			hidden_effect = {
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				910 = { add_core_of = ROOT }
				911 = { add_core_of = ROOT }
				912 = { add_core_of = ROOT }
				100 = { add_core_of = ROOT }
				101 = { add_core_of = ROOT }
				337 = { add_core_of = ROOT }
			}

			if = {
				limit = {
					DEN = {
						is_subject_of = ROOT
					}
				}
				
				DEN = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}				
				
				annex_country = {
					target = DEN
					transfer_troops = yes
				}
			}
			
			# Finland
			custom_effect_tooltip = form_country_finland_coring_states_tt
			hidden_effect = {
				111 = { add_core_of = ROOT }
				145 = { add_core_of = ROOT }
				148 = { add_core_of = ROOT }
				149 = { add_core_of = ROOT }
				150 = { add_core_of = ROOT }
				926 = { add_core_of = ROOT }
				927 = { add_core_of = ROOT }
				928 = { add_core_of = ROOT }
				929 = { add_core_of = ROOT }
				930 = { add_core_of = ROOT }
				722 = { add_core_of = ROOT }
				147 = { add_core_of = ROOT }
				146 = { add_core_of = ROOT }
			}

			#Iceland
			custom_effect_tooltip = form_country_iceland_coring_states_tt
			hidden_effect = {
				100 = { add_core_of = ROOT }
			}
			
			if = {
				limit = {
					FIN = {
						is_subject_of = ROOT
						OR = {
							is_subject_of = ROOT
							all_core_state = {
								controller = {
									tag = ROOT
								} 
							}
						}
					}
				}
				
				FIN = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}

				annex_country = {
					target = FIN
					transfer_troops = yes
				}
			}

			IF = {
				limit = {
					933 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				933 = { add_claim_by = ROOT }
			}

			IF = {
				limit = {
					213 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				213 = { add_claim_by = ROOT }
			}

			IF = {
				limit = {
					215 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				215 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1170 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1170 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1171 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1171 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1174 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1174 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1175 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1175 = { add_claim_by = ROOT }
			}

			IF = {
				limit = {
					216 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				216 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1714 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1714 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1116 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1116 = { add_claim_by = ROOT }
			}
			
			IF = {
				limit = {
					1117 = {
						NOT = {
							OR = {
								is_owned_by = ROOT
								is_claimed_by = ROOT
								is_core_of = ROOT
							}
						}
					}
				}
				1117 = { add_claim_by = ROOT }
			}
			
			hidden_effect = {
				if = {
					limit = { NOT = { original_tag = EST } }
					news_event = { id = wtt_news.54 hours = 6 }
				}
				else = {
					news_event = { id = EST_events.3 hours = 6 }
				}
				set_country_flag = form_nordic_nation_flag
				set_global_flag = form_nordic_league_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
} 

form_north_sea_category = {
	
	form_north_sea_empire = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = NOR
				original_tag = DEN
			}
			has_dlc = "Arms Against Tyranny"
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = form_nordic_nation_flag
				hidden_trigger = {
					NOT = { has_country_flag = form_nordic_nation_flag }
				}
			}
			is_subject = no
			# Norway
			custom_trigger_tooltip = {
				tooltip = form_north_sea_empire_norway_required_states_tt
				controls_state = 110
				controls_state = 142
				controls_state = 143
				controls_state = 144
				controls_state = 920
				controls_state = 921
				controls_state = 922
				controls_state = 923
				controls_state = 924
				controls_state = 925
			}
			# Denmark
			custom_trigger_tooltip = {
				tooltip = form_scandinavia_denmark_required_states_tt
				controls_state = 37
				controls_state = 99
				controls_state = 911
				controls_state = 912
				#None of the islands are required
			}
			# Sweden
			custom_trigger_tooltip = {
				tooltip = form_north_sea_empire_swedish_required_states_tt
				controls_state = 138
				controls_state = 915
			}
			# England
			controls_state = 123
			controls_state = 125
			controls_state = 126
			controls_state = 127
			controls_state = 128
			controls_state = 129
			controls_state = 130
			controls_state = 131
			controls_state = 931
			controls_state = 932
			controls_state = 132
			controls_state = 338
			controls_state = 931
		}

		visible = {
			OR = {
				original_tag = NOR
				original_tag = DEN
			}
			hidden_trigger = {
				NOT = { has_country_flag = form_nordic_nation_flag }
				NOT = { has_global_flag = form_north_sea_empire_flag }
			}
		}

		complete_effect = {
			set_cosmetic_tag = NSE_UNIFIED
			# Norway
			custom_effect_tooltip = form_country_norway_coring_states_tt
			hidden_effect = {
				110 = { add_core_of = ROOT }
				142 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
				144 = { add_core_of = ROOT }
				920 = { add_core_of = ROOT }
				921 = { add_core_of = ROOT }
				922 = { add_core_of = ROOT }
				923 = { add_core_of = ROOT }
				924 = { add_core_of = ROOT }
				925 = { add_core_of = ROOT }
			}
			# Denmark / European Mainland
			custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt
			hidden_effect = {
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				911 = { add_core_of = ROOT }
				912 = { add_core_of = ROOT }
				#None of the islands are cored
			}
			# Sweden
			custom_effect_tooltip = form_north_sea_empire_swedish_coring_states_tt
			hidden_effect = {
				138 = { add_core_of = ROOT }
				915 = { add_core_of = ROOT }
			}
			# England
			ROOT = {
				add_state_core = 123
				add_state_core = 125
				add_state_core = 126
				add_state_core = 127
				add_state_core = 128
				add_state_core = 129
				add_state_core = 130
				add_state_core = 131
				add_state_core = 932
				add_state_core = 132
				add_state_core = 338
				add_state_core = 931
			}
			hidden_effect = {
				news_event = { id = aat_news.666 hours = 6 }
				set_country_flag = form_nordic_nation_flag
				set_global_flag = form_north_sea_empire_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_baltic_sea_empire_category = {

	form_baltic_sea_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = DEN
			has_dlc = "Arms Against Tyranny"
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = form_nordic_nation_flag
				hidden_trigger = {
					NOT = { has_country_flag = form_nordic_nation_flag }
				}
			}
			is_subject = no
			# Sweden
			custom_trigger_tooltip = {
				tooltip = form_country_sweden_required_states_tt
				controls_state = 38
				controls_state = 124
				controls_state = 138
				controls_state = 139
				controls_state = 140
				controls_state = 141
				controls_state = 666
				controls_state = 913
				controls_state = 915
				controls_state = 916
				controls_state = 917
				controls_state = 918
				controls_state = 919
			}
			# Denmark
			custom_trigger_tooltip = {
				tooltip = form_scandinavia_denmark_required_states_tt
				controls_state = 37
				controls_state = 99
				controls_state = 911
				controls_state = 912
				#None of the islands are required
			}
			# Finland
			custom_trigger_tooltip = {
				tooltip = form_country_finland_required_states_tt
				controls_state = 111
				controls_state = 145
				controls_state = 148
				controls_state = 149
				controls_state = 150
				controls_state = 926
				controls_state = 927
				controls_state = 928
				controls_state = 929
				controls_state = 930
				# PETSAMO, SALLA and KARJALA left out intentionally
			}
			custom_trigger_tooltip = {
				tooltip = form_country_estonia_required_states_tt
				controls_state = 13
				controls_state = 191
				controls_state = 811
				controls_state = 812
				controls_state = 813
				controls_state = 1066
				controls_state = 1067
				controls_state = 1068
				controls_state = 1069
				controls_state = 1070
				controls_state = 1071
				controls_state = 1072
			}
			# Latvia
			custom_trigger_tooltip = {
				tooltip = form_country_latvia_required_states_tt
				controls_state = 12
				controls_state = 190
				controls_state = 1559
				controls_state = 808
				controls_state = 809
				controls_state = 810
				controls_state = 1059
				controls_state = 1060
				controls_state = 1061
				controls_state = 1062
				controls_state = 1063
			}
			# Lithuania
			custom_trigger_tooltip = {
				tooltip = form_country_lithuania_required_states_tt
				controls_state = 11
				controls_state = 189
				controls_state = 814
				controls_state = 815
				controls_state = 1236
				controls_state = 1237
				controls_state = 1058
			}
		}

		visible = {
			original_tag = DEN
			hidden_trigger = {
				NOT = { has_country_flag = form_nordic_nation_flag }
			}
		}

		complete_effect = {
			set_cosmetic_tag = DEN_imperial
			# Sweden
			custom_effect_tooltip = form_country_sweden_coring_states_tt
			hidden_effect = {
				38 = { add_core_of = ROOT }
				124 = { add_core_of = ROOT }
				138 = { add_core_of = ROOT }
				139 = { add_core_of = ROOT }
				140 = { add_core_of = ROOT }
				141 = { add_core_of = ROOT }
				666 = { add_core_of = ROOT }
				913 = { add_core_of = ROOT }
				915 = { add_core_of = ROOT }
				916 = { add_core_of = ROOT }
				917 = { add_core_of = ROOT }
				918 = { add_core_of = ROOT }
				919 = { add_core_of = ROOT }
			}
			# Denmark / European Mainland
			custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt
			hidden_effect = {
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				910 = { add_core_of = ROOT }
				911 = { add_core_of = ROOT }
				912 = { add_core_of = ROOT }
			}
			# Finland
			custom_effect_tooltip = form_country_finland_coring_states_tt
			hidden_effect = {
				111 = { add_core_of = ROOT }
				145 = { add_core_of = ROOT }
				148 = { add_core_of = ROOT }
				149 = { add_core_of = ROOT }
				150 = { add_core_of = ROOT }
				926 = { add_core_of = ROOT }
				927 = { add_core_of = ROOT }
				928 = { add_core_of = ROOT }
				929 = { add_core_of = ROOT }
				930 = { add_core_of = ROOT }
				# PETSAMO, SALLA and KARJALA left out intentionally
			}
			# Estonia
			custom_effect_tooltip = form_country_estonia_coring_states_tt
			hidden_effect = {
				13 = { add_core_of = ROOT }
				191 = { add_core_of = ROOT }
				811 = { add_core_of = ROOT }
				812 = { add_core_of = ROOT }
				813 = { add_core_of = ROOT }
				1066 = { add_core_of = ROOT }
				1067 = { add_core_of = ROOT }
				1068 = { add_core_of = ROOT }
				1069 = { add_core_of = ROOT }
				1070 = { add_core_of = ROOT }
				1071 = { add_core_of = ROOT }
				1072 = { add_core_of = ROOT }
			}
			# Latvia
			custom_effect_tooltip = form_country_latvia_coring_states_tt
			hidden_effect = {
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				1559 = { add_core_of = ROOT }
				808 = { add_core_of = ROOT }
				809 = { add_core_of = ROOT }
				810 = { add_core_of = ROOT }
				1059 = { add_core_of = ROOT }
				1060 = { add_core_of = ROOT }
				1061 = { add_core_of = ROOT }
				1062 = { add_core_of = ROOT }
				1063 = { add_core_of = ROOT }
			}
			# Lithuania
			custom_effect_tooltip = form_country_lithuania_coring_states_tt
			hidden_effect = {
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				188 = { add_core_of = ROOT }
				1172 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
				814 = { add_core_of = ROOT }
				815 = { add_core_of = ROOT }
				1236 = { add_core_of = ROOT }
				1237 = { add_core_of = ROOT }
				1058 = { add_core_of = ROOT }
				1238 = { add_core_of = ROOT }
				1247 = { add_core_of = ROOT }
				1248 = { add_core_of = ROOT }
			}

			hidden_effect = {
				news_event = { id = aat_news.777 hours = 6 }
				set_country_flag = form_nordic_nation_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
} 

form_gran_colombia_category = {

	form_gran_colombia = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PAN
				original_tag = ECU
				original_tag = COL
				original_tag = VEN
				original_tag = PRU
				original_tag = CRC
				original_tag = GYA
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			is_subject = no
			# Ecuador
			custom_trigger_tooltip = {
				tooltip = form_country_ecuador_required_states_tt
				controls_state = 305
				controls_state = 649
				controls_state = 1187
				controls_state = 1189
			}
			# Colombia
			custom_trigger_tooltip = {
				tooltip = form_country_colombia_required_states_tt
				controls_state = 486
				controls_state = 306
				controls_state = 493
				controls_state = 1184
				controls_state = 1190
				controls_state = 1191
				controls_state = 1192
				controls_state = 1193
				controls_state = 1194
				controls_state = 1196
				controls_state = 1197
				controls_state = 1198
				controls_state = 1199
				controls_state = 1200
				controls_state = 1201
				controls_state = 1202
			}
			# Venezuela
			custom_trigger_tooltip = {
				tooltip = form_country_venezuela_required_states_tt
				controls_state = 489
				controls_state = 307
				controls_state = 488
				controls_state = 1203
				controls_state = 1204
				controls_state = 1205
				controls_state = 1206
				controls_state = 1207
				controls_state = 1208
				controls_state = 1209
				controls_state = 1210
				controls_state = 1211
				controls_state = 1212
				controls_state = 1213
			}
		}

		visible = {
			OR = {
				original_tag = PAN
				original_tag = ECU
				original_tag = COL
				original_tag = VEN
				original_tag = PRU
			}
			NOT = { has_global_flag = form_gran_colombia_flag }
		}

		complete_effect = {
			set_cosmetic_tag = GCO_UNIFIED
			# Ecuador
			custom_effect_tooltip = form_country_ecuador_coring_states_tt
			hidden_effect = {
				305 = { add_core_of = ROOT }
				649 = { add_core_of = ROOT }
				1187 = { add_core_of = ROOT }
				1189 = { add_core_of = ROOT }
			}	
			# Colombia
			custom_effect_tooltip = form_country_colombia_coring_states_tt
			hidden_effect = {
				486 = { add_core_of = ROOT }
				306 = { add_core_of = ROOT }
				493 = { add_core_of = ROOT }
				1184 = { add_core_of = ROOT }
				1190 = { add_core_of = ROOT }
				1191 = { add_core_of = ROOT }
				1192 = { add_core_of = ROOT }
				1193 = { add_core_of = ROOT }
				1194 = { add_core_of = ROOT }
				1196 = { add_core_of = ROOT }
				1197 = { add_core_of = ROOT }
				1198 = { add_core_of = ROOT }
				1199 = { add_core_of = ROOT }
				1200 = { add_core_of = ROOT }
				1201 = { add_core_of = ROOT }
				1202 = { add_core_of = ROOT }
			}
			# Venezuela
			custom_effect_tooltip = form_country_venezuela_coring_states_tt
			hidden_effect = {
				489 = { add_core_of = ROOT }
				307 = { add_core_of = ROOT }
				488 = { add_core_of = ROOT }
				1203 = { add_core_of = ROOT }
				1204 = { add_core_of = ROOT }
				1205 = { add_core_of = ROOT }
				1206 = { add_core_of = ROOT }
				1207 = { add_core_of = ROOT }
				1208 = { add_core_of = ROOT }
				1209 = { add_core_of = ROOT }
				1210 = { add_core_of = ROOT }
				1211 = { add_core_of = ROOT }
				1212 = { add_core_of = ROOT }
				1213 = { add_core_of = ROOT }
			}
			304 = { add_core_of = ROOT }
			1216 = { add_core_of = ROOT }
			1215 = { add_core_of = ROOT }
			685 = { add_core_of = ROOT }
			1214 = { add_core_of = ROOT }
			1183 = { add_core_of = ROOT }
			1221 = { add_core_of = ROOT }
			1222 = { add_core_of = ROOT }
			1233 = { add_core_of = ROOT }
			1273 = { add_core_of = ROOT }
			1275 = { add_core_of = ROOT }
			969 = { add_core_of = ROOT }
			490 = { add_core_of = ROOT }
			1182 = { add_core_of = ROOT }
			1188 = { add_core_of = ROOT }
			1395 = { add_core_of = ROOT }
			1396 = { add_core_of = ROOT }
			1397 = { add_core_of = ROOT }
			1398 = { add_core_of = ROOT }

			hidden_effect = {
				news_event = { id = wtt_news.55 hours = 6 }
				set_global_flag = form_gran_colombia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_austria_hungary_category = {

	form_austria_hungary = {

		icon = generic_form_nation

		highlight_states = {
			highlight_state_targets = {
				state = 848
				state = 153
				state = 152
				state = 976
				state = 1390
				state = 4
				state = 1553
				state = 975
				state = 69
				state = 9
				state = 75
				state = 74
				state = 72
				state = 70
				state = 664
				state = 71
				state = 73
				state = 1294
				state = 1555
				state = 1556
				state = 972
				state = 1608
				state = 1560
				state = 1146
				state = 1147
				state = 1148
				state = 1149
				state = 155
				state = 43
				state = 154
				state = 1278
				state = 1235
				state = 1700
				state = 973
				state = 974
				state = 1703
				state = 1384
			}
		}

		on_map_mode = decision_view_only

		allowed = {
			OR = {
				original_tag = AUS
				original_tag = CZE
				original_tag = CRO
				original_tag = SLO
				original_tag = SLV
				original_tag = TRA
				original_tag = LBV
				original_tag = BOS
				original_tag = SIL
			}
			has_dlc = "Waking the Tiger"
		}


		available = {
			is_subject = no

			custom_trigger_tooltip = {
				tooltip = has_control_over_all_highlighted_states_tt
				controls_state = 848
				controls_state = 153
				controls_state = 152
				controls_state = 976
				controls_state = 1390
				controls_state = 4
				controls_state = 1553
				controls_state = 975
				controls_state = 69
				controls_state = 9
				controls_state = 75
				controls_state = 74
				controls_state = 72
				controls_state = 70
				controls_state = 664
				controls_state = 71
				controls_state = 73
				controls_state = 1294
				controls_state = 1555
				controls_state = 1556
				controls_state = 972
				controls_state = 1608
				controls_state = 1560
				controls_state = 1146
				controls_state = 1147
				controls_state = 1148
				controls_state = 1149
				controls_state = 155
				controls_state = 43
				controls_state = 154
				controls_state = 1278
				controls_state = 1235
				controls_state = 1700
				controls_state = 973
				controls_state = 974
				controls_state = 1703
				controls_state = 1384
			}
			
		}

		visible = {
			OR = {
				original_tag = AUS
				original_tag = CZE
				original_tag = CRO
				original_tag = SLO
				original_tag = SLV
				original_tag = TRA
				original_tag = LBV
				original_tag = BOS
				original_tag = SIL
			}
			NOT = { has_global_flag = form_austria_hungary_flag }
		}

		complete_effect = {
			set_cosmetic_tag = HUN_EMPIRE

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt

			hidden_effect = {
				IF = {
					limit = {
						NOT = { tag = AUS }
					}
					AUS = { set_cosmetic_tag = AUS_NOT_WHITE }
				}

				102 = { add_core_of = ROOT }
				853 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				1296 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				1477 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				1480 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				1309 = { add_core_of = ROOT }
				1310 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				1387 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				852 = { add_core_of = ROOT }
				1169 = { add_core_of = ROOT }
				850 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				1478 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				1479 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				1144 = { add_core_of = ROOT }
				1145 = { add_core_of = ROOT }
				1529 = { add_core_of = ROOT }
				1385 = { add_core_of = ROOT }
				1386 = { add_core_of = ROOT }
				1528 = { add_core_of = ROOT }
				1483 = { add_core_of = ROOT }
				91 = { add_core_of = ROOT }
				1400 = { add_core_of = ROOT }
				89 = { add_core_of = ROOT }
				1531 = { add_core_of = ROOT }
				1532 = { add_core_of = ROOT }
				1399 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				1267 = { add_core_of = ROOT }
				1722 = { add_core_of = ROOT }
				1704 = { add_core_of = ROOT }
				1410 = { add_core_of = ROOT }
				1705 = { add_core_of = ROOT }
				1706 = { add_core_of = ROOT }
				1707 = { add_core_of = ROOT }
				1711 = { add_core_of = ROOT }
				1712 = { add_core_of = ROOT }
				1713 = { add_core_of = ROOT }
				1716 = { add_core_of = ROOT }
				1717 = { add_core_of = ROOT }
				1718 = { add_core_of = ROOT }
				1388 = { add_core_of = ROOT }
				1314 = { add_core_of = ROOT }
				1325 = { add_core_of = ROOT }
				1339 = { add_core_of = ROOT }
				1708 = { add_core_of = ROOT }
				848 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				976 = { add_core_of = ROOT }
				1390 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				1553 = { add_core_of = ROOT }
				975 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				72 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				1294 = { add_core_of = ROOT }
				1555 = { add_core_of = ROOT }
				1556 = { add_core_of = ROOT }
				972 = { add_core_of = ROOT }
				1608 = { add_core_of = ROOT }
				1560 = { add_core_of = ROOT }
				1146 = { add_core_of = ROOT }
				1147 = { add_core_of = ROOT }
				1148 = { add_core_of = ROOT }
				1149 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				1278 = { add_core_of = ROOT }
				1235 = { add_core_of = ROOT }
				1700 = { add_core_of = ROOT }
				973 = { add_core_of = ROOT }
				974 = { add_core_of = ROOT }
				1703 = { add_core_of = ROOT }
				1384 = { add_core_of = ROOT }

				news_event = { id = wtt_news.56 hours = 6 }
				set_global_flag = form_austria_hungary_flag
				if = {
					limit = { NOT = { tag = AUS } }
					country_event = { id = ksr.12 days = 2 } 
				}
				country_event = { id = ksr.12 days = 2 } 
				country_event = { id = ksr.16 days = 7 } 
			}
			

		}

		ai_will_do = {
			factor = 202
		}
	}

	reintegrate_austro_hungarian_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = HUN
			has_dlc = "Waking the Tiger"
		}

		highlight_states = {
			highlight_state_targets = {
				state = 848
				state = 153
				state = 152
				state = 976
				state = 1390
				state = 4
				state = 1553
				state = 975
				state = 69
				state = 9
				state = 75
				state = 74
				state = 72
				state = 70
				state = 664
				state = 71
				state = 73
				state = 1294
				state = 1555
				state = 1556
				state = 972
				state = 1608
				state = 1560
				state = 1146
				state = 1147
				state = 1148
				state = 1149
				state = 155
				state = 43
				state = 154
				state = 1278
				state = 1235
				state = 1700
				state = 973
				state = 974
				state = 1703
				state = 1384
				state = 45
				state = 76
				state = 82
				state = 83
				state = 84
				state = 102
				state = 103
				state = 104
				state = 109
				state = 764
				state = 804
				state = 853
				state = 1704
				state = 1705
				state = 1706
				state = 1707
				state = 1711
				state = 1712
				state = 1713
				state = 1716
				state = 1717
				state = 1718
				state = 1722
				state = 1314
				state = 1325
				state = 1339
				state = 1296
				state = 1309
				state = 1310
				state = 1387
				state = 1388
				state = 1410
				state = 1477
				state = 1478
				state = 1479
				state = 1480
			}
		}

		on_map_mode = decision_view_only

		visible = {
			tag = HUN
			OR = {
				has_completed_focus = HUN_proclaim_the_restoration_of_austria_hungary
				has_completed_focus = wuw_HUN_renovato_imperii
			}
			NOT = { has_global_flag = reintegrate_the_empire_flag }
		}

		available = {
			is_subject = no
			controls_state = 848
			controls_state = 153
			controls_state = 152
			controls_state = 976
			controls_state = 1390
			controls_state = 4
			controls_state = 1553
			controls_state = 975
			controls_state = 69
			controls_state = 9
			controls_state = 75
			controls_state = 74
			controls_state = 72
			controls_state = 70
			controls_state = 664
			controls_state = 71
			controls_state = 73
			controls_state = 1294
			controls_state = 1555
			controls_state = 1556
			controls_state = 972
			controls_state = 1608
			controls_state = 1560
			controls_state = 1146
			controls_state = 1147
			controls_state = 1148
			controls_state = 1149
			controls_state = 155
			controls_state = 43
			controls_state = 154
			controls_state = 1278
			controls_state = 1235
			controls_state = 1700
			controls_state = 973
			controls_state = 974
			controls_state = 1703
			controls_state = 1384
			controls_state = 45
			controls_state = 76
			controls_state = 82
			controls_state = 83
			controls_state = 84
			controls_state = 102
			controls_state = 103
			controls_state = 104
			controls_state = 109
			controls_state = 764
			controls_state = 804
			controls_state = 853
			controls_state = 1704
			controls_state = 1705
			controls_state = 1706
			controls_state = 1707
			controls_state = 1711
			controls_state = 1712
			controls_state = 1713
			controls_state = 1716
			controls_state = 1717
			controls_state = 1718
			controls_state = 1722
			controls_state = 1314
			controls_state = 1325
			controls_state = 1339
			controls_state = 1296
			controls_state = 1309
			controls_state = 1310
			controls_state = 1387
			controls_state = 1388
			controls_state = 1410
			controls_state = 1477
			controls_state = 1478
			controls_state = 1479
			controls_state = 1480
		}

		complete_effect = {
			every_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					OR = {
						state = 848
						state = 153
						state = 152
						state = 976
						state = 1390
						state = 4
						state = 1553
						state = 975
						state = 69
						state = 9
						state = 75
						state = 74
						state = 72
						state = 70
						state = 664
						state = 71
						state = 73
						state = 1294
						state = 1555
						state = 1556
						state = 972
						state = 1608
						state = 1560
						state = 1146
						state = 1147
						state = 1148
						state = 1149
						state = 155
						state = 43
						state = 154
						state = 1278
						state = 1235
						state = 1700
						state = 973
						state = 974
						state = 1703
						state = 1384
						state = 45
						state = 76
						state = 82
						state = 83
						state = 84
						state = 102
						state = 103
						state = 104
						state = 109
						state = 764
						state = 804
						state = 853
						state = 1704
						state = 1705
						state = 1706
						state = 1707
						state = 1711
						state = 1712
						state = 1713
						state = 1716
						state = 1717
						state = 1718
						state = 1722
						state = 1314
						state = 1325
						state = 1339
						state = 1296
						state = 1309
						state = 1310
						state = 1387
						state = 1388
						state = 1410
						state = 1477
						state = 1478
						state = 1479
						state = 1480
						state = 88
						state = 89
						state = 91
						state = 1528
						state = 1529
						state = 1531
						state = 1532
						state = 1145
						state = 1385
						state = 1386
						state = 1399
						state = 1483
						state = 80
						state = 1267
						state = 163
						state = 1169
						state = 852
						state = 736
						state = 1708
					}
				}
				add_core_of = ROOT
			}
			set_global_flag = reintegrate_the_empire_flag
		}

		ai_will_do = {
			factor = 202
		}
	}
}

form_commonwealth_category = {

	form_commonwealth = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = POL
				original_tag = LIT
			}
		}

		available = {
			is_subject = no
			# Lithuania
			custom_trigger_tooltip = {
				tooltip = form_country_lithuania_required_states_tt
				controls_state = 11
				controls_state = 189
				controls_state = 814
				controls_state = 815
				controls_state = 1236
				controls_state = 1237
				controls_state = 1058
			}
			# Poland
			custom_trigger_tooltip = {
				tooltip = form_country_poland_required_states_tt
				controls_state = 86
				controls_state = 87
				controls_state = 88
				controls_state = 90
				controls_state = 98
				controls_state = 10
				controls_state = 1554
				controls_state = 1389
				controls_state = 1481
				controls_state = 1252
				controls_state = 1482
				controls_state = 1256
				controls_state = 1528
				controls_state = 1529
				controls_state = 1385
				controls_state = 1386
				controls_state = 1530
				controls_state = 1141
				controls_state = 1142
				controls_state = 1143
				controls_state = 1144
				controls_state = 1145
				controls_state = 97
				controls_state = 92
				controls_state = 91
				controls_state = 1400
				controls_state = 89
				controls_state = 93
				controls_state = 94
				controls_state = 95
				controls_state = 96
				controls_state = 1535
				controls_state = 1484
				controls_state = 1534
				controls_state = 1533
				controls_state = 1532
				controls_state = 1399
				controls_state = 1531
				controls_state = 1483
				controls_state = 1261
				controls_state = 1610
				controls_state = 1246
				controls_state = 1245
				controls_state = 1240
				controls_state = 1238
				controls_state = 1247
				controls_state = 1248
				controls_state = 1241
				controls_state = 1242
				controls_state = 1239
				controls_state = 1243
				controls_state = 1244
				controls_state = 1173
				controls_state = 784
			}
			OR = {
				AND = {
					original_tag = POL
					core_compliance = {
						occupied_country_tag = LIT
						value > 80
					}
				}
				AND = {
					original_tag = LIT
					core_compliance = {
						occupied_country_tag = POL
						value > 80
					}
				}
			}
		}

		visible = {
			OR = {
				original_tag = POL
				original_tag = LIT
			}
			NOT = { has_global_flag = form_commonwealth_flag }
		}

		complete_effect = {
			if = {
				limit = { has_cosmetic_tag = POL_KINGDOM_RUS }
				set_cosmetic_tag = PLC_UNIFIED_RUS
			}
			else_if = {
				limit = { tag = LIT }
				set_cosmetic_tag = LPC_UNIFIED
			}
			else = {
				set_cosmetic_tag = PLC_UNIFIED
			}
			POL_basic_form_commonwealth = yes
			hidden_effect = {
				country_event = {
					id = ksr.29
					days = 2
				}
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_united_netherlands_category = {

	form_united_netherlands = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = LUX
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			is_subject = no
			controls_state = 8
			# Netherlands
			custom_trigger_tooltip = {
				tooltip = form_eu_netherlands_required_states_tt
				controls_state = 7
				controls_state = 1292
				controls_state = 35
				controls_state = 1297
				controls_state = 1293
				controls_state = 36
				controls_state = 1255
				controls_state = 1552
			}
			# Belgium
			custom_trigger_tooltip = {
				tooltip = form_eu_belgium_required_states_tt
				controls_state = 6
				controls_state = 34
				controls_state = 980
				controls_state = 1250
			}
		}

		visible = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
			}
			NOT = { has_global_flag = form_united_netherlands_flag }
			NOT = { has_global_flag = HOL_benelux_formed }
		}

		complete_effect = {
			set_cosmetic_tag = UNL_UNIFIED
			8 = { add_core_of = ROOT }
			# Netherlands
			custom_effect_tooltip = form_eu_netherlands_coring_states_tt
			hidden_effect = {
				7 = { add_core_of = ROOT }
				1292 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				1297 = { add_core_of = ROOT }
				1293 = { add_core_of = ROOT }
				36 = { add_core_of = ROOT }
				1255 = { add_core_of = ROOT }
				1552 = { add_core_of = ROOT }
			}
			# Belgium
			custom_effect_tooltip = form_eu_belgium_coring_states_tt
			hidden_effect = {
				6 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				980 = { add_core_of = ROOT }
				1250 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.58 hours = 6 }
				set_global_flag = form_united_netherlands_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_united_central_america_category = {

	form_united_central_america = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
				original_tag = BLZ
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			#is_subject = no
			controls_state = 313
			controls_state = 1342
			controls_state = 1343
			controls_state = 1344
			controls_state = 1345
			controls_state = 314
			controls_state = 1369
			controls_state = 312
			controls_state = 317
			controls_state = 316
		}

		visible = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
				original_tag = BLZ
			}
			NOT = { has_global_flag = form_united_central_america_flag }
		}

		complete_effect = {
			set_cosmetic_tag = USC_UNIFIED
			313 = { add_core_of = ROOT }
			1342 = { add_core_of = ROOT }
			1343 = { add_core_of = ROOT }
			1344 = { add_core_of = ROOT }
			1345 = { add_core_of = ROOT }
			314 = { add_core_of = ROOT }
			1369 = { add_core_of = ROOT }
			312 = { add_core_of = ROOT }
			317 = { add_core_of = ROOT }
			316 = { add_core_of = ROOT }
			311 = { add_core_of = ROOT }
			1368 = { add_core_of = ROOT }
			hidden_effect = {
				news_event = { id = wtt_news.59 hours = 6 }
				set_global_flag = form_united_central_america_flag
			}
		}

		ai_will_do = {
			factor = 200
			#modifier = {
			#	factor = 0
			#	is_historical_focus_on = yes
			#}
		}
	}

	integrate_northern_gran_colombia = {

		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
				original_tag = BLZ
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			controls_state = 304
			controls_state = 1215
			controls_state = 1216
		}

		visible = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
			}
			has_global_flag = form_united_central_america_flag
			NOT = { has_global_flag = integrated_panama_flag }
		}

		complete_effect = {
			304 = { add_core_of = ROOT }
			1215 = { add_core_of = ROOT }
			1216 = { add_core_of = ROOT }
			685 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = integrated_panama_flag
			}
		}

		ai_will_do = {
			factor = 500
		}
	}

	integrate_yucatan = {

		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
				original_tag = BLZ
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			controls_state = 474
		}

		visible = {
			OR = {
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
			}
			has_global_flag = form_united_central_america_flag
			NOT = { has_global_flag = integrated_yucatan_flag }
		}

		complete_effect = {
			474 = { add_core_of = ROOT }
			475 = { add_claim_by = ROOT }
			hidden_effect = {
				set_global_flag = integrated_yucatan_flag
			}
		}

		ai_will_do = {
			factor = 500
		}
	}
}

form_baltic_federation_category = {

	form_baltic_federation = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "No Step Back"
			}
		}

		available = {
			is_subject = no
			# Estonia
			custom_trigger_tooltip = {
				tooltip = form_country_estonia_required_states_tt
				controls_state = 13
				controls_state = 191
				controls_state = 811
				controls_state = 812
				controls_state = 813
				controls_state = 1066
				controls_state = 1067
				controls_state = 1068
				controls_state = 1069
				controls_state = 1070
				controls_state = 1071
				controls_state = 1072
			}
			# Latvia
			custom_trigger_tooltip = {
				tooltip = form_country_latvia_required_states_tt
				controls_state = 12
				controls_state = 190
				controls_state = 1559
				controls_state = 808
				controls_state = 809
				controls_state = 810
				controls_state = 1059
				controls_state = 1060
				controls_state = 1061
				controls_state = 1062
				controls_state = 1063
			}
			# Lithuania
			custom_trigger_tooltip = {
				tooltip = form_country_lithuania_required_states_tt
				controls_state = 11
				controls_state = 189
				controls_state = 814
				controls_state = 815
				controls_state = 1236
				controls_state = 1237
				controls_state = 1058
			}
		}

		visible = {
			OR = {
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
			NOT = { has_global_flag = form_baltic_federation_flag }
			NOT = { has_cosmetic_tag = LIVONIA }
			NOT = { has_completed_focus = LIT_claim_livonia_monarchy }
			NOT = { has_completed_focus = LIT_POL_union }
		}

		complete_effect = {
			set_cosmetic_tag = BAL_UNIFIED
			# Estonia
			custom_effect_tooltip = form_country_estonia_coring_states_tt
			hidden_effect = {
				13 = { add_core_of = ROOT }
				191 = { add_core_of = ROOT }
				811 = { add_core_of = ROOT }
				812 = { add_core_of = ROOT }
				813 = { add_core_of = ROOT }
				1066 = { add_core_of = ROOT }
				1067 = { add_core_of = ROOT }
				1068 = { add_core_of = ROOT }
				1069 = { add_core_of = ROOT }
				1070 = { add_core_of = ROOT }
				1071 = { add_core_of = ROOT }
				1072 = { add_core_of = ROOT }
			}
			# Latvia
			custom_effect_tooltip = form_country_latvia_coring_states_tt
			hidden_effect = {
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				1559 = { add_core_of = ROOT }
				808 = { add_core_of = ROOT }
				809 = { add_core_of = ROOT }
				810 = { add_core_of = ROOT }
				1059 = { add_core_of = ROOT }
				1060 = { add_core_of = ROOT }
				1061 = { add_core_of = ROOT }
				1062 = { add_core_of = ROOT }
				1063 = { add_core_of = ROOT }
			}
			# Lithuania
			custom_effect_tooltip = form_country_lithuania_coring_states_tt
			hidden_effect = {
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				188 = { add_core_of = ROOT }
				1172 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
				1238 = { add_core_of = ROOT }
				1247 = { add_core_of = ROOT }
				1248 = { add_core_of = ROOT }
				814 = { add_core_of = ROOT }
				815 = { add_core_of = ROOT }
				1236 = { add_core_of = ROOT }
				1237 = { add_core_of = ROOT }
				1058 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.60 hours = 6 }
				set_global_flag = form_baltic_federation_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_ottoman_empire_category = {

	form_ottoman_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Waking the Tiger"
			NOT = { has_dlc = "Battle for the Bosporus" }
		}

		available = {
			is_subject = no
			controls_state = 855
			controls_state = 856
			controls_state = 293
			controls_state = 1054
			controls_state = 454
			controls_state = 1133
			controls_state = 1134
			controls_state = 1135
			controls_state = 1137
			controls_state = 1138
			controls_state = 1139
			controls_state = 1140
			controls_state = 455
			controls_state = 656
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 340
				controls_state = 1266
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 798
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 800
				controls_state = 1287
			}
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
			# France
			custom_trigger_tooltip = {
				tooltip = form_persia_france_required_states_tt
				# Syria
				controls_state = 677
				controls_state = 680
				controls_state = 1330
				controls_state = 553
				controls_state = 554
				controls_state = 1136
			}
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = form_ottoman_empire_flag }
		}

		complete_effect = {
			set_cosmetic_tag = OTT_UNIFIED
			679 = { add_core_of = ROOT }
			855 = { add_core_of = ROOT }
			856 = { add_core_of = ROOT }
			293 = { add_core_of = ROOT }
			665 = { add_core_of = ROOT }
			458 = { add_core_of = ROOT }
			1054 = { add_core_of = ROOT }
			# Iraq
			custom_effect_tooltip = form_country_iraq_coring_states_tt
			hidden_effect = {
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
			}
			# France
			custom_effect_tooltip = form_persia_france_coring_states_tt
			hidden_effect = {
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
			}
			# Italian North Africa and Dodecanese
			custom_effect_tooltip = form_ottoman_italy_coring_states_tt
			hidden_effect = {
				448 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
			}
			# Britain
			custom_effect_tooltip = form_persia_britain_coring_states_tt
			hidden_effect = {
				452 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				183 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				907 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.61 hours = 6 }
				set_global_flag = form_ottoman_empire_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_reform_the_eyalet_of_rumelia = { #Greece + Albania + Bulgaria + South Yugoslavia

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			#Greece
			custom_trigger_tooltip = {
				tooltip = form_rumelia_greece_required_states_tt
				controls_state = 47
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 184
				controls_state = 186
				controls_state = 187
				controls_state = 1319
			}
			#Bulgaria
			custom_trigger_tooltip = {
				tooltip = form_rumelia_bulgaria_required_states_tt
				controls_state = 48
				controls_state = 801
				controls_state = 212
				controls_state = 211
				controls_state = 1719
				controls_state = 1720
			}
			#Yugoslavia 
			custom_trigger_tooltip = {
				tooltip = form_rumelia_yugoslavia_required_states_tt
				controls_state = 106 
				controls_state = 1412
				controls_state = 1307 
				controls_state = 1298
				controls_state = 803
				controls_state = 1411
				controls_state = 1299
				controls_state = 1300
				controls_state = 802
				controls_state = 108 
				controls_state = 105 
				controls_state = 107
				controls_state = 1709
				controls_state = 1721
				controls_state = 1715
				controls_state = 1714
				controls_state = 1260
				controls_state = 1047
				controls_state = 1048
				controls_state = 1710
			}
			#Albania			
			custom_trigger_tooltip = {
				tooltip = form_rumelia_albania_required_states_tt
				controls_state = 44
				controls_state = 805
				controls_state = 934
			}
		}
		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_balkans_flag }
			has_completed_focus = TUR_reclaim_macedonia
		}

		complete_effect = {
			# Greece
			custom_effect_tooltip = form_rumelia_greece_coring_states_tt
			hidden_effect = {
				47 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				1607 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
			}
			# Bulgaria
			custom_effect_tooltip = form_rumelia_bulgaria_coring_states_tt
			hidden_effect = {
				48 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				1719 = { add_core_of = ROOT }
				1720 = { add_core_of = ROOT }
			}
			# Yugoslavia
			custom_effect_tooltip = form_rumelia_yugoslavia_coring_states_tt
			hidden_effect = {
				106 = { add_core_of = ROOT }
				1412 = { add_core_of = ROOT }
				1307 = { add_core_of = ROOT }
				1298 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				1411 = { add_core_of = ROOT }
				1299 = { add_core_of = ROOT }
				1300 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				1709 = { add_core_of = ROOT }
				1721 = { add_core_of = ROOT }
				1715 = { add_core_of = ROOT }
				1714 = { add_core_of = ROOT }
				1260 = { add_core_of = ROOT }
				1047 = { add_core_of = ROOT }
				1048 = { add_core_of = ROOT }
				1710 = { add_core_of = ROOT }
			}
			custom_effect_tooltip = form_rumelia_albania_coring_states_tt
			hidden_effect = {
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				934 = { add_core_of = ROOT }
			}
			hidden_effect = {
				set_global_flag = ottoman_balkans_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_merge_the_eyalets_of_morea_crete_and_kibris = { #Greece + Cyprus

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			#Greece
			controls_state = 186
			controls_state = 182
			controls_state = 187
			controls_state = 164 #Dodecanese
			controls_state = 183 #Cyprus
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_greece_flag }
			has_completed_focus = TUR_reclaim_macedonia
		}

		complete_effect = {
			186 = { add_core_of = ROOT }
			182 = { add_core_of = ROOT }
			187 = { add_core_of = ROOT }
			164 = { add_core_of = ROOT }
			183 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_greece_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_enlarge_the_vilayet_of_bosnia = { #Bosnia + Croatia

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 104
			controls_state = 804
			controls_state = 103
			controls_state = 1296
			controls_state = 1717
			controls_state = 1712
			controls_state = 1713
			controls_state = 1711
			controls_state = 1716
			controls_state = 1314
			controls_state = 1325
			controls_state = 1339
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_bosnia_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			104 = { add_core_of = ROOT }
			804 = { add_core_of = ROOT }
			103 = { add_core_of = ROOT }
			1296 = { add_core_of = ROOT }
			1717 = { add_core_of = ROOT }
			1712 = { add_core_of = ROOT }
			1713 = { add_core_of = ROOT }
			1711 = { add_core_of = ROOT }
			1716 = { add_core_of = ROOT }
			1314 = { add_core_of = ROOT }
			1325 = { add_core_of = ROOT }
			1339 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_bosnia_flag
				163 = { add_core_of = ROOT }
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_restore_the_vilayet_of_the_danube_and_moldova = { #Romania

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 46
			controls_state = 79
			controls_state = 81
			controls_state = 77
			controls_state = 766 
			controls_state = 84 
			controls_state = 1387
			controls_state = 76
			controls_state = 1309
			controls_state = 1310
			controls_state = 83 
			controls_state = 1480 
			controls_state = 82 
			controls_state = 1479
			controls_state = 1722
			controls_state = 1312
			controls_state = 1559
			controls_state = 1295
			controls_state = 80
			controls_state = 1267
			controls_state = 78
			controls_state = 1291
			controls_state = 1092
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_romania_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			46 = { add_core_of = ROOT }
			79 = { add_core_of = ROOT }
			81 = { add_core_of = ROOT }
			77 = { add_core_of = ROOT }
			766 = { add_core_of = ROOT }
			84 = { add_core_of = ROOT }
			1387 = { add_core_of = ROOT }
			76 = { add_core_of = ROOT }
			1309 = { add_core_of = ROOT }
			1310 = { add_core_of = ROOT }
			83 = { add_core_of = ROOT }
			1480 = { add_core_of = ROOT }
			82 = { add_core_of = ROOT }
			1479 = { add_core_of = ROOT }
			1722 = { add_core_of = ROOT }
			1312 = { add_core_of = ROOT }
			1559 = { add_core_of = ROOT }
			1295 = { add_core_of = ROOT }
			80 = { add_core_of = ROOT }
			1267 = { add_core_of = ROOT }
			78 = { add_core_of = ROOT }
			1291 = { add_core_of = ROOT }
			1092 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_romania_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_restore_the_vilayet_of_halep = { #Syria

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			# France
			custom_trigger_tooltip = {
				tooltip = form_persia_france_required_states_tt
				# Syria
				controls_state = 680
				controls_state = 1330
				controls_state = 554
				controls_state = 799
				controls_state = 677
				controls_state = 1136
			}
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_syria_flag }
			OR = {
				has_completed_focus = TUR_reclaiming_our_lost_empire
				has_completed_focus = TUR_the_damascus_diktat
			}
		}

		complete_effect = {
			# French Syria
			custom_effect_tooltip = form_ottoman_syria_coring_states_tt		#only Syria formable decision that doesn't and shouldn't core Lebanon, that's its own decision 
			hidden_effect = {
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
			}
			hidden_effect = {
				set_global_flag = ottoman_syria_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_restore_the_vilayet_of_beirut = { #Lebanon + Levant

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 454
			controls_state = 455
			controls_state = 553
			controls_state = 1133
			controls_state = 1134
			controls_state = 1135
			controls_state = 1137
			controls_state = 1138
			controls_state = 1139
			controls_state = 1140
			
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_levant_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			454 = { add_core_of = ROOT }
			455 = { add_core_of = ROOT }
			553 = { add_core_of = ROOT }
			1133 = { add_core_of = ROOT }
			1134 = { add_core_of = ROOT }
			1135 = { add_core_of = ROOT }
			1137 = { add_core_of = ROOT }
			1138 = { add_core_of = ROOT }
			1139 = { add_core_of = ROOT }
			1140 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_levant_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_restore_the_vilayet_of_baghdad = { #Iraq

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_mesopotamia_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			# Iraq
			custom_effect_tooltip = form_country_iraq_coring_states_tt
			hidden_effect = {
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
			}
			hidden_effect = {
				set_global_flag = ottoman_mesopotamia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_extend_the_lasha_eyalet = { #Arabia + Gulf + Oman

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 656
			controls_state = 765
			controls_state = 1014
			controls_state = 658
			controls_state = 1013
			controls_state = 292
			controls_state = 678
			controls_state = 857
			controls_state = 858
			controls_state = 854
			controls_state = 859
			controls_state = 907
			controls_state = 856
			controls_state = 855
			controls_state = 294
			controls_state = 1015
			controls_state = 1016
			controls_state = 1049
			controls_state = 1050
			controls_state = 1051
			controls_state = 1052
			controls_state = 1053
			controls_state = 679
			controls_state = 1055
			controls_state = 1056
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_arabia_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			656 = { add_core_of = ROOT }
			765 = { add_core_of = ROOT }
			1014 = { add_core_of = ROOT }
			658 = { add_core_of = ROOT }
			1013 = { add_core_of = ROOT }
			292 = { add_core_of = ROOT }
			857 = { add_core_of = ROOT }
			858 = { add_core_of = ROOT }
			854 = { add_core_of = ROOT }
			855 = { add_core_of = ROOT }
			856 = { add_core_of = ROOT }
			859 = { add_core_of = ROOT }
			678 = { add_core_of = ROOT }
			294 = { add_core_of = ROOT }
			1015 = { add_core_of = ROOT }
			1016 = { add_core_of = ROOT }
			1049 = { add_core_of = ROOT }
			1050 = { add_core_of = ROOT }
			1051 = { add_core_of = ROOT }
			1052 = { add_core_of = ROOT }
			1053 = { add_core_of = ROOT }
			679 = { add_core_of = ROOT }
			1055 = { add_core_of = ROOT }
			1056 = { add_core_of = ROOT }
			create_wargoal = { 
				type = annex_everything
				target = OMA
			}
			hidden_effect = {
				set_global_flag = ottoman_arabia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_merge_the_eyalets_of_jeddah_habesh_and_yemen = { #Yemen + Hejaz

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 679
			controls_state = 293
			controls_state = 659
			controls_state = 992
			controls_state = 855
			controls_state = 856
			controls_state = 1054
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_yemen_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			679 = { add_core_of = ROOT }
			293 = { add_core_of = ROOT }
			659 = { add_core_of = ROOT }
			992 = { add_core_of = ROOT }
			855 = { add_core_of = ROOT }
			856 = { add_core_of = ROOT } 
			1054 = { add_core_of = ROOT } 
			hidden_effect = {
				set_global_flag = ottoman_yemen_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_integrate_the_khedivate_of_egypt = { #Egypt

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 446
			controls_state = 447
			controls_state = 453
			controls_state = 452
			controls_state = 456
			controls_state = 457
			controls_state = 552
			controls_state = 767
			controls_state = 551
			controls_state = 883
			controls_state = 907
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_egypt_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			446 = { add_core_of = ROOT }
			447 = { add_core_of = ROOT }
			453 = { add_core_of = ROOT }
			452 = { add_core_of = ROOT }
			456 = { add_core_of = ROOT }
			457 = { add_core_of = ROOT }
			552 = { add_core_of = ROOT }
			767 = { add_core_of = ROOT }
			551 = { add_core_of = ROOT }
			883 = { add_core_of = ROOT }
			907 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_egypt_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_restore_the_vilayet_of_tripolitania = { #Libya

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 448
			controls_state = 661
			controls_state = 449
			controls_state = 662
			controls_state = 450
			controls_state = 451
			controls_state = 663
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_libya_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			# Italian North Africa
			custom_effect_tooltip = form_ottoman_italy_coring_states_tt
			hidden_effect = {
				448 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
			}
			hidden_effect = {
				set_global_flag = ottoman_libya_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ott_absorb_the_tunis_and_algerian_eyalets = { #Tunisia + Algeria

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
			controls_state = 458
			controls_state = 665
			controls_state = 459
			controls_state = 460
			controls_state = 513
		}

		visible = {
			original_tag = TUR
			NOT = { has_global_flag = ottoman_tunisia_flag }
			has_completed_focus = TUR_reclaiming_our_lost_empire
		}

		complete_effect = {
			458 = { add_core_of = ROOT }
			665 = { add_core_of = ROOT }
			459 = { add_core_of = ROOT }
			460 = { add_core_of = ROOT }
			513 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = ottoman_tunisia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_european_union_category = {

	form_european_union = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 7
				state = 1292
				state = 35
				state = 1297
				state = 1293
				state = 36
				state = 1255
				state = 1552
				state = 6
				state = 34
				state = 980
				state = 1250
				state = 29
				state = 18
				state = 1402
				state = 17
				state = 28
				state = 15
				state = 1402
				state = 1403
				state = 977
				state = 16
				state = 1517
				state = 1518
				state = 1519
				state = 1520
				state = 27
				state = 1521
				state = 14
				state = 30
				state = 24
				state = 23
				state = 33
				state = 26
				state = 20
				state = 1522
				state = 32
				state = 735
				state = 1301
				state = 1302
				state = 1303
				state = 1304
				state = 1305
				state = 1306
				state = 25
				state = 22
				state = 21
				state = 851
				state = 19
				state = 20
				state = 1522
				state = 1
				state = 785
				state = 1401
				state = 31
				state = 1381
				state = 806
				state = 1257
				state = 1258
				state = 1259
				state = 158
				state = 1308
				state = 159
				state = 39
				state = 160
				state = 1168
				state = 161
				state = 1408
				state = 1409
				state = 162
				state = 157
				state = 1406
				state = 1407
				state = 2
				state = 1404
				state = 1405
				state = 117
				state = 156
				state = 115
				state = 114
				state = 736
				state = 849
				state = 850
				state = 852
				state = 1169
				state = 51
				state = 1414
				state = 42
				state = 56
				state = 57
				state = 1413
				state = 55
				state = 50
				state = 59
				state = 58
				state = 909
				state = 60
				state = 54
				state = 52
				state = 53
				state = 61
				state = 64
				state = 65
				state = 62
				state = 68
				state = 66
				state = 67
				state = 63
				state = 5
				state = 1288
				state = 763
				state = 1249
				state = 1251
				state = 978
				state = 1253
				state = 1254
				state = 1268
				state = 1269
				state = 1270
				state = 1557
				state = 1701
				state = 1702
				state = 1538
				state = 1539
				state = 1540
				state = 1541
				state = 1542
				state = 1543
				state = 1544
				state = 1545
				state = 1546
				state = 1547
				state = 1548
				state = 1549
				state = 1550
				state = 1551
				state = 1558
				state = 8
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = {

			OR = { 
				AND = {
					OR = {
						original_tag = HOL
						original_tag = BEL
						original_tag = LUX
						original_tag = FRA
						original_tag = ITA
						original_tag = GER
					}
					has_government = democratic
				}
				AND = {
					original_tag = ENG
					has_country_leader = {
						character = ENG_oswald_mosley
						ruling_only = yes
					}
					has_completed_focus = ENG_imperial_federation
				}
				AND = {
					original_tag = HUN
					has_country_leader = {
						character = HUN_otto_von_habsburg
						ruling_only = yes
					}
					has_government = neutrality
					has_completed_focus = wuw_HUN_renovato_imperii
				}
				AND = {
					original_tag = AUS
					OR = {
						AND = {
							has_country_leader = {
								character = HUN_otto_von_habsburg
								ruling_only = yes
							}
							has_completed_focus = AUS_the_danubian_federation
							is_faction_leader = yes
						}	
						AND = {
							has_completed_focus = AUS_the_right_to_self_determination
							has_government = democratic
						}
					}
				}
				AND = {
					original_tag = GER
					has_completed_focus = GER_european_confederation
				}
			}

			NOT = { has_global_flag = form_european_union_flag }

			is_major = yes

		}

		available = {
			is_subject = no

			controls_state = 8

			# Netherlands
			custom_trigger_tooltip = {
				tooltip = form_eu_netherlands_required_states_tt
				controls_state = 7
				controls_state = 1292
				controls_state = 35
				controls_state = 1297
				controls_state = 1293
				controls_state = 36
				controls_state = 1255
				controls_state = 1552
			}

			# Belgium
			custom_trigger_tooltip = {
				tooltip = form_eu_belgium_required_states_tt
				controls_state = 6
				controls_state = 34
				controls_state = 977
				controls_state = 980
				controls_state = 1250
			}

			# France
			custom_trigger_tooltip = {
				tooltip = form_eu_france_required_states_tt
				controls_state = 29
				controls_state = 18
				controls_state = 1402
				controls_state = 17
				controls_state = 28
				controls_state = 15
				controls_state = 1403
				controls_state = 16
				controls_state = 1517
				controls_state = 1518
				controls_state = 1519
				controls_state = 1520
				controls_state = 27
				controls_state = 1521
				controls_state = 14
				controls_state = 30
				controls_state = 24
				controls_state = 23
				controls_state = 33
				controls_state = 26
				controls_state = 20
				controls_state = 1522
				controls_state = 32
				controls_state = 735
				controls_state = 1301
				controls_state = 1302
				controls_state = 1303
				controls_state = 1304
				controls_state = 1305
				controls_state = 1306
				controls_state = 25
				controls_state = 22
				controls_state = 21
				controls_state = 851
				controls_state = 19
				controls_state = 20
				controls_state = 1522
				controls_state = 1
				controls_state = 785
				controls_state = 1401
				controls_state = 31
				controls_state = 1381
				controls_state = 806
				controls_state = 1257
				controls_state = 1258
				controls_state = 1259
			}

			# Italy
			custom_trigger_tooltip = {
				tooltip = form_eu_italy_required_states_tt
				controls_state = 158
				controls_state = 1308
				controls_state = 159
				controls_state = 39
				controls_state = 160
				controls_state = 1168
				controls_state = 161
				controls_state = 1408
				controls_state = 1409
				controls_state = 162
				controls_state = 157
				controls_state = 1406
				controls_state = 1407
				controls_state = 2
				controls_state = 1404
				controls_state = 1405
				controls_state = 117
				controls_state = 156
				controls_state = 115
				controls_state = 114
				controls_state = 736
				controls_state = 849
				controls_state = 850
				controls_state = 852
				controls_state = 1169
			}

			# Germany
			custom_trigger_tooltip = {
				tooltip = form_country_germany_required_states_tt
				controls_state = 51
				controls_state = 1414
				controls_state = 42
				controls_state = 56
				controls_state = 57
				controls_state = 1413
				controls_state = 55
				controls_state = 50
				controls_state = 978 #BADEN
				controls_state = 59
				controls_state = 58
				controls_state = 909 #New state of SCHLESWIG
				controls_state = 60
				controls_state = 54
				controls_state = 52
				controls_state = 53
				controls_state = 61
				controls_state = 64
				controls_state = 65
				controls_state = 62
				controls_state = 68
				controls_state = 66
				controls_state = 67
				controls_state = 63
				controls_state = 5
				controls_state = 1288
				controls_state = 763
				controls_state = 1249
				controls_state = 1251
				controls_state = 978
				controls_state = 1253
				controls_state = 1254
				controls_state = 1268
				controls_state = 1269
				controls_state = 1270
				controls_state = 1557
				controls_state = 1701
				controls_state = 1702
				controls_state = 1538
				controls_state = 1539
				controls_state = 1540
				controls_state = 1541
				controls_state = 1542
				controls_state = 1543
				controls_state = 1544
				controls_state = 1545
				controls_state = 1546
				controls_state = 1547
				controls_state = 1548
				controls_state = 1549
				controls_state = 1550
				controls_state = 1551
				controls_state = 1558
			}
		}

		complete_effect = {

			IF = {
				limit = {
					NOT = { original_tag = ENG }
				}
				set_cosmetic_tag = EUR_UNIFIED
			}
			ELSE = {
				set_cosmetic_tag = ENG_imperial_federation_unified #Europe-a-Nation
			}

			8 = { add_core_of = ROOT } # Luxembourg

			# Netherlands
			custom_effect_tooltip = form_eu_netherlands_coring_states_tt 
			hidden_effect = {
				7 = { add_core_of = ROOT }
				1292 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				1297 = { add_core_of = ROOT }
				1293 = { add_core_of = ROOT }
				36 = { add_core_of = ROOT }
				1255 = { add_core_of = ROOT }
				1552 = { add_core_of = ROOT }
			}
			# Belgium
			custom_effect_tooltip = form_eu_belgium_coring_states_tt
			hidden_effect = {
				6 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				977 = { add_core_of = ROOT }
				980 = { add_core_of = ROOT }
				1250 = { add_core_of = ROOT }
			}
			# France
			custom_effect_tooltip = form_eu_france_coring_states_tt
			hidden_effect = {
				29 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				1402 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				1403 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				1517 = { add_core_of = ROOT }
				1518 = { add_core_of = ROOT }
				1519 = { add_core_of = ROOT }
				1520 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				1521 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				1522 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				1301 = { add_core_of = ROOT }
				1302 = { add_core_of = ROOT }
				1303 = { add_core_of = ROOT }
				1304 = { add_core_of = ROOT }
				1305 = { add_core_of = ROOT }
				1306 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				851 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				1522 = { add_core_of = ROOT }
				1 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				1401 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				1381 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				1257 = { add_core_of = ROOT }
				1258 = { add_core_of = ROOT }
				1259 = { add_core_of = ROOT }
			}
			# Italy
			custom_effect_tooltip = form_eu_italy_coring_states_tt
			hidden_effect = {
				158 = { add_core_of = ROOT }
				1308 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				1168 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				1408 = { add_core_of = ROOT }
				1409 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				1406 = { add_core_of = ROOT }
				1407 = { add_core_of = ROOT }
				2 = { add_core_of = ROOT }
				1404 = { add_core_of = ROOT }
				1405 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				114 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				849 = { add_core_of = ROOT }
				850 = { add_core_of = ROOT }
				852 = { add_core_of = ROOT }
				1169 = { add_core_of = ROOT }
			}
			# Germany
			custom_effect_tooltip = form_country_germany_coring_states_tt
			hidden_effect = {
				51 = { add_core_of = ROOT }
				1414 = { add_core_of = ROOT }
				42 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
				1413 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				909 = { add_core_of = ROOT } #New state of SCHLESWIG
				60 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				64 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				5 = { add_core_of = ROOT }
				1288 = { add_core_of = ROOT }
				763 = { add_core_of = ROOT }
				1249 = { add_core_of = ROOT }
				1251 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				1253 = { add_core_of = ROOT }
				1254 = { add_core_of = ROOT }
				1268 = { add_core_of = ROOT }
				1269 = { add_core_of = ROOT }
				1270 = { add_core_of = ROOT }
				1557 = { add_core_of = ROOT }
				1701 = { add_core_of = ROOT }
				1702 = { add_core_of = ROOT }
				1538 = { add_core_of = ROOT }
				1539 = { add_core_of = ROOT }
				1540 = { add_core_of = ROOT }
				1541 = { add_core_of = ROOT }
				1542 = { add_core_of = ROOT }
				1543 = { add_core_of = ROOT }
				1544 = { add_core_of = ROOT }
				1545 = { add_core_of = ROOT }
				1546 = { add_core_of = ROOT }
				1547 = { add_core_of = ROOT }
				1548 = { add_core_of = ROOT }
				1549 = { add_core_of = ROOT }
				1550 = { add_core_of = ROOT }
				1551 = { add_core_of = ROOT }
				1558 = { add_core_of = ROOT }
			}

			116 = { add_core_of = ROOT } # Malta

			hidden_effect = {
				news_event = { id = wtt_news.62 hours = 6 }
				set_global_flag = form_european_union_flag
				set_country_flag = form_european_union_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_alpine_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 845 # Jura Mountains
				state = 1514
				state = 3 # Swiss Plateu
				state = 847 # Western Swiss Alps
				state = 1506
				state = 846 # Ticino
				state = 151 # Eastern Swiss Alps
				state = 1507
				state = 1508
				state = 1509
				state = 1510
				state = 1511
				state = 1512
				state = 1513
				state = 1515
				state = 1516
				state = 848 # Vorarlberg
				state = 153 # Tyrol
				state = 152 # Oberösterreich
				state = 976 # Steiermark-Kärnten
				state = 4 # Niederösterreich
				state = 975 # Burgenland
				state = 1553
				state = 1128
				state = 1390
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_alpine_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 845 # Jura Mountains
			controls_state = 1514
			controls_state = 3 # Swiss Plateu
			controls_state = 847 # Western Swiss Alps
			controls_state = 1506
			controls_state = 846 # Ticino
			controls_state = 151 # Eastern Swiss Alps
			controls_state = 1507
			controls_state = 1508
			controls_state = 1509
			controls_state = 1510
			controls_state = 1511
			controls_state = 1512
			controls_state = 1513
			controls_state = 1515
			controls_state = 1516
			controls_state = 848 # Vorarlberg
			controls_state = 153 # Tyrol
			controls_state = 152 # Oberösterreich
			controls_state = 976 # Steiermark-Kärnten
			controls_state = 4 # Niederösterreich
			controls_state = 975 # Burgenland
			controls_state = 1553
			controls_state = 1128
			controls_state = 1390
		}

		days_remove = 70

		# YES it is intentional that these don't have any cancel triggers!

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 845 # Jura Mountains
							state = 1514
							state = 3 # Swiss Plateu
							state = 847 # Western Swiss Alps
							state = 1506
							state = 846 # Ticino
							state = 151 # Eastern Swiss Alps
							state = 1507
							state = 1508
							state = 1509
							state = 1510
							state = 1511
							state = 1512
							state = 1513
							state = 1515
							state = 1516
							state = 848 # Vorarlberg
							state = 153 # Tyrol
							state = 152 # Oberösterreich
							state = 976 # Steiermark-Kärnten
							state = 4 # Niederösterreich
							state = 975 # Burgenland
							state = 1553
							state = 1128
							state = 1390
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_alpine_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_iberian_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 177 # Islas Baleares
				state = 165 # Catalonia
				state = 167 # Valencia
				state = 794 # Eastern Aragon
				state = 1486
				state = 166 # Western Aragon
				state = 1485
				state = 172 # Navarra
				state = 792 # Pais Vasco
				state = 790 # Asturias
				state = 171 # Galicia
				state = 174 # Leon
				state = 791 # Valladolid
				state = 176 # Burgos
				state = 793 # Guadalajara
				state = 168 # Murcia
				state = 788 # Salamanca
				state = 41 # Madrid
				state = 175 # Ciudad Real
				state = 170 # Extramadura
				state = 789 # Cordoba
				state = 173 # Granada
				state = 169 # Sevilla
				state = 118 # Gibraltar
				state = 180 # Porto
				state = 181 # Guarda
				state = 112 # Lisbon
				state = 795 # Santarem
				state = 179 # Beja
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_iberian_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 177 # Islas Baleares
			controls_state = 165 # Catalonia
			controls_state = 167 # Valencia
			controls_state = 794 # Eastern Aragon
			controls_state = 1486
			controls_state = 166 # Western Aragon
			controls_state = 1485
			controls_state = 172 # Navarra
			controls_state = 792 # Pais Vasco
			controls_state = 790 # Asturias
			controls_state = 171 # Galicia
			controls_state = 174 # Leon
			controls_state = 791 # Valladolid
			controls_state = 176 # Burgos
			controls_state = 793 # Guadalajara
			controls_state = 168 # Murcia
			controls_state = 788 # Salamanca
			controls_state = 41 # Madrid
			controls_state = 175 # Ciudad Real
			controls_state = 170 # Extramadura
			controls_state = 789 # Cordoba
			controls_state = 173 # Granada
			controls_state = 169 # Sevilla
			controls_state = 118 # Gibraltar
			controls_state = 180 # Porto
			controls_state = 181 # Guarda
			controls_state = 112 # Lisbon
			controls_state = 795 # Santarem
			controls_state = 179 # Beja
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 177 # Islas Baleares
							state = 165 # Catalonia
							state = 167 # Valencia
							state = 794 # Eastern Aragon
							state = 1486
							state = 166 # Western Aragon
							state = 1485
							state = 172 # Navarra
							state = 792 # Pais Vasco
							state = 790 # Asturias
							state = 171 # Galicia
							state = 174 # Leon
							state = 791 # Valladolid
							state = 176 # Burgos
							state = 793 # Guadalajara
							state = 168 # Murcia
							state = 788 # Salamanca
							state = 41 # Madrid
							state = 175 # Ciudad Real
							state = 170 # Extramadura
							state = 789 # Cordoba
							state = 173 # Granada
							state = 169 # Sevilla
							state = 118 # Gibraltar
							state = 180 # Porto
							state = 181 # Guarda
							state = 112 # Lisbon
							state = 795 # Santarem
							state = 179 # Beja
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_iberian_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_west_slavic_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 69 # North Sudetenland
				state = 972 # South Sudetenland
				state = 1608
				state = 9 # Bohemia
				state = 75 # Moravia
				state = 74 # Czech Silesia
				state = 72 # Zaolzie
				state = 70 # Western Slovakia
				state = 664 # Southern Slovakia
				state = 71 # Eastern Slovakia
				state = 73 # Carpathian Ruthenia
				state = 1555
				state = 1556
				state = 1560
				state = 1146
				state = 1147
				state = 1148
				state = 1149
				state = 1294
				state = 86
				state = 87
				state = 88
				state = 90
				state = 98
				state = 10
				state = 1554
				state = 1389
				state = 1481
				state = 1252
				state = 1482
				state = 1256
				state = 1528
				state = 1529
				state = 1385
				state = 1386
				state = 1530
				state = 1141
				state = 1142
				state = 1143
				state = 1144
				state = 1145
				state = 97
				state = 92
				state = 91
				state = 1400
				state = 89
				state = 93
				state = 94
				state = 95
				state = 96
				state = 1535
				state = 1484
				state = 1534
				state = 1533
				state = 1532
				state = 1399
				state = 1531
				state = 1483
				state = 1261
				state = 1610
				state = 1246
				state = 1245
				state = 1240
				state = 1238
				state = 1247
				state = 1248
				state = 1241
				state = 1242
				state = 1239
				state = 1243
				state = 1244
				state = 1173
				state = 784
				state = 807
				state = 85
				state = 762
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_west_slavic_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 69 # North Sudetenland
			controls_state = 972 # South Sudetenland
			controls_state = 1608
			controls_state = 9 # Bohemia
			controls_state = 75 # Moravia
			controls_state = 74 # Czech Silesia
			controls_state = 72 # Zaolzie
			controls_state = 70 # Western Slovakia
			controls_state = 664 # Southern Slovakia
			controls_state = 71 # Eastern Slovakia
			controls_state = 73 # Carpathian Ruthenia
			controls_state = 86
			controls_state = 87
			controls_state = 88
			controls_state = 90
			controls_state = 98
			controls_state = 10
			controls_state = 1554
			controls_state = 1389
			controls_state = 1481
			controls_state = 1252
			controls_state = 1482
			controls_state = 1256
			controls_state = 1528
			controls_state = 1529
			controls_state = 1385
			controls_state = 1386
			controls_state = 1530
			controls_state = 1141
			controls_state = 1142
			controls_state = 1143
			controls_state = 1144
			controls_state = 1145
			controls_state = 97
			controls_state = 92
			controls_state = 91
			controls_state = 1400
			controls_state = 89
			controls_state = 93
			controls_state = 94
			controls_state = 95
			controls_state = 96
			controls_state = 1535
			controls_state = 1484
			controls_state = 1534
			controls_state = 1533
			controls_state = 1532
			controls_state = 1399
			controls_state = 1531
			controls_state = 1483
			controls_state = 1261
			controls_state = 1610
			controls_state = 1246
			controls_state = 1245
			controls_state = 1240
			controls_state = 1238
			controls_state = 1247
			controls_state = 1248
			controls_state = 1241
			controls_state = 1242
			controls_state = 1239
			controls_state = 1243
			controls_state = 1244
			controls_state = 1173
			controls_state = 784
			controls_state = 807
			controls_state = 85
			controls_state = 762
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 69 # North Sudetenland
							state = 972 # South Sudetenland
							state = 1608
							state = 9 # Bohemia
							state = 75 # Moravia
							state = 74 # Czech Silesia
							state = 72 # Zaolzie
							state = 70 # Western Slovakia
							state = 664 # Southern Slovakia
							state = 71 # Eastern Slovakia
							state = 73 # Carpathian Ruthenia
							state = 1555
							state = 1556
							state = 1560
							state = 1146
							state = 1147
							state = 1148
							state = 1149
							state = 1294
							state = 86
							state = 87
							state = 88
							state = 90
							state = 98
							state = 10
							state = 1554
							state = 1389
							state = 1481
							state = 1252
							state = 1482
							state = 1256
							state = 1528
							state = 1529
							state = 1385
							state = 1386
							state = 1530
							state = 1141
							state = 1142
							state = 1143
							state = 1144
							state = 1145
							state = 97
							state = 92
							state = 91
							state = 1400
							state = 89
							state = 93
							state = 94
							state = 95
							state = 96
							state = 1535
							state = 1484
							state = 1534
							state = 1533
							state = 1532
							state = 1399
							state = 1531
							state = 1483
							state = 1261
							state = 1610
							state = 1246
							state = 1245
							state = 1240
							state = 1238
							state = 1247
							state = 1248
							state = 1241
							state = 1242
							state = 1239
							state = 1243
							state = 1244
							state = 1173
							state = 784
							state = 807
							state = 85
							state = 762
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_west_slavic_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_baltic_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = {
			highlight_state_targets = {
				state = 13
				state = 191
				state = 811
				state = 812
				state = 813
				state = 1066
				state = 1067
				state = 1068
				state = 1069
				state = 1070
				state = 1071
				state = 1072
				state = 12
				state = 190
				state = 1559
				state = 808
				state = 809
				state = 810
				state = 1059
				state = 1060
				state = 1061
				state = 1062
				state = 1063
				state = 11
				state = 189
				state = 814
				state = 815
				state = 1236
				state = 1237
				state = 1058
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_baltic_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 13
			controls_state = 191
			controls_state = 811
			controls_state = 812
			controls_state = 813
			controls_state = 1066
			controls_state = 1067
			controls_state = 1068
			controls_state = 1069
			controls_state = 1070
			controls_state = 1071
			controls_state = 1072
			controls_state = 12
			controls_state = 190
			controls_state = 1559
			controls_state = 808
			controls_state = 809
			controls_state = 810
			controls_state = 1059
			controls_state = 1060
			controls_state = 1061
			controls_state = 1062
			controls_state = 1063
			controls_state = 11
			controls_state = 189
			controls_state = 814
			controls_state = 815
			controls_state = 1236
			controls_state = 1237
			controls_state = 1058
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 13
							state = 191
							state = 811
							state = 812
							state = 813
							state = 1066
							state = 1067
							state = 1068
							state = 1069
							state = 1070
							state = 1071
							state = 1072
							state = 12
							state = 190
							state = 1559
							state = 808
							state = 809
							state = 810
							state = 1059
							state = 1060
							state = 1061
							state = 1062
							state = 1063
							state = 11
							state = 189
							state = 814
							state = 815
							state = 1236
							state = 1237
							state = 1058
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_baltic_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_british_isles_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 127 # Sussex
				state = 123 # South-West England
				state = 338 # Gloustershire
				state = 126 # Greater London Area
				state = 125 # East Anglia
				state = 129 # East Midlands
				state = 128 # West Midlands
				state = 122 # Wales
				state = 132 # Lancashire
				state = 130 # Yorkshire
				state = 931 # Cumbria
				state = 131 # Northumberland
				state = 932 # Isle of Man
				state = 133 # Lanark
				state = 121 # Lothian
				state = 136 # Aberdeenshire
				state = 120 # Scottish Highlands
				state = 933 # Shetland Islands
				state = 119 # Northern Ireland
				state = 113 # Leinster
				state = 134 # Connaught
				state = 135 # Munster
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_isles_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 127 # Sussex
			controls_state = 123 # South-West England
			controls_state = 338 # Gloustershire
			controls_state = 126 # Greater London Area
			controls_state = 125 # East Anglia
			controls_state = 129 # East Midlands
			controls_state = 128 # West Midlands
			controls_state = 122 # Wales
			controls_state = 132 # Lancashire
			controls_state = 130 # Yorkshire
			controls_state = 931 # Cumbria
			controls_state = 131 # Northumberland
			controls_state = 932 # Isle of Man
			controls_state = 133 # Lanark
			controls_state = 121 # Lothian
			controls_state = 136 # Aberdeenshire
			controls_state = 120 # Scottish Highlands
			controls_state = 933 # Shetland Islands
			controls_state = 119 # Northern Ireland
			controls_state = 113 # Leinster
			controls_state = 134 # Connaught
			controls_state = 135 # Munster
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 127 # Sussex
							state = 123 # South-West England
							state = 338 # Gloustershire
							state = 126 # Greater London Area
							state = 125 # East Anglia
							state = 129 # East Midlands
							state = 128 # West Midlands
							state = 122 # Wales
							state = 132 # Lancashire
							state = 130 # Yorkshire
							state = 931 # Cumbria
							state = 131 # Northumberland
							state = 932 # Isle of Man
							state = 133 # Lanark
							state = 121 # Lothian
							state = 136 # Aberdeenshire
							state = 120 # Scottish Highlands
							state = 933 # Shetland Islands
							state = 119 # Northern Ireland
							state = 113 # Leinster
							state = 134 # Connaught
							state = 135 # Munster
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_isles_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_scandinavian_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 912 # North Schleswig
				state = 99 # Jutland
				state = 911 # Fyn
				state = 37 # Sjaelland
				state = 910 # Bornholm
				state = 138 # Skåne
				state = 124 # Gotland
				state = 139 # Småland
				state = 140 # Västergötland
				state = 915 # Bohuslän
				state = 913 # Östergötland
				state = 919 # Värmland
				state = 141 # Södermanland
				state = 916 # Dalarna
				state = 38 # Gävleborg
				state = 917 # Jämtland
				state = 918 # Västerbotten
				state = 666 # Norrbotten
				state = 110 # Oslofjord
				state = 921 # Telemark
				state = 922 # agder
				state = 142 # Vestlandet
				state = 920 # Opplandene
				state = 143 # Trondelag
				state = 923 # Helgeland
				state = 144 # Nordland
				state = 924 # Troms
				state = 925 # Finnmark
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_scandinavia_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 912 # North Schleswig
			controls_state = 99 # Jutland
			controls_state = 911 # Fyn
			controls_state = 37 # Sjaelland
			controls_state = 910 # Bornholm
			controls_state = 138 # Skåne
			controls_state = 124 # Gotland
			controls_state = 139 # Småland
			controls_state = 140 # Västergötland
			controls_state = 915 # Bohuslän
			controls_state = 913 # Östergötland
			controls_state = 919 # Värmland
			controls_state = 141 # Södermanland
			controls_state = 916 # Dalarna
			controls_state = 38 # Gävleborg
			controls_state = 917 # Jämtland
			controls_state = 918 # Västerbotten
			controls_state = 666 # Norrbotten
			controls_state = 110 # Oslofjord
			controls_state = 921 # Telemark
			controls_state = 922 # agder
			controls_state = 142 # Vestlandet
			controls_state = 920 # Opplandene
			controls_state = 143 # Trondelag
			controls_state = 923 # Helgeland
			controls_state = 144 # Nordland
			controls_state = 924 # Troms
			controls_state = 925 # Finnmark
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 912 # North Schleswig
							state = 99 # Jutland
							state = 911 # Fyn
							state = 37 # Sjaelland
							state = 910 # Bornholm
							state = 138 # Skåne
							state = 124 # Gotland
							state = 139 # Småland
							state = 140 # Västergötland
							state = 915 # Bohuslän
							state = 913 # Östergötland
							state = 919 # Värmland
							state = 141 # Södermanland
							state = 916 # Dalarna
							state = 38 # Gävleborg
							state = 917 # Jämtland
							state = 918 # Västerbotten
							state = 666 # Norrbotten
							state = 110 # Oslofjord
							state = 921 # Telemark
							state = 922 # agder
							state = 142 # Vestlandet
							state = 920 # Opplandene
							state = 143 # Trondelag
							state = 923 # Helgeland
							state = 144 # Nordland
							state = 924 # Troms
							state = 925 # Finnmark
						}
					}
					add_core_of = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			# Faroe Islands
			337 = {
				add_core_of = ROOT
			}

			# Jan Mayen
			914 = {
				add_core_of = ROOT
			}

			# Iceland
			100 = {
				add_core_of = ROOT
			}

			# Greenland
			101 = {
				add_core_of = ROOT
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_scandinavia_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_karelo_finnish_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 148 # Lappi
				state = 722 # Petsamo
				state = 147 # Salla
				state = 929 # Oulu
				state = 150 # Kuopio
				state = 146 # Karjala
				state = 928 # Kymi
				state = 930 ## Mikkeli
				state = 149 # Vaasa
				state = 927 # Häme
				state = 926 # Turku
				state = 111 # Helsinki
				state = 145 # Åland
				state = 213 # Murmansk
				state = 215 # Onega
				state = 216 # Olonets
				state = 1714
				state = 1116
				state = 1117
				state = 1170
				state = 1171
				state = 1174
				state = 1175
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_finnish_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 148 # Lappi
			controls_state = 722 # Petsamo
			controls_state = 147 # Salla
			controls_state = 929 # Oulu
			controls_state = 150 # Kuopio
			controls_state = 146 # Karjala
			controls_state = 928 # Kymi
			controls_state = 930 ## Mikkeli
			controls_state = 149 # Vaasa
			controls_state = 927 # Häme
			controls_state = 926 # Turku
			controls_state = 111 # Helsinki
			controls_state = 145 # Åland
			controls_state = 213 # Murmansk
			controls_state = 215 # Onega
			controls_state = 216 # Olonets
			controls_state = 1714
			controls_state = 1116
			controls_state = 1117
			controls_state = 1170
			controls_state = 1171
			controls_state = 1174
			controls_state = 1175
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 148 # Lappi
							state = 722 # Petsamo
							state = 147 # Salla
							state = 929 # Oulu
							state = 150 # Kuopio
							state = 146 # Karjala
							state = 928 # Kymi
							state = 930 ## Mikkeli
							state = 149 # Vaasa
							state = 927 # Häme
							state = 926 # Turku
							state = 111 # Helsinki
							state = 145 # Åland
							state = 213 # Murmansk
							state = 215 # Onega
							state = 216 # Olonets
							state = 1714
							state = 1116
							state = 1117
							state = 1170
							state = 1171
							state = 1174
							state = 1175
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_finnish_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_balkan_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 150

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 155 # North Transdanubia
				state = 974 # South Transdanubia
				state = 973 # Bacs-Bodrog
				state = 43 # Northern Hungary
				state = 154 # Alföld
				state = 80 # Bucovina
				state = 78 # Besarabia
				state = 766 # Southern Besarabia
				state = 79 # Moldova
				state = 76 # North Transylvania
				state = 83 # Crisana
				state = 84 # Transylvania
				state = 82 # Banat
				state = 81 # Oltenia
				state = 46 # Muntenia
				state = 971 # Northern Dobruja
				state = 77 # Dobruja
				state = 102 # North Slovenia
				state = 853 # Ljubljana
				state = 103 # Dalmatia
				state = 109 # Croatia
				state = 45 # Vojvodina
				state = 764 # West Banat
				state = 104 # Bosnia
				state = 804 # Herzegovina
				state = 105 # Montenegro
				state = 107 # Serbia
				state = 108 # Morava
				state = 802 # Kosovo
				state = 803 # Southern Serbia
				state = 970 # Debar
				state = 106 # Macedonia
				state = 934 # Schkoder
				state = 44 # Tirana
				state = 805 # Northern Epirus
				state = 48 # Sofia
				state = 801 # Moesia
				state = 211 # Burgas
				state = 212 # Plovdiv
				state = 1278
				state = 1235
				state = 1700
				state = 1703
				state = 1704
				state = 1705
				state = 1706
				state = 1707
				state = 1709
				state = 1710
				state = 1711
				state = 1712
				state = 1713
				state = 1715
				state = 1716
				state = 1717
				state = 1718
				state = 1719
				state = 1720
				state = 1721
				state = 1722
				state = 1312
				state = 1314
				state = 1325
				state = 1339
				state = 1260
				state = 1047
				state = 1048
				state = 1092
				state = 1267
				state = 1291
				state = 1295
				state = 1296
				state = 1298
				state = 1299
				state = 1300
				state = 1307
				state = 1309
				state = 1310
				state = 1384
				state = 1387
				state = 1388
				state = 1410
				state = 1411
				state = 1412
				state = 1477
				state = 1478
				state = 1479
				state = 1480
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_balkan_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 155 # North Transdanubia
			controls_state = 974 # South Transdanubia
			controls_state = 973 # Bacs-Bodrog
			controls_state = 43 # Northern Hungary
			controls_state = 154 # Alföld
			controls_state = 80 # Bucovina
			controls_state = 78 # Besarabia
			controls_state = 766 # Southern Besarabia
			controls_state = 79 # Moldova
			controls_state = 76 # North Transylvania
			controls_state = 83 # Crisana
			controls_state = 84 # Transylvania
			controls_state = 82 # Banat
			controls_state = 81 # Oltenia
			controls_state = 46 # Muntenia
			controls_state = 971 # Northern Dobruja
			controls_state = 77 # Dobruja
			controls_state = 102 # North Slovenia
			controls_state = 853 # Ljubljana
			controls_state = 103 # Dalmatia
			controls_state = 109 # Croatia
			controls_state = 45 # Vojvodina
			controls_state = 764 # West Banat
			controls_state = 104 # Bosnia
			controls_state = 804 # Herzegovina
			controls_state = 105 # Montenegro
			controls_state = 107 # Serbia
			controls_state = 108 # Morava
			controls_state = 802 # Kosovo
			controls_state = 803 # Southern Serbia
			controls_state = 970 # Debar
			controls_state = 106 # Macedonia
			controls_state = 934 # Schkoder
			controls_state = 44 # Tirana
			controls_state = 805 # Northern Epirus
			controls_state = 48 # Sofia
			controls_state = 801 # Moesia
			controls_state = 211 # Burgas
			controls_state = 212 # Plovdiv
			controls_state = 1278
			controls_state = 1235
			controls_state = 1700
			controls_state = 1703
			controls_state = 1704
			controls_state = 1705
			controls_state = 1706
			controls_state = 1707
			controls_state = 1709
			controls_state = 1710
			controls_state = 1711
			controls_state = 1712
			controls_state = 1713
			controls_state = 1715
			controls_state = 1716
			controls_state = 1717
			controls_state = 1718
			controls_state = 1719
			controls_state = 1720
			controls_state = 1721
			controls_state = 1722
			controls_state = 1312
			controls_state = 1314
			controls_state = 1325
			controls_state = 1339
			controls_state = 1260
			controls_state = 1047
			controls_state = 1048
			controls_state = 1092
			controls_state = 1267
			controls_state = 1291
			controls_state = 1295
			controls_state = 1296
			controls_state = 1298
			controls_state = 1299
			controls_state = 1300
			controls_state = 1307
			controls_state = 1309
			controls_state = 1310
			controls_state = 1384
			controls_state = 1387
			controls_state = 1388
			controls_state = 1410
			controls_state = 1411
			controls_state = 1412
			controls_state = 1477
			controls_state = 1478
			controls_state = 1479
			controls_state = 1480
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 155 # North Transdanubia
							state = 974 # South Transdanubia
							state = 973 # Bacs-Bodrog
							state = 43 # Northern Hungary
							state = 154 # Alföld
							state = 80 # Bucovina
							state = 78 # Besarabia
							state = 766 # Southern Besarabia
							state = 79 # Moldova
							state = 76 # North Transylvania
							state = 83 # Crisana
							state = 84 # Transylvania
							state = 82 # Banat
							state = 81 # Oltenia
							state = 46 # Muntenia
							state = 971 # Northern Dobruja
							state = 77 # Dobruja
							state = 102 # North Slovenia
							state = 853 # Ljubljana
							state = 103 # Dalmatia
							state = 109 # Croatia
							state = 45 # Vojvodina
							state = 764 # West Banat
							state = 104 # Bosnia
							state = 804 # Herzegovina
							state = 105 # Montenegro
							state = 107 # Serbia
							state = 108 # Morava
							state = 802 # Kosovo
							state = 803 # Southern Serbia
							state = 970 # Debar
							state = 106 # Macedonia
							state = 934 # Schkoder
							state = 44 # Tirana
							state = 805 # Northern Epirus
							state = 48 # Sofia
							state = 801 # Moesia
							state = 211 # Burgas
							state = 212 # Plovdiv
							state = 1278
							state = 1235
							state = 1700
							state = 1703
							state = 1704
							state = 1705
							state = 1706
							state = 1707
							state = 1709
							state = 1710
							state = 1711
							state = 1712
							state = 1713
							state = 1715
							state = 1716
							state = 1717
							state = 1718
							state = 1719
							state = 1720
							state = 1721
							state = 1722
							state = 1312
							state = 1314
							state = 1325
							state = 1339
							state = 1260
							state = 1047
							state = 1048
							state = 1092
							state = 1267
							state = 1291
							state = 1295
							state = 1296
							state = 1298
							state = 1299
							state = 1300
							state = 1307
							state = 1309
							state = 1310
							state = 1384
							state = 1387
							state = 1388
							state = 1410
							state = 1411
							state = 1412
							state = 1477
							state = 1478
							state = 1479
							state = 1480
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_balkan_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_aegean_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 185 # Epirus
				state = 186 # Pelopennese
				state = 47 # Attica
				state = 731 # Central Macedonia
				state = 1607
				state = 184 # Thrace
				state = 341 # Edirne
				state = 797 # Istanbul
				state = 187 # Aegean Islands
				state = 182 # Crete
				state = 164 # Dodecanese Islands
				state = 1319
				state = 1181
				state = 1266
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_aegean_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 185 # Epirus
			controls_state = 186 # Pelopennese
			controls_state = 47 # Attica
			controls_state = 731 # Central Macedonia
			controls_state = 1607
			controls_state = 184 # Thrace
			controls_state = 341 # Edirne
			controls_state = 797 # Istanbul
			controls_state = 187 # Aegean Islands
			controls_state = 182 # Crete
			controls_state = 164 # Dodecanese Islands
			controls_state = 1319
			controls_state = 1181
			controls_state = 1266
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 185 # Epirus
							state = 186 # Pelopennese
							state = 47 # Attica
							state = 731 # Central Macedonia
							state = 1607
							state = 184 # Thrace
							state = 341 # Edirne
							state = 797 # Istanbul
							state = 187 # Aegean Islands
							state = 182 # Crete
							state = 164 # Dodecanese Islands
							state = 1319
							state = 1181
							state = 1266
						}
					}
					add_core_of = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			# Cyprus
			183 = {
				add_core_of = ROOT
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_aegean_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_belarusian_and_ukrainian_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 207 # Vitebsk
				state = 206 # Minsk
				state = 204 # Bobrysk
				state = 194 # Mozyr
				state = 241 # Gomel
				state = 199 # Proskuriv
				state = 201 # Zhytomyr
				state = 198 # Vinnytsia
				state = 202 # Kyiv
				state = 193 # Chernihiv
				state = 203 # Cherkasy
				state = 834 # Balta-Tiraspol
				state = 192 # Odessa
				state = 197 # Mykholaiv
				state = 1606
				state = 259 # Poltava
				state = 225 # Sumy
				state = 226 # Dnipropetrovsk
				state = 1612
				state = 196 # Kharkiv
				state = 200 # Zaporizhia
				state = 221 # Kharkiv
				state = 227 # Donetsk
				state = 228 # Luhansk
				state = 137 # Crimea
				state = 1536
				state = 1537
				state = 1500
				state = 1064
				state = 1084
				state = 1085
				state = 1086
				state = 1087
				state = 1088
				state = 1089
				state = 1090
				state = 1091
				state = 1094
				state = 1611
				state = 1099
				state = 1100
				state = 1101
				state = 1102
				state = 1103
				state = 1262
				state = 1263
				state = 1264
				state = 1265
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_ukrainian_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 207 # Vitebsk
			controls_state = 206 # Minsk
			controls_state = 204 # Bobrysk
			controls_state = 194 # Mozyr
			controls_state = 241 # Gomel
			controls_state = 199 # Proskuriv
			controls_state = 201 # Zhytomyr
			controls_state = 198 # Vinnytsia
			controls_state = 202 # Kyiv
			controls_state = 193 # Chernihiv
			controls_state = 203 # Cherkasy
			controls_state = 834 # Balta-Tiraspol
			controls_state = 192 # Odessa
			controls_state = 197 # Mykholaiv
			controls_state = 1606
			controls_state = 259 # Poltava
			controls_state = 225 # Sumy
			controls_state = 226 # Dnipropetrovsk
			controls_state = 1612
			controls_state = 196 # Kharkiv
			controls_state = 200 # Zaporizhia
			controls_state = 221 # Kharkiv
			controls_state = 227 # Donetsk
			controls_state = 228 # Luhansk
			controls_state = 137 # Crimea
			controls_state = 1536
			controls_state = 1537
			controls_state = 1500
			controls_state = 1064
			controls_state = 1084
			controls_state = 1085
			controls_state = 1086
			controls_state = 1087
			controls_state = 1088
			controls_state = 1089
			controls_state = 1090
			controls_state = 1091
			controls_state = 1094
			controls_state = 1611
			controls_state = 1099
			controls_state = 1100
			controls_state = 1101
			controls_state = 1102
			controls_state = 1103
			controls_state = 1262
			controls_state = 1263
			controls_state = 1264
			controls_state = 1265
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 207 # Vitebsk
							state = 206 # Minsk
							state = 204 # Bobrysk
							state = 194 # Mozyr
							state = 241 # Gomel
							state = 199 # Proskuriv
							state = 201 # Zhytomyr
							state = 198 # Vinnytsia
							state = 202 # Kyiv
							state = 193 # Chernihiv
							state = 203 # Cherkasy
							state = 834 # Balta-Tiraspol
							state = 192 # Odessa
							state = 197 # Mykholaiv
							state = 1606
							state = 259 # Poltava
							state = 225 # Sumy
							state = 226 # Dnipropetrovsk
							state = 1612
							state = 196 # Kharkiv
							state = 200 # Zaporizhia
							state = 221 # Kharkiv
							state = 227 # Donetsk
							state = 228 # Luhansk
							state = 137 # Crimea
							state = 1536
							state = 1537
							state = 1500
							state = 1064
							state = 1084
							state = 1085
							state = 1086
							state = 1087
							state = 1088
							state = 1089
							state = 1090
							state = 1091
							state = 1094
							state = 1611
							state = 1099
							state = 1100
							state = 1101
							state = 1102
							state = 1103
							state = 1262
							state = 1263
							state = 1264
							state = 1265
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_ukrainian_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_caucasian_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 233 # Sochi
				state = 827 # Kabardino-Balkaria
				state = 828 # North Ossetia
				state = 821 # Chechnya
				state = 232 # Dagestan
				state = 826 # Abkhazia
				state = 231 # Georgia
				state = 230 # Armenia
				state = 229 # Azerbaijan
				state = 1057
				state = 1118
				state = 1119
				state = 1120
				state = 1121
				state = 1122
				state = 1123
				state = 1124
				state = 1125
				state = 1126
				state = 1127
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_caucasian_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 233 # Sochi
			controls_state = 827 # Kabardino-Balkaria
			controls_state = 828 # North Ossetia
			controls_state = 821 # Chechnya
			controls_state = 232 # Dagestan
			controls_state = 826 # Abkhazia
			controls_state = 231 # Georgia
			controls_state = 230 # Armenia
			controls_state = 229 # Azerbaijan
			controls_state = 1057
			controls_state = 1118
			controls_state = 1119
			controls_state = 1120
			controls_state = 1121
			controls_state = 1122
			controls_state = 1123
			controls_state = 1124
			controls_state = 1125
			controls_state = 1126
			controls_state = 1127
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 233 # Sochi
							state = 827 # Kabardino-Balkaria
							state = 828 # North Ossetia
							state = 821 # Chechnya
							state = 232 # Dagestan
							state = 826 # Abkhazia
							state = 231 # Georgia
							state = 230 # Armenia
							state = 229 # Azerbaijan
							state = 1057
							state = 1118
							state = 1119
							state = 1120
							state = 1121
							state = 1122
							state = 1123
							state = 1124
							state = 1125
							state = 1126
							state = 1127
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_caucasian_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_kuban_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 235 # Stavropol
				state = 234 # Krasnodar
				state = 218 # Rostov
				state = 238 # Volgodonsk
				state = 245 # Millerovo
				state = 237 # Kalmykia
				state = 217 # Stalingrad
				state = 236 # Astrakhan
				state = 265 # Mikhaylovka
				state = 239 # Saratov
				state = 829 # Volga Germany
				state = 401 # Balakovo
				state = 407 # Uralsk
				state = 1526
				state = 406 # Guryev
				state = 1527
				state = 1077
				state = 1078
				state = 1079
				state = 1095
				state = 1096
				state = 1097
				state = 1098
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_kuban_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 235 # Stavropol
			controls_state = 234 # Krasnodar
			controls_state = 218 # Rostov
			controls_state = 238 # Volgodonsk
			controls_state = 245 # Millerovo
			controls_state = 237 # Kalmykia
			controls_state = 217 # Stalingrad
			controls_state = 236 # Astrakhan
			controls_state = 265 # Mikhaylovka
			controls_state = 239 # Saratov
			controls_state = 829 # Volga Germany
			controls_state = 401 # Balakovo
			controls_state = 407 # Uralsk
			controls_state = 1526
			controls_state = 406 # Guryev
			controls_state = 1527
			controls_state = 1077
			controls_state = 1078
			controls_state = 1079
			controls_state = 1095
			controls_state = 1096
			controls_state = 1097
			controls_state = 1098
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 235 # Stavropol
							state = 234 # Krasnodar
							state = 218 # Rostov
							state = 238 # Volgodonsk
							state = 245 # Millerovo
							state = 237 # Kalmykia
							state = 217 # Stalingrad
							state = 236 # Astrakhan
							state = 265 # Mikhaylovka
							state = 239 # Saratov
							state = 829 # Volga Germany
							state = 401 # Balakovo
							state = 407 # Uralsk
							state = 1526
							state = 406 # Guryev
							state = 1527
							state = 1077
							state = 1078
							state = 1079
							state = 1095
							state = 1096
							state = 1097
							state = 1098
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_kuban_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

	EU_russian_expansion_decision = {

		icon = GFX_decision_generic_nationalism

		cost = 150

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 195 # Leningrad
				state = 208 # Luga
				state = 244 # Volkhov
				state = 263 # Novgorod
				state = 209 # Pskov
				state = 210 # Nevel
				state = 246 # Rhzev
				state = 264 # Tikhvin
				state = 247 # Kalinin
				state = 248 # Yaroslavl
				state = 351 # Vologda
				state = 879 # Kargopol
				state = 880 # Kotlas
				state = 214 # Arkhangelsk
				state = 825 # Nenetsi
				state = 262 # Pechora
				state = 397 # Syktyvkar
				state = 400 # Kirov
				state = 581 # Northern Urals
				state = 398 # Perm
				state = 1523
				state = 242 # Smolensk
				state = 243 # Roslavl
				state = 224 # Bryansk
				state = 222 # Orel
				state = 220 # Kursk
				state = 240 # Belgorod
				state = 260 # Voronezh
				state = 258 # Lipetsk
				state = 257 # Tambov
				state = 205 # Kaluga
				state = 223 # Tula
				state = 254 # Ryazan
				state = 219 # Moscow
				state = 253 # Ivanovo
				state = 255 # Penza
				state = 252 # Gorky
				state = 250 # Ulyanosky
				state = 251 # Kuybyshev
				state = 652 # Orenburg
				state = 1525
				state = 651 # Ufa
				state = 399 # Udmurtia
				state = 249 # kazan
				state = 833 # Mari El
				state = 256 # Chuvashia
				state = 573 # Zlatoust
				state = 1065
				state = 1073
				state = 1074
				state = 1075
				state = 1076
				state = 1080
				state = 1081
				state = 1082
				state = 1083
				state = 1104
				state = 1105
				state = 1106
				state = 1107
				state = 1108
				state = 1109
				state = 1110
				state = 1111
				state = 1112
				state = 1113
				state = 1114
				state = 1115
				state = 1289
				state = 1290
			}
		}

		allowed = {
			OR = {
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = FRA
				original_tag = ITA
				original_tag = GER
				original_tag = WGR
				original_tag = ENG
				AND = {
					OR = {
						original_tag = AUS
						original_tag = HUN
					}
					has_dlc = "Gotterdammerung"
				}
			}
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Man the Guns"
			}
		}

		visible = { 
			NOT = { has_global_flag = EU_integrated_russian_states_flag }
			has_global_flag = form_european_union_flag
		}

		available = {
			controls_state = 195 # Leningrad
			controls_state = 208 # Luga
			controls_state = 244 # Volkhov
			controls_state = 263 # Novgorod
			controls_state = 209 # Pskov
			controls_state = 210 # Nevel
			controls_state = 246 # Rhzev
			controls_state = 264 # Tikhvin
			controls_state = 247 # Kalinin
			controls_state = 248 # Yaroslavl
			controls_state = 351 # Vologda
			controls_state = 879 # Kargopol
			controls_state = 880 # Kotlas
			controls_state = 214 # Arkhangelsk
			controls_state = 825 # Nenetsi
			controls_state = 262 # Pechora
			controls_state = 397 # Syktyvkar
			controls_state = 400 # Kirov
			controls_state = 581 # Northern Urals
			controls_state = 398 # Perm
			controls_state = 1523
			controls_state = 242 # Smolensk
			controls_state = 243 # Roslavl
			controls_state = 224 # Bryansk
			controls_state = 222 # Orel
			controls_state = 220 # Kursk
			controls_state = 240 # Belgorod
			controls_state = 260 # Voronezh
			controls_state = 258 # Lipetsk
			controls_state = 257 # Tambov
			controls_state = 205 # Kaluga
			controls_state = 223 # Tula
			controls_state = 254 # Ryazan
			controls_state = 219 # Moscow
			controls_state = 253 # Ivanovo
			controls_state = 255 # Penza
			controls_state = 252 # Gorky
			controls_state = 250 # Ulyanosky
			controls_state = 251 # Kuybyshev
			controls_state = 652 # Orenburg
			controls_state = 1525
			controls_state = 651 # Ufa
			controls_state = 399 # Udmurtia
			controls_state = 249 # kazan
			controls_state = 833 # Mari El
			controls_state = 256 # Chuvashia
			controls_state = 573 # Zlatoust
			controls_state = 1065
			controls_state = 1073
			controls_state = 1074
			controls_state = 1075
			controls_state = 1076
			controls_state = 1080
			controls_state = 1081
			controls_state = 1082
			controls_state = 1083
			controls_state = 1104
			controls_state = 1105
			controls_state = 1106
			controls_state = 1107
			controls_state = 1108
			controls_state = 1109
			controls_state = 1110
			controls_state = 1111
			controls_state = 1112
			controls_state = 1113
			controls_state = 1114
			controls_state = 1115
			controls_state = 1289
			controls_state = 1290
		}

		days_remove = 70

		remove_effect = {

			custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							state = 195 # Leningrad
							state = 208 # Luga
							state = 244 # Volkhov
							state = 263 # Novgorod
							state = 209 # Pskov
							state = 210 # Nevel
							state = 246 # Rhzev
							state = 264 # Tikhvin
							state = 247 # Kalinin
							state = 248 # Yaroslavl
							state = 351 # Vologda
							state = 879 # Kargopol
							state = 880 # Kotlas
							state = 214 # Arkhangelsk
							state = 825 # Nenetsi
							state = 262 # Pechora
							state = 397 # Syktyvkar
							state = 400 # Kirov
							state = 581 # Northern Urals
							state = 398 # Perm
							state = 1523
							state = 242 # Smolensk
							state = 243 # Roslavl
							state = 224 # Bryansk
							state = 222 # Orel
							state = 220 # Kursk
							state = 240 # Belgorod
							state = 260 # Voronezh
							state = 258 # Lipetsk
							state = 257 # Tambov
							state = 205 # Kaluga
							state = 223 # Tula
							state = 254 # Ryazan
							state = 219 # Moscow
							state = 253 # Ivanovo
							state = 255 # Penza
							state = 252 # Gorky
							state = 250 # Ulyanosky
							state = 251 # Kuybyshev
							state = 652 # Orenburg
							state = 1525
							state = 651 # Ufa
							state = 399 # Udmurtia
							state = 249 # kazan
							state = 833 # Mari El
							state = 256 # Chuvashia
							state = 573 # Zlatoust
							state = 1065
							state = 1073
							state = 1074
							state = 1075
							state = 1076
							state = 1080
							state = 1081
							state = 1082
							state = 1083
							state = 1104
							state = 1105
							state = 1106
							state = 1107
							state = 1108
							state = 1109
							state = 1110
							state = 1111
							state = 1112
							state = 1113
							state = 1114
							state = 1115
							state = 1289
							state = 1290
						}
					}
					add_core_of = ROOT
				}
			}
			 
			hidden_effect = { 
				set_global_flag = EU_integrated_russian_states_flag
			}

		}

		ai_will_do = {
			base = 200
		}
	}

}

form_mutapa_category = {

	form_mutapa = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = SAF
				original_tag = BOT
				original_tag = ZIM
				original_tag = MZB
				original_tag = BAR
				original_tag = ZAM
			}
			has_dlc = "Waking the Tiger"
		}

		visible = {
			OR = {
				original_tag = SAF
				original_tag = BOT
				original_tag = ZIM
				original_tag = MZB
				original_tag = BAR
				original_tag = ZAM
			}
			NOT = { has_global_flag = form_mutapa_flag }
		}

		available = {
			#is_subject = no
			controls_state = 541
			controls_state = 893
			controls_state = 894
			controls_state = 895
			controls_state = 681
			controls_state = 719
			controls_state = 275
			controls_state = 542
			controls_state = 545
			controls_state = 544
			controls_state = 896
			controls_state = 897
			controls_state = 771
			controls_state = 981
		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 541
				state = 893
				state = 894
				state = 895
				state = 681
				state = 719
				state = 275
				state = 542
				state = 545
				state = 544
				state = 896
				state = 897
				state = 771
				state = 981
			}
		}

		complete_effect = {
			set_cosmetic_tag = MUT_UNIFIED
			541 = { add_core_of = ROOT }
			681 = { add_core_of = ROOT }
			719 = { add_core_of = ROOT }
			275 = { add_core_of = ROOT }
			542 = { add_core_of = ROOT }
			545 = { add_core_of = ROOT }
			544 = { add_core_of = ROOT }
			896 = { add_core_of = ROOT }
			897 = { add_core_of = ROOT }
			893 = { add_core_of = ROOT }
			894 = { add_core_of = ROOT }
			895 = { add_core_of = ROOT }
			771 = { add_core_of = ROOT }
			981 = { add_core_of = ROOT }
			hidden_effect = {
				news_event = { id = wtt_news.63 hours = 6 }
				set_global_flag = form_mutapa_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}

form_roman_empire_category = {

	form_roman_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = form_country_albania_required_states_tt
				# Albania
				controls_state = 44
				controls_state = 934
				controls_state = 805
			}
			# Yugoslavia
			custom_trigger_tooltip = {
				tooltip = form_country_mare_nostrum_required_states_tt
				controls_state = 163
				controls_state = 853
				controls_state = 103
				controls_state = 1296
				controls_state = 104
				controls_state = 804
				controls_state = 105
				controls_state = 1712
				controls_state = 1713
				controls_state = 1716
				controls_state = 1717
				controls_state = 1718
				controls_state = 1388
				controls_state = 1314
				controls_state = 1325
				controls_state = 1339
				controls_state = 1260
				controls_state = 1047
			}
			# Greece
			custom_trigger_tooltip = {
				tooltip = form_country_mare_nostrum_greece_required_states_tt
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 47
				controls_state = 186
				controls_state = 184
				controls_state = 187
				controls_state = 182
				controls_state = 164 #DODECANESE initially controlled by Italy
				controls_state = 1319
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_mare_nostrum_turkey_required_states_tt
				controls_state = 341
				controls_state = 797
				controls_state = 1223
				controls_state = 340
				controls_state = 339
				controls_state = 342
				controls_state = 345
				controls_state = 344
				controls_state = 1266
				if = { # HATAY will most likely be handed over from FRA to TUR, this hopefully prevents some confusion
					limit = {
						799 = {
							is_controlled_by = TUR
						}
					}
					controls_state = 799
				}
			}
			# Italy
			custom_trigger_tooltip = {
				tooltip = form_spqr_italy_required_states_tt
				controls_state = 158
				controls_state = 1308
				controls_state = 162
				controls_state = 114
				controls_state = 2
				controls_state = 1404
				controls_state = 1405
				controls_state = 117
				controls_state = 156
				controls_state = 115
				controls_state = 849
				controls_state = 157
				controls_state = 1406
				controls_state = 1407
				controls_state = 161
				controls_state = 1408
				controls_state = 1409
				controls_state = 160
				controls_state = 1168
				controls_state = 736
				controls_state = 852
				controls_state = 1169
				controls_state = 39
				controls_state = 850
				controls_state = 849
				controls_state = 852
				controls_state = 159
			}
			# Spain
			custom_trigger_tooltip = {
				tooltip = form_spqr_coastal_spain_required_states_tt
				controls_state = 165
				controls_state = 177
				controls_state = 167
				controls_state = 168
				controls_state = 173
			}
			# France
			custom_trigger_tooltip = {
				tooltip = form_spqr_coastal_france_required_states_tt
				controls_state = 1
				controls_state = 735
				controls_state = 1301
				controls_state = 1305
				controls_state = 851
				controls_state = 21
				controls_state = 22
				controls_state = 31
				controls_state = 1381
			}
			# British Mediterranean
			custom_trigger_tooltip = {
				tooltip = form_mare_nostrum_coastal_uk_required_states_tt
				controls_state = 118
				controls_state = 116
				controls_state = 183
			}
			# North Africa (Morocco to Libya)
			custom_trigger_tooltip = {
				tooltip = form_country_mare_nostrum_north_africa_required_states_tt
				#Morocco
				controls_state = 290
				controls_state = 461
				#Algeria
				controls_state = 459
				controls_state = 460
				#Tunisia
				controls_state = 458
				controls_state = 665
				#Libya
				controls_state = 448
				controls_state = 449
				controls_state = 450
				controls_state = 451
				controls_state = 661
				controls_state = 662
				controls_state = 663
			}
			# Middle East (Egypt to Syria)
			custom_trigger_tooltip = {
				tooltip = form_country_mare_nostrum_middle_east_required_states_tt
				#Egypt
				controls_state = 452
				controls_state = 447
				controls_state = 907
				controls_state = 446
				controls_state = 453
				#Palestine
				controls_state = 454
				controls_state = 1133
				controls_state = 1134
				controls_state = 1135
				controls_state = 1137
				controls_state = 1138
				controls_state = 1139
				controls_state = 1140
				#Lebanon
				controls_state = 553
				#Syria
				controls_state = 677
				if = { # HATAY will most likely be handed over from FRA to TUR, this hopefully prevents some confusion
					limit = {
						799 = {
							NOT = { is_controlled_by = TUR }
						}
					}
					controls_state = 799
				}
			}
		}

		visible = {
			original_tag = ITA
			NOT = { has_global_flag = form_roman_empire_flag }
			ITA = {
				OR = {
					has_completed_focus = ITA_mare_nostrum_bba
					has_completed_focus = ITA_the_catholic_dominion
				}
			}
		}

		complete_effect = {
			set_cosmetic_tag = SPQR_UNIFIED
			custom_effect_tooltip = form_spqr_core_mare_nostrum_states_tt
 			hidden_effect = {

 				1 = { add_core_of = ROOT }
 				735 = { add_core_of = ROOT }
 				1301 = { add_core_of = ROOT }
 				1305 = { add_core_of = ROOT }
 				851 = { add_core_of = ROOT }
 				21 = { add_core_of = ROOT }
 				22 = { add_core_of = ROOT }
 				31 = { add_core_of = ROOT }
 				1381 = { add_core_of = ROOT }
 				165 = { add_core_of = ROOT }
 				177 = { add_core_of = ROOT }
 				167 = { add_core_of = ROOT }
 				168 = { add_core_of = ROOT }
 				173 = { add_core_of = ROOT }
 				118 = { add_core_of = ROOT }
 				290 = { add_core_of = ROOT }
 				461 = { add_core_of = ROOT }
 				459 = { add_core_of = ROOT }
 				460 = { add_core_of = ROOT }
 				116 = { add_core_of = ROOT }
 				458 = { add_core_of = ROOT }
 				665 = { add_core_of = ROOT }
 				448 = { add_core_of = ROOT }
 				661 = { add_core_of = ROOT }
 				273 = { add_core_of = ROOT }
 				662 = { add_core_of = ROOT }
 				449 = { add_core_of = ROOT }
 				450 = { add_core_of = ROOT }
 				663 = { add_core_of = ROOT }
 				451 = { add_core_of = ROOT }
 				452 = { add_core_of = ROOT }
 				447 = { add_core_of = ROOT }
 				907 = { add_core_of = ROOT }
 				446 = { add_core_of = ROOT }
 				453 = { add_core_of = ROOT }
 				454 = { add_core_of = ROOT }
 				553 = { add_core_of = ROOT }
 				183 = { add_core_of = ROOT }
 				677 = { add_core_of = ROOT }
 				799 = { add_core_of = ROOT }
 				344 = { add_core_of = ROOT }
 				345 = { add_core_of = ROOT }
 				342 = { add_core_of = ROOT }
 				164 = { add_core_of = ROOT }
 				182 = { add_core_of = ROOT }
 				339 = { add_core_of = ROOT }
 				187 = { add_core_of = ROOT }
 				340 = { add_core_of = ROOT }
 				797 = { add_core_of = ROOT }
 				1223 = { add_core_of = ROOT }
 				341 = { add_core_of = ROOT }
 				184 = { add_core_of = ROOT }
 				731 = { add_core_of = ROOT }
 				1607 = { add_core_of = ROOT }
 				47 = { add_core_of = ROOT }
 				186 = { add_core_of = ROOT }
 				185 = { add_core_of = ROOT }
 				805 = { add_core_of = ROOT }
 				44 = { add_core_of = ROOT }
 				934 = { add_core_of = ROOT }
 				105 = { add_core_of = ROOT }
 				103 = { add_core_of = ROOT }
 				1296 = { add_core_of = ROOT }
 				163 = { add_core_of = ROOT }
 				804 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
 				853 = { add_core_of = ROOT }
				1712 = { add_core_of = ROOT }
				1713 = { add_core_of = ROOT }
				1716 = { add_core_of = ROOT }
				1717 = { add_core_of = ROOT }
				1718 = { add_core_of = ROOT }
				1388 = { add_core_of = ROOT }
				1314 = { add_core_of = ROOT }
				1325 = { add_core_of = ROOT }
				1339 = { add_core_of = ROOT }
				1260 = { add_core_of = ROOT }
				1047 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
				1266 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
				1129 = { add_core_of = ROOT }
				1130 = { add_core_of = ROOT }
				1131 = { add_core_of = ROOT }
 			}
			
			
			hidden_effect = {
				news_event = { id = wtt_news.64 hours = 6 }
				set_global_flag = form_roman_empire_flag
				if = {
					limit = {
						has_country_leader = { ruling_only = yes character = ITA_benito_mussolini }
					}
					ITA_benito_mussolini = {
						set_character_name = {
							name = ITA_benito_mussolini_roman_emperor
						}
						set_portraits = {
							civilian = { large = GFX_portrait_italy_emperor_mussolini }
						}
					}
				}
				#else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits
				#	limit = {
				#		has_country_leader = { ruling_only = yes character = ITA_italo_balbo }
				#	}
				#	ITA_italo_balbo = {
				#		set_character_name = {
				#			name = ITA_italo_balbo_roman_emperor
				#		}
				#	}
				#}
				#else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits
				#	limit = {
				#		has_country_leader = { ruling_only = yes character = ITA_dino_grandi }
				#	}
				#	ITA_dino_grandi = {
				#		set_character_name = {
				#			name = ITA_dino_grandi_roman_emperor
				#		}
				#	}
				#}
				else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits
					limit = {
						has_country_leader = { ruling_only = yes character = ITA_vittorio_emanuele_iii }
					}
					ITA_vittorio_emanuele_iii = {
						set_character_name = {
							name = ITA_vittorio_emanuele_iii_roman_emperor
						}
						set_portraits = {
							civilian = { large = GFX_portrait_ITA_emperor_vittorio_emanuele_III }
						}
					}
				}
				else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits
					limit = {
						has_country_leader = { ruling_only = yes character = ITA_prince_umberto }
					}
					ITA_prince_umberto = {
						set_character_name = {
							name = ITA_prince_umberto_roman_emperor
						}

						set_portraits = {
							civilian = { large = GFX_portrait_ITA_emperor_umberto }
						}
					}
				}
				if = {
					limit = {
						has_government = fascism
					}
					ITA_remove_king_vittorio_emanuele_as_idea = yes
				}
			}

			add_stability = 0.1

		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}


	reintigrate_hispania = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 794 #Eastern Aragon
			controls_state = 1486
			controls_state = 166 #Western Aragon
			controls_state = 1485
			controls_state = 172 #Navarra
			controls_state = 792 #Pais Vasco
			controls_state = 790 #Asturias
			controls_state = 171 #Galicia
			controls_state = 174 #Leon
			controls_state = 791 #Valladolid
			controls_state = 176 #Burgos
			controls_state = 793 #Guadalajara
			controls_state = 788 #Salamanca
			controls_state = 41 #Madrid
			controls_state = 175 #Ciudad Real
			controls_state = 170 #Extramadura
			controls_state = 789 #Cordoba
			controls_state = 169 #Sevilla
			controls_state = 179 #Beja
			controls_state = 795 #Santarem
			controls_state = 112 #Lisbon
			controls_state = 181 #Guarda
			controls_state = 180 #Porto

		}

		visible = {
			original_tag = ITA
			NOT = { has_global_flag = reclaim_hispania_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {

			# Eastern Aragon
			794 = { add_core_of = ROOT }
			
			1486 = { add_core_of = ROOT }

			# Western Aragon
			166 = { add_core_of = ROOT }
			
			1485 = { add_core_of = ROOT }

			# Navarra
			172 = { add_core_of = ROOT }

			# Pais Vasco
			792 = { add_core_of = ROOT }

			# Asturias
			790 = { add_core_of = ROOT }

			# Galicia
			171 = { add_core_of = ROOT }

			# Leon
			174 = { add_core_of = ROOT }

			# Valladolid
			791 = { add_core_of = ROOT }

			# Burgos
			176 = { add_core_of = ROOT }

			# Guadalajara
			793 = { add_core_of = ROOT }

			# Salamanca
			788 = { add_core_of = ROOT }

			# Madrid
			41 = { add_core_of = ROOT }

			# Ciudad Real
			175 = { add_core_of = ROOT }

			# Extramadura
			170 = { add_core_of = ROOT }

			# Cordoba
			789 = { add_core_of = ROOT }

			# Sevilla
			169 = { add_core_of = ROOT }

			# Beja
			179 = { add_core_of = ROOT }

			# Santarem
			795 = { add_core_of = ROOT }

			# Lisbon
			112 = { add_core_of = ROOT }

			# Guarda
			181 = { add_core_of = ROOT }

			# Porto
			180 = { add_core_of = ROOT }
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = reclaim_hispania_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}


	reintigrate_dacia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 76 #North Transylvania
			controls_state = 1309
			controls_state = 1310
			controls_state = 84 #Transylvania
			controls_state = 1387
			controls_state = 83 #Crisana
			controls_state = 1480
			controls_state = 81 #Oltenia
			controls_state = 82 #Banat
			controls_state = 1479
			controls_state = 764 #West Banat
			controls_state = 1478
			controls_state = 1722
			controls_state = 1559
			controls_state = 1295
			controls_state = 1312

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = reclaim_dacia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {

			# North Transylvania
			76 = { add_core_of = ROOT }
			
			1309 = { add_core_of = ROOT }
			
			1310 = { add_core_of = ROOT }

			# Transylvania
			84 = { add_core_of = ROOT }
			
			1387 = { add_core_of = ROOT }

			# Crisana
			83 = { add_core_of = ROOT }
			1480 = { add_core_of = ROOT }

			# Oltenia
			81 = { add_core_of = ROOT }

			# Banat
			82 = { add_core_of = ROOT }
			1479 = { add_core_of = ROOT }

			# West Banat
			764 = { add_core_of = ROOT }
			1478 = { add_core_of = ROOT }
			
			1722 = { add_core_of = ROOT }
			1559 = { add_core_of = ROOT }
			1295 = { add_core_of = ROOT }
			1312 = { add_core_of = ROOT }

			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = reclaim_dacia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}


	reintigrate_moesia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 766 #Southern Bessarabia

			controls_state = 46 #Muntenia

			controls_state = 77 #Dobrudja

			controls_state = 211 #Burgas

			controls_state = 801 #Moesia

			controls_state = 212 #Plovdiv

			controls_state = 48 #Sofia

			controls_state = 803 #Southern Serbia
			
			controls_state = 1411
			
			controls_state = 1299
			
			controls_state = 1300

			controls_state = 106 #Macedonia
			
			controls_state = 1412
			
			controls_state = 1307
			
			controls_state = 1298
 
			controls_state = 802 #Kosovo

			controls_state = 108 #Morava

			controls_state = 107 #Serbia
			
			controls_state = 1719
			controls_state = 1720
			controls_state = 1559
			controls_state = 1295
			controls_state = 1312
			controls_state = 970
			controls_state = 1709
			controls_state = 1721
			controls_state = 1715
			controls_state = 1710
			controls_state = 1048
			

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = reclaim_moesia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {

			# Southern Bessarabia
			766 = { add_core_of = ROOT }

			# Muntenia
			46 = { add_core_of = ROOT }

			# Dobrudja
			77 = { add_core_of = ROOT }

			# Burgas
			211 = { add_core_of = ROOT }

			# Moesia
			801 = { add_core_of = ROOT }

			# Plovdiv
			212 = { add_core_of = ROOT }

			# Sofia
			48 = { add_core_of = ROOT }

			# Southern Serbia
			803 = { add_core_of = ROOT }
			
			1411 = { add_core_of = ROOT }
			
			1299 = { add_core_of = ROOT }
			
			1300 = { add_core_of = ROOT }

			# Macedonia
			106 = { add_core_of = ROOT }
			
			1412 = { add_core_of = ROOT }
			
			1307 = { add_core_of = ROOT }
			
			1298 = { add_core_of = ROOT }

			# Kosovo
			802 = { add_core_of = ROOT }

			# Morava
			108 = { add_core_of = ROOT }

			# Serbia
			107 = { add_core_of = ROOT }
			
			1719 = { add_core_of = ROOT }
			1720 = { add_core_of = ROOT }
			1559 = { add_core_of = ROOT }
			1295 = { add_core_of = ROOT }
			1312 = { add_core_of = ROOT }
			970 = { add_core_of = ROOT }
			1709 = { add_core_of = ROOT }
			1721 = { add_core_of = ROOT }
			1715 = { add_core_of = ROOT }
			1710 = { add_core_of = ROOT }
			1048 = { add_core_of = ROOT }



			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = reclaim_moesia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	reintigrate_aegyptus = {

		icon = GFX_decision_generic_nationalism

		cost = 75

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 552 #Western Desert
			controls_state = 456 #Aswan
			controls_state = 457 #Eastern Desert

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = reclaim_aegyptus_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {

			# Western Desert
			552 = { add_core_of = ROOT }

			# Aswan
			456 = { add_core_of = ROOT }

			# Eastern Desert
			457 = { add_core_of = ROOT }

			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = reclaim_aegyptus_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_mesopotamia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 656 #Kuwait
			controls_state = 291 #Baghdad
			controls_state = 675 #Al Hajara
			controls_state = 676 #Mosul
			controls_state = 1010
			controls_state = 1011
			controls_state = 680 #Deir-az-Zur
			controls_state = 1330 #Al Hasakah
			controls_state = 350 #Diyarbakir
			controls_state = 1276
			controls_state = 1277
			controls_state = 1011
			controls_state = 1279
			controls_state = 1280
			controls_state = 1281
			controls_state = 1282
			controls_state = 1283
			controls_state = 1284
			controls_state = 1285
		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = restore_mesopotamia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {
 

			# Kuwait
			656 = { add_core_of = ROOT }

			# Baghdad
			291 = { add_core_of = ROOT }

			# Al Hajara
			675 = { add_core_of = ROOT }

			# Mosul
			676 = { add_core_of = ROOT }
			
			1010 = { add_core_of = ROOT }
			
			1011 = { add_core_of = ROOT }

			# Deir-az-Zur
			680 = { add_core_of = ROOT }
			
			# Al Hasakah
			1330 = { add_core_of = ROOT }

			# Diyarbakir
			350 = { add_core_of = ROOT }
			
			1276 = { add_core_of = ROOT }
			1277 = { add_core_of = ROOT }
			1011 = { add_core_of = ROOT }
			1279 = { add_core_of = ROOT }
			1280 = { add_core_of = ROOT }
			1281 = { add_core_of = ROOT }
			1282 = { add_core_of = ROOT }
			1283 = { add_core_of = ROOT }
			1284 = { add_core_of = ROOT }
			1285 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = restore_mesopotamia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	reconquer_galatia_et_cappadocia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 347 #Izmit
			controls_state = 49 #Ankara
			controls_state = 343 #Afyon
			controls_state = 346 #Konya
			controls_state = 356 #Kastamonu
			controls_state = 798 #Amasya
			controls_state = 348 #Kayseri
			controls_state = 349 #Sivas
			controls_state = 355 #Samsun
			controls_state = 354 #Trabzon
			controls_state = 1286
			

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = reconquer_cappadocia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = {
 

			# Izmit
			347 = { add_core_of = ROOT }

			# Ankara
			49 = { add_core_of = ROOT }

			# Afyon
			343 = { add_core_of = ROOT }

			# Konya
			346 = { add_core_of = ROOT }

			# Kastamonu
			356 = { add_core_of = ROOT }

			# Amasya
			798 = { add_core_of = ROOT }

			# Kayseri
			348 = { add_core_of = ROOT }

			# Sivas
			349 = { add_core_of = ROOT } 

			# Samsun
			355 = { add_core_of = ROOT }

			# Trabzon
			354 = { add_core_of = ROOT }
			
			1286 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = reconquer_cappadocia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	integrate_armenian_lands = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 230 #Armenia
			controls_state = 800 #Van
			controls_state = 1287
			controls_state = 353 #Tunceli
			controls_state = 352 #Hakkari
			controls_state = 1127
			

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_armenia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Armenia
			230 = { add_core_of = ROOT }

			# Van
			800 = { add_core_of = ROOT }
			1287 = { add_core_of = ROOT }

			# Tunceli
			353 = { add_core_of = ROOT }

			# Hakkari
			352 = { add_core_of = ROOT }
			
			1127 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_armenia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_order_in_arabia_petra = {

		icon = GFX_decision_generic_nationalism

		cost = 75

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 554 #Damascus
			controls_state = 455 #Jordan
			controls_state = 854 #Jawf
			controls_state = 855 #Tabuk
			controls_state = 1049
			controls_state = 1050
			controls_state = 1051
			controls_state = 1052
			controls_state = 1053
			controls_state = 1054
			

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_petra_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Damascus
			554 = { add_core_of = ROOT }

			# Jordan
			455 = { add_core_of = ROOT }

			# Jawf
			854 = { add_core_of = ROOT }

			# Tabuk
			855 = { add_core_of = ROOT }
			
			1049 = { add_core_of = ROOT }
			1050 = { add_core_of = ROOT }
			1051 = { add_core_of = ROOT }
			1052 = { add_core_of = ROOT }
			1053 = { add_core_of = ROOT }
			1054 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_petra_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_order_in_mauretania = {

		icon = GFX_decision_generic_nationalism

		cost = 75

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 513 #Tlemcen
			controls_state = 514 #Algerian Desert
			controls_state = 462 #Marrakech
			controls_state = 783 #Sidi Ifni

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_mauretania_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Tlemcen
			513 = { add_core_of = ROOT }

			# Algerian Desert
			514 = { add_core_of = ROOT }

			# Marrakech
			462 = { add_core_of = ROOT }

			# Sidi Ifni
			783 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_mauretania_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	return_to_pannonia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 43 #Northern Hungary
			controls_state = 154 #Alföld
			controls_state = 155 #Transdanubia
			controls_state = 1278
			controls_state = 1235
			controls_state = 1700
			controls_state = 973
			controls_state = 974
			controls_state = 1703
			controls_state = 1384
			controls_state = 45 #Vojvodina
			controls_state = 1477
			controls_state = 1704
			controls_state = 1410
			controls_state = 1705
			controls_state = 109 #Croatia
			controls_state = 1706
			controls_state = 1707
			controls_state = 102 #North Slovenia

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_pannonia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Northern Hungary
			43 = { add_core_of = ROOT }

			# Alföld
			154 = { add_core_of = ROOT }

			# Transdanubia
			155 = { add_core_of = ROOT }

			# Vojvodina
			45 = { add_core_of = ROOT }
			1477 = { add_core_of = ROOT }

			# Croatia
			109 = { add_core_of = ROOT }

			# North Slovenia
			102 = { add_core_of = ROOT }
			
			1278 = { add_core_of = ROOT }
			1235 = { add_core_of = ROOT }
			1700 = { add_core_of = ROOT }
			973 = { add_core_of = ROOT }
			974 = { add_core_of = ROOT }
			1703 = { add_core_of = ROOT }
			1384 = { add_core_of = ROOT }
			1704 = { add_core_of = ROOT }
			1410 = { add_core_of = ROOT }
			1705 = { add_core_of = ROOT }
			1706 = { add_core_of = ROOT }
			1707 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_pannonia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_roman_rule_to_raetia_et_noricum = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 4 #Lower Austria
			controls_state = 152 #Upper Austria
			controls_state = 976
			controls_state = 1390
			controls_state = 153 #Tyrol
			controls_state = 848 #Vorarlberg
			controls_state = 1553
			controls_state = 975
			controls_state = 151 #Eastern Swiss Alps
			controls_state = 1507
			controls_state = 1508
			controls_state = 1509
			controls_state = 1510
			controls_state = 1511
			controls_state = 1512
			controls_state = 1513
			controls_state = 1515
			controls_state = 1516
			controls_state = 846 #Ticino
			controls_state = 847 #Western Swiss Alps
			controls_state = 1506
			controls_state = 3 #Swiss Plateu
			controls_state = 845 #Jura Mountains
			controls_state = 1514

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_alps_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Lower Austria 
			4 = { add_core_of = ROOT }

			# Upper Austria
			152 = { add_core_of = ROOT }
			
			976 = { add_core_of = ROOT }
			1390 = { add_core_of = ROOT }

			# Tyrol
			153 = { add_core_of = ROOT }
			
			# Vorarlberg
			848 = { add_core_of = ROOT }
			
			1553 = { add_core_of = ROOT }
			975 = { add_core_of = ROOT }

			# Eastern Swiss Alps
			151 = { add_core_of = ROOT }
			1507 = { add_core_of = ROOT }
			1508 = { add_core_of = ROOT }
			1509 = { add_core_of = ROOT }
			1510 = { add_core_of = ROOT }
			1511 = { add_core_of = ROOT }
			1512 = { add_core_of = ROOT }
			1513 = { add_core_of = ROOT }
			1515 = { add_core_of = ROOT }
			1516 = { add_core_of = ROOT }

			# Ticino
			846 = { add_core_of = ROOT }

			# Western Swiss Alps
			847 = { add_core_of = ROOT }
			1506 = { add_core_of = ROOT }

			# Swiss Plateu
			3 = { add_core_of = ROOT }

			# Jura Mountains
			845 = { add_core_of = ROOT }
			1514 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_alps_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_roman_rule_to_gaul = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 806 #Pyrenees-Atlantiques
			controls_state = 19 #Aquitaine
			controls_state = 25 #Limousin
			controls_state = 26 #Auveragne
			controls_state = 20 #Rhone
			controls_state = 1522
			controls_state = 32 #Alpes
			controls_state = 33 #Centre-Sud
			controls_state = 23 #Poitou
			controls_state = 30 #Loire
			controls_state = 14 #Brittany
			controls_state = 27 #Bourgogne
			controls_state = 1521
			controls_state = 17 #Franche-Comte
			controls_state = 28 #Alsace-Lorraine
			controls_state = 16 #Ile De France
			controls_state = 1517
			controls_state = 1518
			controls_state = 1519
			controls_state = 1520
			controls_state = 24 #Centre
			controls_state = 15 #Normandy
			controls_state = 1402
			controls_state = 785 #Picardy
			controls_state = 1401
			controls_state = 18 #Champagne
			controls_state = 1402
			controls_state = 1257
			controls_state = 1258
			controls_state = 1259

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_gaul_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Pyrenees-Atlantiques 
			806 = { add_core_of = ROOT }

			# Aquitaine
			19 = { add_core_of = ROOT }

			# Limousin
			25 = { add_core_of = ROOT }

			# Auveragne
			26 = { add_core_of = ROOT }

			# Rhone
			20 = { add_core_of = ROOT }
			1522 = { add_core_of = ROOT }

			# Alpes
			32 = { add_core_of = ROOT }

			# Centre-Sud
			33 = { add_core_of = ROOT }

			# Poitou
			23 = { add_core_of = ROOT }

			# Loire
			30 = { add_core_of = ROOT }

			# Brittany
			14 = { add_core_of = ROOT }

			# Bourgogne
			27 = { add_core_of = ROOT }
			1521 = { add_core_of = ROOT }

			# Franche-Comte
			17 = { add_core_of = ROOT }

			# Alsace-Lorraine
			28 = { add_core_of = ROOT }

			# Ile De France
			16 = { add_core_of = ROOT }
			1517 = { add_core_of = ROOT }
			1518 = { add_core_of = ROOT }
			1519 = { add_core_of = ROOT }
			1520 = { add_core_of = ROOT }

			# Centre
			24 = { add_core_of = ROOT }

			# Normandy
			15 = { add_core_of = ROOT }
			
			1402 = { add_core_of = ROOT }

			# Picardy
			785 = { add_core_of = ROOT }
			
			1401 = { add_core_of = ROOT }

			# Champagne
			18 = { add_core_of = ROOT }
			
			1402 = { add_core_of = ROOT }
			
			1257 = { add_core_of = ROOT }
			1258 = { add_core_of = ROOT }
			1259 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			 
			hidden_effect = { 
				set_global_flag = integrate_gaul_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	restore_roman_rule_to_belgica = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 35 #Brabant
			controls_state = 1297
			controls_state = 1293
			controls_state = 6 #Vlaanderen
			controls_state = 34 #Wallonia
			controls_state = 980
			controls_state = 1250
			controls_state = 8 #Luxembourg
			controls_state = 29 #Nord-Pas-De-Calais
			

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = integrate_belgica_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Brabant
			35 = { add_core_of = ROOT }
			
			1293 = { add_core_of = ROOT }
			1297 = { add_core_of = ROOT }

			# Vlaanderen
			6 = { add_core_of = ROOT }

			# Wallonia
			34 = { add_core_of = ROOT }

			# Luxembourg
			8 = { add_core_of = ROOT }

			# Nord-Pas-De-Calais
			29 = { add_core_of = ROOT }
			
			980 = { add_core_of = ROOT }
			1250 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = integrate_belgica_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	occupy_iberia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 229 #Azerbaijan
			controls_state = 231 #Georgia
			controls_state = 826 #Abkhazia
			controls_state = 1057
			controls_state = 1118
			controls_state = 1119
			controls_state = 1120
			controls_state = 1121
			controls_state = 1122
			controls_state = 1123
			controls_state = 1124
			controls_state = 1125
			controls_state = 1126
			controls_state = 1127

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = occupy_iberia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Azerbaijan
			229 = { add_core_of = ROOT }

			# Georgia
			231 = { add_core_of = ROOT }
 
			# Abkhazia
			826 = { add_core_of = ROOT }
			
			1057 = { add_core_of = ROOT }
			1118 = { add_core_of = ROOT }
			1119 = { add_core_of = ROOT }
			1120 = { add_core_of = ROOT }
			1121 = { add_core_of = ROOT }
			1122 = { add_core_of = ROOT }
			1123 = { add_core_of = ROOT }
			1124 = { add_core_of = ROOT }
			1125 = { add_core_of = ROOT }
			1126 = { add_core_of = ROOT }
			1127 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = occupy_iberia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	return_to_britannia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 127 #Sussex
			controls_state = 123 #South-West England
			controls_state = 338 #Gloucestershire
			controls_state = 126 #Greater London Area
			controls_state = 125 #East Anglia
			controls_state = 128 #West Midlands
			controls_state = 122 #Wales
			controls_state = 129 #East Midlands
			controls_state = 132 #Lancashire
			controls_state = 130 #Yorkshire
			controls_state = 131 #Nothern England
			controls_state = 931 #Cumbria
			controls_state = 932 #Mann

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = return_to_britannia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Sussex
			127 = { add_core_of = ROOT }

			# South-West England
			123 = { add_core_of = ROOT }
 
			# Gloucestershire
			338 = { add_core_of = ROOT }

			# Greater London Area
			126 = { add_core_of = ROOT }

			# East Anglia
			125 = { add_core_of = ROOT }

			# West Midlands
			128 = { add_core_of = ROOT }

			# Wales
			122 = { add_core_of = ROOT }

			# East Midlands
			129 = { add_core_of = ROOT }

			# Lancashire
			132 = { add_core_of = ROOT }

			# Yorkshire
			130 = { add_core_of = ROOT }

			# Nothern England
			131 = { add_core_of = ROOT }
			
			# Cumbria
			931 = { add_core_of = ROOT } 

			# Mann
			932 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = return_to_britannia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	conquer_hibernia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 113 #Leinster
			controls_state = 135 #Munster
			controls_state = 134 #Connaught
			controls_state = 119 #Northern Ireland

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = conquer_hibernia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Leinster
			113 = { add_core_of = ROOT }

			# Munster
			135 = { add_core_of = ROOT }
 
			# Connaught
			134 = { add_core_of = ROOT }

			# Northern Ireland
			119 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = conquer_hibernia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	conquer_caledonia = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 133 #Lanark
			controls_state = 121 #Lothian
			controls_state = 136 #Aberdeenshire
			controls_state = 120 #Scottish Highlands

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = conquer_caledonia_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Lanark
			133 = { add_core_of = ROOT }

			# Lothian
			121 = { add_core_of = ROOT }
 
			# Aberdeenshire
			136 = { add_core_of = ROOT }

			# Scottish Highlands
			120 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = conquer_caledonia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	avenge_teutoburg = {

		icon = GFX_decision_generic_nationalism

		cost = 100

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 7 #Holland
			controls_state = 1292 #Rotterdam
			controls_state = 36 #Friesland
			controls_state = 1255
			controls_state = 1552
			controls_state = 56 #Weser-Ems
			controls_state = 57 #Westfalen
			controls_state = 1413
			controls_state = 51 #Rhineland
			controls_state = 1414
			controls_state = 42 #Moselland
			controls_state = 55 #Hessen
			controls_state = 54 #Franken
			controls_state = 50 #Wurtemberg
			controls_state = 52 #Oberbayern
			controls_state = 53 #Niederbayern
			controls_state = 1251
			controls_state = 978
			controls_state = 1253
			controls_state = 1254
			controls_state = 1546
			controls_state = 1547
			controls_state = 1548
			controls_state = 1549
			controls_state = 1550
			controls_state = 1551

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = avenge_teutoberg_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Holland
			7 = { add_core_of = ROOT }
			
			# Rotterdam
			1292 = { add_core_of = ROOT }

			# Friesland
			36 = { add_core_of = ROOT }
 
			# Weser-Ems
			56 = { add_core_of = ROOT }

			# Westfalen
			57 = { add_core_of = ROOT }
			
			1413 = { add_core_of = ROOT }

			# Rhineland
			51 = { add_core_of = ROOT }
			
			1414 = { add_core_of = ROOT }

			# Moselland
			42 = { add_core_of = ROOT }

			# Hessen
			55 = { add_core_of = ROOT }

			# Franken
			54 = { add_core_of = ROOT }

			# Wurtemberg
			50 = { add_core_of = ROOT }
 
			# Oberbayern
			52 = { add_core_of = ROOT }

			# Niederbayern
			53 = { add_core_of = ROOT }
			
			1251 = { add_core_of = ROOT }
			978 = { add_core_of = ROOT }
			1253 = { add_core_of = ROOT }
			1254 = { add_core_of = ROOT }
			1546 = { add_core_of = ROOT }
			1547 = { add_core_of = ROOT }
			1548 = { add_core_of = ROOT }
			1549 = { add_core_of = ROOT }
			1550 = { add_core_of = ROOT }
			1551 = { add_core_of = ROOT }
			
			
			add_stability = -0.05
			  
			hidden_effect = { 
				set_global_flag = avenge_teutoberg_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	reestablish_the_bosporan_kingdom = {

		icon = GFX_decision_generic_nationalism

		cost = 120

		allowed = {
			original_tag = ITA
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "By Blood Alone"
			}
		}

		available = {
			
			controls_state = 192 #Odessa
			controls_state = 197 #Mykolaiv
			controls_state = 1606
			controls_state = 196 #Kherson
			controls_state = 137 #Crimea
			controls_state = 226 #Dnipropetrovsk
			controls_state = 1612
			controls_state = 200 #Zaporozhe
			controls_state = 227 #Stalino
			controls_state = 218 #Rostov
			controls_state = 234 #Krasnodar
			controls_state = 1086
			controls_state = 1087
			controls_state = 1088
			controls_state = 1089
			controls_state = 1096
			controls_state = 1098
			controls_state = 1097

			OR = {
				CRI = {
					exists = no
				}
				CRI = {
					is_subject_of = ITA
				}
			}

		}

		visible = { 
			original_tag = ITA
			NOT = { has_global_flag = the_bosporan_kingdom_flag }
			has_global_flag = form_roman_empire_flag
		}

		complete_effect = { 
 

			# Odessa
			192 = { add_core_of = CRI }

			# Mykolaiv
			197 = { add_core_of = CRI }
			
			1606 = { add_core_of = CRI }

			# Kherson
			196 = { add_core_of = CRI }

			# Dnipropetrovsk
			226 = { add_core_of = CRI }
			
			1612 = { add_core_of = CRI }

			# Zaporozhe
			200 = { add_core_of = CRI }

			# Stalino
			227 = { add_core_of = CRI }

			# Rostov
			218 = { add_core_of = CRI }

			# Krasnodar
			234 = { add_core_of = CRI }
			
			1086 = { add_core_of = CRI }
			1087 = { add_core_of = CRI }
			1088 = { add_core_of = CRI }
			1089 = { add_core_of = CRI }
			1096 = { add_core_of = CRI }
			1098 = { add_core_of = CRI }
			1097 = { add_core_of = CRI }
			
			
				
			CRI = {
				transfer_state = 192
				transfer_state = 197
				transfer_state = 1606
				transfer_state = 196
				transfer_state = 137
				transfer_state = 226
				transfer_state = 1612
				transfer_state = 200
				transfer_state = 227
				transfer_state = 218
				transfer_state = 234
				transfer_state = 1086
				transfer_state = 1087
				transfer_state = 1088
				transfer_state = 1089
				transfer_state = 1096
				transfer_state = 1098
				transfer_state = 1097

				set_cosmetic_tag = regnum_bospori
			}

			  
			hidden_effect = { 
				set_global_flag = the_bosporan_kingdom_flag

				IF = {
					limit = {
						ITA = {
							has_government = fascism
						}
					}
					CRI = {
						set_politics = {
							ruling_party = fascism
						    elections_allowed = no
						    last_election = "1935.12.17"
						    election_frequency = 48
						}
					}
				}
				IF = {
					limit = {
						ITA = {
							has_government = neutrality
						}
					}
					CRI = {
						set_politics = {
							ruling_party = neutrality
						    elections_allowed = no
						    last_election = "1935.12.17"
						    election_frequency = 48
						}
					}
				}

				ROOT = {
					puppet = CRI
				}
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_persian_empire_category = {

	form_persian_empire = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		allowed = {
			OR = {
				original_tag = PER
				original_tag = AFG
			}
			has_dlc = "Waking the Tiger"
			NOT = {
				has_dlc = "Graveyard of Empires"
			}
		}

		available = {
			is_subject = no
			# Iran
			custom_trigger_tooltip = {
				tooltip = form_country_iran_required_states_tt
				controls_state = 419
				controls_state = 421
				controls_state = 420
				controls_state = 417
				controls_state = 413
				controls_state = 266
				controls_state = 418
				controls_state = 411
				controls_state = 412
				controls_state = 416
				controls_state = 414
				controls_state = 410
				controls_state = 1000
				controls_state = 1001
				controls_state = 1002
				controls_state = 1003
				controls_state = 1004
			}
			# Afghanistan
			custom_trigger_tooltip = {
				tooltip = form_country_afghanistan_required_states_tt
				controls_state = 415
				controls_state = 267
				controls_state = 1005
				controls_state = 1006
				controls_state = 1007
				controls_state = 1008
				controls_state = 1009
			}
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1049
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 340
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 798
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 800
				controls_state = 1287
				controls_state = 799 #HATAY, REMOVE FROM AVAILABLE AND ADD CORE IN EFFECT
				controls_state = 1266
			}
			# France: Syria
			custom_trigger_tooltip = {
				tooltip = form_persia_france_required_states_tt
				controls_state = 677
				controls_state = 680
				controls_state = 1330
				controls_state = 553
				controls_state = 554
				controls_state = 1050
				controls_state = 1136
			}
			# Italy: North Africa / Dodecanese
			custom_trigger_tooltip = {
				tooltip = form_persia_italy_required_states_tt
				controls_state = 164
				controls_state = 450
				controls_state = 451
				controls_state = 663
			}
			# Britain: Egypt / Middle East
			custom_trigger_tooltip = {
				tooltip = form_persia_britain_required_states_tt
				controls_state = 452
				controls_state = 447
				controls_state = 446
				controls_state = 456
				controls_state = 457
				controls_state = 453
				controls_state = 454
				controls_state = 455
				controls_state = 1051
				controls_state = 1052
				controls_state = 183
				controls_state = 656
				controls_state = 907
				controls_state = 1133
				controls_state = 1134
				controls_state = 1135
				controls_state = 1137
				controls_state = 1138
				controls_state = 1139
				controls_state = 1140
			}
		}

		visible = {
			OR = {
				original_tag = PER
				original_tag = AFG
			}
			NOT = { has_global_flag = form_persian_empire_flag }
		}

		complete_effect = {
			set_cosmetic_tag = PER_UNIFIED
			# Iran
			custom_effect_tooltip = form_country_iran_coring_states_tt
			hidden_effect = {
				419 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				1000 = { add_core_of = ROOT }
				1001 = { add_core_of = ROOT }
				1002 = { add_core_of = ROOT }
				1003 = { add_core_of = ROOT }
				1004 = { add_core_of = ROOT }
			}
			# Afghanistan
			custom_effect_tooltip = form_country_afghanistan_coring_states_tt
			hidden_effect = {
				415 = { add_core_of = ROOT }
				267 = { add_core_of = ROOT }
				1005 = { add_core_of = ROOT }
				1006 = { add_core_of = ROOT }
				1007 = { add_core_of = ROOT }
				1008 = { add_core_of = ROOT }
				1009 = { add_core_of = ROOT }
			}
			# Iraq
			custom_effect_tooltip = form_country_iraq_coring_states_tt
			hidden_effect = {
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1049 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
			}
			# Turkey
			custom_effect_tooltip = form_country_turkey_coring_states_tt
			hidden_effect = {
				341 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				1286 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				1223 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				1266 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				1287 = { add_core_of = ROOT }
			}
			# France
			custom_effect_tooltip = form_persia_france_coring_states_tt
			hidden_effect = {
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				1050 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
			}
			# Italy
			custom_effect_tooltip = form_persia_italy_coring_states_tt
			hidden_effect = {
				164 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
			}
			# Britain
			custom_effect_tooltip = form_persia_britain_coring_states_tt
			hidden_effect = {
				452 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				1051 = { add_core_of = ROOT }
				1052 = { add_core_of = ROOT }
				183 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				118 = { add_core_of = ROOT }
				907 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.65 hours = 6 }
				set_global_flag = form_persian_empire_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_byzantine_empire_category = {

	form_byzantine_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Waking the Tiger"
			NOT = { has_dlc = "Battle for the Bosporus" }
		}

		available = {
			is_subject = no
			controls_state = 82
			controls_state = 1479
			controls_state = 81
			controls_state = 46
			controls_state = 1559
			controls_state = 1295
			controls_state = 1312
			controls_state = 971
			#Albania
			controls_state = 44
			controls_state = 805
			controls_state = 934
			# Greece
			custom_trigger_tooltip = {
				tooltip = form_country_greece_required_states_tt
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 47
				controls_state = 186
				controls_state = 184
				controls_state = 187
				controls_state = 182
				controls_state = 1319
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 340
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 798
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 800
				controls_state = 1287
				controls_state = 799 #HATAY, REMOVE FROM AVAILABLE AND ADD CORE IN EFFECT
				controls_state = 1266
			}
			# Bulgaria
			custom_trigger_tooltip = {
				tooltip = form_country_bulgaria_required_states_tt
				controls_state = 48
				controls_state = 212
				controls_state = 211
				controls_state = 801
				controls_state = 1719
				controls_state = 1720
			}
			# Yugoslavia
			custom_trigger_tooltip = {
				tooltip = form_country_yugoslavia_required_states_tt
				controls_state = 102
				controls_state = 853
				controls_state = 103
				controls_state = 1296
				controls_state = 109
				controls_state = 104
				controls_state = 45
				controls_state = 1477
				controls_state = 107
				controls_state = 105
				controls_state = 108
				controls_state = 106
				controls_state = 1412
				controls_state = 1307
				controls_state = 1298
				controls_state = 764
				controls_state = 1478
				controls_state = 802
				controls_state = 803
				controls_state = 1411
				controls_state = 1299
				controls_state = 1300
				controls_state = 804
				controls_state = 970
				controls_state = 1704
				controls_state = 1410
				controls_state = 1705
				controls_state = 1706
				controls_state = 1707
				controls_state = 1709
				controls_state = 1710
				controls_state = 1711
				controls_state = 1712
				controls_state = 1713
				controls_state = 1715
				controls_state = 1716
				controls_state = 1717
				controls_state = 1718
				controls_state = 1388
				controls_state = 1721
				controls_state = 1314
				controls_state = 1325
				controls_state = 1339
				controls_state = 1260
				controls_state = 1047
				controls_state = 1048
			}
		}

		visible = {
			NOT = { has_global_flag = form_byzantine_empire_flag }
		}

		complete_effect = {
			set_cosmetic_tag = BYZ_UNIFIED
			set_capital = { state = 341 }
			341 = { add_core_of = ROOT }
			hidden_effect = { 341 = { set_state_name = "Constantinople" } }
			set_province_name = { id = 9833 name = "Constantinople" }
			82 = { add_core_of = ROOT }
			1479 = { add_core_of = ROOT }
			81 = { add_core_of = ROOT }
			46 = { add_core_of = ROOT }
			1312 = { add_core_of = ROOT }
			1559 = { add_core_of = ROOT }
			1295 = { add_core_of = ROOT }
			77 = { add_core_of = ROOT }
			#Albania
			44 = { add_core_of = ROOT }
			805 = { add_core_of = ROOT }
			934 = { add_core_of = ROOT }
			# Greece
			custom_effect_tooltip = form_country_greece_coring_states_tt
			hidden_effect = {
				185 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				1607 = { add_core_of = ROOT }
				47 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
			}
			# Turkey
			custom_effect_tooltip = form_country_turkey_coring_states_tt
			hidden_effect = {
				341 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				1286 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				1223 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				1266 = { add_core_of = ROOT }
			}
			# Bulgaria
			custom_effect_tooltip = form_country_bulgaria_coring_states_tt
			hidden_effect = {
				48 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				1719 = { add_core_of = ROOT }
				1720 = { add_core_of = ROOT }
			}
			# Yugoslavia
			custom_effect_tooltip = form_country_yugoslavia_coring_states_tt
			hidden_effect = {
				102 = { add_core_of = ROOT }
				853 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				1296 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				1477 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				1412 = { add_core_of = ROOT }
				1307 = { add_core_of = ROOT }
				1298 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				1478 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				1411 = { add_core_of = ROOT }
				1299 = { add_core_of = ROOT }
				1300 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				970 = { add_core_of = ROOT }
				1704 = { add_core_of = ROOT }
				1410 = { add_core_of = ROOT }
				1705 = { add_core_of = ROOT }
				1706 = { add_core_of = ROOT }
				1707 = { add_core_of = ROOT }
				1709 = { add_core_of = ROOT }
				1710 = { add_core_of = ROOT }
				1711 = { add_core_of = ROOT }
				1712 = { add_core_of = ROOT }
				1713 = { add_core_of = ROOT }
				1715 = { add_core_of = ROOT }
				1716 = { add_core_of = ROOT }
				1717 = { add_core_of = ROOT }
				1718 = { add_core_of = ROOT }
				1388 = { add_core_of = ROOT }
				1721 = { add_core_of = ROOT }
				1314 = { add_core_of = ROOT }
				1325 = { add_core_of = ROOT }
				1339 = { add_core_of = ROOT }
				1260 = { add_core_of = ROOT }
				1047 = { add_core_of = ROOT }
				1048 = { add_core_of = ROOT }
				
				
			}
			hidden_effect = {
				news_event = { id = wtt_news.66 hours = 6 }
				set_global_flag = form_byzantine_empire_flag
			}
			set_country_flag = achivement_i_swear_im_not_a_byzantophile
			set_country_flag = achivement_istanbul_is_constantinople_again
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	byz_restore_byzantium = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			has_completed_focus = GRE_reviving_the_double_headed_eagle
			# Greece
			custom_trigger_tooltip = {
				tooltip = form_country_greece_required_states_tt
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 47
				controls_state = 186
				controls_state = 184
				controls_state = 187
				controls_state = 182
				controls_state = 1319
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 1266
				controls_state = 340
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 798
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 800
				controls_state = 1287
			}
		}

		visible = {
			AND = { 
				has_completed_focus = GRE_horror_and_fear
				has_government = fascism
			}
			NOT = { has_global_flag = form_byzantine_empire_flag }
		}

		complete_effect = {
			set_country_flag = GRE_byz_unified_flag
			GRE_set_appropriate_cosmetic_tag = yes
			set_capital = { state = 797 }
			797 = { add_core_of = ROOT }
			1223 = { add_core_of = ROOT }
			hidden_effect = { 797 = { set_state_name = "Constantinople" } }
			hidden_effect = { 1223 = { set_state_name = "East Constantinople" } }
			set_province_name = { id = 9833 name = "Constantinople" }
			# Greece
			custom_effect_tooltip = form_country_greece_coring_states_tt
			hidden_effect = {
				185 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				1607 = { add_core_of = ROOT }
				47 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
				731 = { set_state_name = "Thessalonica" }
				184 = { set_state_name = "Strymon" }
			}
			# Turkey
			custom_effect_tooltip = form_country_turkey_coring_states_tt
			hidden_effect = {
				341 = { add_core_of = ROOT }
				340 = { set_state_name = "Thracia" }
				set_province_name = { id = 947 name = "Prusa" }
				340 = { add_core_of = ROOT }
				340 = { set_state_name = "Prusa" }
				set_province_name = { id = 947 name = "Prusa" }
				1266 = { add_core_of = ROOT }
				1266 = { set_state_name = "Tzarylus" }
				set_province_name = { id = 6895 name = "Tzarylus" }
				339 = { add_core_of = ROOT }
				339 = { set_state_name = "Samos" }
				set_province_name = { id = 4112 name = "Smyrna" }
				342 = { add_core_of = ROOT }
				342 = { set_state_name = "Cibyrrhaeot" }
				set_province_name = { id = 1005 name = "Attaleia" }
				343 = { add_core_of = ROOT }
				343 = { set_state_name = "Thrakesion" }
				set_province_name = { id = 9878 name = "Nicopolis" }
				set_province_name = { id = 10041 name = "Attouda" }
				347 = { add_core_of = ROOT }
				347 = { set_state_name = "Optimaton" }
				set_province_name = { id = 11811 name = "Nikomedeia" }
				set_province_name = { id = 904 name = "Pontoheraclea" }
				49 = { add_core_of = ROOT }
				49 = { set_state_name = "Bukellarion" }
				set_province_name = { id = 11747 name = "Ancyra" }
				set_province_name = { id = 3951 name = "Dorylaion" }
				346 = { add_core_of = ROOT }
				346 = { set_state_name = "Anatolikon" }
				set_province_name = { id = 940 name = "Ikonion" }
				345 = { add_core_of = ROOT }
				345 = { set_state_name = "Seleucia" }
				set_province_name = { id = 10056 name = "Hadrianopolis" }
				356 = { add_core_of = ROOT }
				356 = { set_state_name = "Paphlagonia" }
				set_province_name = { id = 6995 name = "Sinope" }
				set_province_name = { id = 6938 name = "Kastamone" }
				348 = { add_core_of = ROOT }
				348 = { set_state_name = "Cappadocia" }
				set_province_name = { id = 3870 name = "Caesarea" }
				344 = { add_core_of = ROOT }
				344 = { set_state_name = "Cilicia" }
				set_province_name = { id = 11746 name = "Tarsus" }
				set_province_name = { id = 886 name = "Germanicia" }
				set_province_name = { id = 9893 name = "Ravanda" }
				355 = { add_core_of = ROOT }
				355 = { set_state_name = "Armeniakon" }
				set_province_name = { id = 11881 name = "Amisos" }
				349 = { add_core_of = ROOT }
				349 = { set_state_name = "Koloneia" }
				set_province_name = { id = 9777 name = "Sebasteia" }
				798 = { add_core_of = ROOT }
				798 = { set_state_name = "Carsiano" }
				set_province_name = { id = 919 name = "Amaseia" }
				set_province_name = { id = 3862 name = "Taouion" }
				350 = { add_core_of = ROOT }
				350 = { set_state_name = "Melitene" }
				set_province_name = { id = 7620 name = "Melitene" }
				set_province_name = { id = 9823 name = "Justinopolis" }
				set_province_name = { id = 4512 name = "Amida" }
				354 = { add_core_of = ROOT }
				354 = { set_state_name = "Chaldia" }
				1286 = { add_core_of = ROOT }
				set_province_name = { id = 9932 name = "Trebizond" }
				353 = { add_core_of = ROOT }
				353 = { set_state_name = "Manzikert" }
				set_province_name = { id = 11853 name = "Theodosiopolis" }
				352 = { add_core_of = ROOT }
				352 = { set_state_name = "Hubushkia" }
				set_province_name = { id = 12476 name = "Kondylis" }
				800 = { add_core_of = ROOT }
				1287 = { add_core_of = ROOT }
				800 = { set_state_name = "Vaspurakan" }
				set_province_name = { id = 6935 name = "Eua" }
				799 = { add_core_of = ROOT }
				799 = { set_state_name = "Antioch" }
				set_province_name = { id = 12029 name = "Antiochia" }
			}
			hidden_effect = {
				news_event = { id = wtt_news.66 hours = 6 }
				set_global_flag = form_byzantine_empire_flag
				swap_ruler_traits = { remove = archon_basileus add = autokrator }
			}
			set_country_flag = achivement_i_swear_im_not_a_byzantophile
			set_country_flag = achivement_istanbul_is_constantinople_again
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	byz_triumph_for_the_balkans = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			# Albania
			custom_trigger_tooltip = {
				tooltip = form_country_dyrrachium_required_states_tt
				controls_state = 44
				controls_state = 105
				controls_state = 805
				controls_state = 934
			}
			# Romania
			custom_trigger_tooltip = {
				tooltip = form_country_paristrion_required_states_tt
				controls_state = 82
				controls_state = 1479
				controls_state = 81
				controls_state = 46
				controls_state = 971
				controls_state = 77
				controls_state = 766
				controls_state = 1312
				controls_state = 1559
				controls_state = 1295
				
			}
			# Bulgaria
			custom_trigger_tooltip = {
				tooltip = form_country_boulgarias_required_states_tt
				controls_state = 48
				controls_state = 212
				controls_state = 211
				controls_state = 106
				controls_state = 1412
				controls_state = 1307
				controls_state = 1298
				controls_state = 801
				controls_state = 1719
				controls_state = 1720
				controls_state = 970
			}
			# Yugoslavia
			custom_trigger_tooltip = {
				tooltip = form_country_sirmium_required_states_tt
				controls_state = 102
				controls_state = 853
				controls_state = 103
				controls_state = 1296
				controls_state = 109
				controls_state = 104
				controls_state = 45
				controls_state = 1477
				controls_state = 107
				controls_state = 108
				controls_state = 802
				controls_state = 803
				controls_state = 1411
				controls_state = 1299
				controls_state = 1300
				controls_state = 804
				controls_state = 764
				controls_state = 1478
				controls_state = 1704
				controls_state = 1410
				controls_state = 1705
				controls_state = 1706
				controls_state = 1707
				controls_state = 1709
				controls_state = 1710
				controls_state = 1711
				controls_state = 1712
				controls_state = 1713
				controls_state = 1715
				controls_state = 1716
				controls_state = 1717
				controls_state = 1718
				controls_state = 1388
				controls_state = 1721
				controls_state = 1314
				controls_state = 1325
				controls_state = 1339
				controls_state = 1260
				controls_state = 1047
				controls_state = 1048
				controls_state = 106
				controls_state = 1412
				controls_state = 1307
				controls_state = 1298
				controls_state = 105
			}
		}

		visible = {
			if = {
				limit = { has_dlc = "Battle for the Bosporus" }
				has_completed_focus = GRE_byzantine_themata
			}
			NOT = { has_global_flag = triumph_for_the_balkans }
		}

		complete_effect = {
			# Albania
			custom_effect_tooltip = form_country_dyrrachium_coring_states_tt
			hidden_effect = {
				44 = { add_core_of = ROOT }
				44 = { set_state_name = "Illyria" }
				set_province_name = { id = 9914 name = "Kastrioti" }
				set_province_name = { id = 11767 name = "Aulon" }
				105 = { add_core_of = ROOT }
				105 = { set_state_name = "Dyrrhachion" }
				set_province_name = { id = 9809 name = "Dyrrhachium" }
				805 = { add_core_of = ROOT }
				set_province_name = { id = 914 name = "Argyrokastro" }
				934 = { add_core_of = ROOT }
			}
			# Romania
			custom_effect_tooltip = form_country_paristrion_coring_states_tt
			hidden_effect = {
				82 = { add_core_of = ROOT }
				1479 = { add_core_of = ROOT }
				82 = { set_state_name = "Pannonia" }
				81 = { add_core_of = ROOT }
				48 = { set_state_name = "Wallachia" }
				set_province_name = { id = 6652 name = "Pelendava" }
				46 = { add_core_of = ROOT }
				971 = { add_core_of = ROOT }
				46 = { set_state_name = "Paristrion" }
				set_province_name = { id = 9617 name = "Kosmidis" }
				set_province_name = { id = 3663 name = "Tarnovo" }
				77 = { add_core_of = ROOT }
				77 = { set_state_name = "Anchialus" }
				set_province_name = { id = 11597 name = "Mesembria" }
				766 = { add_core_of = ROOT }
				766 = { set_state_name = "Silistra" }
				set_province_name = { id = 6727 name = "Velissarios" }
				1312 = { add_core_of = ROOT }
				1559 = { add_core_of = ROOT }
				1295 = { add_core_of = ROOT }
				
			}
			# Bulgaria
			custom_effect_tooltip = form_country_boulgarias_coring_states_tt
			hidden_effect = {
				48 = { add_core_of = ROOT }
				48 = { set_state_name = "Philippopolis" }
				set_province_name = { id = 949 name = "Serdica" }
				212 = { add_core_of = ROOT }
				212 = { set_state_name = "Philippopolis" }
				set_province_name = { id = 6923 name = "Philippopolis" }
				211 = { add_core_of = ROOT }
				211 = { set_state_name = "Pyrgos" }
				set_province_name = { id = 9902 name = "Poros" }
				set_province_name = { id = 9783 name = "Odessos" }
				106 = { add_core_of = ROOT }
				970 = { add_core_of = ROOT }
				1412 = { add_core_of = ROOT }
				1307 = { add_core_of = ROOT }
				1298 = { add_core_of = ROOT }
				106 = { set_state_name = "Boulgarias" }
				set_province_name = { id = 3882 name = "Scupi" }
				731 = { set_state_name = "Macedonia" }
				801 = { add_core_of = ROOT }
				1719 = { add_core_of = ROOT }
				1720 = { add_core_of = ROOT }
			}
			# Yugoslavia
			custom_effect_tooltip = form_country_sirmium_coring_states_tt
			hidden_effect = {
				102 = { add_core_of = ROOT }
				853 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				1296 = { add_core_of = ROOT }
				set_province_name = { id = 3924 name = "Spalatum" }
				109 = { add_core_of = ROOT }
				set_province_name = { id = 11581 name = "Venizelos" }
				104 = { add_core_of = ROOT }
				104 = { set_state_name = "Bosona" }
				45 = { add_core_of = ROOT }
				1477 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				107 = { set_state_name = "Sirmium" }
				set_province_name = { id = 11586 name = "Belograd" }
				108 = { add_core_of = ROOT }
				108 = { set_state_name = "Pizren" }
				set_province_name = { id = 9602 name = "Naissus" }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				1411 = { add_core_of = ROOT }
				1299 = { add_core_of = ROOT }
				1300 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				1478 = { add_core_of = ROOT }
				1704 = { add_core_of = ROOT }
				1410 = { add_core_of = ROOT }
				1705 = { add_core_of = ROOT }
				1706 = { add_core_of = ROOT }
				1707 = { add_core_of = ROOT }
				1709 = { add_core_of = ROOT }
				1710 = { add_core_of = ROOT }
				1711 = { add_core_of = ROOT }
				1712 = { add_core_of = ROOT }
				1713 = { add_core_of = ROOT }
				1715 = { add_core_of = ROOT }
				1716 = { add_core_of = ROOT }
				1717 = { add_core_of = ROOT }
				1718 = { add_core_of = ROOT }
				1388 = { add_core_of = ROOT }
				1721 = { add_core_of = ROOT }
				1314 = { add_core_of = ROOT }
				1325 = { add_core_of = ROOT }
				1339 = { add_core_of = ROOT }
				1260 = { add_core_of = ROOT }
				1047 = { add_core_of = ROOT }
				1048 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				1412 = { add_core_of = ROOT }
				1307 = { add_core_of = ROOT }
				1298 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
			}
			hidden_effect = {
				set_global_flag = triumph_for_the_balkans
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	byz_triumph_for_italy = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Battle for the Bosporus"
			}
		}

		available = {
			is_subject = no
			# Italy
			custom_trigger_tooltip = {
				tooltip = form_eu_italy_required_states_tt
				controls_state = 158
				controls_state = 1308
				controls_state = 159
				controls_state = 39
				controls_state = 160
				controls_state = 1168
				controls_state = 161
				controls_state = 1408
				controls_state = 1409
				controls_state = 162
				controls_state = 157
				controls_state = 1406
				controls_state = 1407
				controls_state = 2
				controls_state = 1404
				controls_state = 1405
				controls_state = 117
				controls_state = 156
				controls_state = 115
				controls_state = 736
				controls_state = 849
				controls_state = 850
				controls_state = 852
				controls_state = 1169
				controls_state = 163
				controls_state = 1708
			}
		}

		visible = {
			original_tag = GRE
			NOT = { has_global_flag = triumph_for_italy }
			if = {
				limit = {
					has_dlc = "Battle for the Bosporus"
				}
				has_completed_focus = GRE_byzantine_themata
			}
		}

		complete_effect = {
			# Italy
			custom_effect_tooltip = form_eu_italy_coring_states_tt
			hidden_effect = {
				158 = { add_core_of = ROOT }
				1308 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				1168 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				1408 = { add_core_of = ROOT }
				1409 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				1406 = { add_core_of = ROOT }
				1407 = { add_core_of = ROOT }
				2 = { add_core_of = ROOT }
				1404 = { add_core_of = ROOT }
				1405 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				849 = { add_core_of = ROOT }
				850 = { add_core_of = ROOT }
				852 = { add_core_of = ROOT }
				1169 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				1708 = { add_core_of = ROOT }
				set_global_flag = triumph_for_italy
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	byz_triumph_for_middle_east = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			OR = {
				has_dlc = "Waking the Tiger"
				has_dlc = "Battle for the Bosporus"
			}
		}

		available = {
			is_subject = no
			# France: Syria
			controls_state = 677
			controls_state = 680
			controls_state = 1330
			controls_state = 553
			controls_state = 554
			controls_state = 1050
			controls_state = 1136
			# Italy: Dodecanese
			controls_state = 164
			# Britain: Middle East
			controls_state = 453
			controls_state = 454
			controls_state = 1133
			controls_state = 1134
			controls_state = 1135
			controls_state = 1137
			controls_state = 1138
			controls_state = 1139
			controls_state = 1140
			controls_state = 455
			controls_state = 1051
			controls_state = 1052
			controls_state = 183
			controls_state = 799
		}

		visible = {
			original_tag = GRE
			NOT = { has_global_flag = triumph_for_middle_east }
			if = {
				limit = { has_dlc = "Battle for the Bosporus"}
				has_completed_focus = GRE_byzantine_themata
			}
		}

		complete_effect = {
			677 = { add_core_of = ROOT }
			680 = { add_core_of = ROOT }
			1330 = { add_core_of = ROOT }
			553 = { add_core_of = ROOT } 
			554 = { add_core_of = ROOT }
			1050 = { add_core_of = ROOT }
			1136 = { add_core_of = ROOT }
			164 = { add_core_of = ROOT }
			453 = { add_core_of = ROOT }
			454 = { add_core_of = ROOT }
			1133 = { add_core_of = ROOT }
			1134 = { add_core_of = ROOT }
			1135 = { add_core_of = ROOT }
			1137 = { add_core_of = ROOT }
			1138 = { add_core_of = ROOT }
			1139 = { add_core_of = ROOT }
			1140 = { add_core_of = ROOT }
			455 = { add_core_of = ROOT }
			1051 = { add_core_of = ROOT }
			1052 = { add_core_of = ROOT }
			183 = { add_core_of = ROOT }
			799 = { add_core_of = ROOT }
			set_global_flag = triumph_for_middle_east
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	byz_triumph_for_egypt_and_tunis = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Waking the Tiger"
		}

		available = {
			is_subject = no
			if = {
				limit = { has_dlc = "Battle for the Bosporus"}
				has_completed_focus = GRE_reviving_the_double_headed_eagle
			}
			# French North Africa
			controls_state = 458
			controls_state = 665
			# Italian North Africa
			controls_state = 449
			controls_state = 662
			controls_state = 448
			controls_state = 661
			controls_state = 450
			controls_state = 451
			controls_state = 663
			# Britain: Egypt
			controls_state = 452
			controls_state = 447
			controls_state = 446
			controls_state = 456
			controls_state = 457
			controls_state = 907
		}

		visible = {
			
			NOT = { has_global_flag = triumph_for_egypt_and_tunis }
			if = {
				limit = {
					has_dlc = "Battle for the Bosporus"
				}
				has_completed_focus = GRE_byzantine_themata
			}
		}

		complete_effect = {
			458 = { add_core_of = ROOT }
			665 = { add_core_of = ROOT }
			449 = { add_core_of = ROOT }
			662 = { add_core_of = ROOT }
			448 = { add_core_of = ROOT }
			661 = { add_core_of = ROOT }
			450 = { add_core_of = ROOT }
			451 = { add_core_of = ROOT }
			663 = { add_core_of = ROOT }
			452 = { add_core_of = ROOT }
			447 = { add_core_of = ROOT }
			446 = { add_core_of = ROOT }
			456 = { add_core_of = ROOT }
			457 = { add_core_of = ROOT }
			907 = { add_core_of = ROOT }
			set_global_flag = triumph_for_egypt_and_tunis
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_arabia_category = {

	form_arabia = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		allowed = {
			has_dlc = "Waking the Tiger"
		}

		visible = {
			OR = {
				# Iraq
				original_tag = IRQ
				# Saudi Arabia
				original_tag = SAU
				# Yemen
				original_tag = YEM
				# Oman
				original_tag = OMA
				# Egypt
				original_tag = EGY
				# Libya
				original_tag = LBA
				# Jordan
				original_tag = JOR
				# Palestine
				original_tag = PAL
				# Lebanon
				original_tag = LEB
				# Syria
				original_tag = SYR
				# Kuwait
				original_tag = KUW
				# United Arab Emirates
				original_tag = UAE
				# Qatar
				original_tag = QAT
				# Tunisia
				original_tag = TUN
				# Algeria
				original_tag = ALG
				# Morocco
				original_tag = MOR
				# Sahrawi Arab Republic
				original_tag = WES
				# Mauretania
				original_tag = MRT
				# Sudan
				original_tag = SUD
				# Bahrain
				original_tag = BHR
				# South Arabia
				original_tag = FSA
				# Imamate of Oman
				original_tag = IMO
			}
			NOT = { has_global_flag = form_arabia_flag }
		}
		
		available = {
			is_subject = no
			# Spain: Northern Africa
			controls_state = 290
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1049
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
			# Saudi Arabia
			custom_trigger_tooltip = {
				tooltip = form_country_saudi_required_states_tt
				controls_state = 292
				controls_state = 679
				controls_state = 678
				controls_state = 857
				controls_state = 858
				controls_state = 854
				controls_state = 855
				controls_state = 856
				controls_state = 859
				controls_state = 1053
				controls_state = 1054
				controls_state = 1055
			}
			# Italy: Libya
			custom_trigger_tooltip = {
				tooltip = form_arabia_italy_required_states_tt
				controls_state = 448
				controls_state = 661
				controls_state = 449
				controls_state = 662
				controls_state = 450
				controls_state = 451
				controls_state = 663
			}
			# France: Syria, Northern Africa
			custom_trigger_tooltip = {
				tooltip = form_arabia_france_required_states_tt
				# North Africa
				controls_state = 458
				controls_state = 665
				controls_state = 460
				controls_state = 513
				controls_state = 459
				controls_state = 461
				controls_state = 462
				# Syria
				controls_state = 677
				controls_state = 680
				controls_state = 1330
				controls_state = 553
				controls_state = 554
				controls_state = 799 #Hatay
				controls_state = 1050
				controls_state = 1136
			}
			# Britain: Egypt, Middle East, Arabia
			custom_trigger_tooltip = {
				tooltip = form_arabia_britain_required_states_tt
				controls_state = 452
				controls_state = 447
				controls_state = 446
				controls_state = 456
				controls_state = 457
				controls_state = 453
				controls_state = 551
				controls_state = 454
				controls_state = 455
				controls_state = 1051
				controls_state = 1052
				controls_state = 656
				controls_state = 658
				controls_state = 1013
				controls_state = 659
				controls_state = 992
				controls_state = 907
				controls_state = 883
				controls_state = 765
				controls_state = 293
				controls_state = 294
				controls_state = 1015
				controls_state = 1016
				controls_state = 1133
				controls_state = 1134
				controls_state = 1135
				controls_state = 1137
				controls_state = 1138
				controls_state = 1139
				controls_state = 1140
			}
		}

		complete_effect = {
			set_cosmetic_tag = ARA_UNIFIED
			290 = { add_core_of = ROOT }
			783 = { add_core_of = ROOT }
			699 = { add_core_of = ROOT }
			413 = { add_core_of = ROOT }
			# Iraq
			custom_effect_tooltip = form_country_iraq_coring_states_tt
			hidden_effect = {
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1049 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
			}
			# Saudi Arabia
			custom_effect_tooltip = form_country_saudi_coring_states_tt
			hidden_effect = {
				292 = { add_core_of = ROOT }
				679 = { add_core_of = ROOT }
				678 = { add_core_of = ROOT }
				857 = { add_core_of = ROOT }
				858 = { add_core_of = ROOT }
				854 = { add_core_of = ROOT }
				855 = { add_core_of = ROOT }
				856 = { add_core_of = ROOT }
				859 = { add_core_of = ROOT }
				1053 = { add_core_of = ROOT }
				1054 = { add_core_of = ROOT }
				1055 = { add_core_of = ROOT }
			}
			# Italy
			custom_effect_tooltip = form_arabia_italy_coring_states_tt
			hidden_effect = {
				448 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
				273 = { add_core_of = ROOT }
			}
			# France
			custom_effect_tooltip = form_arabia_france_coring_states_tt
			hidden_effect = {
				458 = { add_core_of = ROOT }
				665 = { add_core_of = ROOT }
				460 = { add_core_of = ROOT }
				513 = { add_core_of = ROOT }
				459 = { add_core_of = ROOT }
				461 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				462 = { add_core_of = ROOT }
				514 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				783 = { add_core_of = ROOT }
				1050 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
			}
			# Britain
			custom_effect_tooltip = form_arabia_britain_coring_states_tt
			hidden_effect = {
				452 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				551 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				1051 = { add_core_of = ROOT }
				1052 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				658 = { add_core_of = ROOT }
				1013 = { add_core_of = ROOT }
				659 = { add_core_of = ROOT }
				992 = { add_core_of = ROOT }
				907 = { add_core_of = ROOT }
				552 = { add_core_of = ROOT }
				767 = { add_core_of = ROOT }
				883 = { add_core_of = ROOT }
				765 = { add_core_of = ROOT }
				293 = { add_core_of = ROOT }
				294 = { add_core_of = ROOT }
				1015 = { add_core_of = ROOT }
				1016 = { add_core_of = ROOT }
				906 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
			}
			hidden_effect = {
				news_event = { id = wtt_news.67 hours = 6 }
				set_global_flag = form_arabia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_majapahit_empire_category = {

	form_majapahit_empire = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = INS
				original_tag = MAL
			}
			has_dlc = "Waking the Tiger"
		}

		available = {
			
			# Dutch East Indies
			custom_trigger_tooltip = {
				tooltip = form_majapahit_nei_required_states_tt
				controls_state = 672
				controls_state = 335
				controls_state = 334
				controls_state = 667
				controls_state = 673
				controls_state = 668
				controls_state = 667
				controls_state = 738
				controls_state = 669
			}
			# British Malaya
			custom_trigger_tooltip = {
				tooltip = form_majapahit_malaya_required_states_tt
				controls_state = 336
				controls_state = 333
				controls_state = 1339
				controls_state = 1340
				controls_state = 1021
			}
		}

		visible = {
			NOT = { has_global_flag = form_majapahit_empire_flag }
		}

		complete_effect = {
			set_cosmetic_tag = MAJ_UNIFIED
			# Dutch East Indies
			custom_effect_tooltip = form_country_nei_coring_states_tt
			hidden_effect = {
				672 = { add_core_of = ROOT }
				335 = { add_core_of = ROOT }
				334 = { add_core_of = ROOT }
				667 = { add_core_of = ROOT }
				673 = { add_core_of = ROOT }
				668 = { add_core_of = ROOT }
				667 = { add_core_of = ROOT }
				738 = { add_core_of = ROOT }
				669 = { add_core_of = ROOT }
			}
			# British Malaya
			custom_effect_tooltip = form_country_malaya_coring_states_tt
			hidden_effect = {
				336 = { add_core_of = ROOT }
				333 = { add_core_of = ROOT }
				1339 = { add_core_of = ROOT }
				1340 = { add_core_of = ROOT }
				1021 = { add_core_of = ROOT }
			}
			721 = { add_core_of = ROOT }
			hidden_effect = {
				news_event = { id = wtt_news.68 hours = 6 }
				set_global_flag = form_majapahit_empire_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	integrate_papua = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 523
				state = 979
			}
		}

		allowed = {
			
		}

		fire_only_once = yes

		available = {
			controls_state = 523
			controls_state = 979
		}

		visible = {
			has_global_flag = form_majapahit_empire_flag 
		}

		complete_effect = {
			523 = { add_core_of = ROOT }
			979 = { add_core_of = ROOT }
		}

		ai_will_do = {
			base = 200
		}
	}

	integrate_the_northern_malays = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 724
			}
		}

		allowed = {
			
		}

		fire_only_once = yes

		available = {
			controls_state = 724
		}

		visible = {
			has_global_flag = form_majapahit_empire_flag 
		}

		complete_effect = {
			724 = { add_core_of = ROOT }
		}

		ai_will_do = {
			base = 200
		}
	}

	integrate_the_philippines = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 623 
				state = 327
				state = 624
				state = 626
				state = 628
				state = 625
				state = 627
				state = 1025
				state = 1026
				state = 1027
			}
		}

		allowed = {
			
		}

		fire_only_once = yes

		available = {
			controls_state = 623 
			controls_state = 327
			controls_state = 624
			controls_state = 626
			controls_state = 628
			controls_state = 625
			controls_state = 627
			controls_state = 1025
			controls_state = 1026
			controls_state = 1027
		}

		visible = {
			has_global_flag = form_majapahit_empire_flag 
		}

		complete_effect = {
			623 = { add_core_of = ROOT }
			327 = { add_core_of = ROOT }
			624 = { add_core_of = ROOT }
			626 = { add_core_of = ROOT }
			628 = { add_core_of = ROOT }
			625 = { add_core_of = ROOT }
			627 = { add_core_of = ROOT }
			1025 = { add_core_of = ROOT }
			1026 = { add_core_of = ROOT }
			1027 = { add_core_of = ROOT }
		}

		ai_will_do = {
			base = 200
		}
	}

}

form_maphilindo_category = {
	form_maphilindo = {
		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 672
				state = 335
				state = 334
				state = 667
				state = 673
				state = 668
				state = 667
				state = 738
				state = 669
				state = 336
				state = 333
				state = 1023
				state = 1024
				state = 1022
				state = 623 
				state = 327
				state = 624
				state = 626
				state = 628
				state = 625
				state = 627
				state = 1025
				state = 1026
				state = 1027
			}
		}

		available = {
			# Dutch East Indies
			custom_trigger_tooltip = {
				tooltip = form_majapahit_nei_required_states_tt
				controls_state = 672
				controls_state = 335
				controls_state = 334
				controls_state = 667
				controls_state = 673
				controls_state = 668
				controls_state = 667
				controls_state = 738
				controls_state = 669
			}
			# British Malaya
			custom_trigger_tooltip = {
				tooltip = form_majapahit_malaya_required_states_tt
				controls_state = 336
				controls_state = 333
				controls_state = 1023
				controls_state = 1024
			}
			# Philippines
			custom_trigger_tooltip = {
				tooltip = form_maphilindo_philippines_required_states_tt
				controls_state = 623 
				controls_state = 327
				controls_state = 624
				controls_state = 626
				controls_state = 628
				controls_state = 625
				controls_state = 627
				controls_state = 1025
				controls_state = 1026
				controls_state = 1027
			}
		}

		fire_only_once = yes

		complete_effect = {
			set_cosmetic_tag = PHI_maphilindo_tag
			set_global_flag = PHI_maphilindo_flag
			# Dutch East Indies
			custom_effect_tooltip = form_country_nei_coring_states_tt
			hidden_effect = {
				672 = { add_core_of = ROOT }
				335 = { add_core_of = ROOT }
				334 = { add_core_of = ROOT }
				667 = { add_core_of = ROOT }
				673 = { add_core_of = ROOT }
				668 = { add_core_of = ROOT }
				667 = { add_core_of = ROOT }
				738 = { add_core_of = ROOT }
				669 = { add_core_of = ROOT }
				1022 = { add_core_of = ROOT }
			}
			# British Malaya
			custom_effect_tooltip = form_country_malaya_coring_states_tt
			hidden_effect = {
				336 = { add_core_of = ROOT }
				333 = { add_core_of = ROOT }
				1023 = { add_core_of = ROOT }
				1024 = { add_core_of = ROOT }
			}
			721 = { add_core_of = ROOT }
			711 = { add_core_of = ROOT }
			712 = { add_core_of = ROOT }
			1021 = { add_core_of = ROOT }
		}

		ai_will_do = {
			base = 200
		}
	}

	integrate_siam = {
		highlight_states = { 
			highlight_state_targets = {
				state = 289
				state = 868
				state = 869
				state = 724
			}
		}

		on_map_mode = decision_view_only

		available = {
			controls_state = 289
			controls_state = 868
			controls_state = 869
			controls_state = 724
		}

		visible = {
			has_global_flag = PHI_maphilindo_flag 
		}

		fire_only_once = yes

		ai_will_do = {
			base = 200
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_global_flag = PHI_ASEAN_flag
					}
				}
				set_global_flag = PHI_ASEAN_flag
				set_cosmetic_tag = PHI_asean_tag
			}
			289 = { add_core_of = ROOT }
			868 = { add_core_of = ROOT }
			869 = { add_core_of = ROOT }
			724 = { add_core_of = ROOT }
		}
	}

	integrate_indochina = {

		highlight_states = { 
			highlight_state_targets = {
				state = 670
				state = 671
				state = 1017
				state = 286
				state = 741
			}
		}

		on_map_mode = decision_view_only

		available = {
			controls_state = 670
			controls_state = 671
			controls_state = 1017
			controls_state = 286
			controls_state = 741
		}

		visible = {
			has_global_flag = PHI_maphilindo_flag 
		}

		fire_only_once = yes

		ai_will_do = {
			base = 200
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_global_flag = PHI_ASEAN_flag
					}
				}
				set_global_flag = PHI_ASEAN_flag
				set_cosmetic_tag = PHI_asean_tag
			}
			670 = { add_core_of = ROOT }
			671 = { add_core_of = ROOT }
			1017 = { add_core_of = ROOT }
			286 = { add_core_of = ROOT }
			741 = { add_core_of = ROOT }
		}
	}

	integrate_burma = {

		highlight_states = { 
			highlight_state_targets = {
				state = 998
				state = 288
				state = 997
				state = 996
				state = 640
				state = 999
				state = 993
				state = 995
				state = 994
			}
		}

		on_map_mode = decision_view_only

		available = {
			controls_state = 998
			controls_state = 288
			controls_state = 997
			controls_state = 996
			controls_state = 640
			controls_state = 999
			controls_state = 993
			controls_state = 995
			controls_state = 994
		}

		visible = {
			has_global_flag = PHI_maphilindo_flag 
		}

		fire_only_once = yes

		ai_will_do = {
			base = 200
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_global_flag = PHI_ASEAN_flag
					}
				}
				set_global_flag = PHI_ASEAN_flag
				set_cosmetic_tag = PHI_asean_tag
			}
			998 = { add_core_of = ROOT }
			288 = { add_core_of = ROOT }
			997 = { add_core_of = ROOT }
			996 = { add_core_of = ROOT }
			640 = { add_core_of = ROOT }
			999 = { add_core_of = ROOT }
			993 = { add_core_of = ROOT }
			995 = { add_core_of = ROOT }
			994 = { add_core_of = ROOT }
		}
	}
}

form_rattanakosin_kingdom_category = {

	form_rattanakosin_kingdom = {

		icon = generic_form_nation

		allowed = {
			original_tag = SIA
			has_dlc = "Waking the Tiger"
		}

		available = {
			is_subject = no
			# Siam
			controls_state = 289
			controls_state = 868
			controls_state = 869
			controls_state = 724
			# Cambodia
			controls_state = 741
			# Laos
			controls_state = 670
		}

		visible = {
			original_tag = SIA
			NOT = { has_global_flag = form_rattanakosin_kingdom_flag }
		}

		complete_effect = {
			set_cosmetic_tag = RAT_UNIFIED
			741 = { add_core_of = ROOT }
			670 = { add_core_of = ROOT }
			hidden_effect = {
				news_event = { id = wtt_news.69 hours = 6 }
				set_global_flag = form_rattanakosin_kingdom_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_hre_category = {

	form_hre = {

		icon = generic_form_nation

		allowed = {

			OR = {
				original_tag = GER
				AND = {
					original_tag = AUS 
					has_dlc = "Gotterdammerung"
				}
			}
			
		}

		available = {

			is_subject = no

			# Germany
			custom_trigger_tooltip = {
				tooltip = form_hre_germany_required_states_tt
				controls_state = 51
				controls_state = 1414
				controls_state = 42
				controls_state = 56
				controls_state = 57
				controls_state = 1413
				controls_state = 55
				controls_state = 50
				controls_state = 978 #BADEN
				controls_state = 59
				controls_state = 58
				controls_state = 909 #New state of SCHLESWIG
				controls_state = 60
				controls_state = 54
				controls_state = 52
				controls_state = 53
				controls_state = 61
				controls_state = 64
				controls_state = 65
				controls_state = 62
				controls_state = 68
				controls_state = 66
				controls_state = 67
				controls_state = 63
				controls_state = 1538
				controls_state = 1539
				controls_state = 1540
				controls_state = 1541
				controls_state = 1542
				controls_state = 1543
				controls_state = 1544
				controls_state = 1545
				controls_state = 1546
				controls_state = 1547
				controls_state = 1548
				controls_state = 1549
				controls_state = 1550
				controls_state = 1551
				controls_state = 1558
			}

			controls_state = 8
			controls_state = 28
			controls_state = 735
			controls_state = 1301
			controls_state = 1302
			controls_state = 1303
			controls_state = 1304
			controls_state = 1305
			controls_state = 1306
			controls_state = 69
			controls_state = 972
			controls_state = 1608
			controls_state = 9
			controls_state = 75
			controls_state = 74
			controls_state = 1555
			controls_state = 1556
			controls_state = 158
			controls_state = 1308
			controls_state = 159
			controls_state = 39
			controls_state = 850
			controls_state = 160
			controls_state = 1168
			controls_state = 161
			controls_state = 1408
			controls_state = 1409
			controls_state = 162
			controls_state = 736
			controls_state = 852
			controls_state = 102
			controls_state = 1169
			controls_state = 1708
			# Switzerland
			custom_trigger_tooltip = {
				tooltip = form_country_switzerland_required_states_tt
				controls_state = 3 #Swiss Plateau
				controls_state = 151 #Eastern Swiss Alps
				controls_state = 1507
				controls_state = 1508
				controls_state = 1509
				controls_state = 1510
				controls_state = 1511
				controls_state = 1512
				controls_state = 1513
				controls_state = 1515
				controls_state = 1516
				controls_state = 845 #Jura Mountains
				controls_state = 1514
				controls_state = 847 #Western Swiss Alps
				controls_state = 1506
				controls_state = 846 #Ticino
			}

			# Austria
			custom_trigger_tooltip = {
				tooltip = form_country_austria_required_states_tt
				controls_state = 848
				controls_state = 153
				controls_state = 152
				controls_state = 976
				controls_state = 1390
				controls_state = 4
				controls_state = 848 #Vorarlberg
				controls_state = 1553
				controls_state = 975
			}
			# Netherlands
			custom_trigger_tooltip = {
				tooltip = form_eu_netherlands_required_states_tt
				controls_state = 7
				controls_state = 1292
				controls_state = 35
				controls_state = 1297
				controls_state = 1293
				controls_state = 36
				controls_state = 1255
				controls_state = 1552
			}

			# Belgium
			custom_trigger_tooltip = {
				tooltip = form_eu_belgium_required_states_tt
				controls_state = 6
				controls_state = 34
				controls_state = 977
				controls_state = 980
				controls_state = 1250
			}
			
		}

		visible = {
			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				OR = {
					AND = {
						original_tag = GER
						has_completed_focus = GER_restore_the_holy_roman_empire
					}
					AND = {
						original_tag = AUS
						has_government = neutrality
						has_completed_focus = AUS_legacy_of_the_empire
						OR = {
							has_country_leader = {
								ruling_only = yes # default = yes
								character = AUS_ernst_rudiger_starhemberg
							}
							has_country_leader = {
								ruling_only = yes # default = yes
								character = AUS_alois_of_liechtenstein
							}
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					NOT = {
						has_dlc = "Gotterdammerung"
					}
				}
				AND = {
					original_tag = GER
					has_government = neutrality
					has_country_leader = { 
						ruling_only = yes 
						character = GER_victoria 
					}
				}
			}
			
			NOT = { has_global_flag = form_hre_flag }
		}

		complete_effect = {
			set_cosmetic_tag = HRE_UNIFIED
			8 = { add_core_of = ROOT }
			28 = { add_core_of = ROOT }
			735 = { add_core_of = ROOT }
			1301 = { add_core_of = ROOT }
			1302 = { add_core_of = ROOT }
			1303 = { add_core_of = ROOT }
			1304 = { add_core_of = ROOT }
			1305 = { add_core_of = ROOT }
			1306 = { add_core_of = ROOT }
			69 = { add_core_of = ROOT }
			9 = { add_core_of = ROOT }
			75 = { add_core_of = ROOT }
			74 = { add_core_of = ROOT }
			158 = { add_core_of = ROOT }
			1308 = { add_core_of = ROOT }
			159 = { add_core_of = ROOT }
			39 = { add_core_of = ROOT }
			160 = { add_core_of = ROOT }
			1168 = { add_core_of = ROOT }
			161 = { add_core_of = ROOT }
			1408 = { add_core_of = ROOT }
			1409 = { add_core_of = ROOT }
			162 = { add_core_of = ROOT }
			736 = { add_core_of = ROOT }
			850 = { add_core_of = ROOT }
			852 = { add_core_of = ROOT }
			1169 = { add_core_of = ROOT }
			1555 = { add_core_of = ROOT }
			1556 = { add_core_of = ROOT }
			1557 = { add_core_of = ROOT }
			1708 = { add_core_of = ROOT }

			#Germany
			custom_effect_tooltip = form_hre_germany_coring_states_tt
			hidden_effect = {
				51 = { add_core_of = ROOT }
				1414 = { add_core_of = ROOT }
				42 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
				1413 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				50 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				909 = { add_core_of = ROOT }
				60 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				64 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				1251 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				1253 = { add_core_of = ROOT }
				1254 = { add_core_of = ROOT }
				1268 = { add_core_of = ROOT }
				1269 = { add_core_of = ROOT }
				1270 = { add_core_of = ROOT }
				1538 = { add_core_of = ROOT }
				1539 = { add_core_of = ROOT }
				1540 = { add_core_of = ROOT }
				1541 = { add_core_of = ROOT }
				1542 = { add_core_of = ROOT }
				1543 = { add_core_of = ROOT }
				1544 = { add_core_of = ROOT }
				1545 = { add_core_of = ROOT }
				1546 = { add_core_of = ROOT }
				1547 = { add_core_of = ROOT }
				1548 = { add_core_of = ROOT }
				1549 = { add_core_of = ROOT }
				1550 = { add_core_of = ROOT }
				1551 = { add_core_of = ROOT }
				1558 = { add_core_of = ROOT }
			}
			
			# Switzerland
			custom_effect_tooltip = form_country_switzerland_coring_states_tt
			hidden_effect = {
				3 = { add_core_of = ROOT }
				151 = { add_core_of = ROOT }
				1507 = { add_core_of = ROOT }
				1508 = { add_core_of = ROOT }
				1509 = { add_core_of = ROOT }
				1510 = { add_core_of = ROOT }
				1511 = { add_core_of = ROOT }
				1512 = { add_core_of = ROOT }
				1513 = { add_core_of = ROOT }
				1515 = { add_core_of = ROOT }
				1516 = { add_core_of = ROOT }
				845 = { add_core_of = ROOT }
				1514 = { add_core_of = ROOT }
				847 = { add_core_of = ROOT }
				1506 = { add_core_of = ROOT }
				846 = { add_core_of = ROOT }
			}

			# Austria
			custom_effect_tooltip = form_country_austria_coring_states_tt
			hidden_effect = {
				848 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				976 = { add_core_of = ROOT }
				1390 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				1553 = { add_core_of = ROOT }
				975 = { add_core_of = ROOT }
			}
			# Netherlands
			custom_effect_tooltip = form_eu_netherlands_coring_states_tt
			hidden_effect = {
				7 = { add_core_of = ROOT }
				1292 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				1297 = { add_core_of = ROOT }
				1293 = { add_core_of = ROOT }
				36 = { add_core_of = ROOT }
				1255 = { add_core_of = ROOT }
				1552 = { add_core_of = ROOT }
			}

			# Belgium
			custom_effect_tooltip = form_eu_belgium_coring_states_tt
			hidden_effect = {
				6 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				977 = { add_core_of = ROOT }
				980 = { add_core_of = ROOT }
				1250 = { add_core_of = ROOT }
			}

			hidden_effect = {
				news_event = { id = wtt_news.70 hours = 6 }
				set_global_flag = form_hre_flag
			}

		}

		ai_will_do = {
			factor = 200
		}
	}
}

form_greater_german_reich_category = {

	form_greater_german_reich = {

		icon = generic_form_nation

		allowed = {
			original_tag = GER
			has_dlc = "Waking the Tiger"
		}

		cost = 25

		available = {
			is_subject = no
			16 = { #Paris
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			9 = { #Prague
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			10 = { #Warsaw
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			195 = { #Leningrad
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			219 = { #Moscow
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			217 = { #Stalingrad
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			all_owned_state = {
				is_fully_controlled_by = ROOT
			}
		}

		visible = {
			AND = {
				original_tag = GER
				has_government = fascism
				# Should be formable by other Nazis as well
				#has_country_leader = { 
				#	ruling_only = yes 
				#	character = GER_adolf_hitler 
				#}
			}
			NOT = { has_global_flag = form_greater_german_reich_flag }
			OR = {
				AND = {
					has_war_with = FRA
					FRA = { has_capitulated = yes }
				}
				AND = {
					owns_state = 16
					has_full_control_of_state = 16
				}
				219 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		complete_effect = {
			add_war_support = 0.05
			add_stability = 0.05
			
			if = {
				limit = {
					has_game_rule = {
						rule = uncensored_nsdap_symbols
						option = ENABLED
					}
				}
				set_cosmetic_tag = GER_UNCENSORED_greater_german_reich
			}
			else = {
				set_cosmetic_tag = GER_greater_german_reich
			}
			
			
			set_province_name = { 
				id = 13637
				name = VICTORY_POINTS_13637_GGR
			}	
			hidden_effect = {
				set_global_flag = form_greater_german_reich_flag
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					39 = { #Alto Adige
						NOT = { is_core_of = GER}
						any_neighbor_state = {
							is_core_of = GER
						}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						39 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 39
				}
			}
			if = {
				limit = {
					850 = { #Trentino
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					39 = { #Alto Adige needs to be in German control to gain a core on Trentino
						any_neighbor_state = {
							is_core_of = GER
						}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						850 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 850
				}
			}
			if = {
				limit = {
					3 = { #Swiss Plateau
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						3 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 3
				}
			}
			if = {
				limit = {
					847 = { #Western Swiss Alps
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						847 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 847
				}
			}
			if = {
				limit = {
					151 = { #Eastern Swiss Alps
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						151 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 151
				}
			}
			if = {
				limit = {
					1507 = {
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1507 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1507
				}
			}
			if = {
				limit = {
					1508 = {
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1508 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1508
				}
			}
			if = {
				limit = {
					1515 = {
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1515 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1515
				}
			}
			if = {
				limit = {
					1516 = {
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1516 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1516
				}
			}
			if = {
				limit = {
					85 = { #Danzig
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						85 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 85
				}
			}
			if = {
				limit = {
					807 = { #Gdynia
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						807 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 807
				}
			}
			if = {
				limit = {
					86 = { #Poznan
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						86 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 86
				}
			}
			if = {
				limit = {
					762 = { #Katowice
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						762 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 762
				}
			}
			if = {
				limit = {
					1554 = {
						NOT = { is_core_of = GER }
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1554 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1554
				}
			}
			if = {
				limit = {
					1389 = {
						NOT = { is_core_of = GER }
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1389 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1389
				}
			}
			if = {
				limit = {
					188 = {
						NOT = { is_core_of = GER }
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						188 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 188
				}
			}
			if = {
				limit = {
					1172 = {
						NOT = { is_core_of = GER }
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						1172 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 1172
				}
			}
			if = {
				limit = {
					912 = { #Sonderjylland
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				if = {
					limit = {
						912 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 912
				}
			}
			if = {
				limit = {
					102 = { #North Slovenia
						NOT = { is_core_of = GER}
						state_is_fully_controlled_by_ROOT_or_subject = yes
						any_neighbor_state = {
							is_core_of = GER
						}
					}
				}
				if = {
					limit = {
						102 = {
							state_is_fully_controlled_by_ROOT_or_subject = yes
						}
					}
					add_state_core = 102
				}
			}
		}

		ai_will_do = {
			factor = 200
		}
	}
}

form_greater_german_state_category = {

	form_greater_proletarian_state = {

		icon = generic_form_nation

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 8
				state = 7
				state = 35
				state = 36
				state = 6
				state = 34
				state = 977
				state = 980
				state = 29
				state = 18
				state = 1402
				state = 17
				state = 28
				state = 15
				state = 1403
				state = 16
				state = 1517
				state = 1518
				state = 1519
				state = 1520
				state = 27
				state = 1521
				state = 14
				state = 30
				state = 24
				state = 23
				state = 33
				state = 26
				state = 20
				state = 1522
				state = 32
				state = 735
				state = 1301
				state = 1302
				state = 1303
				state = 1304
				state = 1305
				state = 1306
				state = 25
				state = 22
				state = 21
				state = 851
				state = 19
				state = 20
				state = 1522
				state = 1
				state = 785
				state = 1401
				state = 31
				state = 1381
				state = 806
				state = 1257
				state = 1258
				state = 1259
				state = 51
				state = 1414
				state = 42
				state = 56
				state = 57
				state = 1413
				state = 55
				state = 50
				state = 978
				state = 59
				state = 58
				state = 909
				state = 60
				state = 54
				state = 52
				state = 53
				state = 61
				state = 64
				state = 65
				state = 62
				state = 68
				state = 66
				state = 67
				state = 63
				state = 5
				state = 1288
				state = 763
				state = 1249
				state = 1251
				state = 978
				state = 1253
				state = 1254
				state = 1268
				state = 1269
				state = 1270
				state = 1557
				state = 1701
				state = 1702
				state = 1538
				state = 1539
				state = 1540
				state = 1541
				state = 1542
				state = 1543
				state = 1544
				state = 1545
				state = 1546
				state = 1547
				state = 1548
				state = 1549
				state = 1550
				state = 1551
				state = 1558
				state = 1250
				state = 1552
				state = 1255
				state = 1292
				state = 1293
				state = 1297
				state = 127
				state = 123
				state = 338
				state = 126
				state = 125
				state = 129
				state = 128
				state = 122
				state = 132
				state = 130
				state = 931
				state = 131
				state = 133
				state = 121
				state = 136
				state = 120
			}
		}

		allowed = {
			has_dlc = "Gotterdammerung"
			original_tag = GER
		}

		visible = {
			is_major = yes
			has_completed_focus = GER_hegemony_over_europe
			NOT = { has_global_flag = form_greater_proletarian_state_flag }
		}

		available = {
			is_subject = no

			controls_state = 8

			# Netherlands
			custom_trigger_tooltip = {
				tooltip = form_eu_netherlands_required_states_tt
				controls_state = 7
				controls_state = 35
				controls_state = 36
			}

			# Belgium
			custom_trigger_tooltip = {
				tooltip = form_eu_belgium_required_states_tt
				controls_state = 6
				controls_state = 34
				controls_state = 977
				controls_state = 980
			}

			# France
			custom_trigger_tooltip = {
				tooltip = form_eu_france_required_states_tt
				controls_state = 29
				controls_state = 18
				controls_state = 1402
				controls_state = 17
				controls_state = 28
				controls_state = 15
				controls_state = 1403
				controls_state = 16
				controls_state = 1517
				controls_state = 1518
				controls_state = 1519
				controls_state = 1520
				controls_state = 27
				controls_state = 1521
				controls_state = 14
				controls_state = 30
				controls_state = 24
				controls_state = 23
				controls_state = 33
				controls_state = 26
				controls_state = 20
				controls_state = 1522
				controls_state = 32
				controls_state = 735
				controls_state = 1301
				controls_state = 1302
				controls_state = 1303
				controls_state = 1304
				controls_state = 1305
				controls_state = 1306
				controls_state = 25
				controls_state = 22
				controls_state = 21
				controls_state = 851
				controls_state = 19
				controls_state = 20
				controls_state = 1522
				controls_state = 1
				controls_state = 785
				controls_state = 1401
				controls_state = 31
				controls_state = 1381
				controls_state = 806
				controls_state = 1257
				controls_state = 1258
				controls_state = 1259
			}
			
			# Germany
			custom_trigger_tooltip = {
				tooltip = form_country_germany_required_states_tt
				controls_state = 51
				controls_state = 1414
				controls_state = 42
				controls_state = 56
				controls_state = 57
				controls_state = 1413
				controls_state = 55
				controls_state = 50
				controls_state = 978 #BADEN
				controls_state = 59
				controls_state = 58
				controls_state = 909 #New state of SCHLESWIG
				controls_state = 60
				controls_state = 54
				controls_state = 52
				controls_state = 53
				controls_state = 61
				controls_state = 64
				controls_state = 65
				controls_state = 62
				controls_state = 68
				controls_state = 66
				controls_state = 67
				controls_state = 63
				controls_state = 5
				controls_state = 1288
				controls_state = 763
				controls_state = 1249
				controls_state = 1251
				controls_state = 978
				controls_state = 1253
				controls_state = 1254
				controls_state = 1268
				controls_state = 1269
				controls_state = 1270
				controls_state = 1557
				controls_state = 1701
				controls_state = 1702
				controls_state = 1538
				controls_state = 1539
				controls_state = 1540
				controls_state = 1541
				controls_state = 1542
				controls_state = 1543
				controls_state = 1544
				controls_state = 1545
				controls_state = 1546
				controls_state = 1547
				controls_state = 1548
				controls_state = 1549
				controls_state = 1550
				controls_state = 1551
				controls_state = 1558
			}

			custom_trigger_tooltip = {
				tooltip = form_proletarian_state_british_mainland_required_states_tt
				controls_state = 127 # Sussex
				controls_state = 123 # South-West England
				controls_state = 338 # Gloustershire
				controls_state = 126 # Greater London Area
				controls_state = 125 # East Anglia
				controls_state = 129 # East Midlands
				controls_state = 128 # West Midlands
				controls_state = 122 # Wales
				controls_state = 132 # Lancashire
				controls_state = 130 # Yorkshire
				controls_state = 931 # Cumbria
				controls_state = 131 # Northumberland
				controls_state = 133 # Lanark
				controls_state = 121 # Lothian
				controls_state = 136 # Aberdeenshire
				controls_state = 120 # Scottish Highlands
			}
		}

		complete_effect = {
			set_global_flag = form_greater_proletarian_state_flag
			set_cosmetic_tag = GER_greater_proletarian_german_state

			custom_effect_tooltip = generic_skip_one_line_tt

			8 = { add_core_of = ROOT } # Luxembourg

			# Netherlands
			custom_effect_tooltip = form_eu_netherlands_coring_states_tt 
			hidden_effect = {
				7 = { add_core_of = ROOT } # Holland
				35 = { add_core_of = ROOT } # Brabant
				36 = { add_core_of = ROOT } # Friesland
				1552 = { add_core_of = ROOT }
				1255 = { add_core_of = ROOT }
				1292 = { add_core_of = ROOT }
				1293 = { add_core_of = ROOT }
				1297 = { add_core_of = ROOT }
			}

			# Belgium
			custom_effect_tooltip = form_eu_belgium_coring_states_tt
			hidden_effect = {
				6 = { add_core_of = ROOT } # Vlaanderen
				34 = { add_core_of = ROOT } # Wallonie
				977 = { add_core_of = ROOT } # Antwerp
				980 = { add_core_of = ROOT } # Ardennes
				1250 = { add_core_of = ROOT } # Ardennes
			}

			# France
			custom_effect_tooltip = form_eu_france_coring_states_tt
			hidden_effect = {
				29 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				1402 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				1403 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				1517 = { add_core_of = ROOT }
				1518 = { add_core_of = ROOT }
				1519 = { add_core_of = ROOT }
				1520 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				1521 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				1522 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				1301 = { add_core_of = ROOT }
				1302 = { add_core_of = ROOT }
				1303 = { add_core_of = ROOT }
				1304 = { add_core_of = ROOT }
				1305 = { add_core_of = ROOT }
				1306 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				851 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				1522 = { add_core_of = ROOT }
				1 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				1401 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				1381 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				1257 = { add_core_of = ROOT }
				1258 = { add_core_of = ROOT }
				1259 = { add_core_of = ROOT }
			}

			# Germany
			custom_effect_tooltip = form_country_germany_coring_states_tt
			hidden_effect = {
				51 = { add_core_of = ROOT }
				1414 = { add_core_of = ROOT }
				42 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
				1413 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				909 = { add_core_of = ROOT } #New state of SCHLESWIG
				60 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				64 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				5 = { add_core_of = ROOT }
				1288 = { add_core_of = ROOT }
				763 = { add_core_of = ROOT }
				1249 = { add_core_of = ROOT }
				1251 = { add_core_of = ROOT }
				978 = { add_core_of = ROOT }
				1253 = { add_core_of = ROOT }
				1254 = { add_core_of = ROOT }
				1268 = { add_core_of = ROOT }
				1269 = { add_core_of = ROOT }
				1270 = { add_core_of = ROOT }
				1557 = { add_core_of = ROOT }
				1701 = { add_core_of = ROOT }
				1702 = { add_core_of = ROOT }
				1538 = { add_core_of = ROOT }
				1539 = { add_core_of = ROOT }
				1540 = { add_core_of = ROOT }
				1541 = { add_core_of = ROOT }
				1542 = { add_core_of = ROOT }
				1543 = { add_core_of = ROOT }
				1544 = { add_core_of = ROOT }
				1545 = { add_core_of = ROOT }
				1546 = { add_core_of = ROOT }
				1547 = { add_core_of = ROOT }
				1548 = { add_core_of = ROOT }
				1549 = { add_core_of = ROOT }
				1550 = { add_core_of = ROOT }
				1551 = { add_core_of = ROOT }
				1558 = { add_core_of = ROOT }
			}

			# Britain
			custom_effect_tooltip = form_proletarian_state_british_mainland_coring_states_tt
			hidden_effect = {
				127 = { add_core_of = ROOT } # Sussex
				123 = { add_core_of = ROOT } # South-West England
				338 = { add_core_of = ROOT } # Gloustershire
				126 = { add_core_of = ROOT } # Greater London Area
				125 = { add_core_of = ROOT } # East Anglia
				129 = { add_core_of = ROOT } # East Midlands
				128 = { add_core_of = ROOT } # West Midlands
				122 = { add_core_of = ROOT } # Wales
				132 = { add_core_of = ROOT } # Lancashire
				130 = { add_core_of = ROOT } # Yorkshire
				931 = { add_core_of = ROOT } # Cumbria
				131 = { add_core_of = ROOT } # Northumberland
				133 = { add_core_of = ROOT } # Lanark
				121 = { add_core_of = ROOT } # Lothian
				136 = { add_core_of = ROOT } # Aberdeenshire
				120 = { add_core_of = ROOT } # Scottish Highlands
			}			

			hidden_effect = {
				news_event = { id = GOT_newsevents.1 hours = 6 }
				set_global_flag = form_greater_proletarian_state_flag
			}
		}
		ai_will_do = {
			base = 200
		}
	}
}

form_andalusia_category = {
	
	form_andalusia = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = MOR
				original_tag = ALG
				original_tag = TUN
				original_tag = WES
				original_tag = LBA
				original_tag = RIF
			}
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			# Spain
			controls_state = 173
			controls_state = 789
			controls_state = 168
			controls_state = 167
			controls_state = 175
			controls_state = 170
			controls_state = 169
			# Portugal
			controls_state = 179
			controls_state = 795
		}

		visible = {
			OR = {
				original_tag = MOR
				original_tag = ALG
				original_tag = TUN
				original_tag = WES
				original_tag = LBA
				original_tag = RIF
			}
			NOT = { has_global_flag = form_andalusia_flag }
			ADU = { exists = no }
		}

		complete_effect = {
			set_cosmetic_tag = ADU
			# Andalusia
			custom_effect_tooltip = form_country_andalusia_coring_states_tt
			hidden_effect = {
				165 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				41 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				1486 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				178 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				1485 = { add_core_of = ROOT }
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				697 = { add_core_of = ROOT }
				698 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
				118 = { add_core_of = ROOT }
				set_capital = { state = 789 }
			}
			hidden_effect = {
				news_event = { id = lar_news.281 hours = 6 }
				set_global_flag = form_andalusia_flag
				set_country_flag = country_formed_andalusia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	adu_restore_sultanate_of_africa = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = north_africa_needed_tooltip
				#Morocco
				controls_state = 290
				controls_state = 461
				controls_state = 462
				controls_state = 783
				#Tunisia
				controls_state = 458
				controls_state = 665
				#Algeria
				controls_state = 459
				controls_state = 460
				controls_state = 513
				#Libya
				controls_state = 448
				controls_state = 449
				controls_state = 450
				controls_state = 451
				controls_state = 661
				controls_state = 662
				controls_state = 663
			}
		}

		visible = {
			has_country_flag = country_formed_andalusia_flag
			NOT = { has_global_flag = sultanate_of_africa_flag }
			has_dlc = "La Resistance"
		}

		complete_effect = {
			# North Africa
			custom_effect_tooltip = coring_north_africa_tt
			hidden_effect = {
				#Morocco
				290 = { add_core_of = ROOT }
				461 = { add_core_of = ROOT }
				462 = { add_core_of = ROOT }
				783 = { add_core_of = ROOT }
				#Tunisia
				458 = { add_core_of = ROOT }
				665 = { add_core_of = ROOT }
				#Western Sahara
				699 = { add_core_of = ROOT }
				#Algeria
				459 = { add_core_of = ROOT }
				460 = { add_core_of = ROOT }
				513 = { add_core_of = ROOT }
				514 = { add_core_of = ROOT }
				#Libya
				273 = { add_core_of = ROOT }
				448 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
				set_global_flag = sultanate_of_africa_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	adu_mediterrenean_emirates = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			# Med Islands
				#Sicily
				controls_state = 115
				#Malta
				controls_state = 116
				#Rhodes
				controls_state = 164
				#Crete
				controls_state = 182
				#Cyprus
				controls_state = 183
				#Corfu
				controls_state = 1319
		}

		visible = {
			has_country_flag = country_formed_andalusia_flag
			NOT = { has_global_flag = emirate_of_sicily_flag }
			has_dlc = "La Resistance"
		}

		complete_effect = {
			# Med Islands
				#Sicily
				115 = { add_core_of = ROOT }
				#Malta
				116 = { add_core_of = ROOT }
				#Rhodes
				164 = { add_core_of = ROOT }
				#Crete
				182 = { add_core_of = ROOT }
				#Cyprus
				183 = { add_core_of = ROOT }
				#Sardinia and Corsica
				114 = { add_core_of = ROOT }
				1 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
				
				hidden_effect = { set_global_flag = emirate_of_sicily_flag }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	adu_restore_umayyad_caliphate = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1049
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
			# Saudi Arabia
			custom_trigger_tooltip = {
				tooltip = form_country_saudi_required_states_tt
				controls_state = 292
				controls_state = 679
				controls_state = 678
				controls_state = 857
				controls_state = 858
				controls_state = 854
				controls_state = 855
				controls_state = 856
				controls_state = 859
				controls_state = 1053
				controls_state = 1054
				controls_state = 1055
			}
			# France
			custom_trigger_tooltip = {
				tooltip = form_persia_france_required_states_tt
				# Syria
				controls_state = 677
				controls_state = 680
				controls_state = 1330
				controls_state = 553
				controls_state = 554
				controls_state = 799
				controls_state = 1050
				controls_state = 1136
			}
			custom_trigger_tooltip = {
				tooltip = form_country_egypt_required_states_tt
				controls_state = 552
				controls_state = 453
				controls_state = 456
				controls_state = 446
				controls_state = 907
				controls_state = 457
				controls_state = 452
				controls_state = 447
			}
			controls_state = 679
			controls_state = 293
			controls_state = 294
			controls_state = 1015
			controls_state = 1016
			controls_state = 454
			controls_state = 1133
			controls_state = 1134
			controls_state = 1135
			controls_state = 1137
			controls_state = 1138
			controls_state = 1139
			controls_state = 1140
			controls_state = 455
			controls_state = 1051
			controls_state = 1052
			controls_state = 656
			controls_state = 658
			controls_state = 1013
			controls_state = 765
			controls_state = 659
			controls_state = 992
			controls_state = 906
		}

		visible = {
			has_country_flag = country_formed_andalusia_flag
			has_global_flag = emirate_of_sicily_flag
			has_global_flag = sultanate_of_africa_flag
			NOT = { has_global_flag = restored_umayyad_flag }
			has_dlc = "La Resistance"
		}

		complete_effect = {
			custom_effect_tooltip = middle_east_coring_states_tt
			hidden_effect = {
				# Iraq
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1049 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
				# Saudi Arabia
				292 = { add_core_of = ROOT }
				679 = { add_core_of = ROOT }
				678 = { add_core_of = ROOT }
				857 = { add_core_of = ROOT }
				858 = { add_core_of = ROOT }
				854 = { add_core_of = ROOT }
				855 = { add_core_of = ROOT }
				856 = { add_core_of = ROOT }
				859 = { add_core_of = ROOT }
				1053 = { add_core_of = ROOT }
				1054 = { add_core_of = ROOT }
				1055 = { add_core_of = ROOT }
				# French Arabia
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				679 = { add_core_of = ROOT }
				293 = { add_core_of = ROOT }
				294 = { add_core_of = ROOT }
				1015 = { add_core_of = ROOT }
				1016 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				1051 = { add_core_of = ROOT }
				1052 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				658 = { add_core_of = ROOT }
				1013 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				765 = { add_core_of = ROOT }
				659 = { add_core_of = ROOT }
				992 = { add_core_of = ROOT }
				906 = { add_core_of = ROOT }
				1050 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
				# Egypt
				552 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				452 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				907 = { add_core_of = ROOT }
				set_global_flag = restored_umayyad_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	adu_recreate_rashid_expansion = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			# Iran
			custom_trigger_tooltip = {
				tooltip = form_country_iran_required_states_tt
				controls_state = 419
				controls_state = 421
				controls_state = 420
				controls_state = 417
				controls_state = 413
				controls_state = 266
				controls_state = 418
				controls_state = 411
				controls_state = 412
				controls_state = 416
				controls_state = 414
				controls_state = 410
				controls_state = 1000
				controls_state = 1001
				controls_state = 1002
				controls_state = 1003
				controls_state = 1004
			}
			# Afghanistan
			custom_trigger_tooltip = {
				tooltip = form_country_afghanistan_required_states_tt
				controls_state = 415
				controls_state = 267
				controls_state = 1005
				controls_state = 1006
				controls_state = 1007
				controls_state = 1008
				controls_state = 1009
			}
			# Pakistan
			custom_trigger_tooltip = {
				tooltip = form_country_pakistani_required_states_tt
				controls_state = 787
				controls_state = 445
				controls_state = 442
				controls_state = 444
				controls_state = 440
				controls_state = 443
			}
			
		}

		visible = {
			has_country_flag = country_formed_andalusia_flag
			has_global_flag = restored_umayyad_flag
			NOT = { has_global_flag = restored_rashid_flag }
			has_dlc = "La Resistance"
		}

		complete_effect = {
			# Iran
			custom_effect_tooltip = form_country_iran_coring_states_tt
			hidden_effect = {
				419 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				1000 = { add_core_of = ROOT }
				1001 = { add_core_of = ROOT }
				1002 = { add_core_of = ROOT }
				1003 = { add_core_of = ROOT }
				1004 = { add_core_of = ROOT }
			}
			# Afghanistan
			custom_effect_tooltip = form_country_afghanistan_coring_states_tt
			hidden_effect = {
				415 = { add_core_of = ROOT }
				267 = { add_core_of = ROOT }
				1005 = { add_core_of = ROOT }
				1006 = { add_core_of = ROOT }
				1007 = { add_core_of = ROOT }
				1008 = { add_core_of = ROOT }
				1009 = { add_core_of = ROOT }
			}
			# Pakistan
			custom_effect_tooltip = form_country_pakistan_coring_states_tt
			hidden_effect = {
				787 = { add_core_of = ROOT }
				445 = { add_core_of = ROOT }
				442 = { add_core_of = ROOT }
				444 = { add_core_of = ROOT }
				440 = { add_core_of = ROOT }
				441 = { add_core_of = ROOT }
				443 = { add_core_of = ROOT }
			}
			hidden_effect = { set_global_flag = restored_rashid_flag }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	adu_northern_expansion = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			# Azerbaijan
			controls_state = 229
			# Armenia
			controls_state = 230
			# Georgia
			controls_state = 231
			# Northern Caucasus
			controls_state = 232
			controls_state = 233
			controls_state = 821
			controls_state = 828
			controls_state = 827
			controls_state = 826
			# Turkey
			controls_state = 350
			controls_state = 352
			controls_state = 353
			controls_state = 354
			controls_state = 800
			controls_state = 1286
			
			controls_state = 1057
			controls_state = 1118
			controls_state = 1119
			controls_state = 1120
			controls_state = 1121
			controls_state = 1122
			controls_state = 1123
			controls_state = 1124
			controls_state = 1125
			controls_state = 1126
			controls_state = 1127
		}

		visible = {
			has_country_flag = country_formed_andalusia_flag
			has_global_flag = restored_umayyad_flag
			NOT = { has_global_flag = andalusia_north_expansion_flag }
			has_dlc = "La Resistance"
		}

		complete_effect = {
			# Azerbaijan
			229 = { add_core_of = ROOT }
			# Armenia
			230 = { add_core_of = ROOT }
			# Georgia
			231 = { add_core_of = ROOT }
			# Northern Caucasus
			232 = { add_core_of = ROOT }
			233 = { add_core_of = ROOT }
			821 = { add_core_of = ROOT }
			828 = { add_core_of = ROOT }
			827 = { add_core_of = ROOT }
			826 = { add_core_of = ROOT }
			# Turkey
			350 = { add_core_of = ROOT }
			352 = { add_core_of = ROOT }
			353 = { add_core_of = ROOT }
			354 = { add_core_of = ROOT }
			800 = { add_core_of = ROOT }
			1286 = { add_core_of = ROOT }
			
			1057 = { add_core_of = ROOT }
			1118 = { add_core_of = ROOT }
			1119 = { add_core_of = ROOT }
			1120 = { add_core_of = ROOT }
			1121 = { add_core_of = ROOT }
			1122 = { add_core_of = ROOT }
			1123 = { add_core_of = ROOT }
			1124 = { add_core_of = ROOT }
			1125 = { add_core_of = ROOT }
			1126 = { add_core_of = ROOT }
			1127 = { add_core_of = ROOT }
			hidden_effect = { set_global_flag = andalusia_north_expansion_flag }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_polynesia_category = {
	
	form_polynesia = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = HAW
				original_tag = TAH
				original_tag = GUM
				original_tag = FSM
				original_tag = SAM
				original_tag = SOL
				original_tag = FIJ
				original_tag = NZL
				original_tag = RAP
			}
		}

		available = {
			OR = {
				is_subject = no
				has_autonomy_state = autonomy_dominion #New Zealand should be able to do it
			}
			# Polynesia
			controls_state = 284 #North Island
			controls_state = 629 #Hawaii
			controls_state = 684 #Caroline Islands
			controls_state = 638 #Guam
			controls_state = 641 #Tahiti
			controls_state = 646 #Saipan
			controls_state = 723 #South Island
			controls_state = 726 #Samoa
		}

		visible = {
			OR = {
				original_tag = HAW
				original_tag = TAH
				original_tag = GUM
				original_tag = FSM
				original_tag = SAM
				original_tag = SOL
				original_tag = FIJ
				original_tag = NZL
				original_tag = RAP
			}
			NOT = { has_global_flag = form_polynesia_flag }
		}

		complete_effect = {
			set_cosmetic_tag = united_polynesia
			# Polynesia
			custom_effect_tooltip = form_country_polynesia_coring_states_tt
			hidden_effect = {
				284 = { add_core_of = ROOT }
				524 = { add_core_of = ROOT } #Taiwan
				629 = { add_core_of = ROOT }
				630 = { add_core_of = ROOT }
				631 = { add_core_of = ROOT }
				632 = { add_core_of = ROOT }
				633 = { add_core_of = ROOT }
				634 = { add_core_of = ROOT }
				635 = { add_core_of = ROOT }
				636 = { add_core_of = ROOT }
				638 = { add_core_of = ROOT }
				639 = { add_core_of = ROOT }
				641 = { add_core_of = ROOT }
				642 = { add_core_of = ROOT }
				643 = { add_core_of = ROOT }
				645 = { add_core_of = ROOT } #Iwo Jima
				646 = { add_core_of = ROOT }
				647 = { add_core_of = ROOT }
				648 = { add_core_of = ROOT }
				684 = { add_core_of = ROOT }
				723 = { add_core_of = ROOT }
				725 = { add_core_of = ROOT }
				726 = { add_core_of = ROOT }
				727 = { add_core_of = ROOT }
				734 = { add_core_of = ROOT }
				270 = { add_core_of = ROOT } # Pitcairn
				948 = { add_core_of = ROOT } # Easter Island
			}
			hidden_effect = {
				news_event = { id = lar_news.291 hours = 6 }
				set_global_flag = form_polynesia_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	NZL_demand_islands = {

		icon = generic_form_nation

		allowed = {
			original_tag = NZL
		}

		available = {
			OR = {
				is_subject = no
				has_autonomy_state = autonomy_dominion #New Zealand should be able to do it
			}
			has_completed_focus = NZL_maori_volunteers
			hidden_trigger = {
				NOT = { has_country_flag = is_demanding_flag }
				any_country = {
					NOT = { tag = ROOT }
					is_in_faction_with = ROOT
					NOT = {
						OR = {
							original_tag = HAW
							original_tag = TAH
							original_tag = GUM
							original_tag = FSM
							original_tag = SAM
							original_tag = SOL
							original_tag = FIJ
							original_tag = NZL
						}
					}
					OR = {
						controls_state = 284
						controls_state = 629
						controls_state = 630
						controls_state = 631
						controls_state = 632
						controls_state = 633
						controls_state = 634
						controls_state = 635
						controls_state = 636
						controls_state = 638
						controls_state = 639
						controls_state = 641
						controls_state = 642
						controls_state = 643
						controls_state = 645 #Iwo Jima
						controls_state = 646
						controls_state = 647
						controls_state = 648
						controls_state = 684
						controls_state = 723
						controls_state = 725
						controls_state = 726
						controls_state = 727
						controls_state = 734
					}
					NOT = { has_country_flag = has_been_asked_for_islands_flag }
				}
			}
		}

		visible = {
			original_tag = NZL
			NOT = { has_global_flag = form_polynesia_flag }
			has_completed_focus = NZL_maori_volunteers
			hidden_trigger = {
				NOT = { has_country_flag = is_demanding_flag }
				any_country = {
					NOT = { tag = ROOT }
					is_in_faction_with = ROOT
					NOT = {
						OR = {
							original_tag = HAW
							original_tag = TAH
							original_tag = GUM
							original_tag = FSM
							original_tag = SAM
							original_tag = SOL
							original_tag = FIJ
							original_tag = NZL
						}
					}
					OR = {
						controls_state = 284
						controls_state = 629
						controls_state = 630
						controls_state = 631
						controls_state = 632
						controls_state = 633
						controls_state = 634
						controls_state = 635
						controls_state = 636
						controls_state = 638
						controls_state = 639
						controls_state = 641
						controls_state = 642
						controls_state = 643
						controls_state = 645 #Iwo Jima
						controls_state = 646
						controls_state = 647
						controls_state = 648
						controls_state = 684
						controls_state = 723
						controls_state = 725
						controls_state = 726
						controls_state = 727
						controls_state = 734
					}
					NOT = { has_country_flag = has_been_asked_for_islands_flag }
				}
			}
		}

		complete_effect = {
			random_country = {
				limit = {
					NOT = { tag = ROOT }
					is_in_faction_with = ROOT
					NOT = {
						OR = {
							original_tag = HAW
							original_tag = TAH
							original_tag = GUM
							original_tag = FSM
							original_tag = SAM
							original_tag = SOL
							original_tag = FIJ
							original_tag = NZL
						}
					}
					OR = {
						controls_state = 284
						controls_state = 629
						controls_state = 630
						controls_state = 631
						controls_state = 632
						controls_state = 633
						controls_state = 634
						controls_state = 635
						controls_state = 636
						controls_state = 638
						controls_state = 639
						controls_state = 641
						controls_state = 642
						controls_state = 643
						controls_state = 645 #Iwo Jima
						controls_state = 646
						controls_state = 647
						controls_state = 648
						controls_state = 684
						controls_state = 723
						controls_state = 725
						controls_state = 726
						controls_state = 727
						controls_state = 734
					}
					hidden_trigger = { NOT = { has_country_flag = has_been_asked_for_islands_flag } }
				}
				save_event_target_as = new_zealand_island_demand_target
			}
			event_target:new_zealand_island_demand_target = {
				country_event = { id = tfv_new_zealand.9 days = 3 }
				set_country_flag = has_been_asked_for_islands_flag
			}
		}

		ai_will_do = {
			factor = 0
		}
	}
}

form_greater_greece_category = {

	form_greater_greece = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			if = { 
				limit = {
					has_government = democratic
				}
				has_completed_focus = GRE_nenikikamen
			}
			# Greece
			custom_trigger_tooltip = {
				tooltip = form_country_greece_required_states_tt
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 47
				controls_state = 186
				controls_state = 184
				controls_state = 187
				controls_state = 182
				controls_state = 1319
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkish_coastal_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 340
				controls_state = 339
				controls_state = 347
				controls_state = 1266
			}
			# Dodecanese
			if = {
				limit = {
					NOT = { has_government = democratic }
				}
				custom_trigger_tooltip = {
					tooltip = form_country_dodecanese_required_state_tt
					controls_state = 164
				}
			}
			# Cyprus
			if = {
				limit = {
					NOT = { has_government = democratic }
				}
				custom_trigger_tooltip = {
					tooltip = form_country_cyprus_required_state_tt
					controls_state = 183
				}
			}
		}

		visible = {
			NOT = { has_global_flag = form_greater_greece_flag }
			OR = { 
				AND = {
					has_completed_focus = GRE_the_modern_movement
					has_country_leader = {
						character = GRE_ioannis_metaxas
						ruling_only = yes
					}
				}
				AND = { 
					has_completed_focus = GRE_resurrecting_the_megali_idea
					NOT = { 
						has_country_leader = {
							character = GRE_georgios_kosmidis
							ruling_only = yes
						}
					}
				}
				has_completed_focus = GRE_prepare_for_the_great_anti_fascist_war
			}
		}

		complete_effect = {
			set_country_flag = GRE_GREATER_GREECE_flag
			GRE_set_appropriate_cosmetic_tag = yes
			# Greece
			custom_effect_tooltip = form_country_greece_coring_states_tt
			hidden_effect = {
				185 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				1607 = { add_core_of = ROOT }
				47 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
				183 = { add_core_of = ROOT }
				1319 = { add_core_of = ROOT }
			}
			# Turkey
			custom_effect_tooltip = form_country_turkish_coast_coring_states_tt
			hidden_effect = {
				340 = { add_core_of = ROOT }
				340 = { set_state_name = "Prousa" }
				set_province_name = { id = 947 name = "Prousa" } 
				set_province_name = { id = 947 name = "Palaeokastron" }
				341 = { add_core_of = ROOT }
				341 = { set_state_name = "Thrace" }
				set_province_name = { id = 11842 name = "Adrianople" }
				1266 = { add_core_of = ROOT }
				1266 = { set_state_name = "Tzarylus" }
				set_province_name = { id = 6895 name = "Tzarylus" }
				797 = { add_core_of = ROOT }
				797 = { set_state_name = "Constantinople" }
				1223 = { add_core_of = ROOT }
				1223 = { set_state_name = "East Constantinople" }
				set_province_name = { id = 9833 name = "Constantinople" }
				184 = { set_state_name = "Eastern Macedonia" }
				339 = { add_core_of = ROOT }
				339 = { set_state_name = "Smyrni" }
				set_province_name = { id = 4112 name = "Smyrna" }
				set_province_name = { id = 928 name = "Magnesia" }
				347 = { add_core_of = ROOT }
				347 = { set_state_name = "Nikomedeia" }
				set_province_name = { id = 11811 name = "Nikomedeia" }
				set_province_name = { id = 904 name = "Kieros" }
				if = {
					limit = {
						controls_state = 342
					}
					342 = { add_core_of = ROOT }
					342 = { set_state_name = "Attalis" }
					set_province_name = { id = 1005 name = "Attaleia" }
				}
			}
			# Cyprus
			custom_effect_tooltip = form_country_cyprus_coring_state_tt
			hidden_effect = {
				183 = { add_core_of = ROOT }
			}
			hidden_effect = {
				805 = { add_core_of = ROOT }
			}
			hidden_effect = {
				if = {
					limit = {
						has_government = democratic
					}
					news_event = { id = bftb_news.302 hours = 6 } 
				}
				set_global_flag = form_greater_greece_flag
				set_country_flag = achivement_istanbul_is_constantinople_again
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	GRE_appoint_aristotle_onassis_as_prime_minister = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			AND = {
				has_government = democratic
				has_completed_focus = GRE_nenikikamen
			}
		}

		visible = {
			has_global_flag = form_greater_greece_flag
		}

		fire_only_once = yes

		complete_effect = {
			retire_country_leader = yes
			add_country_leader_role = {
				character = GRE_aristotle_onassis
				country_leader = {
					expire = "1965.1.1"
					ideology = liberalism
					traits = {
						the_young_magnate
					}
				}
				promote_leader = yes
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	rename_antalya = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			if = { 
				limit = {
					has_government = democratic
				}
				has_completed_focus = GRE_nenikikamen
			}
			controls_state = 342
			# Dodecanese
			custom_trigger_tooltip = {
				tooltip = form_country_dodecanese_required_state_tt
				controls_state = 164
			}
		}

		visible = {
			has_global_flag = form_greater_greece_flag
			NOT = { 342 = { is_core_of = ROOT } }
		}

		fire_only_once = yes

		complete_effect = {
			add_stability = 0.05
			add_war_support = 0.05
			342 = { add_core_of = ROOT }
			342 = { set_state_name = "Attalis" }
			set_province_name = { id = 1005 name = "Attaleia" }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	rename_gjirokaster = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			if = { 
				limit = {
					has_government = democratic
				}
				has_completed_focus = GRE_nenikikamen
			}
			controls_state = 805
		}

		visible = {
			has_global_flag = form_greater_greece_flag
		}

		fire_only_once = yes

		complete_effect = {
			add_stability = 0.05
			add_war_support = 0.05
			set_province_name = { id = 914 name = "Argyrokastro" }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	move_capital_to_constantinople = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			if = { 
				limit = {
					has_government = democratic
				}
				has_completed_focus = GRE_nenikikamen
			}
			controls_state = 797
		}

		visible = {
			has_global_flag = form_greater_greece_flag
			NOT = { has_country_flag = GRE_chose_a_new_capital_city }
		}

		fire_only_once = yes

		complete_effect = {
			add_war_support = 0.05
			set_capital = { state = 797 }
			hidden_effect = {
				set_country_flag = GRE_chose_a_new_capital_city
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	move_capital_to_thessaloniki = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			if = { 
				limit = {
					has_government = democratic
				}
				has_completed_focus = GRE_nenikikamen
			}
			controls_state = 797
		}

		visible = {
			has_global_flag = form_greater_greece_flag
			NOT = { has_country_flag = GRE_chose_a_new_capital_city }
		}

		fire_only_once = yes

		complete_effect = {
			add_stability = 0.1
			set_capital = { state = 731 }
			hidden_effect = {
				set_country_flag = GRE_chose_a_new_capital_city
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_macedonian_empire_category = {

	form_macedonian_empire = {

		icon = generic_form_nation

		allowed = {
			original_tag = GRE
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			# Greece
			custom_trigger_tooltip = {
				tooltip = form_country_greece_required_states_tt
				controls_state = 185
				controls_state = 731
				controls_state = 1607
				controls_state = 47
				controls_state = 186
				controls_state = 184
				controls_state = 187
				controls_state = 182
				controls_state = 1319
			}
			# Macedonia [ Bulgaria / Yugoslav Macedonia / Albania ]
			custom_trigger_tooltip = {
				tooltip = form_country_southern_yugoslavia_required_states_tt
				controls_state = 48
				controls_state = 212
				controls_state = 801
				controls_state = 211
				controls_state = 106
				controls_state = 970
				controls_state = 1412
				controls_state = 1307
				controls_state = 1298
				controls_state = 803
				controls_state = 1411
				controls_state = 1299
				controls_state = 1300
				controls_state = 105
				controls_state = 44
				controls_state = 805
				controls_state = 934
				controls_state = 1719
				controls_state = 1720
				controls_state = 1260
				controls_state = 1047
			}
			# Iran
			custom_trigger_tooltip = {
				tooltip = form_country_iran_required_states_tt
				controls_state = 419
				controls_state = 421
				controls_state = 420
				controls_state = 417
				controls_state = 413
				controls_state = 266
				controls_state = 418
				controls_state = 411
				controls_state = 412
				controls_state = 416
				controls_state = 414
				controls_state = 410
				controls_state = 1000
				controls_state = 1001
				controls_state = 1002
				controls_state = 1003
				controls_state = 1004
			}
			# Afghanistan
			custom_trigger_tooltip = {
				tooltip = form_country_afghanistan_required_states_tt
				controls_state = 415
				controls_state = 267
				controls_state = 1005
				controls_state = 1006
				controls_state = 1007
				controls_state = 1008
				controls_state = 1009
			}
			# Central Asia
			custom_trigger_tooltip = {
				tooltip = form_country_southern_central_asia_required_states_tt
				controls_state = 742 # Tajikistan
				controls_state = 405 # Uzbekistan
				controls_state = 732 # Kyrgyzstan
			}
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_iraq_required_states_tt
				controls_state = 676
				controls_state = 675
				controls_state = 291
				controls_state = 1010
				controls_state = 1011
				controls_state = 1049
				controls_state = 1276
				controls_state = 1277
				controls_state = 1011
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
				controls_state = 1283
				controls_state = 1284
				controls_state = 1285
			}
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 341
				controls_state = 340
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 797
				controls_state = 1223
				controls_state = 798
				controls_state = 799
				controls_state = 800
				controls_state = 1287
				controls_state = 1266
			}
			# France: Syria
			custom_trigger_tooltip = {
				tooltip = form_persia_france_required_states_tt
				controls_state = 677
				controls_state = 680
				controls_state = 1330
				controls_state = 553
				controls_state = 554
				controls_state = 1050
				controls_state = 1136
			}
			# Britain: Egypt
			custom_trigger_tooltip = {
				tooltip = form_country_egypt_required_states_tt
				controls_state = 452
				controls_state = 447
				controls_state = 446
				controls_state = 456
				controls_state = 453
				controls_state = 457
				controls_state = 907
			}
			# Britain: Levant / Kuwait
			custom_trigger_tooltip = {
				tooltip = form_country_british_levant_required_states_tt
				controls_state = 454
				controls_state = 455
				controls_state = 1051
				controls_state = 1052
				controls_state = 656
				controls_state = 1133
				controls_state = 1134
				controls_state = 1135
				controls_state = 1137
				controls_state = 1138
				controls_state = 1139
				controls_state = 1140
			}
			# Raj / Punjab
			custom_trigger_tooltip = {
				tooltip = form_country_punjab_required_states_tt
				controls_state = 440
				controls_state = 443
				controls_state = 441
				controls_state = 787
				controls_state = 442
				controls_state = 445
				controls_state = 444
			}
		}

		visible = {
			original_tag = GRE
			OR = {
				AND = {
					has_completed_focus = GRE_moulding_the_new_world_order
					has_country_leader = {
						character = GRE_george_mercouris
						ruling_only = yes
					}
				}
				AND = {
					has_completed_focus = GRE_protectors_of_the_mediterranean
					has_country_leader = {
						name = "George II"
						ruling_only = yes
					}
				}
			}
			NOT = { has_global_flag = form_macedonian_empire_flag }
		}

		complete_effect = {
			set_country_flag = GRE_mae_flag
			GRE_set_appropriate_cosmetic_tag = yes
			# Iran
			custom_effect_tooltip = form_country_iran_coring_states_tt
			hidden_effect = {
				419 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				1000 = { add_core_of = ROOT }
				1001 = { add_core_of = ROOT }
				1002 = { add_core_of = ROOT }
				1003 = { add_core_of = ROOT }
				1004 = { add_core_of = ROOT }
			}
			# Afghanistan
			custom_effect_tooltip = form_country_afghanistan_coring_states_tt
			hidden_effect = {
				415 = { add_core_of = ROOT }
				267 = { add_core_of = ROOT }
				1005 = { add_core_of = ROOT }
				1006 = { add_core_of = ROOT }
				1007 = { add_core_of = ROOT }
				1008 = { add_core_of = ROOT }
				1009 = { add_core_of = ROOT }
			}
			# Iraq
			custom_effect_tooltip = form_country_iraq_coring_states_tt
			hidden_effect = {
				676 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				1010 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1049 = { add_core_of = ROOT }
				1276 = { add_core_of = ROOT }
				1277 = { add_core_of = ROOT }
				1011 = { add_core_of = ROOT }
				1279 = { add_core_of = ROOT }
				1280 = { add_core_of = ROOT }
				1281 = { add_core_of = ROOT }
				1282 = { add_core_of = ROOT }
				1283 = { add_core_of = ROOT }
				1284 = { add_core_of = ROOT }
				1285 = { add_core_of = ROOT }
			}
			# Turkey
			custom_effect_tooltip = form_country_turkey_coring_states_tt
			hidden_effect = {
				341 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				1286 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				1223 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				1287 = { add_core_of = ROOT }
				1266 = { add_core_of = ROOT }
			}
			# France
			custom_effect_tooltip = form_persia_france_coring_states_tt
			hidden_effect = {
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				1330 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				1050 = { add_core_of = ROOT }
				1136 = { add_core_of = ROOT }
			}
			# Italy
			custom_effect_tooltip = form_persia_italy_coring_states_tt
			hidden_effect = {
				164 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
			}
			# Britain
			custom_effect_tooltip = form_persia_britain_coring_states_tt
			hidden_effect = {
				452 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				1051 = { add_core_of = ROOT }
				1052 = { add_core_of = ROOT }
				183 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				118 = { add_core_of = ROOT }
				907 = { add_core_of = ROOT }
				1133 = { add_core_of = ROOT }
				1134 = { add_core_of = ROOT }
				1135 = { add_core_of = ROOT }
				1137 = { add_core_of = ROOT }
				1138 = { add_core_of = ROOT }
				1139 = { add_core_of = ROOT }
				1140 = { add_core_of = ROOT }
			}
			# Cyprus
			183 = { add_core_of = ROOT }
			# Macedonia
			106 = { add_core_of = ROOT }
			1412 = { add_core_of = ROOT }
			803 = { add_core_of = ROOT }
			1411 = { add_core_of = ROOT }
			# Bulgaria
			48 = { add_core_of = ROOT }
			212 = { add_core_of = ROOT }
			211 = { add_core_of = ROOT }
			801 = { add_core_of = ROOT }
			# Albania and Montenegro
			805 = { add_core_of = ROOT }
			44 = { add_core_of = ROOT }
			934 = { add_core_of = ROOT }
			105 = { add_core_of = ROOT }
			# Central Asia
			742 = { add_core_of = ROOT }
			405 = { add_core_of = ROOT }
			732 = { add_core_of = ROOT }
			# Pakistan
			441 = { add_core_of = ROOT }
			787 = { add_core_of = ROOT }
			440 = { add_core_of = ROOT }
			442 = { add_core_of = ROOT }
			445 = { add_core_of = ROOT }
			443 = { add_core_of = ROOT }
			444 = { add_core_of = ROOT }
			hidden_effect = {
				set_global_flag = form_macedonian_empire_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}


form_turan_category = {

	form_turan = {

		icon = generic_form_nation

		allowed = {
			original_tag = TUR
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			# Turkey
			custom_trigger_tooltip = {
				tooltip = form_country_turkey_required_states_tt
				controls_state = 797
				controls_state = 1223
				controls_state = 341
				controls_state = 340
				controls_state = 1266
				controls_state = 339
				controls_state = 342
				controls_state = 343
				controls_state = 347
				controls_state = 49
				controls_state = 798
				controls_state = 346
				controls_state = 345
				controls_state = 356
				controls_state = 348
				controls_state = 344
				controls_state = 355
				controls_state = 349
				controls_state = 350
				controls_state = 354
				controls_state = 1286
				controls_state = 353
				controls_state = 352
				controls_state = 800
				controls_state = 1287
			}
			# Syria
			custom_trigger_tooltip = {
				tooltip = form_country_turan_syria_required_states_tt
				controls_state = 677
				controls_state = 680
				controls_state = 1330
			}
			# Iraq
			custom_trigger_tooltip = {
				tooltip = form_country_turan_iraq_required_states_tt
				controls_state = 676
				controls_state = 1279
				controls_state = 1280
				controls_state = 1281
				controls_state = 1282
			}
			# Persia
			custom_trigger_tooltip = {
				tooltip = form_country_turan_iran_required_states_tt
				controls_state = 421
				controls_state = 419
				controls_state = 420
				controls_state = 417
				controls_state = 413
				controls_state = 266
				controls_state = 416
				controls_state = 1000
				controls_state = 1001
				controls_state = 1004
			}
			# Azerbaijan
			custom_trigger_tooltip = {
				tooltip = form_country_turan_azerbaijan_required_states_tt
				controls_state = 229
				controls_state = 1057
				controls_state = 1118
				controls_state = 1119
				controls_state = 1120
				controls_state = 1121
				controls_state = 1122
			}
			# Kuban Region + Crimea
			custom_trigger_tooltip = {
				tooltip = form_country_turan_kuban_crimea_required_states_tt
				controls_state = 233
				controls_state = 232
				controls_state = 235
				controls_state = 234
				controls_state = 237
				controls_state = 238
				controls_state = 236
				controls_state = 407
				controls_state = 1526
				controls_state = 406
				controls_state = 1527
				controls_state = 218
				controls_state = 227
				controls_state = 228
				controls_state = 200
				controls_state = 196
				controls_state = 137
				controls_state = 1089
				controls_state = 1096
				controls_state = 1077
				controls_state = 1097
				controls_state = 1098
				controls_state = 1088
				controls_state = 1087
				controls_state = 1086
			}
			# Urals + Central Asia
			custom_trigger_tooltip = {
				tooltip = form_country_turan_urals_central_asia_required_states_tt
				controls_state = 582
				controls_state = 1524
				controls_state = 402
				controls_state = 583
				controls_state = 587
				controls_state = 585
				controls_state = 584
				controls_state = 405
				controls_state = 404
				controls_state = 586
				controls_state = 732
				controls_state = 742
				controls_state = 589
				controls_state = 588
				controls_state = 590
				controls_state = 570
				controls_state = 571
				controls_state = 823
				controls_state = 832
				controls_state = 831
				controls_state = 830
				controls_state = 882
				controls_state = 881
			}
			# Siberia
			custom_trigger_tooltip = {
				tooltip = form_country_turan_siberia_required_states_tt
				controls_state = 654
				controls_state = 40
				controls_state = 1093
				controls_state = 569
				controls_state = 568
				controls_state = 329
				controls_state = 567
				controls_state = 566
				controls_state = 564
				controls_state = 563
				controls_state = 565
				controls_state = 561
				controls_state = 1337
				controls_state = 574
				controls_state = 576
				controls_state = 562
				controls_state = 874
				controls_state = 644
				controls_state = 876
				controls_state = 877
				controls_state = 637
				controls_state = 822
				controls_state = 1609
				controls_state = 878
			}
		}

		visible = {
			original_tag = TUR
			has_completed_focus = TUR_turanist_ambition
			NOT = { has_global_flag = form_turan_flag }
		}

		complete_effect = {
			set_country_flag = TUR_trn_flag
			TUR_set_appropriate_cosmetic_tag = yes
			hidden_effect = {
				news_event = { id = bftb_news.209 hours = 6 }
				#TURKEY
				797 = { add_core_of = TUR }
				1223 = { add_core_of = TUR }
				341 = { add_core_of = TUR }
				340 = { add_core_of = TUR }
				1266 = { add_core_of = TUR }
				339 = { add_core_of = TUR }
				342 = { add_core_of = TUR }
				343 = { add_core_of = TUR }
				347 = { add_core_of = TUR }
				49 = { add_core_of = TUR }
				798 = { add_core_of = TUR }
				346 = { add_core_of = TUR }
				345 = { add_core_of = TUR }
				356 = { add_core_of = TUR }
				348 = { add_core_of = TUR }
				344 = { add_core_of = TUR }
				355 = { add_core_of = TUR }
				349 = { add_core_of = TUR }
				350 = { add_core_of = TUR }
				354 = { add_core_of = TUR }
				1286 = { add_core_of = TUR }
				353 = { add_core_of = TUR }
				352 = { add_core_of = TUR }
				800 = { add_core_of = TUR }
				1287 = { add_core_of = TUR }
				799 = { add_core_of = TUR }
				#SYRIA
				677 = { add_core_of = TUR }
				680 = { add_core_of = TUR }
				1330 = { add_core_of = TUR }
				#IRAQ
				676 = { add_core_of = TUR }
				291 = { add_core_of = TUR }
				1276 = { add_core_of = TUR }
				1277 = { add_core_of = TUR }
				1011 = { add_core_of = TUR }
				1279 = { add_core_of = TUR }
				1280 = { add_core_of = TUR }
				1281 = { add_core_of = TUR }
				1282 = { add_core_of = TUR }
				1283 = { add_core_of = TUR }
				1284 = { add_core_of = TUR }
				1285 = { add_core_of = TUR }
				#PERSIA
				421 = { add_core_of = TUR }
				419 = { add_core_of = TUR }
				420 = { add_core_of = TUR }
				417 = { add_core_of = TUR }
				413 = { add_core_of = TUR }
				266 = { add_core_of = TUR }
				416 = { add_core_of = TUR }
				1000 = { add_core_of = TUR }
				1001 = { add_core_of = TUR }
				1004 = { add_core_of = TUR }
				#AZERBAIJAN
				229 = { add_core_of = TUR }
				1057 = { add_core_of = TUR }
				1118 = { add_core_of = TUR }
				1119 = { add_core_of = TUR }
				1120 = { add_core_of = TUR }
				1121 = { add_core_of = TUR }
				1122 = { add_core_of = TUR }
				#KUBAN REGION + CRIMEA
				233 = { add_core_of = TUR }
				232 = { add_core_of = TUR }
				235 = { add_core_of = TUR }
				234 = { add_core_of = TUR }
				237 = { add_core_of = TUR }
				238 = { add_core_of = TUR }
				236 = { add_core_of = TUR }
				407 = { add_core_of = TUR }
				1526 = { add_core_of = TUR }
				406 = { add_core_of = TUR }
				1527 = { add_core_of = TUR }
				218 = { add_core_of = TUR }
				227 = { add_core_of = TUR }
				228 = { add_core_of = TUR }
				200 = { add_core_of = TUR }
				196 = { add_core_of = TUR }
				137 = { add_core_of = TUR }
				821 = { add_core_of = TUR }
				826 = { add_core_of = TUR }
				827 = { add_core_of = TUR }
				828 = { add_core_of = TUR }
				1089 = { add_core_of = TUR }
				1096 = { add_core_of = TUR }
				1077 = { add_core_of = TUR }
				1097 = { add_core_of = TUR }
				1098 = { add_core_of = TUR }
				1088 = { add_core_of = TUR }
				1087 = { add_core_of = TUR }
				1086 = { add_core_of = TUR }
				
				#URALS + CENTRAL ASIA
				582 = { add_core_of = TUR }
				1524 = { add_core_of = TUR }
				402 = { add_core_of = TUR }
				583 = { add_core_of = TUR }
				587 = { add_core_of = TUR }
				585 = { add_core_of = TUR }
				584 = { add_core_of = TUR }
				405 = { add_core_of = TUR }
				404 = { add_core_of = TUR }
				586 = { add_core_of = TUR }
				732 = { add_core_of = TUR }
				742 = { add_core_of = TUR }
				589 = { add_core_of = TUR }
				588 = { add_core_of = TUR }
				590 = { add_core_of = TUR }
				830 = { add_core_of = TUR }
				823 = { add_core_of = TUR }
				831 = { add_core_of = TUR }
				832 = { add_core_of = TUR }
				881 = { add_core_of = TUR }
				882 = { add_core_of = TUR }
				#SIBERIA
				654 = { add_core_of = TUR }
				40 = { add_core_of = TUR }
				1093 = { add_core_of = TUR }
				569 = { add_core_of = TUR }
				568 = { add_core_of = TUR }
				329 = { add_core_of = TUR }
				567 = { add_core_of = TUR }
				566 = { add_core_of = TUR }
				564 = { add_core_of = TUR }
				563 = { add_core_of = TUR }
				565 = { add_core_of = TUR }
				561 = { add_core_of = TUR }
				1337 = { add_core_of = TUR }
				574 = { add_core_of = TUR }
				575 = { add_core_of = TUR }
				576 = { add_core_of = TUR }
				562 = { add_core_of = TUR }
				874 = { add_core_of = TUR }
				644 = { add_core_of = TUR }
				876 = { add_core_of = TUR }
				877 = { add_core_of = TUR }
				637 = { add_core_of = TUR }
				822 = { add_core_of = TUR }
				1609 = { add_core_of = TUR }
				875 = { add_core_of = TUR }
				878 = { add_core_of = TUR }
				set_global_flag = form_turan_flag
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	integrate_the_magyars = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			has_global_flag = form_turan_flag
			# Hungary + Slovakia
			controls_state = 155
			controls_state = 43
			controls_state = 154
			controls_state = 664
			controls_state = 1560
			controls_state = 1278
			controls_state = 1235
			controls_state = 1700
			controls_state = 973
			controls_state = 974
			controls_state = 1703
			controls_state = 1384
			controls_state = 1705
			controls_state = 1146
			controls_state = 1147
			controls_state = 1148
			controls_state = 1149
			# Romania + Banat
			controls_state = 76
			controls_state = 1309
			controls_state = 1310
			controls_state = 84
			controls_state = 1387
			controls_state = 82
			controls_state = 1479
			controls_state = 1092
			controls_state = 764
			controls_state = 1478
			controls_state = 45
			controls_state = 1477
			controls_state = 83
			controls_state = 1480
			controls_state = 82
			controls_state = 1479
			controls_state = 1722
		}

		visible = {
			has_completed_focus = TUR_subdue_the_magyars
		}

		fire_only_once = yes

		complete_effect = {
			# Hungary
			155 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			43 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			154 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			664 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1560 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1278 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1235 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1700 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			973 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			974 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1703 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1384 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1705 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1146 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1147 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1148 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1149 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			# Romania
			76 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1309 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1310 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			84 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1387 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			82 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1479 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1092 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			764 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1478 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			45 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1477 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			82 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1479 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			83 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1480 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1722 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	assimilate_the_chinese_turks = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			has_global_flag = form_turan_flag
			# Sinkiang
			controls_state = 619
			controls_state = 287
			controls_state = 759
			controls_state = 760
			controls_state = 617
			controls_state = 618
			# Xibei San Ma
			controls_state = 604
			controls_state = 755
			controls_state = 756
			controls_state = 754
			controls_state = 283
			controls_state = 753
			controls_state = 616
			# Nationalist China
			controls_state = 752
			controls_state = 751
			controls_state = 601
			# Mongolia / Manchuria
			controls_state = 330
			controls_state = 1470
			controls_state = 1471
			controls_state = 1472
			controls_state = 1473
			controls_state = 817
			controls_state = 1463
			controls_state = 1464
			controls_state = 1465
			controls_state = 1466
			controls_state = 1467
			controls_state = 818
			controls_state = 1468
			controls_state = 1469
			controls_state = 819
			controls_state = 1442
			controls_state = 1457
			controls_state = 1460
			controls_state = 1461
			controls_state = 1462
			controls_state = 820
			controls_state = 612
			controls_state = 1474
			controls_state = 1475
			controls_state = 1455
			controls_state = 1456
			controls_state = 1458
			controls_state = 1459
			controls_state = 611
			controls_state = 1476
			controls_state = 621
			controls_state = 761
			controls_state = 1432
			controls_state = 1433
			controls_state = 714
			controls_state = 1423
			controls_state = 1424
			controls_state = 1425
			controls_state = 1426
			controls_state = 1427
			controls_state = 1428
			controls_state = 1451
			controls_state = 1429
			controls_state = 1430
			controls_state = 1431
			controls_state = 717
			controls_state = 1416
			controls_state = 1417
			controls_state = 1418
			controls_state = 1419
			controls_state = 1420
			controls_state = 1421
			controls_state = 1422
		}

		visible = {
			has_completed_focus = TUR_cin_turkleri
		}

		fire_only_once = yes

		complete_effect = {
			# Sinkiang
			619 = { add_core_of = ROOT }
			287 = { add_core_of = ROOT }
			759 = { add_core_of = ROOT }
			760 = { add_core_of = ROOT }
			617 = { add_core_of = ROOT }
			618 = { add_core_of = ROOT }
			# China
			604 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			755 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			756 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			754 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			283 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			753 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			616 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			752 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			751 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			601 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			612 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			611 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1476 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			621 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			761 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1432 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1433 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			714 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1423 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1424 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1425 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			717 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1416 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1417 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1418 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1419 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1420 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1421 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1422 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			#Mongolia
			330 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1470 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1471 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1472 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1473 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			817 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1463 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1464 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1465 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1466 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1467 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			818 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1468 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1469 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			819 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1442 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1457 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1460 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1461 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1462 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			820 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	unite_with_the_finno_ugrians = {

		icon = generic_form_nation

		allowed = {
			has_dlc = "Battle for the Bosporus"
		}

		available = {
			is_subject = no
			has_global_flag = form_turan_flag
			# Finland + Karelia
			controls_state = 111 #UUSIMAA (Helsinki)
			controls_state = 150 #KUOPIO
			controls_state = 149 #VAASA
			controls_state = 148 #LAPPI
			controls_state = 146 #KARJALA
			controls_state = 147 #SALLA
			controls_state = 722 #PETSAMO
			controls_state = 926 #TURKU
			controls_state = 927 #HÄME
			controls_state = 928 #KYME
			controls_state = 929 #OULU
			controls_state = 930 #MIKKELI

			controls_state = 213 #MURMANSK
			controls_state = 215 #ONEGA
			controls_state = 1170
			controls_state = 1171
			controls_state = 1174
			controls_state = 1175
			controls_state = 216 #OLONETS
			controls_state = 1714
			controls_state = 1116
			controls_state = 1117

			# Estonia
			controls_state = 13
			controls_state = 191
			controls_state = 813
			controls_state = 812
			controls_state = 811
			controls_state = 1066
			controls_state = 1067
			controls_state = 1068
			controls_state = 1069
			controls_state = 1070
			controls_state = 1071
			controls_state = 1072
		}

		visible = {
			has_completed_focus = TUR_crowning_ourselves_with_the_fin_ugor
		}

		fire_only_once = yes

		complete_effect = {
			#FINLAND + KARELIA
			111 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			150 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			149 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			148 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			146 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			147 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			926 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			927 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			928 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			929 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			930 = { add_dynamic_modifier = { modifier = turanist_assimilation } }

			213 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			215 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1170 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1171 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1174 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1175 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			216 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			1714 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1116 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1117 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			
			#ESTONIA
			13 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			191 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			811 = { add_dynamic_modifier = { modifier = turanist_assimilation } }
			812 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			813 = { add_dynamic_modifier = { modifier = turanist_assimilation } }		
			1066 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1067 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1068 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1069 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1070 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1071 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			1072 = { add_dynamic_modifier = { modifier = turanist_assimilation } }	
			
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

form_turkestan_category = {
	
	form_turkestan = {

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = TAN # Tannu Tuva
				original_tag = KAZ # Kazakhstan
				original_tag = UZB # Uzbekistan
				original_tag = KYR # Kyrgyzstan
				original_tag = TAJ # Tajikistan
				original_tag = TMS # Turkmenistan
				original_tag = SIK # Sinkiang
				original_tag = BUK # Bukhara
				original_tag = KHI # Khiva
				original_tag = KKP # Karakalpakstan
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = form_country_kazakhstan_required_states
				controls_state = 402
				controls_state = 404
				controls_state = 406
				controls_state = 1527
				controls_state = 407
				controls_state = 1526
				controls_state = 583
				controls_state = 586
				controls_state = 587
				controls_state = 588
				controls_state = 589
				controls_state = 590
				controls_state = 881
				controls_state = 882
			}
			custom_trigger_tooltip = {
				tooltip = form_country_uzbekistan_required_states
				controls_state = 405
				controls_state = 585
				controls_state = 830
				controls_state = 823
				controls_state = 831
			}
			controls_state = 732 # Kyrgyzstan
			controls_state = 742 # Tajikistan
			controls_state = 584 # Turkmenistan
			controls_state = 832 # Tashauz
		}

		visible = {
			OR = {
				original_tag = TAN # Tannu Tuva
				original_tag = KAZ # Kazakhstan
				original_tag = UZB # Uzbekistan
				original_tag = KYR # Kyrgyzstan
				original_tag = TAJ # Tajikistan
				original_tag = TMS # Turkmenistan
				original_tag = SIK # Sinkiang
				original_tag = BUK # Bukhara
				original_tag = KHI # Khiva
				original_tag = KKP # Karakalpakstan
				original_tag = KUM # Kumul Khanate 
			}
			NOT = { has_global_flag = form_turkestan_flag }
		}

		complete_effect = {
			set_cosmetic_tag = turkestan_united
			
			# Kazakhstan
			custom_effect_tooltip = form_country_kazakhstan_coring_states_tt
			hidden_effect = {
				402 = { add_core_of = ROOT }
				404 = { add_core_of = ROOT }
				406 = { add_core_of = ROOT }
				1527 = { add_core_of = ROOT }
				407 = { add_core_of = ROOT }
				1526 = { add_core_of = ROOT }
				583 = { add_core_of = ROOT }
				586 = { add_core_of = ROOT }
				587 = { add_core_of = ROOT }
				588 = { add_core_of = ROOT }
				589 = { add_core_of = ROOT }
				590 = { add_core_of = ROOT }
				881 = { add_core_of = ROOT }
				882 = { add_core_of = ROOT }
			}
			
			# Turkmenistan
			584 = { add_core_of = ROOT }
			
			# Tashauz
			832 = { add_core_of = ROOT }
			
			# Uzbekistan
			custom_effect_tooltip = form_country_uzbekistan_coring_states_tt
			hidden_effect = {
				405 = { add_core_of = ROOT }
				585 = { add_core_of = ROOT }
				830 = { add_core_of = ROOT }
				823 = { add_core_of = ROOT }
				831 = { add_core_of = ROOT }
			}
			
			# Kyrgyzstan
			732 = { add_core_of = ROOT }
			
			# Tajikistan
			742 = { add_core_of = ROOT }
			
			# Tuva
			329 = { add_core_of = ROOT }
			
			# Altai
			654 = { add_core_of = ROOT }
			40 = { add_core_of = ROOT }
			
			# Sinkiang
			custom_effect_tooltip = form_country_sinkiang_coring_states_tt
			hidden_effect = {
				287 = { add_core_of = ROOT }
				617 = { add_core_of = ROOT }
				618 = { add_core_of = ROOT }
				619 = { add_core_of = ROOT }
				759 = { add_core_of = ROOT }
				760 = { add_core_of = ROOT }
			}
			
			add_ideas = soldiers_of_the_steppe
			
			hidden_effect = {
				news_event = { id = nsb_news.3 hours = 6 }
				set_global_flag = form_turkestan_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}




form_mountainous_republic_category = {
	
	form_mountainous_republic = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = DAG # Dagestan
				original_tag = CIN # Chechnya-Ingushetia
				original_tag = NOA # North Ossetia-Alania
				original_tag = KBK # Kabardino-Balkaria
				original_tag = ABK # Abkhazia
			}
		}

		available = {
			controls_state = 232 # Dagestan
			controls_state = 821 # Chechnya-Ingushetia
			controls_state = 828 # North Ossetia
			controls_state = 827 # Kabardino-Balkaria
			controls_state = 826 # Abkhazia
		}

		visible = {
			OR = {
				original_tag = DAG # Dagestan
				original_tag = CIN # Chechnya-Ingushetia
				original_tag = NOA # North Ossetia-Alania
				original_tag = KBK # Kabardino-Balkaria
				original_tag = ABK # Abkhazia
			}
			NOT = { has_global_flag = form_mountainous_republic_flag }
			has_dlc = "No Step Back"
		}

		complete_effect = {
			set_cosmetic_tag = mountainous_republics_unified
			
			# Dagestan
			232 = { add_core_of = ROOT }
			
			# Chechnya-Ingushetia
			821 = { add_core_of = ROOT }
			
			# North Ossetia
			828 = { add_core_of = ROOT }
			
			# Kabardino-Balkaria
			827 = { add_core_of = ROOT }
			
			# Abkhazia
			826 = { add_core_of = ROOT }
			
			# Sochi
			233 = { add_core_of = ROOT }
			
			hidden_effect = { 
				news_event = { id = nsb_news.301 hours = 8 }
				set_global_flag = form_mountainous_republic_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}


form_transcaucasus_category = {
	
	form_transcaucasian_republic = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_dlc = "No Step Back"
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			NOT = { has_global_flag = form_transcaucasia_flag }
		}

		available = {
			controls_state = 826 # Abkhazia
			controls_state = 231 # Georgia
			controls_state = 230 # Armenia
			controls_state = 229 # Azerbaijan
			controls_state = 1057
			controls_state = 1118
			controls_state = 1119
			controls_state = 1120
			controls_state = 1121
			controls_state = 1122
			controls_state = 1123
			controls_state = 1124
			controls_state = 1125
			controls_state = 1126
			controls_state = 1127
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
		}

		complete_effect = {
			set_cosmetic_tag = transcaucasia_unified
			
			# Abkhazia
			826 = { add_core_of = ROOT }
			
			# Georgia
			231 = { add_core_of = ROOT }
			 
			# Armenia
			230 = { add_core_of = ROOT }
			
			# Azerbaijan
			229 = { add_core_of = ROOT }
			
			1057 = { add_core_of = ROOT }
			1118 = { add_core_of = ROOT }
			1119 = { add_core_of = ROOT }
			1120 = { add_core_of = ROOT }
			1121 = { add_core_of = ROOT }
			1122 = { add_core_of = ROOT }
			1123 = { add_core_of = ROOT }
			1124 = { add_core_of = ROOT }
			1125 = { add_core_of = ROOT }
			1126 = { add_core_of = ROOT }
			1127 = { add_core_of = ROOT }
			
			
			#add_ideas = soldiers_of_the_steppe
			
			hidden_effect = { 
				news_event = { id = nsb_news.302 hours = 8 }
				set_global_flag = form_transcaucasia_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	
	unite_azeris = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = azeris_united_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 419 # Tabriz
			controls_state = 420 # Gilan
		}

		complete_effect = {
			
			# Tabriz
			419 = { add_core_of = ROOT }
			
			# Gilan
			420 = { add_core_of = ROOT }
			
			hidden_effect = { 
				set_global_flag = azeris_united_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	claim_northern_caucasus = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = northern_caucasus_claimed_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 232 # Dagestan
			controls_state = 821 # Chechnya-Ingushetia
			controls_state = 828 # North Ossetia
			controls_state = 827 # Kabardino-Balkaria
			controls_state = 233 # Sochi
		}

		complete_effect = {
			
			# Sochi
			233 = { add_core_of = ROOT }
			
			# Kabardino-Balkaria
			827 = { add_core_of = ROOT }
			
			# North Ossetia
			828 = { add_core_of = ROOT }
			
			# Chechnya-Ingushetia
			821 = { add_core_of = ROOT }
			
			# Gagestan
			232 = { add_core_of = ROOT }
			
			#add_ideas = soldiers_of_the_steppe
			
			hidden_effect = { 
				set_global_flag = northern_caucasus_claimed_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	liberate_anatolian_peoples = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia 
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = anatolians_liberated_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 354 # Trabzon
			controls_state = 800 # Van
		}

		complete_effect = {
			
			# Trabzon
			354 = { add_core_of = ROOT }
			1286 = { add_core_of = ROOT }
			
			# Van
			800 = { add_core_of = ROOT }
			1287 = { add_core_of = ROOT }
			
			hidden_effect = { 
				set_global_flag = anatolians_liberated_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	restore_kalmyks = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia 
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			} 
		}
  
		available = {
			is_subject = no
			controls_state = 237 # Kalmykia
			controls_state = 236 # Astrakhan
			NOT = { has_government = communism }
			NOT = { has_government = democratic }
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = kalmyk_khanate_restored_flag }

				has_dlc = "No Step Back" 
		}

		complete_effect = {
			
			custom_effect_tooltip = release_kalmyk_khanate_tt
			
			hidden_effect = { 
			
				set_global_flag = kalmyk_khanate_restored_flag
				
				# Astrakhan
				236 = { add_core_of = KAL }
				
				KAL = {
					transfer_state = 237
					transfer_state = 236
					if = {
						limit = {
							ROOT = { controls_state = 217 } #Stalingrad
						}
						add_state_core = 217
						transfer_state = 217
					}
					if = {
						limit = {
							ROOT = { controls_state = 407 } #Uralsk
						}
						add_state_core = 407
						transfer_state = 407
					}
					if = {
						limit = {
							ROOT = { controls_state = 1526 }
						}
						add_state_core = 1526
						transfer_state = 1526
					}
					if = {
						limit = {
							ROOT = { controls_state = 406 } #Guryev
						}
						add_state_core = 406
						transfer_state = 406
					}
					if = {
						limit = {
							ROOT = { controls_state = 1527 }
						}
						add_state_core = 1527
						transfer_state = 1527
					}
					if = {
						limit = {
							ROOT = { controls_state = 401 } #Balakovo
						}
						add_state_core = 401
						transfer_state = 401
					}
					if = {
						limit = {
							ROOT = { controls_state = 829 } #Engels-Marxstadt
						}
						add_state_core = 829
						transfer_state = 829
					}
					if = {
						limit = {
							ROOT = { controls_state = 238 } #Volgodonsk
						}
						add_state_core = 238
						transfer_state = 238
					}
					load_oob = "KAL_khanate_battalions"
				}
				
				puppet = KAL
				
				if = {
					limit = {
						has_war_with = SOV
					}
					KAL = {
						add_to_war = {
							targeted_alliance = PREV 
							enemy = SOV
							hostility_reason = asked_to_join
						}
					}
				}
				
				
				
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	
	restore_crimean_khanate = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia 
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			} 
		}
  
		available = {
			is_subject = no
			controls_state = 137 # Crimea
			controls_state = 1086
			controls_state = 1087
			controls_state = 1088
			controls_state = 196 # Kherson
			NOT = { has_government = communism }
			NOT = { has_government = democratic }
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = crimean_khanate_restored_flag }

				has_dlc = "No Step Back"
		}

		complete_effect = {
			
			custom_effect_tooltip = restore_crimean_khanate_tt 
			
			
			hidden_effect = { 
			
				set_global_flag = crimean_khanate_restored_flag
				
				CRI = {
					transfer_state = 137 # Crimea
					transfer_state = 1086
					transfer_state = 1087
					transfer_state = 1088
					transfer_state = 196 # Kherson
					if = {
						limit = {
							ROOT = { controls_state = 200 } #Zaporozhe
						}
						add_state_core = 200
						transfer_state = 200
					}
					if = {
						limit = {
							ROOT = { controls_state = 227 } #Stalino
						}
						add_state_core = 227
						transfer_state = 227
					}
					if = {
						limit = {
							ROOT = { controls_state = 218 } #Rostov
						}
						add_state_core = 218
						transfer_state = 218
					}
					if = {
						limit = {
							ROOT = { controls_state = 228 } #Voroshilovgrad
						}
						add_state_core = 228
						transfer_state = 228
					}
					if = {
						limit = {
							ROOT = { controls_state = 234 } #Krasnodar
						}
						add_state_core = 234
						transfer_state = 234
					}
					if = {
						limit = {
							ROOT = { controls_state = 245 } #Millerovo
						}
						add_state_core = 245
						transfer_state = 245
					}
					if = {
						limit = {
							ROOT = { controls_state = 226 } #Dnipropetrovsk
						}
						add_state_core = 226
						transfer_state = 226
					}
					if = {
						limit = {
							ROOT = { controls_state = 1612 }
						}
						add_state_core = 1612
						transfer_state = 1612
					}
					if = {
						limit = {
							ROOT = { controls_state = 1089 }
						}
						add_state_core = 1089
						transfer_state = 1089
					}
					if = {
						limit = {
							ROOT = { controls_state = 1089 }
						}
						add_state_core = 1096
						transfer_state = 1096
					}
					if = {
						limit = {
							ROOT = { controls_state = 1078 }
						}
						add_state_core = 1078
						transfer_state = 1078
					}
					if = {
						limit = {
							ROOT = { controls_state = 1098 }
						}
						add_state_core = 1098
						transfer_state = 1098
					}
					if = {
						limit = {
							ROOT = { controls_state = 1097 }
						}
						add_state_core = 1097
						transfer_state = 1097
					}
					load_oob = "CRI_khanate_soldiers"
				}
				
				puppet = CRI
				
				if = {
					limit = {
						has_war_with = SOV
					}
					CRI = {
						add_to_war = {
							targeted_alliance = ROOT 
							enemy = SOV
							hostility_reason = asked_to_join
						}
					}
				}
				if = {
					limit = {
						has_war_with = UKR
					}
					CRI = {
						add_to_war = {
							targeted_alliance = ROOT 
							enemy = UKR
							hostility_reason = asked_to_join
						}
					}
				}
				
				
				
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	
	release_turkish_kurdistan = {  

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = GEO # Georgia 
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			} 
		}
  
		available = {
			is_subject = no
			controls_state = 352 # Hakkari
			controls_state = 353 # Tunceli
			controls_state = 350 # Diyarbakir
		}

		visible = {
			OR = {
				original_tag = GEO # Georgia
				original_tag = ARM # Armenia
				original_tag = AZR # Azerbaijan
			}
			has_global_flag = form_transcaucasia_flag
			NOT = { has_global_flag = anatolian_kurds_subjugated_flag }

				has_dlc = "No Step Back"
		}

		complete_effect = {
			
			custom_effect_tooltip = release_anatolian_kurdistan_tt 
			
			
			hidden_effect = { 
			
				set_global_flag = anatolian_kurds_subjugated_flag
				
				KUR = {
					transfer_state = 350 # Diyarbakir
					transfer_state = 352 # Hakkari
					transfer_state = 353 # Tunceli
					if = {
						limit = {
							ROOT = { controls_state = 344 } #Malatya
						}
						add_state_core = 344
						transfer_state = 344
					}
					load_oob = "KUR_liberation_troops"
				}
				
				puppet = KUR
				
				if = {
					limit = {
						has_war_with = TUR
					}
					KUR = {
						add_to_war = {
							targeted_alliance = ROOT 
							enemy = TUR
							hostility_reason = asked_to_join
						}
					}
				}
				
				
				
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}



form_siberia_category = {
	
	form_siberian_republic = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
		}

		visible = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
			NOT = { has_global_flag = form_siberian_republic_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 564 # Buryatia
			controls_state = 563 # Chita
			controls_state = 574 # Yakutsk
			controls_state = 516 # Taymyria
			controls_state = 644 # Kolyma
			controls_state = 876 # Udachny
			controls_state = 877 # Verkhoyansk
		}

		complete_effect = {

			set_cosmetic_tag = siberia_unified
			
			custom_effect_tooltip = form_siberia_russian_siberia_coring_states_tt
			
			custom_effect_tooltip = form_siberia_yakutia_coring_states_tt
			
			custom_effect_tooltip = form_siberia_altai_coring_states_tt
			
			custom_effect_tooltip = form_siberia_ostyak_coring_states_tt
			
			custom_effect_tooltip = form_siberia_yamalia_coring_states_tt
			
			# Taymyria
			516 = { add_core_of = ROOT }
			
			# Buryatia
			564 = { add_core_of = ROOT }
			
			# Tannu Tuva
			329 = { add_core_of = ROOT }
			
			# Chita
			563 = { add_core_of = ROOT }

			# Yeniseisk
			576 = { add_core_of = ROOT }

			# Kirensk
			575 = { add_core_of = ROOT }

			# Boyadbo
			565 = { add_core_of = ROOT }

			# Kemerovo/Khakassia
			569 = { add_core_of = ROOT }
			
			hidden_effect = { 
			
				# Yakutsk
				574 = { add_core_of = ROOT }
				
				# Kolyma
				644 = { add_core_of = ROOT }

				# Udachny
				876 = { add_core_of = ROOT }

				# Verkhoyansk
				877 = { add_core_of = ROOT }
				
				# Oyrot Region
				654 = { add_core_of = ROOT }
				
				# Altai Krai
				40 = { add_core_of = ROOT }
				1093 = { add_core_of = ROOT }
				
				# Surgut
				577 = { add_core_of = ROOT }
				
				# Tobolsk
				580 = { add_core_of = ROOT }
				
				# Yamalia
				824 = { add_core_of = ROOT }
				
				# Salekhard
				579 = { add_core_of = ROOT }
				
				# Tyumen
				403 = { add_core_of = ROOT }
				
				# Omsk
				571 = { add_core_of = ROOT }
				
				# Tomsk
				578 = { add_core_of = ROOT }
				
				# Novosibirsk
				570 = { add_core_of = ROOT }
				
				# Krasnoyarsk
				568 = { add_core_of = ROOT }
				
				# Bratsk
				567 = { add_core_of = ROOT }
				
				# Irkutsk
				566 = { add_core_of = ROOT }

				#Khatangsky
				878 = { add_core_of = ROOT }
				
				news_event = { id = nsb_news.303 hours = 8 }
				
				set_global_flag = form_siberian_republic_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	conquer_the_fareast = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
		}

		visible = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
			
			has_global_flag = form_siberian_republic_flag
			NOT = { has_global_flag = far_east_integrated_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 822 # Chukotka
			controls_state = 1609
			controls_state = 875 # Chukchi Peninsula
			controls_state = 637 # Kamchatka
			controls_state = 562 # Okhotsk
			controls_state = 874 # Magadan
			controls_state = 560 # Nikolayevsk
			controls_state = 1338
			controls_state = 655 # North Sakhalin
			controls_state = 561 # Amur
			controls_state = 1337
			controls_state = 657 # Birobidzhan
			controls_state = 409 # Khabravosk
			controls_state = 408 # Vladivostok
			controls_state = 1332
			controls_state = 1333
			controls_state = 1334
			controls_state = 1335
			controls_state = 1336
		}

		complete_effect = {
			
			custom_effect_tooltip = far_eastern_states_coring_states_tt
			
			hidden_effect = { 
			
				# Chukotka
				822 = { add_core_of = ROOT }
				
				1609 = { add_core_of = ROOT }
				
				# Chukchi Peninsula
				875 = { add_core_of = ROOT }
				
				# Kamchatka
				637 = { add_core_of = ROOT }
				
				# Okhotsk
				562 = { add_core_of = ROOT }
				
				# Magadan
				874 = { add_core_of = ROOT }
				
				# Amur
				561 = { add_core_of = ROOT }
				1337 = { add_core_of = ROOT }
				
				# Birobidzhan
				657 = { add_core_of = ROOT }
				
				# Nikolayevsk
				560 = { add_core_of = ROOT }
				1338 = { add_core_of = ROOT }
				
				# North Sakhalin
				655 = { add_core_of = ROOT }
				
				# Khabravosk
				409 = { add_core_of = ROOT }
				
				# Vladivostok
				408 = { add_core_of = ROOT }
				1332 = { add_core_of = ROOT }
				1333 = { add_core_of = ROOT }
				1334 = { add_core_of = ROOT }
				1335 = { add_core_of = ROOT }
				1336 = { add_core_of = ROOT }
				
				set_global_flag = far_east_integrated_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	push_to_the_urals = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
		}

		visible = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
			
			has_global_flag = form_siberian_republic_flag
			NOT = { has_global_flag = urals_integrated_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 653 # Sverdlovsk
			controls_state = 572 # Chelyabinsk
			controls_state = 582 # Magnitogorsk
			controls_state = 1524
			controls_state = 573 # Zlatoust
			controls_state = 398 # Perm
			controls_state = 1523
			controls_state = 581 # Northern Urals
		}

		complete_effect = {
		
			# Sverdlovsk
			653 = { add_core_of = ROOT }
			
			# Chelyabinsk
			572 = { add_core_of = ROOT }
			
			# Magnitogorsk
			582 = { add_core_of = ROOT }
			1524 = { add_core_of = ROOT }
			
			# Zlatoust
			573 = { add_core_of = ROOT }
			
			# Perm
			398 = { add_core_of = ROOT }
			1523 = { add_core_of = ROOT }
			
			# Northern Urals
			581 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = urals_integrated_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	
	liberate_the_ainu = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
		}

		visible = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
			
			has_global_flag = form_siberian_republic_flag
			NOT = { has_global_flag = ainu_integrated_flag }
			has_dlc = "No Step Back"
		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 537 # South Sakhalin
				state = 555 # Kuril Islands
				state = 536 # Hokkaido
			}
		}

		available = {
			controls_state = 537 # South Sakhalin
			controls_state = 555 # Kuril Islands
			controls_state = 536 # Hokkaido
		}

		complete_effect = {
		
			# South Sakhalin
			537 = { add_core_of = ROOT }
			
			# Kuril Islands
			555 = { add_core_of = ROOT }
			
			# Hokkaido
			536 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = ainu_integrated_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	liberate_manchuria = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
		}

		visible = {
			OR = {
				original_tag = YAK # Yakutia
				original_tag = FER # Far Eastern Republic
				original_tag = CKK # Chukotka
				original_tag = VLA # Vladivostok
				original_tag = BYA # Buryatia
				original_tag = TAY # Taymyria
				original_tag = ALT # Altai
				original_tag = YAM # Yamalia
				original_tag = OVO # Ostyak-Vogulia
				original_tag = TAN # Tannu Tuva
				original_tag = KHA # Khakassia
				original_tag = EVE # Evenkia
			}
			
			has_global_flag = form_siberian_republic_flag
			NOT = { has_global_flag = manchus_integrated_flag }
			has_dlc = "No Step Back"
		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 761 # Hulunbuir
				state = 714 # Heliungkiang
				state = 717 # Sungkiang
				state = 715 # Liaoning
				state = 328 # Kirin
				state = 716 # Liaotung
				state = 610 # Jehol
				state = 745 # Dalian
			}
		}

		available = {
			controls_state = 761 # Hulunbuir
			controls_state = 714 # Heliungkiang
			controls_state = 717 # Sungkiang
			controls_state = 715 # Liaoning
			controls_state = 328 # Kirin
			controls_state = 716 # Liaotung
			controls_state = 610 # Jehol
			controls_state = 745 # Dalian
		}

		complete_effect = {
		
			# Hulunbuir
			761 = { add_core_of = ROOT }
			
			# Heliungkiang
			714 = { add_core_of = ROOT }
			
			# Sungkiang
			717 = { add_core_of = ROOT }

			# Liaoning
			715 = { add_core_of = ROOT }

			# Kirin
			328 = { add_core_of = ROOT }

			# Liaotung
			716 = { add_core_of = ROOT }

			# Jehol
			610 = { add_core_of = ROOT }

			# Dalian
			745 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = manchus_integrated_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}




form_idel_ural_category = {
	
	form_idel_uralic_republic = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = MEL # Mari EL
				original_tag = CHU # Chuvashia
				original_tag = TAT # Tatarstan
				original_tag = UDM # Udmurtia
				original_tag = BSK # Bashkortostan
			}
		}

		visible = {
			OR = {
				original_tag = MEL # Mari EL
				original_tag = CHU # Chuvashia
				original_tag = TAT # Tatarstan
				original_tag = UDM # Udmurtia
				original_tag = BSK # Bashkortostan
			}
			NOT = { has_global_flag = form_idel_ural_flag }
			has_dlc = "No Step Back"
		}

		available = {
			controls_state = 833 # Mari El
			controls_state = 256 # Chuvashia
			controls_state = 249 # Kazan
			controls_state = 399 # Udmurtia
			controls_state = 651 # Ufa
		}

		complete_effect = {
			set_cosmetic_tag = idel_ural
			
			# Kazan
			249 = { add_core_of = ROOT }
			
			# Mari El
			833 = { add_core_of = ROOT }
			
			# Chuvashia
			256 = { add_core_of = ROOT }
			
			# Udmurtia
			399 = { add_core_of = ROOT }
			
			# Ufa
			651 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				news_event = { id = nsb_news.304 hours = 8 }
				
				set_global_flag = form_idel_ural_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}

form_ethiopian_empire_category  = {
	
	form_empire_of_axum = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ETH # Ethiopia # Maybe add Eritrea as well? 
		}

		available = {
			controls_all_ethiopian_core_states = yes 
			controls_state = 550 # Eritrea 
			controls_state = 293 # Yemen 
		}

		visible = {
			has_completed_focus = ETH_restore_the_empire_of_axum
			NOT = { has_global_flag = form_axum_flag }
		}

		complete_effect = {
			set_cosmetic_tag = empire_of_axum		
			659 = { add_core_of = ROOT }
			550 = { add_core_of = ROOT }
			293 = { add_core_of = ROOT }
			906 = { add_core_of = ROOT }
			268 = { add_core_of = ROOT }
			883 = { add_core_of = ROOT }
			551 = { add_core_of = ROOT }
			886 = { add_core_of = ROOT }
			992 = { add_core_of = ROOT }
		
			hidden_effect = { 
				
				set_global_flag = form_axum_flag
				
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ETH_move_capital_to_axum = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ETH # Ethiopia 
		}

		available = {
			controls_all_ethiopian_core_states = yes 
			842 = { 
				is_owned_by = ROOT 
				is_fully_controlled_by = ROOT 
			}
			NOT = { has_country_flag = ETH_has_moved_capital_flag }
		}
		cost = 50 

		visible = {
			has_cosmetic_tag = empire_of_axum
		}
		fire_only_once = yes 

		complete_effect = {
			set_capital = {
				state = 842 
				remember_old_capital = no
			}
			842 = {
				add_victory_points = {
					province = 13237
					value = 5
				}
				ETH_upgrade_state_category = yes 
			}
			#custom_effect_tooltip = ETH_prevents_further_capital_moves_tt
			#set_country_flag = ETH_has_moved_capital_flag
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	form_empire_of_solomon = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ETH # Ethiopia 
		}

		available = {
			controls_all_ethiopian_core_states = yes 
			controls_state = 454 # Palestine 
			controls_state = 453 # Siniai
			controls_state = 446 # Suez
		}

		visible = {
			has_completed_focus = ETH_the_one_true_heir_of_solomon
			NOT = { has_global_flag = form_empire_of_solomon_flag }
		}

		complete_effect = {
			set_cosmetic_tag = empire_of_solomon		
			453 = { add_core_of = ROOT }
			446 = { add_core_of = ROOT }
			907 = { add_core_of = ROOT }
			447 = { add_core_of = ROOT }
			457 = { add_core_of = ROOT }
			456 = { add_core_of = ROOT }
		
			hidden_effect = { 
				news_event = {
					id = bba_news.5
					hours = 8
				}
				
				set_global_flag = form_empire_of_solomon_flag
				
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	ETH_move_capital_to_jerusalem = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ETH # Ethiopia 
		}

		available = {
			controls_all_ethiopian_core_states = yes 
			454 = { 
				is_owned_by = ROOT 
				is_fully_controlled_by = ROOT 
			}
			NOT = { has_country_flag = ETH_has_moved_capital_flag }
		}
		cost = 50 

		visible = {
			454 = { is_owned_and_controlled_by = ROOT }
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			NOT = { has_cosmetic_tag = gojjam }
			NOT = { has_cosmetic_tag = jimma }
		}
		fire_only_once = yes 

		complete_effect = {
			set_capital = {
				state = 454 
				remember_old_capital = no
			}
			454 = {
				add_victory_points = {
					province = 1086
					value = 9
				}
				ETH_upgrade_state_category = yes 
				add_core_of = ROOT 
			}
			custom_effect_tooltip = ETH_prevents_further_capital_moves_tt
			set_country_flag = ETH_has_moved_capital_flag
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	form_empire_of_zion = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ETH # Ethiopia 
		}

		available = {
			controls_all_ethiopian_core_states = yes 
			controls_state = 689
		}

		visible = {
			has_completed_focus = ETH_jah
			NOT = { has_global_flag = form_empire_of_zion_flag }
		}

		complete_effect = {
			set_cosmetic_tag = empire_of_zion
			custom_effect_tooltip = create_empire_of_zion_tt	
			hidden_effect = { 
				every_state = {
					limit = {
						OR = {
							region = 170
							region = 53
							state = 695
						}
						is_controlled_by_ROOT_or_subject = yes 
					}
					remove_claim_by = ROOT 
					add_core_of = ROOT 
				}
				
				set_global_flag = form_empire_of_zion_flag
				
			}
			news_event = {
				id = bba_news.6
				hours = 10
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}


form_east_africa_category = {
	
	form_east_africa = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		visible = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				AND = {
					has_dlc = "Gotterdammerung"
					original_tag = COG # Congo
					has_completed_focus = COG_unify_east_africa
				}
			}
			NOT = { has_global_flag = form_east_africa_flag }
		}

		available = {
			controls_state = 546 # Tanganyika
			controls_state = 547 # Nairobi
			controls_state = 905 # Mombasa
			controls_state = 904 # Nyanza-Rift Velley
			controls_state = 548 # Uganda
		}

		complete_effect = {
			set_cosmetic_tag = east_africa
			
			# Tanganyika
			546 = { add_core_of = ROOT }
			
			# Nairobi
			547 = { add_core_of = ROOT }

			# Nyanza-Rift Valley
			904 = { add_core_of = ROOT }

			# Mombasa
			905 = { add_core_of = ROOT }
			
			# Uganda
			548 = { add_core_of = ROOT }

			# Rwanda
			768 = { add_claim_by = ROOT }
				
			# Burundi
			769 = { add_claim_by = ROOT }

			# Jubaland
			844 = { add_claim_by = ROOT }
			
			#add_ideas = soldiers_of_the_steppe
			
			hidden_effect = { 
				
				news_event = { id = bba_africa_news.1 hours = 8 }
				
				set_global_flag = form_east_africa_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	integrate_ruanda_urundi = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		fire_only_once = yes

		visible = {
			
			has_global_flag = form_east_africa_flag
			

		}

		available = {
			controls_state = 768 # Rwanda
			controls_state = 769 # Burundi
		}

		complete_effect = {
		
			# Rwanda
			768 = { add_core_of = ROOT }
			
			# Burundi
			769 = { add_core_of = ROOT }
			
			
		}

		ai_will_do = {
			base = 200
		}
	}

	dominate_malawi = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		visible = {
			
			has_global_flag = form_east_africa_flag

		}

		available = {
			controls_state = 770 # Malawi
			controls_state = 897 # Zambezia-Mocambique 
		}

		fire_only_once = yes

		complete_effect = {
		
			# Malawi
			770 = { add_core_of = ROOT }
			
			# Zambezia-Mocambique 
			897 = { add_core_of = ROOT }
			
			
		}

		ai_will_do = {
			base = 200
		}
	}

	liberate_sidamo = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		visible = {
			
			has_global_flag = form_east_africa_flag

		}

		available = {
			controls_state = 837 # Sidamo
		}
		
		fire_only_once = yes

		complete_effect = {
		
			# Sidamo
			837 = { add_core_of = ROOT }
			
			
		}

		ai_will_do = {
			base = 200
		}
	}

	unite_the_somalis = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		visible = {
			
			has_global_flag = form_east_africa_flag

		}

		available = {
			controls_state = 844 # Jubaland
			controls_state = 559 # Somaliland
			controls_state = 269 # British Somaliland
			controls_state = 836 # Bale
			controls_state = 835 # Hararghe
			controls_state = 268 # Djibouti
			controls_state = 903 # Garissa
		}

		fire_only_once = yes

		complete_effect = {
		
			# Jubaland
			844 = { add_core_of = ROOT }

			# Garissa
			903 = { add_core_of = ROOT }

			# Somaliland
			559 = { add_core_of = ROOT }

			# British Somaliland
			269 = { add_core_of = ROOT }

			# Bale
			836 = { add_core_of = ROOT }

			# Hararghe
			835 = { add_core_of = ROOT }

			# Djibouti
			268 = { add_core_of = ROOT }

			# Socotra
			906 = { add_claim_by = ROOT }
			
			
		}

		ai_will_do = {
			base = 200
		}
	}

	conquer_the_comoros = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KEN # Kenya
				original_tag = UGA # Uganda
				original_tag = TZN # Tanzania
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = COG # Congo
			}
		}

		visible = {
			
			has_global_flag = form_east_africa_flag

		}

		available = {
			controls_state = 708 # Comoro Islands
		}

		fire_only_once = yes

		complete_effect = {
		
			# Comoro Islands
			708 = { add_core_of = ROOT }
			
		}

		ai_will_do = {
			base = 200
		}
	}
}


form_horn_of_africa_africa_category = {
	
	form_the_horn_of_africa = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
		}

		visible = {
			IF = {
				limit = {
					original_tag = ETH
				}
				has_completed_focus = ETH_develop_the_horn_of_africa
			}
			ELSE_IF = {
				limit = {
					OR = {
						original_tag = AFA
						original_tag = ORO
						original_tag = QEM
						original_tag = TIG
						original_tag = BEG
						original_tag = HAR
						original_tag = SID
						original_tag = GBA
					}
				}
				has_completed_focus = HOA_proclaim_east-african_hegemony
			}
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
			NOT = { has_global_flag = form_horn_of_africa_flag }

			has_dlc = "By Blood Alone"
		}

		available = {
			IF = {
				limit = {
					original_tag = ETH
				}
				has_completed_focus = ETH_develop_the_horn_of_africa
				controls_state = 842 # Tigray
				controls_state = 843 # Wello
				controls_state = 908 # Afar
				controls_state = 841 # Begemder
				controls_state = 840 # Gojjam
				controls_state = 839 # Welega
				controls_state = 838 # Illubabor-Kaffa
				controls_state = 837 # Sidamo
				controls_state = 271 # Shewa
				controls_state = 836 # Bale
				controls_state = 835 # Hararghe
				controls_state = 550 # Eritrea
				controls_state = 268 # French Somaliland
				controls_state = 269 # British Somaliland
				controls_state = 559 # Somaliland
				controls_state = 844 # Jubaland
			}
			ELSE_IF = {
				limit = {
					OR = {
						original_tag = AFA
						original_tag = ORO
						original_tag = QEM
						original_tag = TIG
						original_tag = BEG
						original_tag = HAR
						original_tag = SID
						original_tag = GBA
					}
				}
				has_completed_focus = HOA_proclaim_east-african_hegemony
				controls_state = 842 # Tigray
				controls_state = 843 # Wello
				controls_state = 908 # Afar
				controls_state = 841 # Begemder
				controls_state = 840 # Gojjam
				controls_state = 839 # Welega
				controls_state = 838 # Illubabor-Kaffa
				controls_state = 837 # Sidamo
				controls_state = 271 # Shewa
				controls_state = 836 # Bale
				controls_state = 835 # Hararghe
				controls_state = 550 # Eritrea
				controls_state = 268 # French Somaliland
				controls_state = 269 # British Somaliland
				controls_state = 559 # Somaliland
				controls_state = 844 # Jubaland
			}
			ELSE = {
				controls_state = 842 # Tigray
				controls_state = 843 # Wello
				controls_state = 908 # Afar
				controls_state = 841 # Begemder
				controls_state = 840 # Gojjam
				controls_state = 839 # Welega
				controls_state = 838 # Illubabor-Kaffa
				controls_state = 837 # Sidamo
				controls_state = 271 # Shewa
				controls_state = 836 # Bale
				controls_state = 835 # Hararghe
				controls_state = 550 # Eritrea
				controls_state = 268 # French Somaliland
				controls_state = 269 # British Somaliland
				controls_state = 559 # Somaliland
				controls_state = 844 # Jubaland
			}
		}

		complete_effect = {
			set_cosmetic_tag = horn_of_africa
			
			# Tigray
			842 = { add_core_of = ROOT }
			
			# Wello
			843 = { add_core_of = ROOT }

			# Afar
			908 = { add_core_of = ROOT }
			
			# Begemder
			841 = { add_core_of = ROOT }
			
			# Gojjam
			840 = { add_core_of = ROOT }
			
			# Welega
			839 = { add_core_of = ROOT }

			# Illubabor-Kaffa
			838 = { add_core_of = ROOT }

			# Sidamo
			837 = { add_core_of = ROOT }

			# Shewa
			271 = { add_core_of = ROOT }

			# Bale
			836 = { add_core_of = ROOT }

			# Hararghe
			835 = { add_core_of = ROOT }

			# Eritrea
			550 = { add_core_of = ROOT }

			# French Somaliland
			268 = { add_core_of = ROOT }

			# British Somaliland
			269 = { add_core_of = ROOT }

			# Somaliland
			559 = { add_core_of = ROOT }

			# Jubaland
			844 = { add_core_of = ROOT }

			# Socotra
			906 = { add_claim_by = ROOT }
			
			hidden_effect = { 
				
				news_event = { id = bba_africa_news.2 hours = 8 }
				
				set_global_flag = form_horn_of_africa_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	conquer_socotra = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
		}

		visible = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
			
			has_global_flag = form_horn_of_africa_flag
			NOT = { has_global_flag = socotra_conquered_flag }
			has_dlc = "By Blood Alone"
		}

		available = {
			controls_state = 906 # Socotra
		}

		complete_effect = {
		
			# Socotra
			906 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = socotra_conquered_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}


	integrate_the_south = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
		}

		visible = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
			
			has_global_flag = form_horn_of_africa_flag
			NOT = { has_global_flag = integrate_the_south_flag }

			has_dlc = "By Blood Alone"
		}

		available = {
			controls_state = 903 # Garissa
			controls_state = 547 # Nairobi
			controls_state = 905 # Mombasa
			controls_state = 904 # Nyanza-Rift Valley
			controls_state = 548 # Uganda
		}

		complete_effect = {
		
			# Garissa
			903 = { add_core_of = ROOT }

			# Nairobi
			547 = { add_core_of = ROOT }

			# Mombasa
			905 = { add_core_of = ROOT }

			# Nyanza-Rift Valley
			904 = { add_core_of = ROOT }

			# Uganda
			548 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = integrate_the_south_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}


	the_upper_nile = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
		}

		visible = {
			OR = {
				original_tag = ETH # Ethiopia
				original_tag = ERI # Eritrea
				original_tag = SOM # Somalia
				original_tag = TIG # Tigray
				original_tag = QEM # Qemant State
				original_tag = AFA # Afar
				original_tag = HAR # Harar
				original_tag = ORO # Oromia
				original_tag = SID # Sidamo
				original_tag = GBA # Gambela
				original_tag = BEG # Benishangul-Gumuz State
				original_tag = DJI # Djibouti
			}
			
			has_global_flag = form_horn_of_africa_flag
			NOT = { has_global_flag = the_upper_nile_flag }

			has_dlc = "By Blood Alone"
		}

		available = {
			controls_state = 886 # Blue Nile
			controls_state = 884 # Upper Nile
		}

		complete_effect = {
		
			# Blue Nile
			886 = { add_core_of = ROOT }

			# Upper Nile
			884 = { add_core_of = ROOT }
			
			hidden_effect = { 
				
				set_global_flag = the_upper_nile_flag
				
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}


greater_italy_category = {
	
	proclaim_greater_italy = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ITA # Italy
		}

		visible = {
			OR = {
				original_tag = ITA # Italy
			}
			
			NOT = { has_global_flag = greater_italy_flag }
			
		}

		available = {
			has_completed_focus = ITA_towards_a_greater_italy
			custom_trigger_tooltip = {
				tooltip = greater_italy_required_states
				controls_state = 852 # Istria
				controls_state = 1169 # Fiume
				controls_state = 736 # Litorale
				controls_state = 160 # Veneto
				controls_state = 1168 # Friuli
				controls_state = 39 # Alto Adige
				controls_state = 850 # Trentino
				controls_state = 159 # Lombardia
				controls_state = 158 # Piedmonte
				controls_state = 1308 # Genova
				controls_state = 161 # Emilia Romagna
				controls_state = 1408
				controls_state = 1409
				controls_state = 162 # Toscana 
				controls_state = 157 # Abruzzo
				controls_state = 1406
				controls_state = 1407
				controls_state = 2 # Latium
				controls_state = 1404
				controls_state = 1405
				controls_state = 849 # Puglia
				controls_state = 117 # Campania
				controls_state = 156 # Calabria
				controls_state = 115 # Sicilia
				controls_state = 114 # Sardegna
			}  
			custom_trigger_tooltip = {
				tooltip = greater_italy_required_other_states 
				AND = {
					OR = {
						ITA = { 
						controls_state = 1 # Corsica 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1 # Corsica
						}
					}
					OR = {
						ITA = { 
						controls_state = 846 # Ticino 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 846 # Ticino
						}
					}
					OR = {
						ITA = { 
						controls_state = 735 # Savoy 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 735 # Savoy
						}
					}
					OR = {
						ITA = { 
						controls_state = 1301
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1301
						}
					}
					OR = {
						ITA = { 
						controls_state = 1302
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1302
						}
					}
					OR = {
						ITA = { 
						controls_state = 1303
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1303
						}
					}
					OR = {
						ITA = { 
						controls_state = 1304
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1304
						}
					}
					OR = {
						ITA = { 
						controls_state = 1305
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1305
						}
					}
					OR = {
						ITA = { 
						controls_state = 163 # Zara 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 163 # Zara
						}
					}
					OR = {
						ITA = { 
						controls_state = 103 # Dalmatia 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 103 # Dalmatia
						}
					}
					OR = {
						ITA = { 
						controls_state = 1308
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1308
						}
					}
					OR = {
						ITA = { 
						controls_state = 853 # Ljubljana 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 853 # Ljubljana
						}
					}
					OR = {
						ITA = { 
						controls_state = 116 # Malta 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 116 # Malta
						}
					}
					OR = {
						ITA = { 
						controls_state = 182 # Crete 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 182 # Crete
						}
					}
					OR = {
						ITA = { 
						controls_state = 164 # Dodecaneso 
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 164 # Dodecaneso
						}
					}
					OR = {
						ITA = { 
						controls_state = 1716
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1716
						}
					}
					OR = {
						ITA = { 
						controls_state = 1717
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1717
						}
					}
					OR = {
						ITA = { 
						controls_state = 1718
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1718
						}
					}
					OR = {
						ITA = { 
						controls_state = 1388
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1388
						}
					}
					OR = {
						ITA = { 
						controls_state = 1314
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1314
						}
					}
					OR = {
						ITA = { 
						controls_state = 1325
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1325
						}
					}
					OR = {
						ITA = { 
						controls_state = 1339
						}
						any_country = {
							is_subject_of = ITA
							controls_state = 1339
						}
					}
				}
			}
			
			
			
		}

		visible = {
			OR = {
				original_tag = ITA # Italy
			}
			
			NOT = { has_global_flag = greater_italy_flag }
			
		}

		complete_effect = {
			set_cosmetic_tag = greater_italy 
			
			custom_effect_tooltip = greater_italy_effect_tooltip
			
			add_ideas = ITA_italia_irredenta_achieved
			
			hidden_effect = { 

				# Corsica
				ITA = {
					transfer_state = 1
				}
				1 = { 
					add_core_of = ROOT
					set_state_name = ITA_italian_corsica_name
				}
				set_province_name = {
				    id = 3838 
				    name = ITA_italian_ajaccio_name   
				} 
				
				# Ticino
				ITA = {
					transfer_state = 846
				}
				846 = { add_core_of = ROOT }
				
				# Savoy
				ITA = {
					transfer_state = 735
				}
				735 = { 
					add_core_of = ROOT
				}
				
				ITA = {
					transfer_state = 1301
				}
				1301 = { 
					add_core_of = ROOT
				}
				
				ITA = {
					transfer_state = 1302
				}
				1302 = { 
					add_core_of = ROOT
				}
				
				ITA = {
					transfer_state = 1303
				}
				1303 = { 
					add_core_of = ROOT
				}
				
				ITA = {
					transfer_state = 1304
				}
				1304 = { 
					add_core_of = ROOT
				}
				
				ITA = {
					transfer_state = 1305
				}
				1305 = { 
					add_core_of = ROOT
				}
				 
				# Zara
				ITA = {
					transfer_state = 163
				} 
				163 = { add_core_of = ROOT }
				
				# Dalmatia
				ITA = {
					transfer_state = 103
				}
				103 = { 
					add_core_of = ROOT 
					set_state_name = ITA_italian_dalmatia_name
				}
				
				ITA = {
					transfer_state = 1296
				}
				1296 = { 
					add_core_of = ROOT 
					set_state_name = ITA_italian_dalmatia_name
				}
	 
				# Ljubljana
				ITA = {
					transfer_state = 853
				}
				853 = { 
					add_core_of = ROOT 
					set_state_name = ITA_italian_ljubljana_state_name
				}
				set_province_name = {
				    id = 9627
				    name = ITA_italian_ljubljana_name
				}

				# Malta
				ITA = {
					transfer_state = 116
				}
				116 = { add_core_of = ROOT }

				# Crete
				ITA = {
					transfer_state = 182
				}
				182 = { 
					add_core_of = ROOT 
					set_state_name = ITA_italian_crete_name
				}
				set_province_name = {
				    id = 12058  
				    name = ITA_italian_chania_name 
				} 
				set_province_name = {
				    id = 9940  
				    name = ITA_italian_heraklion_name 
				} 

				# Dodecaneso
				ITA = {
					transfer_state = 164
				}
				164 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1716
				}
				1716 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1717
				}
				1717 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1718
				}
				1718 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1388
				}
				1388 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1314
				}
				1314 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1325
				}
				1325 = { add_core_of = ROOT }
				
				ITA = {
					transfer_state = 1339
				}
				1339 = { add_core_of = ROOT }

				news_event = { id = bba_italian_formables_news.1 hours = 8 }	

				set_global_flag = greater_italy_flag

			}
		}

		ai_will_do = {
			base = 500
		}
	}
}

form_sweden_hungary_category = {
	
	proclaim_sweden_hungary = { 

		icon = generic_form_nation

		allowed = {
			original_tag = HUN # Hungary
		}

		visible = {
			
			original_tag = HUN # Hungary
			
			NOT = { has_global_flag = sweden_hungary_formed_flag }

			has_completed_focus = wuw_HUN_elect_a_democratic_king
			
		}

		available = {
			has_completed_focus = wuw_HUN_elect_a_democratic_king # They have a Swedish King
			has_country_flag = HUN_carl_wilhelm_took_absolute_control
			custom_trigger_tooltip = {
				tooltip = sweden_hungary_required_states
				controls_state = 155 # North Transdanubia
				controls_state = 974 # South Transdanubia
				controls_state = 43 # Northern Hungary
				controls_state = 973 # Bacs Bodrog
				controls_state = 154 # Alföld
			}  
			custom_trigger_tooltip = {
				tooltip = sweden_hungary_required_other_states 
				AND = {
					OR = {
						HUN = { 
						controls_state = 138 # Skåne 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 138 # Skåne 
						}
					}
					OR = {
						HUN = { 
						controls_state = 139 # Småland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 139 # Småland
						}
					}
					OR = {
						HUN = { 
						controls_state = 140 # Västergötland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 140 # Västergötland
						}
					}
					OR = {
						HUN = { 
						controls_state = 915 # Bohuslän 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 915 # Bohuslän
						}
					}
					OR = {
						HUN = { 
						controls_state = 124 # Gotland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 124 # Gotland
						}
					}
					OR = {
						HUN = { 
						controls_state = 913 # Östergötland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 913 # Östergötland
						}
					}
					OR = {
						HUN = { 
						controls_state = 919 # Värmland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 919 # Värmland
						}
					}
					OR = {
						HUN = { 
						controls_state = 141 # Södermanland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 141 # Södermanland
						}
					}
					OR = {
						HUN = { 
						controls_state = 916 # Dalarna 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 916 # Dalarna
						}
					}
					OR = {
						HUN = { 
						controls_state = 38 # Gävleborg 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 38 # Gävleborg
						}
					}
					OR = {
						HUN = { 
						controls_state = 917 # Jämtland 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 917 # Jämtland
						}
					}
					OR = {
						HUN = { 
						controls_state = 918 # Västerbotten 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 918 # Västerbotten
						}
					}
					OR = {
						HUN = { 
						controls_state = 666 # Norrbotten 
						}
						any_country = {
							is_subject_of = HUN
							controls_state = 666 # Norrbotten
						}
					}
				}
			}
			
		}

		complete_effect = {
			set_cosmetic_tag = HUN_sweden_hungary_unified 
			
			custom_effect_tooltip = sweden_hungary_effect_tooltip
			
			hidden_effect = { 

				# Skåne
				HUN = {
					transfer_state = 138
				}
				138 = { 
					add_core_of = ROOT
				}
				
				# Småland
				HUN = {
					transfer_state = 139
				}
				139 = { 
					add_core_of = ROOT
				}

				# Västergötland
				HUN = {
					transfer_state = 140
				}
				140 = { 
					add_core_of = ROOT
				}

				# Bohuslän
				HUN = {
					transfer_state = 915
				}
				915 = { 
					add_core_of = ROOT
				}

				# Östergötland!!!!!!!
				HUN = {
					transfer_state = 913
				}
				913 = { 
					add_core_of = ROOT
				}

				# Gotland
				HUN = {
					transfer_state = 124
				}
				124 = { 
					add_core_of = ROOT
				}

				# Värmland..
				HUN = {
					transfer_state = 919
				}
				919 = { 
					add_core_of = ROOT
				}

				# Södermanland
				HUN = {
					transfer_state = 141
				}
				141 = { 
					add_core_of = ROOT
				}

				# Dalarna
				HUN = {
					transfer_state = 916
				}
				916 = { 
					add_core_of = ROOT
				}

				# Gävleborg
				HUN = {
					transfer_state = 38
				}
				38 = { 
					add_core_of = ROOT
				}

				# Jämtland
				HUN = {
					transfer_state = 917
				}
				917 = { 
					add_core_of = ROOT
				}

				# Västerbotten
				HUN = {
					transfer_state = 918
				}
				918 = { 
					add_core_of = ROOT
				}

				# Norrbotten
				HUN = {
					transfer_state = 666
				}
				666 = { 
					add_core_of = ROOT
				}

				set_global_flag = sweden_hungary_formed_flag

			}
		}

		ai_will_do = {
			base = 500
		}
	}
}

antilles_category = {
	
	unite_the_antilles = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
		}

		visible = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
			
			NOT = { has_global_flag = antilles_formed_flag }
			
		}

		available = {
			
			319 = {
				is_fully_controlled_by = ROOT
			}

			318 = {
				is_fully_controlled_by = ROOT
			}

			315 = {
				is_fully_controlled_by = ROOT
			}

		}

		complete_effect = {
			set_cosmetic_tag = antilles 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			# Dominican Republic
			IF =  {
				limit = {
					NOT = {
						319 = {
							is_core_of = ROOT
						}
					}
				}
				319 = { add_core_of = ROOT }
			}
			
			# Haiti
			IF =  {
				limit = {
					NOT = {
						318 = {
							is_core_of = ROOT
						}
					}
				}
				318 = { add_core_of = ROOT }
			}

			# Cuba
			IF =  {
				limit = {
					NOT = {
						315 = {
							is_core_of = ROOT
						}
					}
				}
				315 = { add_core_of = ROOT }
			}

			# Jamaica
			IF =  {
				limit = {
					NOT = {
						689 = {
							is_core_of = ROOT
						}
					}
				}
				689 = { add_core_of = ROOT }
			}

			# Northern Bahamas
			IF =  {
				limit = {
					NOT = {
						690 = {
							is_core_of = ROOT
						}
					}
				}
				690 = { add_core_of = ROOT }
			}

			# Southern Bahamas
			IF =  {
				limit = {
					NOT = {
						693 = {
							is_core_of = ROOT
						}
					}
				}
				693 = { add_core_of = ROOT }
			}

			# Puerto Rico
			IF =  {
				limit = {
					NOT = {
						686 = {
							is_core_of = ROOT
						}
					}
				}
				686 = { add_core_of = ROOT }
			}

			# French Caribbean
			IF =  {
				limit = {
					NOT = {
						694 = {
							is_core_of = ROOT
						}
					}
				}
				694 = { add_core_of = ROOT }
			}

			# Leeward Islands
			IF =  {
				limit = {
					NOT = {
						308 = {
							is_core_of = ROOT
						}
					}
				}
				308 = { add_core_of = ROOT }
			}

			# Windward Islands
			IF =  {
				limit = {
					NOT = {
						692 = {
							is_core_of = ROOT
						}
					}
				}
				692 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1371 = {
							is_core_of = ROOT
						}
					}
				}
				1371 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1372 = {
							is_core_of = ROOT
						}
					}
				}
				1372 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1373 = {
							is_core_of = ROOT
						}
					}
				}
				1373 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1374 = {
							is_core_of = ROOT
						}
					}
				}
				1374 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1375 = {
							is_core_of = ROOT
						}
					}
				}
				1375 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1376 = {
							is_core_of = ROOT
						}
					}
				}
				1376 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1377 = {
							is_core_of = ROOT
						}
					}
				}
				1377 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1378 = {
							is_core_of = ROOT
						}
					}
				}
				1378 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1379 = {
							is_core_of = ROOT
						}
					}
				}
				1379 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1380 = {
							is_core_of = ROOT
						}
					}
				}
				1380 = { add_core_of = ROOT }
			}

			hidden_effect = {
				set_global_flag = antilles_formed_flag

				news_event = { 
					id = south_american_news.20
					hours = 6
				}

			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	integrate_the_netherlands_antilles = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
		}

		visible = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
			
			has_global_flag = antilles_formed_flag
			NOT = { has_global_flag = integrated_curacao_flag }
			
		}

		available = {
			
			695 = {
				is_fully_controlled_by = ROOT
			}

		}

		complete_effect = {

			custom_effect_tooltip = generic_skip_one_line_tt
			
			# Curacao
			IF =  {
				limit = {
					NOT = {
						695 = {
							is_core_of = ROOT
						}
					}
				}
				695 = { add_core_of = ROOT }
			}

			hidden_effect = {
				set_global_flag = integrated_curacao_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	integrate_trinidad_and_tobago = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
		}

		visible = {
			OR = {
				original_tag = HAI # Haiti
				original_tag = DOM # Dominican Republic
				original_tag = PUE # Puerto Rico
				original_tag = CUB # Cuba
				original_tag = JAM # Jamaica
				original_tag = BAH # Bahamas
				original_tag = GDL # Guadeloupe 
				original_tag = BAS # British Antilles 
				original_tag = GRD
				original_tag = STV
				original_tag = STL
				original_tag = BRB
				original_tag = DMN
				original_tag = ATB
				original_tag = SKN
			}
			
			has_global_flag = antilles_formed_flag
			NOT = { has_global_flag = integrated_tobago_flag }
			
		}

		available = {
			
			691 = {
				is_fully_controlled_by = ROOT
			}
			
			1370 = {
				is_fully_controlled_by = ROOT
			}

		}

		complete_effect = {

			custom_effect_tooltip = generic_skip_one_line_tt
			
			# Tobago
			IF =  {
				limit = {
					NOT = {
						691 = {
							is_core_of = ROOT
						}
					}
				}
				691 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1370 = {
							is_core_of = ROOT
						}
					}
				}
				1370 = { add_core_of = ROOT }
			}

			hidden_effect = {
				set_global_flag = integrated_tobago_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}
}

latin_africa_category = {
	
	unite_latin_africa = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = COG # Congo Leopoldville
				original_tag = KAT # Katanga
				original_tag = RCG # Congo Brazzaville
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = ANG # Angola
				original_tag = GAB # Gabon 
				original_tag = EQG # Equatorial Guinea
				original_tag = CMR # Cameroon
				original_tag = CHA # Chad
				original_tag = CAR # Central African Republic
			}
		}

		visible = {
			OR = {
				original_tag = COG # Congo Leopoldville
				original_tag = KAT # Katanga
				original_tag = RCG # Congo Brazzaville
				original_tag = RWA # Rwanda
				original_tag = BRD # Burundi
				original_tag = ANG # Angola
				original_tag = GAB # Gabon 
				original_tag = EQG # Equatorial Guinea
				original_tag = CMR # Cameroon
				original_tag = CHA # Chad
				original_tag = CAR # Central African Republic
			}
			
			NOT = { has_global_flag = latin_africa_formed_flag }
			
		}

		available = {
			
			295 = {
				is_controlled_by = ROOT
			}

			888 = {
				is_controlled_by = ROOT
			}

			889 = {
				is_controlled_by = ROOT
			}

			890 = {
				is_controlled_by = ROOT
			}

			718 = {
				is_controlled_by = ROOT
			}

			538 = {
				is_controlled_by = ROOT
			}

			768 = {
				is_controlled_by = ROOT
			}

			769 = {
				is_controlled_by = ROOT
			}

			796 = {
				is_controlled_by = ROOT
			}

			540 = {
				is_controlled_by = ROOT
			}

			891 = {
				is_controlled_by = ROOT
			}

			892 = {
				is_controlled_by = ROOT
			}

			772 = {
				is_controlled_by = ROOT
			}

			539 = {
				is_controlled_by = ROOT
			}

			297 = {
				is_controlled_by = ROOT
			}

			773 = {
				is_controlled_by = ROOT
			}

			660 = {
				is_controlled_by = ROOT
			}

			774 = {
				is_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 295
				state = 888
				state = 889
				state = 890
				state = 718
				state = 538
				state = 768
				state = 769
				state = 796
				state = 540
				state = 891
				state = 892
				state = 772
				state = 539
				state = 297
				state = 773
				state = 660
				state = 774
			}
		}

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}
			set_cosmetic_tag = latin_africa 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			# Leopoldville
			IF =  {
				limit = {
					NOT = {
						295 = {
							is_core_of = ROOT
						}
					}
				}
				295 = { add_core_of = ROOT }
			}
			
			# Coquilhatville
			IF =  {
				limit = {
					NOT = {
						538 = {
							is_core_of = ROOT
						}
					}
				}
				538 = { add_core_of = ROOT }
			}

			# Lusambo
			IF =  {
				limit = {
					NOT = {
						888 = {
							is_core_of = ROOT
						}
					}
				}
				888 = { add_core_of = ROOT }
			}

			# Elizabethville
			IF =  {
				limit = {
					NOT = {
						889 = {
							is_core_of = ROOT
						}
					}
				}
				889 = { add_core_of = ROOT }
			}

			# Costermanville
			IF =  {
				limit = {
					NOT = {
						890 = {
							is_core_of = ROOT
						}
					}
				}
				890 = { add_core_of = ROOT }
			}

			# Stanleyville
			IF =  {
				limit = {
					NOT = {
						718 = {
							is_core_of = ROOT
						}
					}
				}
				718 = { add_core_of = ROOT }
			}

			# Rwanda
			IF =  {
				limit = {
					NOT = {
						768 = {
							is_core_of = ROOT
						}
					}
				}
				768 = { add_core_of = ROOT }
			}

			# Burundi
			IF =  {
				limit = {
					NOT = {
						769 = {
							is_core_of = ROOT
						}
					}
				}
				769 = { add_core_of = ROOT }
			}

			# North Angola
			IF =  {
				limit = {
					NOT = {
						796 = {
							is_core_of = ROOT
						}
					}
				}
				796 = { add_core_of = ROOT }
			}

			# Luanda
			IF =  {
				limit = {
					NOT = {
						540 = {
							is_core_of = ROOT
						}
					}
				}
				540 = { add_core_of = ROOT }
			}

			# South West Angola
			IF =  {
				limit = {
					NOT = {
						892 = {
							is_core_of = ROOT
						}
					}
				}
				892 = { add_core_of = ROOT }
			}

			# Zambesi
			IF =  {
				limit = {
					NOT = {
						891 = {
							is_core_of = ROOT
						}
					}
				}
				891 = { add_core_of = ROOT }
			}

			# Middle Congo
			IF =  {
				limit = {
					NOT = {
						772 = {
							is_core_of = ROOT
						}
					}
				}
				772 = { add_core_of = ROOT }
			}

			# Gabon
			IF =  {
				limit = {
					NOT = {
						539 = {
							is_core_of = ROOT
						}
					}
				}
				539 = { add_core_of = ROOT }
			}

			# Equatorial Guinea
			IF =  {
				limit = {
					NOT = {
						297 = {
							is_core_of = ROOT
						}
					}
				}
				297 = { add_core_of = ROOT }
			}

			# Sao Tome
			IF =  {
				limit = {
					NOT = {
						705 = {
							is_core_of = ROOT
						}
					}
				}
				705 = { add_core_of = ROOT }
			}

			# Cameroon
			IF =  {
				limit = {
					NOT = {
						773 = {
							is_core_of = ROOT
						}
					}
				}
				773 = { add_core_of = ROOT }
			}

			# Equatorial Africa
			IF =  {
				limit = {
					NOT = {
						660 = {
							is_core_of = ROOT
						}
					}
				}
				660 = { add_core_of = ROOT }
			}

			# Chad
			IF =  {
				limit = {
					NOT = {
						774 = {
							is_core_of = ROOT
						}
					}
				}
				774 = { add_core_of = ROOT }
			}

			# B.E.T
			IF =  {
				limit = {
					NOT = {
						775 = {
							is_core_of = ROOT
						}
					}
				}
				775 = { add_core_of = ROOT }
			}

			hidden_effect = {
				set_global_flag = latin_africa_formed_flag

				news_event = { 
					id = ww_congo.16
					hours = 6
				}

			}
		}

		ai_will_do = {
			base = 2000
		}
	}
}


germany_formable_category = {
	
	declare_germany_reunified_decision = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
				original_tag = WPH # Westphalia
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = DNZ # Danzig
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
				AND = {
					original_tag = LUX # Luxembourg 
					has_game_rule = {
						rule = germany_fragmentation_status
						option = GERMANY_FRAGMENTED
					}
				}
				
			}
			
			NOT = { has_global_flag = germany_reformed_flag }
			
		}

		available = {
			
			909 = { # Schleswig
				is_controlled_by = ROOT
			}

			58 = { # Holstein
				is_controlled_by = ROOT
			}

			61 = { # Mecklenburg
				is_controlled_by = ROOT
			}

			62 = { # Vorpommern
				is_controlled_by = ROOT
			}

			#63 = { # Hinterpommern
			#	is_controlled_by = ROOT
			#}
			#
			#68 = { # Ostmark
			#	is_controlled_by = ROOT
			#}
			#
			#66 = { # Niederschlesien
			#	is_controlled_by = ROOT
			#}
			#
			#67 = { # Oberschlesien
			#	is_controlled_by = ROOT
			#}

			64 = { # Brandenburg
				is_controlled_by = ROOT
			}

			65 = { # Sachsen
				is_controlled_by = ROOT
			}

			60 = { # Thüringen
				is_controlled_by = ROOT
			}

			59 = { # Hannover
				is_controlled_by = ROOT
			}

			56 = { # Weser-Ems
				is_controlled_by = ROOT
			}

			57 = { # Westfalen
				is_controlled_by = ROOT
			}

			55 = { # Hessen
				is_controlled_by = ROOT
			}

			51 = { # Rhineland
				is_controlled_by = ROOT
			}

			42 = { # Moselland
				is_controlled_by = ROOT
			}

			978 = { # Baden
				is_controlled_by = ROOT
			}

			50 = { # Württemberg
				is_controlled_by = ROOT
			}

			54 = { # Franken
				is_controlled_by = ROOT
			}

			53 = { # Niederbayern
				is_controlled_by = ROOT
			}

			52 = { # Oberbayern
				is_controlled_by = ROOT
			}
			
			1542 = {
				is_controlled_by = ROOT
			}
			
			1543 = {
				is_controlled_by = ROOT
			}
			
			1544 = {
				is_controlled_by = ROOT
			}
			
			1545 = {
				is_controlled_by = ROOT
			}
			
			1546 = {
				is_controlled_by = ROOT
			}
			
			1547 = {
				is_controlled_by = ROOT
			}
			
			1548 = {
				is_controlled_by = ROOT
			}
			
			1549 = {
				is_controlled_by = ROOT
			}
			
			1550 = {
				is_controlled_by = ROOT
			}
			
			1251 = {
				is_controlled_by = ROOT
			}
			
			1253 = {
				is_controlled_by = ROOT
			}
			
			1254 = {
				is_controlled_by = ROOT
			}
			
			1268 = {
				is_controlled_by = ROOT
			}
			
			1269 = {
				is_controlled_by = ROOT
			}
			
			1270 = {
				is_controlled_by = ROOT
			}
			
			1413 = {
				is_controlled_by = ROOT
			}
			
			1414 = {
				is_controlled_by = ROOT
			}
			
			1551 = {
				is_controlled_by = ROOT
			}
		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 909
				state = 58
				state = 61
				state = 62
				state = 64
				state = 65
				state = 60
				state = 59
				state = 56
				state = 57
				state = 55
				state = 51
				state = 42
				state = 978
				state = 50
				state = 54
				state = 53
				state = 52
				state = 1542
				state = 1543
				state = 1544
				state = 1545
				state = 1546
				state = 1547
				state = 1548
				state = 1549
				state = 1550
				state = 1551
				state = 1251
				state = 1253
				state = 1254
				state = 1268
				state = 1269
				state = 1270
				state = 1413
				state = 1414
			}
		}

		cost = 100

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}
			set_cosmetic_tag = reunified_germany 

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = declare_germany_reunified_decision_tt 
			hidden_effect = {
				# Brandenburg
				IF =  {
					limit = {
						NOT = {
							64 = {
								is_core_of = ROOT
							}
						}
					}
					64 = { add_core_of = ROOT }
				}

				# Vorpommern
				IF =  {
					limit = {
						NOT = {
							62 = {
								is_core_of = ROOT
							}
						}
					}
					62 = { add_core_of = ROOT }
				}

				# Mecklenburg
				IF =  {
					limit = {
						NOT = {
							61 = {
								is_core_of = ROOT
							}
						}
					}
					61 = { add_core_of = ROOT }
				}

				# Sachsen
				IF =  {
					limit = {
						NOT = {
							65 = {
								is_core_of = ROOT
							}
						}
					}
					65 = { add_core_of = ROOT }
				}

				# Holstein
				IF =  {
					limit = {
						NOT = {
							58 = {
								is_core_of = ROOT
							}
						}
					}
					58 = { add_core_of = ROOT }
				}

				# Schleswig
				IF =  {
					limit = {
						NOT = {
							909 = {
								is_core_of = ROOT
							}
						}
					}
					909 = { add_core_of = ROOT }
				}

				# Hannover
				IF =  {
					limit = {
						NOT = {
							59 = {
								is_core_of = ROOT
							}
						}
					}
					59 = { add_core_of = ROOT }
				}

				# Thüringen
				IF =  {
					limit = {
						NOT = {
							60 = {
								is_core_of = ROOT
							}
						}
					}
					60 = { add_core_of = ROOT }
				}

				# Weser-Ems
				IF =  {
					limit = {
						NOT = {
							56 = {
								is_core_of = ROOT
							}
						}
					}
					56 = { add_core_of = ROOT }
				}

				# Westfalen
				IF =  {
					limit = {
						NOT = {
							57 = {
								is_core_of = ROOT
							}
						}
					}
					57 = { add_core_of = ROOT }
				}

				# Hessen
				IF =  {
					limit = {
						NOT = {
							55 = {
								is_core_of = ROOT
							}
						}
					}
					55 = { add_core_of = ROOT }
				}

				# Rhineland
				IF =  {
					limit = {
						NOT = {
							51 = {
								is_core_of = ROOT
							}
						}
					}
					51 = { add_core_of = ROOT }
				}

				# Moselland
				IF =  {
					limit = {
						NOT = {
							42 = {
								is_core_of = ROOT
							}
						}
					}
					42 = { add_core_of = ROOT }
				}

				# Baden
				IF =  {
					limit = {
						NOT = {
							978 = {
								is_core_of = ROOT
							}
						}
					}
					978 = { add_core_of = ROOT }
				}

				# Württemberg
				IF =  {
					limit = {
						NOT = {
							50 = {
								is_core_of = ROOT
							}
						}
					}
					50 = { add_core_of = ROOT }
				}

				# Franken
				IF =  {
					limit = {
						NOT = {
							54 = {
								is_core_of = ROOT
							}
						}
					}
					54 = { add_core_of = ROOT }
				}

				# Oberbayern
				IF =  {
					limit = {
						NOT = {
							52 = {
								is_core_of = ROOT
							}
						}
					}
					52 = { add_core_of = ROOT }
				}

				# Niederbayern
				IF =  {
					limit = {
						NOT = {
							53 = {
								is_core_of = ROOT
							}
						}
					}
					53 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1542 = {
								is_core_of = ROOT
							}
						}
					}
					1542 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1543 = {
								is_core_of = ROOT
							}
						}
					}
					1543 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1544 = {
								is_core_of = ROOT
							}
						}
					}
					1544 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1545 = {
								is_core_of = ROOT
							}
						}
					}
					1545 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1546 = {
								is_core_of = ROOT
							}
						}
					}
					1546 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1547 = {
								is_core_of = ROOT
							}
						}
					}
					1547 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1548 = {
								is_core_of = ROOT
							}
						}
					}
					1548 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1549 = {
								is_core_of = ROOT
							}
						}
					}
					1549 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1550 = {
								is_core_of = ROOT
							}
						}
					}
					1550 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1551 = {
								is_core_of = ROOT
							}
						}
					}
					1551 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1251 = {
								is_core_of = ROOT
							}
						}
					}
					1251 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1253 = {
								is_core_of = ROOT
							}
						}
					}
					1253 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1254 = {
								is_core_of = ROOT
							}
						}
					}
					1254 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1268 = {
								is_core_of = ROOT
							}
						}
					}
					1268 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1269 = {
								is_core_of = ROOT
							}
						}
					}
					1269 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1270 = {
								is_core_of = ROOT
							}
						}
					}
					1270 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1413 = {
								is_core_of = ROOT
							}
						}
					}
					1413 = { add_core_of = ROOT }
				}
				
				IF =  {
					limit = {
						NOT = {
							1414 = {
								is_core_of = ROOT
							}
						}
					}
					1414 = { add_core_of = ROOT }
				}

				set_global_flag = germany_reformed_flag

				country_event = { 
					id = wuw_GER_releasable.1
					hours = 0
				}

				news_event = { 
					id = wuw_GER_news.1
					hours = 16
				}
			}

		}

		ai_will_do = {
			base = 2500
		}
	}

	reintegrate_luxemburg = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				8 = {
					is_core_of = ROOT
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintegrated_lumexburg_flag }
			
		}

		available = {
			
			8 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 8
			}
		}

		cost = 25

		complete_effect = {
			
			# Luxemburg
			IF =  {
				limit = {
					NOT = {
						8 = {
							is_core_of = ROOT
						}
					}
				}
				8 = { add_core_of = ROOT }
			}

			hidden_effect = {
				8 = {
					set_state_name = 8_lux_name
				}

				set_province_name = {
					id = 6583
					name = 6583_german_unification_lux_name
				}
				
				set_global_flag = reintegrated_lumexburg_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	reintegrate_elsass_lothringen = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				28 = {
					is_core_of = ROOT
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintigrated_alsace_loraine_flag }
			
		}

		available = {
			
			28 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 28
			}
		}

		cost = 25

		complete_effect = {
			
			# Alsace-Lorraine
			IF =  {
				limit = {
					NOT = {
						28 = {
							is_core_of = ROOT
						}
					}
				}
				28 = { add_core_of = ROOT }
			}

			hidden_effect = {
				28 = { set_state_name = 28_german_name }
				set_province_name = { id = 9503 name = province_9503_german_name }
				set_province_name = { id = 678 name = province_678_german_name }
				
				set_global_flag = reintigrated_alsace_loraine_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	reintegrate_south_jutland = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				912 = {
					is_core_of = ROOT
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintigrated_south_jutland_flag }
			
		}

		available = {
			
			912 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 912
			}
		}

		cost = 25

		complete_effect = {
			
			# South Jutland
			IF =  {
				limit = {
					NOT = {
						912 = {
							is_core_of = ROOT
						}
					}
				}
				912 = { add_core_of = ROOT }
			}

			hidden_effect = {
				912 = { set_state_name = 912_german_name }
				set_province_name = { id = 13258 name = province_13258_german_name }
				
				set_global_flag = reintigrated_south_jutland_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	reintegrate_east_prussia = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				AND = {
					5 = {
						is_core_of = ROOT
					}
					763 = {
						is_core_of = ROOT
					}
					188 = {
						is_core_of = ROOT
					}
					1557 = {
						is_core_of = ROOT
					}
					1701 = {
						is_core_of = ROOT
					}
					1702 = {
						is_core_of = ROOT
					}
					1172 = {
						is_core_of = ROOT
					}
					1249 = {
						is_core_of = ROOT
					}
					1288 = {
						is_core_of = ROOT
					}
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintigrated_east_prussia_flag }
			
		}

		available = {
			
			5 = {
				is_fully_controlled_by = ROOT
			}

			763 = {
				is_fully_controlled_by = ROOT
			}

			188 = {
				is_fully_controlled_by = ROOT
			}
			
			1557 = {
				is_fully_controlled_by = ROOT
			}
			
			1701 = {
				is_fully_controlled_by = ROOT
			}
			
			1702 = {
				is_fully_controlled_by = ROOT
			}
			
			1172 = {
				is_fully_controlled_by = ROOT
			}
			
			1249 = {
				is_fully_controlled_by = ROOT
			}
			
			1288 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 5
				state = 763
				state = 188
				state = 1557
				state = 1701
				state = 1702
				state = 1172
				state = 1249
				state = 1288
			}
		}

		cost = 50

		complete_effect = {
			
			# Ermland-Masuren
			IF =  {
				limit = {
					NOT = {
						5 = {
							is_core_of = ROOT
						}
					}
				}
				5 = { add_core_of = ROOT }
			}

			# Königsberg
			IF =  {
				limit = {
					NOT = {
						763 = {
							is_core_of = ROOT
						}
					}
				}
				763 = { add_core_of = ROOT }
			}

			# Memel
			IF =  {
				limit = {
					NOT = {
						188 = {
							is_core_of = ROOT
						}
					}
				}
				188 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1557 = {
							is_core_of = ROOT
						}
					}
				}
				1557 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1701 = {
							is_core_of = ROOT
						}
					}
				}
				1701 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1702 = {
							is_core_of = ROOT
						}
					}
				}
				1702 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1172 = {
							is_core_of = ROOT
						}
					}
				}
				1172 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1249 = {
							is_core_of = ROOT
						}
					}
				}
				1249 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1288 = {
							is_core_of = ROOT
						}
					}
				}
				1288 = { add_core_of = ROOT }
			}

			hidden_effect = {
				set_global_flag = reintigrated_east_prussia_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	reintegrate_silesia = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				AND = {
					66 = {
						is_core_of = ROOT
					}
					67 = {
						is_core_of = ROOT
					}
					762 = {
						is_core_of = ROOT
					}
					1540 = {
						is_core_of = ROOT
					}
					1541 = {
						is_core_of = ROOT
					}
					1558 = {
						is_core_of = ROOT
					}
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintigrated_silesia_flag }
			
		}

		available = {
			
			66 = {
				is_fully_controlled_by = ROOT
			}

			67 = {
				is_fully_controlled_by = ROOT
			}

			762 = {
				is_fully_controlled_by = ROOT
			}
			
			1540 = {
				is_fully_controlled_by = ROOT
			}
			
			1541 = {
				is_fully_controlled_by = ROOT
			}
			
			1558 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 66
				state = 67
				state = 762
				state = 1540
				state = 1541
				state = 1558
			}
		}

		cost = 50

		complete_effect = {
			
			# Lower Silesia
			IF =  {
				limit = {
					NOT = {
						66 = {
							is_core_of = ROOT
						}
					}
				}
				66 = { add_core_of = ROOT }
			}

			# Upper Silesia
			IF =  {
				limit = {
					NOT = {
						67 = {
							is_core_of = ROOT
						}
					}
				}
				67 = { add_core_of = ROOT }
			}

			# Katowice
			IF =  {
				limit = {
					NOT = {
						762 = {
							is_core_of = ROOT
						}
					}
				}
				762 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1540 = {
							is_core_of = ROOT
						}
					}
				}
				1540 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1541 = {
							is_core_of = ROOT
						}
					}
				}
				1541 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1558 = {
							is_core_of = ROOT
						}
					}
				}
				1558 = { add_core_of = ROOT }
			}

			hidden_effect = {
				762 = { set_state_name = 762_german_name }
				set_province_name = { id = 6464 name = province_6464_german_name }

				set_global_flag = reintigrated_silesia_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	reintegrate_posen_west_prussia = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}
		}

		visible = {
			OR = {
				original_tag = PRE # Prussia
				original_tag = MEK # Mecklenburg
				original_tag = VGE # Volga Germany
				original_tag = SHL # Schleswig-Holstein
				original_tag = HAN # Hannover
				original_tag = HES # Hesse
				original_tag = RHI # Rhineland 
				original_tag = WUR # Wurtemmburg
				original_tag = BAY # Bavaria
				original_tag = THU # Thuringia
				original_tag = SAX # Saxony
				original_tag = LUX # Luxembourg 
				original_tag = DNZ # Danzig 
				original_tag = WGR # West Germany
				original_tag = DDR # East Germany
				original_tag = UBD # United Baltic Duchy
			}

			NOT = {
				AND = {
					68 = {
						is_core_of = ROOT
					}
					63 = {
						is_core_of = ROOT
					}
					86 = {
						is_core_of = ROOT
					}
					807 = {
						is_core_of = ROOT
					}
					85 = {
						is_core_of = ROOT
					}
					1538 = {
						is_core_of = ROOT
					}
					1539 = {
						is_core_of = ROOT
					}
					1554 = {
						is_core_of = ROOT
					}
					1389 = {
						is_core_of = ROOT
					}
				}
			}
			
			has_global_flag = germany_reformed_flag
			NOT = { has_global_flag = reintigrated_posen_west_prussia_flag }
			
		}

		available = {
			
			68 = {
				is_fully_controlled_by = ROOT
			}

			63 = {
				is_fully_controlled_by = ROOT
			}

			86 = {
				is_fully_controlled_by = ROOT
			}

			807 = {
				is_fully_controlled_by = ROOT
			}

			85 = {
				is_fully_controlled_by = ROOT
			}
			
			1538 = {
				is_fully_controlled_by = ROOT
			}
			
			1539 = {
				is_fully_controlled_by = ROOT
			}
			
			1554 = {
				is_fully_controlled_by = ROOT
			}
			
			1389 = {
				is_fully_controlled_by = ROOT
			}

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 68
				state = 63
				state = 86
				state = 807
				state = 85
				state = 1538
				state = 1539
				state = 1554
				state = 1389
			}
		}

		cost = 75

		complete_effect = {
			
			# Posen
			IF =  {
				limit = {
					NOT = {
						86 = {
							is_core_of = ROOT
						}
					}
				}
				86 = { add_core_of = ROOT }
			}

			# Ostmark
			IF =  {
				limit = {
					NOT = {
						68 = {
							is_core_of = ROOT
						}
					}
				}
				68 = { add_core_of = ROOT }
			}

			# Hinterpommern
			IF =  {
				limit = {
					NOT = {
						63 = {
							is_core_of = ROOT
						}
					}
				}
				63 = { add_core_of = ROOT }
			}

			# Gdynia
			IF =  {
				limit = {
					NOT = {
						807 = {
							is_core_of = ROOT
						}
					}
				}
				807 = { add_core_of = ROOT }
			}

			# Danzig
			IF =  {
				limit = {
					NOT = {
						85 = {
							is_core_of = ROOT
						}
					}
				}
				85 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1538 = {
							is_core_of = ROOT
						}
					}
				}
				1538 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1539 = {
							is_core_of = ROOT
						}
					}
				}
				1539 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1554 = {
							is_core_of = ROOT
						}
					}
				}
				1554 = { add_core_of = ROOT }
			}
			
			IF =  {
				limit = {
					NOT = {
						1389 = {
							is_core_of = ROOT
						}
					}
				}
				1389 = { add_core_of = ROOT }
			}

			hidden_effect = {
				807 = { set_state_name = 807_german_name }
				86 = { set_state_name = 86_german_name }
				set_province_name = { id = 9263 name = province_9263_german_name }
				set_province_name = { id = 3295 name = province_3295_german_name }
				set_province_name = { id = 6558 name = province_6558_german_name }

				set_global_flag = reintigrated_posen_west_prussia_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}

	
}


neo_assyrian_empire_category = {
	
	neo_assyrian_empire_decision = { 

		icon = generic_form_nation

		allowed = {
			original_tag = ASY # Assyria
		}

		visible = {
			original_tag = ASY # Assyria
			
			
			NOT = { has_global_flag = neo_assyria_formed_flag }
			
		}

		available = {

			676 = {
				is_controlled_by = ROOT
			}

			291 = {
				is_controlled_by = ROOT
			}

			1010 = {
				is_controlled_by = ROOT
			}

			675 = {
				is_controlled_by = ROOT
			}

			1011 = {
				is_controlled_by = ROOT
			}
			
			1049 = {
				is_controlled_by = ROOT
			}
			
			1276 = {
				is_controlled_by = ROOT
			}
			
			1277 = {
				is_controlled_by = ROOT
			}
			
			1279 = {
				is_controlled_by = ROOT
			}
			
			1280 = {
				is_controlled_by = ROOT
			}
			
			1281 = {
				is_controlled_by = ROOT
			}
			
			1282 = {
				is_controlled_by = ROOT
			}
			
			1283 = {
				is_controlled_by = ROOT
			}
			
			1284 = {
				is_controlled_by = ROOT
			}
			
			1285 = {
				is_controlled_by = ROOT
			}

			656 = {
				is_controlled_by = ROOT
			}

			680 = {
				is_controlled_by = ROOT
			}

			554 = {
				is_controlled_by = ROOT
			}

			677 = {
				is_controlled_by = ROOT
			}

			799 = {
				is_controlled_by = ROOT
			}
			
			1050 = {
				is_controlled_by = ROOT
			}
			
			1136 = {
				is_controlled_by = ROOT
			}
			
			1330 = {
				is_controlled_by = ROOT
			}

			553 = {
				is_controlled_by = ROOT
			}

			344 = {
				is_controlled_by = ROOT
			}

			350 = {
				is_controlled_by = ROOT
			}

			454 = {
				is_controlled_by = ROOT
			}

			455 = {
				is_controlled_by = ROOT
			}

			453 = {
				is_controlled_by = ROOT
			}

			446 = {
				is_controlled_by = ROOT
			}

			907 = {
				is_controlled_by = ROOT
			}

			447 = {
				is_controlled_by = ROOT
			}

			348 = {
				is_controlled_by = ROOT
			}

			345 = {
				is_controlled_by = ROOT
			}
			
			1051 = {
				is_controlled_by = ROOT
			}
			
			1052 = {
				is_controlled_by = ROOT
			}
			
			1133 = {
				is_controlled_by = ROOT
			}
			
			1134 = {
				is_controlled_by = ROOT
			}
			
			1135 = {
				is_controlled_by = ROOT
			}
			
			1136 = {
				is_controlled_by = ROOT
			}
			
			1137 = {
				is_controlled_by = ROOT
			}
			
			1138 = {
				is_controlled_by = ROOT
			}
			
			1139 = {
				is_controlled_by = ROOT
			}
			
			1140 = {
				is_controlled_by = ROOT
			}
		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 676
				state = 291
				state = 1010
				state = 675
				state = 1011
				state = 1049
				state = 1276
				state = 1277
				state = 1279
				state = 1280
				state = 1281
				state = 1282
				state = 1283
				state = 1284
				state = 1285
				state = 656
				state = 680
				state = 554
				state = 677
				state = 799
				state = 1050
				state = 1136
				state = 1330
				state = 553
				state = 344
				state = 350
				state = 454
				state = 455
				state = 453
				state = 446
				state = 907
				state = 447
				state = 348
				state = 345
				state = 1051
				state = 1052
				state = 1133
				state = 1134
				state = 1135
				state = 1136
				state = 1137
				state = 1138
				state = 1139
				state = 1140
			}
		}

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}
			set_cosmetic_tag = ASY_neo_assyrian_empire 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_state_core = 676
			add_state_core = 291
			add_state_core = 1010
			add_state_core = 675
			add_state_core = 1011
			add_state_core = 1049
			add_state_core = 1276
			add_state_core = 1277
			add_state_core = 1279
			add_state_core = 1280
			add_state_core = 1281
			add_state_core = 1282
			add_state_core = 1283
			add_state_core = 1284
			add_state_core = 1285
			add_state_core = 656
			add_state_core = 680
			add_state_core = 554
			add_state_core = 677
			add_state_core = 799
			add_state_core = 1050
			add_state_core = 1136
			add_state_core = 1330
			add_state_core = 553
			add_state_core = 344
			add_state_core = 350
			add_state_core = 454
			add_state_core = 455
			add_state_core = 453
			add_state_core = 446
			add_state_core = 907
			add_state_core = 447
			add_state_core = 348
			add_state_core = 345
			add_state_core = 1051
			add_state_core = 1052
			add_state_core = 1133
			add_state_core = 1134
			add_state_core = 1135
			add_state_core = 1136
			add_state_core = 1137
			add_state_core = 1138
			add_state_core = 1139
			add_state_core = 1140

			hidden_effect = {
				set_global_flag = neo_assyria_formed_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}
}

neo_mesopotamia_category = {
	
	neo_mesopotamia_decision = { 

		icon = generic_form_nation

		allowed = {
			OR = {
				original_tag = KUR #Kurdistan
				original_tag = IRQ # Iraq, can release ASY, and release and form KUR
				original_tag = SYR
				original_tag = PAL
				original_tag = EGY
				original_tag = KUW
				original_tag = LEB
			}
			
		}

		visible = {
			OR = {
				original_tag = KUR #Kurdistan
				original_tag = SYR
				original_tag = PAL
				original_tag = EGY
				original_tag = KUW
				original_tag = LEB
				any_country = { #Anyone who can form Kurdistan
					original_tag = IRQ
					OR = {
						has_country_leader = {
							ruling_only = yes
							character = IRQ_ahmed_barzani 
						}
						has_country_leader = {
							ruling_only = yes 
							character = IRQ_mustafa_barzani 
						}
					}
				}
			}
			
			
			NOT = { has_global_flag = neo_mesopotamia_formed_flag }
			
		}

		on_map_mode = decision_view_only

		ai_will_do = {
			base = 2000
		}

		available = {
			413 = {
				is_fully_controlled_by = ROOT
			}
			421 = {
				is_fully_controlled_by = ROOT
			}
			1001 = {
				is_fully_controlled_by = ROOT
			}
			676 = {
				is_fully_controlled_by = ROOT
			}
			291 = {
				is_fully_controlled_by = ROOT
			}
			1011 = {
				is_fully_controlled_by = ROOT
			}
			656 = {
				is_fully_controlled_by = ROOT
			}
			675 = {
				is_fully_controlled_by = ROOT
			}
			1010 = {
				is_fully_controlled_by = ROOT
			}
			680 = {
				is_fully_controlled_by = ROOT
			}
			677 = {
				is_fully_controlled_by = ROOT
			}
			799 = {
				is_fully_controlled_by = ROOT
			}
			350 = {
				is_fully_controlled_by = ROOT
			}
			344 = {
				is_fully_controlled_by = ROOT
			}
			183 = {
				is_fully_controlled_by = ROOT
			}
			554 = {
				is_fully_controlled_by = ROOT
			}
			553 = {
				is_fully_controlled_by = ROOT
			}
			454 = {
				is_fully_controlled_by = ROOT
			}
			453 = {
				is_fully_controlled_by = ROOT
			}
			446 = {
				is_fully_controlled_by = ROOT
			}
			907 = {
				is_fully_controlled_by = ROOT
			}
			447 = {
				is_fully_controlled_by = ROOT
			}
			1049 = {
				is_fully_controlled_by = ROOT
			}
			1050 = {
				is_fully_controlled_by = ROOT
			}
			1133 = {
				is_fully_controlled_by = ROOT
			}
			1134 = {
				is_fully_controlled_by = ROOT
			}
			1135 = {
				is_fully_controlled_by = ROOT
			}
			1136 = {
				is_fully_controlled_by = ROOT
			}
			1137 = {
				is_fully_controlled_by = ROOT
			}
			1138 = {
				is_fully_controlled_by = ROOT
			}
			1139 = {
				is_fully_controlled_by = ROOT
			}
			1140 = {
				is_fully_controlled_by = ROOT
			}
			1276 = {
				is_fully_controlled_by = ROOT
			}
			1277 = {
				is_fully_controlled_by = ROOT
			}
			1279 = {
				is_fully_controlled_by = ROOT
			}
			1280 = {
				is_fully_controlled_by = ROOT
			}
			1281 = {
				is_fully_controlled_by = ROOT
			}
			1282 = {
				is_fully_controlled_by = ROOT
			}
			1283 = {
				is_fully_controlled_by = ROOT
			}
			1284 = {
				is_fully_controlled_by = ROOT
			}
			1285 = {
				is_fully_controlled_by = ROOT
			}
			1330 = {
				is_fully_controlled_by = ROOT
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 413
				state = 421
				state = 1001
				state = 676
				state = 291
				state = 1011
				state = 656
				state = 675
				state = 1010
				state = 680
				state = 677
				state = 799
				state = 350
				state = 344
				state = 183
				state = 554
				state = 553
				state = 454
				state = 453
				state = 446
				state = 907
				state = 447
				state = 1049
				state = 1050
				state = 1133
				state = 1134
				state = 1135
				state = 1136
				state = 1137
				state = 1138
				state = 1139
				state = 1140
				state = 1276
				state = 1277
				state = 1279
				state = 1280
				state = 1281
				state = 1282
				state = 1283
				state = 1284
				state = 1285
				state = 1330
			}
		}

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}

			set_cosmetic_tag = neo_mesopotamia

			custom_effect_tooltip = generic_skip_one_line_tt

			add_state_core = 413
			add_state_core = 421
			add_state_core = 1001
			add_state_core = 676
			add_state_core = 291
			add_state_core = 1011
			add_state_core = 656
			add_state_core = 675
			add_state_core = 1010
			add_state_core = 680
			add_state_core = 677
			add_state_core = 799
			add_state_core = 350
			add_state_core = 344
			add_state_core = 183
			add_state_core = 554
			add_state_core = 553
			add_state_core = 454
			add_state_core = 453
			add_state_core = 446
			add_state_core = 907
			add_state_core = 447
			add_state_core = 1049
			add_state_core = 1050
			add_state_core = 1133
			add_state_core = 1134
			add_state_core = 1135
			add_state_core = 1136
			add_state_core = 1137
			add_state_core = 1138
			add_state_core = 1139
			add_state_core = 1140
			add_state_core = 1276
			add_state_core = 1277
			add_state_core = 1279
			add_state_core = 1280
			add_state_core = 1281
			add_state_core = 1282
			add_state_core = 1283
			add_state_core = 1284
			add_state_core = 1285
			add_state_core = 1330

			hidden_effect = {
				set_global_flag = neo_mesopotamia_formed_flag
			}
		}
	}
}

greater_mongolia_category = {
	
	unite_greater_mongolia = { 

		icon = generic_form_nation

		allowed = {
		}

		visible = {
			NOT = { has_global_flag = greater_mongolia_formed_flag }
		}

		available = {
			
			controls_state = 818
			controls_state = 817
			controls_state = 330
			controls_state = 820
			controls_state = 819
			controls_state = 564
			controls_state = 329
			controls_state = 654
			controls_state = 760
			controls_state = 756
			controls_state = 621
			controls_state = 746
			controls_state = 612
			controls_state = 611
			controls_state = 761
			controls_state = 563
			controls_state = 566
			controls_state = 616
			controls_state = 1043 
			controls_state = 1040 

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 818
				state = 817
				state = 330
				state = 820
				state = 819
				state = 564
				state = 329
				state = 654
				state = 760
				state = 756
				state = 621
				state = 746
				state = 612
				state = 611
				state = 761
				state = 563
				state = 566
				state = 616
				state = 1043 
				state = 1040 
			}
		}

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}
			set_cosmetic_tag = greater_mongolia 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_state_core = 818
			add_state_core = 817
			add_state_core = 330
			add_state_core = 820
			add_state_core = 819
			add_state_core = 564
			add_state_core = 329
			add_state_core = 654
			add_state_core = 760
			add_state_core = 756
			add_state_core = 621
			add_state_core = 746
			add_state_core = 612
			add_state_core = 611
			add_state_core = 761
			add_state_core = 563
			add_state_core = 566
			add_state_core = 616
			add_state_core = 1043 
			add_state_core = 1040 

			hidden_effect = {
			
				set_global_flag = greater_mongolia_formed_flag

			}
		}

		ai_will_do = {
			base = 2000
		}
	}
}

greater_hui_state_category = {
	
	unite_hui_states = { 

		icon = generic_form_nation

		allowed = {
		}

		visible = {
			NOT = { has_global_flag = greater_ma_state_formed_flag }
		}

		available = {
			
			controls_state = 756
			controls_state = 616
			#controls_state = 283
			#controls_state = 753
			controls_state = 754
			controls_state = 755
			controls_state = 604
			controls_state = 759
			#controls_state = 287
			#controls_state = 619 
			controls_state = 1042 
			controls_state = 1040
			controls_state = 1044
			#controls_state = 1045

		}

		on_map_mode = decision_view_only

		highlight_states = { 
			highlight_state_targets = {
				state = 756
				state = 616
				#state = 283
				#state = 753
				state = 754
				state = 755
				state = 604
				state = 759
				state = 287
				#state = 619 
				state = 1042 
				state = 1040
				state = 1044
				#state = 1045
			}
		}

		complete_effect = {
			hidden_effect = {
				drop_cosmetic_tag = yes
			}
			set_cosmetic_tag = united_ma_clique_tag 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_state_core = 756
			add_state_core = 616
			add_state_core = 283
			add_state_core = 753
			add_state_core = 754
			add_state_core = 755
			add_state_core = 604
			add_state_core = 759
			add_state_core = 287
			add_state_core = 619 
			add_state_core = 1042 
			add_state_core = 1040
			add_state_core = 1044
			add_state_core = 1045

			hidden_effect = {
				set_global_flag = greater_ma_state_formed_flag
			}
		}

		ai_will_do = {
			base = 2000
		}
	}
}
