ROM_change_sides = {
	
	# Allies

	ROM_change_sides_to_allies = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			is_faction_leader = no
			has_capitulated = no
			any_country = {
				is_faction_leader = yes
				has_war_with = ROM
				OR = {
					has_government = democratic
					original_tag = ENG
					original_tag = USA
				}
			}
			OR = {
				has_country_leader = {
					character = ROM_king_michael
					ruling_only = yes
				}
				has_government = neutrality
				has_government = democratic
			}
			NOT = {
				FACTION_LEADER  = {
					has_government = democratic
				}
			}
			hidden_trigger = {
				NOT = { has_country_flag = romania_has_flipped_sides } #Romania shouldn't be able to keep switching sides all the time
			}
		}
		
		visible = {
			is_faction_leader = no # you shouldn't be able to betray your own faction
			original_tag = ROM
			NOT = { has_country_flag = romania_has_flipped_sides }
			hidden_trigger = { has_country_flag = can_change_sides_dem }
		}

		cost = 0
		
		fire_only_once = yes
		
		remove_effect = {
			hidden_effect = { clr_country_flag = can_change_sides_dem }
		}

		complete_effect = {
			#save current faction leader for use in the event
			hidden_effect = {
				random_country = {
					limit = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
					save_global_event_target_as = romania_former_ally_target
				}
			}
			#top priority is joining the Allies if they still exist
			if = {
				limit = {
					any_country = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = democratic
						OR = {
							original_tag = ENG
							is_in_faction_with = ENG
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = democratic
						OR = {
							original_tag = ENG
							is_in_faction_with = ENG
						}
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			#then attempts to join the USA's faction
			else_if = {
				limit = {
					any_country = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = democratic
						OR = {
							original_tag = USA
							is_in_faction_with = USA
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = democratic
						OR = {
							original_tag = USA
							is_in_faction_with = USA
						}
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			#then attempts to join any democratic faction
			else = {
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = democratic
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			event_target:romania_new_ally_target = {
				country_event = { id = DOD_romania.16 }
			}
			hidden_effect = {
				set_country_flag = romania_has_flipped_sides
			}
		}

		ai_will_do = {
			factor = 100
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
			modifier = {
				is_historical_focus_on = yes
				NOT = { date > 1944.08.08 }
				factor = 0
			}
		}

	}
	
	# Commintern

	ROM_change_sides_to_commintern = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			is_faction_leader = no
			has_capitulated = no
			any_country = {
				is_faction_leader = yes
				has_war_with = ROM
				OR = {
					has_government = communism
					original_tag = SOV
				}
			}
			OR = {
				has_country_leader = {
					character = ROM_king_michael
					ruling_only = yes
				}
				has_government = communism
			}
			NOT = {
				FACTION_LEADER  = {
					has_government = communism
				}
			}
			hidden_trigger = {
				NOT = { has_country_flag = romania_has_flipped_sides } #Romania shouldn't be able to keep switching sides all the time
			}
		}
		
		visible = {
			is_faction_leader = no # you shouldn't be able to betray your own faction
			original_tag = ROM
			NOT = { has_country_flag = romania_has_flipped_sides }
			hidden_trigger = { has_country_flag = can_change_sides_com }
		}

		cost = 0
		
		fire_only_once = yes
		
		remove_effect = {
			hidden_effect = { clr_country_flag = can_change_sides_com }
		}

		complete_effect = {
			#save current faction leader for use in the event
			hidden_effect = {
				random_country = {
					limit = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
					save_global_event_target_as = romania_former_ally_target
				}
			}
			#top priority is joining the Commintern if they still exist
			if = {
				limit = {
					any_country = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = communism
						OR = {
							original_tag = SOV
							is_in_faction_with = SOV
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = communism
						OR = {
							original_tag = SOV
							is_in_faction_with = SOV
						}
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			#then attempts to join any communist faction
			else = {
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = communism
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			event_target:romania_new_ally_target = {
				country_event = { id = DOD_romania.16 }
			}
			hidden_effect = {
				set_country_flag = romania_has_flipped_sides
			}
		}

		ai_will_do = {
			factor = 0
		}

	}
	
	# Axis

	ROM_change_sides_to_axis = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			is_faction_leader = no
			has_capitulated = no
			any_country = {
				is_faction_leader = yes
				has_war_with = ROM
				OR = {
					has_government = fascism
					original_tag = GER
					original_tag = ITA
				}
			}
			OR = {
				has_country_leader = {
					character = ROM_king_michael
					ruling_only = yes
				}
				has_government = fascism
			}
			NOT = {
				FACTION_LEADER  = {
					has_government = fascism
				}
			}
			hidden_trigger = {
				NOT = { has_country_flag = romania_has_flipped_sides } #Romania shouldn't be able to keep switching sides all the time
			}
		}
		
		visible = {
			is_faction_leader = no # you shouldn't be able to betray your own faction
			original_tag = ROM
			NOT = { has_country_flag = romania_has_flipped_sides }
			hidden_trigger = { has_country_flag = can_change_sides_fas }
		}

		cost = 0
		
		fire_only_once = yes
		
		remove_effect = {
			hidden_effect = { clr_country_flag = can_change_sides_fas }
		}

		complete_effect = {
			#save current faction leader for use in the event
			hidden_effect = {
				random_country = {
					limit = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
					save_global_event_target_as = romania_former_ally_target
				}
			}
			#top priority is joining the Axis if they still exist
			if = {
				limit = {
					any_country = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = fascism
						OR = {
							original_tag = GER
							is_in_faction_with = GER
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = fascism
						OR = {
							original_tag = GER
							is_in_faction_with = GER
						}
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			#then attempts to join Italy's faction
			else_if = {
				limit = {
					any_country = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = fascism
						OR = {
							original_tag = ITA
							is_in_faction_with = ITA
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = fascism
						OR = {
							original_tag = ITA
							is_in_faction_with = ITA
						}
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			#then attempts to join any fascist faction
			else = {
				random_enemy_country = {
					limit = {
						is_faction_leader = yes
						has_war_with = ROM
						has_government = fascism
					}
					save_event_target_as = romania_new_ally_target
				}
			}
			event_target:romania_new_ally_target = {
				country_event = { id = DOD_romania.16 }
			}
			hidden_effect = {
				set_country_flag = romania_has_flipped_sides
			}
		}

		ai_will_do = {
			factor = 0
		}

	}
	
}

ROM_dividing_yugo = {

	# Pressing claims

	ROM_present_ultimatum = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			YUG = {
				all_subject_countries = {
					tooltip = ROM_country_and_all_subjects_trigger
					all_owned_state = {
						OR = {
							has_state_flag = strongest_claimant_ROM
							has_state_flag = strongest_claimant_HUN
							has_state_flag = strongest_claimant_GER
							has_state_flag = strongest_claimant_ITA
							AND = {
								is_claimed_by = GER
								GER = { has_country_flag = invited_to_split_yugo }
							}
							AND = {
								is_claimed_by = ITA
								ITA = { has_country_flag = invited_to_split_yugo }
							}
							AND = {
								is_claimed_by = HUN
								HUN = { has_country_flag = invited_to_split_yugo }
							}
							is_claimed_by = ROM
						}
					}
				}
				# This trigger is the same as the one for the subject countries above,
				# so the tooltip will be correct with an overridden trigger start for the
				# all_Subject_countries
				hidden_trigger = {
					all_owned_state = {
						OR = {
							has_state_flag = strongest_claimant_ROM
							has_state_flag = strongest_claimant_HUN
							has_state_flag = strongest_claimant_GER
							has_state_flag = strongest_claimant_ITA
							AND = {
								is_claimed_by = GER
								GER = { has_country_flag = invited_to_split_yugo }
							}
							AND = {
								is_claimed_by = ITA
								ITA = { has_country_flag = invited_to_split_yugo }
							}
							AND = {
								is_claimed_by = HUN
								HUN = { has_country_flag = invited_to_split_yugo }
							}
							is_claimed_by = ROM
						}
					}
				}
			}
		}
		
		visible = {
		}

		cost = 0
		
		fire_only_once = yes

		complete_effect = {
			YUG = {
				country_event = DOD_romania.60
			}
		}

		ai_will_do = {
			factor = 100
		}

	}

	# Invite Germany

	ROM_invite_germany = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			GER = {
				NOT = { has_country_flag = invited_to_split_yugo }
				any_owned_state = {
					any_neighbor_state = {
						owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
					}
				}
			}
		}
		
		visible = {
		}

		cost = 0
		
		fire_only_once = yes

		complete_effect = {
			GER = {
				country_event = DOD_romania.601
			}
		}

		ai_will_do = {
			factor = 100
		}

	}

	# Invite Italy

	ROM_invite_italy = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			ITA = {
				NOT = { has_country_flag = invited_to_split_yugo }
				any_owned_state = {
					any_neighbor_state = {
						owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
					}
				}
			}
		}
		
		visible = {
		}

		cost = 0
		
		fire_only_once = yes

		complete_effect = {
			ITA = {
				country_event = DOD_romania.601
			}
		}

		ai_will_do = {
			factor = 100
		}

	}

	# Invite Hungary

	ROM_invite_hungary = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = ROM
		}

		available = {
			HUN = {
				NOT = { has_country_flag = invited_to_split_yugo }
				any_owned_state = {
					any_neighbor_state = {
						owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
					}
				}
			}
		}
		
		visible = {
		}

		cost = 0
		
		fire_only_once = yes

		complete_effect = {
			HUN = {
				country_event = DOD_romania.601
			}
		}

		ai_will_do = {
			factor = 100
		}

	}

	# Claiming Vojvodina

	ROM_claim_vojvodina = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				45 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				45 = {
					45 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			45 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			45 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 45 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			45 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					45 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	ROM_claim_1477 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1477 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1477 = {
					1477 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1477 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1477 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1477 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1477 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1477 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming Banat

	ROM_claim_banat = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				764 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				764 = {
					764 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			764 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			764 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 764 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			764 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					764 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	ROM_claim_1478 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1478 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1478 = {
					1478 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1478 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1478 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1478 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1478 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1478 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming Serbia

	ROM_claim_serbia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				107 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				107 = {
					107 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			107 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			107 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 107 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			107 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					107 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming morava

	ROM_claim_morava = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				108 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				108 = {
					108 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			108 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			108 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 108 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			108 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					108 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming kosovo

	ROM_claim_kosovo = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				802 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				802 = {
					802 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			802 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			802 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 802 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			802 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					802 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming south serbia

	ROM_claim_south_serbia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				803 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				803 = {
					803 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			803 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			803 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 803 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			803 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					803 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	# Claiming Preševo

	ROM_claim_1411 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1411 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1411 = {
					1411 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1411 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1411 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1411 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1411 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1411 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	# Claiming strumica
	
	ROM_claim_1298 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1298 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1298 = {
					1298 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1298 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1298 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1298 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1298 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1298 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	# Claiming bosilegrad
	
	ROM_claim_1299 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1299 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1299 = {
					1299 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1299 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1299 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1299 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1299 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1299 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	# Claiming dimitrovgrad
	
	ROM_claim_1300 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1300 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1300 = {
					1300 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1300 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1300 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1300 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1300 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1300 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming macedonia

	ROM_claim_macedonia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				106 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				106 = {
					106 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			106 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			106 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 106 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			106 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					106 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	# Claiming Galičiča

	ROM_claim_1412 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1412 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1412 = {
					1412 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1412 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1412 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1412 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1412 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1412 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	ROM_claim_1307 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1307 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1307 = {
					1307 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1307 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1307 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1307 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1307 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1307 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming montenegro

	ROM_claim_montenegro = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				105 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				105 = {
					105 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			105 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			105 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 105 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			105 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					105 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming bosnia

	ROM_claim_bosnia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				104 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				104 = {
					104 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			104 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			104 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 104 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			104 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					104 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming dalmatia

	ROM_claim_dalmatia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				103 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				103 = {
					103 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			103 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			103 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 103 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			103 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					103 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	# Claiming dubrovnik

	ROM_claim_1296 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1296 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1296 = {
					1296 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1296 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1296 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1296 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1296 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1296 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming croatia

	ROM_claim_croatia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				109 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				109 = {
					109 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			109 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			109 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 109 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			109 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					109 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming slovenia

	ROM_claim_slovenia = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				102 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				102 = {
					102 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			102 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			102 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 102 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			102 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					102 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}

	# Claiming slovenia

	ROM_claim_ljubljana = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				853 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				853 = {
					853 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			853 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			853 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 853 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			853 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					853 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}



	# Claiming Herzegovina

	ROM_claim_herzegovina = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				804 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				804 = {
					804 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			804 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			804 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 804 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			804 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					804 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Debar

	ROM_claim_970 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				970 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				970 = {
					970 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			970 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			970 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 970 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			970 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					970 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Ulcinj

	ROM_claim_1260 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1260 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1260 = {
					1260 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1260 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1260 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1260 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1260 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1260 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Kotor

	ROM_claim_1716 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1716 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1716 = {
					1716 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1716 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1716 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1716 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1716 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1716 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Rozaje

	ROM_claim_1047 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1047 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1047 = {
					1047 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1047 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1047 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1047 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1047 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1047 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Kosovska Mitrovica

	ROM_claim_1715 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1715 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1715 = {
					1715 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1715 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1715 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1715 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1715 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1715 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Tutin

	ROM_claim_1048 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1048 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1048 = {
					1048 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1048 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1048 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1048 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1048 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1048 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Novi Pazar

	ROM_claim_1710 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1710 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1710 = {
					1710 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1710 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1710 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1710 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1710 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1710 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Niš
	
	ROM_claim_1709 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1709 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1709 = {
					1709 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1709 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1709 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1709 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1709 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1709 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Bor
	
	ROM_claim_1721 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1721 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1721 = {
					1721 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1721 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1721 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1721 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1721 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1721 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Sremska Mitrovica
	
	ROM_claim_1707 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1707 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1707 = {
					1707 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1707 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1707 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1707 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1707 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1707 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Prekmurje
	
	ROM_claim_1704 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1704 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1704 = {
					1704 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1704 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1704 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1704 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1704 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1704 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	
	# Claiming Medimurje
	
	ROM_claim_1410 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1410 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1410 = {
					1410 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1410 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1410 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1410 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1410 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1410 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Korcula Mljet
	
	ROM_claim_1325 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1325 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1325 = {
					1325 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1325 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1325 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1325 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1325 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1325 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Split
	
	ROM_claim_1339 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1339 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1339 = {
					1339 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1339 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1339 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1339 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1339 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1339 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Šibenik
	
	ROM_claim_1314 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1314 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1314 = {
					1314 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1314 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1314 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1314 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1314 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1314 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Lika-Krbava
	
	ROM_claim_1718 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1718 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1718 = {
					1718 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1718 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1718 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1718 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1718 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1718 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Lika-Krbava
	
	ROM_claim_1388 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1388 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1388 = {
					1388 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1388 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1388 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1388 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1388 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1388 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Beli Manastir
	
	ROM_claim_1705 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1705 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1705 = {
					1705 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1705 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1705 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1705 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1705 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1705 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Osijek
	
	ROM_claim_1706 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1706 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1706 = {
					1706 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1706 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1706 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1706 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1706 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1706 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Neum
	
	ROM_claim_1717 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1717 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1717 = {
					1717 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1717 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1717 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1717 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1717 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1717 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Bosnian Posavina
	
	ROM_claim_1711 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1711 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1711 = {
					1711 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1711 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1711 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1711 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1711 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1711 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Bosnian Krajina
	
	ROM_claim_1713 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1713 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1713 = {
					1713 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1713 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1713 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1713 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1713 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1713 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
	
	
	
	# Claiming Mostar
	
	ROM_claim_1712 = {

		#ROM
		icon = {
			key = GFX_decision_ROM_claim_yugo_4
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ROM value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_3
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ROM value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_2
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ROM value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ROM
				}
			}
		}
		icon = {
			key = GFX_decision_ROM_claim_yugo_1
			trigger = {
				1712 = {
					NOT = {
						has_state_flag = strongest_claimant_GER
						has_state_flag = strongest_claimant_ROM
						has_state_flag = strongest_claimant_ITA
						has_state_flag = strongest_claimant_HUN
					}
				}
			}
		}

		#ITA
		icon = {
			key = GFX_decision_ITA_claim_yugo_4
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ITA value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_3
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ITA value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}
		icon = {
			key = GFX_decision_ITA_claim_yugo_2
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_ITA value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_ITA
				}
			}
		}

		#HUN
		icon = {
			key = GFX_decision_HUN_claim_yugo_4
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_HUN value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_3
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_HUN value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}
		icon = {
			key = GFX_decision_HUN_claim_yugo_2
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_HUN value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_HUN
				}
			}
		}

		#GER
		icon = {
			key = GFX_decision_GER_claim_yugo_4
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_GER value = 3 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_3
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_GER value = 2 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}
		icon = {
			key = GFX_decision_GER_claim_yugo_2
			trigger = {
				1712 = {
					1712 = { check_variable = {  var = claim_strength_GER value = 1 compare = greater_than_or_equals } }
					has_state_flag = strongest_claimant_GER
				}
			}
		}

		allowed = {
		}

		available = {
			1712 = {
				has_anyone_else_claimed_ROM = yes
			}
			OR = {
				GER = {
					has_country_flag = invited_to_split_yugo
				}
				ITA = {
					has_country_flag = invited_to_split_yugo
				}
				HUN = {
					has_country_flag = invited_to_split_yugo
				}
			}
		}
		
		visible = {
			has_country_flag = invited_to_split_yugo
			hidden_trigger = {
				NOT = { has_country_flag = claiming_a_yugoslav_state_flag }
			}
			1712 = {
				owner = {
					OR = {
						tag = YUG
						is_subject_of = YUG
					}
				}
			}
		}
		
		highlight_states = {
			highlight_states_trigger = { state = 1712 }
		}

		on_map_mode = map_only

		cost = 10
		
		fire_only_once = no
		days_remove = 3
		
		remove_effect = {
			1712 = {
				custom_effect_tooltip = romania_total_claims_tt
				calculate_claimant_effect = yes
			}
			hidden_effect = { clr_country_flag = claiming_a_yugoslav_state_flag }
		}

		complete_effect = {
			hidden_effect = { set_country_flag = claiming_a_yugoslav_state_flag }
		}

		ai_will_do = {
			factor = 100
			modifier = {
				NOT = {
					1712 = {
						any_neighbor_state = {
							OR = {
								AND = {
									owner = {
										OR = {
											tag = YUG
											is_subject_of = YUG
										}
									}
									OR = {
										is_claimed_by = ROOT
										has_state_flag = strongest_claimant_@ROOT
									}
								}
								is_owned_by = ROOT
							}
						}
					}
				}
				factor = 0
			}
		}

	}
}