###########CASTLE CRUBLES###########
SER_the_castle_crumbles = {
	SER_the_revolution = {
		icon = GFX_decision_milocevic_revolution_button
		available = {
			custom_trigger_tooltip = {
				tooltip = SER_the_revolution_tt
				check_variable = { SER_milosevic_strength > 99 }
			}
		}
		activation = { NOT = { or = { has_start_date > 2016.1.1 check_variable = { SER_milosevic_strength > 99 } } }}
		days_mission_timeout = 300
		is_good = no
		fire_only_once = yes
		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_the_revolution"
			set_country_flag = SER_zover
			set_country_flag = SER_bulldozer_revolution
			custom_effect_tooltip = SER_revolution2_TT
			hidden_effect = {
				kill_country_leader = yes
				set_temp_variable = { party_index = 18 }
				set_temp_variable = { party_popularity_increase = party_pop_array^18 }
				change_relative_party_popularity = yes
				set_temp_variable = { rul_party_temp = 18 }
				change_ruling_party_effect = yes
				create_country_leader = {
					name = "Milan Milutinović"
					picture = "milan_milutinović.dds"
					ideology = neutral_Social
					traits = {
						neutrality_neutral_Social
					}
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_the_revolution"
			set_country_flag = SER_zover
			set_country_flag = SER_bulldozer_died
			custom_effect_tooltip = SER_revolution3_TT
		}
	}
	#
	SER_negotiations = {
		icon = GFX_decision_milocevic_negotiations_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_negotiations"
			decrease_military_spending = yes
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_appeal_to_nationalists = {
		icon = GFX_decision_nationalist_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_appeal_to_nationalists"
			add_popularity = {
				ideology = nationalist
				popularity = 0.10
			}
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_suppress_dissent = {
		icon = GFX_decision_milocevic_repression_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_suppress_dissent"
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = -1000
			}
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_utilize_mafia = {
		icon = GFX_decision_milocevic_mafia_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_utilize_mafia"
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_russian_involvement = {
		icon = GFX_decision_recogn_russia_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_russian_involvement"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = SER }
			change_influence_percentage = yes
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 10 tooltip = SER_milosevic_power_10 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_selective_repression = {
		icon = GFX_decision_milocevic_repression_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_selective_repression"
			add_stability = -0.03
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_mafia_concessions = {
		icon = GFX_decision_milocevic_mafia_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_mafia_concessions"
			add_political_power = 150
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_choke_the_media = {
		icon = GFX_decision_milocevic_tv_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_constitutional_manipulation
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_choke_the_media"
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_constitutional_manipulation = {
		icon = GFX_decision_milocevic_const_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_divisionary_tactics
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_constitutional_manipulation"
			increase_corruption = yes
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
	SER_divisionary_tactics = {
		icon = GFX_decision_combatinfl_button
		fire_only_once = yes
		days_remove = 20
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = SER_negotiations
						has_decision = SER_appeal_to_nationalists
						has_decision = SER_suppress_dissent
						has_decision = SER_utilize_mafia
						has_decision = SER_russian_involvement
						has_decision = SER_selective_repression
						has_decision = SER_mafia_concessions
						has_decision = SER_choke_the_media
						has_decision = SER_constitutional_manipulation
					}
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_divisionary_tactics"
			add_popularity = {
				ideology = democratic
				popularity = -0.10
			}
			newline = yes
			add_to_variable = { var = SER_milosevic_strength value = 5 tooltip = SER_milosevic_power_5 }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = { base = 0 }
	}
}

generic_coalition_politics_decisions = { #Need timed mission that will make these decisions end when 2000 elections start
	SER_rename_nation = {
		allowed = { original_tag = SER }
		icon = GFX_decision_ser_mon_button

		fire_only_once = yes

		cost = 10

		visible = {
			has_cosmetic_tag = SER_FRY
			OR = {
				owns_state = 134
				has_subject = MNT
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_rename_nation"
			drop_cosmetic_tag = yes
			clear_variable = dynamic_flag_variant
			set_cosmetic_tag = SER_MNT
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 50
				date > 2003.1.1
			}
		}
	}
	SER_rename_nation_2 = {
		allowed = { original_tag = SER }
		icon = GFX_decision_ser_ser_button

		fire_only_once = yes

		cost = 10

		visible = {
			has_cosmetic_tag = SER_MNT
			NOT = { owns_state = 134 }
			# The union name stays while Montenegro is still a constituent subject
			NOT = { has_subject = MNT }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_rename_nation_2"
			drop_cosmetic_tag = yes
			clear_variable = dynamic_flag_variant
			set_cosmetic_tag = SER
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 50
				NOT = { owns_state = 134 }
			}
		}
	}
}
###########MONTENEGRO CONFEDERACY###########
SER_The_Montenegro_Confederacy = {

	SER_Political_separatism = {
		icon = GFX_decision_monte_separ_button
		allowed = { always = yes }
		available = {
			has_country_flag = SER_montenegro_independence_dead
		}
		activation = {
			OR = {
				has_country_flag = SER_montenegro_independence
				has_country_flag = SER_montenegro_independence_violent
			}
			NOT = {
				has_country_flag = SER_montenegro_independence_dead
			}
			check_variable = { SER_Montenegro_separatism < 100 }
		}
		days_mission_timeout = 70
		is_good = no
		fire_only_once = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Mission timeout SER_Political_separatism"
			add_to_variable = { var = SER_Montenegro_separatism value = 10 tooltip = Plus10SER_Montenegro_separatism }
		}
	}

	SER_retainment_of_connections_Montenegro = {
		icon = GFX_decision_monte_separatism_button
		fire_only_once = no
		days_remove = 20
		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_retainment_of_connections_Montenegro"
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			add_to_variable = { var = SER_Montenegro_separatism value = -5 tooltip = Neg5SER_Montenegro_separatism }
		}
		modifier = { political_power_gain = -0.05 }
		ai_will_do = {
			base = 355
		}
	}
	SER_attack_mnt_militias = {
		fire_only_once = no
		icon = GFX_decision_monte_attack_button
		days_remove = 20
		fixed_random_seed = no
		custom_cost_trigger = {
			has_equipment = {
				infantry_weapons_type > 30
			}
		}
		custom_cost_text = TUR_assualt_on_pkk
		visible = {
			has_country_flag = SER_montenegro_independence_violent
		}
		available = {
			has_equipment = {
				infantry_weapons_type > 29
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_attack_mnt_militias"
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = -30
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_attack_mnt_militias"
			custom_effect_tooltip = SER_losing_troops_war_idk
			hidden_effect = {
				random_list = {
					25 = {
						add_to_variable = { var = SER_Serbian_combatants value = -3 }
						clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Serbian_combatants value = -5 }
						clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Serbian_combatants value = -9 }
						clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Serbian_combatants value = -12 }
						clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 }
					}
				}
				#
				random_list = {
					25 = {
						add_to_variable = { var = SER_Montenegro_combatants value = -7 }
						clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Montenegro_combatants value = -10 }
						clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Montenegro_combatants value = -17 }
						clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 }
					}
					25 = {
						add_to_variable = { var = SER_Montenegro_combatants value = -24 }
						clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 }
					}
				}
			}
		}
		ai_will_do = { base = 0 }
	}
	SER_deploy_more_troops = {
		fire_only_once = no
		icon = GFX_decision_monte_troops_button
		days_remove = 20
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_deploy_more_troops"
			add_manpower = -15
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_deploy_more_troops"
			custom_effect_tooltip = SER_troop_deploy
			add_to_variable = { var = SER_Serbian_combatants value = 15 }
			clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 }
			# Montenegro gets 5
			add_to_variable = { var = SER_Montenegro_combatants value = 5 }
			clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 }
		}
		ai_will_do = { base = 0 }
	}
}
###########EXERCISES###########
SER_exercises_category = {
	SER_uchenia_with_sov = {
		icon = GFX_decision_ser_exercises_button
		cost = 65
		days_remove = 420
		available = {
			NOT = {
				OR = {
					has_idea = great_power
					has_idea = super_power
				}
			}
			country_exists = SOV
			SOV = { is_subject = no }
			NOT = { has_war_with = SOV }
			NOT = { has_country_flag = ser_exer_start }
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_uchenia_with_sov"
			add_timed_idea = { idea = SER_sov_exer days = 120 }
			set_temp_variable = { percent_change = 1.5 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = SER }
			change_influence_percentage = yes
			set_country_flag = ser_exer_start
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_uchenia_with_sov"
			clr_country_flag = ser_exer_start
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_uchenia_with_usa = {
		icon = GFX_decision_ser_exercises_button1
		cost = 65
		days_remove = 420
		available = {
			NOT = {
				OR = {
					has_idea = great_power
					has_idea = super_power
				}
			}
			country_exists = USA
			USA = { is_subject = no }
			NOT = { has_war_with = USA }
			NOT = { has_country_flag = ser_exer_start }
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_uchenia_with_usa"
			add_timed_idea = { idea = SER_usa_exer days = 120 }
			set_temp_variable = { percent_change = 1.5 }
			set_temp_variable = { tag_index = USA }
			set_temp_variable = { influence_target = SER }
			change_influence_percentage = yes
			set_country_flag = ser_exer_start
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_uchenia_with_usa"
			clr_country_flag = ser_exer_start
		}
		ai_will_do = {
			base = 355
		}
	}
}
###########DOCTRINES###########
SER_doctrine_category = {
	SER_anti_rom_doctrines = {
		icon = GFX_decision_doctrine_rom_button
		cost = 25
		days_remove = 500
		available = {
			country_exists = ROM
			NOT = { has_idea = SER_anti_rom_doc }
			NOT = { has_country_flag = prepare_change_doctrine }
			OR = {
				has_idea = SER_defence_doctrine
				has_idea = SER_anti_bos_doc
				has_idea = SER_anti_bul_doc
				has_idea = SER_anti_cro_doc
			}
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_rom_doctrines"
			if = {
				limit = { has_idea = SER_defence_doctrine }
				swap_ideas = {
					remove_idea = SER_defence_doctrine
					add_idea = SER_anti_rom_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bos_doc }
				swap_ideas = {
					remove_idea = SER_anti_bos_doc
					add_idea = SER_anti_rom_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bul_doc }
				swap_ideas = {
					remove_idea = SER_anti_bul_doc
					add_idea = SER_anti_rom_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_cro_doc }
				swap_ideas = {
					remove_idea = SER_anti_cro_doc
					add_idea = SER_anti_rom_doc
				}
			}
			set_country_flag = prepare_change_doctrine
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_rom_doctrines"
			clr_country_flag = prepare_change_doctrine
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_anti_bul_doctrines = {
		icon = GFX_decision_doctrine_bul_button
		cost = 25
		days_remove = 500
		available = {
			country_exists = BUL
			NOT = { has_idea = SER_anti_bul_doc }
			NOT = { has_country_flag = prepare_change_doctrine }
			OR = {
				has_idea = SER_defence_doctrine
				has_idea = SER_anti_bos_doc
				has_idea = SER_anti_rom_doc
				has_idea = SER_anti_cro_doc
			}
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_bul_doctrines"
			if = {
				limit = { has_idea = SER_defence_doctrine }
				swap_ideas = {
					remove_idea = SER_defence_doctrine
					add_idea = SER_anti_bul_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bos_doc }
				swap_ideas = {
					remove_idea = SER_anti_bos_doc
					add_idea = SER_anti_bul_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_rom_doc }
				swap_ideas = {
					remove_idea = SER_anti_rom_doc
					add_idea = SER_anti_bul_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_cro_doc }
				swap_ideas = {
					remove_idea = SER_anti_cro_doc
					add_idea = SER_anti_bul_doc
				}
			}
			set_country_flag = prepare_change_doctrine
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_bul_doctrines"
			clr_country_flag = prepare_change_doctrine
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_anti_bos_doctrines = {
		icon = GFX_decision_doctrine_bos_button
		cost = 25
		days_remove = 500
		available = {
			country_exists = BOS
			NOT = { has_idea = SER_anti_bos_doc }
			NOT = { has_country_flag = prepare_change_doctrine }
			OR = {
				has_idea = SER_defence_doctrine
				has_idea = SER_anti_rom_doc
				has_idea = SER_anti_bul_doc
				has_idea = SER_anti_cro_doc
			}
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_bos_doctrines"
			if = {
				limit = { has_idea = SER_defence_doctrine }
				swap_ideas = {
					remove_idea = SER_defence_doctrine
					add_idea = SER_anti_bos_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bul_doc }
				swap_ideas = {
					remove_idea = SER_anti_bul_doc
					add_idea = SER_anti_bos_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_rom_doc }
				swap_ideas = {
					remove_idea = SER_anti_rom_doc
					add_idea = SER_anti_bos_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_cro_doc }
				swap_ideas = {
					remove_idea = SER_anti_cro_doc
					add_idea = SER_anti_bos_doc
				}
			}
			set_country_flag = prepare_change_doctrine
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_bos_doctrines"
			clr_country_flag = prepare_change_doctrine
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_anti_cro_doctrines = {
		icon = GFX_decision_doctrine_cro_button
		cost = 25
		days_remove = 500
		available = {
			NOT = { has_idea = SER_anti_cro_doc }
			NOT = { has_country_flag = prepare_change_doctrine }
			OR = {
				has_idea = SER_defence_doctrine
				has_idea = SER_anti_rom_doc
				has_idea = SER_anti_bul_doc
				has_idea = SER_anti_bos_doc
			}
		}

		visible = {
			country_exists = CRO
			is_subject = no
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_cro_doctrines"
			if = {
				limit = { has_idea = SER_defence_doctrine }
				swap_ideas = {
					remove_idea = SER_defence_doctrine
					add_idea = SER_anti_cro_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bul_doc }
				swap_ideas = {
					remove_idea = SER_anti_bul_doc
					add_idea = SER_anti_cro_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_rom_doc }
				swap_ideas = {
					remove_idea = SER_anti_rom_doc
					add_idea = SER_anti_cro_doc
				}
			}
			if = {
				limit = { has_idea = SER_anti_bos_doc }
				swap_ideas = {
					remove_idea = SER_anti_bos_doc
					add_idea = SER_anti_cro_doc
				}
			}
			set_country_flag = prepare_change_doctrine
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_anti_cro_doctrines"
			clr_country_flag = prepare_change_doctrine
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_de_fence_doctrines = {
		icon = GFX_decision_doctrine_defence_button
		cost = 25
		days_remove = 500
		available = {
			NOT = { has_idea = SER_defence_doctrine }
			NOT = { has_country_flag = prepare_change_doctrine }
			OR = {
				has_idea = SER_anti_rom_doc
				has_idea = SER_anti_bos_doc
				has_idea = SER_anti_bul_doc
				has_idea = SER_anti_cro_doc
			}
		}
		visible = {
			is_subject = no
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_de_fence_doctrines"
			if = {
				limit = { has_idea = SER_anti_cro_doc }
				swap_ideas = {
					remove_idea = SER_anti_cro_doc
					add_idea = SER_defence_doctrine
				}
			}
			if = {
				limit = { has_idea = SER_anti_bul_doc }
				swap_ideas = {
					remove_idea = SER_anti_bul_doc
					add_idea = SER_defence_doctrine
				}
			}
			if = {
				limit = { has_idea = SER_anti_rom_doc }
				swap_ideas = {
					remove_idea = SER_anti_rom_doc
					add_idea = SER_defence_doctrine
				}
			}
			if = {
				limit = { has_idea = SER_anti_bos_doc }
				swap_ideas = {
					remove_idea = SER_anti_bos_doc
					add_idea = SER_defence_doctrine
				}
			}
			set_country_flag = prepare_change_doctrine
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_de_fence_doctrines"
			clr_country_flag = prepare_change_doctrine
		}
		ai_will_do = {
			base = 355
		}
	}
}
###########TERRITORIAL DEFENCE SERBIA###########
SER_ter_oborona_category = {
	SER_ter_oborona_serbia = {
		icon = GFX_decision_ter_oborona_button
		cost = 45
		days_remove = 45
		fire_only_once = yes
		available = {
			owns_state = 131
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_ter_oborona_serbia"
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 702 }
				create_unit = {
					division = "name = \"Territorial Defense Brigade\" division_template = \"Territorial Defense Brigade\" start_experience_factor = 0.1"
					owner = SER
				}
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_ter_oborona_bosnia = {
		icon = GFX_decision_ter_oborona_button
		cost = 45
		days_remove = 20
		fire_only_once = yes
		available = {
			owns_state = 128
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_ter_oborona_bosnia"
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 702 }
				create_unit = {
					division = "name = \"Territorial Defense Brigade\" division_template = \"Territorial Defense Brigade\" start_experience_factor = 0.1"
					owner = SER
				}
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_ter_oborona_croatia = {
		icon = GFX_decision_ter_oborona_button
		cost = 45
		days_remove = 20
		fire_only_once = yes
		available = {
			owns_state = 126
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_ter_oborona_croatia"
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 702 }
				create_unit = {
					division = "name = \"Territorial Defense Brigade\" division_template = \"Territorial Defense Brigade\" start_experience_factor = 0.1"
					owner = SER
				}
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_ter_oborona_slovenia = {
		icon = GFX_decision_ter_oborona_button
		cost = 45
		days_remove = 20
		fire_only_once = yes
		available = {
			owns_state = 124
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_ter_oborona_slovenia"
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 702 }
				create_unit = {
					division = "name = \"Territorial Defense Brigade\" division_template = \"Territorial Defense Brigade\" start_experience_factor = 0.1"
					owner = SER
				}
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	SER_ter_oborona_macedonia = {
		icon = GFX_decision_ter_oborona_button
		cost = 45
		days_remove = 20
		fire_only_once = yes
		available = {
			owns_state = 136
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_ter_oborona_macedonia"
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 702 }
				create_unit = {
					division = "name = \"Territorial Defense Brigade\" division_template = \"Territorial Defense Brigade\" start_experience_factor = 0.1"
					owner = SER
				}
			}
		}

		ai_will_do = {
			base = 355
		}
	}
}
###########INTEGRATE YUGOSLAVIA###########
SER_integrate_yugoslavia_category = {
	SER_bosnia_return = {
		icon = GFX_decision_ser_yug_bos_integrate_button

		days_remove = 220
		fire_only_once = yes

		visible = {
			owns_state = 129
			owns_state = 128
			owns_state = 1052
			owns_state = 1053
			owns_state = 1054
			owns_state = 1051
		}

		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_bosnia_return"
			add_state_core = 129
			add_state_core = 128
			add_state_core = 1052
			add_state_core = 1053
			add_state_core = 1054
			add_state_core = 1051
		}

		ai_will_do = {
			base = 355
		}
	}
	SER_croatia_returns = {
		icon = GFX_decision_ser_yug_cro_integrate_button

		days_remove = 220
		fire_only_once = yes

		visible = {
			owns_state = 127
			owns_state = 126
		}

		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_croatia_returns"
			add_state_core = 127
			add_state_core = 126
		}

		ai_will_do = {
			base = 355
		}
	}
	SER_slovenia_returns = {
		icon = GFX_decision_ser_yug_slv_integrate_button

		days_remove = 220
		fire_only_once = yes

		visible = {
			owns_state = 124
			owns_state = 125
		}

		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_slovenia_returns"
			add_state_core = 124
			add_state_core = 125
		}

		ai_will_do = {
			base = 355
		}
	}
	SER_macedonia_returns = {
		icon = GFX_decision_ser_yug_fyr_integrate_button

		days_remove = 220
		fire_only_once = yes

		visible = {
			owns_state = 136
			owns_state = 135
		}

		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_macedonia_returns"
			add_state_core = 135
			add_state_core = 136
		}

		ai_will_do = {
			base = 355
		}
	}
}
###########INTEGRATE BOSNIA###########
SER_integrate_bosnia_category = {
	SER_serpska_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 129
			NOT = { 129 = { is_core_of = SER } }
		}

		cost = 50

		highlight_states = {
			highlight_state_targets = { state = 129 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_serpska_returns"
			add_state_core = 129
		}

		ai_will_do = {
			base = 355
		}
	}
	SER_bosnia_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 128
			NOT = { 128 = { is_core_of = SER } }
		}

		highlight_states = {
			highlight_state_targets = { state = 128 }
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_bosnia_returns"
			add_state_core = 128
		}

		ai_will_do = {
			base = 355
		}
	}
	SER_herce_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 1052
			NOT = { 1052 = { is_core_of = SER } }
		}

		highlight_states = {
			highlight_state_targets = { state = 1052 }
		}

		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_herce_returns"
			add_state_core = 1052
		}

		ai_will_do = {
			base = 355
		}
	}

	SER_brcko_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 1053
			NOT = { 1053 = { is_core_of = SER } }
		}

		highlight_states = {
			highlight_state_targets = { state = 1053 }
		}

		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_brcko_returns"
			add_state_core = 1053
		}

		ai_will_do = {
			base = 355
		}
	}

	SER_westserbska_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 1054
			NOT = { 1054 = { is_core_of = SER } }
		}

		highlight_states = {
			highlight_state_targets = { state = 1054 }
		}

		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_westserbska_returns"
			add_state_core = 1054
		}

		ai_will_do = {
			base = 355
		}
	}

	SER_unsko_returns = {
		icon = GFX_decision_bosnia_integrate_button
		fire_only_once = yes
		days_remove = 220

		visible = {
			owns_state = 1051
			NOT = { 1051 = { is_core_of = SER } }
		}

		highlight_states = {
			highlight_state_targets = { state = 1051 }
		}

		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_unsko_returns"
			add_state_core = 1051
		}

		ai_will_do = {
			base = 355
		}
	}
}

###########BALKAN FEDERATION###########
SER_balkan_federation_category = {
	SER_invite_bosnia = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = {
				has_war_with = BOS
			}
			BOS = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_bos
			country_exists = BOS
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_bosnia"
			BOS = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_croatia = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = {
				has_war_with = CRO
			}
			CRO = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_slv_cro
			country_exists = CRO
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_croatia"
			CRO = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_slovenia = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = { has_war_with = SLV }
			SLV = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_slv_cro
			country_exists = SLV
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_slovenia"
			SLV = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_makedonia = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			country_exists = FYR
			NOT = {
				has_war_with = FYR
			}
			FYR = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_mac_kos
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_makedonia"
			FYR = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_greece = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = {
				has_war_with = GRE
			}
			GRE = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_gre
			country_exists = GRE
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_greece"
			GRE = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_albania = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = { has_war_with = ALB }
			ALB = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_alb
			country_exists = ALB
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_albania"
			ALB = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_bulgaria = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			NOT = { has_war_with = BUL }
			BUL = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_bul
			country_exists = BUL
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_bulgaria"
			BUL = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
	SER_invite_romania = {
		icon = GFX_decision_balkan_fed_button
		cost = 75
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			country_exists = ROM
			NOT = {
				has_war_with = ROM
			}
			ROM = {
				influence_higher_20 = yes
			}
		}
		visible = {
			has_completed_focus = SER_confederation_romania
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision SER_invite_romania"
			ROM = { country_event = { id = SerbiaFocus.17 days = 1 } }
		}
	}
}
###########VOJVODINA SEPARATISM###########
SER_vojvodina_separatism_category = {
	VOJ_more_separ = {
		icon = GFX_decision_ser_voj_button
		allowed = { original_tag = VOJ }
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			OR = {
				has_autonomy_state = autonomy_autonomous_province1
				has_autonomy_state = autonomy_autonomous_province
			}
		}
		visible = {
			NOT = { has_country_flag = our_federation }
			is_subject = yes
		}
		cost = 35

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_more_separ"
			set_temp_variable = { modify_voj_separ = 5 }
			modify_voj_separ_support = yes
		}
	}
	VOJ_more_autonomy = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = VOJ }
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}

		visible = {
			has_completed_focus = VOJ_autonomy
			has_autonomy_state = autonomy_autonomous_province
			is_subject = yes
		}
		cost = 40

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_more_autonomy"
			SER = {
				country_event = {
					id = SerbiaFocus.108
					days = 1
				}
			}
		}
	}
	VOJ_more_army = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = VOJ }
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			country_exists = VOJ
		}
		visible = {
			has_completed_focus = VOJ_vs
			has_autonomy_state = autonomy_autonomous_province1

			has_idea = SER_subject_idea
			country_exists = SER
		}
		cost = 40

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_more_army"
			SER = {
				country_event = {
					id = SerbiaFocus.104
					days = 1
				}
			}
		}
	}
	VOJ_more_federation = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = VOJ }
		cost = 40
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			country_exists = VOJ
		}
		visible = {
			has_completed_focus = VOJ_true_fed
			has_autonomy_state = autonomy_autonomous_province1

			NOT = { has_idea = SER_republic_ser }
			country_exists = SER
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_more_federation"
			SER = {
				country_event = {
					id = SerbiaFocus.101
					days = 1
				}
			}
		}
	}
	VOJ_integrate_buff = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = SER }
		cost = 40
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			VOJ = {
				OR = {
					has_autonomy_state = autonomy_autonomous_province1
					has_autonomy_state = autonomy_autonomous_province
				}
			}
		}
		visible = {
			country_exists = VOJ
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_integrate_buff"
			VOJ = {
				set_temp_variable = { modify_voj_integr = 5 }
				modify_voj_integr_support = yes
			}
		}
	}
	VOJ_separ_debuff = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = SER }
		cost = 25
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			VOJ = {
				OR = {
					has_autonomy_state = autonomy_autonomous_province1
					has_autonomy_state = autonomy_autonomous_province
				}
			}
		}
		visible = {
			has_completed_focus = SER_mvd
			country_exists = VOJ
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_separ_debuff"
			VOJ = {
				set_temp_variable = { modify_voj_separ = -3 }
				modify_voj_separ_support = yes
			}
		}
	}
	VOJ_separ_debuff1 = {
		icon = GFX_decision_ser_voj_button1
		allowed = { original_tag = SER }
		cost = 40
		fire_only_once = no
		days_remove = 320
		ai_will_do = {
			base = 355
		}
		available = {
			VOJ = {
				OR = {
					has_autonomy_state = autonomy_autonomous_province1
					has_autonomy_state = autonomy_autonomous_province
				}
			}
		}
		visible = {
			has_completed_focus = SER_anti_terror
			country_exists = VOJ
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision VOJ_separ_debuff1"
			VOJ = {
				set_temp_variable = { modify_voj_separ = -5 }
				modify_voj_separ_support = yes
			}
		}
	}
}
###########KOSOVO###########
KOS_albania_union = {
	KOS_unity_boost = {
		available = {
			custom_trigger_tooltip = {
				check_variable = { from.KOS_serbs > 0.49 }
				tooltip = KOS_serb_opinion
			}
			is_subject = no
			ALB = {
				influence_higher_15 = yes
			}
		}
		icon = GFX_decision_kos_boost_button
		days_remove = 12
		visible = {
			country_exists = ALB
		}

		cost = 25

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_unity_boost"
			custom_effect_tooltip = KOS_boost_unity
			add_to_variable = { var = KOS_albania value = 0.02 }
			clamp_variable = { var = KOS_albania min = 0 max = 1 }
		}
		ai_will_do = {
			base = 355
		}
	}
	#
	KOS_appease_serbs = {
		available = {
			custom_trigger_tooltip = {
				tooltip = KOS_appease_serbs_tt
				check_variable = { KOS_serbs < 0.99 }
			}
		}
		icon = GFX_decision_kos_serb_down_button
		days_remove = 12
		visible = {
			country_exists = ALB
		}
		cost = 25

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_appease_serbs"
			custom_effect_tooltip = KOS_SER_opinion_increase_2
			add_to_variable = { var = KOS_serbs value = 0.02 }
			clamp_variable = { var = KOS_serbs min = 0 max = 1 }
		}
		ai_will_do = {
			base = 355
		}
	}
	#
	KOS_unify = {

		available = {
			custom_trigger_tooltip = {
				check_variable = { KOS_serbs > 0.49 }
				tooltip = KOS_serb_opinion
			}
			custom_trigger_tooltip = {
				tooltip = KOS_tooltip_unify
				check_variable = { KOS_albania > 0.99 }
			}
		}
		visible = {
			country_exists = ALB
		}
		icon = GFX_decision_kos_unify_button
		days_remove = 12
		cost = 35

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_unify"
			ALB = {
				country_event = kosovo.7
			}
		}
		ai_will_do = {
			base = 355
		}
	}
}
####
KOS_int_recognition = {
	KOS_recognition_from_china = {
		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_asia
			NOT = { has_country_flag = KOS_china_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 31
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_china"
			KOS_icj_recognition_rebate_effect = yes
			CHI = {
				country_event = kosovo_rec.1
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_india = {

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_asia
			NOT = { has_country_flag = KOS_india_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_india"
			KOS_icj_recognition_rebate_effect = yes
			RAJ = {
				country_event = kosovo_rec.4
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_indonesia = {

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_asia
			NOT = { has_country_flag = KOS_indonesia_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_indonesia"
			KOS_icj_recognition_rebate_effect = yes
			IND = {
				country_event = kosovo_rec.5
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_brazil = {

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_south_america
			NOT = { has_country_flag = KOS_brazil_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_brazil"
			KOS_icj_recognition_rebate_effect = yes
			BRA = {
				country_event = kosovo_rec.7
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_argentina = {

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_south_america
			NOT = { has_country_flag = KOS_argentina_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_argentina"
			KOS_icj_recognition_rebate_effect = yes
			ARG = {
				country_event = kosovo_rec.8
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_chile = {

		icon = GFX_decision_recogn_unn_button
		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_south_america
			NOT = { has_country_flag = KOS_chile_rec }
		}
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_chile"
			KOS_icj_recognition_rebate_effect = yes
			CHL = {
				country_event = kosovo_rec.9
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_belarus = {
		icon = GFX_decision_recogn_unn_button

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_ukraine
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_east_europe
			NOT = { has_country_flag = KOS_belarus_rec }
		}
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_belarus"
			KOS_icj_recognition_rebate_effect = yes
			BLR = {
				country_event = kosovo_rec.10
			}
		}

		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_ukraine = {
		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_russia
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_east_europe
			NOT = { has_country_flag = KOS_ukraine_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_ukraine"
			KOS_icj_recognition_rebate_effect = yes
			UKR = {
				country_event = kosovo_rec.11
			}
		}
		ai_will_do = {
			base = 355
		}
	}
	KOS_recognition_from_russia = {

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = only_one_decision_is_available_TT
					OR = {
						has_decision = KOS_recognition_from_china
						has_decision = KOS_recognition_from_india
						has_decision = KOS_recognition_from_indonesia
						has_decision = KOS_recognition_from_brazil
						has_decision = KOS_recognition_from_argentina
						has_decision = KOS_recognition_from_chile
						has_decision = KOS_recognition_from_belarus
						has_decision = KOS_recognition_from_ukraine
					}
				}
			}
		}
		visible = {
			has_completed_focus = KOS_campaign_east_europe
			NOT = { has_country_flag = KOS_russia_rec }
		}
		icon = GFX_decision_recogn_unn_button
		days_remove = 35
		days_re_enable = 100
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOS_recognition_from_russia"
			KOS_icj_recognition_rebate_effect = yes
			SOV = {
				country_event = kosovo_rec.12
			}
		}
		ai_will_do = {
			base = 355
		}
	}
}
