formable_nations_mod_category = {
	formable_nations_generic = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = TAG1
				original_tag = TAG2
				original_tag = TAG3
			}
			always = no
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 4#90% rounded up, continents and other exceptions don't use this
						1 = { is_controlled_by = ROOT }
						1 = { is_controlled_by = ROOT }
						1 = { is_controlled_by = ROOT }
						1 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_NEWTAG } } }
		}
		icon = generic_form_nation
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_NEWTAG
			add_stability = 0.2
			set_capital = 1
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				1 = { add_core_of = ROOT }
			}
			1 = { add_core_of = ROOT }
		}
	}
	no_cosmetic_tag = {
		
		ai_will_do = {
			factor = 0
		}
		cost = 0
		visible = { 
			is_ai = no
			NOT = { has_country_flag = hide_options_formable_nations }
			has_country_flag = unform_available
		}
		days_re_enable = 0
		
		icon = generic_decision
		complete_effect = {
			hidden_effect = { clr_country_flag = unform_available }
			drop_cosmetic_tag = yes
			add_stability = -0.2
			random_owned_state = {
				limit = {
					has_state_flag = formable_nations_old_capital
				}
				clr_state_flag = formable_nations_old_capital
				ROOT = { set_capital = PREV }
			}
		}
	}
	####################################################################
	formable_nations_africa = {#continent
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				capital_scope = { is_on_continent = africa }
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					all_state = {
						OR = {
							AND = {
								is_on_continent = africa
								NOT = {
									OR = {
										state = 697
										state = 178
										state = 702
										state = 703
										state = 704
										state = 297
										state = 705
										state = 708
										state = 709
										state = 706
										state = 707
										state = 713
										state = 543
									}
								}
								is_controlled_by = ROOT
							}
							NOT = { is_on_continent = africa }
							state = 697
							state = 178
							state = 702
							state = 703
							state = 704
							state = 297
							state = 705
							state = 708
							state = 709
							state = 706
							state = 707
							state = 713
							state = 543
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_AFR } } }
		}
		icon = formable_nations_africa
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_AFR
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_state = {
					limit = { 
						is_on_continent = africa
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
		}
	}
	formable_nations_grossdeutschland = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = GER
				original_tag = AUS
				original_tag = SHL
				original_tag = MEK
				original_tag = BAY
				original_tag = PRE
				original_tag = SAX
				original_tag = HAN
				original_tag = WUR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					custom_trigger_tooltip = {
						tooltip = formable_nations_germany_tt
						count_triggers = {
							amount = 19
							5 = { is_controlled_by = ROOT }
							42 = { is_controlled_by = ROOT }
							50 = { is_controlled_by = ROOT }
							51 = { is_controlled_by = ROOT }
							52 = { is_controlled_by = ROOT }
							53 = { is_controlled_by = ROOT }
							54 = { is_controlled_by = ROOT }
							55 = { is_controlled_by = ROOT }
							56 = { is_controlled_by = ROOT }
							57 = { is_controlled_by = ROOT }
							58 = { is_controlled_by = ROOT }
							59 = { is_controlled_by = ROOT }
							60 = { is_controlled_by = ROOT }
							61 = { is_controlled_by = ROOT }
							62 = { is_controlled_by = ROOT }
							63 = { is_controlled_by = ROOT }
							64 = { is_controlled_by = ROOT }
							65 = { is_controlled_by = ROOT }
							66 = { is_controlled_by = ROOT }
							67 = { is_controlled_by = ROOT }
							68 = { is_controlled_by = ROOT }
						}
					}
					85 = { is_controlled_by = ROOT }
					86 = { is_controlled_by = ROOT }
					OR = {
						39 = { is_controlled_by = ROOT }
						28 = { is_controlled_by = ROOT }
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_austria_tt
						count_triggers = {
							amount = 3
							4 = { is_controlled_by = ROOT }
							152 = { is_controlled_by = ROOT }
							153 = { is_controlled_by = ROOT }
						}
					}
					69 = { is_controlled_by = ROOT }
					74 = { is_controlled_by = ROOT }
					762 = { is_controlled_by = ROOT }
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GRO } } }
		}
		icon = formable_nations_grossdeutschland
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GRO
			add_stability = 0.2
			set_capital = 64
			set_province_name = { id = 6558 name = "Posen" }
			set_province_name = { id = 9503 name = "Straßburg" }
			set_province_name = { id = 678 name = "Mülhausen" }
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				5 = { add_core_of = ROOT }
				42 = { add_core_of = ROOT }
				50 = { add_core_of = ROOT }
				51 = { add_core_of = ROOT }
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				60 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				64 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				85 = { add_core_of = ROOT }
				807 = { add_core_of = ROOT }
				86 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				762 = { add_core_of = ROOT }
			}
			6 = { add_claim_by = ROOT }
			8 = { add_claim_by = ROOT }
			3 = { add_claim_by = ROOT }
			7 = { add_claim_by = ROOT }
			35 = { add_claim_by = ROOT }
			36 = { add_claim_by = ROOT }
			151 = { add_core_of = ROOT }
			188 = { add_core_of = ROOT }
		}
	}
	formable_nations_latin_union = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = FRA
				original_tag = ITA
				original_tag = SPR
				original_tag = POR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_spain_tt
						count_triggers = {
							amount = 20
							41 = { is_controlled_by = ROOT }
							165 = { is_controlled_by = ROOT }
							166 = { is_controlled_by = ROOT }
							167 = { is_controlled_by = ROOT }
							168 = { is_controlled_by = ROOT }
							169 = { is_controlled_by = ROOT }
							170 = { is_controlled_by = ROOT }
							171 = { is_controlled_by = ROOT }
							172 = { is_controlled_by = ROOT }
							173 = { is_controlled_by = ROOT }
							174 = { is_controlled_by = ROOT }
							175 = { is_controlled_by = ROOT }
							176 = { is_controlled_by = ROOT }
							177 = { is_controlled_by = ROOT }
							178 = { is_controlled_by = ROOT }
							788 = { is_controlled_by = ROOT }
							789 = { is_controlled_by = ROOT }
							790 = { is_controlled_by = ROOT }
							791 = { is_controlled_by = ROOT }
							792 = { is_controlled_by = ROOT }
							793 = { is_controlled_by = ROOT }
							794 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_portugal_tt
						count_triggers = {
							amount = 5
							112 = { is_controlled_by = ROOT }
							179 = { is_controlled_by = ROOT }
							180 = { is_controlled_by = ROOT }
							181 = { is_controlled_by = ROOT }
							795 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_italy_tt
						count_triggers = {
							amount = 12
							2 = { is_controlled_by = ROOT }
							39 = { is_controlled_by = ROOT }
							114 = { is_controlled_by = ROOT }
							115 = { is_controlled_by = ROOT }
							117 = { is_controlled_by = ROOT }
							156 = { is_controlled_by = ROOT }
							157 = { is_controlled_by = ROOT }
							158 = { is_controlled_by = ROOT }
							159 = { is_controlled_by = ROOT }
							160 = { is_controlled_by = ROOT }
							161 = { is_controlled_by = ROOT }
							162 = { is_controlled_by = ROOT }
							736 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_france_tt
						count_triggers = {
							amount = 22
							1 = { is_controlled_by = ROOT }
							14 = { is_controlled_by = ROOT }
							15 = { is_controlled_by = ROOT }
							16 = { is_controlled_by = ROOT }
							17 = { is_controlled_by = ROOT }
							18 = { is_controlled_by = ROOT }
							19 = { is_controlled_by = ROOT }
							806 = { is_controlled_by = ROOT }
							20 = { is_controlled_by = ROOT }
							21 = { is_controlled_by = ROOT }
							22 = { is_controlled_by = ROOT }
							23 = { is_controlled_by = ROOT }
							24 = { is_controlled_by = ROOT }
							25 = { is_controlled_by = ROOT }
							26 = { is_controlled_by = ROOT }
							27 = { is_controlled_by = ROOT }
							28 = { is_controlled_by = ROOT }
							29 = { is_controlled_by = ROOT }
							30 = { is_controlled_by = ROOT }
							31 = { is_controlled_by = ROOT }
							32 = { is_controlled_by = ROOT }
							33 = { is_controlled_by = ROOT }
							735 = { is_controlled_by = ROOT }
							785 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_LAU } } }
		}
		icon = formable_nations_latin_union
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_LAU
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				41 = { add_core_of = ROOT }
				165 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				178 = { add_core_of = ROOT }
				46 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				766 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				78 = { add_core_of = ROOT }
				79 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				81 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				2 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				114 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				158 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				1 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				29 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
			}
			34 = { add_core_of = ROOT }
			3 = { add_core_of = ROOT }
			163 = { add_core_of = ROOT }
		}
	}
	formable_nations_chinese_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = CHI
				original_tag = YUN
				original_tag = GXC
				original_tag = XSM
				original_tag = SHX
				original_tag = CHI
				original_tag = SIK
				original_tag = PRC
				AND = {
					original_tag = MAN
				}
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 44
						615 = { is_controlled_by = ROOT }
						621 = { is_controlled_by = ROOT }
						622 = { is_controlled_by = ROOT }
						283 = { is_controlled_by = ROOT }
						604 = { is_controlled_by = ROOT }
						616 = { is_controlled_by = ROOT }
						287 = { is_controlled_by = ROOT }
						617 = { is_controlled_by = ROOT }
						618 = { is_controlled_by = ROOT }
						619 = { is_controlled_by = ROOT }
						322 = { is_controlled_by = ROOT }
						330 = { is_controlled_by = ROOT }
						325 = { is_controlled_by = ROOT }
						591 = { is_controlled_by = ROOT }
						592 = { is_controlled_by = ROOT }
						593 = { is_controlled_by = ROOT }
						594 = { is_controlled_by = ROOT }
						598 = { is_controlled_by = ROOT }
						599 = { is_controlled_by = ROOT }
						611 = { is_controlled_by = ROOT }
						612 = { is_controlled_by = ROOT }
						328 = { is_controlled_by = ROOT }
						610 = { is_controlled_by = ROOT }
						714 = { is_controlled_by = ROOT }
						715 = { is_controlled_by = ROOT }
						716 = { is_controlled_by = ROOT }
						717 = { is_controlled_by = ROOT }
						609 = { is_controlled_by = ROOT }
						657 = { is_controlled_by = ROOT }
						560 = { is_controlled_by = ROOT }
						561 = { is_controlled_by = ROOT }
						655 = { is_controlled_by = ROOT }
						408 = { is_controlled_by = ROOT }
						409 = { is_controlled_by = ROOT }
						602 = { is_controlled_by = ROOT }
						603 = { is_controlled_by = ROOT }
						605 = { is_controlled_by = ROOT }
						601 = { is_controlled_by = ROOT }
						620 = { is_controlled_by = ROOT }
						600 = { is_controlled_by = ROOT }
						595 = { is_controlled_by = ROOT }
						620 = { is_controlled_by = ROOT }
						596 = { is_controlled_by = ROOT }
						606 = { is_controlled_by = ROOT }
						613 = { is_controlled_by = ROOT }
						607 = { is_controlled_by = ROOT }
						597 = { is_controlled_by = ROOT }
						614 = { is_controlled_by = ROOT }
						608 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_QIN } } }
		}
		icon = formable_nations_chinese_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_QIN
			add_stability = 0.2
			set_capital = 608
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				615 = { add_core_of = ROOT }
				621 = { add_core_of = ROOT }
				622 = { add_core_of = ROOT }
				283 = { add_core_of = ROOT }
				604 = { add_core_of = ROOT }
				616 = { add_core_of = ROOT }
				287 = { add_core_of = ROOT }
				617 = { add_core_of = ROOT }
				618 = { add_core_of = ROOT }
				619 = { add_core_of = ROOT }
				322 = { add_core_of = ROOT }
				330 = { add_core_of = ROOT }
				325 = { add_core_of = ROOT }
				591 = { add_core_of = ROOT }
				592 = { add_core_of = ROOT }
				593 = { add_core_of = ROOT }
				594 = { add_core_of = ROOT }
				599 = { add_core_of = ROOT }
				611 = { add_core_of = ROOT }
				612 = { add_core_of = ROOT }
				328 = { add_core_of = ROOT }
				610 = { add_core_of = ROOT }
				714 = { add_core_of = ROOT }
				715 = { add_core_of = ROOT }
				716 = { add_core_of = ROOT }
				717 = { add_core_of = ROOT }
				609 = { add_core_of = ROOT }
				657 = { add_core_of = ROOT }
				560 = { add_core_of = ROOT }
				561 = { add_core_of = ROOT }
				655 = { add_core_of = ROOT }
				408 = { add_core_of = ROOT }
				409 = { add_core_of = ROOT }
				602 = { add_core_of = ROOT }
				603 = { add_core_of = ROOT }
				605 = { add_core_of = ROOT }
				601 = { add_core_of = ROOT }
				620 = { add_core_of = ROOT }
				600 = { add_core_of = ROOT }
				595 = { add_core_of = ROOT }
				620 = { add_core_of = ROOT }
				596 = { add_core_of = ROOT }
				606 = { add_core_of = ROOT }
				613 = { add_core_of = ROOT }
				607 = { add_core_of = ROOT }
				597 = { add_core_of = ROOT }
				614 = { add_core_of = ROOT }
				608 = { add_core_of = ROOT }
				598 = { add_core_of = ROOT }
			}
			329 = { add_core_of = ROOT }
			524 = { add_core_of = ROOT }
			589 = { add_claim_by = ROOT }
		}
	}
	formable_nations_austria_hungary = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = AUS
				original_tag = HUN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
						9 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						74 = { is_controlled_by = ROOT }
						75 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_AUH } } }
		}
		icon = formable_nations_austria_hungary
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_AUH
			add_stability = 0.2
			set_capital = 4
			set_province_name = { id = 11542 name = "Prag"}
			set_province_name = { id = 6418 name = "Pilsen"}
			set_province_name = { id = 3569 name = "Brünn"}
			set_province_name = { id = 9692 name = "Pressburg"}
			set_province_name = { id = 6573 name = "Kaschau"}
			set_province_name = { id = 11610 name = "Fünfkirchen"}
			set_province_name = { id = 11659 name = "Debrezin"}
			set_province_name = { id = 6558 name = "Posen"}
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
			}
			39 = { add_core_of = ROOT }
			163 = { add_core_of = ROOT }
			736 = { add_core_of = ROOT }
			80 = { add_core_of = ROOT }
			88 = { add_core_of = ROOT }
			89 = { add_core_of = ROOT }
			91 = { add_core_of = ROOT }
			45 = { add_core_of = ROOT }
			764 = { add_core_of = ROOT }
			102 = { add_core_of = ROOT }
			103 = { add_core_of = ROOT }
			109 = { add_core_of = ROOT }
			76 = { add_core_of = ROOT }
			82 = { add_core_of = ROOT }
			83 = { add_core_of = ROOT }
			84 = { add_core_of = ROOT }
		}
	}
	formable_nations_commonwealth = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = POL
				original_tag = LIT
			}		
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 39
						188 = { is_controlled_by = ROOT }
						12 = { is_controlled_by = ROOT }
						190 = { is_controlled_by = ROOT }
						11 = { is_controlled_by = ROOT }
						189 = { is_controlled_by = ROOT }
						85 = { is_controlled_by = ROOT }
						86 = { is_controlled_by = ROOT }
						87 = { is_controlled_by = ROOT }
						88 = { is_controlled_by = ROOT }
						90 = { is_controlled_by = ROOT }
						10 = { is_controlled_by = ROOT }
						98 = { is_controlled_by = ROOT }
						91 = { is_controlled_by = ROOT }
						92 = { is_controlled_by = ROOT }
						93 = { is_controlled_by = ROOT }
						94 = { is_controlled_by = ROOT }
						95 = { is_controlled_by = ROOT }
						96 = { is_controlled_by = ROOT }
						97 = { is_controlled_by = ROOT }
						204 = { is_controlled_by = ROOT }
						206 = { is_controlled_by = ROOT }
						207 = { is_controlled_by = ROOT }
						194 = { is_controlled_by = ROOT }
						241 = { is_controlled_by = ROOT }
						199 = { is_controlled_by = ROOT }
						201 = { is_controlled_by = ROOT }
						198 = { is_controlled_by = ROOT }
						202 = { is_controlled_by = ROOT }
						203 = { is_controlled_by = ROOT }
						197 = { is_controlled_by = ROOT }
						226 = { is_controlled_by = ROOT }
						193 = { is_controlled_by = ROOT }
						259 = { is_controlled_by = ROOT }
						225 = { is_controlled_by = ROOT }
						224 = { is_controlled_by = ROOT }
						242 = { is_controlled_by = ROOT }
						243 = { is_controlled_by = ROOT }
						192 = { is_controlled_by = ROOT }
						784 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						13 = { is_controlled_by = ROOT }
						191 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_COM } } }
		}
		icon = formable_nations_commonwealth
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_COM
			add_stability = 0.2
			set_capital = 10
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				188 = { add_core_of = ROOT }
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				85 = { add_core_of = ROOT }
				86 = { add_core_of = ROOT }
				87 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				90 = { add_core_of = ROOT }
				10 = { add_core_of = ROOT }
				98 = { add_core_of = ROOT }
				91 = { add_core_of = ROOT }
				92 = { add_core_of = ROOT }
				93 = { add_core_of = ROOT }
				94 = { add_core_of = ROOT }
				95 = { add_core_of = ROOT }
				96 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				199 = { add_core_of = ROOT }
				201 = { add_core_of = ROOT }
				198 = { add_core_of = ROOT }
				202 = { add_core_of = ROOT }
				203 = { add_core_of = ROOT }
				197 = { add_core_of = ROOT }
				226 = { add_core_of = ROOT }
				193 = { add_core_of = ROOT }
				259 = { add_core_of = ROOT }
				225 = { add_core_of = ROOT }
				224 = { add_core_of = ROOT }
				242 = { add_core_of = ROOT }
				243 = { add_core_of = ROOT }
				192 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
			}
			5 = { add_core_of = ROOT }
			763 = { add_core_of = ROOT }
			72 = { add_core_of = ROOT }
		}
	}
	formable_nations_hre = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = GER
				original_tag = AUS
				original_tag = SHL
				original_tag = MEK
				original_tag = BAY
				original_tag = PRE
				original_tag = SAX
				original_tag = HAN
				original_tag = WUR
				original_tag = CZE
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
				original_tag = SWI
				original_tag = ITA
				original_tag = HUN
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					if = {
						limit = { 
							original_tag = HUN
						}
						HUN = { has_completed_focus = HUN_invite_the_habsburg_prince }
						has_government = neutrality
					}
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 32
						42 = { is_controlled_by = ROOT }
						50 = { is_controlled_by = ROOT }
						51 = { is_controlled_by = ROOT }
						52 = { is_controlled_by = ROOT }
						53 = { is_controlled_by = ROOT }
						54 = { is_controlled_by = ROOT }
						55 = { is_controlled_by = ROOT }
						56 = { is_controlled_by = ROOT }
						57 = { is_controlled_by = ROOT }
						58 = { is_controlled_by = ROOT }
						59 = { is_controlled_by = ROOT }
						60 = { is_controlled_by = ROOT }
						61 = { is_controlled_by = ROOT }
						62 = { is_controlled_by = ROOT }
						63 = { is_controlled_by = ROOT }
						64 = { is_controlled_by = ROOT }
						65 = { is_controlled_by = ROOT }
						66 = { is_controlled_by = ROOT }
						67 = { is_controlled_by = ROOT }
						68 = { is_controlled_by = ROOT }
						6 = { is_controlled_by = ROOT }
						7 = { is_controlled_by = ROOT }
						8 = { is_controlled_by = ROOT }
						34 = { is_controlled_by = ROOT }
						35 = { is_controlled_by = ROOT }
						36 = { is_controlled_by = ROOT }
						3 = { is_controlled_by = ROOT }
						151 = { is_controlled_by = ROOT }
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
						9 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						74 = { is_controlled_by = ROOT }
						75 = { is_controlled_by = ROOT }
					}
					OR = {
						AND = {
							39 = { is_controlled_by = ROOT }
							158 = { is_controlled_by = ROOT }
						}
						AND = { 
							28 = { is_controlled_by = ROOT }
							17 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_HRE } } }
		}
		icon = formable_nations_hre
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_HRE
			add_stability = 0.2
			set_capital = 52
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				42 = { add_core_of = ROOT }
				50 = { add_core_of = ROOT }
				51 = { add_core_of = ROOT }
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				60 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				64 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				6 = { add_core_of = ROOT }
				7 = { add_core_of = ROOT }
				8 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				36 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				158 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				3 = { add_core_of = ROOT }
				151 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
			}
			102 = { add_core_of = ROOT }
			736 = { add_core_of = ROOT }
			735 = { add_core_of = ROOT }
			162 = { add_core_of = ROOT }
		}
	}
	formable_nations_iberia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = SPR
				original_tag = POR
				original_tag = GLC
				original_tag = NAV
				original_tag = CAT
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 24
						41 = { is_controlled_by = ROOT }
						165 = { is_controlled_by = ROOT }
						166 = { is_controlled_by = ROOT }
						167 = { is_controlled_by = ROOT }
						168 = { is_controlled_by = ROOT }
						169 = { is_controlled_by = ROOT }
						170 = { is_controlled_by = ROOT }
						171 = { is_controlled_by = ROOT }
						172 = { is_controlled_by = ROOT }
						173 = { is_controlled_by = ROOT }
						174 = { is_controlled_by = ROOT }
						175 = { is_controlled_by = ROOT }
						176 = { is_controlled_by = ROOT }
						788 = { is_controlled_by = ROOT }
						789 = { is_controlled_by = ROOT }
						790 = { is_controlled_by = ROOT }
						791 = { is_controlled_by = ROOT }
						792 = { is_controlled_by = ROOT }
						793 = { is_controlled_by = ROOT }
						794 = { is_controlled_by = ROOT }
						795 = { is_controlled_by = ROOT }
						112 = { is_controlled_by = ROOT }
						179 = { is_controlled_by = ROOT }
						180 = { is_controlled_by = ROOT }
						181 = { is_controlled_by = ROOT }
						118 = { is_controlled_by = ROOT }
						177 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_IBE } } }
		}
		icon = formable_nations_iberia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_IBE
			add_stability = 0.2
			set_capital = 41
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				165 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				118 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				41 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_scandinavia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = DEN
				original_tag = SWE
				original_tag = NOR
				#original_tag = ICE
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						37 = { is_controlled_by = ROOT }
						99 = { is_controlled_by = ROOT }
						337 = { is_controlled_by = ROOT }
						100 = { is_controlled_by = ROOT }
						38 = { is_controlled_by = ROOT }
						124 = { is_controlled_by = ROOT }
						138 = { is_controlled_by = ROOT }
						139 = { is_controlled_by = ROOT }
						140 = { is_controlled_by = ROOT }
						141 = { is_controlled_by = ROOT }
						666 = { is_controlled_by = ROOT }
						110 = { is_controlled_by = ROOT }
						142 = { is_controlled_by = ROOT }
						143 = { is_controlled_by = ROOT }
						144 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_SCA } } }
		}
		icon = formable_nations_scandinavia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_SCA
			add_stability = 0.2
			set_capital = 37
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				337 = { add_core_of = ROOT }
				100 = { add_core_of = ROOT }
				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 }
				110 = { add_core_of = ROOT }
				142 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
				144 = { add_core_of = ROOT }
			}
			145 = { add_core_of = ROOT }
			148 = { add_claim_by = ROOT }
			149 = { add_claim_by = ROOT }
			150 = { add_claim_by = ROOT }
			111 = { add_claim_by = ROOT }
		}
	}
	formable_nations_arabia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = SAU
				original_tag = YEM
				original_tag = OMA
				original_tag = IRQ
				original_tag = LEB
				original_tag = SYR
				original_tag = JOR
				original_tag = PAL
				original_tag = KUW
				original_tag = UAE
				original_tag = QAT
				original_tag = KUR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 17
						292 = { is_controlled_by = ROOT }
						678 = { is_controlled_by = ROOT }
						679 = { is_controlled_by = ROOT }
						293 = { is_controlled_by = ROOT }
						659 = { is_controlled_by = ROOT }
						294 = { is_controlled_by = ROOT }
						658 = { is_controlled_by = ROOT }
						765 = { is_controlled_by = ROOT }
						291 = { is_controlled_by = ROOT }
						656 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						454 = { is_controlled_by = ROOT }
						455 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ARA } } }
		}
		icon = formable_nations_arabia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ARA
			add_stability = 0.2
			set_capital = 291
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				292 = { add_core_of = ROOT }
				678 = { add_core_of = ROOT }
				679 = { add_core_of = ROOT }
				293 = { add_core_of = ROOT }
				659 = { add_core_of = ROOT }
				294 = { add_core_of = ROOT }
				658 = { add_core_of = ROOT }
				765 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_great_moravia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = CZE
				original_tag = SLO
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 21
						4 = { is_controlled_by = ROOT }
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
						9 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						72 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						74 = { is_controlled_by = ROOT }
						75 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
						45 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						65 = { is_controlled_by = ROOT }
						88 = { is_controlled_by = ROOT }
						66 = { is_controlled_by = ROOT }
						67 = { is_controlled_by = ROOT }
						762 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GMO } } }
		}
		icon = formable_nations_great_moravia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GMO
			add_stability = 0.2
			set_capital = 75
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				4 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				72 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				762 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_transcaucasia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = ARM
				original_tag = GEO
				original_tag = AZR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 3
						229 = { is_controlled_by = ROOT }
						230 = { is_controlled_by = ROOT }
						231 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CAU } } }
		}
		icon = formable_nations_transcaucasia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CAU
			add_stability = 0.2
			set_capital = 231
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				229 = { add_core_of = ROOT }
				230 = { add_core_of = ROOT }
				231 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_benelux = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = HOL
				original_tag = BEL
				original_tag = LUX
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						6 = { is_controlled_by = ROOT }
						34 = { is_controlled_by = ROOT }
						7 = { is_controlled_by = ROOT }
						35 = { is_controlled_by = ROOT }
						36 = { is_controlled_by = ROOT }
						8 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BEN } } }
		}
		icon = formable_nations_benelux
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BEN
			add_stability = 0.2
			set_capital = 7
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				6 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				7 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				36 = { add_core_of = ROOT }
				8 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_baltic = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0

		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = EST
				original_tag = LAT
				original_tag = LIT
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						11 = { is_controlled_by = ROOT }
						189 = { is_controlled_by = ROOT }
						12 = { is_controlled_by = ROOT }
						190 = { is_controlled_by = ROOT }
						13 = { is_controlled_by = ROOT }
						191 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BAL } } }
		}
		icon = formable_nations_baltic
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BAL
			add_stability = 0.2
			set_capital = 12
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				13 = { add_core_of = ROOT }
				191 = { add_core_of = ROOT }
			}
			188 = { add_core_of = ROOT }
			784 = { add_core_of = ROOT }
		}
	}
	formable_nations_central_america = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = GUA
				original_tag = ELS
				original_tag = HON
				original_tag = NIC
				original_tag = COS
				original_tag = BLZ
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						313 = { is_controlled_by = ROOT }
						312 = { is_controlled_by = ROOT }
						314 = { is_controlled_by = ROOT }
						317 = { is_controlled_by = ROOT }
						316 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CEN } } }
		}
		icon = formable_nations_central_america
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CEN
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				313 = { add_core_of = ROOT }
				312 = { add_core_of = ROOT }
				314 = { add_core_of = ROOT }
				317 = { add_core_of = ROOT }
				316 = { add_core_of = ROOT }
			}
			304 = { add_core_of = ROOT }
			685 = { add_core_of = ROOT }
			311 = { add_core_of = ROOT }
			474 = { add_core_of = ROOT }
			475 = { add_core_of = ROOT }
		}
	}
	formable_nations_hungarian_kingdom = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = HUN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
						76 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
						45 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						103 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_HUK } } }
		}
		icon = formable_nations_hungarian_kingdom
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_HUK
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_kievan_rus = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = BLR
				original_tag = UKR
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 47
						94 = { is_controlled_by = ROOT }
						95 = { is_controlled_by = ROOT }
						96 = { is_controlled_by = ROOT }
						97 = { is_controlled_by = ROOT }
						194 = { is_controlled_by = ROOT }
						204 = { is_controlled_by = ROOT }
						206 = { is_controlled_by = ROOT }
						207 = { is_controlled_by = ROOT }
						241 = { is_controlled_by = ROOT }
						89 = { is_controlled_by = ROOT }
						91 = { is_controlled_by = ROOT }
						93 = { is_controlled_by = ROOT }
						198 = { is_controlled_by = ROOT }
						199 = { is_controlled_by = ROOT }
						201 = { is_controlled_by = ROOT }
						202 = { is_controlled_by = ROOT }
						203 = { is_controlled_by = ROOT }
						192 = { is_controlled_by = ROOT }
						197 = { is_controlled_by = ROOT }
						226 = { is_controlled_by = ROOT }
						193 = { is_controlled_by = ROOT }
						225 = { is_controlled_by = ROOT }
						259 = { is_controlled_by = ROOT }
						215 = { is_controlled_by = ROOT }
						216 = { is_controlled_by = ROOT }
						214 = { is_controlled_by = ROOT }
						195 = { is_controlled_by = ROOT }
						208 = { is_controlled_by = ROOT }
						209 = { is_controlled_by = ROOT }
						210 = { is_controlled_by = ROOT }
						244 = { is_controlled_by = ROOT }
						263 = { is_controlled_by = ROOT }
						246 = { is_controlled_by = ROOT }
						242 = { is_controlled_by = ROOT }
						243 = { is_controlled_by = ROOT }
						224 = { is_controlled_by = ROOT }
						205 = { is_controlled_by = ROOT }
						220 = { is_controlled_by = ROOT }
						222 = { is_controlled_by = ROOT }
						223 = { is_controlled_by = ROOT }
						219 = { is_controlled_by = ROOT }
						240 = { is_controlled_by = ROOT }
						260 = { is_controlled_by = ROOT }
						258 = { is_controlled_by = ROOT }
						223 = { is_controlled_by = ROOT }
						254 = { is_controlled_by = ROOT }
						253 = { is_controlled_by = ROOT }
						248 = { is_controlled_by = ROOT }
						246 = { is_controlled_by = ROOT }
						247 = { is_controlled_by = ROOT }
						264 = { is_controlled_by = ROOT }
						351 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_KIE } } }
		}
		icon = formable_nations_kievan_rus
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_KIE
			add_stability = 0.2
			set_capital = 202
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				94 = { add_core_of = ROOT }
				95 = { add_core_of = ROOT }
				96 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				89 = { add_core_of = ROOT }
				91 = { add_core_of = ROOT }
				93 = { add_core_of = ROOT }
				198 = { add_core_of = ROOT }
				199 = { add_core_of = ROOT }
				201 = { add_core_of = ROOT }
				202 = { add_core_of = ROOT }
				203 = { add_core_of = ROOT }
				192 = { add_core_of = ROOT }
				197 = { add_core_of = ROOT }
				226 = { add_core_of = ROOT }
				193 = { add_core_of = ROOT }
				225 = { add_core_of = ROOT }
				259 = { add_core_of = ROOT }
				215 = { add_core_of = ROOT }
				216 = { add_core_of = ROOT }
				214 = { add_core_of = ROOT }
				195 = { add_core_of = ROOT }
				208 = { add_core_of = ROOT }
				209 = { add_core_of = ROOT }
				210 = { add_core_of = ROOT }
				244 = { add_core_of = ROOT }
				263 = { add_core_of = ROOT }
				246 = { add_core_of = ROOT }
				242 = { add_core_of = ROOT }
				243 = { add_core_of = ROOT }
				224 = { add_core_of = ROOT }
				205 = { add_core_of = ROOT }
				220 = { add_core_of = ROOT }
				222 = { add_core_of = ROOT }
				223 = { add_core_of = ROOT }
				219 = { add_core_of = ROOT }
				240 = { add_core_of = ROOT }
				260 = { add_core_of = ROOT }
				258 = { add_core_of = ROOT }
				223 = { add_core_of = ROOT }
				254 = { add_core_of = ROOT }
				253 = { add_core_of = ROOT }
				248 = { add_core_of = ROOT }
				246 = { add_core_of = ROOT }
				247 = { add_core_of = ROOT }
				264 = { add_core_of = ROOT }
				351 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_bulgarian_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = BUL
				has_global_flag = no_limit
			}
			#NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 25
						46 = { is_controlled_by = ROOT }
						76 = { is_controlled_by = ROOT }
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						78 = { is_controlled_by = ROOT }
						79 = { is_controlled_by = ROOT }
						80 = { is_controlled_by = ROOT }
						81 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						45 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						48 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						77 = { is_controlled_by = ROOT }
						184 = { is_controlled_by = ROOT }
						731 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BUE } } }
		}
		icon = formable_nations_bulgarian_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BUE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				46 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				78 = { add_core_of = ROOT }
				79 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				81 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_gran_colombia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = COL
				original_tag = VEN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 9
						306 = { is_controlled_by = ROOT }
						486 = { is_controlled_by = ROOT }
						493 = { is_controlled_by = ROOT }
						490 = { is_controlled_by = ROOT }
						491 = { is_controlled_by = ROOT }
						305 = { is_controlled_by = ROOT }
						307 = { is_controlled_by = ROOT }
						488 = { is_controlled_by = ROOT }
						489 = { is_controlled_by = ROOT }
						687 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GCO } } }
		}
		icon = formable_nations_gran_colombia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GCO
			add_stability = 0.2
			set_capital = 306
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				306 = { add_core_of = ROOT }
				486 = { add_core_of = ROOT }
				493 = { add_core_of = ROOT }
				490 = { add_core_of = ROOT }
				491 = { add_core_of = ROOT }
				305 = { add_core_of = ROOT }
				307 = { add_core_of = ROOT }
				488 = { add_core_of = ROOT }
				489 = { add_core_of = ROOT }
				687 = { add_core_of = ROOT }
			}
			304 = { add_core_of = ROOT }
			685 = { add_core_of = ROOT }
		}
	}
	formable_nations_mexican_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = MEX
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 23
						277 = { is_controlled_by = ROOT }
						474 = { is_controlled_by = ROOT }
						475 = { is_controlled_by = ROOT }
						476 = { is_controlled_by = ROOT }
						477 = { is_controlled_by = ROOT }
						478 = { is_controlled_by = ROOT }
						479 = { is_controlled_by = ROOT }
						480 = { is_controlled_by = ROOT }
						481 = { is_controlled_by = ROOT }
						482 = { is_controlled_by = ROOT }
						483 = { is_controlled_by = ROOT }
						484 = { is_controlled_by = ROOT }
						485 = { is_controlled_by = ROOT }
						375 = { is_controlled_by = ROOT }
						376 = { is_controlled_by = ROOT }
						377 = { is_controlled_by = ROOT }
						378 = { is_controlled_by = ROOT }
						379 = { is_controlled_by = ROOT }
						380 = { is_controlled_by = ROOT }
						313 = { is_controlled_by = ROOT }
						314 = { is_controlled_by = ROOT }
						312 = { is_controlled_by = ROOT }
						317 = { is_controlled_by = ROOT }
						316 = { is_controlled_by = ROOT }
						311 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MEE } } }
		}
		icon = formable_nations_mexican_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MEE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				277 = { add_core_of = ROOT }
				474 = { add_core_of = ROOT }
				475 = { add_core_of = ROOT }
				476 = { add_core_of = ROOT }
				477 = { add_core_of = ROOT }
				478 = { add_core_of = ROOT }
				479 = { add_core_of = ROOT }
				480 = { add_core_of = ROOT }
				481 = { add_core_of = ROOT }
				482 = { add_core_of = ROOT }
				483 = { add_core_of = ROOT }
				484 = { add_core_of = ROOT }
				485 = { add_core_of = ROOT }
				375 = { add_core_of = ROOT }
				376 = { add_core_of = ROOT }
				377 = { add_core_of = ROOT }
				378 = { add_core_of = ROOT }
				379 = { add_core_of = ROOT }
				380 = { add_core_of = ROOT }
				313 = { add_core_of = ROOT }
				314 = { add_core_of = ROOT }
				312 = { add_core_of = ROOT }
				317 = { add_core_of = ROOT }
				316 = { add_core_of = ROOT }
				311 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_greater_albania = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = ALB
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					count_triggers = {
						amount = 6
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						185 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GAL } } }
		}
		icon = formable_nations_greater_albania
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GAL
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_balkan = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = ALB
				original_tag = GRE
				original_tag = YUG
				original_tag = BUL
				original_tag = CRO
				original_tag = SER
				original_tag = MNT
				original_tag = MAC
				original_tag = SLV
				original_tag = BOS
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 27
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						45 = { is_controlled_by = ROOT }
						102 = { is_controlled_by = ROOT }
						103 = { is_controlled_by = ROOT }
						104 = { is_controlled_by = ROOT }
						804 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
						77 = { is_controlled_by = ROOT }
						47 = { is_controlled_by = ROOT }
						182 = { is_controlled_by = ROOT }
						184 = { is_controlled_by = ROOT }
						185 = { is_controlled_by = ROOT }
						186 = { is_controlled_by = ROOT }
						187 = { is_controlled_by = ROOT }
						731 = { is_controlled_by = ROOT }
						48 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						736 = { is_controlled_by = ROOT }
						163 = { is_controlled_by = ROOT }
						164 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BAK } } }
		}
		icon = formable_nations_balkan
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BAK
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				45 = { add_core_of = ROOT }
				102 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				766 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				46 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				78 = { add_core_of = ROOT }
				79 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				81 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				47 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				48 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_poland_hungary = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = POL
				original_tag = HUN
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_comm_tt
						count_triggers = {
							amount = 39
							188 = { is_controlled_by = ROOT }
							12 = { is_controlled_by = ROOT }
							190 = { is_controlled_by = ROOT }
							11 = { is_controlled_by = ROOT }
							189 = { is_controlled_by = ROOT }
							85 = { is_controlled_by = ROOT }
							86 = { is_controlled_by = ROOT }
							87 = { is_controlled_by = ROOT }
							88 = { is_controlled_by = ROOT }
							90 = { is_controlled_by = ROOT }
							10 = { is_controlled_by = ROOT }
							98 = { is_controlled_by = ROOT }
							91 = { is_controlled_by = ROOT }
							92 = { is_controlled_by = ROOT }
							93 = { is_controlled_by = ROOT }
							94 = { is_controlled_by = ROOT }
							95 = { is_controlled_by = ROOT }
							96 = { is_controlled_by = ROOT }
							97 = { is_controlled_by = ROOT }
							72 = { is_controlled_by = ROOT }
							204 = { is_controlled_by = ROOT }
							206 = { is_controlled_by = ROOT }
							207 = { is_controlled_by = ROOT }
							194 = { is_controlled_by = ROOT }
							241 = { is_controlled_by = ROOT }
							199 = { is_controlled_by = ROOT }
							201 = { is_controlled_by = ROOT }
							198 = { is_controlled_by = ROOT }
							202 = { is_controlled_by = ROOT }
							203 = { is_controlled_by = ROOT }
							197 = { is_controlled_by = ROOT }
							226 = { is_controlled_by = ROOT }
							193 = { is_controlled_by = ROOT }
							259 = { is_controlled_by = ROOT }
							225 = { is_controlled_by = ROOT }
							224 = { is_controlled_by = ROOT }
							242 = { is_controlled_by = ROOT }
							243 = { is_controlled_by = ROOT }
							192 = { is_controlled_by = ROOT }
							784 = { is_controlled_by = ROOT }
							73 = { is_controlled_by = ROOT }
							13 = { is_controlled_by = ROOT }
							191 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 13
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
						76 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
						45 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_POH } } }
		}
		icon = formable_nations_poland_hungary
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_POH
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				188 = { add_core_of = ROOT }
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				85 = { add_core_of = ROOT }
				86 = { add_core_of = ROOT }
				87 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				90 = { add_core_of = ROOT }
				10 = { add_core_of = ROOT }
				98 = { add_core_of = ROOT }
				91 = { add_core_of = ROOT }
				92 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				93 = { add_core_of = ROOT }
				94 = { add_core_of = ROOT }
				95 = { add_core_of = ROOT }
				96 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				72 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				199 = { add_core_of = ROOT }
				201 = { add_core_of = ROOT }
				198 = { add_core_of = ROOT }
				202 = { add_core_of = ROOT }
				203 = { add_core_of = ROOT }
				197 = { add_core_of = ROOT }
				226 = { add_core_of = ROOT }
				193 = { add_core_of = ROOT }
				259 = { add_core_of = ROOT }
				225 = { add_core_of = ROOT }
				224 = { add_core_of = ROOT }
				242 = { add_core_of = ROOT }
				243 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				13 = { add_core_of = ROOT }
				191 = { add_core_of = ROOT }
				192 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				89 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
			}
			5 = { add_core_of = ROOT }
			763 = { add_core_of = ROOT }
		}
	}
	formable_nations_angevin_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = ENG
				has_global_flag = no_limit
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 20
						113 = { is_controlled_by = ROOT }
						119 = { is_controlled_by = ROOT }
						126 = { is_controlled_by = ROOT }
						127 = { is_controlled_by = ROOT }
						123 = { is_controlled_by = ROOT }
						338 = { is_controlled_by = ROOT }
						125 = { is_controlled_by = ROOT }
						122 = { is_controlled_by = ROOT }
						128 = { is_controlled_by = ROOT }
						129 = { is_controlled_by = ROOT }
						130 = { is_controlled_by = ROOT }
						131 = { is_controlled_by = ROOT }
						132 = { is_controlled_by = ROOT }
						14 = { is_controlled_by = ROOT }
						15 = { is_controlled_by = ROOT }
						30 = { is_controlled_by = ROOT }
						19 = { is_controlled_by = ROOT }
						806 = { is_controlled_by = ROOT }
						23 = { is_controlled_by = ROOT }
						25 = { is_controlled_by = ROOT }
						26 = { is_controlled_by = ROOT }
						33 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ANE } } }
		}
		icon = formable_nations_angevin_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ANE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				113 = { add_core_of = ROOT }
				119 = { add_core_of = ROOT }
				126 = { add_core_of = ROOT }
				127 = { add_core_of = ROOT }
				123 = { add_core_of = ROOT }
				338 = { add_core_of = ROOT }
				125 = { add_core_of = ROOT }
				122 = { add_core_of = ROOT }
				128 = { add_core_of = ROOT }
				129 = { add_core_of = ROOT }
				130 = { add_core_of = ROOT }
				131 = { add_core_of = ROOT }
				132 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				128 = { add_core_of = ROOT }
				129 = { add_core_of = ROOT }
				130 = { add_core_of = ROOT }
				131 = { add_core_of = ROOT }
				132 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_macedonian_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = GRE
				original_tag = MAC
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_greece_tt
						count_triggers = {
							amount = 6
							47 = { is_controlled_by = ROOT }
							182 = { is_controlled_by = ROOT }
							184 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							186 = { is_controlled_by = ROOT }
							187 = { is_controlled_by = ROOT }
							731 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 19
							49 = { is_controlled_by = ROOT }
							798 = { is_controlled_by = ROOT }
							339 = { is_controlled_by = ROOT }
							340 = { is_controlled_by = ROOT }
							341 = { is_controlled_by = ROOT }
							797 = { is_controlled_by = ROOT }
							342 = { is_controlled_by = ROOT }
							343 = { is_controlled_by = ROOT }
							344 = { is_controlled_by = ROOT }
							345 = { is_controlled_by = ROOT }
							346 = { is_controlled_by = ROOT }
							347 = { is_controlled_by = ROOT }
							348 = { is_controlled_by = ROOT }
							349 = { is_controlled_by = ROOT }
							350 = { is_controlled_by = ROOT }
							352 = { is_controlled_by = ROOT }
							800 = { is_controlled_by = ROOT }
							353 = { is_controlled_by = ROOT }
							354 = { is_controlled_by = ROOT }
							355 = { is_controlled_by = ROOT }
							356 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_persia_tt
						count_triggers = {
							amount = 10
							266 = { is_controlled_by = ROOT }
							410 = { is_controlled_by = ROOT }
							411 = { is_controlled_by = ROOT }
							412 = { is_controlled_by = ROOT }
							413 = { is_controlled_by = ROOT }
							414 = { is_controlled_by = ROOT }
							416 = { is_controlled_by = ROOT }
							417 = { is_controlled_by = ROOT }
							418 = { is_controlled_by = ROOT }
							419 = { is_controlled_by = ROOT }
							420 = { is_controlled_by = ROOT }
							421 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 27
						454 = { is_controlled_by = ROOT }
						453 = { is_controlled_by = ROOT }
						447 = { is_controlled_by = ROOT }
						452 = { is_controlled_by = ROOT }
						446 = { is_controlled_by = ROOT }
						456 = { is_controlled_by = ROOT }
						457 = { is_controlled_by = ROOT }
						656 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
						291 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						415 = { is_controlled_by = ROOT }
						267 = { is_controlled_by = ROOT }
						444 = { is_controlled_by = ROOT }
						445 = { is_controlled_by = ROOT }
						443 = { is_controlled_by = ROOT }
						440 = { is_controlled_by = ROOT }
						441 = { is_controlled_by = ROOT }
						787 = { is_controlled_by = ROOT }
						442 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						48 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MAC } } }
		}
		icon = formable_nations_macedonian_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MAC
			add_stability = 0.2
			set_capital = 731
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				47 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				341 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				452 = { add_core_of = ROOT }
				787 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				415 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				419 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				267 = { add_core_of = ROOT }
				444 = { add_core_of = ROOT }
				445 = { add_core_of = ROOT }
				443 = { add_core_of = ROOT }
				440 = { add_core_of = ROOT }
				441 = { add_core_of = ROOT }
				442 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				48 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
			}
			405 = { add_core_of = ROOT }
			742 = { add_core_of = ROOT }
			584 = { add_core_of = ROOT }
		}
	}
	formable_nations_south_america = {#continent
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				capital_scope = { is_on_continent = south_america }
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					all_state = {
						OR = {
							AND = {
								is_on_continent = south_america
								NOT = {
									OR = {
										state = 299
										state = 720
										state = 649
										state = 690
										state = 689
										state = 686
										state = 694
										state = 308
										state = 692
										state = 313
										state = 311
										state = 312
										state = 314
										state = 317
										state = 316
										state = 304
										state = 685
										state = 693
										state = 315
										state = 318
										state = 319
									}
								}
								is_controlled_by = ROOT
							}
							NOT = { is_on_continent = south_america }
							state = 299
							state = 720
							state = 649
							state = 690
							state = 689
							state = 686
							state = 694
							state = 308
							state = 692
							state = 313
							state = 311
							state = 312
							state = 314
							state = 317
							state = 316
							state = 304
							state = 685
							state = 693
							state = 315
							state = 318
							state = 319
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_SOU } } }
		}
		icon = formable_nations_south_america
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_SOU
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_state = {
					limit = {
						is_on_continent = south_america
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
		}
	}
	formable_nations_world = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					all_state = { is_controlled_by = ROOT }
					
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_WOR } } }
		}
		icon = formable_nations_world
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_WOR
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_owned_state = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_ottomans = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = TUR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 19
							49 = { is_controlled_by = ROOT }
							798 = { is_controlled_by = ROOT }
							339 = { is_controlled_by = ROOT }
							340 = { is_controlled_by = ROOT }
							341 = { is_controlled_by = ROOT }
							797 = { is_controlled_by = ROOT }
							342 = { is_controlled_by = ROOT }
							343 = { is_controlled_by = ROOT }
							344 = { is_controlled_by = ROOT }
							345 = { is_controlled_by = ROOT }
							346 = { is_controlled_by = ROOT }
							347 = { is_controlled_by = ROOT }
							348 = { is_controlled_by = ROOT }
							349 = { is_controlled_by = ROOT }
							350 = { is_controlled_by = ROOT }
							352 = { is_controlled_by = ROOT }
							800 = { is_controlled_by = ROOT }
							353 = { is_controlled_by = ROOT }
							354 = { is_controlled_by = ROOT }
							355 = { is_controlled_by = ROOT }
							356 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_greece_tt
						count_triggers = {
							amount = 6
							47 = { is_controlled_by = ROOT }
							182 = { is_controlled_by = ROOT }
							184 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							186 = { is_controlled_by = ROOT }
							187 = { is_controlled_by = ROOT }
							731 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 10
						48 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
						291 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						183 = { is_controlled_by = ROOT }
						164 = { is_controlled_by = ROOT }
						679 = { is_controlled_by = ROOT }
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_levant_tt
						count_triggers = {
							amount = 6
							553 = { is_controlled_by = ROOT }
							554 = { is_controlled_by = ROOT }
							677 = { is_controlled_by = ROOT }
							799 = { is_controlled_by = ROOT }
							680 = { is_controlled_by = ROOT }
							454 = { is_controlled_by = ROOT }
							455 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_OTT } } }
		}
		icon = formable_nations_ottomans
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_OTT
			set_capital = 797
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				49 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				341 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				47 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				48 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				552 = { add_core_of = ROOT }
				273 = { add_core_of = ROOT }
				679 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
			}
			183 = { add_core_of = ROOT }
			453 = { add_core_of = ROOT }
			446 = { add_core_of = ROOT }
			447 = { add_core_of = ROOT }
			452 = { add_core_of = ROOT }
			456 = { add_core_of = ROOT }
			457 = { add_core_of = ROOT }
			551 = { add_core_of = ROOT }
			450 = { add_core_of = ROOT }
			451 = { add_core_of = ROOT }
			448 = { add_core_of = ROOT }
			449 = { add_core_of = ROOT }
			661 = { add_core_of = ROOT }
			662 = { add_core_of = ROOT }
			663 = { add_core_of = ROOT }
			679 = { add_core_of = ROOT }
			164 = { add_core_of = ROOT }
		}
	}
	formable_nations_mongol_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = MON
				original_tag = TAN
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_china_tt
						count_triggers = {
							amount = 44
							615 = { is_controlled_by = ROOT }
							621 = { is_controlled_by = ROOT }
							622 = { is_controlled_by = ROOT }
							283 = { is_controlled_by = ROOT }
							604 = { is_controlled_by = ROOT }
							616 = { is_controlled_by = ROOT }
							287 = { is_controlled_by = ROOT }
							617 = { is_controlled_by = ROOT }
							618 = { is_controlled_by = ROOT }
							619 = { is_controlled_by = ROOT }
							322 = { is_controlled_by = ROOT }
							330 = { is_controlled_by = ROOT }
							325 = { is_controlled_by = ROOT }
							591 = { is_controlled_by = ROOT }
							592 = { is_controlled_by = ROOT }
							593 = { is_controlled_by = ROOT }
							594 = { is_controlled_by = ROOT }
							598 = { is_controlled_by = ROOT }
							599 = { is_controlled_by = ROOT }
							611 = { is_controlled_by = ROOT }
							612 = { is_controlled_by = ROOT }
							328 = { is_controlled_by = ROOT }
							610 = { is_controlled_by = ROOT }
							714 = { is_controlled_by = ROOT }
							715 = { is_controlled_by = ROOT }
							716 = { is_controlled_by = ROOT }
							717 = { is_controlled_by = ROOT }
							609 = { is_controlled_by = ROOT }
							657 = { is_controlled_by = ROOT }
							560 = { is_controlled_by = ROOT }
							561 = { is_controlled_by = ROOT }
							655 = { is_controlled_by = ROOT }
							408 = { is_controlled_by = ROOT }
							409 = { is_controlled_by = ROOT }
							602 = { is_controlled_by = ROOT }
							603 = { is_controlled_by = ROOT }
							605 = { is_controlled_by = ROOT }
							601 = { is_controlled_by = ROOT }
							620 = { is_controlled_by = ROOT }
							600 = { is_controlled_by = ROOT }
							595 = { is_controlled_by = ROOT }
							620 = { is_controlled_by = ROOT }
							596 = { is_controlled_by = ROOT }
							606 = { is_controlled_by = ROOT }
							613 = { is_controlled_by = ROOT }
							607 = { is_controlled_by = ROOT }
							597 = { is_controlled_by = ROOT }
							614 = { is_controlled_by = ROOT }
							608 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 20
						329 = { is_controlled_by = ROOT }
						589 = { is_controlled_by = ROOT }
						266 = { is_controlled_by = ROOT }
						410 = { is_controlled_by = ROOT }
						411 = { is_controlled_by = ROOT }
						412 = { is_controlled_by = ROOT }
						413 = { is_controlled_by = ROOT }
						414 = { is_controlled_by = ROOT }
						416 = { is_controlled_by = ROOT }
						417 = { is_controlled_by = ROOT }
						418 = { is_controlled_by = ROOT }
						419 = { is_controlled_by = ROOT }
						420 = { is_controlled_by = ROOT }
						421 = { is_controlled_by = ROOT }
						291 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						229 = { is_controlled_by = ROOT }
						230 = { is_controlled_by = ROOT }
						231 = { is_controlled_by = ROOT }
						525 = { is_controlled_by = ROOT }
						527 = { is_controlled_by = ROOT }
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_siberia_tt
						count_triggers = {
							amount = 97
							40 = { is_controlled_by = ROOT }
							137 = { is_controlled_by = ROOT }
							192 = { is_controlled_by = ROOT }
							193 = { is_controlled_by = ROOT }
							194 = { is_controlled_by = ROOT }
							195 = { is_controlled_by = ROOT }
							196 = { is_controlled_by = ROOT }
							197	= { is_controlled_by = ROOT }
							198 = { is_controlled_by = ROOT }
							199 = { is_controlled_by = ROOT }
							200 = { is_controlled_by = ROOT }
							201 = { is_controlled_by = ROOT }
							202 = { is_controlled_by = ROOT }
							203 = { is_controlled_by = ROOT }
							204 = { is_controlled_by = ROOT }
							205 = { is_controlled_by = ROOT }
							206 = { is_controlled_by = ROOT }
							207 = { is_controlled_by = ROOT }
							208 = { is_controlled_by = ROOT }
							209 = { is_controlled_by = ROOT }
							210 = { is_controlled_by = ROOT }
							217 = { is_controlled_by = ROOT }
							218 = { is_controlled_by = ROOT }
							219 = { is_controlled_by = ROOT }
							220 = { is_controlled_by = ROOT }
							221 = { is_controlled_by = ROOT }
							222 = { is_controlled_by = ROOT }
							223 = { is_controlled_by = ROOT }
							224 = { is_controlled_by = ROOT }
							225 = { is_controlled_by = ROOT }
							226 = { is_controlled_by = ROOT }
							227 = { is_controlled_by = ROOT }
							228 = { is_controlled_by = ROOT }
							232 = { is_controlled_by = ROOT }
							233 = { is_controlled_by = ROOT }
							234 = { is_controlled_by = ROOT }
							235 = { is_controlled_by = ROOT }
							236 = { is_controlled_by = ROOT }
							237 = { is_controlled_by = ROOT }
							238 = { is_controlled_by = ROOT }
							239 = { is_controlled_by = ROOT }
							240 = { is_controlled_by = ROOT }
							241 = { is_controlled_by = ROOT }
							242 = { is_controlled_by = ROOT }
							243 = { is_controlled_by = ROOT }
							244 = { is_controlled_by = ROOT }
							245 = { is_controlled_by = ROOT }
							246 = { is_controlled_by = ROOT }
							247 = { is_controlled_by = ROOT }
							248 = { is_controlled_by = ROOT }
							249 = { is_controlled_by = ROOT }
							250 = { is_controlled_by = ROOT }
							251 = { is_controlled_by = ROOT }
							252 = { is_controlled_by = ROOT }
							253 = { is_controlled_by = ROOT }
							254 = { is_controlled_by = ROOT }
							255 = { is_controlled_by = ROOT }
							256 = { is_controlled_by = ROOT }
							257 = { is_controlled_by = ROOT }
							258 = { is_controlled_by = ROOT }
							259 = { is_controlled_by = ROOT }
							260 = { is_controlled_by = ROOT }
							263 = { is_controlled_by = ROOT }
							264 = { is_controlled_by = ROOT }
							265 = { is_controlled_by = ROOT }
							351 = { is_controlled_by = ROOT }
							398 = { is_controlled_by = ROOT }
							399 = { is_controlled_by = ROOT }
							400 = { is_controlled_by = ROOT }
							401 = { is_controlled_by = ROOT }
							402 = { is_controlled_by = ROOT }
							403 = { is_controlled_by = ROOT }
							404 = { is_controlled_by = ROOT }
							405 = { is_controlled_by = ROOT }
							406 = { is_controlled_by = ROOT }
							407 = { is_controlled_by = ROOT }
							408 = { is_controlled_by = ROOT }
							409 = { is_controlled_by = ROOT }
							560 = { is_controlled_by = ROOT }
							561 = { is_controlled_by = ROOT }
							563 = { is_controlled_by = ROOT }
							564 = { is_controlled_by = ROOT }
							565 = { is_controlled_by = ROOT }
							566 = { is_controlled_by = ROOT }
							567 = { is_controlled_by = ROOT }
							568 = { is_controlled_by = ROOT }
							569 = { is_controlled_by = ROOT }
							570 = { is_controlled_by = ROOT }
							571 = { is_controlled_by = ROOT }
							572 = { is_controlled_by = ROOT }
							573 = { is_controlled_by = ROOT }
							578 = { is_controlled_by = ROOT }
							582 = { is_controlled_by = ROOT }
							583 = { is_controlled_by = ROOT }
							584 = { is_controlled_by = ROOT }
							585 = { is_controlled_by = ROOT }
							586 = { is_controlled_by = ROOT }
							587 = { is_controlled_by = ROOT }
							588 = { is_controlled_by = ROOT }
							589 = { is_controlled_by = ROOT }
							590 = { is_controlled_by = ROOT }
							651 = { is_controlled_by = ROOT }
							652 = { is_controlled_by = ROOT }
							653 = { is_controlled_by = ROOT }
							654 = { is_controlled_by = ROOT }
							655 = { is_controlled_by = ROOT }
							657 = { is_controlled_by = ROOT }
							732 = { is_controlled_by = ROOT }
							742 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MOE } } }
		}
		icon = formable_nations_mongol_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MOE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				615 = { add_core_of = ROOT }
				621 = { add_core_of = ROOT }
				622 = { add_core_of = ROOT }
				283 = { add_core_of = ROOT }
				604 = { add_core_of = ROOT }
				616 = { add_core_of = ROOT }
				287 = { add_core_of = ROOT }
				617 = { add_core_of = ROOT }
				618 = { add_core_of = ROOT }
				619 = { add_core_of = ROOT }
				322 = { add_core_of = ROOT }
				330 = { add_core_of = ROOT }
				325 = { add_core_of = ROOT }
				591 = { add_core_of = ROOT }
				592 = { add_core_of = ROOT }
				593 = { add_core_of = ROOT }
				594 = { add_core_of = ROOT }
				599 = { add_core_of = ROOT }
				611 = { add_core_of = ROOT }
				612 = { add_core_of = ROOT }
				328 = { add_core_of = ROOT }
				610 = { add_core_of = ROOT }
				714 = { add_core_of = ROOT }
				715 = { add_core_of = ROOT }
				716 = { add_core_of = ROOT }
				717 = { add_core_of = ROOT }
				609 = { add_core_of = ROOT }
				657 = { add_core_of = ROOT }
				560 = { add_core_of = ROOT }
				561 = { add_core_of = ROOT }
				655 = { add_core_of = ROOT }
				408 = { add_core_of = ROOT }
				409 = { add_core_of = ROOT }
				602 = { add_core_of = ROOT }
				603 = { add_core_of = ROOT }
				605 = { add_core_of = ROOT }
				601 = { add_core_of = ROOT }
				620 = { add_core_of = ROOT }
				600 = { add_core_of = ROOT }
				595 = { add_core_of = ROOT }
				620 = { add_core_of = ROOT }
				596 = { add_core_of = ROOT }
				606 = { add_core_of = ROOT }
				613 = { add_core_of = ROOT }
				607 = { add_core_of = ROOT }
				597 = { add_core_of = ROOT }
				614 = { add_core_of = ROOT }
				608 = { add_core_of = ROOT }
				329 = { add_core_of = ROOT }
				589 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				419 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				229 = { add_core_of = ROOT }
				230 = { add_core_of = ROOT }
				231 = { add_core_of = ROOT }
				40 = { add_core_of = ROOT }
				137 = { add_core_of = ROOT }
				192 = { add_core_of = ROOT }
				193 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				195 = { add_core_of = ROOT }
				196 = { add_core_of = ROOT }
				197	= { add_core_of = ROOT }
				198 = { add_core_of = ROOT }
				199 = { add_core_of = ROOT }
				200 = { add_core_of = ROOT }
				201 = { add_core_of = ROOT }
				202 = { add_core_of = ROOT }
				203 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				205 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				208 = { add_core_of = ROOT }
				209 = { add_core_of = ROOT }
				210 = { add_core_of = ROOT }
				217 = { add_core_of = ROOT }
				218 = { add_core_of = ROOT }
				219 = { add_core_of = ROOT }
				220 = { add_core_of = ROOT }
				221 = { add_core_of = ROOT }
				222 = { add_core_of = ROOT }
				223 = { add_core_of = ROOT }
				224 = { add_core_of = ROOT }
				225 = { add_core_of = ROOT }
				226 = { add_core_of = ROOT }
				227 = { add_core_of = ROOT }
				228 = { add_core_of = ROOT }
				232 = { add_core_of = ROOT }
				233 = { add_core_of = ROOT }
				234 = { add_core_of = ROOT }
				235 = { add_core_of = ROOT }
				236 = { add_core_of = ROOT }
				237 = { add_core_of = ROOT }
				238 = { add_core_of = ROOT }
				239 = { add_core_of = ROOT }
				240 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				242 = { add_core_of = ROOT }
				243 = { add_core_of = ROOT }
				244 = { add_core_of = ROOT }
				245 = { add_core_of = ROOT }
				246 = { add_core_of = ROOT }
				247 = { add_core_of = ROOT }
				248 = { add_core_of = ROOT }
				249 = { add_core_of = ROOT }
				250 = { add_core_of = ROOT }
				251 = { add_core_of = ROOT }
				252 = { add_core_of = ROOT }
				253 = { add_core_of = ROOT }
				254 = { add_core_of = ROOT }
				255 = { add_core_of = ROOT }
				256 = { add_core_of = ROOT }
				257 = { add_core_of = ROOT }
				258 = { add_core_of = ROOT }
				259 = { add_core_of = ROOT }
				260 = { add_core_of = ROOT }
				263 = { add_core_of = ROOT }
				264 = { add_core_of = ROOT }
				265 = { add_core_of = ROOT }
				351 = { add_core_of = ROOT }
				398 = { add_core_of = ROOT }
				399 = { add_core_of = ROOT }
				400 = { add_core_of = ROOT }
				401 = { add_core_of = ROOT }
				402 = { add_core_of = ROOT }
				403 = { add_core_of = ROOT }
				404 = { add_core_of = ROOT }
				405 = { add_core_of = ROOT }
				406 = { add_core_of = ROOT }
				407 = { add_core_of = ROOT }
				408 = { add_core_of = ROOT }
				409 = { add_core_of = ROOT }
				560 = { add_core_of = ROOT }
				561 = { add_core_of = ROOT }
				563 = { add_core_of = ROOT }
				564 = { add_core_of = ROOT }
				565 = { add_core_of = ROOT }
				566 = { add_core_of = ROOT }
				567 = { add_core_of = ROOT }
				568 = { add_core_of = ROOT }
				569 = { add_core_of = ROOT }
				570 = { add_core_of = ROOT }
				571 = { add_core_of = ROOT }
				572 = { add_core_of = ROOT }
				573 = { add_core_of = ROOT }
				578 = { add_core_of = ROOT }
				582 = { add_core_of = ROOT }
				583 = { add_core_of = ROOT }
				584 = { add_core_of = ROOT }
				585 = { 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 }
				651 = { add_core_of = ROOT }
				652 = { add_core_of = ROOT }
				653 = { add_core_of = ROOT }
				654 = { add_core_of = ROOT }
				655 = { add_core_of = ROOT }
				657 = { add_core_of = ROOT }
				732 = { add_core_of = ROOT }
				742 = { add_core_of = ROOT }
				525 = { add_core_of = ROOT }
				527 = { add_core_of = ROOT }
				598 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_greater_israel = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = ISR
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 11
						454 = { is_controlled_by = ROOT }
						455 = { is_controlled_by = ROOT }
						453 = { is_controlled_by = ROOT }
						446 = { is_controlled_by = ROOT }
						457 = { is_controlled_by = ROOT }
						456 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GIS } } }
		}
		icon = formable_nations_greater_israel
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GIS
			add_stability = 0.2
			set_capital = 454#really pdx?
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_china = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_dlc = "Waking the Tiger" }
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = YUN
				original_tag = GXC
				original_tag = XSM
				original_tag = SHX
				original_tag = SIK
				original_tag = MAN
				original_tag = MEN
			}
		}
		available = {
			OR = {
				AND = {
					NOT = { country_exists = CHI }
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 36
						595 = { is_controlled_by = ROOT }
						596 = { is_controlled_by = ROOT }
						597 = { is_controlled_by = ROOT }
						598 = { is_controlled_by = ROOT }
						600 = { is_controlled_by = ROOT }
						601 = { is_controlled_by = ROOT }
						602 = { is_controlled_by = ROOT }
						603 = { is_controlled_by = ROOT }
						605 = { is_controlled_by = ROOT }
						606 = { is_controlled_by = ROOT }
						607 = { is_controlled_by = ROOT }
						608 = { is_controlled_by = ROOT }
						613 = { is_controlled_by = ROOT }
						614 = { is_controlled_by = ROOT }
						620 = { is_controlled_by = ROOT }
						325 = { is_controlled_by = ROOT }
						591 = { is_controlled_by = ROOT }
						592 = { is_controlled_by = ROOT }
						593 = { is_controlled_by = ROOT }
						594 = { is_controlled_by = ROOT }
						599 = { is_controlled_by = ROOT }
						283 = { is_controlled_by = ROOT }
						604 = { is_controlled_by = ROOT }
						616 = { is_controlled_by = ROOT }
						287 = { is_controlled_by = ROOT }
						617 = { is_controlled_by = ROOT }
						618 = { is_controlled_by = ROOT }
						619 = { is_controlled_by = ROOT }
						621 = { is_controlled_by = ROOT }
						622 = { is_controlled_by = ROOT }
						611 = { is_controlled_by = ROOT }
						612 = { is_controlled_by = ROOT }
						328 = { is_controlled_by = ROOT }
						610 = { is_controlled_by = ROOT }
						714 = { is_controlled_by = ROOT }
						715 = { is_controlled_by = ROOT }
						716 = { is_controlled_by = ROOT }
						717 = { is_controlled_by = ROOT }
						609 = { is_controlled_by = ROOT }
						524 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CHI } } NOT = { country_exists = CHI } }
		}
		icon = generic_form_nation
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CHI
			add_stability = 0.2
			set_capital = 608
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_state = {
					if = {
						limit = { is_core_of = CHI }
						remove_core_of = CHI
					}
					if = {
						limit = { is_core_of = PRC }
						remove_core_of = PRC
					}
					if = {
						limit = { is_core_of = YUN }
						remove_core_of = YUN
					}
					if = {
						limit = { is_core_of = GXC }
						remove_core_of = GXC
					}
					if = {
						limit = { is_core_of = XSM }
						remove_core_of = XSM
					}
					if = {
						limit = { is_core_of = SHX }
						remove_core_of = SHX
					}
					if = {
						limit = { is_core_of = SIK }
						remove_core_of = SIK
					}
					if = {
						limit = { is_core_of = MEN }
						remove_core_of = MEN
					}
				}
				595 = { add_core_of = ROOT }
				596 = { add_core_of = ROOT }
				597 = { add_core_of = ROOT }
				598 = { add_core_of = ROOT }
				600 = { add_core_of = ROOT }
				601 = { add_core_of = ROOT }
				602 = { add_core_of = ROOT }
				603 = { add_core_of = ROOT }
				605 = { add_core_of = ROOT }
				606 = { add_core_of = ROOT }
				607 = { add_core_of = ROOT }
				608 = { add_core_of = ROOT }
				613 = { add_core_of = ROOT }
				614 = { add_core_of = ROOT }
				620 = { add_core_of = ROOT }
				325 = { add_core_of = ROOT }
				591 = { add_core_of = ROOT }
				592 = { add_core_of = ROOT }
				593 = { add_core_of = ROOT }
				594 = { add_core_of = ROOT }
				599 = { add_core_of = ROOT }
				283 = { add_core_of = ROOT }
				604 = { add_core_of = ROOT }
				616 = { add_core_of = ROOT }
				287 = { add_core_of = ROOT }
				617 = { add_core_of = ROOT }
				618 = { add_core_of = ROOT }
				619 = { add_core_of = ROOT }
				621 = { add_core_of = ROOT }
				622 = { add_core_of = ROOT }
				611 = { add_core_of = ROOT }
				612 = { add_core_of = ROOT }
				328 = { add_core_of = ROOT }
				610 = { add_core_of = ROOT }
				714 = { add_core_of = ROOT }
				715 = { add_core_of = ROOT }
				716 = { add_core_of = ROOT }
				717 = { add_core_of = ROOT }
				609 = { add_core_of = ROOT }
				524 = { add_core_of = ROOT }
				set_party_name = { ideology = neutrality long_name = CHI_neutrality_party name = CHI_neutrality_party }
				set_party_name = { ideology = democratic long_name = CHI_democratic_party name = CHI_democratic_party }
				set_party_name = { ideology = communism long_name = CHI_communism_party_long name = CHI_communism_party }
				set_party_name = { ideology = fascism long_name = CHI_fascism_party_long name = CHI_fascism_party }
				if = {
					limit = { 
						NOT = { has_government = fascism }
					}
					create_country_leader = {
						name = "Wang Jingwei"
						desc = "POLITICS_WANG_JINGWEI_DESC"
						picture = "gfx/leaders/Asia/Portrait_Asia_Generic_fascism.dds"
						expire = "1965.1.1"
						ideology = fascism_ideology
						traits = {
							
						}
					}
				}
			}
			326 = { add_core_of = ROOT }
			729 = { add_core_of = ROOT }
			728 = { add_core_of = ROOT }
		}
	}
	formable_nations_mughals = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = AFG
				original_tag = PAK
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 21
						267 = { is_controlled_by = ROOT }
						415 = { is_controlled_by = ROOT }
						424 = { is_controlled_by = ROOT }
						425 = { is_controlled_by = ROOT }
						426 = { is_controlled_by = ROOT }
						427 = { is_controlled_by = ROOT }
						428 = { is_controlled_by = ROOT }
						429 = { is_controlled_by = ROOT }
						430 = { is_controlled_by = ROOT }
						431 = { is_controlled_by = ROOT }
						433 = { is_controlled_by = ROOT }
						435 = { is_controlled_by = ROOT }
						436 = { is_controlled_by = ROOT }
						437 = { is_controlled_by = ROOT }
						438 = { is_controlled_by = ROOT }
						439 = { is_controlled_by = ROOT }
						440 = { is_controlled_by = ROOT }
						441 = { is_controlled_by = ROOT }
						787 = { is_controlled_by = ROOT }
						442 = { is_controlled_by = ROOT }
						443 = { is_controlled_by = ROOT }
						444 = { is_controlled_by = ROOT }
						445 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MUG } } }
		}
		icon = formable_nations_mughals
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MUG
			add_stability = 0.2
			set_capital = 439
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				267 = { add_core_of = ROOT }
				415 = { add_core_of = ROOT }
				424 = { add_core_of = ROOT }
				425 = { add_core_of = ROOT }
				426 = { add_core_of = ROOT }
				427 = { add_core_of = ROOT }
				428 = { add_core_of = ROOT }
				429 = { add_core_of = ROOT }
				430 = { add_core_of = ROOT }
				431 = { add_core_of = ROOT }
				433 = { add_core_of = ROOT }
				435 = { add_core_of = ROOT }
				436 = { add_core_of = ROOT }
				437 = { add_core_of = ROOT }
				787 = { add_core_of = ROOT }
				438 = { add_core_of = ROOT }
				439 = { add_core_of = ROOT }
				440 = { add_core_of = ROOT }
				441 = { add_core_of = ROOT }
				442 = { add_core_of = ROOT }
				443 = { add_core_of = ROOT }
				444 = { add_core_of = ROOT }
				445 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_persian_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = PER
				original_tag = TAJ
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 23
						267 = { is_controlled_by = ROOT }
						415 = { is_controlled_by = ROOT }
						266 = { is_controlled_by = ROOT }
						410 = { is_controlled_by = ROOT }
						411 = { is_controlled_by = ROOT }
						412 = { is_controlled_by = ROOT }
						413 = { is_controlled_by = ROOT }
						414 = { is_controlled_by = ROOT }
						415 = { is_controlled_by = ROOT }
						416 = { is_controlled_by = ROOT }
						417 = { is_controlled_by = ROOT }
						418 = { is_controlled_by = ROOT }
						419 = { is_controlled_by = ROOT }
						420 = { is_controlled_by = ROOT }
						421 = { is_controlled_by = ROOT }
						291 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						584 = { is_controlled_by = ROOT }
						656 = { is_controlled_by = ROOT }
						742 = { is_controlled_by = ROOT }
						442 = { is_controlled_by = ROOT }
						443 = { is_controlled_by = ROOT }
						444 = { is_controlled_by = ROOT }
						445 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_PEE } } }
		}
		icon = formable_nations_persian_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_PEE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				267 = { add_core_of = ROOT }
				415 = { add_core_of = ROOT }
				266 = { add_core_of = ROOT }
				410 = { add_core_of = ROOT }
				411 = { add_core_of = ROOT }
				412 = { add_core_of = ROOT }
				413 = { add_core_of = ROOT }
				414 = { add_core_of = ROOT }
				415 = { add_core_of = ROOT }
				416 = { add_core_of = ROOT }
				417 = { add_core_of = ROOT }
				418 = { add_core_of = ROOT }
				419 = { add_core_of = ROOT }
				420 = { add_core_of = ROOT }
				421 = { add_core_of = ROOT }
				291 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				584 = { add_core_of = ROOT }
				656 = { add_core_of = ROOT }
				442 = { add_core_of = ROOT }
				443 = { add_core_of = ROOT }
				444 = { add_core_of = ROOT }
				445 = { add_core_of = ROOT }
				742 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_north_sea_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = ENG
				original_tag = DEN
				original_tag = NOR
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 13
						37 = { is_controlled_by = ROOT }
						99 = { is_controlled_by = ROOT }
						125 = { is_controlled_by = ROOT }
						126 = { is_controlled_by = ROOT }
						127 = { is_controlled_by = ROOT }
						128 = { is_controlled_by = ROOT }
						129 = { is_controlled_by = ROOT }
						130 = { is_controlled_by = ROOT }
						131 = { is_controlled_by = ROOT }
						132 = { is_controlled_by = ROOT }
						338 = { is_controlled_by = ROOT }
						110 = { is_controlled_by = ROOT }
						142 = { is_controlled_by = ROOT }
						143 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_NSE } } }
		}
		icon = formable_nations_north_sea_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_NSE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				37 = { add_core_of = ROOT }
				99 = { add_core_of = ROOT }
				125 = { add_core_of = ROOT }
				126 = { add_core_of = ROOT }
				127 = { add_core_of = ROOT }
				128 = { add_core_of = ROOT }
				129 = { add_core_of = ROOT }
				130 = { add_core_of = ROOT }
				131 = { add_core_of = ROOT }
				132 = { add_core_of = ROOT }
				338 = { add_core_of = ROOT }
				110 = { add_core_of = ROOT }
				142 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_inca_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = PRU
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 8
						302 = { is_controlled_by = ROOT }
						506 = { is_controlled_by = ROOT }
						508 = { is_controlled_by = ROOT }
						492 = { is_controlled_by = ROOT }
						494 = { is_controlled_by = ROOT }
						303 = { is_controlled_by = ROOT }
						490 = { is_controlled_by = ROOT }
						491 = { is_controlled_by = ROOT }
						305 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_INC } } }
		}
		icon = formable_nations_inca_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_INC
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				302 = { add_core_of = ROOT }
				506 = { add_core_of = ROOT }
				508 = { add_core_of = ROOT }
				492 = { add_core_of = ROOT }
				494 = { add_core_of = ROOT }
				303 = { add_core_of = ROOT }
				490 = { add_core_of = ROOT }
				491 = { add_core_of = ROOT }
				305 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_greater_finland = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = FIN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 11
						111 = { is_controlled_by = ROOT }
						145 = { is_controlled_by = ROOT }
						146 = { is_controlled_by = ROOT }
						147 = { is_controlled_by = ROOT }
						148 = { is_controlled_by = ROOT }
						149 = { is_controlled_by = ROOT }
						150 = { is_controlled_by = ROOT }
						722 = { is_controlled_by = ROOT }
						195 = { is_controlled_by = ROOT }
						216 = { is_controlled_by = ROOT }
						215 = { is_controlled_by = ROOT }
						213 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GFI } } }
		}
		icon = formable_nations_greater_finland
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GFI
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				111 = { add_core_of = ROOT }
				145 = { add_core_of = ROOT }
				146 = { add_core_of = ROOT }
				147 = { add_core_of = ROOT }
				148 = { add_core_of = ROOT }
				149 = { add_core_of = ROOT }
				150 = { add_core_of = ROOT }
				722 = { add_core_of = ROOT }
				195 = { add_core_of = ROOT }
				216 = { add_core_of = ROOT }
				215 = { add_core_of = ROOT }
				213 = { add_core_of = ROOT }
			}
			13 = { add_claim_by = ROOT }
			191 = { add_claim_by = ROOT }
			208 = { add_claim_by = ROOT }
			666 = { add_claim_by = ROOT }
			144 = { add_claim_by = ROOT }
		}
	}
	formable_nations_turkestan = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = KAZ
				original_tag = TUR
				original_tag = SIK
				original_tag = TAN
				original_tag = AZR
				original_tag = TMS
				original_tag = UZB
				original_tag = KYR
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 19
							49 = { is_controlled_by = ROOT }
							798 = { is_controlled_by = ROOT }
							339 = { is_controlled_by = ROOT }
							340 = { is_controlled_by = ROOT }
							341 = { is_controlled_by = ROOT }
							797 = { is_controlled_by = ROOT }
							342 = { is_controlled_by = ROOT }
							343 = { is_controlled_by = ROOT }
							344 = { is_controlled_by = ROOT }
							345 = { is_controlled_by = ROOT }
							346 = { is_controlled_by = ROOT }
							347 = { is_controlled_by = ROOT }
							348 = { is_controlled_by = ROOT }
							349 = { is_controlled_by = ROOT }
							350 = { is_controlled_by = ROOT }
							352 = { is_controlled_by = ROOT }
							800 = { is_controlled_by = ROOT }
							353 = { is_controlled_by = ROOT }
							354 = { is_controlled_by = ROOT }
							355 = { is_controlled_by = ROOT }
							356 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 22
						229 = { is_controlled_by = ROOT }
						230 = { is_controlled_by = ROOT }
						231 = { is_controlled_by = ROOT }
						232 = { is_controlled_by = ROOT }
						233 = { is_controlled_by = ROOT }
						236 = { is_controlled_by = ROOT }
						237 = { is_controlled_by = ROOT }
						406 = { is_controlled_by = ROOT }
						407 = { is_controlled_by = ROOT }
						402 = { is_controlled_by = ROOT }
						584 = { is_controlled_by = ROOT }
						585 = { is_controlled_by = ROOT }
						587 = { is_controlled_by = ROOT }
						583 = { is_controlled_by = ROOT }
						590 = { is_controlled_by = ROOT }
						588 = { is_controlled_by = ROOT }
						404 = { is_controlled_by = ROOT }
						589 = { is_controlled_by = ROOT }
						586 = { is_controlled_by = ROOT }
						732 = { is_controlled_by = ROOT }
						405 = { is_controlled_by = ROOT }
						742 = { is_controlled_by = ROOT }
						654 = { is_controlled_by = ROOT }
						329 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_TKS } } }
		}
		icon = formable_nations_turkestan
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_TKS
			add_stability = 0.2
			set_capital = 405
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				49 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				341 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				343 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				229 = { add_core_of = ROOT }
				230 = { add_core_of = ROOT }
				231 = { add_core_of = ROOT }
				232 = { add_core_of = ROOT }
				233 = { add_core_of = ROOT }
				236 = { add_core_of = ROOT }
				237 = { add_core_of = ROOT }
				406 = { add_core_of = ROOT }
				407 = { add_core_of = ROOT }
				402 = { add_core_of = ROOT }
				584 = { add_core_of = ROOT }
				585 = { add_core_of = ROOT }
				587 = { add_core_of = ROOT }
				583 = { add_core_of = ROOT }
				590 = { add_core_of = ROOT }
				588 = { add_core_of = ROOT }
				404 = { add_core_of = ROOT }
				589 = { add_core_of = ROOT }
				586 = { add_core_of = ROOT }
				732 = { add_core_of = ROOT }
				405 = { add_core_of = ROOT }
				742 = { add_core_of = ROOT }
				654 = { add_core_of = ROOT }
				329 = { add_core_of = ROOT }
			}
			287 = { add_core_of = ROOT }
			617 = { add_core_of = ROOT }
			618 = { add_core_of = ROOT }
			619 = { add_core_of = ROOT }
			183 = { add_core_of = ROOT }
		}
	}
	formable_nations_indochina = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = SIA
				original_tag = LAO
				original_tag = VIN
				original_tag = CAM
				original_tag = BRM
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						289 = { is_controlled_by = ROOT }
						724 = { is_controlled_by = ROOT }
						741 = { is_controlled_by = ROOT }
						670 = { is_controlled_by = ROOT }
						286 = { is_controlled_by = ROOT }
						671 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ICH } } }
		}
		icon = formable_nations_indochina
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ICH
			add_stability = 0.2
			set_capital = 289
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				289 = { add_core_of = ROOT }
				724 = { add_core_of = ROOT }
				741 = { add_core_of = ROOT }
				670 = { add_core_of = ROOT }
				286 = { add_core_of = ROOT }
				671 = { add_core_of = ROOT }
			}
			288 = { add_core_of = ROOT }
			640 = { add_core_of = ROOT }
			336 = { add_core_of = ROOT }
		}
	}
	formable_nations_swedish_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = SWE
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						38 = { is_controlled_by = ROOT }
						124 = { is_controlled_by = ROOT }
						138 = { is_controlled_by = ROOT }
						139 = { is_controlled_by = ROOT }
						140 = { is_controlled_by = ROOT }
						141 = { is_controlled_by = ROOT }
						666 = { is_controlled_by = ROOT }
						111 = { is_controlled_by = ROOT }
						145 = { is_controlled_by = ROOT }
						146 = { is_controlled_by = ROOT }
						147 = { is_controlled_by = ROOT }
						148 = { is_controlled_by = ROOT }
						149 = { is_controlled_by = ROOT }
						150 = { is_controlled_by = ROOT }
						143 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_SEP } } }
		}
		icon = formable_nations_swedish_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_SEP
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				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 }
				111 = { add_core_of = ROOT }
				145 = { add_core_of = ROOT }
				146 = { add_core_of = ROOT }
				147 = { add_core_of = ROOT }
				148 = { add_core_of = ROOT }
				149 = { add_core_of = ROOT }
				150 = { add_core_of = ROOT }
				143 = { add_core_of = ROOT }
			}
			195 = { add_core_of = ROOT }
			208 = { add_core_of = ROOT }
			12 = { add_core_of = ROOT }
			13 = { add_core_of = ROOT }
			191 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_greater_tibet = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = TIB
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 3
						322 = { is_controlled_by = ROOT }
						601 = { is_controlled_by = ROOT }
						604 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GTI } } }
		}
		icon = formable_nations_greater_tibet
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GTI
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				322 = { add_core_of = ROOT }
				601 = { add_core_of = ROOT }
				604 = { add_core_of = ROOT }
			}

			
		}
	}
	formable_nations_greater_yugoslavia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = YUG
				original_tag = CRO
				original_tag = SER
				original_tag = MNT
				original_tag = BUL
				original_tag = ALB
				original_tag = MAC
				original_tag = SLV
				original_tag = BOS
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 17
						45 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
						102 = { is_controlled_by = ROOT }
						103 = { is_controlled_by = ROOT }
						104 = { is_controlled_by = ROOT }
						804 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						48 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_YUG } } NOT = { country_exists = YUG } }
		}
		icon = formable_nations_greater_yugoslavia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_YUG
			add_stability = 0.2
			set_capital = 107
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				45 = { remove_core_of = YUG  add_core_of = ROOT }
				102 = { remove_core_of = YUG  add_core_of = ROOT }
				103 = { remove_core_of = YUG  add_core_of = ROOT }
				104 = { remove_core_of = YUG  add_core_of = ROOT }
				804 = { remove_core_of = YUG  add_core_of = ROOT }
				105 = { remove_core_of = YUG  add_core_of = ROOT }
				106 = { remove_core_of = YUG  add_core_of = ROOT }
				107 = { remove_core_of = YUG  add_core_of = ROOT }
				108 = { remove_core_of = YUG  add_core_of = ROOT }
				802 = { remove_core_of = YUG  add_core_of = ROOT }
				803 = { remove_core_of = YUG  add_core_of = ROOT }
				109 = { remove_core_of = YUG  add_core_of = ROOT }
				764 = { remove_core_of = YUG  add_core_of = ROOT }
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				48 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
			}
			77 = { add_core_of = ROOT }
			184 = { add_core_of = ROOT }
			731 = { add_core_of = ROOT }
			163 = { add_core_of = ROOT }
			736 = { remove_core_of = YUG  add_core_of = ROOT }
			211 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_abyssinia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = ETH
				original_tag = ERI
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 2
						271 = { is_controlled_by = ROOT }
						550 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ABY } } }
		}
		icon = formable_nations_abyssinia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ABY
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				271 = { add_core_of = ROOT }
				550 = { add_core_of = ROOT }
			}
			268 = { add_core_of = ROOT }
			269 = { add_core_of = ROOT }
			559 = { add_core_of = ROOT }
		}
	}
	formable_nations_north_america = {#continent
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				capital_scope = { is_on_continent = north_america }
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					all_state = {
						OR = {
							AND = {
								is_on_continent = north_america
								NOT = {
									OR = {
										state = 696
										state = 101
										state = 739
										state = 730
									}
								}
								is_controlled_by = ROOT
							}
							NOT = { is_on_continent = north_america }
							state = 696
							state = 101
							state = 739
							state = 730
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_NOA } } }
		}
		icon = formable_nations_north_america
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_NOA
			add_stability = 0.2
			set_capital = 358
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_state = {
					limit = {
						is_on_continent = north_america
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
		}
	}
	formable_nations_greater_egypt = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = EGY
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						551 = { is_controlled_by = ROOT }
						552 = { is_controlled_by = ROOT }
						456 = { is_controlled_by = ROOT }
						457 = { is_controlled_by = ROOT }
						446 = { is_controlled_by = ROOT }
						453 = { is_controlled_by = ROOT }
						447 = { is_controlled_by = ROOT }
						452 = { is_controlled_by = ROOT }
						454 = { is_controlled_by = ROOT }
						455 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GEG } } }
		}
		icon = formable_nations_greater_egypt
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GEG
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				551 = { add_core_of = ROOT }
				552 = { add_core_of = ROOT }
				456 = { add_core_of = ROOT }
				457 = { add_core_of = ROOT }
				446 = { add_core_of = ROOT }
				453 = { add_core_of = ROOT }
				447 = { add_core_of = ROOT }
				452 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
			}
			663 = { add_core_of = ROOT }
			451 = { add_core_of = ROOT }
			450 = { add_core_of = ROOT }
			679 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_hispaniola = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = DOM
				original_tag = HAI
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 2
						318 = { is_controlled_by = ROOT }
						319 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_HIS } } }
		}
		icon = formable_nations_hispaniola
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_HIS
			add_stability = 0.2
			set_capital = 318
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				318 = { add_core_of = ROOT }
				319 = { add_core_of = ROOT }
			}

			
		}
	}
	formable_nations_peru_bolivia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = PRU
				original_tag = BOL
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 6
						490 = { is_controlled_by = ROOT }
						491 = { is_controlled_by = ROOT }
						303 = { is_controlled_by = ROOT }
						494 = { is_controlled_by = ROOT }
						492 = { is_controlled_by = ROOT }
						487 = { is_controlled_by = ROOT }
						302 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_PRB } } }
		}
		icon = formable_nations_peru_bolivia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_PRB
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				490 = { add_core_of = ROOT }
				491 = { add_core_of = ROOT }
				303 = { add_core_of = ROOT }
				494 = { add_core_of = ROOT }
				492 = { add_core_of = ROOT }
				487 = { add_core_of = ROOT }
				302 = { add_core_of = ROOT }
			}
			506 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_caribbean = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = DOM
				original_tag = HAI
				original_tag = CUB
				original_tag = JAM
				original_tag = BAH
				original_tag = PUE
				original_tag = CRC
				original_tag = TRI
				original_tag = BAS
				original_tag = GDL
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 3
						315 = { is_controlled_by = ROOT }
						318 = { is_controlled_by = ROOT }
						319 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CAB } } }
		}
		icon = formable_nations_caribbean
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CAB
			add_stability = 0.2
			set_capital = 318
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				315 = { add_core_of = ROOT }
				318 = { add_core_of = ROOT }
				319 = { add_core_of = ROOT }
			}
			689 = { add_core_of = ROOT }
			690 = { add_core_of = ROOT }
			693 = { add_core_of = ROOT }
			686 = { add_core_of = ROOT }
			694 = { add_core_of = ROOT }
			308 = { add_core_of = ROOT }
			692 = { add_core_of = ROOT }
			691 = { add_core_of = ROOT }
			695 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_australasia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = AST
				original_tag = NZL
				original_tag = PNG
				original_tag = TAH
				original_tag = FIJ
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 12
						285 = { is_controlled_by = ROOT }
						517 = { is_controlled_by = ROOT }
						518 = { is_controlled_by = ROOT }
						519 = { is_controlled_by = ROOT }
						520 = { is_controlled_by = ROOT }
						521 = { is_controlled_by = ROOT }
						522 = { is_controlled_by = ROOT }
						523 = { is_controlled_by = ROOT }
						634 = { is_controlled_by = ROOT }
						674 = { is_controlled_by = ROOT }
						737 = { is_controlled_by = ROOT }
						284 = { is_controlled_by = ROOT }
						723 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_AAS } } }
		}
		icon = formable_nations_australasia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_AAS
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				285 = { add_core_of = ROOT }
				517 = { add_core_of = ROOT }
				518 = { add_core_of = ROOT }
				519 = { add_core_of = ROOT }
				520 = { add_core_of = ROOT }
				521 = { add_core_of = ROOT }
				522 = { add_core_of = ROOT }
				523 = { add_core_of = ROOT }
				634 = { add_core_of = ROOT }
				674 = { add_core_of = ROOT }
				737 = { add_core_of = ROOT }
				284 = { add_core_of = ROOT }
				723 = { add_core_of = ROOT }
			}
			635 = { add_core_of = ROOT }
			636 = { add_core_of = ROOT }
			734 = { add_core_of = ROOT }
			669 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_golden_circle = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			if = {
				limit = { has_dlc = "Man the Guns" }
				OR = {
					original_tag = CSA
					has_global_flag = no_limit
				}
			}
			else = {
				OR = {
					original_tag = USA
					original_tag = MEX
					has_global_flag = no_limit
				}
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_mexico_tt
						count_triggers = {
							amount = 12
							277 = { is_controlled_by = ROOT }
							474 = { is_controlled_by = ROOT }
							475 = { is_controlled_by = ROOT }
							476 = { is_controlled_by = ROOT }
							477 = { is_controlled_by = ROOT }
							478 = { is_controlled_by = ROOT }
							479 = { is_controlled_by = ROOT }
							480 = { is_controlled_by = ROOT }
							481 = { is_controlled_by = ROOT }
							482 = { is_controlled_by = ROOT }
							483 = { is_controlled_by = ROOT }
							484 = { is_controlled_by = ROOT }
							485 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 30
						311 = { is_controlled_by = ROOT }
						313 = { is_controlled_by = ROOT }
						314 = { is_controlled_by = ROOT }
						312 = { is_controlled_by = ROOT }
						317 = { is_controlled_by = ROOT }
						316 = { is_controlled_by = ROOT }
						685 = { is_controlled_by = ROOT }
						304 = { is_controlled_by = ROOT }
						361 = { is_controlled_by = ROOT }
						374 = { is_controlled_by = ROOT }
						369 = { is_controlled_by = ROOT }
						375 = { is_controlled_by = ROOT }
						371 = { is_controlled_by = ROOT }
						372 = { is_controlled_by = ROOT }
						370 = { is_controlled_by = ROOT }
						367 = { is_controlled_by = ROOT }
						368 = { is_controlled_by = ROOT }
						365 = { is_controlled_by = ROOT }
						366 = { is_controlled_by = ROOT }
						364 = { is_controlled_by = ROOT }
						363 = { is_controlled_by = ROOT }
						362 = { is_controlled_by = ROOT }
						315 = { is_controlled_by = ROOT }
						318 = { is_controlled_by = ROOT }
						689 = { is_controlled_by = ROOT }
						690 = { is_controlled_by = ROOT }
						693 = { is_controlled_by = ROOT }
						686 = { is_controlled_by = ROOT }
						694 = { is_controlled_by = ROOT }
						308 = { is_controlled_by = ROOT }
						692 = { is_controlled_by = ROOT }
						691 = { is_controlled_by = ROOT }
						695 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GOL } } }
		}
		icon = formable_nations_golden_circle
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GOL
			add_stability = 0.2
			set_capital = 315
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				361 = { add_core_of = ROOT }
				374 = { add_core_of = ROOT }
				369 = { add_core_of = ROOT }
				375 = { add_core_of = ROOT }
				371 = { add_core_of = ROOT }
				372 = { add_core_of = ROOT }
				370 = { add_core_of = ROOT }
				367 = { add_core_of = ROOT }
				368 = { add_core_of = ROOT }
				365 = { add_core_of = ROOT }
				366 = { add_core_of = ROOT }
				364 = { add_core_of = ROOT }
				363 = { add_core_of = ROOT }
				362 = { add_core_of = ROOT }
				277 = { add_core_of = ROOT }
				474 = { add_core_of = ROOT }
				475 = { add_core_of = ROOT }
				476 = { add_core_of = ROOT }
				477 = { add_core_of = ROOT }
				478 = { add_core_of = ROOT }
				479 = { add_core_of = ROOT }
				480 = { add_core_of = ROOT }
				481 = { add_core_of = ROOT }
				482 = { add_core_of = ROOT }
				483 = { add_core_of = ROOT }
				484 = { add_core_of = ROOT }
				485 = { add_core_of = ROOT }
				311 = { add_core_of = ROOT }
				313 = { add_core_of = ROOT }
				314 = { add_core_of = ROOT }
				312 = { add_core_of = ROOT }
				317 = { add_core_of = ROOT }
				316 = { add_core_of = ROOT }
				685 = { add_core_of = ROOT }
				304 = { add_core_of = ROOT }
				315 = { add_core_of = ROOT }
				318 = { add_core_of = ROOT }
				689 = { add_core_of = ROOT }
				690 = { add_core_of = ROOT }
				693 = { add_core_of = ROOT }
				686 = { add_core_of = ROOT }
				694 = { add_core_of = ROOT }
				308 = { add_core_of = ROOT }
				692 = { add_core_of = ROOT }
				691 = { add_core_of = ROOT }
				695 = { add_core_of = ROOT }
			}
			489 = { add_core_of = ROOT }
			493 = { add_core_of = ROOT }
			307 = { add_core_of = ROOT }

			
		}
	}
	formable_nations_maghreb = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = LBA
				original_tag = WES
				original_tag = MOR
				original_tag = ALG
				original_tag = TUN
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 15
						448 = { is_controlled_by = ROOT }
						661 = { is_controlled_by = ROOT }
						449 = { is_controlled_by = ROOT }
						662 = { is_controlled_by = ROOT }
						663 = { is_controlled_by = ROOT }
						450 = { is_controlled_by = ROOT }
						451 = { is_controlled_by = ROOT }
						458 = { is_controlled_by = ROOT }
						665 = { is_controlled_by = ROOT }
						459 = { is_controlled_by = ROOT }
						460 = { is_controlled_by = ROOT }
						513 = { is_controlled_by = ROOT }
						461 = { is_controlled_by = ROOT }
						462 = { is_controlled_by = ROOT }
						290 = { is_controlled_by = ROOT }
						699 = { is_controlled_by = ROOT }
						783 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MAG } } }
		}
		icon = formable_nations_maghreb
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MAG
			add_stability = 0.2
			set_capital = 461
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				448 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				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 }
				461 = { add_core_of = ROOT }
				462 = { add_core_of = ROOT }
				290 = { add_core_of = ROOT }
				699 = { add_core_of = ROOT }
				783 = { add_core_of = ROOT }
			}
			557 = { add_core_of = ROOT }
			514 = { add_core_of = ROOT }
			273 = { add_core_of = ROOT }
			699 = { add_core_of = ROOT }
			
		}
	}
	formable_nations_greater_canada = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = CAN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 16
						276 = { is_controlled_by = ROOT }
						464 = { is_controlled_by = ROOT }
						465 = { is_controlled_by = ROOT }
						466 = { is_controlled_by = ROOT }
						467 = { is_controlled_by = ROOT }
						468 = { is_controlled_by = ROOT }
						469 = { is_controlled_by = ROOT }
						470 = { is_controlled_by = ROOT }
						471 = { is_controlled_by = ROOT }
						472 = { is_controlled_by = ROOT }
						473 = { is_controlled_by = ROOT }
						682 = { is_controlled_by = ROOT }
						683 = { is_controlled_by = ROOT }
						739 = { is_controlled_by = ROOT }
						740 = { is_controlled_by = ROOT }
						357 = { is_controlled_by = ROOT }
						358 = { is_controlled_by = ROOT }
						463 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GCA } } }
		}
		icon = formable_nations_greater_canada
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GCA
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				276 = { add_core_of = ROOT }
				464 = { add_core_of = ROOT }
				465 = { add_core_of = ROOT }
				466 = { add_core_of = ROOT }
				467 = { add_core_of = ROOT }
				468 = { add_core_of = ROOT }
				469 = { add_core_of = ROOT }
				470 = { add_core_of = ROOT }
				471 = { add_core_of = ROOT }
				472 = { add_core_of = ROOT }
				473 = { add_core_of = ROOT }
				682 = { add_core_of = ROOT }
				683 = { add_core_of = ROOT }
				739 = { add_core_of = ROOT }
				740 = { add_core_of = ROOT }
				357 = { add_core_of = ROOT }
				358 = { add_core_of = ROOT }
				463 = { add_core_of = ROOT }
			}
			331 = { add_core_of = ROOT }
			332 = { add_core_of = ROOT }
		}
	}
	formable_nations_visegrad = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = POL
				original_tag = CZE
				original_tag = SLO
				original_tag = HUN
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 18
						10 = { is_controlled_by = ROOT }
						85 = { is_controlled_by = ROOT }
						86 = { is_controlled_by = ROOT }
						87 = { is_controlled_by = ROOT }
						88 = { is_controlled_by = ROOT }
						90 = { is_controlled_by = ROOT }
						92 = { is_controlled_by = ROOT }
						98 = { is_controlled_by = ROOT }
						9 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						72 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						74 = { is_controlled_by = ROOT }
						75 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_VIS } } }
		}
		icon = formable_nations_visegrad
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_VIS
			add_stability = 0.2
			set_capital = 43
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				10 = { add_core_of = ROOT }
				85 = { add_core_of = ROOT }
				86 = { add_core_of = ROOT }
				87 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				90 = { add_core_of = ROOT }
				92 = { add_core_of = ROOT }
				98 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				72 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
			}
			89 = { add_core_of = ROOT }
			91 = { add_core_of = ROOT }
			93 = { add_core_of = ROOT }
			94 = { add_core_of = ROOT }
			95 = { add_core_of = ROOT }
			96 = { add_core_of = ROOT }
			97 = { add_core_of = ROOT }
			76 = { add_core_of = ROOT }
		}
	}
	formable_nations_la_plata = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = BOL
				original_tag = ARG
				original_tag = URG
				original_tag = PAR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 10
						278 = { is_controlled_by = ROOT }
						508 = { is_controlled_by = ROOT }
						509 = { is_controlled_by = ROOT }
						510 = { is_controlled_by = ROOT }
						511 = { is_controlled_by = ROOT }
						512 = { is_controlled_by = ROOT }
						301 = { is_controlled_by = ROOT }
						688 = { is_controlled_by = ROOT }
						300 = { is_controlled_by = ROOT }
						302 = { is_controlled_by = ROOT }
						487 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_PLA } } }
		}
		icon = formable_nations_la_plata
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_PLA
			add_stability = 0.2
			set_capital = 278
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				278 = { add_core_of = ROOT }
				508 = { add_core_of = ROOT }
				509 = { add_core_of = ROOT }
				510 = { add_core_of = ROOT }
				511 = { add_core_of = ROOT }
				512 = { add_core_of = ROOT }
				301 = { add_core_of = ROOT }
				688 = { add_core_of = ROOT }
				300 = { add_core_of = ROOT }
				302 = { add_core_of = ROOT }
				487 = { add_core_of = ROOT }
			}
			506 = { add_core_of = ROOT }
			299 = { add_claim_by = ROOT }
			720 = { add_claim_by = ROOT }
		}
	}
	formable_nations_celtic_union = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = IRE
				original_tag = NIR
				original_tag = SCO
				original_tag = WLS
				original_tag = BRI
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 7
						113 = { is_controlled_by = ROOT }
						119 = { is_controlled_by = ROOT }
						134 = { is_controlled_by = ROOT }
						135 = { is_controlled_by = ROOT }
						120 = { is_controlled_by = ROOT }
						121 = { is_controlled_by = ROOT }
						133 = { is_controlled_by = ROOT }
						136 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CEL } } }
		}
		icon = formable_nations_celtic_union
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CEL
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				113 = { add_core_of = ROOT }
				119 = { add_core_of = ROOT }
				134 = { add_core_of = ROOT }
				135 = { add_core_of = ROOT }
				120 = { add_core_of = ROOT }
				121 = { add_core_of = ROOT }
				133 = { add_core_of = ROOT }
				136 = { add_core_of = ROOT }
			}
			122 = { add_core_of = ROOT }
			123 = { add_core_of = ROOT }
			14 = { add_core_of = ROOT }
		}
	}
	formable_nations_alpine_federation = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = AUS
				original_tag = SWI
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						3 = { is_controlled_by = ROOT }
						151 = { is_controlled_by = ROOT }
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ALP } } }
		}
		icon = formable_nations_alpine_federation
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ALP
			add_stability = 0.2
			set_capital = 4
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				3 = { add_core_of = ROOT }
				151 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
			}
			39 = { add_core_of = ROOT }
			52 = { add_core_of = ROOT }
		}
	}
	formable_nations_greater_croatia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = CRO
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 4
						103 = { is_controlled_by = ROOT }
						104 = { is_controlled_by = ROOT }
						804 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GCR } } }
		}
		icon = formable_nations_greater_croatia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GCR
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				103 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
			}
			163 = { add_core_of = ROOT }
			736 = { add_core_of = ROOT }
			102 = { add_claim_by = ROOT }
		}
	}
	formable_nations_greater_serbia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = SER
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 7
						45 = { is_controlled_by = ROOT }
						764 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						106 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GSE } } }
		}
		icon = formable_nations_greater_serbia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GSE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				45 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				106 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
			}
			104 = { add_claim_by = ROOT }
		}
	}
	formable_nations_greater_lithuania = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = LIT
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 11
						11 = { is_controlled_by = ROOT }
						189 = { is_controlled_by = ROOT }
						784 = { is_controlled_by = ROOT }
						94 = { is_controlled_by = ROOT }
						95 = { is_controlled_by = ROOT }
						96 = { is_controlled_by = ROOT }
						97 = { is_controlled_by = ROOT }
						194 = { is_controlled_by = ROOT }
						204 = { is_controlled_by = ROOT }
						206 = { is_controlled_by = ROOT }
						207 = { is_controlled_by = ROOT }
						241 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GLI } } }
		}
		icon = formable_nations_greater_lithuania
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GLI
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				94 = { add_core_of = ROOT }
				95 = { add_core_of = ROOT }
				96 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_chile_argentina = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = CHL
				original_tag = ARG
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 8
						507 = { is_controlled_by = ROOT }
						279 = { is_controlled_by = ROOT }
						506 = { is_controlled_by = ROOT }
						512 = { is_controlled_by = ROOT }
						511 = { is_controlled_by = ROOT }
						508 = { is_controlled_by = ROOT }
						509 = { is_controlled_by = ROOT }
						510 = { is_controlled_by = ROOT }
						278 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CHG } } }
		}
		icon = formable_nations_chile_argentina
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CHG
			add_stability = 0.2
			set_capital = 278
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				507 = { add_core_of = ROOT }
				279 = { add_core_of = ROOT }
				506 = { add_core_of = ROOT }
				512 = { add_core_of = ROOT }
				511 = { add_core_of = ROOT }
				508 = { add_core_of = ROOT }
				509 = { add_core_of = ROOT }
				510 = { add_core_of = ROOT }
				278 = { add_core_of = ROOT }
			}
			299 = { add_claim_by = ROOT }
			720 = { add_claim_by = ROOT }
		}
	}
	formable_nations_assyria = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = IRQ
				original_tag = SYR
				original_tag = KUR
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 7
						291 = { is_controlled_by = ROOT }
						675 = { is_controlled_by = ROOT }
						676 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ASS } } }
		}
		icon = formable_nations_assyria
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ASS
			add_stability = 0.2
			set_capital = 291
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				291 = { add_core_of = ROOT }
				675 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
			}
			656 = { add_core_of = ROOT }
			454 = { add_core_of = ROOT }
			455 = { add_core_of = ROOT }
			344 = { add_core_of = ROOT }
			350 = { add_core_of = ROOT }
		}
	}
	formable_nations_carpathia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = HUN
				original_tag = SLO
				original_tag = ROM
				original_tag = MOL
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 15
						43 = { is_controlled_by = ROOT }
						154 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
						76 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						81 = { is_controlled_by = ROOT }
						46 = { is_controlled_by = ROOT }
						79 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						73 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CAP } } }
		}
		icon = formable_nations_carpathia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CAP
			add_stability = 0.2
			set_capital = 43
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				43 = { add_core_of = ROOT }
				154 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				81 = { add_core_of = ROOT }
				46 = { add_core_of = ROOT }
				79 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				73 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
			}
				45 = { add_core_of = ROOT }
				764 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				78 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				89 = { add_core_of = ROOT }
				45 = { add_core_of = ROOT }
		}
	}
	formable_nations_great_britain = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = ENG
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 17
						113 = { is_controlled_by = ROOT }
						134 = { is_controlled_by = ROOT }
						135 = { is_controlled_by = ROOT }
						119 = { is_controlled_by = ROOT }
						120 = { is_controlled_by = ROOT }
						121 = { is_controlled_by = ROOT }
						133 = { is_controlled_by = ROOT }
						136 = { is_controlled_by = ROOT }
						131 = { is_controlled_by = ROOT }
						130 = { is_controlled_by = ROOT }
						132 = { is_controlled_by = ROOT }
						128 = { is_controlled_by = ROOT }
						122 = { is_controlled_by = ROOT }
						129 = { is_controlled_by = ROOT }
						125 = { is_controlled_by = ROOT }
						338 = { is_controlled_by = ROOT }
						123 = { is_controlled_by = ROOT }
						127 = { is_controlled_by = ROOT }
						126 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BRI } } }
		}
		icon = formable_nations_great_britain
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BRI
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				113 = { add_core_of = ROOT }
				134 = { add_core_of = ROOT }
				135 = { add_core_of = ROOT }
				119 = { add_core_of = ROOT }
				120 = { add_core_of = ROOT }
				121 = { add_core_of = ROOT }
				133 = { add_core_of = ROOT }
				136 = { add_core_of = ROOT }
				131 = { add_core_of = ROOT }
				130 = { add_core_of = ROOT }
				132 = { add_core_of = ROOT }
				128 = { add_core_of = ROOT }
				122 = { add_core_of = ROOT }
				129 = { add_core_of = ROOT }
				125 = { add_core_of = ROOT }
				338 = { add_core_of = ROOT }
				123 = { add_core_of = ROOT }
				127 = { add_core_of = ROOT }
				126 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_greater_russia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = SOV
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_siberia_tt
						count_triggers = {
							amount = 98
							40 = { is_controlled_by = ROOT }
							137 = { is_controlled_by = ROOT }
							192 = { is_controlled_by = ROOT }
							193 = { is_controlled_by = ROOT }
							194 = { is_controlled_by = ROOT }
							195 = { is_controlled_by = ROOT }
							196 = { is_controlled_by = ROOT }
							197	= { is_controlled_by = ROOT }
							198 = { is_controlled_by = ROOT }
							199 = { is_controlled_by = ROOT }
							200 = { is_controlled_by = ROOT }
							201 = { is_controlled_by = ROOT }
							202 = { is_controlled_by = ROOT }
							203 = { is_controlled_by = ROOT }
							204 = { is_controlled_by = ROOT }
							205 = { is_controlled_by = ROOT }
							206 = { is_controlled_by = ROOT }
							207 = { is_controlled_by = ROOT }
							208 = { is_controlled_by = ROOT }
							209 = { is_controlled_by = ROOT }
							210 = { is_controlled_by = ROOT }
							217 = { is_controlled_by = ROOT }
							218 = { is_controlled_by = ROOT }
							219 = { is_controlled_by = ROOT }
							220 = { is_controlled_by = ROOT }
							221 = { is_controlled_by = ROOT }
							222 = { is_controlled_by = ROOT }
							223 = { is_controlled_by = ROOT }
							224 = { is_controlled_by = ROOT }
							225 = { is_controlled_by = ROOT }
							226 = { is_controlled_by = ROOT }
							227 = { is_controlled_by = ROOT }
							228 = { is_controlled_by = ROOT }
							232 = { is_controlled_by = ROOT }
							233 = { is_controlled_by = ROOT }
							234 = { is_controlled_by = ROOT }
							235 = { is_controlled_by = ROOT }
							236 = { is_controlled_by = ROOT }
							237 = { is_controlled_by = ROOT }
							238 = { is_controlled_by = ROOT }
							239 = { is_controlled_by = ROOT }
							240 = { is_controlled_by = ROOT }
							241 = { is_controlled_by = ROOT }
							242 = { is_controlled_by = ROOT }
							243 = { is_controlled_by = ROOT }
							244 = { is_controlled_by = ROOT }
							245 = { is_controlled_by = ROOT }
							246 = { is_controlled_by = ROOT }
							247 = { is_controlled_by = ROOT }
							248 = { is_controlled_by = ROOT }
							249 = { is_controlled_by = ROOT }
							250 = { is_controlled_by = ROOT }
							251 = { is_controlled_by = ROOT }
							252 = { is_controlled_by = ROOT }
							253 = { is_controlled_by = ROOT }
							254 = { is_controlled_by = ROOT }
							255 = { is_controlled_by = ROOT }
							256 = { is_controlled_by = ROOT }
							257 = { is_controlled_by = ROOT }
							258 = { is_controlled_by = ROOT }
							259 = { is_controlled_by = ROOT }
							260 = { is_controlled_by = ROOT }
							263 = { is_controlled_by = ROOT }
							264 = { is_controlled_by = ROOT }
							265 = { is_controlled_by = ROOT }
							351 = { is_controlled_by = ROOT }
							398 = { is_controlled_by = ROOT }
							399 = { is_controlled_by = ROOT }
							400 = { is_controlled_by = ROOT }
							401 = { is_controlled_by = ROOT }
							402 = { is_controlled_by = ROOT }
							403 = { is_controlled_by = ROOT }
							404 = { is_controlled_by = ROOT }
							405 = { is_controlled_by = ROOT }
							406 = { is_controlled_by = ROOT }
							407 = { is_controlled_by = ROOT }
							408 = { is_controlled_by = ROOT }
							409 = { is_controlled_by = ROOT }
							560 = { is_controlled_by = ROOT }
							561 = { is_controlled_by = ROOT }
							563 = { is_controlled_by = ROOT }
							564 = { is_controlled_by = ROOT }
							565 = { is_controlled_by = ROOT }
							566 = { is_controlled_by = ROOT }
							567 = { is_controlled_by = ROOT }
							568 = { is_controlled_by = ROOT }
							569 = { is_controlled_by = ROOT }
							570 = { is_controlled_by = ROOT }
							571 = { is_controlled_by = ROOT }
							572 = { is_controlled_by = ROOT }
							573 = { is_controlled_by = ROOT }
							578 = { is_controlled_by = ROOT }
							582 = { is_controlled_by = ROOT }
							583 = { is_controlled_by = ROOT }
							584 = { is_controlled_by = ROOT }
							585 = { is_controlled_by = ROOT }
							586 = { is_controlled_by = ROOT }
							587 = { is_controlled_by = ROOT }
							588 = { is_controlled_by = ROOT }
							589 = { is_controlled_by = ROOT }
							590 = { is_controlled_by = ROOT }
							651 = { is_controlled_by = ROOT }
							652 = { is_controlled_by = ROOT }
							653 = { is_controlled_by = ROOT }
							654 = { is_controlled_by = ROOT }
							655 = { is_controlled_by = ROOT }
							657 = { is_controlled_by = ROOT }
							732 = { is_controlled_by = ROOT }
							742 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 29
						11 = { is_controlled_by = ROOT }
						189 = { is_controlled_by = ROOT }
						12 = { is_controlled_by = ROOT }
						190 = { is_controlled_by = ROOT }
						13 = { is_controlled_by = ROOT }
						191 = { is_controlled_by = ROOT }
						784 = { is_controlled_by = ROOT }
						329 = { is_controlled_by = ROOT }
						111 = { is_controlled_by = ROOT }
						145 = { is_controlled_by = ROOT }
						146 = { is_controlled_by = ROOT }
						147 = { is_controlled_by = ROOT }
						148 = { is_controlled_by = ROOT }
						149 = { is_controlled_by = ROOT }
						150 = { is_controlled_by = ROOT }
						722 = { is_controlled_by = ROOT }
						93 = { is_controlled_by = ROOT }
						94 = { is_controlled_by = ROOT }
						95 = { is_controlled_by = ROOT }
						96 = { is_controlled_by = ROOT }
						97 = { is_controlled_by = ROOT }
						98 = { is_controlled_by = ROOT }
						87 = { is_controlled_by = ROOT }
						90 = { is_controlled_by = ROOT }
						92 = { is_controlled_by = ROOT }
						10 = { is_controlled_by = ROOT }
						88 = { is_controlled_by = ROOT }
						89 = { is_controlled_by = ROOT }
						91 = { is_controlled_by = ROOT }
						78 = { is_controlled_by = ROOT }
						766 = { is_controlled_by = ROOT }
						80 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_RUE } } }
		}
		icon = formable_nations_greater_russia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_RUE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				40 = { add_core_of = ROOT }
				137 = { add_core_of = ROOT }
				192 = { add_core_of = ROOT }
				193 = { add_core_of = ROOT }
				194 = { add_core_of = ROOT }
				195 = { add_core_of = ROOT }
				196 = { add_core_of = ROOT }
				197	= { add_core_of = ROOT }
				766 = { add_core_of = ROOT }
				198 = { add_core_of = ROOT }
				199 = { add_core_of = ROOT }
				200 = { add_core_of = ROOT }
				201 = { add_core_of = ROOT }
				202 = { add_core_of = ROOT }
				203 = { add_core_of = ROOT }
				204 = { add_core_of = ROOT }
				205 = { add_core_of = ROOT }
				206 = { add_core_of = ROOT }
				207 = { add_core_of = ROOT }
				208 = { add_core_of = ROOT }
				209 = { add_core_of = ROOT }
				210 = { add_core_of = ROOT }
				217 = { add_core_of = ROOT }
				218 = { add_core_of = ROOT }
				219 = { add_core_of = ROOT }
				220 = { add_core_of = ROOT }
				221 = { add_core_of = ROOT }
				222 = { add_core_of = ROOT }
				223 = { add_core_of = ROOT }
				224 = { add_core_of = ROOT }
				225 = { add_core_of = ROOT }
				226 = { add_core_of = ROOT }
				227 = { add_core_of = ROOT }
				228 = { add_core_of = ROOT }
				232 = { add_core_of = ROOT }
				233 = { add_core_of = ROOT }
				234 = { add_core_of = ROOT }
				235 = { add_core_of = ROOT }
				236 = { add_core_of = ROOT }
				237 = { add_core_of = ROOT }
				238 = { add_core_of = ROOT }
				239 = { add_core_of = ROOT }
				240 = { add_core_of = ROOT }
				241 = { add_core_of = ROOT }
				242 = { add_core_of = ROOT }
				243 = { add_core_of = ROOT }
				244 = { add_core_of = ROOT }
				245 = { add_core_of = ROOT }
				246 = { add_core_of = ROOT }
				247 = { add_core_of = ROOT }
				248 = { add_core_of = ROOT }
				249 = { add_core_of = ROOT }
				250 = { add_core_of = ROOT }
				251 = { add_core_of = ROOT }
				252 = { add_core_of = ROOT }
				253 = { add_core_of = ROOT }
				254 = { add_core_of = ROOT }
				255 = { add_core_of = ROOT }
				256 = { add_core_of = ROOT }
				257 = { add_core_of = ROOT }
				258 = { add_core_of = ROOT }
				259 = { add_core_of = ROOT }
				260 = { add_core_of = ROOT }
				263 = { add_core_of = ROOT }
				264 = { add_core_of = ROOT }
				265 = { add_core_of = ROOT }
				351 = { add_core_of = ROOT }
				398 = { add_core_of = ROOT }
				399 = { add_core_of = ROOT }
				400 = { add_core_of = ROOT }
				401 = { add_core_of = ROOT }
				402 = { add_core_of = ROOT }
				403 = { add_core_of = ROOT }
				404 = { add_core_of = ROOT }
				405 = { add_core_of = ROOT }
				406 = { add_core_of = ROOT }
				407 = { add_core_of = ROOT }
				408 = { add_core_of = ROOT }
				409 = { add_core_of = ROOT }
				560 = { add_core_of = ROOT }
				561 = { add_core_of = ROOT }
				563 = { add_core_of = ROOT }
				564 = { add_core_of = ROOT }
				565 = { add_core_of = ROOT }
				566 = { add_core_of = ROOT }
				567 = { add_core_of = ROOT }
				568 = { add_core_of = ROOT }
				569 = { add_core_of = ROOT }
				570 = { add_core_of = ROOT }
				571 = { add_core_of = ROOT }
				572 = { add_core_of = ROOT }
				573 = { add_core_of = ROOT }
				578 = { add_core_of = ROOT }
				582 = { add_core_of = ROOT }
				583 = { add_core_of = ROOT }
				584 = { add_core_of = ROOT }
				585 = { 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 }
				651 = { add_core_of = ROOT }
				652 = { add_core_of = ROOT }
				653 = { add_core_of = ROOT }
				654 = { add_core_of = ROOT }
				655 = { add_core_of = ROOT }
				657 = { add_core_of = ROOT }
				732 = { add_core_of = ROOT }
				742 = { add_core_of = ROOT }
				11 = { add_core_of = ROOT }
				189 = { add_core_of = ROOT }
				12 = { add_core_of = ROOT }
				190 = { add_core_of = ROOT }
				13 = { add_core_of = ROOT }
				191 = { add_core_of = ROOT }
				329 = { add_core_of = ROOT }
				111 = { add_core_of = ROOT }
				145 = { add_core_of = ROOT }
				146 = { add_core_of = ROOT }
				147 = { add_core_of = ROOT }
				148 = { add_core_of = ROOT }
				149 = { add_core_of = ROOT }
				150 = { add_core_of = ROOT }
				722 = { add_core_of = ROOT }
				93 = { add_core_of = ROOT }
				94 = { add_core_of = ROOT }
				95 = { add_core_of = ROOT }
				96 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				98 = { add_core_of = ROOT }
				87 = { add_core_of = ROOT }
				90 = { add_core_of = ROOT }
				92 = { add_core_of = ROOT }
				10 = { add_core_of = ROOT }
				88 = { add_core_of = ROOT }
				89 = { add_core_of = ROOT }
				91 = { add_core_of = ROOT }
				78 = { add_core_of = ROOT }
				80 = { add_core_of = ROOT }
				784 = { add_core_of = ROOT }
			}
			537 = { add_core_of = ROOT }
			463 = { add_core_of = ROOT }
			#341 = { add_claim_by = ROOT }
			797 = { add_claim_by = ROOT }
			287 = { add_claim_by = ROOT }
			617 = { add_claim_by = ROOT }
			618 = { add_claim_by = ROOT }
			619 = { add_claim_by = ROOT }
			759 = { add_claim_by = ROOT }
			760 = { add_claim_by = ROOT }
			330 = { add_claim_by = ROOT }
			328 = { add_claim_by = ROOT }
			610 = { add_claim_by = ROOT }
			714 = { add_claim_by = ROOT }
			715 = { add_claim_by = ROOT }
			716 = { add_claim_by = ROOT }
			717 = { add_claim_by = ROOT }
			761 = { add_claim_by = ROOT }
			611 = { add_claim_by = ROOT }
			612 = { add_claim_by = ROOT }
			745 = { add_claim_by = ROOT }
		}
	}
	formable_nations_carthage = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = TUN
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 14
						458 = { is_controlled_by = ROOT }
						665 = { is_controlled_by = ROOT }
						459 = { is_controlled_by = ROOT }
						460 = { is_controlled_by = ROOT }
						290 = { is_controlled_by = ROOT }
						461 = { is_controlled_by = ROOT }
						118 = { is_controlled_by = ROOT }
						168 = { is_controlled_by = ROOT }
						169 = { is_controlled_by = ROOT }
						173 = { is_controlled_by = ROOT }
						177 = { is_controlled_by = ROOT }
						115 = { is_controlled_by = ROOT }
						116 = { is_controlled_by = ROOT }
						448 = { is_controlled_by = ROOT }
						449 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_CAR } } }
		}
		icon = formable_nations_carthage
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_CAR
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				458 = { add_core_of = ROOT }
				665 = { add_core_of = ROOT }
				459 = { add_core_of = ROOT }
				460 = { add_core_of = ROOT }
				290 = { add_core_of = ROOT }
				461 = { add_core_of = ROOT }
				118 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				116 = { add_core_of = ROOT }
				448 = { add_core_of = ROOT }
				449 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
			}
			513 = { add_core_of = ROOT }
			661 = { add_core_of = ROOT }
			662 = { add_core_of = ROOT }
			114 = { add_core_of = ROOT }
			167 = { add_core_of = ROOT }
			1 = { add_core_of = ROOT }
			175 = { add_core_of = ROOT }
		}
	}
	formable_nations_east_africa = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = TZN
				original_tag = KEN
				original_tag = UGA
				original_tag = RWA
				original_tag = BRD
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						546 = { is_controlled_by = ROOT }
						547 = { is_controlled_by = ROOT }
						548 = { is_controlled_by = ROOT }
						768 = { is_controlled_by = ROOT }
						769 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_EAF } } }
		}
		icon = formable_nations_east_africa
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_EAF
			add_stability = 0.2
			set_capital = 546
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				546 = { add_core_of = ROOT }
				547 = { add_core_of = ROOT }
				548 = { add_core_of = ROOT }
				768 = { add_core_of = ROOT }
				769 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_mali_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = MLI
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						556 = { is_controlled_by = ROOT }
						782 = { is_controlled_by = ROOT }
						786 = { is_controlled_by = ROOT }
						557 = { is_controlled_by = ROOT }
						272 = { is_controlled_by = ROOT }
						701 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MAE } } }
		}
		icon = formable_nations_mali_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MAE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				556 = { add_core_of = ROOT }
				782 = { add_core_of = ROOT }
				786 = { add_core_of = ROOT }
				557 = { add_core_of = ROOT }
				272 = { add_core_of = ROOT }
				701 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_sahel = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = MRT
				original_tag = MLI
				original_tag = NGR
				original_tag = CHA
				original_tag = SUD
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 10
						557 = { is_controlled_by = ROOT }
						786 = { is_controlled_by = ROOT }
						556 = { is_controlled_by = ROOT }
						782 = { is_controlled_by = ROOT }
						515 = { is_controlled_by = ROOT }
						781 = { is_controlled_by = ROOT }
						774 = { is_controlled_by = ROOT }
						775 = { is_controlled_by = ROOT }
						549 = { is_controlled_by = ROOT }
						551 = { is_controlled_by = ROOT }
						767 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_SAH } } }
		}
		icon = formable_nations_sahel
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_SAH
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				557 = { add_core_of = ROOT }
				786 = { add_core_of = ROOT }
				556 = { add_core_of = ROOT }
				782 = { add_core_of = ROOT }
				515 = { add_core_of = ROOT }
				781 = { add_core_of = ROOT }
				774 = { add_core_of = ROOT }
				775 = { add_core_of = ROOT }
				549 = { add_core_of = ROOT }
				551 = { add_core_of = ROOT }
				767 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_levant = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = SYR
				original_tag = LEB
				original_tag = PAL
				original_tag = JOR
				original_tag = ISR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 6
						454 = { is_controlled_by = ROOT }
						455 = { is_controlled_by = ROOT }
						553 = { is_controlled_by = ROOT }
						554 = { is_controlled_by = ROOT }
						677 = { is_controlled_by = ROOT }
						799 = { is_controlled_by = ROOT }
						680 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_LEV } } }
		}
		icon = formable_nations_levant
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_LEV
			add_stability = 0.2
			set_capital = 554
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
			}
			183 = { add_claim_by = ROOT }
		}
	}
	formable_nations_greater_korea = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = KOR
				has_global_flag = no_limit
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 5
						525 = { is_controlled_by = ROOT }
						527 = { is_controlled_by = ROOT }
						328 = { is_controlled_by = ROOT }
						716 = { is_controlled_by = ROOT }
						717 = { is_controlled_by = ROOT }
						745 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GKO } } }
		}
		icon = formable_nations_greater_korea
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GKO
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				525 = { add_core_of = ROOT }
				527 = { add_core_of = ROOT }
				328 = { add_core_of = ROOT }
				716 = { add_core_of = ROOT }
				717 = { add_core_of = ROOT }
				745 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_middle_east = {#continent
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				capital_scope = { is_on_continent = middle_east }
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					all_state = {
						OR = {
							AND = {
								is_on_continent = middle_east
								NOT = {
									OR = {
										state = 229
										state = 230
										state = 231
										state = 164
									}
								}
								is_controlled_by = ROOT
							}
							NOT = { is_on_continent = middle_east }
							state = 229
							state = 230
							state = 231
							state = 164
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_MID } } }
		}
		icon = formable_nations_middle_east
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_MID
			add_stability = 0.2
			set_capital = 291
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				every_state = {
					limit = { 
						is_on_continent = middle_east
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
		}
	}
	formable_nations_greater_japan = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = JAP
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_japan_tt
						count_triggers = {
							amount = 9
							528 = { is_controlled_by = ROOT }
							530 = { is_controlled_by = ROOT }
							529 = { is_controlled_by = ROOT }
							531 = { is_controlled_by = ROOT }
							532 = { is_controlled_by = ROOT }
							535 = { is_controlled_by = ROOT }
							282 = { is_controlled_by = ROOT }
							534 = { is_controlled_by = ROOT }
							533 = { is_controlled_by = ROOT }
							536 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 19
						555 = { is_controlled_by = ROOT }
						537 = { is_controlled_by = ROOT }
						655 = { is_controlled_by = ROOT }
						526 = { is_controlled_by = ROOT }
						525 = { is_controlled_by = ROOT }
						527 = { is_controlled_by = ROOT }
						524 = { is_controlled_by = ROOT }
						645 = { is_controlled_by = ROOT }
						761 = { is_controlled_by = ROOT }
						714 = { is_controlled_by = ROOT }
						610 = { is_controlled_by = ROOT }
						328 = { is_controlled_by = ROOT }
						715 = { is_controlled_by = ROOT }
						716 = { is_controlled_by = ROOT }
						717 = { is_controlled_by = ROOT }
						745 = { is_controlled_by = ROOT }
						609 = { is_controlled_by = ROOT }
						408 = { is_controlled_by = ROOT }
						409 = { is_controlled_by = ROOT }
						611 = { is_controlled_by = ROOT }
						612 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GJA } } }
		}
		icon = formable_nations_greater_japan
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GJA
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_availabl
				528 = { add_core_of = ROOT }
				530 = { add_core_of = ROOT }
				529 = { add_core_of = ROOT }
				531 = { add_core_of = ROOT }
				532 = { add_core_of = ROOT }
				535 = { add_core_of = ROOT }
				282 = { add_core_of = ROOT }
				534 = { add_core_of = ROOT }
				533 = { add_core_of = ROOT }
				536 = { add_core_of = ROOT }
				555 = { add_core_of = ROOT }
				537 = { add_core_of = ROOT }
				655 = { add_core_of = ROOT }
				526 = { add_core_of = ROOT }
				525 = { add_core_of = ROOT }
				527 = { add_core_of = ROOT }
				524 = { add_core_of = ROOT }
				645 = { add_core_of = ROOT }
				761 = { add_core_of = ROOT }
				714 = { add_core_of = ROOT }
				610 = { add_core_of = ROOT }
				328 = { add_core_of = ROOT }
				715 = { add_core_of = ROOT }
				716 = { add_core_of = ROOT }
				717 = { add_core_of = ROOT }
				745 = { add_core_of = ROOT }
				609 = { add_core_of = ROOT }
				408 = { add_core_of = ROOT }
				409 = { add_core_of = ROOT }
				611 = { add_core_of = ROOT }
				612 = { add_core_of = ROOT }
			}
			608 = { add_core_of = ROOT }
			614 = { add_core_of = ROOT }
			597 = { add_core_of = ROOT }
			743 = { add_core_of = ROOT }
			598 = { add_core_of = ROOT }
			613 = { add_core_of = ROOT }
		}
	}
	formable_nations_khmer_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = CAM
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 3
						741 = { is_controlled_by = ROOT }
						289 = { is_controlled_by = ROOT }
						670 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_KHM } } }
		}
		icon = formable_nations_khmer_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_KHM
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				741 = { add_core_of = ROOT }
				289 = { add_core_of = ROOT }
				670 = { add_core_of = ROOT }
			}
			724 = { add_claim_by = ROOT }
			286 = { add_claim_by = ROOT }
		}
	}
	formable_nations_bengal_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = BAN
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 4
						430 = { is_controlled_by = ROOT }
						432 = { is_controlled_by = ROOT }
						431 = { is_controlled_by = ROOT }
						435 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BEE } } }
		}
		icon = formable_nations_bengal_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BEE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				430 = { add_core_of = ROOT }
				432 = { add_core_of = ROOT }
				431 = { add_core_of = ROOT }
				435 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_guyanas = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = GYA
				original_tag = SUR
				original_tag = CAY
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 3
						309 = { is_controlled_by = ROOT }
						310 = { is_controlled_by = ROOT }
						687 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_GUY } } }
		}
		icon = formable_nations_guyanas
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_GUY
			add_stability = 0.2
			set_capital = 687
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				309 = { add_core_of = ROOT }
				310 = { add_core_of = ROOT }
				687 = { add_core_of = ROOT }
			}
			488 = { add_core_of = ROOT }
		}
	}
	formable_nations_andes = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = COL
				original_tag = ECU
				original_tag = PRU
				original_tag = BOL
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }

					count_triggers = {
						amount = 10
						306 = { is_controlled_by = ROOT }
						493 = { is_controlled_by = ROOT }
						486 = { is_controlled_by = ROOT }
						305 = { is_controlled_by = ROOT }
						492 = { is_controlled_by = ROOT }
						303 = { is_controlled_by = ROOT }
						491 = { is_controlled_by = ROOT }
						490 = { is_controlled_by = ROOT }
						494 = { is_controlled_by = ROOT }
						302 = { is_controlled_by = ROOT }
						487 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_AND } } }
		}
		icon = formable_nations_andes
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_AND
			add_stability = 0.2
			set_capital = 303
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				306 = { add_core_of = ROOT }
				493 = { add_core_of = ROOT }
				486 = { add_core_of = ROOT }
				305 = { add_core_of = ROOT }
				492 = { add_core_of = ROOT }
				303 = { add_core_of = ROOT }
				491 = { add_core_of = ROOT }
				490 = { add_core_of = ROOT }
				494 = { add_core_of = ROOT }
				302 = { add_core_of = ROOT }
				487 = { add_core_of = ROOT }
			}
			307 = { add_core_of = ROOT }
			489 = { add_core_of = ROOT }
			508 = { add_core_of = ROOT }
			506 = { add_core_of = ROOT }
			649 = { add_core_of = ROOT }
		}
	}
	formable_nations_zapadoslavia = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = POL
				original_tag = SLO
				original_tag = CZE
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 18
						88 = { is_controlled_by = ROOT }
						92 = { is_controlled_by = ROOT }
						97 = { is_controlled_by = ROOT }
						90 = { is_controlled_by = ROOT }
						10 = { is_controlled_by = ROOT }
						87 = { is_controlled_by = ROOT }
						85 = { is_controlled_by = ROOT }
						86 = { is_controlled_by = ROOT }
						98 = { is_controlled_by = ROOT }
						762 = { is_controlled_by = ROOT }
						70 = { is_controlled_by = ROOT }
						71 = { is_controlled_by = ROOT }
						664 = { is_controlled_by = ROOT }
						9 = { is_controlled_by = ROOT }
						66 = { is_controlled_by = ROOT }
						67 = { is_controlled_by = ROOT }
						69 = { is_controlled_by = ROOT }
						72 = { is_controlled_by = ROOT }
						74 = { is_controlled_by = ROOT }
						75 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ZAP } } }
		}
		icon = formable_nations_zapadoslavia
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ZAP
			add_stability = 0.2
			set_capital = 88
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				88 = { add_core_of = ROOT }
				92 = { add_core_of = ROOT }
				97 = { add_core_of = ROOT }
				90 = { add_core_of = ROOT }
				10 = { add_core_of = ROOT }
				87 = { add_core_of = ROOT }
				85 = { add_core_of = ROOT }
				86 = { add_core_of = ROOT }
				98 = { add_core_of = ROOT }
				762 = { add_core_of = ROOT }
				70 = { add_core_of = ROOT }
				71 = { add_core_of = ROOT }
				664 = { add_core_of = ROOT }
				9 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				69 = { add_core_of = ROOT }
				72 = { add_core_of = ROOT }
				74 = { add_core_of = ROOT }
				75 = { add_core_of = ROOT }
			}
			5 = { add_core_of = ROOT }
			73 = { add_core_of = ROOT }
		}
	}
	formable_nations_south_german_federation = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = AUS
				original_tag = BAY
				original_tag = WUR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 7
						52 = { is_controlled_by = ROOT }
						53 = { is_controlled_by = ROOT }
						54 = { is_controlled_by = ROOT }
						50 = { is_controlled_by = ROOT }
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
						39 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_SGF } } }
		}
		icon = formable_nations_south_german_federation
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_SGF
			add_stability = 0.2
			set_capital = 52
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				52 = { add_core_of = ROOT }
				53 = { add_core_of = ROOT }
				54 = { add_core_of = ROOT }
				50 = { add_core_of = ROOT }
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_north_german_federation = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = PRE
				original_tag = HAN
				original_tag = MEK
				original_tag = SAX
				original_tag = SHL
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					count_triggers = {
						amount = 16
						64 = { is_controlled_by = ROOT }
						5 = { is_controlled_by = ROOT }
						59 = { is_controlled_by = ROOT }
						55 = { is_controlled_by = ROOT }
						63 = { is_controlled_by = ROOT }
						763 = { is_controlled_by = ROOT }
						61 = { is_controlled_by = ROOT }
						42 = { is_controlled_by = ROOT }
						66 = { is_controlled_by = ROOT }
						67 = { is_controlled_by = ROOT }
						68 = { is_controlled_by = ROOT }
						51 = { is_controlled_by = ROOT }
						65 = { is_controlled_by = ROOT }
						58 = { is_controlled_by = ROOT }
						60 = { is_controlled_by = ROOT }
						62 = { is_controlled_by = ROOT }
						56 = { is_controlled_by = ROOT }
						57 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_NGF } } }
		}
		icon = formable_nations_north_german_federation
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_NGF
			add_stability = 0.2
			set_capital = 64
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				64 = { add_core_of = ROOT }
				5 = { add_core_of = ROOT }
				59 = { add_core_of = ROOT }
				55 = { add_core_of = ROOT }
				63 = { add_core_of = ROOT }
				763 = { add_core_of = ROOT }
				61 = { add_core_of = ROOT }
				42 = { add_core_of = ROOT }
				66 = { add_core_of = ROOT }
				67 = { add_core_of = ROOT }
				68 = { add_core_of = ROOT }
				51 = { add_core_of = ROOT }
				65 = { add_core_of = ROOT }
				58 = { add_core_of = ROOT }
				60 = { add_core_of = ROOT }
				62 = { add_core_of = ROOT }
				56 = { add_core_of = ROOT }
				57 = { add_core_of = ROOT }
			}
			85 = { add_core_of = ROOT }
			86 = { add_core_of = ROOT }
			762 = { add_core_of = ROOT }
		}
	}
	formable_nations_germany = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_global_flag = hide_formable_nations }
			OR = { 
				has_global_flag = no_limit
				original_tag = PRE
				original_tag = HAN
				original_tag = MEK
				original_tag = SAX
				original_tag = SHL
				original_tag = AUS
				original_tag = BAY
				original_tag = WUR
			}
			OR = {
				has_cosmetic_tag = FORM_NGF
				has_cosmetic_tag = FORM_SGF
			}
		}
		available = {
			has_war = no
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_germany_tt
						count_triggers = {
							amount = 19
							5 = { is_controlled_by = ROOT }
							42 = { is_controlled_by = ROOT }
							50 = { is_controlled_by = ROOT }
							51 = { is_controlled_by = ROOT }
							52 = { is_controlled_by = ROOT }
							53 = { is_controlled_by = ROOT }
							54 = { is_controlled_by = ROOT }
							55 = { is_controlled_by = ROOT }
							56 = { is_controlled_by = ROOT }
							57 = { is_controlled_by = ROOT }
							58 = { is_controlled_by = ROOT }
							59 = { is_controlled_by = ROOT }
							60 = { is_controlled_by = ROOT }
							61 = { is_controlled_by = ROOT }
							62 = { is_controlled_by = ROOT }
							63 = { is_controlled_by = ROOT }
							64 = { is_controlled_by = ROOT }
							65 = { is_controlled_by = ROOT }
							66 = { is_controlled_by = ROOT }
							67 = { is_controlled_by = ROOT }
							68 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = GER } } NOT = { country_exists = GER } }
		}
		icon = formable_nations_germany
		complete_effect = {
			set_cosmetic_tag = GER
			add_stability = 0.2
			set_capital = 64
			hidden_effect = { sound_effect = complete_focus
				if = {
					limit = {
						has_government = fascism
					}
					GER = {
						set_politics = {
							ruling_party = fascism
							elections_allowed = no
						}
						set_popularities = {
							democratic = 10
							neutrality = 10
							fascism = 70
							communism = 10
						}
					}
				}
				else_if = {
					limit = {
						has_government = communism
					}
					GER = {
						set_politics = {
							ruling_party = communism
							elections_allowed = no
						}
						set_popularities = {
							democratic = 10
							neutrality = 10
							fascism = 10
							communism = 70
						}
					}
				}
				else_if = {
					limit = {
						has_government = democratic
					}
					GER = {
						set_politics = {
							ruling_party = democratic
							elections_allowed = yes
						}
						set_popularities = {
							democratic = 70
							neutrality = 10
							fascism = 10
							communism = 10
						}
					}
				}
				else = {
					GER = {
						set_politics = {
							ruling_party = neutrality
							elections_allowed = no
						}
						set_popularities = {
							democratic = 10
							neutrality = 70
							fascism = 10
							communism = 10
						}
					}
				}
				GER = { change_tag_from = ROOT }
				GER = {
					annex_country = {
						target = ROOT
						transfer_troops = yes
					}
				}
			}
		}
	}
	formable_nations_byzantium = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = GRE
				has_global_flag = no_limit
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_greece_tt
						count_triggers = {
							amount = 8
							47 = { is_controlled_by = ROOT }
							182 = { is_controlled_by = ROOT }
							184 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							186 = { is_controlled_by = ROOT }
							187 = { is_controlled_by = ROOT }
							731 = { is_controlled_by = ROOT }
							164 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 19
							343 = { is_controlled_by = ROOT }
							798 = { is_controlled_by = ROOT }
							49 = { is_controlled_by = ROOT }
							342 = { is_controlled_by = ROOT }
							340 = { is_controlled_by = ROOT }
							350 = { is_controlled_by = ROOT }
							341 = { is_controlled_by = ROOT }
							352 = { is_controlled_by = ROOT }
							797 = { is_controlled_by = ROOT }
							339 = { is_controlled_by = ROOT }
							347 = { is_controlled_by = ROOT }
							356 = { is_controlled_by = ROOT }
							348 = { is_controlled_by = ROOT }
							346 = { is_controlled_by = ROOT }
							344 = { is_controlled_by = ROOT }
							345 = { is_controlled_by = ROOT }
							355 = { is_controlled_by = ROOT }
							349 = { is_controlled_by = ROOT }
							354 = { is_controlled_by = ROOT }
							353 = { is_controlled_by = ROOT }
							800 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 12
						#Bulgaria
						48 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						77 = { is_controlled_by = ROOT }
						#Albania
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						#Eastern Yugoslavia
						106 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BYZ } } }
		}
		icon = formable_nations_byzantium
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_BYZ
			add_stability = 0.2
			set_capital = 797
			set_province_name = { id = 9833 name = "Konstantinoúpolis"}
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				#Greece
				47 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
				#Turkey
				343 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				341 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				#Bulgaria
				48 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				#Albania
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				#Eastern Yugoslavia
				106 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				#Cyprus
				183 = { add_core_of = ROOT }
				#Levant
				799 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				#Egypt
				453 = { 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 }
				#Cyrenaica
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_west_rome = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				original_tag = ITA
				original_tag = SPR
				original_tag = POR
				original_tag = FRA
				original_tag = BRI
				original_tag = GLC
				original_tag = CAT
				original_tag = NAV
				has_global_flag = no_limit
			}
			NOT = { has_global_flag = modern_country }
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_spain_tt
						count_triggers = {
							amount = 21
							118 = { is_controlled_by = ROOT }
							41 = { is_controlled_by = ROOT }
							165 = { is_controlled_by = ROOT }
							166 = { is_controlled_by = ROOT }
							167 = { is_controlled_by = ROOT }
							168 = { is_controlled_by = ROOT }
							169 = { is_controlled_by = ROOT }
							170 = { is_controlled_by = ROOT }
							171 = { is_controlled_by = ROOT }
							172 = { is_controlled_by = ROOT }
							173 = { is_controlled_by = ROOT }
							174 = { is_controlled_by = ROOT }
							175 = { is_controlled_by = ROOT }
							176 = { is_controlled_by = ROOT }
							177 = { is_controlled_by = ROOT }
							178 = { is_controlled_by = ROOT }
							788 = { is_controlled_by = ROOT }
							789 = { is_controlled_by = ROOT }
							790 = { is_controlled_by = ROOT }
							791 = { is_controlled_by = ROOT }
							792 = { is_controlled_by = ROOT }
							793 = { is_controlled_by = ROOT }
							794 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_portugal_tt
						count_triggers = {
							amount = 5
							112 = { is_controlled_by = ROOT }
							179 = { is_controlled_by = ROOT }
							180 = { is_controlled_by = ROOT }
							181 = { is_controlled_by = ROOT }
							795 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_italy_tt
						count_triggers = {
							amount = 12
							2 = { is_controlled_by = ROOT }
							39 = { is_controlled_by = ROOT }
							114 = { is_controlled_by = ROOT }
							115 = { is_controlled_by = ROOT }
							117 = { is_controlled_by = ROOT }
							156 = { is_controlled_by = ROOT }
							157 = { is_controlled_by = ROOT }
							158 = { is_controlled_by = ROOT }
							159 = { is_controlled_by = ROOT }
							160 = { is_controlled_by = ROOT }
							161 = { is_controlled_by = ROOT }
							162 = { is_controlled_by = ROOT }
							736 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_france_tt
						count_triggers = {
							amount = 22
							1 = { is_controlled_by = ROOT }
							14 = { is_controlled_by = ROOT }
							15 = { is_controlled_by = ROOT }
							16 = { is_controlled_by = ROOT }
							17 = { is_controlled_by = ROOT }
							18 = { is_controlled_by = ROOT }
							19 = { is_controlled_by = ROOT }
							806 = { is_controlled_by = ROOT }
							20 = { is_controlled_by = ROOT }
							21 = { is_controlled_by = ROOT }
							22 = { is_controlled_by = ROOT }
							23 = { is_controlled_by = ROOT }
							24 = { is_controlled_by = ROOT }
							25 = { is_controlled_by = ROOT }
							26 = { is_controlled_by = ROOT }
							27 = { is_controlled_by = ROOT }
							28 = { is_controlled_by = ROOT }
							29 = { is_controlled_by = ROOT }
							30 = { is_controlled_by = ROOT }
							31 = { is_controlled_by = ROOT }
							32 = { is_controlled_by = ROOT }
							33 = { is_controlled_by = ROOT }
							735 = { is_controlled_by = ROOT }
							785 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 11
						#Western Yugoslavia
						102 = { is_controlled_by = ROOT }
						103 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						104 = { is_controlled_by = ROOT }
						804 = { is_controlled_by = ROOT }
						163 = { is_controlled_by = ROOT }
						#Switzerland
						3 = { is_controlled_by = ROOT }
						151 = { is_controlled_by = ROOT }
						#Austria+West Hungary
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_BYZ } } }
		}
		icon = formable_nations_west_rome
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_WRO
			add_stability = 0.2
			set_capital = 2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				#Spain
				118 = { add_core_of = ROOT }
				41 = { add_core_of = ROOT }
				165 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				178 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				#Portugal
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
				#Italy
				2 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				114 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				158 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				#France
				1 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				29 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				#Western Yugoslavia
				102 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				#Switzerland
				3 = { add_core_of = ROOT }
				151 = { add_core_of = ROOT }
				#Austria+West Hungary
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
			}
			#Malta
			116 = { add_core_of = ROOT }
			#Southern Benelux+Rhine
			42 = { add_core_of = ROOT }
			8 = { add_core_of = ROOT }
			34 = { add_core_of = ROOT }
			6 = { add_core_of = ROOT }
			35 = { add_core_of = ROOT }
			51 = { add_core_of = ROOT }
			#Lybia
			449 = { add_core_of = ROOT }
			662 = { add_core_of = ROOT }
			448 = { add_core_of = ROOT }
			661 = { add_core_of = ROOT }
			#Algeria+Tunisia
			665 = { add_core_of = ROOT }
			458 = { add_core_of = ROOT }
			513 = { add_core_of = ROOT }
			459 = { add_core_of = ROOT }
			460 = { add_core_of = ROOT }
			#Northern Morocco
			461 = { add_core_of = ROOT }
			290 = { add_core_of = ROOT }
			#Upper Germany
			52 = { add_core_of = ROOT }
			#England
			127 = { add_core_of = ROOT }
			123 = { add_core_of = ROOT }
			126 = { add_core_of = ROOT }
			338 = { add_core_of = ROOT }
			122 = { add_core_of = ROOT }
			125 = { add_core_of = ROOT }
			129 = { add_core_of = ROOT }
			128 = { add_core_of = ROOT }
			130 = { add_core_of = ROOT }
			132 = { add_core_of = ROOT }
			131 = { add_core_of = ROOT }
		}
	}
	formable_nations_Misak-i_Milli = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = TUR
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 8
							677 = { is_controlled_by = ROOT }
							680 = { is_controlled_by = ROOT }
							676 = { is_controlled_by = ROOT }
							799 = { is_controlled_by = ROOT }
							184 = { is_controlled_by = ROOT }
							183 = { is_controlled_by = ROOT }
							187 = { is_controlled_by = ROOT }
							164 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_TCC } } }
		}
		icon = formable_nations_turkestan
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_country_flag = TUR_PROVISIONARY_flag
                        set_cosmetic_tag = FORM_TCC
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
                                731 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				676 = { add_core_of = ROOT }
				799 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				183 = { add_core_of = ROOT }
				230 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
			}
		}
	}
	formable_nations_roman_empire = {
	
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_global_flag = ai_disabled 
			}
		}
		
		cost = 0  days_re_enable = 0
		
		visible = {
			#NOT = { has_country_flag = unform_available }
			NOT = { has_global_flag = hide_formable_nations }
			OR = {
				has_global_flag = no_limit
				original_tag = ITA
				original_tag = GRE
				original_tag = SPR
				original_tag = POR
				original_tag = FRA
				original_tag = BRI
				original_tag = GLC
				original_tag = CAT
				original_tag = NAV
			}
			NOT = { has_global_flag = modern_country }
			OR = {
				has_cosmetic_tag = FORM_BYZ
				has_cosmetic_tag = FORM_WRO
			}
		}
		available = {
			OR = {
				AND = {
					OR = { is_subject = no has_global_flag = puppets_allowed }
					
					custom_trigger_tooltip = {
						tooltip = formable_nations_greece_tt
						count_triggers = {
							amount = 8
							47 = { is_controlled_by = ROOT }
							182 = { is_controlled_by = ROOT }
							184 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							185 = { is_controlled_by = ROOT }
							186 = { is_controlled_by = ROOT }
							187 = { is_controlled_by = ROOT }
							731 = { is_controlled_by = ROOT }
							164 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_turkey_tt
						count_triggers = {
							amount = 19
							343 = { is_controlled_by = ROOT }
							798 = { is_controlled_by = ROOT }
							49 = { is_controlled_by = ROOT }
							342 = { is_controlled_by = ROOT }
							340 = { is_controlled_by = ROOT }
							350 = { is_controlled_by = ROOT }
							341 = { is_controlled_by = ROOT }
							352 = { is_controlled_by = ROOT }
							797 = { is_controlled_by = ROOT }
							339 = { is_controlled_by = ROOT }
							347 = { is_controlled_by = ROOT }
							356 = { is_controlled_by = ROOT }
							348 = { is_controlled_by = ROOT }
							346 = { is_controlled_by = ROOT }
							344 = { is_controlled_by = ROOT }
							345 = { is_controlled_by = ROOT }
							355 = { is_controlled_by = ROOT }
							349 = { is_controlled_by = ROOT }
							354 = { is_controlled_by = ROOT }
							353 = { is_controlled_by = ROOT }
							800 = { is_controlled_by = ROOT }
						}
					}
					count_triggers = {
						amount = 23
						#Bulgaria
						48 = { is_controlled_by = ROOT }
						211 = { is_controlled_by = ROOT }
						212 = { is_controlled_by = ROOT }
						801 = { is_controlled_by = ROOT }
						77 = { is_controlled_by = ROOT }
						#Albania
						44 = { is_controlled_by = ROOT }
						805 = { is_controlled_by = ROOT }
						#Eastern Yugoslavia
						106 = { is_controlled_by = ROOT }
						803 = { is_controlled_by = ROOT }
						802 = { is_controlled_by = ROOT }
						108 = { is_controlled_by = ROOT }
						107 = { is_controlled_by = ROOT }
						105 = { is_controlled_by = ROOT }
						#Western Yugoslavia
						102 = { is_controlled_by = ROOT }
						103 = { is_controlled_by = ROOT }
						109 = { is_controlled_by = ROOT }
						104 = { is_controlled_by = ROOT }
						804 = { is_controlled_by = ROOT }
						163 = { is_controlled_by = ROOT }
						#Switzerland
						3 = { is_controlled_by = ROOT }
						151 = { is_controlled_by = ROOT }
						#Austria+West Hungary
						4 = { is_controlled_by = ROOT }
						152 = { is_controlled_by = ROOT }
						153 = { is_controlled_by = ROOT }
						155 = { is_controlled_by = ROOT }
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_spain_tt
						count_triggers = {
							amount = 21
							118 = { is_controlled_by = ROOT }
							41 = { is_controlled_by = ROOT }
							165 = { is_controlled_by = ROOT }
							166 = { is_controlled_by = ROOT }
							167 = { is_controlled_by = ROOT }
							168 = { is_controlled_by = ROOT }
							169 = { is_controlled_by = ROOT }
							170 = { is_controlled_by = ROOT }
							171 = { is_controlled_by = ROOT }
							172 = { is_controlled_by = ROOT }
							173 = { is_controlled_by = ROOT }
							174 = { is_controlled_by = ROOT }
							175 = { is_controlled_by = ROOT }
							176 = { is_controlled_by = ROOT }
							177 = { is_controlled_by = ROOT }
							178 = { is_controlled_by = ROOT }
							788 = { is_controlled_by = ROOT }
							789 = { is_controlled_by = ROOT }
							790 = { is_controlled_by = ROOT }
							791 = { is_controlled_by = ROOT }
							792 = { is_controlled_by = ROOT }
							793 = { is_controlled_by = ROOT }
							794 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_portugal_tt
						count_triggers = {
							amount = 5
							112 = { is_controlled_by = ROOT }
							179 = { is_controlled_by = ROOT }
							180 = { is_controlled_by = ROOT }
							181 = { is_controlled_by = ROOT }
							795 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_italy_tt
						count_triggers = {
							amount = 12
							2 = { is_controlled_by = ROOT }
							39 = { is_controlled_by = ROOT }
							114 = { is_controlled_by = ROOT }
							115 = { is_controlled_by = ROOT }
							117 = { is_controlled_by = ROOT }
							156 = { is_controlled_by = ROOT }
							157 = { is_controlled_by = ROOT }
							158 = { is_controlled_by = ROOT }
							159 = { is_controlled_by = ROOT }
							160 = { is_controlled_by = ROOT }
							161 = { is_controlled_by = ROOT }
							162 = { is_controlled_by = ROOT }
							736 = { is_controlled_by = ROOT }
						}
					}
					custom_trigger_tooltip = {
						tooltip = formable_nations_france_tt
						count_triggers = {
							amount = 22
							1 = { is_controlled_by = ROOT }
							14 = { is_controlled_by = ROOT }
							15 = { is_controlled_by = ROOT }
							16 = { is_controlled_by = ROOT }
							17 = { is_controlled_by = ROOT }
							18 = { is_controlled_by = ROOT }
							19 = { is_controlled_by = ROOT }
							806 = { is_controlled_by = ROOT }
							20 = { is_controlled_by = ROOT }
							21 = { is_controlled_by = ROOT }
							22 = { is_controlled_by = ROOT }
							23 = { is_controlled_by = ROOT }
							24 = { is_controlled_by = ROOT }
							25 = { is_controlled_by = ROOT }
							26 = { is_controlled_by = ROOT }
							27 = { is_controlled_by = ROOT }
							28 = { is_controlled_by = ROOT }
							29 = { is_controlled_by = ROOT }
							30 = { is_controlled_by = ROOT }
							31 = { is_controlled_by = ROOT }
							32 = { is_controlled_by = ROOT }
							33 = { is_controlled_by = ROOT }
							735 = { is_controlled_by = ROOT }
							785 = { is_controlled_by = ROOT }
						}
					}
				}
				AND = {
					is_ai = no
					has_global_flag = debug_mode
				}
			}
			custom_trigger_tooltip = { tooltip = not_already_existing_tt NOT = { any_country = { has_cosmetic_tag = FORM_ROE } } }
		}
		icon = formable_nations_roman_empire
		complete_effect = { capital_scope = { set_state_flag = formable_nations_old_capital }
			set_cosmetic_tag = FORM_ROE
			add_stability = 0.2
			custom_effect_tooltip = core_land
			hidden_effect = { sound_effect = complete_focus  set_country_flag = unform_available
				#Greece
				47 = { add_core_of = ROOT }
				182 = { add_core_of = ROOT }
				184 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				185 = { add_core_of = ROOT }
				186 = { add_core_of = ROOT }
				187 = { add_core_of = ROOT }
				731 = { add_core_of = ROOT }
				164 = { add_core_of = ROOT }
				#Turkey
				343 = { add_core_of = ROOT }
				798 = { add_core_of = ROOT }
				49 = { add_core_of = ROOT }
				342 = { add_core_of = ROOT }
				340 = { add_core_of = ROOT }
				350 = { add_core_of = ROOT }
				341 = { add_core_of = ROOT }
				352 = { add_core_of = ROOT }
				797 = { add_core_of = ROOT }
				339 = { add_core_of = ROOT }
				347 = { add_core_of = ROOT }
				356 = { add_core_of = ROOT }
				348 = { add_core_of = ROOT }
				346 = { add_core_of = ROOT }
				344 = { add_core_of = ROOT }
				345 = { add_core_of = ROOT }
				355 = { add_core_of = ROOT }
				349 = { add_core_of = ROOT }
				354 = { add_core_of = ROOT }
				353 = { add_core_of = ROOT }
				800 = { add_core_of = ROOT }
				#Bulgaria
				48 = { add_core_of = ROOT }
				211 = { add_core_of = ROOT }
				212 = { add_core_of = ROOT }
				801 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				#Albania
				44 = { add_core_of = ROOT }
				805 = { add_core_of = ROOT }
				#Eastern Yugoslavia
				106 = { add_core_of = ROOT }
				803 = { add_core_of = ROOT }
				802 = { add_core_of = ROOT }
				108 = { add_core_of = ROOT }
				107 = { add_core_of = ROOT }
				105 = { add_core_of = ROOT }
				#Cyprus
				183 = { add_core_of = ROOT }
				#Levant
				799 = { add_core_of = ROOT }
				677 = { add_core_of = ROOT }
				680 = { add_core_of = ROOT }
				554 = { add_core_of = ROOT }
				553 = { add_core_of = ROOT }
				454 = { add_core_of = ROOT }
				455 = { add_core_of = ROOT }
				#Egypt
				453 = { 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 }
				#Cyrenaica
				450 = { add_core_of = ROOT }
				451 = { add_core_of = ROOT }
				663 = { add_core_of = ROOT }
				#Spain
				118 = { add_core_of = ROOT }
				41 = { add_core_of = ROOT }
				165 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				178 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				#Portugal
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
				#Italy
				2 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				114 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				158 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				#France
				1 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				29 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				#Western Yugoslavia
				102 = { add_core_of = ROOT }
				103 = { add_core_of = ROOT }
				109 = { add_core_of = ROOT }
				104 = { add_core_of = ROOT }
				804 = { add_core_of = ROOT }
				163 = { add_core_of = ROOT }
				#Switzerland
				3 = { add_core_of = ROOT }
				151 = { add_core_of = ROOT }
				#Austria+West Hungary
				4 = { add_core_of = ROOT }
				152 = { add_core_of = ROOT }
				153 = { add_core_of = ROOT }
				155 = { add_core_of = ROOT }
				#Malta
				116 = { add_core_of = ROOT }
				#Southern Benelux+Rhine
				42 = { add_core_of = ROOT }
				8 = { add_core_of = ROOT }
				34 = { add_core_of = ROOT }
				6 = { add_core_of = ROOT }
				35 = { add_core_of = ROOT }
				51 = { add_core_of = ROOT }
				#Lybia
				449 = { add_core_of = ROOT }
				662 = { add_core_of = ROOT }
				448 = { add_core_of = ROOT }
				661 = { add_core_of = ROOT }
				#Algeria+Tunisia
				665 = { add_core_of = ROOT }
				458 = { add_core_of = ROOT }
				513 = { add_core_of = ROOT }
				459 = { add_core_of = ROOT }
				460 = { add_core_of = ROOT }
				#Northern Morocco
				461 = { add_core_of = ROOT }
				290 = { add_core_of = ROOT }
				#Upper Germany
				52 = { add_core_of = ROOT }
				#England
				127 = { add_core_of = ROOT }
				123 = { add_core_of = ROOT }
				126 = { add_core_of = ROOT }
				338 = { add_core_of = ROOT }
				122 = { add_core_of = ROOT }
				125 = { add_core_of = ROOT }
				129 = { add_core_of = ROOT }
				128 = { add_core_of = ROOT }
				130 = { add_core_of = ROOT }
				132 = { add_core_of = ROOT }
				131 = { add_core_of = ROOT }
			}
		}
	}
}
