# Convention of Constantinople - everyone agrees
country_event = {
	id = 100008
	title = "EVTNAME100008"
	desc = "EVTDESC100008"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100008"
		release_vassal = MOL
		release_vassal = WAL
		release_vassal = ROM
		any_owned = {
			limit = {
					owned_by = TUR }
		TUR_810 = {
			secede_province = BUL
		}
		798 = {
			secede_province = SER
		}
		818 = {
			secede_province = BUL
		}
		799 = {
			secede_province = SER
		}
		794 = {
			secede_province = SER
		}
		795 = {
			secede_province = SER
		}
		796 = {
			secede_province = SER
		}
		797 = {
			secede_province = SER
		}
		674 = {
			secede_province = ROM
		}
		675 = {
			secede_province = ROM
		}
		800 = {
			secede_province = MON
		}
		2583 = {
			secede_province = MON
		}
		TUR_788 = {
			secede_province = BOS
		}
		804 = {
			secede_province = BOS
		}
		2577 = {
			secede_province = BOS
		}
		885 = {
			secede_province = RUS
		}
		886 = {
			secede_province = RUS
		}
		1096 = {
			secede_province = RUS
		}
		2569 = {
			secede_province = MON
		}
		2655 = {
			secede_province = BUL
		}
		831 = {
			secede_province = GRE
		}
		832 = {
			secede_province = GRE
		}
		833 = {
			secede_province = GRE
		}
		839 = {
			secede_province = GRE
		}
		840 = {
			secede_province = GRE
		}
		841 = {
			secede_province = GRE
		}
		842 = {
			secede_province = GRE
		}
		834 = {
			secede_province = GRE
		}
		825 = {
			secede_province = GRE
		}
						ROM = { country_event = 100010 }
		CYP = { all_core = { secede_province = FROM
					remove_core = TUR } }
		TUR_674 = { remove_core = TUR } # Dobrudja
        	TUR_788 = { remove_core = TUR } # Bosnia
        	TUR_810 = { remove_core = TUR } # Bulgaria
        	TUR_803 = { remove_core = TUR } # S.Serbia
        	MON_2582 = { remove_core = TUR } # Montenegro
        	TUR_853 = { remove_core = TUR } # Albania
        	TUR_832 = { remove_core = TUR } # Thessalia
        	847 = { remove_core = TUR } #Chania
        	848 = { remove_core = TUR } #Iraklion
        	1096 = { remove_core = TUR } } #Iraklion
		create_vassal = BUL
		AUS = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		KUK = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}

		ai_chance = {
			factor = 80 }
	}
	
	option = {
		name = "EVTOPTB100008"
		RUS = {
			country_event = { id=100009 days=0 }
		}
		add_casus_belli = {
				target = RUS
				type = liberate_country
				months = 60
		}	
		add_casus_belli = {
				target = FRA
				type = liberate_country
				months = 60
		}
		add_casus_belli = {
				target = ENG
				type = liberate_country
				months = 60
		}	
		ai_chance = {
			factor = 20
		}
	}
}
# The Ottoman Empire refuses
country_event = {
	id = 100009
	title = "EVTNAME100009"
	desc = "EVTDESC100009"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100009"
		relation = { who = TUR value = -200 }
		release_vassal = TUR
		diplomatic_influence = {
			who = TUR
			value = -200
		}
		add_casus_belli = {
				target = RUS
				type = balkan_liberation
				months = 60
		}
		
		war = {
			target = TUR
			attacker_goal = {
				casus_belli = balkan_liberation
			}
		}
	}
}
#Bulgarian Rumelia
country_event = {

	id = 103200
	title = "EVTNAME103200"
	desc = "EVTDESC103200"
	picture = "rumelia"
	
	trigger = {
		tag = BUL
		year = 1885
		exists = BUL
		NOT = { 
			has_country_flag = bulgarian_rumelia
		}
	}

	fire_only_once = yes 
	
	option = {
		name = "EVTOPTA103200"
		any_pop = {
			consciousness = 2
			militancy = -2
		}
		diplomatic_influence = {
			who = TUR
			value = -400
		}
		relation = {
			who = TUR
			value = -200
			}
		2590 = {
			secede_province = BUL
		}
		816 = {
			secede_province = BUL
		}
		817 = {
			secede_province = BUL
		}
		TUR_808 = { remove_core = TUR }
	set_country_flag = bulgarian_rumelia
	}
}
#Bulgarian independence
country_event = {

	id = 103201
	title = "EVTNAME103201"
	desc = "EVTDESC103201"
	major = yes
	
	mean_time_to_happen = { months = 1 }
	fire_only_once = yes 
	
	trigger = {
		tag = BUL
		exists = BUL
		BUL = { vassal_of = TUR }
		NOT = { 
			has_global_flag = bulgaria_independent
			}
		OR = {
		AUS = {
			has_country_flag = austria_gains_bosnia
		}
		KUK = {
			has_country_flag = austria_gains_bosnia }
		year = 1890
		}
	}

	
	option = {
		name = "EVTOPTA103201"
		TUR = {
			release_vassal = BUL
		}
	set_global_flag = bulgaria_independent
	}
}
#England decides the fate of the Balkans
country_event = {
	id = 100003
	title = "EVTNAME100003"
	desc = "EVTDESC100003"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100003"
			TUR = {
				country_event = { id=100008 days = 5 }
			}

		ai_chance = {
			factor = 0.40 }
	}
	
	option = {
		name = "EVTOPTB100003"
		TUR = {
			country_event = { id=100004 days = 5 }
		}
		ai_chance = {
			factor = 0.60
		}
	}
}
country_event = {
	id = 100004
	title = "EVTNAME100004"
	desc = "EVTDESC100004"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100008"
		release_vassal = ROM
		ROM = { 
		676 = { secede_province = RUS }
		2701 = { secede_province = RUS } }
		any_owned = {
			limit = {
					owned_by = TUR }
		2655 = {
			secede_province = BUL
		}
			BOS = { all_core = { secede_province = BOS
						remove_core = TUR } }
			MON = { all_core = { secede_province = MON
						remove_core = TUR } }
			SER = { all_core = { secede_province = SER
						remove_core = TUR } }
			BUL = { all_core = { secede_province = BUL
						remove_core = TUR } }
			release_vassal = BUL
			BUL = { capital = 809 }

			ALB = { all_core = { secede_province = ALB
						remove_core = TUR } }
			ALB = { capital = 849 }
			GRE = { all_core = { secede_province = GRE
						remove_core = TUR } }
			ROM = { all_core = { secede_province = ROM 
						remove_core = TUR }  } }
			ROM = { country_event = 100010 }
		AUS = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		KUK = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}

		ai_chance = {
			factor = 30 }
	}
	
	option = {
		name = "EVTOPTB100008"
		RUS = {
			country_event = { id=100009 days=0 }
		}	
		ai_chance = {
			factor = 70
		}
	}
}
#Russia decides the fate of the Balkans
country_event = {
	id = 100001
	title = "EVTNAME100001"
	desc = "EVTDESC100001"
	picture = "constantinople_conference"
	
	fire_only_once = yes 
	
	trigger = { tag = RUS
			TUR = { NOT = { is_greater_power = yes } } 
			OR = { AND = { TUR = { in_sphere = RUS } year = 1865 }
					year = 1878 } 
			NOT = { has_country_flag = treaty_of_paris_russia } 
			NOT = { has_country_flag = no_constantinople }	}
			
	option = {
		name = "Let's see what the greatest power thinks of this move."
		ENG = { country_event = { id = 100003 } } 
		}
}
#Freedom of balkans
country_event = {
	id = 118001
	title = "Dismantling the Ottoman Empire"
	desc = "With our glorioud victory, now the Ottoman Empire must accept our terms"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "Only liberate Balkan people."
		TUR = { country_event = 1180011 }
		}
	option = {
		name = "Liberate Christian peoples in Anatolia as well."
		TUR = { country_event = 1180012 }
		}
	option = {
		name = "Be mild."
		TUR = { country_event = 1180013 }
		}
	}
#Freedom of balkans
country_event = {
	id = 1180011
	title = "Fate of the loser"
	desc = "With their crushing defeat, we have now to choose what nations will be free"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100008"
		release_vassal = MOL
		release_vassal = WAL
		release_vassal = ROM
		any_owned = {
			limit = {
					owned_by = TUR }
			859 = { secede_province = RUS  }
			865 = { secede_province = RUS  }
			863 = { secede_province = RUS  }
			862 = { secede_province = RUS  }
			BUL = { all_core = { secede_province = BUL
						remove_core = TUR } }
			858 = { secede_province = BUL  }
			828 = { secede_province = BUL }
			807 = { secede_province = BUL  }
			806 = { secede_province = BUL  }
		2655 = {
			secede_province = BUL
		}
			675 = { secede_province = BUL  }
			799 = { secede_province = BUL  }
			805 = { secede_province = BUL  }
			819 = { secede_province = BUL  }
			BOS = { all_core = { secede_province = BOS
						remove_core = TUR } }
			MON = { all_core = { secede_province = MON
						remove_core = TUR } }
			SER = { all_core = { secede_province = SER
						remove_core = TUR } }
			BUL = { all_core = { secede_province = BUL
						remove_core = TUR } }
			BUL = { capital = 809 }

			ALB = { all_core = { secede_province = ALB
						remove_core = TUR } }
			ALB = { capital = 849 }
			GRE = { all_core = { secede_province = GRE
						remove_core = TUR } }
			ROM = { all_core = { secede_province = ROM 
						remove_core = TUR } }
			860 = { secede_province = RUS  }
			861 = { secede_province = RUS  } }
			MOL = { all_core = { remove_core = RUS } }	
			RUS = { country_event = 118002 }	
			
		AUS = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		KUK = {
		diplomatic_influence = {
			who = BOS
			value = 400 }
				}
		}
	}
#Freedom of Armenians
country_event = {
	id = 1180012
	title = "EVTNAME100004"
	desc = "EVTDESC100004"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	option = {
		name = "EVTOPTA100008"
		release_vassal = MOL
		release_vassal = WAL
		release_vassal = ROM
		any_owned = {
			limit = {
					owned_by = TUR }
			859 = { secede_province = RUS  }
			865 = { secede_province = RUS  }
			863 = { secede_province = RUS  }
			862 = { secede_province = RUS  }
			886 = { secede_province = RUS  }
			885 = { secede_province = RUS  }
			1096 = { secede_province = RUS  }
			882 = { secede_province = RUS  }
			884 = { secede_province = RUS  }
			BUL = { all_core = { secede_province = BUL
						remove_core = TUR } }
			858 = { secede_province = BUL  }
			828 = { secede_province = BUL }
			807 = { secede_province = BUL  }
			806 = { secede_province = BUL  }
		2655 = {
			secede_province = BUL
		}
			675 = { secede_province = BUL  }
			799 = { secede_province = BUL  }
			805 = { secede_province = BUL  }
			819 = { secede_province = BUL  }
			BOS = { all_core = { secede_province = BOS
						remove_core = TUR } }
			MON = { all_core = { secede_province = MON
						remove_core = TUR } }
			SER = { all_core = { secede_province = SER
						remove_core = TUR } }
			BUL = { all_core = { secede_province = BUL
						remove_core = TUR } }
			BUL = { capital = 809 }

			ARM = { all_core = { secede_province = ARM
						remove_core = TUR } }
			CLC = { all_core = { secede_province = CLC
						remove_core = TUR } }
			KUR = { all_core = { secede_province = KUR
						remove_core = TUR } }
			ALB = { all_core = { secede_province = ALB
						remove_core = TUR } }
			ALB = { capital = 849 }
			GRE = { all_core = { secede_province = GRE
						remove_core = TUR } }
			ROM = { all_core = { secede_province = ROM 
						remove_core = TUR } }
			860 = { secede_province = RUS  }
			861 = { secede_province = RUS  } }
			MOL = { all_core = { remove_core = RUS } }	
			RUS = { country_event = 118002 }	
			
		AUS = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		KUK = {
		diplomatic_influence = {
			who = BOS
			value = 400 }
				}
		}
		ai_chance = {
			factor = 100
	}
}
#Mild
country_event = {
	id = 1180013
	title = "EVTNAME100004"
	desc = "EVTDESC100004"
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	option = {
		name = "EVTOPTA100008"
		release_vassal = MOL
		release_vassal = WAL
		release_vassal = ROM
		any_owned = {
			limit = {
					owned_by = TUR }
		TUR_810 = {
			secede_province = BUL
		}
		798 = {
			secede_province = SER
		}
		818 = {
			secede_province = BUL
		}
		799 = {
			secede_province = SER
		}
		794 = {
			secede_province = SER
		}
		795 = {
			secede_province = SER
		}
		796 = {
			secede_province = SER
		}
		797 = {
			secede_province = SER
		}
		674 = {
			secede_province = ROM
		}
		675 = {
			secede_province = ROM
		}
		800 = {
			secede_province = MON
		}
		2583 = {
			secede_province = MON
		}
		TUR_788 = {
			secede_province = BOS
		}
		804 = {
			secede_province = BOS
		}
		2577 = {
			secede_province = BOS
		}
		885 = {
			secede_province = RUS
		}
		886 = {
			secede_province = RUS
		}
		1096 = {
			secede_province = RUS
		}
		2569 = {
			secede_province = MON
		}
		2655 = {
			secede_province = BUL
		}
		831 = {
			secede_province = GRE
		}
		832 = {
			secede_province = GRE
		}
		833 = {
			secede_province = GRE
		}
		839 = {
			secede_province = GRE
		}
		840 = {
			secede_province = GRE
		}
		841 = {
			secede_province = GRE
		}
		842 = {
			secede_province = GRE
		}
		834 = {
			secede_province = GRE
		}
		825 = {
			secede_province = GRE
		}
						ROM = { country_event = 100010 }
		CYP = { all_core = { secede_province = FROM
					remove_core = TUR } }
		TUR_674 = { remove_core = TUR } # Dobrudja
        	TUR_788 = { remove_core = TUR } # Bosnia
        	TUR_810 = { remove_core = TUR } # Bulgaria
        	TUR_803 = { remove_core = TUR } # S.Serbia
        	MON_2582 = { remove_core = TUR } # Montenegro
        	TUR_853 = { remove_core = TUR } # Albania
        	TUR_832 = { remove_core = TUR } # Thessalia
        	847 = { remove_core = TUR } #Chania
        	848 = { remove_core = TUR } #Iraklion
        	1096 = { remove_core = TUR } } #Iraklion
		create_vassal = BUL
		AUS = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		KUK = {
		diplomatic_influence = {
			who = BOS
			value = 400
				}
			}
		}
}
	country_event = {
	id = 118002
	title = "The fate of the balkans"
	desc = "After the crushing defeat of the Ottoman Empire, we can now choose what will happen to the balkans, however, the other great powers of Europe might try to stop us from destroying the concert of Europe."
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "They can just suck it"
		create_vassal = ROM
		create_vassal = BUL		
		diplomatic_influence = {
			who = EGY
			value = 400
				}
		diplomatic_influence = {
			who = SER
			value = 400
				}
		diplomatic_influence = {
			who = GRE
			value = 400
				}		
		diplomatic_influence = {
			who = ALB
			value = 400
				}
		any_country = {
                limit = { is_greater_power = yes capital_scope = {continent = europe } }
                        casus_belli = {
            target = RUS
            type = cut_down_to_size
            months = 60
        } }
		BUL = { set_country_flag = search_for_independence }

		ai_chance = {
			factor = 0
	} }
		option = {
		name = "Having content Austria is enough"
		create_vassal = BUL	
		AUS = { diplomatic_influence = {
			who = ROM
			value = 400
				}
		set_country_flag = happy_austria }
		KUK = { diplomatic_influence = {
			who = ROM
			value = 400
				}
		set_country_flag = happy_austria }
		diplomatic_influence = {
			who = SER
			value = 400
				}
		diplomatic_influence = {
			who = GRE
			value = 400
				}		
		diplomatic_influence = {
			who = ALB
			value = 400
				}
		relations = {
			who = AUS
			value = 200
				}
		any_country = {
                limit = { is_greater_power = yes capital_scope = {continent = europe } NOT = { tag = AUS } }
                        casus_belli = {
            target = RUS
            type = cut_down_to_size
            months = 60
        } }

		ai_chance = {
			factor = 50
	} }
	option = {
		name = "Make all concessions possible."
		create_vassal = BUL	
		KUK = { diplomatic_influence = {
			who = ROM
			value = 400
				}
		set_country_flag = happy_austria }
		AUS = { diplomatic_influence = {
			who = ROM
			value = 400
				}
		set_country_flag = happy_austria }
		676 = { secede_province = ROM }
		2701 = { secede_province = ROM }
		diplomatic_influence = {
			who = SER
			value = 400
				}
		ENG = { diplomatic_influence = {
			who = GRE
			value = 400
				} }	
		FRA = { diplomatic_influence = {
			who = ALB
			value = 400
				} }
		CPL = { all_core = { secede_province = CPL } }
		GLO = { all_core = { secede_province = CPL } }
		
		release_vassal = FIN

		ai_chance = {
			factor = 50 }
	}
}

country_event = {
	id = 100010
	title = "Russian demands"
	desc = "Now that we have a larger coastline due to Russian intervention, they demand back the part of Bessarabia they used to control."
	picture = "constantinople_conference"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA100008"
		release_vassal = ROM
		676 = { secede_province = RUS }
		2701 = { secede_province = RUS }
		ai_chance = {
			factor = 50
		} }	
		
	option = {
		name = "EVTOPTB100008"
		676 = { add_core = RUS }
		678 = { add_core = RUS }
		2701 = { add_core = RUS }
		ai_chance = {
			factor = 50
		}
	}
}