###########################
# Turkish Events
###########################

add_namespace = bftb_turkey

#The Montreux Convention - Britain
country_event = {
	id = bftb_turkey.1
	title = bftb_turkey.1.t
	desc = bftb_turkey.1.desc
	picture = GFX_report_event_tur_britain

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.1.a #we shall support the Turks
		ai_chance = {
			factor = 80
			modifier = {
				has_completed_focus = ENG_steady_as_she_goes
				factor = 20
			}
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		navy_experience = 5
		custom_effect_tooltip = TUR_britain_backs_turkey_tt
		hidden_effect = {
			TUR = {
				set_country_flag = TUR_british_support
				country_event = { id = bftb_turkey.2 hours = 8}
			}
			SOV = { country_event = { id = bftb_turkey.4 hours = 12 } }
		}
	}
	option = {
		name = bftb_turkey.1.b #we must not involve ourselves
		ai_chance = {
			factor = 20
			modifier = {
				OR = {
					has_completed_focus = ENG_revisit_colonial_policy
					has_completed_focus = ENG_concessions_to_the_trade_unions
				}
				factor = 80
			}
		}
		add_stability = -0.05
		custom_effect_tooltip = TUR_britain_unentangles_itself_tt
		hidden_effect = {
			TUR = {
				set_country_flag = TUR_no_british_support
				country_event = { id = bftb_turkey.3 hours = 8 }
			}
			SOV = { country_event = { id = bftb_turkey.4 hours = 12 } }
		}
	}	
}
#The Montreux Convention - Britain supports us
country_event = {
	id = bftb_turkey.2
	title = bftb_turkey.2.t
	desc = bftb_turkey.2.desc
	picture = GFX_report_event_tur_britain

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.2.a #excellent news!
		add_war_support = 0.05
	}
}
#The Montreux Convention - Britain abandons us
country_event = {
	id = bftb_turkey.3
	title = bftb_turkey.3.t
	desc = bftb_turkey.3.desc
	picture = GFX_report_event_tur_kemalist_officers 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.3.a #not good...
		add_stability = -0.05
	}
}
#The Montreux Convention - Soviet Union
country_event = {
	id = bftb_turkey.4
	title = bftb_turkey.4.t
	desc = bftb_turkey.4.desc
	picture = GFX_report_event_tur_soviets

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.4.a #we will not tolerate this
		ai_chance = {
			factor = 50
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		add_war_support = 0.05
		custom_effect_tooltip = TUR_soviets_oppose_turkey_tt
		hidden_effect = {
			TUR = {
				set_country_flag = TUR_soviets_defiant
				country_event = { id = bftb_turkey.5 hours = 8 }
			}
		}
	}
	option = {
		name = bftb_turkey.4.b #it matters little to us
		ai_chance = {
			factor = 50
			modifier = {
				check_variable = { SOV_great_purge_counter > 0 }
				factor = 0.25
			}
		}
		custom_effect_tooltip = TUR_soviets_allow_militarisation_tt
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.6 hours = 8 } }
		}
	}	
}
#The Montreux Convention - Soviets Oppose Turkish Remilitarisation of the Straits
country_event = {
	id = bftb_turkey.5
	title = bftb_turkey.5.t
	desc = bftb_turkey.5.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.5.a #then we compromise
		ai_chance = {
			factor = 60
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		custom_effect_tooltip = TUR_strait_compromise_tt
		hidden_effect = {
			TUR = { set_country_flag = TUR_strait_compromise_set }
			SOV = { country_event = { id = bftb_turkey.7 hours = 8 } }
			ENG = { country_event = { id = bftb_turkey.7 hours = 8 } }
			news_event = { id = bftb_news.201 hours = 16 }
		}
	}
	option = {
		name = bftb_turkey.5.b #we stand firm against Soviet meddling!
		ai_chance = {
			factor = 40
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		add_stability = -0.05
		custom_effect_tooltip = TUR_remaining_defiant_tt
		hidden_effect = {
			TUR = {	set_country_flag = TUR_defiance_against_soviet_union }
			if = {
				limit = {
					TUR = { has_country_flag = TUR_british_support }
				}
				ENG = { country_event = { id = bftb_turkey.8 hours = 8 } }
			}
			else = {
				SOV = { country_event = { id = bftb_turkey.10 hours = 8 } }
			}
		}
	}	
}
#The Montreux Convention - Soviets Allow Remilitarisation
country_event = {
	id = bftb_turkey.6
	title = bftb_turkey.6.t
	desc = bftb_turkey.6.desc
	picture = GFX_report_event_tur_kemalists_positive

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.6.a #a triumph!
		add_political_power = 120
		341 = { set_demilitarized_zone = no } 
		797 = { set_demilitarized_zone = no } 
		340 = { set_demilitarized_zone = no }
		news_event = { id = bftb_news.201 hours = 6 }
	}
}
#The Montreux Convention - Turks compromise on the Straits
country_event = {
	id = bftb_turkey.7
	title = bftb_turkey.7.t
	desc = bftb_turkey.7.desc
	picture = GFX_report_event_tur_the_montreux_convention

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.7.a #then that concludes this crisis
		hidden_effect = {
			341 = { set_demilitarized_zone = no } 
			797 = { set_demilitarized_zone = no } 
			340 = { set_demilitarized_zone = no }
		}
	}
}
#The Montreux Convention - British reaction to defiant Turks standing up against Soviets
country_event = {
	id = bftb_turkey.8
	title = bftb_turkey.8.t
	desc = bftb_turkey.8.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.8.a #we need to stand by Turkey
		ai_chance = {
			factor = 30
			modifier = {
				has_completed_focus = ENG_global_defense
				factor = 80
			}
		}
		add_stability = -0.05
		custom_effect_tooltip = TUR_britain_stands_up_for_turkey_tt
		hidden_effect = {
			SOV = { country_event = { id = bftb_turkey.10 hours = 8 } }
			diplomatic_relation = {
				country = TUR
				relation = guarantee
				active = yes
			}
		}
	}
	option = {
		name = bftb_turkey.8.b #we cannot risk open war with the Soviet Union
		ai_chance = {
			factor = 60
			modifier = {
				has_war_support < 20
				factor = 40
			}
		}
		add_political_power = -120
		custom_effect_tooltip = TUR_britain_abandons_turkey_tt
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.9 hours = 8 } }
		}
	}	
}
#The Montreux Convention - Turkish reaction to the British abandoning them to their fate
country_event = {
	id = bftb_turkey.9
	title = bftb_turkey.9.t
	desc = bftb_turkey.9.desc
	picture = GFX_report_event_tur_ataturk_writing_desk

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.9.a #we must concede everything to preserve our sovereignty
		ai_chance = {
			factor = 45
		}
		add_stability = -0.1
		add_war_support = -0.05
		custom_effect_tooltip = TUR_straits_remain_demilitarised_tt
		hidden_effect = {
			SOV = { country_event = { id = bftb_turkey.11 hours = 8 } }
		}
	}
	option = {
		name = bftb_turkey.9.b #so be it, we stay the course!
		ai_chance = {
			factor = 55
		}
		add_war_support = 0.1
		custom_effect_tooltip = TUR_we_remain_committed_tt
		hidden_effect = {
			SOV = { country_event = { id = bftb_turkey.10 hours = 8 } }
		}
	}	
}
#The Montreux Convention - Soviet reaction to defiant Turks
country_event = {
	id = bftb_turkey.10
	title = bftb_turkey.10.t
	desc = bftb_turkey.10.desc
	picture = GFX_report_event_tur_ataturk_determined

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.10.a #an invasion is too risky
		ai_chance = {
			factor = 85
		}
		custom_effect_tooltip = TUR_soviets_allow_militarisation_tt
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.12 } }
		}
	}
	option = {
		name = bftb_turkey.10.b #an excuse to finally make the Straits our own!
		ai_chance = {
			factor = 15
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		add_political_power = -250
		declare_war_on = {
			target = TUR
			type = puppet_wargoal_focus
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.13 } }
		}
	}	
}
#The Montreux Convention - Soviet reaction to submissive Turks
country_event = {
	id = bftb_turkey.11
	title = bftb_turkey.11.t
	desc = bftb_turkey.11.desc
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.11.a #a great win for our internation prestige
		add_political_power = 120
		add_stability = 0.05
		hidden_effect = {
			news_event = { id = bftb_news.202 hours = 6 }
		}
	}
}
#The Montreux Convention - Turkish reaction to Soviet deescalation
country_event = {
	id = bftb_turkey.12
	title = bftb_turkey.12.t
	desc = bftb_turkey.12.desc
	picture = GFX_report_event_tur_inonu_diplomacy 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.12.a #this couldn't have gone better!
		add_political_power = 120
		add_stability = 0.15
		341 = { set_demilitarized_zone = no } 
		797 = { set_demilitarized_zone = no } 
		340 = { set_demilitarized_zone = no }
		hidden_effect = {
			news_event = { id = bftb_news.201 hours = 6 }
		}
	}
}
#The Montreux Convention - Turkish reaction to Soviet declaration of war
country_event = {
	id = bftb_turkey.13
	title = bftb_turkey.13.t
	desc = bftb_turkey.13.desc
	picture = GFX_report_event_tur_turkish_soldiers 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.13.a #For the Fatherland!
		add_timed_idea = {
			idea = TUR_the_battle_for_our_nations_survival
			days = 360
		}
		hidden_effect = {
			341 = { set_demilitarized_zone = no } 
			797 = { set_demilitarized_zone = no } 
			340 = { set_demilitarized_zone = no }
			354 = {
				damage_building = {
					type = infrastructure
					damage = 0.1
				}
			}
			news_event = { id = bftb_news.203 hours = 6 }
		}
	}
}
#The Demokrat Parti Rises
country_event = {
	id = bftb_turkey.14
	title = bftb_turkey.14.t
	desc = bftb_turkey.14.desc
	picture = GFX_report_event_tur_opposition_party

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.14.a #this republic will survive their machinations
		add_stability = -0.1
		set_party_name = { 
			ideology = democratic
			long_name = TUR_democratic_party_proto_islamist_long
			name = TUR_democratic_party_proto_islamist
		}
		add_country_leader_role = {
			character = TUR_adnan_menderes
			country_leader = {
				expire = "1965.1.1"
				ideology = conservatism
				traits = {
					man_of_the_nation
				}
			}
			promote_leader = yes
		}
		hidden_effect = {
			add_timed_idea = {
				idea = TUR_rising_islamist_dissidence
				days = 180
			}
			country_event = { id = bftb_turkey.15 }
		}
	}
}
#hidden dispatch event for democratic Islamists mobilising
country_event = {
	id = bftb_turkey.15
	
	is_triggered_only = yes

	hidden = yes

	immediate = {
		random_list = {
			20 = { 
				modifier = {
					factor = 1
					has_idea = TUR_rising_islamist_dissidence
				}
				modifier = {
					factor = 0
					has_country_flag = TUR_islamist_voting_initiative
				}
				country_event = { id = bftb_turkey.16 days = 7 random_days = 7 } #Islamists spearhead initiative to get rural Muslims to register to vote
			} 
			20 = { 
				modifier = {
					factor = 1
					has_idea = TUR_rising_islamist_dissidence
				}
				modifier = {
					factor = 0
					has_country_flag = TUR_islamist_kurdish_alliance
				}
				country_event = { id = bftb_turkey.17 days = 7 random_days = 7 } #Turkish and Kurdish muslims unite to vote out CHP
			}
			20 = { 
				modifier = {
					factor = 1
					has_idea = TUR_rising_islamist_dissidence
				}
				modifier = {
					factor = 0
					has_country_flag = TUR_corrupt_officials_killed
				}
				modifier = {
					factor = 0
					has_country_flag = TUR_corrupt_officials_meddling
				}
				country_event = { id = bftb_turkey.18 days = 7 random_days = 7 } #corrupt regional officials caught conspiring to rig election
			} 
			20 = { 
				modifier = {
					factor = 1
					has_idea = TUR_rising_islamist_dissidence
				}
				modifier = {
					factor = 0
					has_country_flag = TUR_demokrat_rally
				}
				country_event = { id = bftb_turkey.19 days = 7 random_days = 7 } #Demokrat Parti benefits from massive turnout at rally
			}
			0 = { 
				modifier = {
					add = 100
					OR = { 
						AND = { 
							has_country_flag = TUR_islamist_voting_initiative
							has_country_flag = TUR_islamist_kurdish_alliance
							has_country_flag = TUR_demokrat_rally
							OR = {
								has_country_flag = TUR_corrupt_officials_killed
								has_country_flag = TUR_corrupt_officials_meddling
							}
						}
						NOT = { has_idea = TUR_rising_islamist_dissidence } 
					}
				} 
				country_event = { id = bftb_turkey.20 days = 7 } #Demokrat Parti effectively organises its election bid as an organised party
			}
		}
	}
}
#The Demokrat Parti - Initiative Encouraging Traditional Islamists to Vote Propagated
country_event = {
	id = bftb_turkey.16
	title = bftb_turkey.16.t
	desc = bftb_turkey.16.desc
	picture = GFX_report_event_tur_politician_march

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.16.a #oppose
		add_stability = -0.1
		add_popularity = { 
			ideology = democratic
			popularity = 0.07
		}
		hidden_effect = {
			set_country_flag = TUR_islamist_voting_initiative
			country_event = { id = bftb_turkey.15 }			
		}
	}
	option = {
		name = bftb_turkey.16.b #support
		add_stability = 0.05
		add_popularity = { 
			ideology = democratic
			popularity = 0.12
		}
		hidden_effect = {
			set_country_flag = TUR_islamist_voting_initiative
			country_event = { id = bftb_turkey.15 }
		}
	}
}
#The Demokrat Parti - Turkish and Kurdish Islamists Unite to Depose CHP
country_event = {
	id = bftb_turkey.17
	title = bftb_turkey.17.t
	desc = bftb_turkey.17.desc
	picture = GFX_report_event_gathering_protest 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.17.a #oppose
		add_political_power = -75
		add_popularity = { 
			ideology = democratic
			popularity = 0.07
		}
		hidden_effect = {
			set_country_flag = TUR_islamist_kurdish_alliance
			country_event = { id = bftb_turkey.15 }
		}
	}
	option = {
		name = bftb_turkey.17.b #support
		add_stability = 0.05
		add_popularity = { 
			ideology = democratic
			popularity = 0.15
		}
		hidden_effect = {
			set_country_flag = TUR_islamist_kurdish_alliance
			country_event = { id = bftb_turkey.15 }
		}
	}
}
#The Demokrat Parti - Regional Officials Caught Conspiring to Commit Electoral Fraud
country_event = {
	id = bftb_turkey.18
	title = bftb_turkey.18.t
	desc = bftb_turkey.18.desc
	picture = GFX_report_event_tur_kurds_traditionalists_thwarted

	is_triggered_only = yes

	immediate = {
		hidden_effect =  {
			random_owned_controlled_state = {
				limit = { 
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
					}
				}
				save_event_target_as = TUR_fundamentalist_state
			}
			random_owned_controlled_state = {
				limit = { 
					OR = {
						has_dynamic_modifier = { modifier = kurdish_agitation }
						has_dynamic_modifier = { modifier = kurdish_separatism }
						has_dynamic_modifier = { modifier = kurdish_rebellion }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
			}
		}
	}
	
	option = {
		name = bftb_turkey.18.a #oppose
		add_stability = 0.05
		add_popularity = { 
			ideology = neutrality
			popularity = 0.08
		}
		event_target:TUR_fundamentalist_state = { TUR_upgrade_fundamentalist_defiance_effect = yes }
		event_target:TUR_kurdish_state_event_target = { TUR_agitate_kurdish_state_effect = yes }
		hidden_effect = {
			set_country_flag = TUR_corrupt_officials_killed
			country_event = { id = bftb_turkey.15 }
		}
	}
	option = {
		name = bftb_turkey.18.b #support
		add_stability = -0.1
		event_target:TUR_kurdish_state_event_target = { TUR_agitate_kurdish_state_effect = yes }
		hidden_effect = {
			set_country_flag = TUR_corrupt_officials_meddling
			country_event = { id = bftb_turkey.15 }
		}
	}
}
#The Demokrat Parti - Demokrat Parti Benefit from Massive Public Turnout
country_event = {
	id = bftb_turkey.19
	title = bftb_turkey.19.t
	desc = bftb_turkey.19.desc
	picture = GFX_report_event_tur_political_rally 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.19.a #a dark day for the republic
		add_stability = -0.05
		add_popularity = { 
			ideology = democratic
			popularity = 0.1
		}
		hidden_effect = {
			set_country_flag = TUR_demokrat_rally
			country_event = { id = bftb_turkey.15 }
		}
	}
}
#The Demokrat Parti - The Demokrat Parti Introduces Itself as the CHP's Official Opposition
country_event = {
	id = bftb_turkey.20
	title = bftb_turkey.20.t
	desc = bftb_turkey.20.desc
	picture = GFX_report_event_tur_menderes_opposition

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.20.a #then let the best party win
		add_stability = 0.05
		set_country_flag = TUR_official_opposition_party_organised
		set_party_name = { 
			ideology = democratic
			long_name = TUR_democratic_party_islamist_long
			name = TUR_democratic_party_islamist
		}
		if = {
			limit = {
				has_idea = TUR_rising_islamist_dissidence
			}
			remove_ideas = TUR_rising_islamist_dissidence
		}
	}
}
#The Election - The Turkish General Election
country_event = {
	id = bftb_turkey.21
	title = bftb_turkey.21.t
	desc = bftb_turkey.21.desc
	picture = GFX_report_event_tur_upheaval_celebration

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.21.a #the Republicans!
		ai_chance = {
			factor = 30
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_DEMOCRATIC
					has_game_rule = {
						rule = TUR_ai_behavior
						option = TUR_DEMOCRATIC_KEMALIST
					}
				}
				factor = 100
			}
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_OTTOMAN
					has_game_rule = {
						rule = TUR_ai_behavior
						option = OTTOMAN
					}
				}
				factor = 0
			}
		}
		hidden_effect = {
			if = {
				limit = {
					has_country_leader = {
						character = TUR_mustafa_kemal_ataturk
						ruling_only = yes
					}
				}
				add_ideas = TUR_mustafa_kemal_ataturk_figurehead
			}
			if = {
				limit = {
					TUR_mustafa_kemal_ataturk = { is_unit_leader = yes }
				}
				TUR_mustafa_kemal_ataturk = { remove_unit_leader_role = yes }
			}
		}
		TUR_celal_bayar = {
			remove_country_leader_role = {
				ideology = conservatism
			}
			add_country_leader_role = {
				character = TUR_celal_bayar
				country_leader = {
					expire = "1965.1.1"
					ideology = liberalism
					traits = {
						liberal_democratic_paragon
					}
				}
				promote_leader = yes
			}
		}
		
		custom_effect_tooltip = TUR_republican_victory_tt
		hidden_effect = {
			set_party_name = { 
				ideology = democratic
				long_name = TUR_neutrality_party_long
				name = TUR_neutrality_party
			}
			set_politics = { 
				ruling_party = democratic 
				elections_allowed = yes
				election_frequency = 60
			}
			set_party_name = { 
				ideology = neutrality
				long_name = TUR_democratic_party_islamist_long
				name = TUR_democratic_party_islamist
			}
			add_country_leader_role = {
				character = TUR_adnan_menderes
				country_leader = {
					expire = "1965.1.1"
					ideology = centrism
					traits = {
						man_of_the_nation
					}
				}
				promote_leader = yes
			}
			if = {
				limit = {
					has_idea = TUR_celal_bayar
				}
				remove_ideas = TUR_celal_bayar
				add_ideas = TUR_fethi_okyar
			}
			country_event = { id = bftb_turkey.135 days = 120 random = 80 }
			set_temp_variable = {
				var = TUR_CHP_support_var
				value = party_popularity@neutrality
			}
			divide_temp_variable = {
				var = TUR_CHP_support_var
				value = 2
			}
			add_popularity = {
				ideology = democratic
				popularity = TUR_CHP_support_var
			}
		}
	}
	option = {
		name = bftb_turkey.21.b #the Demokrat Parti!
		trigger = {
			democratic > 0.4
		}
		ai_chance = {
			factor = 15
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_DEMOCRATIC_ALTERNATE
					has_game_rule = {
						rule = TUR_ai_behavior
						option = TUR_DEMOCRATIC_ALTERNATE
					}
				}
				factor = 100
			}
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_OTTOMAN
					has_game_rule = {
						rule = TUR_ai_behavior
						option = OTTOMAN
					}
				}
				factor = 500
			}
		}
		custom_effect_tooltip = TUR_conservative_victory_tt
		hidden_effect = {
			country_event = { id = bftb_turkey.135 days = 30 random = 60 }
			if = {
				limit = {
					TUR_mustafa_kemal_ataturk = { is_unit_leader = yes }
				}
				TUR_mustafa_kemal_ataturk = { remove_unit_leader_role = yes }
			}
			set_politics = { 
				ruling_party = democratic 
				elections_allowed = yes
				election_frequency = 60
			}
			promote_character = {
				character = TUR_ismet_inonu
				ideology = despotism
			}
			set_country_flag = TUR_held_democratic_election
			if = {
				limit = {
					has_idea = TUR_mustafa_kemal_ataturk_figurehead
				}
				remove_ideas = TUR_mustafa_kemal_ataturk_figurehead
			}
			mark_focus_tree_layout_dirty = yes
		}
	}
}

#The Civil War - The Kemalists Attempt to Overthrow Menderes' Government
country_event = {
	id = bftb_turkey.22
	title = bftb_turkey.22.t
	desc = bftb_turkey.22.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.22.a #the Almighty guides our hand!
		if = {
			limit = {
				TUR_kazim_orbay = { is_unit_leader = yes }
			}
			TUR_kazim_orbay = { remove_unit_leader_role = yes }
		}
		if = {
			limit = {
				has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
			}
			hidden_effect = {
				add_country_leader_role = {
					character = TUR_kazim_orbay
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							celebrity_junta_leader
						}
					}
					promote_leader = yes
				}
			}
			start_civil_war = {
				ruling_party = democratic
				ideology = neutrality
				size = 0.05
				capital = 797
				states = { 797 341 }
				keep_unit_leaders = { 
					901 
				}
			}
		}
		else_if = {
			limit = {
				has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
			}
			hidden_effect = {
				add_country_leader_role = {
					character = TUR_kazim_orbay
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							celebrity_junta_leader
						}
					}
					promote_leader = yes
				}
			}
			start_civil_war = {
				ruling_party = democratic
				ideology = neutrality
				size = 0.15
				capital = 797
				states = { 797 341 339 354 }
				keep_unit_leaders = { 
					901 
				}
			}
		}
		else_if = {
			limit = {
				has_idea = TUR_kemalist_army_officers_limited_power_disloyal
			}
			hidden_effect = {
				add_country_leader_role = {
					character = TUR_kazim_orbay
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							celebrity_junta_leader
						}
					}
					promote_leader = yes
				}
			}
			start_civil_war = {
				ruling_party = democratic
				ideology = neutrality
				size = 0.35
				capital = 797
				states = { 797 341 339 354 340 342 }
				keep_unit_leaders = { 
					901 
				}
			}
		}
		else_if = {
			limit = {
				has_idea = TUR_kemalist_army_officers_extended_power_disloyal
			}
			hidden_effect = {
				add_country_leader_role = {
					character = TUR_kazim_orbay
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							celebrity_junta_leader
						}
					}
					promote_leader = yes
				}
			}
			start_civil_war = {
				ruling_party = democratic
				ideology = neutrality
				size = 0.55
				capital = 797
				states = { 797 341 339 354 340 342 343 346 }
				keep_unit_leaders = { 
					901 
				}
			}
		}
		else_if = {
			limit = {
				has_idea = TUR_kemalist_army_officers_powerful_disloyal
			}
			hidden_effect = {
				add_country_leader_role = {
					character = TUR_kazim_orbay
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							celebrity_junta_leader
						}
					}
					promote_leader = yes
				}
			}
			start_civil_war = {
				ruling_party = democratic
				ideology = neutrality
				size = 0.75
				capital = 49
				states = { 797 341 339 354 340 342 343 346 347 49 }
				keep_unit_leaders = { 
					901 
				}
			}
		}
		hidden_effect = {
			if = {
				limit = {
					has_completed_focus = TUR_fully_integrate_the_is_bank
				}
				country_event = { id = bftb_turkey.95 hours = 12 random = 48 }
			}
			remove_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
			remove_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
			remove_ideas = TUR_kemalist_army_officers_limited_power_disloyal
			remove_ideas = TUR_kemalist_army_officers_extended_power_disloyal
			remove_ideas = TUR_kemalist_army_officers_powerful_disloyal
			news_event = { id = bftb_news.204 hours = 6 }
		}
	}
}

#The Saadabad Pact
country_event = {
	id = bftb_turkey.23
	title = bftb_turkey.23.t
	desc = bftb_turkey.23.desc
	picture = GFX_report_event_tur_the_saadabad_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.23.a #we are stronger together!
		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		add_political_power = 120
		diplomatic_relation = {
			country = TUR
			relation = non_aggression_pact
			active = yes
		}
		hidden_effect = {
			add_ai_strategy = {
				type = befriend
				id = FROM
				value = 100
			}
			set_country_flag = TUR_saadabad_pact_member
			if = {
				limit = {
					NOT = {
						has_global_flag = TUR_saadabad_pact
					}
				}
				set_global_flag = TUR_saadabad_pact
			}
			TUR = { 
				country_event = { id = bftb_turkey.92 hours = 6 random = 8 }
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 50
				}
			}
		}
	}
	option = {
		name = bftb_turkey.23.b #Turkey does not hold our best interests at heart
		ai_chance = {
			factor = 5
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		add_war_support = 0.05
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.93 hours = 6 random = 8 } }
		}
	}
}

#The Saadabad Pact - Country Accepts
country_event = {
	id = bftb_turkey.92
	title = bftb_turkey.92.t
	desc = bftb_turkey.92.desc
	picture = GFX_report_event_tur_the_saadabad_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.92.a #true and honest friends!
		add_political_power = 25
		effect_tooltip = { 
			diplomatic_relation = {
				country = FROM
				relation = non_aggression_pact
				active = yes
			}
		}
	}
}

#The Saadabad Pact - Country Rejects
country_event = {
	id = bftb_turkey.93
	title = bftb_turkey.93.t
	desc = bftb_turkey.93.desc
	picture = GFX_report_event_tur_politician_march

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.93.a #stick it out alone then
	}
}

#Electing a New President
country_event = {
	id = bftb_turkey.24
	title = bftb_turkey.24.t
	desc = bftb_turkey.24.desc
	picture = GFX_report_event_tur_ataturk_inonu_parliament

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			mark_focus_tree_layout_dirty = yes
		}
	}
	
	option = {
		name = bftb_turkey.24.a #liberal + democratic = Bayar remains
		trigger = {
			has_completed_focus = TUR_fully_integrate_the_is_bank
		}
		add_country_leader_role = {
			character = TUR_celal_bayar
			country_leader = {
				expire = "1965.1.1"
				ideology = centrism
				traits = {
					liberal_democratic_paragon
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.24.b #liberal + historic = Bayar and Ismet / Bayar
		trigger = {
			has_completed_focus = TUR_the_sanayiciler
			has_completed_focus = TUR_peace_at_home
		}
		add_country_leader_role = {
			character = TUR_celal_bayar
			country_leader = {
				expire = "1965.1.1"
				ideology = centrism
				traits = {
					liberal_democratic_paragon
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.24.c #liberal + historic = Bayar and Ismet / Ismet
		trigger = {
			has_completed_focus = TUR_peace_at_home
		}
		hidden_effect = {
			remove_country_leader_role = {
				character = TUR_ismet_inonu
				ideology = despotism
			}
		}
		ai_chance = {
			base = 1
			modifier = { #EAI
				is_historical_focus_on = yes
				add = 10000
			}
		}
		add_country_leader_role = {
			character = TUR_ismet_inonu
			country_leader = {
				expire = "1965.1.1"
				ideology = oligarchism
				traits = {
					milli_sef
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.24.d #nationalist
		trigger = {
			has_completed_focus = TUR_reinvigorate_turkish_nationalism
		}
		add_country_leader_role = {
			character = TUR_fevzi_cakmak
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					maresal
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.24.e #nationalist + fascist = Cakmak + Peker / Cakmak
		trigger = {
			has_idea = TUR_fevzi_cakmak_prime_minister
			has_completed_focus = TUR_kemalism_and_the_modern_movement
		}
		add_country_leader_role = {
			character = TUR_fevzi_cakmak
			country_leader = {
				expire = "1965.1.1"
				ideology = rexism
				traits = {
					maresal
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = fascism }
	}
	option = {
		name = bftb_turkey.24.f #nationalist + fascist = Cakmak + Peker / Peker
		trigger = {
			has_completed_focus = TUR_kemalism_and_the_modern_movement
		}
		promote_character = TUR_mehmet_recep_peker #Has the country role already set in the Character File (FASCISM -> fascism_ideology)
		set_politics = { ruling_party = fascism }
	}
	option = {
		name = bftb_turkey.24.g #socialist
		trigger = {
			has_completed_focus = TUR_kemalist_socialist_theory
		}
		add_country_leader_role = {
			character = TUR_sevket_sureyya_aydemir
			country_leader = {
				expire = "1965.1.1"
				ideology = marxism
				traits = {
					the_academic
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = communism }
	}
	option = {
		name = bftb_turkey.24.h #socialist + historical = Inonu + Aydemir / Aydemir
		trigger = {
			has_idea = TUR_ismet_inonu
			has_completed_focus = TUR_kemalist_socialist_theory
		}
		add_country_leader_role = {
			character = TUR_ismet_inonu
			country_leader = {
				expire = "1965.1.1"
				ideology = marxism
				traits = {
					milli_sef
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = communism }
	}
	option = {
		name = bftb_turkey.24.i #military junta
		trigger = {
			NOT = {
				OR = {
					has_completed_focus = TUR_fully_integrate_the_is_bank
					has_completed_focus = TUR_peace_at_home
					has_completed_focus = TUR_reinvigorate_turkish_nationalism
					has_completed_focus = TUR_kemalism_and_the_modern_movement
					has_completed_focus = TUR_kemalist_socialist_theory
				}
			}
		}
		add_country_leader_role = {
			character = TUR_kazim_orbay
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					celebrity_junta_leader
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.24.j #easter egg :)
		trigger = {
			NOT = {
				has_completed_focus = TUR_ratify_the_six_arrows
			}
		}
		add_country_leader_role = {
			character = TUR_halife_abdulmecid_efendi
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					gentle_scholar
				}
			}
			promote_leader = yes
		}
	}
}

#The Hatay Issue - France Event
country_event = {
	id = bftb_turkey.25
	title = bftb_turkey.25.t
	desc = bftb_turkey.25.desc
	picture = GFX_report_event_tur_inonu_diplomacy 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.25.a #we shall allow the referendum to go ahead
		ai_chance = {
			factor = 70
			modifier = {
				has_completed_focus = FRA_review_foreign_policy
				factor = 20
			}
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		effect_tooltip = {
			TUR = { transfer_state = 799 }
		}
		hidden_effect = {
			TUR = { 
				add_opinion_modifier = {
					target = FRA
					modifier = TUR_released_hatay_to_us
				}
				country_event = { id = bftb_turkey.26 hours = 12 }
			}
		}
	}
	option = {
		name = bftb_turkey.25.b #the Hatay Turks are safe with us!
		TUR = { 
			add_opinion_modifier = {
				target = FRA
				modifier = TUR_oppressors_of_turks
			}
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.27 hours = 8 } }
		}
	}
}

#The Hatay Issue - France Transfers Hatay
country_event = {
	id = bftb_turkey.26
	title = bftb_turkey.26.t
	desc = bftb_turkey.26.desc
	picture = GFX_report_event_tur_ataturk_impassioned_speech

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.26.a #the Motherland protects you now
		add_political_power = 120
		transfer_state = 799
	}
}

#The Hatay Issue - France Holds Hatay
country_event = {
	id = bftb_turkey.27
	title = bftb_turkey.27.t
	desc = bftb_turkey.27.desc
	picture = GFX_report_event_tur_kemalist_officers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.27.a #the French have made enemies of Turks everywhere!
		add_war_support = 0.1
		add_state_claim = 799
	}
}

#The Hatay Issue - Syria Event
country_event = {
	id = bftb_turkey.60
	title = bftb_turkey.60.t
	desc = bftb_turkey.60.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.60.a #we must give in
		effect_tooltip = {
			TUR = { transfer_state = 799 }
		}
		hidden_effect = {
			TUR = { 
				add_opinion_modifier = {
					target = ROOT
					modifier = TUR_released_hatay_to_us
				}
				country_event = { id = bftb_turkey.61 hours = 12 }
			}
		}
	}
	option = {
		name = bftb_turkey.60.b #the Hatay Turks are safe with us!
		TUR = { 
			add_opinion_modifier = {
				target = ROOT
				modifier = TUR_oppressors_of_turks
			}
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.62 hours = 8 } }
		}
	}
}

#The Hatay Issue - Syria Transfers Hatay
country_event = {
	id = bftb_turkey.61
	title = bftb_turkey.61.t
	desc = bftb_turkey.61.desc
	picture = GFX_report_event_tur_ataturk_impassioned_speech

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.61.a #the Motherland protects you now
		add_political_power = 120
		transfer_state = 799
	}
}

#The Hatay Issue - Syria Holds Hatay
country_event = {
	id = bftb_turkey.62
	title = bftb_turkey.62.t
	desc = bftb_turkey.62.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.62.a #war it is
		add_war_support = 0.15
		add_state_claim = 799
		if = {
			limit = {
				SYR = { owns_state = 799 }
			}
			create_wargoal = {
				type = take_claimed_state
				target = SYR
			}
		}
	}
}

#Fatherland First - Conscientious Objecters Volunteer for Service
country_event = {
	id = bftb_turkey.29
	title = bftb_turkey.29.t
	desc = bftb_turkey.29.desc
	picture = GFX_report_event_tur_upheaval_celebration

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.29.a #they see the benefit in serving the Fatherland
		add_war_support = 0.05
		add_timed_idea = {
			idea = TUR_objectors_flocking_to_military_service
			days = 360
		}
	}
}

#The Oniki Islands - Turkey Compensation Event
country_event = {
	id = bftb_turkey.30
	title = bftb_turkey.30.t
	desc = bftb_turkey.30.desc
	picture = GFX_report_event_tur_the_montreux_convention

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.30.a #we shall offer resource rights
		ai_chance = {
			base = 10
		}
		effect_tooltip = {
			give_resource_rights = { receiver = ITA state = 342 }
		}
		hidden_effect = {
			ITA = { 
				country_event = { id = bftb_turkey.31 hours = 6 }
			}
		}
	}
	option = {
		name = bftb_turkey.30.b #we shall offer factories
		ai_chance = {
			base = 30
		}
		effect_tooltip = {
			add_offsite_building = { type = industrial_complex level = -3 }
			ITA = { add_offsite_building = { type = industrial_complex level = 4 } }
		}
		hidden_effect = {
			ITA = { 
				country_event = { id = bftb_turkey.32 hours = 6 }
			}
		}
	}
	option = {
		name = bftb_turkey.30.c #our friendship should be reward enough!
		ai_chance = {
			base = 5
		}
		hidden_effect = {
			ITA = { 
				country_event = { id = bftb_turkey.33 hours = 6 }
			}
		}
	}
}

#The Oniki Islands - Turkey offers Antalya Chromium
country_event = {
	id = bftb_turkey.31
	title = bftb_turkey.31.t
	desc = bftb_turkey.31.desc
	picture = GFX_report_event_tur_inonu_diplomacy 

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.31.a #a generous offer
		ai_chance = {
			base = 10
		}
		hidden_effect = { 
			TUR = { 
				give_resource_rights = { receiver = ITA state = 342 }
				transfer_state = 164
				country_event = { id = bftb_turkey.34 hours = 6 }
			}
		}
	}
	option = {
		name = bftb_turkey.31.b #we shall never surrender an inch of territory!
		ai_chance = {
			base = 0.5
			modifier = { 
				factor = 30
				has_opinion = {
					target = TUR
					value < -50
				}
			}
		}
		add_war_support = 0.05
		hidden_effect = { 
			TUR = { 
				country_event = { id = bftb_turkey.37 hours = 6 }
			}
		}
	}
}

#The Oniki Islands - Turkey offers Factories
country_event = {
	id = bftb_turkey.32
	title = bftb_turkey.32.t
	desc = bftb_turkey.32.desc
	picture = GFX_report_event_tur_industry

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.32.a #a worthy offer
		ai_chance = {
			base = 10
		}
		add_offsite_building = { type = industrial_complex level = 4 }
		hidden_effect = { 
			TUR = { country_event = { id = bftb_turkey.35 hours = 6 } }
		}
	}
	option = {
		name = bftb_turkey.32.b #we shall never surrender an inch of territory!
		ai_chance = {
			base = 0.5
			modifier = { 
				factor = 30
				has_opinion = {
					target = TUR
					value < -50
				}
			}
		}
		add_war_support = 0.05
		hidden_effect = { 
			TUR = { 
				country_event = { id = bftb_turkey.37 hours = 6 }
			}
		}
	}
}

#The Oniki Islands - Turkey offers Pact of Friendship
country_event = {
	id = bftb_turkey.33
	title = bftb_turkey.33.t
	desc = bftb_turkey.33.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.33.a #hmmph, we will see the worth of their friendship soon
		ai_chance = {
			base = 5
			modifier = { 
				factor = 30
				has_opinion = {
					target = TUR
					value > 75
				}
			}
		}
		TUR = { 
			add_opinion_modifier = {
				target = ITA
				modifier = TUR_pact_of_power
			}
		}
		hidden_effect = { 
			TUR = { country_event = { id = bftb_turkey.36 hours = 6 } }
		}
	}
	option = {
		name = bftb_turkey.33.b #this insult does not even merit response
		ai_chance = {
			base = 10
			modifier = { 
				factor = 100
				has_opinion = {
					target = TUR
					value < 15
				}
			}
		}
		add_war_support = 0.1
		hidden_effect = { 
			ITA = { 
				add_opinion_modifier = {
					target = TUR
					modifier = TUR_insulted_our_honour
				}
			}
			TUR = { 
				country_event = { id = bftb_turkey.37 hours = 6 }
			}
		}
	}
}

#The Oniki Islands - Italy Accepts Chromium
country_event = {
	id = bftb_turkey.34
	title = bftb_turkey.34.t
	desc = bftb_turkey.34.desc
	picture = GFX_report_event_tur_politician_march

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.34.a #Rhodes returned at last
		add_stability = 0.1
		transfer_state = 164
	}
}

#The Oniki Islands - Italy Accepts Factories
country_event = {
	id = bftb_turkey.35
	title = bftb_turkey.35.t
	desc = bftb_turkey.35.desc
	picture = GFX_report_event_tur_industry

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.35.a #Rhodes returned at last
		add_stability = 0.1
		transfer_state = 164
		custom_effect_tooltip = TUR_three_factories_sacrificed
		hidden_effect = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
	}
}

#The Oniki Islands - Italy Accepts Pact of Power
country_event = {
	id = bftb_turkey.36
	title = bftb_turkey.36.t
	desc = bftb_turkey.36.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.36.a #of course they did!
		add_stability = 0.15
		transfer_state = 164
	}
}

#The Oniki Islands - Italy Rejects Our Offer!
country_event = {
	id = bftb_turkey.37
	title = bftb_turkey.37.t
	desc = bftb_turkey.37.desc
	picture = GFX_report_event_tur_kemalist_officers

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.37.a #The Oniki Islands are ours by right!
		add_stability = -0.05
		add_state_claim = 164
	}
}

#Turkish-Georgian Cooperative Resource Extraction - Turkish Offer to Soviets/Georgians
country_event = {
	id = bftb_turkey.38
	title = bftb_turkey.38.t
	desc = bftb_turkey.38.desc
	picture = GFX_report_event_tur_soviets

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.38.a #this could signal a deepening of relations between us
		effect_tooltip = {
			add_resource = {
				type = steel
				amount = 36
				state = 231
			}
			add_resource = {
				type = steel
				amount = 14
				state = 354
			}
			231 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
		TUR = { 
			add_opinion_modifier = {
				target = ROOT
				modifier = TUR_joint_resource_extraction
			}
			country_event = { id = bftb_turkey.39 hours = 8 }
		}
	}
	option = {
		name = bftb_turkey.38.b #we don't need their help!
		add_resource = {
			type = steel
			amount = 12
			state = 231
		}
		TUR = { country_event = { id = bftb_turkey.40 hours = 8 } } 
	}
}

#Turkish-Georgian Cooperative Resource Extraction - Soviets/Georgians Accept!
country_event = {
	id = bftb_turkey.39
	title = bftb_turkey.39.t
	desc = bftb_turkey.39.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.39.a #hurrah!
		add_resource = {
			type = steel
			amount = 36
			state = 231
		}
		add_resource = {
			type = steel
			amount = 14
			state = 354
		}
		354 = {
			add_building_construction = {
				type = infrastructure
				level = 2
				instant_build = yes
			}
		}
		hidden_effect = {
			FROM = { 
				add_opinion_modifier = {
					target = TUR
					modifier = TUR_joint_resource_extraction
				}
			}
			231 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
	}
}

#Turkish-Georgian Cooperative Resource Extraction - Soviets/Georgians Decline!
country_event = {
	id = bftb_turkey.40
	title = bftb_turkey.40.t
	desc = bftb_turkey.40.desc
	picture = GFX_report_event_tur_soviets

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.40.a #curses!
		add_political_power = -75
	}
}

#The Balkan Pact Faction - Invitation
country_event = {
	id = bftb_turkey.41
	title = bftb_turkey.41.t
	desc = bftb_turkey.41.desc
	picture = GFX_report_event_gre_balkan_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.41.a #a great initiative!
		trigger = { is_subject = no } #failsafe to ensure subjects don't leave their master
		ai_chance = {
			base = 10
			modifier = {
				factor = 0.5
				AND = {
					is_in_faction = yes
					has_war = yes
				}
			}
		}
		if = {
			limit = {
				ROOT = { is_in_faction = yes }
			}
			leave_faction = yes
		}
		TUR = { add_to_faction = ROOT }
		if = {
			limit = {
				num_subjects > 0
			}
			every_other_country = {
				limit = { is_subject_of = ROOT }
				TUR = { add_to_faction = PREV }
			}
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.42 hours = 6 } } 
			add_ai_strategy = {
				type = alliance
				id = TUR
				value = 300
			}
		}
	}

	option = {
		name = bftb_turkey.41.b #thinly-veiled turkish opportunism!
		ai_chance = {
			base = 1
			modifier = {
				factor = 5
				AND = {
					is_in_faction = yes
					has_war = yes
				}
			}
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.43 hours = 8 } } 
			set_country_flag = ITA_rejected_faction_with_TUR
		}
	}
}

#The Balkan Pact Faction - [FROM] Accepts!
country_event = {
	id = bftb_turkey.42
	title = bftb_turkey.42.t
	desc = bftb_turkey.42.desc
	picture = GFX_report_event_gre_balkan_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.42.a #a great initiative!
		effect_tooltip = { 
			TUR = { add_to_faction = FROM }
		}
	}
}

#The Balkan Pact Faction - [FROM] Rejects!
country_event = {
	id = bftb_turkey.43
	title = bftb_turkey.43.t
	desc = bftb_turkey.43.desc
	picture = GFX_report_event_gre_balkan_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.43.a #then they shall fall alone
	}
}

#The Petra Proposal - the Offer
country_event = {
	id = bftb_turkey.44
	title = bftb_turkey.44.t
	desc = bftb_turkey.44.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.44.a #strategically sound!
		ai_chance = {
			base = 10
			modifier = {
				has_opinion = {
					target = FROM
					value > 75
				}
				factor = 2
			}
			modifier = {
				has_opinion = {
					target = FROM
					value < -25
				}
				factor = 0.2
			}
		}
		effect_tooltip = {
			IF = {
				limit = { 455 = { is_owned_by = ROOT } }
				TUR = { transfer_state = 455 }
			}
			else_if = {
				limit = {
					has_subject = JOR
					JOR = {
						owns_state = 455
					}
				}
				TUR = {
					if = {
						limit = {
							JOR = {
								is_puppet = no
							}
						}
						set_autonomy = {
							target = JOR
							autonomous_state = autonomy_dominion
							end_wars = no
							end_civil_wars = no
						}
					}
					else = {
						set_autonomy = {
							target = JOR
							autonomous_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
			IF = {
				limit = { 454 = { is_owned_by = ROOT } }
				TUR = { transfer_state = 454 }
			}
			else_if = {
				limit = {
					has_subject = PAL
					PAL = {
						owns_state = 454
					}
				}
				TUR = {
					if = {
						limit = {
							PAL = {
								is_puppet = no
							}
						}
						set_autonomy = {
							target = PAL
							autonomous_state = autonomy_dominion
							end_wars = no
							end_civil_wars = no
						}
					}
					else = {
						set_autonomy = {
							target = PAL
							autonomous_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
			IF = {
				limit = { 453 = { is_owned_by = ROOT } }
				TUR = { transfer_state = 453 }
			}
		}
		hidden_effect = {
			TUR = {
				country_event = { id = bftb_turkey.45 hours = 8 }
			}
		}
	}

	option = {
		name = bftb_turkey.44.b #the Ottoman Empire collapsed for a reason
		ai_chance = {
			base = 5
			modifier = { # More sceptical if already promised to Ethiopia
				454 = {
					is_in_array = { ETH.ETH_promised_states_array = THIS }
				}
				factor = 4
			}
		}
		TUR = {
			country_event = { id = bftb_turkey.46 hours = 8 }
		}
	}
}

#The Petra Proposal - the British Accept
country_event = {
	id = bftb_turkey.45
	title = bftb_turkey.45.t
	desc = bftb_turkey.45.desc
	picture = GFX_report_event_tur_britain

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.45.a #we will not let them down
		IF = {
			limit = {
				455 = { is_owned_by = FROM }
			}
			transfer_state = 455
		}
		else_if = {
			limit = {
				FROM = {
					has_subject = JOR
				}
				JOR = {
					owns_state = 455
				}
			}
			if = {
				limit = {
					JOR = {
						is_puppet = no
					}
				}
				set_autonomy = {
					target = JOR
					autonomous_state = autonomy_dominion
					end_wars = no
					end_civil_wars = no
				}
			}
			else = {
				set_autonomy = {
					target = JOR
					autonomous_state = autonomy_puppet
					end_wars = no
					end_civil_wars = no
				}
			}
			hidden_effect = {
				JOR = {
					drop_cosmetic_tag = yes
				}
			}
		}
		IF = {
			limit = {
				454 = { is_owned_by = FROM }
			}
			transfer_state = 454
		}
		else_if = {
			limit = {
				FROM = {
					has_subject = PAL
				}
				PAL = {
					owns_state = 454
				}
			}
			if = {
				limit = {
					PAL = {
						is_puppet = no
					}
				}
				set_autonomy = {
					target = PAL
					autonomous_state = autonomy_dominion
					end_wars = no
					end_civil_wars = no
				}
			}
			else = {
				set_autonomy = {
					target = PAL
					autonomous_state = autonomy_puppet
					end_wars = no
					end_civil_wars = no
				}
			}
			hidden_effect = {
				PAL = {
					drop_cosmetic_tag = yes
				}
			}
		}
		IF = {
			limit = {
				453 = { is_owned_by = FROM }
			}
			transfer_state = 453
		}
		custom_effect_tooltip = TUR_unlock_camelry_effect_tt
		hidden_effect = { set_technology = { camelry = 1 } } 
	}
}

#The Petra Proposal - the British Decline
country_event = {
	id = bftb_turkey.46
	title = bftb_turkey.46.t
	desc = bftb_turkey.46.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.46.a #then we let it go
	}

	option = {
		name = bftb_turkey.46.b #then we escalate!
		add_state_claim = 455
		add_state_claim = 454
		add_state_claim = 453
		add_stability = -0.15
	}
}

#Defense of the Gulf - the Offer
country_event = {
	id = bftb_turkey.47
	title = bftb_turkey.47.t
	desc = bftb_turkey.47.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.47.a #we need the help!
		effect_tooltip = {
			ENG = {
				every_owned_state = {
					limit = {
						is_controlled_by = ENG
						OR = {
							THIS = { state = 656 }
							THIS = { state = 658 }
							THIS = { state = 765 }
							THIS = { state = 659 }
							THIS = { state = 1014 }
							THIS = { state = 992 }
							THIS = { state = 906 }
						}
					}
					transfer_state_to = TUR
				}
			}
		}
		hidden_effect = {
			TUR = {
				country_event = { id = bftb_turkey.48 hours = 8 }
			}
		}
	}

	option = {
		name = bftb_turkey.47.b #the Ottoman Empire collapsed for a reason
		TUR = {
			country_event = { id = bftb_turkey.49 hours = 8 }
		}
	}
}

#Defense of the Gulf - the British Accept
country_event = {
	id = bftb_turkey.48
	title = bftb_turkey.48.t
	desc = bftb_turkey.48.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.48.a #we truly are a great power

		ENG = {
			every_owned_state = {
				limit = {
					is_controlled_by = ENG
					OR = {
						THIS = { state = 656 }
						THIS = { state = 658 }
						THIS = { state = 765 }
						THIS = { state = 659 }
						THIS = { state = 1014 }
						THIS = { state = 992 }
						THIS = { state = 906 }
					}
				}
				transfer_state_to = TUR
			}
		}
		
		if = {
			limit = {
				NOT = { has_tech = camelry }
			}
			custom_effect_tooltip = TUR_unlock_camelry_effect_tt
			hidden_effect = { set_technology = { camelry = 1 } } 
		}
	}
}

#Defense of the Gulf - the British Decline
country_event = {
	id = bftb_turkey.49
	title = bftb_turkey.49.t
	desc = bftb_turkey.49.desc
	picture = GFX_report_event_tur_the_montreux_convention

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.49.a #we will not forget
		add_stability = -0.05
	}
}

#Turkey Desires Light Tanks!
country_event = {
	id = bftb_turkey.50
	title = bftb_turkey.50.t
	desc = bftb_turkey.50.desc
	picture = GFX_report_event_tur_cakmak_general_staff
	
	is_triggered_only = yes
	
	option = { # send some of our best
		name = bftb_turkey.50.a
		ai_chance = {
			factor = 70
		}
		trigger = {
			OR = {
				has_tech = improved_light_tank
				has_tech = improved_light_tank_chassis
			}
		}
		IF = {
			limit = {
				NOT = { has_dlc = "No Step Back" }
			}
			send_equipment = {
				target = TUR
				type = light_tank_equipment_2
				amount = 50
			}
		}
		else = {
			send_equipment = {
				target = TUR
				type = light_tank_chassis_2
				amount = 50
			}
		}
		add_offsite_building = { type = industrial_complex level = 3 }
		TUR = { country_event = bftb_turkey.51 }
	}	
	option = { # send some regular light tanks
		name = bftb_turkey.50.b
		ai_chance = {
			factor = 70
		}
		trigger = {
			OR = {
				has_tech = basic_light_tank
				has_tech = basic_light_tank_chassis
			}
		}
		IF = {
			limit = {
				NOT = { has_dlc = "No Step Back" }
			}
			send_equipment = {
				target = TUR
				type = light_tank_equipment_1
				amount = 75
			}
		}
		else = {
			send_equipment = {
				target = TUR
				type = light_tank_chassis_1
				amount = 75
			}
		}
		add_offsite_building = { type = industrial_complex level = 2 }
		TUR = { country_event = bftb_turkey.52 }
	}

	option = { # give them some of our old models
		name = bftb_turkey.50.c
		ai_chance = {
			factor = 70
		}	
		trigger = {
			OR = {
				has_tech = gwtank
				has_tech = gwtank_chassis
			}
		}
		IF = {
			limit = {
				NOT = { has_dlc = "No Step Back" }
			}
			send_equipment = {
				target = TUR
				type = gw_tank_equipment
				amount = 75
			}
		}
		else = {
			send_equipment = {
				target = TUR
				type = light_tank_chassis_0
				amount = 75
			}
		}	
		add_offsite_building = { type = industrial_complex level = 1 }
		TUR = { country_event = bftb_turkey.53 }
	}

	option = { # give them nothing!
		name = bftb_turkey.50.d
		ai_chance = {
			factor = 30
		}
		TUR = { country_event = bftb_turkey.54 }
	}	
}

#Turkey Desires Light Tanks - Improved Light Tanks
country_event = {
	id = bftb_turkey.51
	title = bftb_turkey.51.t
	desc = bftb_turkey.51.desc
	picture = GFX_report_event_tank_factory

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.51.a #generous!
		if = {
			limit = {
				NOT = {
					has_dlc = "No Step Back"
				}
			}
			effect_tooltip = {
				add_equipment_to_stockpile = { type = light_tank_equipment_2 amount = 50 producer = ITA } 
			}
		}
		else = {
			effect_tooltip = {
				add_equipment_to_stockpile = { type = light_tank_chassis_2 amount = 50 producer = ITA } 
			}
		}
		if = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			add_equipment_subsidy = {
				cic = 500
				equipment_type = light_tank_chassis
				seller_tags = { ITA } 
			}
		}
	}
}

#Turkey Desires Light Tanks - Light Tanks
country_event = {
	id = bftb_turkey.52
	title = bftb_turkey.52.t
	desc = bftb_turkey.52.desc
	picture = GFX_report_event_tank_factory

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.52.a #generous!
		if = {
			limit = {
				NOT = {
					has_dlc = "No Step Back"
				}
			}
			effect_tooltip = {
				add_equipment_to_stockpile = { type = light_tank_equipment_1 amount = 75 producer = ITA } 
			}
		}
		else = {
			effect_tooltip = {
				add_equipment_to_stockpile = { type = light_tank_chassis_1 amount = 75 producer = ITA } 
			}
		}
		if = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			add_equipment_subsidy = {
				cic = 500
				equipment_type = light_tank_chassis
				seller_tags = { ITA } 
			}
		}
	}
}

#Turkey Desires Light Tanks - Interwar Tanks
country_event = {
	id = bftb_turkey.53
	title = bftb_turkey.53.t
	desc = bftb_turkey.53.desc
	picture = GFX_report_event_tank_factory

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.53.a #generous!
		if = {
			limit = {
				NOT = {
					has_dlc = "No Step Back"
				}
			}
			effect_tooltip = {
				add_equipment_to_stockpile = { type = gw_tank_equipment amount = 75 producer = ITA } 
			}
		}
		else = {
			effect_tooltip = {
				add_equipment_to_stockpile = { type = light_tank_chassis_0 amount = 75 producer = ITA } 
			}
		}
		if = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			add_equipment_subsidy = {
				cic = 500
				equipment_type = light_tank_chassis
				seller_tags = { ITA } 
			}
		}
	}
}

#Turkey Desires Light Tanks - No Tanks
country_event = {
	id = bftb_turkey.54
	title = bftb_turkey.54.t
	desc = bftb_turkey.54.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.54.a #stingy bastards!
	}
}

#The Chester Concession - America's Event
country_event = {
	id = bftb_turkey.55
	title = bftb_turkey.55.t
	desc = bftb_turkey.55.desc
	picture = GFX_report_event_tur_inonu_diplomacy
	
	is_triggered_only = yes
	
	option = { # we shall aid all friends of democracy
		name = bftb_turkey.55.a
		effect_tooltip = {
			TUR = { 
				add_offsite_building = { type = industrial_complex level = 3 } 
				add_tech_bonus = {
					bonus = 1.5
					uses = 2
					category = excavation_tech
				}
			}
			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = excavation_tech
			}
		}
		hidden_effect = {
			TUR = {
				country_event = { id = bftb_turkey.56 hours = 8 }
			}
		}
	}
	option = { # we shall aid you conditionally
		name = bftb_turkey.55.b
		effect_tooltip = {
			TUR = { give_resource_rights = { receiver = USA state = 342 } }
		}
		TUR = {
			country_event = { id = bftb_turkey.57 hours = 8 }
		}
	}
}

#The Chester Concession - The United States Sends Aid!
country_event = {
	id = bftb_turkey.56
	title = bftb_turkey.56.t
	desc = bftb_turkey.56.desc
	picture = GFX_report_event_tur_kemalists_positive

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.56.a 
		if = {
			limit = {
				354 = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
					is_controlled_by = TUR
				}
			}
			354 = { 
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
		}
		else = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
		}
		350 = {
			add_resource = {
				type = oil
				amount = 16
			}
		}
		add_tech_bonus = {
			bonus = 1.5
			uses = 2
			category = excavation_tech
		}
		hidden_effect = {
			USA = {
				add_tech_bonus = {
					bonus = 0.75
					uses = 1
					category = excavation_tech
				}
			}
		}
	}
}

#The Chester Concession - The United States Demands the Concession
country_event = {
	id = bftb_turkey.57
	title = bftb_turkey.57.t
	desc = bftb_turkey.57.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.57.a #fine
		add_offsite_building = { type = industrial_complex level = 3 } 
		add_tech_bonus = {
			bonus = 1.5
			uses = 2
			category = excavation_tech
		}
		350 = {
			add_resource = {
				type = oil
				amount = 16
			}
		}
		effect_tooltip = {
			give_resource_rights = { receiver = USA state = 342 }
		}
		hidden_effect = {
			set_country_flag = TUR_the_chester_concession_flag
			USA = {
				country_event = { id = bftb_turkey.58 hours = 8 }
			}
		}
	}
	option = {
		name = bftb_turkey.57.b #no
		add_stability = 0.05
		add_political_power = 75
		hidden_effect = {
			USA = {
				country_event = { id = bftb_turkey.59 hours = 8 }
			}
		}
	}
}

#The Chester Concession - The Turks Provide the Concession
country_event = {
	id = bftb_turkey.58
	title = bftb_turkey.58.t
	desc = bftb_turkey.58.desc
	picture = GFX_report_event_tur_ataturk_writing_desk

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.58.a #fair is fair
		TUR = { give_resource_rights = { receiver = USA state = 342 } }
		add_tech_bonus = {
			bonus = 0.75
			uses = 1
			category = excavation_tech
		}
	}
}

#The Chester Concession - The Turks Deny Us the Concession
country_event = {
	id = bftb_turkey.59
	title = bftb_turkey.59.t
	desc = bftb_turkey.59.desc
	picture = GFX_report_event_tur_the_montreux_convention 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.59.a #the impunity of those Turks!
	}
}

#The Mediterranean Entente Faction - Invitation
country_event = {
	id = bftb_turkey.63
	title = bftb_turkey.63.t
	desc = bftb_turkey.63.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.63.a #yes
		TUR = { add_to_faction = ROOT }
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.64 hours = 6 } } 
		}
	}

	option = {
		name = bftb_turkey.63.b #no
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.65 hours = 8 } } 
		}
	}
}

#The Mediterranean Entente Faction - [FROM] Accepts!
country_event = {
	id = bftb_turkey.64
	title = bftb_turkey.64.t
	desc = bftb_turkey.64.desc
	picture = GFX_report_event_tur_upheaval_celebration

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.64.a #a formidable alliance
		effect_tooltip = { 
			TUR = { add_to_faction = FROM }
		}
		hidden_effect = {
			news_event = { id = bftb_news.206 hours = 6 }
		}
	}
}

#The Mediterranean Entente Faction - [FROM] Rejects!
country_event = {
	id = bftb_turkey.65
	title = bftb_turkey.65.t
	desc = bftb_turkey.65.desc
	picture = GFX_report_event_tur_kemalist_officers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.65.a #ok
	}
}

#Turkey Presents Plan to Divide Greece - Italian Event
country_event = {
	id = bftb_turkey.66
	title = bftb_turkey.66.t
	desc = bftb_turkey.66.desc
	picture = GFX_report_event_tur_kemalist_officers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.66.a #this will make the invasion go swimingly 
		ROOT = { 
			add_state_claim = 182
			add_state_claim = 186
			add_state_claim = 185
		}
		hidden_effect = {
			182 = { set_state_flag = TUR_italy_greece_state_flag }
			186 = { set_state_flag = TUR_italy_greece_state_flag }
			185 = { set_state_flag = TUR_italy_greece_state_flag }
			47 = { set_state_flag = TUR_turkey_greece_state_flag }
			731 = { set_state_flag = TUR_turkey_greece_state_flag }
			184 = { set_state_flag = TUR_turkey_greece_state_flag }
			187 = { set_state_flag = TUR_turkey_greece_state_flag }
			TUR = { country_event = { id = bftb_turkey.131 hours = 8 } }
		}
	}
	option = {
		name = bftb_turkey.66.b #this will make the invasion go swimingly 
		TUR = { country_event = { id = bftb_turkey.132 hours = 8 } }
	}
}

#Turkey Presents Plan to Divide Greece - Turkish Event, Italy Agrees
country_event = {
	id = bftb_turkey.131
	title = bftb_turkey.131.t
	desc = bftb_turkey.131.desc
	picture = GFX_report_event_tur_ataturk_inonu_parliament

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.131.a #excellent
		create_wargoal = {
			target = GRE
			type = take_state_focus
		}
		ROOT = { 
			add_state_claim = 47
			add_state_claim = 731
			add_state_claim = 184
			add_state_claim = 187
		}
		effect_tooltip = {
			ITA = { 
				add_state_claim = 182
				add_state_claim = 186
				add_state_claim = 185
			}
		}
	}
}

#Turkey Presents Plan to Divide Greece - Turkish Event, Italy Rejects
country_event = {
	id = bftb_turkey.132
	title = bftb_turkey.132.t
	desc = bftb_turkey.132.desc
	picture = GFX_report_event_tur_kemalist_officers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.132.a #this will be a disaster
		create_wargoal = {
			target = GRE
			type = annex_everything
		}
		ITA = {
			create_wargoal = {
				target = GRE
				type = annex_everything
			}
		}
	}
}

#Support the Golden Square - Al-Gaylani's Coup
country_event = {
	id = bftb_turkey.67
	title = bftb_turkey.67.t
	desc = bftb_turkey.67.desc
	picture = GFX_report_event_france_parade

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.67.a #fight the fascists
		trigger = {
			NOT = { fascism < 0.05 }
		}
		ai_chance = {
			base = 5
			modifier = { 
				add = 25
				has_opinion = {
					target = TUR
					value < -30
				}
			}
		}
		start_civil_war = {
			ruling_party = neutrality
			ideology = fascism
			size = 0.45
			capital = 676
			states = { 676 }
			keep_political_leader = yes
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.68 hours = 1 } } 
			IRQ = { set_country_flag = TUR_iraqi_government_flag }
			ENG = { remove_resource_rights = 676 }
			random_other_country = { 
           		limit = { 
           		    original_tag = IRQ 
           		    has_government = fascism 
           		} 
          		ROOT = { set_variable = { civil_war_opponent = PREV } }
			}
		}
	}
	option = {
		name = bftb_turkey.67.b #uplift the fascists
		trigger = {
			NOT = { fascism < 0.05 }
		}
		ai_chance = {
			base = 30
		}
		set_politics = { ruling_party = fascism }
		ENG = { 
			remove_resource_rights = 676
			remove_resource_rights = 291
		}
		add_stability = -0.1
		effect_tooltip = {
			TUR = { 
				diplomatic_relation = {
					country = IRQ
					relation = guarantee
					active = yes
				}
			}
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.69 hours = 6 } } 
			GER = { country_event = { id = bftb_turkey.71 hours = 8 } } 
			ITA = { country_event = { id = bftb_turkey.73 hours = 8 } } 
			if = {
				limit = {
					IRQ = { NOT = { has_idea = nationalism } }
				}
				add_ideas = nationalism
			}
		}
	}
	option = {
		name = bftb_turkey.67.c #scatter the fascists
		trigger = {
			fascism < 0.05
		}
		add_stability = 0.05
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.70 hours = 6 } } 
		}
	}
}

#Support the Golden Square - Iraqi Civil War
country_event = {
	id = bftb_turkey.68
	title = bftb_turkey.68.t
	desc = bftb_turkey.68.desc
	picture = GFX_report_event_gre_political_upheaval

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.68.a #then we watch and wait
		
		random_other_country = { 
			limit = { 
				original_tag = IRQ 
				has_government = fascism
			} 
			ROOT = { give_guarantee = PREV }
		}
		hidden_effect = {
			random_other_country = { 
				limit = { 
					original_tag = IRQ 
					has_government = fascism
				} 
				set_country_flag = TUR_iraqi_fascists_flag
				#set_variable = { civil_war_opponent = PREV }
			}
		}
	}
}

#Support the Golden Square - Fascist Coup Succeeds
country_event = {
	id = bftb_turkey.69
	title = bftb_turkey.69.t
	desc = bftb_turkey.69.desc
	picture = GFX_report_event_gre_political_upheaval

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.69.a #things shall prove interesting
		diplomatic_relation = {
			country = FROM
			relation = guarantee
			active = yes
		}
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
				has_government = fascism
			}
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_reichskommissariat
			}
		}
		else_if = {
			limit = {
				has_dlc = "Together for Victory"
			}
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_puppet
			}
		}
		else = {
			puppet = IRQ
		}
	}
}

#Support the Golden Square - Fascist Coup Fails
country_event = {
	id = bftb_turkey.70
	title = bftb_turkey.70.t
	desc = bftb_turkey.70.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.70.a #then we must crush you
		create_wargoal = {
			type = annex_everything
			target = IRQ
		}
	}
}

#Support the Golden Square - Germans Informed of Fascist Coup
country_event = {
	id = bftb_turkey.71
	title = bftb_turkey.71.t
	desc = bftb_turkey.71.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.71.a #Iraq? Not our business...
		ai_chance = {
			base = 5
			modifier = { 
				add = 10
				NOT = { has_war_with = ENG }
			}
		}
		FROM = { 
			add_opinion_modifier = {
				target = GER
				modifier = GRE_left_us_to_fight_alone
			}
		}
		hidden_effect = {
			ENG = { country_event = { id = bftb_turkey.75 } }
		}
	}
	option = {
		name = bftb_turkey.71.b #we shall support them against the British!
		ai_chance = {
			base = 25
		}
		diplomatic_relation = {
			country = FROM
			relation = guarantee
			active = yes
		}
		FROM = { country_event = { id = bftb_turkey.72 } }
	}
	option = {
		name = bftb_turkey.71.c #they have shown themelves to be Axis-worthy
		FROM = { country_event = { id = generic.5 } }
	}
}

#Support the Golden Square - Germany Supports Us!
country_event = {
	id = bftb_turkey.72
	title = bftb_turkey.72.t
	desc = bftb_turkey.72.desc
	picture = GFX_report_event_german_italian_pact

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.72.a
		add_stability = 0.05
		add_war_support = 0.1
		hidden_effect = {
			ENG = { country_event = { id = bftb_turkey.75 } }
		}
	}
}

#Support the Golden Square - Italy Informed of Fascist Coup
country_event = {
	id = bftb_turkey.73
	title = bftb_turkey.73.t
	desc = bftb_turkey.73.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.73.a #Iraq is unworthy of our attentions
		ai_chance = {
			base = 5
			modifier = { 
				add = 15
				NOT = { has_war_with = ENG }
			}
		}
		FROM = { 
			add_opinion_modifier = {
				target = ITA
				modifier = GRE_left_us_to_fight_alone
			}
		}
		hidden_effect = {
			ENG = { country_event = { id = bftb_turkey.75 } }
		}
	}
	option = {
		name = bftb_turkey.73.b #we are the Sword of Islam!
		ai_chance = {
			base = 15
		}
		diplomatic_relation = {
			country = IRQ
			relation = guarantee
			active = yes
		}
		IRQ = { country_event = { id = bftb_turkey.74 } }
	}
}

#Support the Golden Square - Italy Supports Us!
country_event = {
	id = bftb_turkey.74
	title = bftb_turkey.74.t
	desc = bftb_turkey.74.desc
	picture = GFX_report_event_fascists_posing

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.74.a
		add_stability = 0.05
		add_war_support = 0.1
		hidden_effect = {
			ENG = { country_event = { id = bftb_turkey.75 } }
		}
	}
}

#Support the Golden Square - Britain Informed of Fascist Coup and Nationalisation of Oil
country_event = {
	id = bftb_turkey.75
	title = bftb_turkey.75.t
	desc = bftb_turkey.75.desc
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.75.a #then guard the sacred flame with us
		trigger = {
			ENG = { has_government = fascism }
		}
		IRQ = { country_event = { id = generic.5 } }
	}
	option = {
		name = bftb_turkey.75.b #we must not let the oil fall into the hands of fascists!
		trigger = {
			ENG = { 
				OR = { 
					has_completed_focus = ENG_global_defense 
					has_completed_focus = ENG_prepare_for_the_inevitable
				}
			}
		}
		create_wargoal = {
			type = topple_government
			target = IRQ
		}
	}
	option = {
		name = bftb_turkey.75.c #the divine right of kings must be protected
		trigger = {
			ENG = { 
				has_completed_focus = ENG_the_kings_party
				NOT = { has_completed_focus = ENG_alliance_with_germany }
			}
		}
		create_wargoal = {
			type = puppet_wargoal_focus
			target = IRQ
		}
	}
	option = {
		name = bftb_turkey.75.d #we would like our oil back, thanks
		trigger = {
			ENG = { 
				has_completed_focus = ENG_alliance_with_germany
			}
		}
		IRQ = { country_event = { id = bftb_turkey.77 } }
	}
	option = {
		name = bftb_turkey.75.e #as is the right of all self-determinant nations
		IRQ = { country_event = { id = bftb_turkey.76 } }
	}
}

#Support the Golden Square - The British Do Not Interfere
country_event = {
	id = bftb_turkey.76
	title = bftb_turkey.76.t
	desc = bftb_turkey.76.desc
	picture = GFX_report_event_tur_political_rally 

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.76.a 
		add_stability = 0.15
		add_political_power = 120
		ENG = {
			diplomatic_relation = {
				country = IRQ
				relation = non_aggression_pact
				active = yes
			}
		}
	}
}

#Support the Golden Square - The British Have Aligned with the Germans
country_event = {
	id = bftb_turkey.77
	title = bftb_turkey.77.t
	desc = bftb_turkey.77.desc
	picture = GFX_report_event_eng_royal_family

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.77.a #fight
		ai_chance = {
			base = 1
		}
		add_war_support = 0.1
		ENG = { 
			create_wargoal = {
				type = annex_everything
				target = IRQ
			}
		}
		if = {
			limit = {
				IRQ = { is_guaranteed_by = TUR }
			}
			TUR = { 
				diplomatic_relation = {
					country = IRQ
					relation = guarantee
					active = no
				}
			}
		}
		if = {
			limit = {
				IRQ = { is_guaranteed_by = GER }
			}
			GER = { 
				diplomatic_relation = {
					country = IRQ
					relation = guarantee
					active = no
				}
			}
		}
		if = {
			limit = {
				IRQ = { is_guaranteed_by = ITA }
			}
			ITA = { 
				diplomatic_relation = {
					country = IRQ
					relation = guarantee
					active = no
				}
			}
		}
	}
	option = {
		name = bftb_turkey.77.b #give in
		ai_chance = {
			base = 1
		}
		add_stability = -0.45
		add_war_support = -0.3
		add_political_power = -250
		give_resource_rights = {
			receiver = ENG
			state = 676
		}
		give_resource_rights = {
			receiver = ENG
			state = 291
		}
	}
}

#MM: Never used. Unlocalized
#Support the Golden Square - The Iraqi Government Wins the Civil War
country_event = {
	id = bftb_turkey.78
	title = bftb_turkey.78.t
	desc = bftb_turkey.78.desc
	picture = GFX_report_event_gre_city_devastated

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.78.a #then we do this ourselves
		create_wargoal = {
			type = annex_everything
			target = IRQ
		}
	}
}

#Renew the Soviet-Turkish Non-Aggression Pact - Soviet Event
country_event = {
	id = bftb_turkey.79
	title = bftb_turkey.79.t
	desc = bftb_turkey.79.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.79.a #it is necessary we remain friendly with Turkey
		ai_chance = {
			base = 10
		}
		diplomatic_relation = {
			country = TUR
			relation = non_aggression_pact
			active = yes
		}
		hidden_effect = {
			set_country_flag = TUR_soviet_turkish_pact
			TUR = { country_event = { id = bftb_turkey.80 hours = 6 } }
		}
	}
	option = {
		name = bftb_turkey.79.b #we have new plans for Turkey
		ai_chance = {
			base = 0
		}
		TUR = { 
			country_event = { id = bftb_turkey.81 hours = 8 } 
		}
	}
}

#Renew the Soviet-Turkish Non-Aggression Pact - Soviets Renew Pact
country_event = {
	id = bftb_turkey.80
	title = bftb_turkey.80.t
	desc = bftb_turkey.80.desc
	picture = GFX_report_event_tur_ataturk_inonu_parliament

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.80.a #a great relief!
		effect_tooltip = {
			diplomatic_relation = {
				country = SOV
				relation = non_aggression_pact
				active = yes
			}
		}
	}
}

#Renew the Soviet-Turkish Non-Aggression Pact - Soviets Kill Pact
country_event = {
	id = bftb_turkey.81
	title = bftb_turkey.81.t
	desc = bftb_turkey.81.desc
	picture = GFX_report_event_tur_politician_march

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.81.a #this can only only mean something terrible
		add_war_support = 0.05
	}
}

#Lift the Turkish Communist Party's Exile - Anti-Bolshevik Bloc
country_event = {
	id = bftb_turkey.82
	title = bftb_turkey.82.t
	desc = bftb_turkey.82.desc
	picture = GFX_report_event_tur_ataturk_inonu_parliament

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.82.a 
		add_stability = 0.1
		add_popularity = { 
			ideology = communism
			popularity = 0.07
		}
		custom_effect_tooltip = available_political_advisor
		show_ideas_tooltip = TUR_sefik_husnu
	}
}

#Lift the Turkish Communist Party's Exile - Stalinist Path
country_event = {
	id = bftb_turkey.83
	title = bftb_turkey.83.t
	desc = bftb_turkey.83.desc
	picture = GFX_report_event_gre_trial

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.83.a 
		add_stability = -0.05
		add_popularity = { 
			ideology = communism
			popularity = 0.1
		}
		set_party_name = { 
			ideology = communism
			long_name = TUR_communism_party_long
			name = TUR_communism_party
		}
		retire_ideology_leader = communism
		promote_character = {
			character = TUR_sefik_husnu
			ideology = stalinism
		}
	}
}

#Pressure Bulgaria - Bulgaria receives puppet demand
country_event = {
	id = bftb_turkey.84
	title = bftb_turkey.84.t
	desc = bftb_turkey.84.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.84.a #the Soviets shall mediate
		trigger = {
			has_government = communism
		}
		SOV = { country_event = { id = bftb_turkey.85 } }
		hidden_effect = { set_country_flag = TUR_bulgaria_seeking_aid }
	}
	option = {
		name = bftb_turkey.84.b #someone... help us!
		trigger = {
			has_government = democratic
		}
		if = {
			limit = {
				ENG = { has_government = democratic }
			} 
			ENG = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				FRA = { has_government = democratic }
			} 
			FRA = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				GER = { has_government = democratic }
			} 
			GER = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				ROM = { has_government = democratic }
			} 
			ROM = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				GRE = { has_government = democratic }
			} 
			GRE = { country_event = { id = bftb_turkey.85 } }
		}
		hidden_effect = { set_country_flag = TUR_bulgaria_seeking_aid }
	}
	option = {
		name = bftb_turkey.84.c #we need aid to stop this red Turkish menace!
		trigger = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
		}
		if = {
			limit = {
				ENG = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					} 
				}
			} 
			ENG = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				FRA = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					} 
				}
			} 
			FRA = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				GER = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					} 
				}
			} 
			GER = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				ITA = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					} 
				}
			} 
			ITA = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				ROM = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					} 
				}
			} 
			ROM = { country_event = { id = bftb_turkey.85 } }
		}
		if = {
			limit = {
				GRE = { 
					OR = {
						has_government = neutrality
						has_government = fascism
					}
				}
			} 
			GRE = { country_event = { id = bftb_turkey.85 } }
		}
		hidden_effect = { set_country_flag = TUR_bulgaria_seeking_aid }
	}
	option = {
		name = bftb_turkey.84.d #our friends will guarantee our safety
		trigger = {
			is_in_faction = yes
		}
		TUR = { country_event = { id = bftb_turkey.87 hours = 8 } }
	}
	option = {
		name = bftb_turkey.84.e #anything to save Bulgarian lives
		add_stability = -0.07
		add_popularity = { 
			ideology = communism
			popularity = 0.1
		}
		effect_tooltip = {
			TUR = { puppet = ROOT }
		}
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.90 } }
		}
	}
}

#Pressure Bulgaria - Bulgaria seeks mediation
country_event = {
	id = bftb_turkey.85
	title = bftb_turkey.85.t
	desc = bftb_turkey.85.desc
	picture = GFX_report_event_bul_boris_military

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.85.a #Turkey is monopolising communism, it must end!
		trigger = {
			tag = SOV
		}
		diplomatic_relation = {
			country = BUL
			relation = guarantee
			active = yes
		}
		hidden_effect = {
			BUL = { country_event = { id = bftb_turkey.86 hours = 6 random = 4 } }
			TUR = { country_event = { id = bftb_turkey.87 hours = 12 } }
		}
	}
	option = {
		name = bftb_turkey.85.b #Turkey is endangering the continental balance!
		trigger = {
			has_government = democratic
		}
		diplomatic_relation = {
			country = BUL
			relation = guarantee
			active = yes
		}
		hidden_effect = {
			BUL = { country_event = { id = bftb_turkey.86 hours = 6 random = 4 } }
			TUR = { country_event = { id = bftb_turkey.87 hours = 12 } }
		}
	}
	option = {
		name = bftb_turkey.85.c #we cannot allow the communists to run amok
		trigger = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}
		diplomatic_relation = {
			country = BUL
			relation = guarantee
			active = yes
		}
		hidden_effect = {
			BUL = { country_event = { id = bftb_turkey.86 hours = 6 random = 4 } }
			TUR = { country_event = { id = bftb_turkey.87 hours = 12 } }
		}
	}
	option = {
		name = bftb_turkey.85.d #it is not our problem
		BUL = { country_event = { id = bftb_turkey.89 hours = 6 random = 4 } }
	}
}

#Pressure Bulgaria - Bulgaria gets its aid!
country_event = {
	id = bftb_turkey.86
	title = bftb_turkey.86.t
	desc = bftb_turkey.86.desc
	picture = GFX_report_event_bul_partisans_plovdiv

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.86.a #true friends of the Bulgarians
		FROM = { 
			diplomatic_relation = {
				country = BUL
				relation = guarantee
				active = yes
			}
		}
	}
}

#Pressure Bulgaria - Bulgaria is supported
country_event = {
	id = bftb_turkey.87
	title = bftb_turkey.87.t
	desc = bftb_turkey.87.desc
	picture = GFX_report_event_tur_the_montreux_convention

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.87.a #we push on regardless
		create_wargoal = {
			type = puppet_wargoal_focus
			target = BUL
		}
	}
	option = {
		name = bftb_turkey.87.b #then we must change course!
		BUL = { add_stability = 0.1 }
		add_stability = -0.1
		hidden_effect = {
			BUL = { country_event = { id = bftb_turkey.88 hours = 6 } }
		}
	}
}

#Pressure Bulgaria - Bulgaria wins!
country_event = {
	id = bftb_turkey.88
	title = bftb_turkey.88.t
	desc = bftb_turkey.88.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.88.a #we survived a great crisis
		effect_tooltip = {
			add_stability = 0.1
		}
	}
}

#Pressure Bulgaria - No Aid Offered to Bulgaria
country_event = {
	id = bftb_turkey.89
	title = bftb_turkey.89.t
	desc = bftb_turkey.89.desc
	picture = GFX_report_event_tur_turkish_soldiers

	trigger = {
		BUL = { has_country_flag = TUR_bulgaria_seeking_aid }
		NOT = {
			any_country = {
				has_guaranteed = BUL
			}
		}
	}

	mean_time_to_happen = {
		days = 2
	}

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.89.a #then we must surrender
		TUR = { country_event = { id = bftb_turkey.90 } }
		effect_tooltip = {
			TUR = { puppet = BUL }
		}
	}
	option = {
		name = bftb_turkey.89.b #we will not give in without a fight
		TUR = { country_event = { id = bftb_turkey.91 } }
	}
}

#Pressure Bulgaria - Bulgaria gives in
country_event = {
	id = bftb_turkey.90
	title = bftb_turkey.90.t
	desc = bftb_turkey.90.desc
	picture = GFX_report_event_tur_upheaval_celebration 

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.90.a #pathetic
		add_political_power = 120
		TUR = { puppet = BUL }
	}
}

#Pressure Bulgaria - Bulgaria stands defiant
country_event = {
	id = bftb_turkey.91
	title = bftb_turkey.91.t
	desc = bftb_turkey.91.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.91.a #time to humble them
		create_wargoal = {
			type = puppet_wargoal_focus
			target = BUL
		}
	}
}

#Etatism - Country Economy Collapses
country_event = {
	id = bftb_turkey.94
	title = bftb_turkey.94.t
	desc = bftb_turkey.94.desc
	picture = GFX_report_event_gre_political_upheaval

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.94.a #we were fools!
		add_political_power = -250
		add_timed_idea = {
			idea = TUR_economic_collapse
			days = 180
		}
	}
}

#The Civil War - Ottoman Officers Offer Chance to Restore Sultanate
country_event = {
	id = bftb_turkey.95
	title = bftb_turkey.95.t
	desc = bftb_turkey.95.desc
	picture = GFX_report_event_tur_sultan_and_pashas

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.95.a #our old glory will be ours again
		ai_chance = {
			factor = 15
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_OTTOMAN
					has_game_rule = {
						rule = TUR_ai_behavior
						option = OTTOMAN
					}
				}
				factor = 100
			}
		}
		retire_country_leader = yes
		add_country_leader_role = {
			character = TUR_refet_pasha
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					crown_regent
				}
			}
			promote_leader = yes
		}
		hidden_effect = { 
			set_politics = { ruling_party = neutrality }
			add_popularity = {
				ideology = neutrality
				popularity = 0.35
			}
			set_party_name = { 
				ideology = neutrality
				long_name = TUR_sultanate_precursor_party_long
				name = TUR_sultanate_precursor_party_long
			}
			set_party_name = { 
				ideology = democratic
				long_name = TUR_neutrality_party_long
				name = TUR_neutrality_party
			}
			add_country_leader_role = {
				character = TUR_ismet_inonu
				country_leader = {
					expire = "1965.1.1"
					ideology = socialism
					traits = {
						milli_sef
					}
				}
				promote_leader = yes
			}

			add_corps_commander_role = {
				character = TUR_fakhri_pasha
				traits = { war_hero inflexible_strategist trickster desert_fox }
				skill = 4 #13
				attack_skill = 2
				defense_skill = 4
				planning_skill = 3
				logistics_skill = 4
			}

			# These are unit leaders with a visible trigger based on country_flag TUR_PROVISIONARY_flag
			show_unit_leaders_tooltip = TUR_ahmet_fevzi_pasha
			show_unit_leaders_tooltip = TUR_refet_pasha
			show_unit_leaders_tooltip = TUR_mehmet_esat_pasha

			if = {
				limit = {
					TUR_fahrettin_altay = { is_unit_leader = yes }
				}
				TUR_fahrettin_altay = { remove_unit_leader_role = yes }
			}
			if = {
				limit = {
					TUR_kazim_orbay = { is_unit_leader = yes }
				}
				TUR_kazim_orbay = { remove_unit_leader_role = yes }
			}
			if = {
				limit = {
					TUR_cemil_cahit_toydemir = { is_unit_leader = yes }
				}
				TUR_cemil_cahit_toydemir = { remove_unit_leader_role = yes }
			}
			if = {
				limit = {
					TUR_izzettin_chalishlar = { is_unit_leader = yes }
				}
				TUR_izzettin_chalishlar = { remove_unit_leader_role = yes }
			}
			if = {
				limit = {
					TUR_mehmet_salih_omurtak = { is_unit_leader = yes }
				}
				TUR_mehmet_salih_omurtak = { remove_unit_leader_role = yes }
			}
			if = {
				limit = {
					TUR_sukru_okan = { is_unit_leader = yes }
				}
				TUR_sukru_okan = { remove_unit_leader_role = yes }
			}
			set_country_flag = TUR_PROVISIONARY_flag
			TUR_set_appropriate_cosmetic_tag = yes
			set_country_flag = TUR_ottoman_officers_invited_back
		}
	}
	option = {
		name = bftb_turkey.95.b #our allegiance is to the Republic and to democracy!
		ai_chance = {
			factor = 5
			modifier = {
				OR = {
					has_country_flag = TUR_AI_RANDOM_DEMOCRATIC_ALTERNATE
					has_game_rule = {
						rule = TUR_ai_behavior 
						option = TUR_DEMOCRATIC_ALTERNATE
					}
				}
				factor = 100
			}
		}
		effect_tooltip = {
			every_state = {
				limit = { 
					is_core_of = KUR
					is_owned_by = TUR
				}
				THIS = { set_resistance = 85 }
			}
		}
	}
}

#Align Bulgaria - Bulgaria receives puppet demand
country_event = {
	id = bftb_turkey.97
	title = bftb_turkey.97.t
	desc = bftb_turkey.97.desc
	picture = GFX_report_event_tur_sultan_in_istanbul

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.97.a #we are protected from the vile Ottomans!
		trigger = {
			is_in_faction = yes
		}
		TUR = { country_event = { id = bftb_turkey.98 hours = 8 } }
	}
	option = {
		name = bftb_turkey.97.b #1908 will not have been in vain
		trigger = {
			is_in_faction = no
		}
		TUR = { country_event = { id = bftb_turkey.101 hours = 8 } }
	}
	option = {
		name = bftb_turkey.97.c #we cannot resist the Ottoman menace
		add_stability = -0.15
		TUR = { puppet = ROOT }
		add_country_leader_role = {
			character = BUL_ferdinand_i
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					the_humbled_knyaz
				}
			}
			promote_leader = yes
		}
		hidden_effect = { 
			TUR = { country_event = { id = bftb_turkey.100 hours = 8 } }
		}
	}
}

#Align Bulgaria - Bulgaria is in a faction
country_event = {
	id = bftb_turkey.98
	title = bftb_turkey.98.t
	desc = bftb_turkey.98.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.98.a #none can withstand the Sultanate's might
		create_wargoal = {
			type = puppet_wargoal_focus
			target = BUL
		}
	}
	option = {
		name = bftb_turkey.98.b #we must not repeat 1913
		add_stability = -0.15
		BUL = { 
			add_stability = 0.15
			add_war_support = 0.05 
		}
		hidden_effect = {
			BUL = { country_event = { id = bftb_turkey.99 hours = 6 } }
		}
	}
}

#Align Bulgaria - Bulgaria wins!
country_event = {
	id = bftb_turkey.99
	title = bftb_turkey.99.t
	desc = bftb_turkey.99.desc
	picture = GFX_report_event_tur_politician_march

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.99.a #we survived a great crisis
		effect_tooltip = {
			add_stability = 0.15
			add_war_support = 0.05
		}
	}
}

#Align Bulgaria - Bulgaria gives in
country_event = {
	id = bftb_turkey.100
	title = bftb_turkey.100.t
	desc = bftb_turkey.100.desc
	picture = GFX_report_event_tur_sultan_in_istanbul

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.100.a #the Great War may be avenged yet...
		add_political_power = 120
		TUR = { puppet = BUL }
	}
}

#Align Bulgaria - Bulgaria stands defiant
country_event = {
	id = bftb_turkey.101
	title = bftb_turkey.101.t
	desc = bftb_turkey.101.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = bftb_turkey.101.a 
		create_wargoal = {
			type = puppet_wargoal_focus
			target = BUL
		}
	}
}

#The Damascus Diktat - ROOT receives demand
country_event = {
	id = bftb_turkey.102
	title = bftb_turkey.102.t
	desc = bftb_turkey.102.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.102.a #the territories are yours

		TUR = {
			country_event = { id = bftb_turkey.104 hours = 6 }
		}

		if = {
			limit = {
				ROOT = { controls_state = 677 }
			}
			TUR = { transfer_state = 677 }
		}
		else_if = {
			limit = {
				any_country = {
					is_subject_of = ROOT
					controls_state = 677
				}
			}
			TUR = { transfer_state = 677 }
		}

		if = {
			limit = {
				ROOT = { controls_state = 554 }
			}
			TUR = { transfer_state = 554 }
		}
		else_if = {
			limit = {
				any_country = {
					is_subject_of = ROOT
					controls_state = 554
				}
			}
			TUR = { transfer_state = 554 }
		}

		if = {
			limit = {
				ROOT = { controls_state = 553 }
			}
			TUR = { transfer_state = 553 }
		}
		else_if = {
			limit = {
				any_country = {
					is_subject_of = ROOT
					controls_state = 553
				}
			}
			TUR = { transfer_state = 553 }
		}

		if = {
			limit = {
				ROOT = { controls_state = 680 }
			}
			TUR = { transfer_state = 680 }
		}
		else_if = {
			limit = {
				any_country = {
					is_subject_of = ROOT
					controls_state = 680
				}
			}
			TUR = { transfer_state = 680 }
		}

		if = {
			limit = {
				ROOT = { controls_state = 799 }
			}
			TUR = { transfer_state = 799 }
		}
		else_if = {
			limit = {
				any_country = {
					is_subject_of = ROOT
					controls_state = 799
				}
			}
			TUR = { transfer_state = 799 }
		}

	}

	option = {
		name = bftb_turkey.102.b #it is time to dismantle the Ottomans permanently this time...
		TUR = { country_event = { id = bftb_turkey.103 hours = 8 } }
	}
}

#The Damascus Diktat - ROOT denies us!
country_event = {
	id = bftb_turkey.103
	title = bftb_turkey.103.t
	desc = bftb_turkey.103.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.103.a
		add_state_claim = 677
		add_state_claim = 554
		add_state_claim = 553
		add_state_claim = 680
		if = {
			limit = {
				ROOT = { NOT = { controls_state = 799 } }
			}
			add_state_claim = 799
		}
		create_wargoal = {
			target = FROM
			type = take_state_focus
		}
	}
}

#The Damascus Diktat - Our Territories are Ours!
country_event = {
	id = bftb_turkey.104
	title = bftb_turkey.104.t
	desc = bftb_turkey.104.desc
	picture = GFX_report_event_tur_sultan_and_pashas

	is_triggered_only = yes

	option = {
		name = bftb_turkey.104.a #we shall merge the Eyalets of Damascus and Allepo!
		release_puppet = SYR
		SYR = {
			drop_cosmetic_tag = yes
		}
		if = {
			limit = { controls_state = 677 }
			SYR = {
				transfer_state = 677
			}
		}
		if ={
			limit = { controls_state = 554 }
			SYR = {
				transfer_state = 554
			}
		}
		if ={
			limit = { controls_state = 553 }
			SYR = {
				transfer_state = 553
				add_state_core = 553
			}
		}
		if ={
			limit = { controls_state = 680 }
			SYR = {
				transfer_state = 680
			}
		}
		if = {
			limit = {
				has_dlc = "Together for Victory"
			}
			set_autonomy = {
				target = SYR
				autonomy_state = autonomy_colony
			}
		}
	}
	option = {
		name = bftb_turkey.104.b #welcome back to the Empire!
		add_war_support = 0.05
	}
}

#MM: Never used
#hidden dispatch event for Kurdish events
country_event = {
	id = bftb_turkey.105
	
	is_triggered_only = yes

	hidden = yes

	immediate = {
		random_list = {
			20 = { 
				modifier = {
					factor = 0
					all_owned_state = {
						AND = {  
							is_core_of = KUR
							infrastructure > 1
						}
					}
				}
				country_event = { id = bftb_turkey.106 } #Kurds demand removal of infrastructure
			} 
			20 = { 
				country_event = { id = bftb_turkey.107 } #Kurds march for autonomy
			}
			20 = { 
				modifier = {
					factor = 0
					all_owned_state = {
						AND = {  
							is_core_of = KUR
							has_dynamic_modifier = { modifier = conscription_exemptions_granted }
						}
					}
				}
				country_event = { id = bftb_turkey.108 } #Kurds demand exemption from conscription
			} 
			20 = { 
				modifier = {
					factor = 0
					any_owned_state = {
						AND = { 
							is_core_of = KUR
							NOT = {
								has_dynamic_modifier = { modifier = kurdish_rebellion }
							}
						}				
					}
				}
				country_event = { id = bftb_turkey.109 } #Kurdish groups stage hostile takeover of rural towns
			}
		}
	}
}

#MM: Never used. Unlocalized
#Kurdistani Resistance - Kurds Object to Infrastructure Project
country_event = {
	id = bftb_turkey.106
	title = bftb_turkey.106.t
	desc = bftb_turkey.106.desc
	picture = GFX_report_event_tur_industry

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.106.a #support
		random_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_building_construction = {
				type = infrastructure
				level = -1
				instant_build = yes
			}
			if = {
				limit = {
					THIS = { has_dynamic_modifier = { modifier = kurdish_rebellion } }
				}
				remove_dynamic_modifier = { modifier = kurdish_rebellion }
				add_dynamic_modifier = { modifier = kurdish_separatism }
			}
			else_if = {
				limit = {
					THIS = { has_dynamic_modifier = { modifier = kurdish_separatism } }
				}
				remove_dynamic_modifier = { modifier = kurdish_separatism }
				add_dynamic_modifier = { modifier = kurdish_agitation }
			}
			else_if = {
				limit = {
					THIS = { has_dynamic_modifier = { modifier = kurdish_agitation } }
				}
				add_compliance = 25
			}
			hidden_effect = {
				add_resistance = -30
				clear_global_event_target = TUR_kurdish_state_event_target
			}
		}
	}
	option = {
		name = bftb_turkey.106.b #oppose
		every_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_resistance = 10
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#MM: Never used. Unlocalized
#Kurdistani Resistance - Kurds March for Freedom
country_event = {
	id = bftb_turkey.107
	title = bftb_turkey.107.t
	desc = bftb_turkey.107.desc
	picture = GFX_report_event_tur_political_rally

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.107.a #support
		add_political_power = -50
		every_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_compliance = 10
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
	option = {
		name = bftb_turkey.107.b #oppose
		every_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_resistance = 5
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#MM: Never used. Unlocalized
#Kurdistani Resistance - Kurds Demand Exemption from Conscription
country_event = {
	id = bftb_turkey.108
	title = bftb_turkey.108.t
	desc = bftb_turkey.108.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.108.a #support
		event_target:TUR_kurdish_state_event_target = {
			TUR_integrate_kurdish_state_forced_effect = yes
			add_dynamic_modifier = { modifier = conscription_exemptions_granted }
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
	option = {
		name = bftb_turkey.108.b #oppose
		add_stability = -0.05
		every_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_resistance = 10
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#MM: Never used. Unlocalized
#Kurdistani Resistance - Radical Kurds Occupy Rural Population Centers in the East
country_event = {
	id = bftb_turkey.109
	title = bftb_turkey.109.t
	desc = bftb_turkey.109.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.109.a #oppose
		add_stability = 0.05
		add_manpower = -6475
		random_owned_state = {
			if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_rebellion } }
				}
				remove_dynamic_modifier = { modifier = kurdish_rebellion }
				add_dynamic_modifier = { modifier = kurdish_separatism }
				add_compliance = 20
			}
			else_if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_separatism } }
				}
				remove_dynamic_modifier = { modifier = kurdish_separatism }
				add_dynamic_modifier = { modifier = kurdish_agitation }
				add_compliance = 30
			}
			else_if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_agitation } }
				}
				add_compliance = 40
			}
			hidden_effect = {
				add_resistance = -50
			}
		}
		random_owned_state = {
			if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_rebellion } }
				}
				remove_dynamic_modifier = { modifier = kurdish_rebellion }
				add_dynamic_modifier = { modifier = kurdish_separatism }
				add_compliance = 20
			}
			else_if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_separatism } }
				}
				remove_dynamic_modifier = { modifier = kurdish_separatism }
				add_dynamic_modifier = { modifier = kurdish_agitation }
				add_compliance = 30
			}
			else_if = {
				limit = {
					is_core_of = KUR
					THIS = { has_dynamic_modifier = { modifier = kurdish_agitation } }
				}
				add_compliance = 40
			}
			hidden_effect = {
				add_resistance = -50
			}
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
	option = {
		name = bftb_turkey.109.b #surrender
		add_stability = -0.1
		every_owned_state = {
			limit = {
				is_core_of = KUR
			}
			add_compliance = -25
		}
		hidden_effect = {
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#Kurdistani Resistance - Rebels Successfully Countered in [StateName]
country_event = {
	id = bftb_turkey.110
	title = bftb_turkey.110.t
	desc = bftb_turkey.110.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.110.a #one republic, indivisible
		add_political_power = 50
		event_target:TUR_kurdish_state_event_target = { 
			add_compliance = 10
			add_resistance = -15
		}
		hidden_effect = {
			event_target:TUR_kurdish_state_event_target = { 
				if = {
					limit = {
						THIS = { 
							has_dynamic_modifier = { modifier = kurdish_rebellion }
							compliance > 20
						}
					}
					remove_dynamic_modifier = { modifier = kurdish_rebellion }
					add_dynamic_modifier = { modifier = kurdish_separatism }
					add_resistance = -20
				}
				else_if = {
					limit = {
						THIS = {
							has_dynamic_modifier = { modifier = kurdish_separatism } 
							compliance > 40
						}
					}
					remove_dynamic_modifier = { modifier = kurdish_separatism }
					add_dynamic_modifier = { modifier = kurdish_agitation }
					add_resistance = -15
				}
				else_if = {
					limit = {
						THIS = { has_dynamic_modifier = { modifier = kurdish_agitation } }
					}
					add_compliance = 10
				}
			}
			clr_country_flag = TUR_acted_against_kurd_rebels_recently_flag
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#Kurdistani Resistance - Rebels Defeat Our Forces in [StateName]
country_event = {
	id = bftb_turkey.111
	title = bftb_turkey.111.t
	desc = bftb_turkey.111.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.111.a #they have not seen the last of us...
		add_political_power = 25
		add_stability = -0.05
		event_target:TUR_kurdish_state_event_target = { 
			add_compliance = -5
			add_resistance = 10
		}
		hidden_effect = {
			event_target:TUR_kurdish_state_event_target = { 
				if = {
					limit = {
						THIS = { 
							has_dynamic_modifier = { modifier = kurdish_separatism }
							resistance > 60
						}
					}
					remove_dynamic_modifier = { modifier = kurdish_separatism }
					add_dynamic_modifier = { modifier = kurdish_rebellion }
					add_resistance = -10
				}
				else_if = {
					limit = {
						THIS = {
							has_dynamic_modifier = { modifier = kurdish_agitation } 
							resistance > 40
						}
					}
					remove_dynamic_modifier = { modifier = kurdish_agitation }
					add_dynamic_modifier = { modifier = kurdish_separatism }
					add_resistance = -5
				}
			}
			clr_country_flag = TUR_acted_against_kurd_rebels_recently_flag
			clear_global_event_target = TUR_kurdish_state_event_target
		}
	}
}

#hidden dispatch event for fundamentalist events
country_event = {
	id = bftb_turkey.112
	
	is_triggered_only = yes

	hidden = yes

	immediate = {
		random_list = {
			20 = { 
				modifier = {
					factor = 0
					all_owned_state = {
						AND = { 
							OR = { 
								has_dynamic_modifier = { modifier = islamist_opposition }
								has_dynamic_modifier = { modifier = islamist_sedition }
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
							OR = {
								is_core_of = TUR
								AND = {
									is_core_of = KUR
									is_owned_by = TUR
									NOT = {
										OR = {
											is_core_of = IRQ
											is_core_of = PER
										}
									}
								}
							}
							THIS = { num_of_civilian_factories < 1 }
						}
					}
				}
				modifier = {
					factor = 0
					NOT = { 	
						any_owned_state = {
							OR = {
								has_dynamic_modifier = { modifier = islamist_opposition }
								has_dynamic_modifier = { modifier = islamist_sedition }
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
						}
					}
				}
				country_event = { id = bftb_turkey.113 } #fundamentalists demand cessation of production of haram products (close a civ factory)
			} 
			20 = { 
				country_event = { id = bftb_turkey.114 } #fundamentalists stage non-violent protest against government policies
			}
			20 = { 
				modifier = {
					factor = 0
					NOT = { 	
						any_owned_state = {
							OR = {
								has_dynamic_modifier = { modifier = islamist_opposition }
								has_dynamic_modifier = { modifier = islamist_sedition }
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
						}
					}
				}
				country_event = { id = bftb_turkey.115 } #fundamentalists demand additional regional autonomy
			} 
			20 = { 
				modifier = {
					factor = 0
					NOT = { 	
						any_owned_state = {
							NOT = {
								has_dynamic_modifier = { modifier = islamist_sedition }
							}
						}
					}
				}
				country_event = { id = bftb_turkey.116 } #fundamentalists launch guerilla attacks on Kemalist personnel
			}
			20 = { 
				modifier = {
					factor = 0
					NOT = {	
						any_owned_state = {
							NOT = {
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
						}
					}
				}
				country_event = { id = bftb_turkey.117 } #fundamentalists infiltrate neighbouring state
			}
			20 = { 
				modifier = {
					factor = 0
					NOT = {
						any_owned_state = {
							NOT = {
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
						}
					}
				}
				country_event = { id = bftb_turkey.118 } #fundamentalists seize complete control over state (remove core)
			}
		}
	}
}

#Fundamentalist Opposition - Fundamentalists Protest to Production of Religiously Prohibited Goods
country_event = {
	id = bftb_turkey.113
	title = bftb_turkey.113.t
	desc = bftb_turkey.113.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			OR = {
	#				has_dynamic_modifier = { modifier = islamist_opposition }
	#				has_dynamic_modifier = { modifier = islamist_sedition }
	#				has_dynamic_modifier = { modifier = islamist_insurgency }
	#			}
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.113.a #appease
		event_target:TUR_fundamentalist_state = { 
			remove_building = {
				type = industrial_complex
				level = 1
			}
			TUR_downgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}

	option = {
		name = bftb_turkey.113.b #oppose
		event_target:TUR_fundamentalist_state = { 
			TUR_upgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Opposition - Fundamentalists Peacefully Protest Against Government Policies
country_event = {
	id = bftb_turkey.114
	title = bftb_turkey.114.t
	desc = bftb_turkey.114.desc
	picture = GFX_report_event_tur_political_rally

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			OR = {
	#				has_dynamic_modifier = { modifier = islamist_opposition }
	#				has_dynamic_modifier = { modifier = islamist_sedition }
	#			}
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.114.a #appease
		add_stability = -0.07
		event_target:TUR_fundamentalist_state = { 
			TUR_downgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}

	option = {
		name = bftb_turkey.114.b #oppose
		add_political_power = 50
		event_target:TUR_fundamentalist_state = { 
			TUR_upgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Opposition - Fundamentalists Demand Regional Autonomy
country_event = {
	id = bftb_turkey.115
	title = bftb_turkey.115.t
	desc = bftb_turkey.115.desc
	picture = GFX_report_event_tur_kurds_traditionalists_thwarted

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			OR = {
	#				has_dynamic_modifier = { modifier = islamist_opposition }
	#				has_dynamic_modifier = { modifier = islamist_sedition }
	#				has_dynamic_modifier = { modifier = islamist_insurgency }
	#			}
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.115.a #appease
		event_target:TUR_fundamentalist_state = { 
			TUR_placate_fundamentalist_state_effect = yes
			if = {
				limit = {
					has_dynamic_modifier = { modifier = semi_autonomous_state }
				}
				add_dynamic_modifier = { modifier = autonomous_state }
			}
			else = {
				add_dynamic_modifier = { modifier = semi_autonomous_state }
			}
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
			subtract_from_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
			TUR_kemalist_loyalty_and_power_update_effect = yes
		}
	}

	option = {
		name = bftb_turkey.115.b #oppose
		add_manpower = -475
		event_target:TUR_fundamentalist_state = { 
			TUR_upgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Opposition - Guerilla Attack Launched in [StateName]!
country_event = {
	id = bftb_turkey.116
	title = bftb_turkey.116.t
	desc = bftb_turkey.116.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			OR = {
	#				has_dynamic_modifier = { modifier = islamist_sedition }
	#				has_dynamic_modifier = { modifier = islamist_insurgency }
	#			}
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.116.a #oppose
		add_manpower = -4750
		add_stability = 0.05
		event_target:TUR_fundamentalist_state = { 
			TUR_downgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
			add_to_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
			TUR_kemalist_loyalty_and_power_update_effect = yes
		}
	}

	option = {
		name = bftb_turkey.116.b #surrender
		add_manpower = 500
		add_stability = -0.1
		event_target:TUR_fundamentalist_state = { 
			TUR_upgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Opposition - The Fundamentalists Spread Their Poison into [StateName]
country_event = {
	id = bftb_turkey.117
	title = bftb_turkey.117.t
	desc = bftb_turkey.117.desc
	picture = GFX_report_event_tur_kurdish_guerillas 

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			is_core_of = TUR
	#			any_neighbor_state = { 
	#				has_dynamic_modifier = { modifier = islamist_insurgency }
	#			}
	#			NOT = {
	#				OR = {
	#					has_dynamic_modifier = { modifier = kemalist_loyalties }
	#					has_dynamic_modifier = { modifier = kemalist_schemers }
	#					is_core_of = KUR
	#				}
	#			}
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.117.a #oppose
		add_manpower = -11750
		add_political_power = -75
		add_stability = 0.05
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
			add_to_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
			TUR_kemalist_loyalty_and_power_update_effect = yes
		}
	}

	option = {
		name = bftb_turkey.117.b #surrender
		add_stability = -0.1
		event_target:TUR_fundamentalist_state = { 
			add_dynamic_modifier = { modifier = islamist_opposition }
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Opposition - The Fundamentalists Seize Complete Control Over [StateName]
country_event = {
	id = bftb_turkey.118
	title = bftb_turkey.118.t
	desc = bftb_turkey.118.desc
	picture = GFX_report_event_tur_kurdish_guerillas

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			has_dynamic_modifier = { modifier = islamist_insurgency }
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.118.a #oppose
		add_manpower = -12850
		add_stability = 0.05
		event_target:TUR_fundamentalist_state = { 
			TUR_downgrade_fundamentalist_defiance_effect = yes
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
			add_to_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
			TUR_kemalist_loyalty_and_power_update_effect = yes
		}
	}

	option = {
		name = bftb_turkey.118.b #surrender
		add_stability = -0.15
		event_target:TUR_fundamentalist_state = { 
			remove_core_of = TUR
		}
		hidden_effect = {
			clear_global_event_target = TUR_fundamentalist_state
		}
	}
}

#Fundamentalist Appeasement - The Fundamentalists Yield to the Government in [StateName]
country_event = {
	id = bftb_turkey.119
	title = bftb_turkey.119.t
	desc = bftb_turkey.119.desc
	picture = GFX_report_event_tur_inonu_diplomacy

	is_triggered_only = yes

	#immediate = {
	#	random_owned_state = {
	#		limit = {
	#			has_state_flag = TUR_fundamentalist_appeasement_state_flag
	#		}
	#		save_event_target_as = TUR_fundamentalist_state
	#	}
	#}
	
	option = {
		name = bftb_turkey.119.a 
		event_target:TUR_fundamentalist_state = { 
			TUR_placate_fundamentalist_state_effect = yes
		}
		hidden_effect = {
			event_target:TUR_fundamentalist_state = { 
				clr_state_flag = TUR_fundamentalist_appeasement_state_flag
			}
		}
	}
}

#Turkish Investment - The Turks Deliver an Investment Portfolio
country_event = {
	id = bftb_turkey.126
	title = bftb_turkey.126.t
	desc = bftb_turkey.126.desc
	picture = GFX_report_event_tur_industry

	is_triggered_only = yes

	
	option = {
		name = bftb_turkey.126.a #ok
		ai_chance = {
			base = 10
			modifier = {
				add = 20
				has_opinion = {
					target = TUR
					value > 25
				}
			}
			modifier = {
				add = 30
				has_opinion = {
					target = TUR
					value > 75
				}
			}
		}
		activate_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_building }
		if = {
			limit = {
				has_opinion = {
					target = TUR
					value > 25
				}
			}
			activate_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_light_industry }
		}
		if = {
			limit = {
				has_opinion = {
					target = TUR
					value > 50
				}
			}
			activate_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_heavy_industry }
		}

		hidden_effect = { #Country has accepted Turkish portfolio so the decision to actually invest is available, but the country still need to take it!
			set_country_flag = TUR_investment_in_turkey_pending_flag
		}
	}
	option = {
		name = bftb_turkey.126.b #no
		ai_chance = {
			base = 5
			modifier = {
				add = 20
				has_opinion = {
					target = TUR
					value < -10
				}
			}
			modifier = {
				add = 30
				has_war = yes
			}
			modifier = {
				add = 50
				has_opinion = {
					target = TUR
					value < -75
				}
			}
		}
		TUR = { country_event = { id = bftb_turkey.127 days = 1 } }
		hidden_effect = {
			set_country_flag = ROOT_rejecting_turkish_overtures
		}
	}
}

#Turkish Investment - [FROM] Rules Investment Out
country_event = {
	id = bftb_turkey.127
	title = bftb_turkey.127.t
	desc = bftb_turkey.127.desc
	picture = GFX_report_event_tur_the_montreux_convention 

	is_triggered_only = yes

	option = {
		name = bftb_turkey.127.a #bah, we do not need them
		add_political_power = -25
		effect_tooltip = {
			FROM = { set_country_flag = ROOT_rejecting_turkish_overtures }
		}
	}
}

#Turkish Investment - [FROM] Invests Light Amount
country_event = {
	id = bftb_turkey.128
	title = bftb_turkey.128.t
	desc = bftb_turkey.128.desc
	picture = GFX_report_event_tur_industry

	is_triggered_only = yes

	option = {
		name = bftb_turkey.128.a #our warmest thanks for your generosity 
		random_owned_state = {
			random_list = {
				40 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				30 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
				30 = {
					add_building_construction = {
						type = anti_air_building
						level = 1
						instant_build = yes
					}
				}
			}
		}
		FROM = {
			add_ai_strategy = {
				type = befriend
				target = ROOT
				value = 10
			}
		}
		every_country = {
			limit = { 
				is_major = yes
				OR = {
					capital_scope = { is_on_continent = europe }
					tag = USA
				}
				has_opinion = {
					target = FROM
					value = -25
				}
			}
			add_ai_strategy = {
				type = antagonize
				target = ROOT
				value = 5
			}
		}
	}
}

#Turkish Investment - [FROM] Invests Medium Amount
country_event = {
	id = bftb_turkey.129
	title = bftb_turkey.129.t
	desc = bftb_turkey.129.desc
	picture = GFX_report_event_tur_industry 

	is_triggered_only = yes

	option = {
		name = bftb_turkey.129.a #a true friend of the Turkish people
		random_owned_state = {
			random_list = {
				50 = {
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
				35 = {
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 2
				}
				15 = {
					add_building_construction = {
						type = industrial_complex
						level = 3
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 3
				}
			}
		}
		FROM = {
			add_ai_strategy = {
				type = befriend
				target = ROOT
				value = 15
			}
		}
		every_country = {
			limit = { 
				is_major = yes
				OR = {
					capital_scope = { is_on_continent = europe }
					tag = USA
				}
				has_opinion = {
					target = FROM
					value = -25
				}
			}
			add_ai_strategy = {
				type = antagonize
				target = ROOT
				value = 10
			}
		}
	}
}

#Turkish Investment - [FROM] Invests Heavy Amount
country_event = {
	id = bftb_turkey.130
	title = bftb_turkey.130.t
	desc = bftb_turkey.130.desc
	picture = GFX_report_event_tur_industry 

	is_triggered_only = yes

	option = {
		name = bftb_turkey.130.a #a true ally of the Turkish people
		random_owned_state = {
			random_list = {
				50 = {
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
				35 = {
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 2
				}
				15 = {
					add_building_construction = {
						type = arms_factory
						level = 3
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 3
				}
			}
		}
		FROM = {
			add_ai_strategy = {
				type = befriend
				target = ROOT
				value = 50
			}
			add_ai_strategy = {
				type = alliance
				target = ROOT
				value = 30
			}
		}
		every_country = {
			limit = { 
				is_major = yes
				OR = {
					capital_scope = { is_on_continent = europe }
					tag = USA
				}
				has_opinion = {
					target = FROM
					value = -25
				}
			}
			add_ai_strategy = {
				type = antagonize
				target = ROOT
				value = 25
			}
			add_ai_strategy = {
				type = conquer
				target = ROOT
				value = 5
			}
		}
	}
}

#The Fading Father - Ataturk Health Crisis Begins
country_event = {
	id = bftb_turkey.133
	title = bftb_turkey.133.t
	desc = bftb_turkey.133.desc
	picture = GFX_report_event_tur_ataturk_determined

	trigger = {
		original_tag = TUR
		has_dlc = "Battle for the Bosporus"
		has_country_leader = {
			character = TUR_mustafa_kemal_ataturk
			ruling_only = yes
		}
		date > 1937.01.01
		date < 1939.14.08
	}

	fire_only_once = yes

	mean_time_to_happen = { 
		days = 90
	}

	immediate = {
		hidden_effect = {
			set_country_flag = TUR_ataturk_getting_sickly
			set_variable = { var = TUR_ataturk_health_bar value = 3 }
		}
	}
	
	option = {
		name = bftb_turkey.133.a #will he be able to continue to govern?
		unlock_decision_category_tooltip = TUR_the_fading_father_category
	}
}

#The Fading Father - Ataturk Passes Away [Leader]
country_event = {
	id = bftb_turkey.134
	title = bftb_turkey.134.t
	desc = bftb_turkey.134.desc
	picture = GFX_report_event_tur_ataturk_death

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = TUR_ataturk_getting_sickly
			clear_variable = TUR_ataturk_sickness_factor_var
			clear_variable = TUR_ataturk_health_bar
			if = {
				limit = {
					TUR_mustafa_kemal_ataturk = { is_unit_leader = yes }
				}
				TUR_mustafa_kemal_ataturk = { remove_unit_leader_role = yes }
			}
			mark_focus_tree_layout_dirty = yes
		}
	}
	
	option = {
		name = bftb_turkey.134.a #liberal + democratic = Bayar remains
		trigger = {
			has_completed_focus = TUR_fully_integrate_the_is_bank
			has_completed_focus = TUR_privatize_the_anadolu_agency
			NOT = {
				has_country_leader = {
					character = TUR_mustafa_kemal_ataturk
					ruling_only = yes
				}
			}
		}
		add_stability = 0.1
	}
	option = {
		name = bftb_turkey.134.b #liberal + historic = Bayar and Ismet / Bayar
		trigger = {
			# has_idea = TUR_celal_bayar
			OR = {
				has_completed_focus = TUR_the_sanayiciler
				has_completed_focus = TUR_peace_at_home
			}
			NOT = {
				has_completed_focus = TUR_reinvigorate_turkish_nationalism
			}
		}
		add_country_leader_role = {
			character = TUR_celal_bayar
			country_leader = {
				expire = "1965.1.1"
				ideology = centrism
				traits = {
					liberal_democratic_paragon
				}
			}
			promote_leader = yes
		}
	}
	option = { #
		name = bftb_turkey.134.c #liberal + historic = Bayar and Ismet / Ismet
		trigger = {
			#has_idea = TUR_ismet_inonu
			OR = {
				has_completed_focus = TUR_the_sanayiciler
				has_completed_focus = TUR_peace_at_home
			}
			NOT = {
				has_completed_focus = TUR_reinvigorate_turkish_nationalism
			}
		}
		ai_chance = {
			base = 1
			modifier = { #EAI
				is_historical_focus_on = yes
				add = 10000
			}
		}
		hidden_effect = {
			remove_country_leader_role = {
				character = TUR_ismet_inonu
				ideology = despotism
			}
		}
		add_country_leader_role = {
			character = TUR_ismet_inonu
			country_leader = {
				expire = "1965.1.1"
				ideology = centrism
				traits = {
					milli_sef
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.134.d #nationalist
		trigger = {
			#has_idea = TUR_fevzi_cakmak_prime_minister
			has_completed_focus = TUR_reinvigorate_turkish_nationalism
		}
		add_country_leader_role = {
			character = TUR_fevzi_cakmak
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					maresal
				}
			}
			promote_leader = yes
		}
	}
	option = {
		name = bftb_turkey.134.e #nationalist + fascist = Cakmak + Peker / Cakmak
		trigger = {
			has_idea = TUR_fevzi_cakmak_prime_minister
			has_completed_focus = TUR_kemalism_and_the_modern_movement
		}
		add_country_leader_role = {
			character = TUR_fevzi_cakmak
			country_leader = {
				expire = "1965.1.1"
				ideology = rexism
				traits = {
					maresal
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = fascism }
	}
	option = {
		name = bftb_turkey.134.f #nationalist + fascist = Cakmak + Peker / Peker
		trigger = {
			has_idea = TUR_recep_peker
			has_completed_focus = TUR_kemalism_and_the_modern_movement
		}
		promote_character = TUR_mehmet_recep_peker #Has the country role already set in the Character File (FASCISM -> fascism_ideology)
		set_politics = { ruling_party = fascism }
	}
	option = {
		name = bftb_turkey.134.g #socialist
		trigger = {
			has_idea = TUR_sevket_sureyya_aydemir
			has_completed_focus = TUR_kemalist_socialist_theory
		}
		add_country_leader_role = {
			character = TUR_sevket_sureyya_aydemir
			country_leader = {
				expire = "1965.1.1"
				ideology = marxism
				traits = {
					the_academic
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = communism }
	}
	option = {
		name = bftb_turkey.134.h #socialist + historical = Inonu + Aydemir / Aydemir
		trigger = {
			has_idea = TUR_ismet_inonu
			has_completed_focus = TUR_kemalist_socialist_theory
		}
		add_country_leader_role = {
			character = TUR_ismet_inonu
			country_leader = {
				expire = "1965.1.1"
				ideology = marxism
				traits = {
					milli_sef
				}
			}
			promote_leader = yes
		}
		set_politics = { ruling_party = communism }
	}
	option = {
		name = bftb_turkey.134.i #military junta
		trigger = {
			OR = { 
				TUR_has_a_prime_minister = no
				NOT = {
					OR = {
						has_completed_focus = TUR_fully_integrate_the_is_bank
						has_completed_focus = TUR_privatize_the_anadolu_agency
						has_completed_focus = TUR_the_sanayiciler
						has_completed_focus = TUR_peace_at_home
						has_completed_focus = TUR_reinvigorate_turkish_nationalism
						has_completed_focus = TUR_kemalism_and_the_modern_movement
						has_completed_focus = TUR_kemalist_socialist_theory
					}
				}
			}
		}
		add_country_leader_role = {
			character = TUR_kazim_orbay
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					celebrity_junta_leader
				}
			}
			promote_leader = yes
		}
	}
	after = {	#Just in case
		hidden_effect = {
			retire_character = TUR_mustafa_kemal_ataturk
		}
	}
}

#The Fading Father - Ataturk Passes Away [Retired]
country_event = {
	id = bftb_turkey.135
	title = bftb_turkey.135.t
	desc = bftb_turkey.135.desc
	picture = GFX_report_event_tur_ataturk_death

	is_triggered_only = yes
	
	immediate = {
		hidden_effect = { remove_ideas = TUR_mustafa_kemal_ataturk_figurehead }
	}

	option = {
		name = bftb_turkey.135.a 
		effect_tooltip = { remove_ideas = TUR_mustafa_kemal_ataturk_figurehead }
	}
}

#Tragedy Befalls Ottoman Royal Family
country_event = {
	id = bftb_turkey.136
	title = bftb_turkey.136.t
	desc = bftb_turkey.136.desc
	picture = GFX_report_event_tur_upheaval_celebration

	trigger = {
		original_tag = TUR
		has_country_flag = TUR_altered_royal_succession_laws
		date > 1942.12.20
	}

	fire_only_once = yes
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_country_leader = {
						character = TUR_abdulmejid_ii
						ruling_only = yes
					}
					has_completed_focus = TUR_reclaiming_our_lost_empire
				}
				kill_country_leader = yes
				add_country_leader_role = {
					character = TUR_durrushehvar_i
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							sultana
							calipha
						}
					}
					promote_leader = yes
				}
			}
			else = { 
				kill_country_leader = yes
				add_country_leader_role = {
					character = TUR_durrushehvar_i
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							sultana
						}
					}
					promote_leader = yes
				}
			}
		}
	}

	option = {
		name = bftb_turkey.136.a
		effect_tooltip = {  
			if = {
				limit = {
					has_country_leader = {
						character = TUR_abdulmejid_ii
						ruling_only = yes
					}
					has_completed_focus = TUR_reclaiming_our_lost_empire
				}
				add_country_leader_role = {
					character = TUR_durrushehvar_i
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							sultana
							calipha
						}
					}
					promote_leader = yes
				}
			}
			else = { 
				add_country_leader_role = {
					character = TUR_durrushehvar_i
					country_leader = {
						expire = "1965.1.1"
						ideology = despotism
						traits = {
							sultana
						}
					}
					promote_leader = yes
				}
			}
		}
	}

	option = {
		name = bftb_turkey.136.b
		add_country_leader_role = {
			character = TUR_mehmet_esat_pasha
			country_leader = {
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					crown_regent
				}
			}
			promote_leader = yes
		}
	}
}

#Misak-i Milli - Independent Turkey takes dangerous foreign policy stance [Turkey is in faction]
country_event = {
	id = bftb_turkey.137
	title = bftb_turkey.137.t
	desc = bftb_turkey.137.desc
	picture = GFX_report_event_tur_menderes_opposition

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.137.a #Turkey has become the very thing it swore to destroy!
		trigger = {
			has_government = democratic
		}
		TUR = {
			leave_faction = yes
			country_event = { id = bftb_turkey.141 hours = 8 }
		}
	}
	option = {
		name = bftb_turkey.137.b #they are traitors to the Revolution!
		trigger = {
			AND = {
				has_government = communism
				NOT = { tag = SOV }
			}
		}
		TUR = {
			leave_faction = yes
			country_event = { id = bftb_turkey.141 hours = 8 }
		}
	}
	option = {
		name = bftb_turkey.137.c #perhaps they are experimenting with Socialism in One Country!
		trigger = {
			AND = {
				has_government = communism
				tag = SOV
			}
		}
		custom_effect_tooltip = TUR_keeping_turkey_under_observation
		hidden_effect = {
			set_global_flag = TUR_soviets_keeping_eye_on_turkey
		}
	}
	option = {
		name = bftb_turkey.137.d #as long as they leave their fellow faction members alone...
		trigger = {
			has_government = fascism
		}
		custom_effect_tooltip = TUR_keeping_turkey_under_observation
		hidden_effect = {
			set_global_flag = TUR_fascist_faction_leader_keeping_eye_on_turkey
		}
	}
	option = {
		name = bftb_turkey.137.e #welp, the Turks clearly cannot be trusted!
		trigger = {
			has_government = neutrality
		}
		TUR = {
			leave_faction = yes
			country_event = { id = bftb_turkey.141 hours = 8 }
		}
	}
}

#Misak-i Milli - Turkey Violates Faction Member's Sovereignty
country_event = {
	id = bftb_turkey.138
	title = bftb_turkey.138.t
	desc = bftb_turkey.138.desc
	picture = GFX_report_event_tur_turkish_soldiers

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.138.a #give them a warning
		TUR = {
			country_event = { id = bftb_turkey.140 hours = 8 }
		}
	}
	option = {
		name = bftb_turkey.138.b #they are traitors to the Revolution!
		effect_tooltip = { TUR = { leave_faction = yes } }
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.141 hours = 8 } }
		}
	}
}

#Misak-i Milli -  Turkey Violates Faction Member's Sovereignty Again!
country_event = {
	id = bftb_turkey.139
	title = bftb_turkey.139.t
	desc = bftb_turkey.139.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.139.a #their behaviour can be tolerated no longer
		effect_tooltip = { TUR = { leave_faction = yes } }
		hidden_effect = {
			TUR = { country_event = { id = bftb_turkey.141 hours = 8 } }
		}
	}
}

#Misak-i Milli -  Turkey Warned by Faction Leader
country_event = {
	id = bftb_turkey.140
	title = bftb_turkey.140.t
	desc = bftb_turkey.140.desc
	picture = GFX_report_event_tur_cakmak_general_staff

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.140.a #ok
	}
}

#Misak-i Milli -  Turkey Booted by Faction Leader
country_event = {
	id = bftb_turkey.141
	title = bftb_turkey.141.t
	desc = bftb_turkey.141.desc
	picture = GFX_report_event_tur_military_affair

	is_triggered_only = yes
	
	option = {
		name = bftb_turkey.141.a #so be it
		leave_faction = yes
	}
}

#Saadabad Hidden Event
country_event = {
	id = bftb_turkey.142
	
	hidden = yes

	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					IRQ = { has_country_flag = TUR_saadabad_pact_member }
				}
				IRQ = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					PER = { has_country_flag = TUR_saadabad_pact_member }
				}
				PER = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					AFG = { has_country_flag = TUR_saadabad_pact_member }
				}
				AFG = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					SYR = { has_country_flag = TUR_saadabad_pact_member }
				}
				SYR = { country_event = { id = generic.5 } }
			}
		}
	}
}

#Partner Bulgaria Hidden Event
country_event = {
	id = bftb_turkey.143
	
	hidden = yes

	is_triggered_only = yes

	immediate = {
		hidden_effect = { BUL = { country_event = generic.5 } }
	}
}
