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

add_namespace = bftb_turkey

#The Montreux Convention - Britain
country_event = {
	id = bftb_turkey.1260
	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
				}
			}
			modifier = {
				add = 300
				TUR = { is_ai = no }
			}
		}
		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
				}
			}
			modifier = {
				add = -100
				TUR = { is_ai = no }
			}		}
		TUR = { country_event = { id = bftb_turkey.127 days = 1 } }
		hidden_effect = {
			set_country_flag = ROOT_rejecting_turkish_overtures
		}
	}
}
