BUL_sofia_pact = {

	BUL_sofia_pact_mission = {

		allowed = { always = yes }

		icon = ger_mefo_bills


		available = { 
			hidden_effect = { always = no }
			has_war = yes
		}

		days_mission_timeout = 360
		is_good = yes
		fire_only_once = yes
		
		days_remove = 180
		
		remove_effect = { }
		complete_effect = { }
		timeout_effect = {
			clr_country_flag = sofia_pact_ongoing
		}
	}
	
	BLK_divide_and_rule = {
	
		icon = decision_generic_nationalism
	
		visible = {
			country_exists = YUG
		}
		
		available = {
		}
	
		cost = 0
	
		complete_effect = {
			YUG = {
				release = SLV
				release = CRO
				release = HRZ
				release = BOS
				release = MNT
				release = SER
				release = MAC
				
			}
			ROM = {
				release = TRA
				release = MOL
			}

			BUL = {
				puppet = SLV
				puppet = CRO
				puppet = HRZ
				puppet = BOS
				puppet = MNT
				puppet = SER
				puppet = MAC
				
				puppet = TRA
				puppet = MOL
			}
			
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							is_core_of = SER
							is_core_of = CRO
							is_core_of = HRZ
							is_core_of = SLV
							is_core_of = BOS
							is_core_of = MNT
							is_core_of = MNT
							is_core_of = MAC
						}
					}
					add_core_of = YUG
				}
				
				every_state = {
					limit = {
						OR = {
							is_core_of = TRA
							is_core_of = MOL
						}
					}
					add_core_of = ROM
				}
			}
		
		}
	}
	
	BUL_sieze_dobruja = {
	
		icon = decision_generic_nationalism
		cost = 0
	
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			77 = {
				add_core_of = BUL
				transfer_state_to = BUL
			}
		}
		
	}
	
	BUL_sieze_macedonia = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			BUL = { set_country_flag = has_siezed_macedonia }
			106 = {
				hidden_effect = {
					if = {
						limit = { is_core_of = SER }
						remove_core_of = SER
					}
				}
				add_core_of = BUL
				transfer_state_to = BUL
			}
			803 = {
				hidden_effect = {
					if = {
						limit = { is_core_of = SER }
						remove_core_of = SER
					}
				}
				add_core_of = BUL
				transfer_state_to = BUL
			}
		}
		
	}
	
	BUL_sieze_frakia = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		fire_only_once = yes
		days_remove = -1
		
		visible = {
			341 = { is_owned_by = TUR }
		}
		
		complete_effect = {
			set_country_flag = has_siezed_frakia
			184 = {
				transfer_state_to = BUL
			}
			731 = {
				transfer_state_to = BUL
			}
		}
	}
	
	BUL_annex_albania = {
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			BUL = { has_subject = ALB }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			BUL = { 
				annex_country = {
					target = ALB
					transfer_troops = yes
				}
			}
			hidden_effect = {
				BUL = {
					add_state_core = 934
					add_state_core = 44
					add_state_core = 805
				}
			}
		}
	
	}
	
	BUL_sieze_eridne = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			341 = { is_owned_by = TUR }
			TUR = { is_subject_of = BUL }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			341 = {
				transfer_state_to = BUL
			}
		}
	}
	
	TUR_demand_eridne = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			341 = { is_owned_by = TUR }
			NOT = { TUR = { is_subject_of = BUL } }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			add_political_power = -300
			TUR = { add_ideas = bul_bulgarian_deal }
			if = {
				limit = { GRE = { is_subject_of = BUL } }
				341 = {
					add_core_of = GRE
					transfer_state_to = GRE
					set_demilitarized_zone = no
				}
			}
			else = {
				341 = {
					transfer_state_to = BUL
					set_demilitarized_zone = no
				}
			}
		}
	}
	
	TUR_demand_stambul = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			797 = { is_owned_by = TUR }
			NOT = { TUR = { is_subject_of = BUL } }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			country_event = { id = boris.1 }
		}
	}
	
	BUL_sieze_stambul = {
	
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			OR = {
				AND = { 797 = { is_owned_by = TUR } TUR = { is_subject_of = BUL } }
				AND = { 797 = { is_owned_by = GRE } TUR = { is_subject_of = BUL } }
			}
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			797 = {
				transfer_state_to = BUL
				set_compliance = 90
			}
		}
	}
	
	GRE_sieze_stambul = {
	
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			731 = { is_owned_by = GRE }
			184 = { is_owned_by = GRE }
			has_subject = GRE
			797 = { OR = { AND = { is_owned_by = TUR TUR = { is_subject_of = BUL } } is_owned_by = BUL } }
		}
		
		available = {
			341 = { is_owned_by = GRE }
		}
		
		fire_only_once = yes
		days_remove = -1
	
		complete_effect = {
			797 = {
				transfer_state_to = GRE
				add_core_of = GRE
			}
		}
	}
	
	GRE_sieze_eridne = {
	
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			731 = { is_owned_by = GRE }
			184 = { is_owned_by = GRE }
			has_subject = GRE
			OR = { 341 = { is_owned_by = BUL } TUR = { is_subject_of = BUL } }
		}
		
		fire_only_once = yes
		days_remove = -1
	
		complete_effect = {
			341 = {
				add_core_of = GRE
				transfer_state_to = GRE
			}
		}
	}
	
	GRE_sieze_epirus = {
	
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			has_subject = GRE
		}
		
		available = { 805 = { OR = { owner = { TAG = BUL } owner = { is_subject_of = BUL} } } }
		
		
		fire_only_once = yes
		days_remove = -1
	
		complete_effect = {
			805 = {
				add_core_of = GRE
				transfer_state_to = GRE
			}
		}
	}

	YUG_annex_albania = {
		icon = decision_generic_nationalism
		cost = 0
		
		visible = {
			country_exists = YUG
			BUL = { has_subject = ALB }
		}
		
		available = {
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			YUG = {
				annex_country = {
					target = ALB
					transfer_troops = yes
				}
			}
			hidden_effect = {
				YUG = {
					add_state_core = 934
					add_state_core = 44
					add_state_core = 805
				}
			}
		}
	
	}

	
	YUG_divide_yugoslavia = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			country_exists = YUG
		}
		
		fire_only_once = yes
		days_remove = -1
	
		complete_effect = {
			hidden_effect = {
				SER = {
					add_state_core = 105
					add_state_core = 106
					add_state_core = 104 #bosnia
					if = {
						limit = { 82 = { is_owned_by = YUG } }
						82 = { transfer_state_to = SER }
					}
				}
				CRO = {
					add_state_core = 804 # hertzegovina
				}
				YUG = {
					release = SER
					release = CRO
					release = SLV
					release = ALB
				}
			}
			
			BUL = {
				puppet = SER
				puppet = CRO
				puppet = SLV
				if = {
					limit = { country_exists = ALB }
					puppet = ALB
				}
				
			}
		}
	}
	
	YUG_sieze_banat = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			764 = { is_owned_by = YUG }
			82 = { is_owned_by = ROM }
			BUL = { has_subject = YUG }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			82 = {
				add_core_of = YUG
				transfer_state_to = YUG
			}
		}
	
	}
	
	ROM_sieze_banat = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			82 = { is_owned_by = ROM }
			764 = { is_owned_by = YUG }
			BUL = { has_subject = ROM }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			764 = {
				add_core_of = ROM
				transfer_state_to = ROM
			}
		}
	}
	
	HUN_sieze_voevodina = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			82 = { NOT = { is_owned_by = YUG } }
			BUL = { has_subject = HUN }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			45 = {
				add_core_of = HUN
				transfer_state_to = HUN
			}
			if = {
				limit = { 82 = { is_owned_by = HUN } }
				764 = {
					transfer_state_to = HUN
					set_compliance = 90
				}
			}
		}
	}
	
	HUN_sieze_transylvania = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			84 = { NOT = { is_owned_by = HUN } }
			BUL = { has_subject = ROM }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			if = {
				limit = { 76 = { NOT = { is_owned_by = HUN } } }
				76 = {
					transfer_state_to = HUN
					set_compliance = 90
				}
			}
			83 = {
				transfer_state_to = HUN
				set_compliance = 90
			}
			84 = {
				transfer_state_to = HUN
				set_compliance = 90
			}
			if = {
				limit = { 82 = { NOT = { is_owned_by = YUG } } }
				82 = {
					transfer_state_to = HUN
					set_compliance = 90
				}
			}
			if = {
				limit = { 45 = { is_owned_by = HUN } }
				764 = {
					transfer_state_to = HUN
					set_compliance = 90
				}
			}
		}
	
	}
	
	HUN_sieze_northern_transylvania = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			76 = { NOT = { is_owned_by = HUN } }
			BUL = { has_subject = ROM }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			76 = {
				transfer_state_to = HUN
				set_compliance = 90
			}
		}
	
	}
	
	ALB_sieze_kosovo = {
		icon = decision_generic_nationalism
		cost = 0
	
		visible = {
			802 = { NOT = { is_owned_by = ALB } }
			BUL = { has_subject = YUG }
		}
		
		fire_only_once = yes
		days_remove = -1
		
		complete_effect = {
			802 = {
				transfer_state_to = ALB
				add_core_of = ALB
			}
		}
	
	}

}