TUR_domestic_politics_category = {

	TUR_hire_gulenist_economic_advisors = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_gulenist_economic_advisors }
			has_completed_focus = TUR_gulenist_economists
		}

		available = {
			western_autocrats_are_in_power = yes
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_hire_gulenist_economic_advisors"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_hire_gulenist_economic_advisors"
			add_ideas = TUR_gulenist_economic_advisors
			set_temp_variable = { temp_opinion = 5 }
			change_international_bankers_opinion = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_unban_erdogan = {

		cost = 100

		visible = {
			neutrality_neutral_muslim_brotherhood_are_in_power = yes
		}


		fire_only_once = yes
		days_remove = 30

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_unban_erdogan"
			retire_country_leader = yes
			create_country_leader = {
				name = "Recep Tayyip Erdoğan"
				picture = "Recep_Tayyip_Erdogan.dds"
				ideology = Neutral_Muslim_Brotherhood
				traits = {
					neutrality_Neutral_Muslim_Brotherhood
					doesnt_understand_economy
				}
			}
		}

		ai_will_do = {
			base = 50
		}
	}

	TUR_employ_gulenist_informants = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_gulenist_intelligence_network }
			has_completed_focus = TUR_gulenist_information
		}

		available = {
			western_autocrats_are_in_power = yes
		}

		days_remove = 30
		fire_only_once = yes
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_employ_gulenist_informants"
			set_temp_variable = { treasury_change = security_gain }
			multiply_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_employ_gulenist_informants"
			add_ideas = TUR_gulenist_intelligence_network
			set_temp_variable = { temp_opinion = 5 }
			change_intelligence_community_opinion = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_hire_gulenist_educators = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_gulenist_educators }
			has_completed_focus = TUR_gulenist_education
		}

		available = {
			western_autocrats_are_in_power = yes
		}

		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_hire_gulenist_educators"
			set_temp_variable = { treasury_change = education_gain }
			multiply_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}
		fire_only_once = yes
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_hire_gulenist_educators"
			add_ideas = TUR_gulenist_educators
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_recall_gulenists = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_mobilise_the_faithful_soldiers }
			has_completed_focus = TUR_mobilise_the_faithful
		}

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				neutrality_neutral_autocracy_are_in_power = yes
			}
		}
		fire_only_once = yes
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_recall_gulenists"
			add_ideas = TUR_mobilise_the_faithful_soldiers
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_no_prime_minister = {

		cost = 100

		visible = {
			has_completed_focus = TUR_imams_in_office
		}

		available = {
			neutrality_neutral_muslim_brotherhood_are_in_power = yes
		}
		fire_only_once = yes
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_no_prime_minister"
			add_ideas = TUR_no_prime_minister
			add_stability = -0.02
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_religious_directorate = {

		cost = 100

		visible = {
			has_completed_focus = TUR_expand_diyanet_role
		}

		available = {
			neutrality_neutral_muslim_brotherhood_are_in_power = yes
		}
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_religious_directorate"
			add_ideas = TUR_religious_directorate
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_reestablish_village_institutes = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_village_institutes }
			has_completed_focus = TUR_reform_village_institutes
		}

		available = {
			western_conservatism_are_in_power = yes
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_reestablish_village_institutes"
			set_temp_variable = { treasury_change = education_gain }
			multiply_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_reestablish_village_institutes"
			add_ideas = TUR_village_institutes
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_incentivise_modern_farming = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_incentivised_farming }
			OR = {
				has_completed_focus = TUR_agricultural_reform
				has_completed_focus = TUR_subsidise_farming
			}
		}

		available = {
			OR = {
				AND = {
					western_liberals_are_in_power = yes
					has_completed_focus = TUR_agricultural_reform
				}
				AND = {
					emerging_reactionaries_are_in_power = yes
					has_completed_focus = TUR_subsidise_farming
				}
			}
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_incentivise_modern_farming"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_incentivise_modern_farming"
			add_ideas = TUR_incentivised_farming
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_heavily_subsidise_agriculture = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_heavily_subsidised_agriculture }
			has_completed_focus = TUR_heavy_agricultural_subsidies
		}

		available = {
			emerging_communist_state_are_in_power = yes
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_heavily_subsidise_agriculture"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_heavily_subsidise_agriculture"
			add_ideas = TUR_heavily_subsidised_agriculture
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_encourage_communal_farming = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_communal_farms }
			has_completed_focus = TUR_communal_farming
		}

		available = {
			emerging_anarchist_communism_are_in_power = yes
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_encourage_communal_farming"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_encourage_communal_farming"
			add_ideas = TUR_communal_farms
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_implement_revolutionary_education = {

		cost = 100

		visible = {
			NOT = { has_idea = TUR_educating_revolutionaries }
			has_completed_focus = TUR_revolutionary_education
		}

		available = {
			emerging_anarchist_communism_are_in_power = yes
		}
		fire_only_once = yes
		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_implement_revolutionary_education"
			set_temp_variable = { treasury_change = education_gain }
			multiply_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_implement_revolutionary_education"
			add_ideas = TUR_educating_revolutionaries
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_call_out_ozkan = {

		cost = 100

		visible = {
			has_idea = TUR_party_rumours
			has_country_leader = {
				character = TUR_bulent_ecevit
				ruling_only = yes
			}
		}

		available = {
			has_country_leader = {
				character = TUR_bulent_ecevit
				ruling_only = yes
			}
		}
		fire_only_once = yes
		fixed_random_seed = no

		days_remove = 7

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_call_out_ozkan"
			set_country_flag = Turkey_Ozkan_purged
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_call_out_ozkan"
			remove_ideas = TUR_party_rumours
			random_list = {
				75 = {
					country_event = Turkey.1
				}
				25 = {
					country_event = Turkey.2
				}
			}
		}

		ai_will_do = {
			base = 1000
		}

	}

	TUR_ban_fazilet_partisi = {

		cost = 100

		visible = {
			NOT = { has_country_flag = Turkey_FP_banned }
		}

		available = {
			TUR_is_kemalist = yes
		}
		fire_only_once = yes
		days_remove = 7

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ban_fazilet_partisi"
			set_country_flag = Turkey_FP_banned
			remove_ideas = TUR_rise_of_fp
			#Reduce FP's popularity by 90%
			set_temp_variable = { FP_pop_drop = party_pop_array^6 }
			set_temp_variable = { Hizmet_pop_gain = party_pop_array^6 }
			set_temp_variable = { AKP_pop_gain = party_pop_array^6 }
			multiply_temp_variable = { FP_pop_drop = 0.9 }
			set_temp_variable = { FP_pop_drop_neg = FP_pop_drop }
			multiply_temp_variable = { FP_pop_drop_neg = -1 }
			multiply_temp_variable = { Hizmet_pop_gain = 0.10 }
			multiply_temp_variable = { AKP_pop_gain = 0.80 }
			set_temp_variable = { party_index = 6 }
			set_temp_variable = { party_popularity_increase = FP_pop_drop }
			multiply_temp_variable = { party_popularity_increase = -1 }
			set_temp_variable = { temp_outlook_increase = FP_pop_drop_neg }
			change_relative_party_popularity = yes
			custom_effect_tooltip = TUR_FP_POP_DROP
			custom_effect_tooltip = TUR_FP_NEW_NAME
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = Hizmet_pop_gain }
			set_temp_variable = { temp_outlook_increase = Hizmet_pop_gain }
			change_relative_party_popularity = yes
			custom_effect_tooltip = TUR_HIZMET_POP_GAIN
			set_temp_variable = { party_index = 12 }
			set_temp_variable = { party_popularity_increase = AKP_pop_gain }
			set_temp_variable = { temp_outlook_increase = AKP_pop_gain }
			change_relative_party_popularity = yes
			custom_effect_tooltip = TUR_AKP_POP_GAIN
			custom_effect_tooltip = TUR_AKP_EMERGES
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				OR = {
					has_global_flag = TUR_GREAT_EAST_AI_FOCUS
					has_global_flag = TUR_TURKISH_LEFT_AI_FOCUS
				}
			}
		}
	}
	TUR_homeland_defence = { #FP/Islamist Decision

		cost = 150

		visible = {
			has_completed_focus = TUR_islamist_victory
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_homeland_defence"
			add_ideas = TUR_homeland_defence
		}
		ai_will_do = {
			base = 1
		}
	}
	TUR_highways = { #FP/Islamist Decision

		cost = 150

		visible = {
			has_completed_focus = TUR_turkish_highways
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_highways"
			add_ideas = TUR_highways
		}
		ai_will_do = {
			base = 1
		}
	}
	TUR_land_reforms = { #Communist/Socialist Decision

		cost = 150

		visible = {
			has_completed_focus = TUR_land_reform
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_land_reforms"
			set_temp_variable = { treasury_change = -8.00 }
			modify_treasury_effect = yes
			159 = {
				add_extra_state_shared_building_slots = 2
			}
			934 = {
				add_extra_state_shared_building_slots = 2
			}
			160 = {
				add_extra_state_shared_building_slots = 2
			}
			157 = {
				add_extra_state_shared_building_slots = 2
			}
		}
		ai_will_do = {
			base = 1
		}
	}

	TUR_mit_decision = {

		cost = 150

		visible = {
			always = yes
		}
		available = {
			has_completed_focus = TUR_our_society
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_mit_decision"
			complete_national_focus = TUR_mit
		}
		ai_will_do = {
			base = 10
		}
	}
	TUR_disaster_decision = {

		cost = 150

		visible = {
			has_country_flag = TUR_natural_disaster
		}
		available = {
			has_completed_focus = TUR_our_society
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_disaster_decision"
			complete_national_focus = TUR_disaster_relief
		}
		ai_will_do = {
			base = 10
		}
	}
	TUR_migrants = {

		cost = 150

		visible = {
			has_country_flag = TUR_migration_flood
		}
		available = {
			has_completed_focus = TUR_our_society
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_migrants"
			complete_national_focus = TUR_migration_problems
		}
		ai_will_do = {
			base = 10
		}
	}
	TUR_drug_problems_decision = {

		cost = 150

		visible = {
			always = yes
			has_country_flag = TUR_drugs
		}
		available = {
			has_completed_focus = TUR_our_society
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_drug_problems_decision"
			complete_national_focus = TUR_drug_problem
		}
		ai_will_do = {
			base = 10
		}
	}
	TUR_nationalist_rise = {

		cost = 150

		visible = {
			always = yes
		}
		available = {
			has_completed_focus = TUR_our_society
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_nationalist_rise"
			complete_national_focus = TUR_rising_nationalism
		}
		ai_will_do = {
			base = 10
		}
	}

	TUR_redesign_bosphorus = {

		cost = 100

		visible = {
			controls_state = 155
			controls_state = 934
		}

		available = {
			155 = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = no
				}
			}
			934 = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = no
				}
			}
		}

		days_remove = 180
		fire_only_once = yes
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_redesign_bosphorus"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = -0.01 }
			modify_treasury_effect = yes
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_redesign_bosphorus"
			155 = {
				add_extra_state_shared_building_slots = -1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			934 = {
				add_extra_state_shared_building_slots = -1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		ai_will_do = {
			base = 1
		}
	}

	TUR_new_capital_mhp = {

		cost = 100

		visible = {
			nationalist_monarchists_are_in_power = yes
		}

		available = {
			controls_state = 934
		}
		fire_only_once = yes
		days_remove = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_new_capital_mhp"
			set_capital = { state = 934 }
			set_province_name = { id = 9833 name = TUR_9833_name_mhp }
		}
		ai_will_do = {
			base = 1
		}

	}

	TUR_empower_sultan = {

		cost = 100

		visible = {
			has_completed_focus = TUR_osman_alliance
		}

		fire_only_once = yes
		days_remove = 1

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_empower_sultan"
			set_country_flag = TUR_rise_of_osman
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							nationalist_monarchists_are_in_power = yes
						}
					}
					TUR = { set_cosmetic_tag = TUR_NEW_TURKIC_STATE }
					set_temp_variable = { party_index = 23 }
					set_temp_variable = { party_popularity_increase = 0.45 }
					set_temp_variable = { temp_outlook_increase = 0.45 }
					change_relative_party_popularity = yes
					set_temp_variable = { rul_party_temp = 23 }
					set_temp_variable = { disable_elections = 1 }
					change_ruling_party_effect = yes
				}
				start_civil_war = {
					ideology = democratic
					size = 0.35
					keep_political_leader = yes
					keep_political_party_members = yes
					set_temp_variable = { party_index = 1 }
					set_temp_variable = { party_popularity_increase = 0.45 }
					set_temp_variable = { temp_outlook_increase = 0.45 }
					change_relative_party_popularity = yes
					set_temp_variable = { rul_party_temp = 1 }
					set_temp_variable = { disable_elections = 1 }
					change_ruling_party_effect = yes
				}
			}
		}
		ai_will_do = {
			base = 1
			modifier = {
				factor = 0
				OR = {
					has_global_flag = TUR_HISTORICAL_AI_FOCUS
					has_global_flag = TUR_KEMALIST_GUARD_AI_FOCUS
					has_global_flag = TUR_HIZMET_AI_FOCUS
					has_global_flag = TUR_TURKISH_LEFT_AI_FOCUS
					has_global_flag = TUR_GREAT_EAST_AI_FOCUS
				}
			}
			modifier = {
				factor = 0
				is_ai = yes
				OR = {
					NOT = { has_army_manpower = { size = 400000 } }
					has_war = yes
					NOT = { has_stability > 0.5 }
				}
			}
		}
	}

	TUR_establish_shia_dominance = {

		cost = 100

		visible = {
			OR = {
				emerging_moderate_shiite_are_in_power = yes
				emerging_hardline_shiite_are_in_power = yes
			}
		}
		fire_only_once = yes

		days_remove = 90

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_establish_shia_dominance"
			add_stability = -0.10
			add_opinion_modifier = {
				target = PER
				modifier = recent_actions_very_positive
			}
			reverse_add_opinion_modifier = {
				target = PER
				modifier = recent_actions_very_positive
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_establish_shia_dominance"
			add_ideas = unrepresentative_government_shia
			swap_ideas = {
				add_idea = shia
				remove_idea = sunni
			}
		}
		ai_will_do = {
			base = 1
		}

	}


	TUR_ai_build_the_akp = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_HISTORICAL_AI_FOCUS
				NOT = { neutrality_neutral_muslim_brotherhood_are_in_power = yes }
				has_country_flag = Turkey_FP_banned
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_build_the_akp"
			set_temp_variable = { party_index = 12 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_rally_the_kemalists = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_KEMALIST_GUARD_AI_FOCUS
				NOT = { western_conservatism_are_in_power = yes }
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_rally_the_kemalists"
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_rally_the_grey_wolves = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_GREY_WOLVES_AI_FOCUS
				NOT = { nationalist_right_wing_populists_are_in_power = yes }
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_rally_the_grey_wolves"
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_build_hizmet = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_HIZMET_AI_FOCUS
				NOT = { western_autocrats_are_in_power = yes }
				has_country_flag = Turkey_FP_banned
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_build_hizmet"
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_rally_the_left = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_TURKISH_LEFT_AI_FOCUS
				NOT = { emerging_communist_state_are_in_power = yes }
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_rally_the_left"
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_rally_the_virtue_party = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_GREAT_EAST_AI_FOCUS
				NOT = { emerging_reactionaries_are_in_power = yes }
				NOT = { has_country_flag = TUR_military_peacefully_removed }
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_rally_the_virtue_party"
			set_temp_variable = { party_index = 6 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	TUR_ai_rally_the_great_east = {

		cost = 25

		visible = {
			hidden_trigger = {
				is_ai = yes
				has_global_flag = TUR_GREAT_EAST_AI_FOCUS
				NOT = { salafist_caliphate_are_in_power = yes }
				has_country_flag = TUR_military_peacefully_removed
			}
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_ai_rally_the_great_east"
			set_temp_variable = { party_index = 11 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 100
		}
	}
}

# TUR_misak_mili = {
# 	TUR_armenian_integration = {
# 		icon = GFX_decision_generic_form_nation
# 		visible = {
# 			162 = {
# 				is_owned_and_controlled_by = TUR
# 			}
# 		}
# 		highlight_states = {
# 			highlight_state_targets = {
# 				state = 162
# 			}
# 		}
# 		available = {
# 			always = no
# 		}
# 		days_remove = 30
# 		fire_only_once = yes
# 		remove_effect = {
# 			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_armenian_integration"
# 		}

# 		ai_will_do = {
# 			base = 1
# 		}
# 	}

# 	TUR_aegean_realignment = {
# 		icon = GFX_decision_generic_form_nation
# 		visible = {
# 			162 = {
# 				is_owned_and_controlled_by = TUR
# 			}
# 		}
# 		highlight_states = {
# 			highlight_state_targets = {
# 				state = 162
# 			}
# 		}
# 		available = {
# 			always = no
# 		}
# 		days_remove = 30
# 		fire_only_once = yes
# 		remove_effect = {
# 			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_aegean_realignment"
# 		}

# 		ai_will_do = {
# 			base = 1
# 		}
# 	}

# 	TUR_levantine_vilayets = {
# 		icon = GFX_decision_generic_form_nation
# 		visible = {
# 			162 = {
# 				is_owned_and_controlled_by = TUR
# 			}
# 		}
# 		highlight_states = {
# 			highlight_state_targets = {
# 				state = 162
# 			}
# 		}
# 		available = {
# 			always = no
# 		}
# 		days_remove = 30
# 		fire_only_once = yes
# 		remove_effect = {
# 			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_levantine_vilayets"
# 		}

# 		ai_will_do = {
# 			base = 1
# 		}
# 	}
# 	TUR_eastern_resolve = {
# 		icon = GFX_decision_generic_form_nation
# 		visible = {
# 			162 = {
# 				is_owned_and_controlled_by = TUR
# 			}
# 		}
# 		highlight_states = {
# 			highlight_state_targets = {
# 				state = 162
# 			}
# 		}
# 		available = {
# 			always = no
# 		}
# 		days_remove = 30
# 		fire_only_once = yes
# 		remove_effect = {
# 			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_eastern_resolve"
# 		}

# 		ai_will_do = {
# 			base = 1
# 		}
# 	}
# 	TUR_crescent_and_olive = {
# 		icon = GFX_decision_generic_form_nation
# 		visible = {
# 			162 = {
# 				is_owned_and_controlled_by = TUR
# 			}
# 		}
# 		highlight_states = {
# 			highlight_state_targets = {
# 				state = 162
# 			}
# 		}
# 		available = {
# 			always = no
# 		}
# 		days_remove = 30
# 		fire_only_once = yes
# 		remove_effect = {
# 			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_crescent_and_olive"
# 		}

# 		ai_will_do = {
# 			base = 1
# 		}
# 	}
# }

TUR_hizmet_gulen_struggle = {
	TUR_random_rally_akp_gulen = { #Random Rally!
		fire_only_once = no
		fixed_random_seed = no
		days_re_enable = 5
		activation = {
			hidden_trigger = {
				has_completed_focus = TUR_return_to_tradition
				has_country_flag = TUR_hizmet_gulen_struggle_bob
			}
		}
		available = { always = no }

		days_mission_timeout = 35
		is_good = yes
		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_random_rally_akp_gulen"
			hidden_effect = {
				random_list = {
					50 = {
						country_event = TurkeyFocusEvents.22
					}
					50 = {
						country_event = TurkeyFocusEvents.23
					}
				}
			}
		}
	}

	TUR_expose_akp_scandal = {

		cost = 50

		visible = {
			has_country_flag = TUR_hizmet_gulen_struggle_bob
		}

		available = {
			western_autocrats_are_in_power = yes
		}

		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_expose_akp_scandal"
			custom_effect_tooltip = TUR_increases_gulenist_support_5
			custom_effect_tooltip = TUR_decreases_akp_support_5
			add_to_variable = { var = hizmet_power value = 0.05 }
			clamp_variable = { var = hizmet_power min = 0 max = 1 }
			add_to_variable = { var = akp_power value = -0.05 }
			clamp_variable = { var = akp_power min = 0 max = 1 }
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_expose_gulenist_institution = {

		cost = 50

		visible = {
			has_country_flag = TUR_hizmet_gulen_struggle_bob
		}

		available = {
			neutrality_neutral_muslim_brotherhood_are_in_power = yes
		}

		days_remove = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_expose_gulenist_institution"
			custom_effect_tooltip = TUR_increases_akp_support_5
			custom_effect_tooltip = TUR_decreases_gulenist_support_5
			add_to_variable = { var = hizmet_power value = -0.05 }
			clamp_variable = { var = hizmet_power min = 0 max = 1 }
			add_to_variable = { var = akp_power value = 0.05 }
			clamp_variable = { var = akp_power min = 0 max = 1 }
		}

		ai_will_do = {
			base = 1
		}
	}
}
#####################################################
TUR_pan_turkic_dream = {
	TUR_invite_azerbaijan = {

		cost = 50

		visible = {
			has_completed_focus = TUR_pan_turkey
			hidden_trigger = {
				NOT = {
					has_country_flag = AZE_joins
				}
			}
		}

		available = {
			nationalist_right_wing_populists_are_in_power = yes
			AZE = {
				nationalist > 0.30
				has_opinion = { target = TUR value > 59 }
				influence_higher_50 = yes
			}
		}

		days_remove = 100
		days_re_enable = 365
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invite_azerbaijan"
			custom_effect_tooltip = TUR_more_relation_better
			AZE = {
				country_event = TurkicConfederation.1
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_invite_kazakhstan = {

		cost = 50

		visible = {
			has_completed_focus = TUR_pan_turkey
			hidden_trigger = {
				NOT = {
					has_country_flag = KAZ_joins
				}
			}
		}

		available = {
			nationalist_right_wing_populists_are_in_power = yes
			KAZ = {
				nationalist > 0.30
				has_opinion = { target = TUR value > 59 }
				influence_higher_50 = yes
			}
		}

		days_remove = 100
		days_re_enable = 365
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invite_kazakhstan"
			custom_effect_tooltip = TUR_more_relation_better
			KAZ = {
				country_event = TurkicConfederation.2
			}

		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_invite_uzbekistan = {

		cost = 50

		visible = {
			has_completed_focus = TUR_pan_turkey
			hidden_trigger = {
				NOT = {
					has_country_flag = UZB_joins
				}
			}
		}

		available = {
			nationalist_right_wing_populists_are_in_power = yes
			UZB = {
				has_opinion = { target = TUR value > 59 }
				nationalist > 0.30
				influence_higher_50 = yes
			}
		}

		days_remove = 100
		days_re_enable = 365
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invite_uzbekistan"
			custom_effect_tooltip = TUR_more_relation_better
			UZB = {
				country_event = TurkicConfederation.3
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_invite_turkmenistan = {

		cost = 50

		visible = {
			has_completed_focus = TUR_pan_turkey
			hidden_trigger = {
				NOT = {
					has_country_flag = TRK_joins
				}
			}
		}

		available = {
			nationalist_right_wing_populists_are_in_power = yes
			TRK = {
				has_opinion = { target = TUR value > 59 }
				nationalist > 0.30
				influence_higher_50 = yes
			}
		}

		days_remove = 100
		days_re_enable = 365
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invite_turkmenistan"
			custom_effect_tooltip = TUR_more_relation_better
			TRK = {
				country_event = TurkicConfederation.4
			}
		}

		ai_will_do = {
			base = 1
		}
	}
}
#
TUR_mafia_category = {
	TUR_mafia_fighting_back = { #Random mafia event where they attack
		fire_only_once = no
		fixed_random_seed = no
		days_re_enable = 5
		activation = { hidden_trigger = { has_country_flag = TUR_mafia_war_start } }
		available = { always = no }

		days_mission_timeout = 70
		is_good = yes
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_mafia_fighting_back"
			custom_effect_tooltip = TUR_mafia_warning2
		}
		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_mafia_fighting_back"
			hidden_effect = {
				random_list = {
					25 = { # Assassination
						country_event = Turkish_mafia.5
					}
					25 = { # Heist
						country_event = Turkish_mafia.6
					}
					25 = { #Explosion at commercial center
						country_event = Turkish_mafia.7
					}
					25 = { #Firefight with Police
						country_event = Turkish_mafia.8
					}
				}
			}
		}
	}
	TUR_conduct_anti_mafia_raid = {

		custom_cost_trigger = {
			command_power > 34
		}
		custom_cost_text = command_power_more_than_35

		available = {
			has_idea = police_05
		}
		modifier = {
			police_cost_multiplier_modifier = 0.50
		}

		days_remove = 60

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_conduct_anti_mafia_raid"
			add_to_variable = { TUR_mafia_influence = -2 }
			clamp_variable = { var = TUR_mafia_influence min = 0 max = 100 }
			custom_effect_tooltip = TUR_mafia_decrease_2
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_conduct_anti_mafia_raid"
			hidden_effect = {
				add_command_power = -35
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_arrest_mafia_west = {

		cost = 50

		available = {
			has_idea = police_05
			hidden_trigger = {
				has_country_flag = TUR_eliminate_mafia
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = TUR_arrest_mafia_central
						has_decision = TUR_arrest_mafia_south
						has_decision = TUR_arrest_mafia_east
					}
				}
			}
		}
		fire_only_once = yes
		visible = {
			has_idea = police_05
			has_country_flag = TUR_eliminate_mafia
		}

		modifier = {
			police_cost_multiplier_modifier = 0.75
		}

		days_remove = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_arrest_mafia_west"
			set_country_flag = TUR_mafia_west_arrest
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_arrest_mafia_central = {

		cost = 50

		available = {
			has_idea = police_05
			hidden_trigger = {
				has_country_flag = TUR_eliminate_mafia
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = TUR_arrest_mafia_west
						has_decision = TUR_arrest_mafia_south
						has_decision = TUR_arrest_mafia_east
					}
				}
			}
		}

		visible = {
			has_idea = police_05
			has_country_flag = TUR_eliminate_mafia
		}
		fire_only_once = yes
		modifier = {
			police_cost_multiplier_modifier = 0.75
		}

		days_remove = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_arrest_mafia_central"
			set_country_flag = TUR_mafia_central_arrest
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_arrest_mafia_south = {

		cost = 50

		available = {
			has_idea = police_05
			hidden_trigger = {
				has_country_flag = TUR_eliminate_mafia
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = TUR_arrest_mafia_west
						has_decision = TUR_arrest_mafia_central
						has_decision = TUR_arrest_mafia_east
					}
				}
			}
		}

		visible = {
			has_idea = police_05
			has_country_flag = TUR_eliminate_mafia
		}
		fire_only_once = yes
		modifier = {
			police_cost_multiplier_modifier = 0.75
		}

		days_remove = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_arrest_mafia_south"
			set_country_flag = TUR_mafia_south_arrest
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_arrest_mafia_east = {

		cost = 50

		available = {
			has_idea = police_05
			hidden_trigger = {
				has_country_flag = TUR_eliminate_mafia
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = TUR_arrest_mafia_west
						has_decision = TUR_arrest_mafia_central
						has_decision = TUR_arrest_mafia_south
					}
				}
			}
		}

		visible = {
			has_idea = police_05
			has_country_flag = TUR_eliminate_mafia
		}
		fire_only_once = yes
		modifier = {
			police_cost_multiplier_modifier = 0.75
		}

		days_remove = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_arrest_mafia_east"
			set_country_flag = TUR_mafia_east_arrest
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_victory_over_mafia = {

		available = {
			has_idea = police_05
			has_idea = TUR_mafia_weak
			hidden_trigger = {
				has_country_flag = TUR_mafia_south_arrest
				has_country_flag = TUR_mafia_west_arrest
				has_country_flag = TUR_mafia_central_arrest
				has_country_flag = TUR_mafia_east_arrest
			}
		}

		visible = {
			has_idea = police_05
			has_idea = TUR_mafia_weak
			has_country_flag = TUR_mafia_south_arrest
			has_country_flag = TUR_mafia_west_arrest
			has_country_flag = TUR_mafia_central_arrest
			has_country_flag = TUR_mafia_east_arrest
		}
		fire_only_once = yes
		modifier = {
			police_cost_multiplier_modifier = 1
		}

		days_remove = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_victory_over_mafia"
			clr_country_flag = TUR_turkishMafia
			set_country_flag = TUR_mafia_gone
			clear_variable = TUR_mafia_influence_min
			clear_variable = TUR_mafia_influence_max
			clear_variable = TUR_mafia_influence
			clear_variable = TUR_mafia_influence_gain
			clear_variable = TUR_event_counter_1_mafia
			remove_ideas = TUR_mafia_weak
		}

		ai_will_do = {
			base = 1
		}
	}
}
###
TUR_ottoman_revival = {
	TUR_open_mid_east = { #Winning over people in Iraq, Syria, Kuwait

		visible = {
			has_country_flag = TUR_osmani
			NOT = { has_country_flag = TUR_open_mideast }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_open_mid_east"
			set_country_flag = TUR_open_mideast
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_mid_east = { #Winning over people in Iraq, Syria, Kuwait

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_open_mideast
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_mid_east"
			clr_country_flag = TUR_open_mideast
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_iraq = { #Winning over people in Iraq

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_open_mideast
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_syria
					has_decision = TUR_support_in_kuwait
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_iraq"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_iraq value = 0.02 }
			clamp_variable = { var = osman_iraq min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_syria = { #Winning over people in Syria

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_open_mideast
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_kuwait
					has_decision = TUR_support_in_iraq
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_syria"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_syria value = 0.02 }
			clamp_variable = { var = osman_syria min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_kuwait = { #Winning over people in Kuwait

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_open_mideast
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_syria
					has_decision = TUR_support_in_iraq
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_kuwait"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_kuwait value = 0.02 }
			clamp_variable = { var = osman_kuwait min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	######
	TUR_open_levant = { #Winning over people in Israel, Palestine, Jordan, and Lebanon

		visible = {
			has_country_flag = TUR_osmani
			NOT = { has_country_flag = TUR_levant_close }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_open_levant"
			set_country_flag = TUR_levant_close
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_levant = { #Winning over people in Iraq, Syria, Kuwait

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_levant_close
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_levant"
			clr_country_flag = TUR_levant_close
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_support_in_israel = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_levant_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_jordan
					has_decision = TUR_support_in_lebanon
					has_decision = TUR_support_in_saudi
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_israel"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_isr value = 0.02 }
			clamp_variable = { var = osman_isr min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_lebanon = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_levant_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_jordan
					has_decision = TUR_support_in_israel
					has_decision = TUR_support_in_saudi
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_lebanon"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_leb value = 0.02 }
			clamp_variable = { var = osman_leb min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_jordan = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_levant_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_saudi
					has_decision = TUR_support_in_israel
					has_decision = TUR_support_in_lebanon
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_jordan"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_jor value = 0.02 }
			clamp_variable = { var = osman_jor min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_saudi = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_levant_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_jordan
					has_decision = TUR_support_in_israel
					has_decision = TUR_support_in_lebanon
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_saudi"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_sau value = 0.02 }
			clamp_variable = { var = osman_sau min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	###
	TUR_open_balkans = {

		visible = {
			has_country_flag = TUR_osmani
			NOT = { has_country_flag = TUR_balkans_close }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_open_balkans"
			set_country_flag = TUR_balkans_close
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_balkans = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_balkans_close
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_balkans"
			clr_country_flag = TUR_balkans_close
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_support_in_bulgaria = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_balkans_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_macedonia
					has_decision = TUR_support_in_greece
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_bulgaria"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_bul value = 0.02 }
			clamp_variable = { var = osman_bul min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_greece = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_balkans_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_macedonia
					has_decision = TUR_support_in_bulgaria
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_greece"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_gre value = 0.02 }
			clamp_variable = { var = osman_gre min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	TUR_support_in_macedonia = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_balkans_close
		}
		cost = 25
		available = {
			hidden_trigger = {
				has_country_flag = TUR_osmani
			}
			NOT = {
				OR = {
					has_decision = TUR_support_in_greece
					has_decision = TUR_support_in_bulgaria
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_support_in_macedonia"
			custom_effect_tooltip = TUR_boost_support_2
			add_to_variable = { var = osman_fyr value = 0.02 }
			clamp_variable = { var = osman_fyr min = 0 max = 1 }
		}

		days_remove = 12

		ai_will_do = {
			base = 1
		}
	}
	####
	TUR_open_assimulate = { # Getting Cores on countries with 100% Support

		visible = {
			has_country_flag = TUR_osmani
			NOT = { has_country_flag = TUR_assimulate }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_open_assimulate"
			set_country_flag = TUR_assimulate
			custom_effect_tooltip = TUR_assimulated_country
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_assimulate = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_assimulate"
			custom_effect_tooltip = TUR_assimulated_country
			clr_country_flag = TUR_assimulate
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_assimulate_iraq = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_iraq > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_iraq"
			IRQ = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_syria = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_syria > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_syria"
			SYR = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_kuwait = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_kuwait > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_kuwait"
			KUW = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_israel = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_isr > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_israel"
			ISR = { every_core_state = { add_core_of = TUR } }
			PAL = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_jordan = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_jor > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_jordan"
			JOR = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_lebanon = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_leb > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_lebanon"
			LEB = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_hejaz = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_sau > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_hejaz"
			HEJ = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_bulgaria = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_bul > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_bulgaria"
			BUL = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_greece = { #Reid be like: "Noooooooooooooooooooooooooo"

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_gre > 0.99 }
		}
		cost = 100
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_greece"
			GRE = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_assimulate_macedonia = {

		visible = {
			has_country_flag = TUR_osmani
			has_country_flag = TUR_assimulate
			check_variable = { from.osman_fyr > 0.99 }
		}
		cost = 100
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_assimulate_macedonia"
			FYR = { every_core_state = { add_core_of = TUR } }
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
}
################### PLAYING AS THE MAFIA MECHANIC ##################################
TUR_mafia_influence_mechanic = {

	TUR_start_eng_operations = {

		visible = {
			has_country_flag = playing_mafia
			NOT = { has_country_flag = TUR_opening_england }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_start_eng_operations"
			set_country_flag = TUR_opening_england
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_eng_operations = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_england
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_eng_operations"
			clr_country_flag = TUR_opening_england
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_boost_british_firms = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_england
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_fund_ira
					has_decision = TUR_sow_division
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_boost_british_firms"
			custom_effect_tooltip = TUR_boost_mafia
			add_to_variable = { var = mafia_uk value = 0.02 }
			clamp_variable = { var = mafia_uk min = 0 max = 1 }
			TUR_update_mafia_dirty_variable = yes
		}

		days_remove = 20

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_fund_ira = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_england
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_boost_british_firms
					has_decision = TUR_sow_division
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_fund_ira"
			ENG = {
				add_stability = -0.01
			}
		}

		modifier = {
			tax_gain_multiplier_modifier = -0.10
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_sow_division = {
		fixed_random_seed = no
		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_england
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_boost_british_firms
					has_decision = TUR_fund_ira
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_sow_division"
			ENG = {
				set_temp_variable = { party_index = 15 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
				random_list = {
					10 = {
						modifier = {
							check_variable = { party_pop_array^3 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 0 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^4 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 1 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^5 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 2 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^7 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 3 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^17 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 17 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^18 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 18 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
					10 = {
						modifier = {
							check_variable = { party_pop_array^19 < 0.05 }
							factor = 0
						}
						set_temp_variable = { party_index = 19 }
						set_temp_variable = { party_popularity_increase = -0.05 }
						set_temp_variable = { temp_outlook_increase = -0.05 }
						change_relative_party_popularity = yes
					}
				}
			}
		}

		modifier = {
			political_power_factor = -0.10
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_shatter_the_kingdom = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_england
		}
		fire_only_once = yes
		available = {
			NOT = {
				OR = {
					has_decision = TUR_boost_british_firms
					has_decision = TUR_fund_ira
					has_decision = TUR_sow_division
				}
			}
			ENG = {
				has_stability < 0.3
			}
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_99
				check_variable = { from.mafia_uk > 0.99 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_shatter_the_kingdom"
			437 = {
				transfer_state_to = SCO
			}
			9 = {
				transfer_state_to = SCO
			}
			16 = {
				transfer_state_to = WAS
			}
			17 = {
				transfer_state_to = IRE
			}
			SCO = {
				division_template = {
					name = "Scottish Freedom Fighters"
					regiments = {
						Special_Forces = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
						Special_Forces = { x = 0 y = 2 }
						Special_Forces = { x = 0 y = 3 }
						Special_Forces = { x = 1 y = 0 }
						Special_Forces = { x = 1 y = 1 }
						Special_Forces = { x = 1 y = 2 }
						Special_Forces = { x = 1 y = 3 }
						Special_Forces = { x = 2 y = 0 }
						Special_Forces = { x = 2 y = 1 }
					}
					priority = 2
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Scottish Rebels\" division_template = \"Scottish Freedom Fighters\" start_experience_factor = 1.0"
						owner = SCO
						count = 8
					}
				}
			}
			#
			WAS = {
				division_template = {
					name = "Welsh Freedom Fighters"
					regiments = {
						Special_Forces = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
						Special_Forces = { x = 0 y = 2 }
						Special_Forces = { x = 0 y = 3 }
						Special_Forces = { x = 1 y = 0 }
						Special_Forces = { x = 1 y = 1 }
						Special_Forces = { x = 1 y = 2 }
						Special_Forces = { x = 1 y = 3 }
						Special_Forces = { x = 2 y = 0 }
						Special_Forces = { x = 2 y = 1 }
					}
					priority = 2
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Welsh Rebels\" division_template = \"Welsh Freedom Fighters\" start_experience_factor = 1.0"
						owner = WAS
						count = 5
					}
				}
			}
			ENG = {
				country_event = {
					id = TurkeyFocusEvents.36
					days = 1
				}
			}
			puppet = WAS
			puppet = SCO
			hidden_effect = {
				SCO = {
					set_cosmetic_tag = TUR_SCOTTISH_SYNDICATE
					mark_formed_country_formable = yes
				}
				WAS = {
					set_cosmetic_tag = TUR_WELSH_SYNDICATE
					mark_formed_country_formable = yes
				}
			}
		}

		modifier = {
			tax_gain_multiplier_modifier = -0.10
		}

		days_remove = 180

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_start_ger_operations = {

		visible = {
			has_country_flag = playing_mafia
			NOT = { has_country_flag = TUR_opening_germany }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_start_ger_operations"
			set_country_flag = TUR_opening_germany
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_ger_operations = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_germany
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_ger_operations"
			clr_country_flag = TUR_opening_germany
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_gray_wolves_networks = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_germany
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_commit_vehicle_rob
					has_decision = TUR_attack_german_politics
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_gray_wolves_networks"
			custom_effect_tooltip = TUR_boost_mafia
			add_to_variable = { var = mafia_germany value = 0.02 }
			clamp_variable = { var = mafia_germany min = 0 max = 1 }
			TUR_update_mafia_dirty_variable = yes
		}
		modifier = {
			political_power_gain = -0.80
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_commit_vehicle_rob = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_germany
		}
		custom_cost_trigger = {
			has_equipment = {
				convoy > 30
			}
		}
		custom_cost_text = TUR_assualt_on_pkk
		available = {
			has_equipment = {
				convoy > 29
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_gray_wolves_networks
					has_decision = TUR_attack_german_politics
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_commit_vehicle_rob"
			hidden_effect = {
				TUR = {
					add_equipment_to_stockpile = {
						type = convoy
						amount = -30
						producer = TUR
					}
				}
			}
			GER = {
				add_stability = -0.01
				add_equipment_to_stockpile = {
					type = util_vehicle_3
					amount = -30
					producer = GER
				}
			}
			TUR = {
				add_equipment_to_stockpile = {
					type = util_vehicle_3
					amount = 30
					producer = GER
				}
			}
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_attack_german_politics = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_germany
			NOT = {
				GER = {
					has_idea = corruption_level_10
				}
			}
		}
		cost = 400
		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_60_mafia
				check_variable = { from.mafia_germany > 0.59 }
			}
			NOT = {
				OR = {
					has_decision = TUR_gray_wolves_networks
					has_decision = TUR_commit_vehicle_rob
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_attack_german_politics"
			GER = {
				increase_corruption = yes
			}
		}

		days_remove = 50

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_take_german_industries = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_germany
			NOT = {
				GER = {
					has_idea = corruption_level_10
				}
			}
		}
		fire_only_once = yes
		available = {
			GER = {
				has_idea = corruption_level_10
			}
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_99
				check_variable = { from.mafia_germany > 0.99 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_take_german_industries"
			add_offsite_building = { type = industrial_complex level = 10 }
			43 = {
				add_building_construction = {
					type = industrial_complex
					level = -5
					instant_build = yes
				}
			}
			#
			42 = {
				add_building_construction = {
					type = industrial_complex
					level = -5
					instant_build = yes
				}
			}
		}

		days_remove = 180

		ai_will_do = {
			base = 1
		}
	}
	##########
	TUR_start_hol_operations = {

		visible = {
			has_country_flag = playing_mafia
			NOT = { has_country_flag = TUR_opening_holland }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_start_hol_operations"
			set_country_flag = TUR_opening_holland
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_hol_operations = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_holland
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_hol_operations"
			clr_country_flag = TUR_opening_holland
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_establish_drug_networks_rotterdam = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_holland
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_decrease_policing_holland
					has_decision = TUR_seize_goods_from_ports
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_establish_drug_networks_rotterdam"
			custom_effect_tooltip = TUR_boost_mafia
			add_to_variable = { var = mafia_holland value = 0.02 }
			clamp_variable = { var = mafia_holland min = 0 max = 1 }
			TUR_update_mafia_dirty_variable = yes
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_seize_goods_from_ports = {
		fixed_random_seed = no
		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_holland
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_60_mafia
				check_variable = { from.mafia_germany > 0.59 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_decrease_policing_holland
					has_decision = TUR_establish_drug_networks_rotterdam
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_seize_goods_from_ports"
			random_list = {
				33 = {
					TUR = {
						add_equipment_to_stockpile = {
							type = convoy
							amount = 30
							producer = HOL
						}
					}
					HOL = {
						add_equipment_to_stockpile = {
							type = convoy
							amount = -30
							producer = HOL
						}
					}
				}
				33 = {
					TUR = {
						add_equipment_to_stockpile = {
							type = infantry_weapons_1
							amount = 400
							producer = HOL
						}
					}
					HOL = {
						add_equipment_to_stockpile = {
							type = infantry_weapons_1
							amount = -400
							producer = HOL
						}
					}
				}
				33 = {
					set_temp_variable = { treasury_change = 12 }
					modify_treasury_effect = yes
				}
			}
		}

		days_remove = 45

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_decrease_policing_holland = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_holland
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_60_mafia
				check_variable = { from.mafia_holland > 0.59 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_seize_goods_from_ports
					has_decision = TUR_establish_drug_networks_rotterdam
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_decrease_policing_holland"
			HOL = {
				decrease_policing_budget = yes
			}
		}

		days_remove = 45

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_largest_drug_network = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_holland
		}

		available = {
			HOL = {
				has_idea = police_01
			}
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_99
				check_variable = { from.mafia_holland > 0.99 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_largest_drug_network"
			hidden_effect = { add_ideas = TUR_taxing_bosphor }
			set_temp_variable = { additional_income_change = gdp_total }
			multiply_temp_variable = { additional_income_change = 0.10 }	#10% of GDP yearly
			multiply_temp_variable = { additional_income_change = 0.02 }	#weekly
			custom_effect_tooltip = additional_income_rate_percent_tt
		}

		days_remove = 120

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_start_aus_operations = {

		visible = {
			has_country_flag = playing_mafia
			NOT = { has_country_flag = TUR_opening_australia }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_start_aus_operations"
			set_country_flag = TUR_opening_australia
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_aus_operations = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_australia
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_aus_operations"
			clr_country_flag = TUR_opening_australia
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_boost_honoured_society = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_australia
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_target_aussie_welfare
					has_decision = TUR_spread_hatred_indonesia
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_boost_honoured_society"
			custom_effect_tooltip = TUR_boost_mafia
			add_to_variable = { var = mafia_australia value = 0.02 }
			clamp_variable = { var = mafia_australia min = 0 max = 1 }
			TUR_update_mafia_dirty_variable = yes
		}

		days_remove = 15
		modifier = {
			political_power_cost = 0.5
			experience_gain_army = -0.5
			experience_gain_air = -0.5
			experience_gain_navy = -0.5
		}
		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_target_aussie_welfare = {
		fixed_random_seed = no
		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_australia
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_60_mafia
				check_variable = { from.mafia_australia > 0.59 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_boost_honoured_society
					has_decision = TUR_spread_hatred_indonesia
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_target_aussie_welfare"
			random_list = {
				25 = {
					AST = {
						decrease_healthcare_budget = yes
					}
				}
				25 = {
					AST = {
						decrease_social_spending = yes
					}
				}
				50 = {
				}
			}
		}
		modifier = {
			social_cost_multiplier_modifier = 0.30
			health_cost_multiplier_modifier = 0.30
		}
		days_remove = 50

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_spread_hatred_indonesia = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_australia
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_boost_honoured_society
					has_decision = TUR_target_aussie_welfare
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_spread_hatred_indonesia"
			IND = {
				add_opinion_modifier = {
					target = AST
					modifier = small_decrease
				}
			}
			AST = {
				add_opinion_modifier = {
					target = IND
					modifier = small_decrease
				}
			}
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_watch_the_conflict = {
		cost = 1000
		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_australia
		}

		available = {
			AST = {
				OR = {
					has_idea = social_01
					has_idea = health_01
				}
			}
			IND = { has_opinion = { target = AST value < -49 } }
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_99
				check_variable = { from.mafia_australia > 0.99 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_watch_the_conflict"
			random_owned_state = {
				add_resource = {
					type = tungsten
					amount = 97
				}
			}
			AST = {
				741 = {
					add_resource = {
						type = tungsten
						amount = -97
					}
				}
			}
			IND = {
				country_event = {
					id = TurkeyFocusEvents.37
					days = 1
				}
			}
		}

		days_remove = 100

		ai_will_do = {
			base = 1
		}
	}
	####
	TUR_start_bel_operations = {

		visible = {
			has_country_flag = playing_mafia
			NOT = { has_country_flag = TUR_opening_belgium }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_start_bel_operations"
			set_country_flag = TUR_opening_belgium
		}

		ai_will_do = {
			base = 1
		}
	}
	TUR_close_bel_operations = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_belgium
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_close_bel_operations"
			clr_country_flag = TUR_opening_belgium
		}

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_fund_bel_mafia = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_belgium
		}

		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_strings_in_belgian_govt
					has_decision = TUR_steal_crucial_info
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_fund_bel_mafia"
			custom_effect_tooltip = TUR_boost_mafia
			add_to_variable = { var = mafia_belgium value = 0.02 }
			clamp_variable = { var = mafia_belgium min = 0 max = 1 }
			TUR_update_mafia_dirty_variable = yes
		}

		modifier = {
			corruption_cost_factor = 0.40
			propaganda_campaign_cost_modifier = 0.20
		}

		days_remove = 15

		ai_will_do = {
			base = 1
		}
	}
	TUR_strings_in_belgian_govt = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_belgium
		}
		cost = 50
		available = {
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_fund_bel_mafia
					has_decision = TUR_steal_crucial_info
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_strings_in_belgian_govt"
			BEL = {
				add_popularity = { ideology = neutrality popularity = 0.02 }
			}
		}

		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_steal_crucial_info = {
		fixed_random_seed = no
		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_belgium
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_60_mafia
				check_variable = { from.mafia_belgium > 0.59 }
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
			NOT = {
				OR = {
					has_decision = TUR_fund_bel_mafia
					has_decision = TUR_strings_in_belgian_govt
				}
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_steal_crucial_info"
			random_list = {
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_industry
					} hidden_effect = { rq_eb_b504394b66 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_information_technology
					} hidden_effect = { rq_eb_dcfbaed803 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_construction
					} hidden_effect = { rq_eb_ee5c00f4a7 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_3d_printing
					} hidden_effect = { rq_eb_dd54fe7ed8 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_utility_vehicles
					} hidden_effect = { rq_eb_b8b342fde6 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_artillery
					} hidden_effect = { rq_eb_16880ca250 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_fuel_refining
					} hidden_effect = { rq_eb_7db5e66f66 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_tanks
					} hidden_effect = { rq_eb_fca8b22b9a = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_infantry_fighting_vehicles
					} hidden_effect = { rq_eb_b351815985 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = TUR_steal_crucial_info
						bonus = 0.10
						uses = 1
						category = CAT_armored_personnel_carriers
					} hidden_effect = { rq_eb_4e86f8eeae = yes }
				}
			}
		}
		modifier = { research_speed_factor = -0.30 }
		days_remove = 40

		ai_will_do = {
			base = 1
		}
	}
	TUR_our_puppets = {

		visible = {
			has_country_flag = playing_mafia
			has_country_flag = TUR_opening_belgium
		}
		cost = 100
		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_we_need_99
				check_variable = { from.mafia_belgium > 0.99 }
			}
			BEL = {
				influence_higher_60 = yes
				neutrality > 0.40
			}
			hidden_trigger = {
				has_country_flag = playing_mafia
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_our_puppets"
			add_ideas = TUR_belgian_workers
			puppet = BEL
		}

		days_remove = 120

		ai_will_do = {
			base = 1
		}
	}
}
###############################
TUR_ciw_decisions = {
	TUR_invest_in_infrastructure = {
		allowed = { original_tag = TUR }
		available = {
			NOT = {
				OR = {
					has_decision = TUR_invest_in_industry
					has_decision = TUR_invest_in_health
					has_decision = TUR_invest_in_education
					has_decision = TUR_invest_in_disasters
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invest_in_infrastructure"
			every_country = {
				limit = {
					has_idea = CIW_member
					NOT = { has_country_flag = CIW_leader }
				}
				country_event = TurkeyFocusEvents.44
			}
		}
		modifier = {
			production_speed_infrastructure_factor = 0.10
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_invest_in_disasters = {
		allowed = { original_tag = TUR }

		available = {
			NOT = {
				OR = {
					has_decision = TUR_invest_in_industry
					has_decision = TUR_invest_in_health
					has_decision = TUR_invest_in_education
					has_decision = TUR_invest_in_infrastructure
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invest_in_disasters"
			every_country = {
				limit = {
					has_idea = CIW_member
					NOT = { has_country_flag = CIW_leader }
				}
				country_event = TurkeyFocusEvents.45
			}
		}
		modifier = {
			political_power_cost = -0.30
		}
		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_invest_in_education = {
		allowed = { original_tag = TUR }

		available = {
			NOT = {
				OR = {
					has_decision = TUR_invest_in_industry
					has_decision = TUR_invest_in_health
					has_decision = TUR_invest_in_disasters
					has_decision = TUR_invest_in_infrastructure
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invest_in_education"
			every_country = {
				limit = {
					has_idea = CIW_member
					NOT = { has_country_flag = CIW_leader }
				}
				country_event = TurkeyFocusEvents.46
			}
		}
		modifier = {
			education_cost_multiplier_modifier = -0.10
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_invest_in_health = {
		allowed = { original_tag = TUR }

		available = {
			NOT = {
				OR = {
					has_decision = TUR_invest_in_industry
					has_decision = TUR_invest_in_education
					has_decision = TUR_invest_in_disasters
					has_decision = TUR_invest_in_infrastructure
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invest_in_health"
			every_country = {
				limit = {
					has_idea = CIW_member
					NOT = { has_country_flag = CIW_leader }
				}
				country_event = TurkeyFocusEvents.47
			}
		}
		modifier = {
			health_cost_multiplier_modifier = -0.15
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_invest_in_industry = {
		allowed = { original_tag = TUR }

		available = {
			NOT = {
				OR = {
					has_decision = TUR_invest_in_health
					has_decision = TUR_invest_in_education
					has_decision = TUR_invest_in_disasters
					has_decision = TUR_invest_in_infrastructure
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_invest_in_industry"
			every_country = {
				limit = {
					has_idea = CIW_member
					NOT = {
						has_country_flag = CIW_leader
					}
				}
				country_event = TurkeyFocusEvents.48
			}
		}
		modifier = {
			production_factory_efficiency_gain_factor = 0.10
			line_change_production_efficiency_factor = 0.10
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#### FOR CIW MEMBERS ONLY, NOT TURKEY ####
	TUR_ask_for_infrastructure = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		cost = 100
		available = {
			treasury_higher_than_5 = yes
			NOT = {
				OR = {
					has_decision = TUR_ask_for_network
					has_decision = TUR_ask_for_supply
					has_decision = TUR_ask_for_radars
					has_decision = TUR_ask_for_airbase
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_ask_for_infrastructure"
			TUR = {
				set_temp_variable = { int_investment_change = 1.5 }
				modify_international_investment_effect = yes
			}
			set_temp_variable = { treasury_change = -3.5 }
			modify_treasury_effect = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 240

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_ask_for_network = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		cost = 100
		available = {
			treasury_higher_than_5 = yes
			NOT = {
				OR = {
					has_decision = TUR_ask_for_infrastructure
					has_decision = TUR_ask_for_supply
					has_decision = TUR_ask_for_radars
					has_decision = TUR_ask_for_airbase
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_ask_for_network"
			TUR = {
				set_temp_variable = { int_investment_change = 2.50 }
				modify_international_investment_effect = yes
			}
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = internet_station
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = internet_station
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_ask_for_supply = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		cost = 100
		available = {
			treasury_higher_than_5 = yes
			NOT = {
				OR = {
					has_decision = TUR_ask_for_infrastructure
					has_decision = TUR_ask_for_network
					has_decision = TUR_ask_for_radars
					has_decision = TUR_ask_for_airbase
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_ask_for_supply"
			TUR = {
				set_temp_variable = { int_investment_change = 1.00 }
				modify_international_investment_effect = yes
			}
			set_temp_variable = { treasury_change = -2.50 }
			modify_treasury_effect = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = supply_node
					level = 1
					instant_build = yes
					province = { all_provinces = yes first = yes }
				}
			}
		}

		days_remove = 240

		ai_will_do = {
			base = 1
		}
	}
	TUR_ask_for_radars = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		cost = 100
		available = {
			treasury_higher_than_5 = yes
			NOT = {
				OR = {
					has_decision = TUR_ask_for_infrastructure
					has_decision = TUR_ask_for_network
					has_decision = TUR_ask_for_supply
					has_decision = TUR_ask_for_airbase
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_ask_for_radars"
			TUR = {
				set_temp_variable = { int_investment_change = 0.50 }
				modify_international_investment_effect = yes
			}
			set_temp_variable = { treasury_change = -1.75 }
			modify_treasury_effect = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	#
	TUR_ask_for_airbase = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		cost = 100
		available = {
			treasury_higher_than_5 = yes
			NOT = {
				OR = {
					has_decision = TUR_ask_for_infrastructure
					has_decision = TUR_ask_for_network
					has_decision = TUR_ask_for_supply
					has_decision = TUR_ask_for_radars
				}
			}
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_ask_for_airbase"
			TUR = {
				set_temp_variable = { int_investment_change = 1.00 }
				modify_international_investment_effect = yes
			}
			set_temp_variable = { treasury_change = -2.50 }
			modify_treasury_effect = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 200

		ai_will_do = {
			base = 1
		}
	}
	####
	TUR_leave_ciw = {

		visible = {
			has_idea = CIW_member
			NOT = {
				has_country_flag = CIW_leader
			}
		}
		available = {
			has_idea = CIW_member
		}
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_leave_ciw"
			remove_ideas = CIW_member
			TUR = {
				country_event = TurkeyFocusEvents.49
			}
		}

		ai_will_do = {
			base = 0
		}
	}
}
###########
TUR_disaster_income = {
	TUR_incoming_collapse = {
		fire_only_once = yes
		activation = { hidden_trigger = { has_country_flag = TUR_econ_disaster } }
		available = {
			has_completed_focus = TUR_economic_crisis_over
			OR = {
				has_idea = stable_growth
				has_idea = fast_growth
				has_idea = economic_boom
			}
		}
		days_mission_timeout = 175
		is_good = no
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_incoming_collapse"
			add_stability = 0.10
			increase_economic_growth = yes
		}
		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_incoming_collapse"
			if = {
				limit = {
					has_country_flag = Turkey_FP_banned
				}
				decrease_economic_growth = yes
				add_stability = -0.10
			}
			if = {
				limit = {
					NOT = { has_country_flag = Turkey_FP_banned }
				}
				custom_effect_tooltip = TUR_akp_formed
				hidden_effect = {
					set_country_flag = Turkey_FP_banned
					remove_ideas = TUR_rise_of_fp
					#Reduce FP's popularity by 90%
					set_temp_variable = { FP_pop_drop = party_pop_array^6 }
					multiply_temp_variable = { FP_pop_drop = 0.9 }
					set_temp_variable = { Hizmet_pop_gain = party_pop_array^6 }
					multiply_temp_variable = { Hizmet_pop_gain = 0.10 }
					set_temp_variable = { AKP_pop_gain = party_pop_array^6 }
					multiply_temp_variable = { AKP_pop_gain = 0.80 }
					set_temp_variable = { FP_pop_drop_neg = FP_pop_drop }
					multiply_temp_variable = { FP_pop_drop_neg = -1 }
					set_temp_variable = { party_index = 6 }
					set_temp_variable = { party_popularity_increase = FP_pop_drop }
					multiply_temp_variable = { party_popularity_increase = -1 }
					set_temp_variable = { temp_outlook_increase = FP_pop_drop_neg }
					change_relative_party_popularity = yes
					custom_effect_tooltip = TUR_FP_POP_DROP
					custom_effect_tooltip = TUR_FP_NEW_NAME
					set_temp_variable = { party_index = 0 }
					set_temp_variable = { party_popularity_increase = Hizmet_pop_gain }
					set_temp_variable = { temp_outlook_increase = Hizmet_pop_gain }
					change_relative_party_popularity = yes
					custom_effect_tooltip = TUR_HIZMET_POP_GAIN
					set_temp_variable = { party_index = 12 }
					set_temp_variable = { party_popularity_increase = AKP_pop_gain }
					set_temp_variable = { temp_outlook_increase = AKP_pop_gain }
					change_relative_party_popularity = yes
					custom_effect_tooltip = TUR_AKP_POP_GAIN
					custom_effect_tooltip = TUR_AKP_EMERGES
				}
			}
		}
	}
}

TUR_PKK_mechanic = {

	TUR_hold_meeting = {
		icon = GFX_decision_generic_form_nation
		visible = {
			162 = {
				is_owned_and_controlled_by = TUR
			}
		}
		highlight_states = {
			highlight_state_targets = {
				state = 162
			}
		}
		days_remove = 30
		fire_only_once = yes
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_hold_meeting"
			country_event = TUR_pkk.1
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_select_van_base = {
		icon = GFX_decision_generic_army_support
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			NOT = {
				OR = {
					has_country_flag = TUR_targeting_van
					has_country_flag = TUR_auto_attacks_van
					has_country_flag = TUR_auto_attacks_euphrates
					has_country_flag = TUR_auto_attacks_diyarbakir
					has_country_flag = TUR_van_done
				}
			}
		}
		available = {
			935 = {
				is_owned_and_controlled_by = TUR
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_select_van_base"
			set_country_flag = TUR_targeting_van
			clr_country_flag = TUR_targeting_diyarbakir
			clr_country_flag = TUR_targeting_euphrates
			if = {
				limit = {
					NOT = {
						has_country_flag = TUR_selected_van_already
					}
				}
				add_to_variable = { var_pkk_van = 3950 }
				clamp_variable = { var = var_pkk_van min = 0 max = 5000 }
				set_country_flag = TUR_selected_van_already
				country_event = TUR_pkk.100
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}
	TUR_select_diyarbakir_base = {
		icon = GFX_decision_generic_army_support
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			NOT = {
				OR = {
					has_country_flag = TUR_targeting_diyarbakir
					has_country_flag = TUR_auto_attacks_van
					has_country_flag = TUR_auto_attacks_euphrates
					has_country_flag = TUR_auto_attacks_diyarbakir
					has_country_flag = TUR_diyarbakir_done
				}
			}
		}
		available = {
			162 = {
				is_owned_and_controlled_by = TUR
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_select_diyarbakir_base"
			clr_country_flag = TUR_targeting_van
			set_country_flag = TUR_targeting_diyarbakir
			clr_country_flag = TUR_targeting_euphrates
			if = {
				limit = {
					NOT = {
						has_country_flag = TUR_selected_diyarbakir_already
					}
				}
				add_to_variable = { var_pkk_diyarbakir = 4800 }
				clamp_variable = { var = var_pkk_diyarbakir min = 0 max = 5000 }
				set_country_flag = TUR_selected_diyarbakir_already
				country_event = TUR_pkk.100
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}
	TUR_select_euphrates_base = {
		icon = GFX_decision_generic_army_support
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			NOT = {
				OR = {
					has_country_flag = TUR_targeting_euphrates
					has_country_flag = TUR_auto_attacks_van
					has_country_flag = TUR_auto_attacks_euphrates
					has_country_flag = TUR_auto_attacks_diyarbakir
					has_country_flag = TUR_euphrates_done
				}
			}
		}

		available = {
			1205 = {
				is_owned_and_controlled_by = TUR
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove TUR_select_euphrates_base"
			clr_country_flag = TUR_targeting_van
			clr_country_flag = TUR_targeting_diyarbakir
			set_country_flag = TUR_targeting_euphrates
			if = {
				limit = {
					NOT = {
						has_country_flag = TUR_selected_euphrates_already
					}
				}
				add_to_variable = { var_pkk_euphrates = 3200 }
				clamp_variable = { var = var_pkk_euphrates min = 0 max = 5000 }
				set_country_flag = TUR_selected_euphrates_already
				country_event = TUR_pkk.100
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	# Assault On Selected Base
	TUR_assault_this_base = {
		icon = GFX_decision_generic_army_support

		custom_cost_trigger = {
			command_power > 34
		}
		custom_cost_text = command_power_more_than_35

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			OR = {
				has_country_flag = TUR_targeting_van
				has_country_flag = TUR_targeting_euphrates
				has_country_flag = TUR_targeting_diyarbakir
			}
			NOT = {
				OR = {
					has_country_flag = TUR_euphrates_done
					has_country_flag = TUR_van_done
					has_country_flag = TUR_diyarbakir_done
				}
			}
		}

		days_remove = 14

		days_re_enable = 7

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_assault_this_base"
			hidden_effect = {
				add_command_power = -35
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_assault_this_base"
			TUR_PKK_attack = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_greenlight_operations_in_van = {
		icon = GFX_decision_generic_army_support

		custom_cost_trigger = {
			command_power > 34
		}
		custom_cost_text = command_power_more_than_35

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_van
			NOT = {
				OR = {
					has_country_flag = TUR_auto_attacks_van
					has_country_flag = TUR_van_done
				}
			}
		}
		available = {
			935 = {
				resistance < 50
				compliance > 49
			}
			custom_trigger_tooltip = {
				tooltip = TUR_has_large_mil_or_higher_TT
				OR = {
					has_idea = defence_05
					has_idea = defence_06
					has_idea = defence_07
					has_idea = defence_08
					has_idea = defence_09
				}
			}
		}

		days_remove = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_van"
			hidden_effect = {
				add_command_power = -35
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_van"
			set_country_flag = TUR_auto_attacks_van
			custom_effect_tooltip = TUR_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_end_operations_in_van = {
		icon = GFX_decision_generic_army_support

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_van
			has_country_flag = TUR_auto_attacks_van
			NOT = {
				has_country_flag = TUR_van_done
			}
		}

		days_remove = 14

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_end_operations_in_van"
			clr_country_flag = TUR_auto_attacks_van
			custom_effect_tooltip = TUR_end_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
		}
	}

	# Diyarbakir

	TUR_greenlight_operations_in_diyarbakir = {
		icon = GFX_decision_generic_army_support

		custom_cost_trigger = {
			command_power > 34
		}
		custom_cost_text = command_power_more_than_35

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_diyarbakir
			NOT = {
				OR = {
					has_country_flag = TUR_auto_attacks_diyarbakir
					has_country_flag = TUR_diyarbakir_done
				}
			}
		}

		available = {
			162 = {
				resistance < 50
				compliance > 49
			}
			custom_trigger_tooltip = {
				tooltip = TUR_has_large_mil_or_higher_TT
				OR = {
					has_idea = defence_05
					has_idea = defence_06
					has_idea = defence_07
					has_idea = defence_08
					has_idea = defence_09
				}
			}
		}

		days_remove = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_diyarbakir"
			hidden_effect = {
				add_command_power = -35
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_diyarbakir"
			set_country_flag = TUR_auto_attacks_diyarbakir
			custom_effect_tooltip = TUR_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_end_operations_in_diyarbakir = {
		icon = GFX_decision_generic_army_support

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			NOT = {
				has_country_flag = TUR_diyarbakir_done
			}
			has_country_flag = TUR_targeting_diyarbakir
			has_country_flag = TUR_auto_attacks_diyarbakir
		}

		days_remove = 14

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_end_operations_in_diyarbakir"
			clr_country_flag = TUR_auto_attacks_diyarbakir
			custom_effect_tooltip = TUR_end_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
		}
	}

	TUR_greenlight_operations_in_euphrates = {
		icon = GFX_decision_generic_army_support

		custom_cost_trigger = {
			command_power > 34
		}
		custom_cost_text = command_power_more_than_35

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_euphrates
			NOT = {
				OR = {
					has_country_flag = TUR_auto_attacks_euphrates
					has_country_flag = TUR_euphrates_done
				}
			}
		}

		available = {
			1205 = {
				resistance < 50
				compliance > 49
			}
			custom_trigger_tooltip = {
				tooltip = TUR_has_large_mil_or_higher_TT
				OR = {
					has_idea = defence_05
					has_idea = defence_06
					has_idea = defence_07
					has_idea = defence_08
					has_idea = defence_09
				}
			}
		}

		days_remove = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_euphrates"
			hidden_effect = {
				add_command_power = -35
			}
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_greenlight_operations_in_euphrates"
			set_country_flag = TUR_auto_attacks_euphrates
			custom_effect_tooltip = TUR_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_end_operations_in_euphrates = {
		icon = GFX_decision_generic_army_support

		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_euphrates
			has_country_flag = TUR_auto_attacks_euphrates
			NOT = {
				has_country_flag = TUR_euphrates_done
			}
		}

		days_remove = 14

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_end_operations_in_euphrates"
			clr_country_flag = TUR_auto_attacks_euphrates
			custom_effect_tooltip = TUR_end_automate_warfare_TT
		}

		ai_will_do = {
			base = 1
		}
	}

	# Ending Conflicts In Areas

	TUR_clean_out_PKK_in_van = {
		icon = GFX_decision_generic_army_support
		fire_only_once = yes
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_van
			check_variable = {
				var_pkk_van < 1000
			}
		}

		available = {
			935 = {
				resistance < 10
				compliance > 89
			}
			custom_trigger_tooltip = {
				tooltip = TUR_less_than_100_PKK_van_TT
				check_variable = {
					var_pkk_van < 100
				}
			}
		}

		days_remove = 30

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_clean_out_PKK_in_van"
			country_event = TUR_pkk.214
			set_country_flag = TUR_van_done
			clr_country_flag = TUR_auto_attacks_van
			clr_country_flag = TUR_targeting_van
			hidden_effect = {
				935 = {
					if = {
						limit = { has_dynamic_modifier = { modifier = pkk_static_modifier } }
						remove_dynamic_modifier = {
							modifier = pkk_static_modifier
						}
					}
					if = {
						limit = { has_dynamic_modifier = { modifier = kurdish_resistance_dynamic_modifier } }
						remove_dynamic_modifier = {
							modifier = kurdish_resistance_dynamic_modifier
						}
					}
				}
				clear_variable = var_pkk_van
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_clean_out_PKK_in_euphrates = {
		icon = GFX_decision_generic_army_support
		fire_only_once = yes
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_euphrates
			check_variable = {
				var_pkk_euphrates < 1000
			}
		}

		available = {
			1205 = {
				resistance < 10
				compliance > 89
			}
			custom_trigger_tooltip = {
				tooltip = TUR_less_than_100_PKK_euphrates_TT
				check_variable = {
					var_pkk_euphrates < 100
				}
			}
		}

		days_remove = 30

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_clean_out_PKK_in_euphrates"
			country_event = TUR_pkk.215
			set_country_flag = TUR_euphrates_done
			clr_country_flag = TUR_auto_attacks_euphrates
			clr_country_flag = TUR_targeting_euphrates
			hidden_effect = {
				1205 = {
					if = {
						limit = { has_dynamic_modifier = { modifier = pkk_static_modifier } }
						remove_dynamic_modifier = {
							modifier = pkk_static_modifier
						}
					}
					if = {
						limit = { has_dynamic_modifier = { modifier = kurdish_resistance_dynamic_modifier } }
						remove_dynamic_modifier = {
							modifier = kurdish_resistance_dynamic_modifier
						}
					}
				}
				clear_variable = var_pkk_euphrates
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_clean_out_PKK_in_diyarbakir = {
		icon = GFX_decision_generic_army_support
		fire_only_once = yes
		visible = {
			OR = {
				has_country_flag = TUR_PKK_conventional
				has_country_flag = TUR_PKK_unconventional
			}
			has_country_flag = TUR_targeting_diyarbakir
			check_variable = {
				var_pkk_diyarbakir < 1000
			}
		}

		available = {
			162 = {
				resistance < 10
				compliance > 89
			}
			custom_trigger_tooltip = {
				tooltip = TUR_less_than_100_PKK_diyarbakir_TT
				check_variable = {
					var_pkk_diyarbakir < 100
				}
			}
		}

		days_remove = 30

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_clean_out_PKK_in_diyarbakir"
			country_event = TUR_pkk.216
			set_country_flag = TUR_diyarbakir_done
			clr_country_flag = TUR_auto_attacks_diyarbakir
			clr_country_flag = TUR_targeting_diyarbakir
			hidden_effect = {
				162 = {
					if = {
						limit = { has_dynamic_modifier = { modifier = pkk_static_modifier } }
						remove_dynamic_modifier = {
							modifier = pkk_static_modifier
						}
					}
					if = {
						limit = { has_dynamic_modifier = { modifier = kurdish_resistance_dynamic_modifier } }
						remove_dynamic_modifier = {
							modifier = kurdish_resistance_dynamic_modifier
						}
					}
				}
				clear_variable = var_pkk_diyarbakir
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}

	TUR_declare_victory_over_PKK = {
		days_remove = 25

		fire_only_once = yes

		visible = {
			has_country_flag = TUR_euphrates_done
			has_country_flag = TUR_van_done
			has_country_flag = TUR_diyarbakir_done
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_declare_victory_over_PKK"
			custom_effect_tooltip = TUR_PKK_insurgency_formally_ends_TT
			newline = yes
			remove_ideas = TUR_kurdish_trouble
			newline = yes
			news_event = TUR_pkk.217
			set_country_flag = TUR_PKK_gone
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 50
				TUR_ai_keeps_the_southeast = yes
			}
		}
	}
}

TUR_rebuilding_kurdistan = {
	TUR_the_promise_of_no_return = {
		allowed = { always = no }
		fire_only_once = yes
		available = {
			has_country_flag = TUR_finalized_reforms
		}
		days_mission_timeout = 1500
		is_good = no
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_the_promise_of_no_return"
			country_event = TUR_pkk.601
		}
		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_the_promise_of_no_return"
			country_event = TUR_pkk.600
		}
	}
	TUR_finalize_the_reforms = {
		days_remove = 25

		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = TUR_completed_reconciliations_TT
				check_variable = {
					TUR_pkk_reconcile_var > 4
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_finalize_the_reforms"
			set_country_flag = TUR_finalized_reforms
			custom_effect_tooltip = TUR_finalized_kurdish_reforms_TT
		}

		ai_will_do = {
			base = 10
		}
	}
	TUR_release_ocalan = {
		days_remove = 25

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_release_ocalan"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_release_ocalan"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			set_country_flag = TUR_ocalan_released
			custom_effect_tooltip = TUR_release_ocalan_TT
			newline = yes
			set_temp_variable = { party_index = 19 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_pass_the_infrastructure_bill = {
		days_remove = 50

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					infrastructure > 2
					air_base > 1
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					infrastructure > 2
					air_base > 1
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					infrastructure > 2
					air_base > 1
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_pass_the_infrastructure_bill"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 350
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_pass_the_infrastructure_bill"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			159 = {
				add_extra_state_shared_building_slots = 6
				newline = yes
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
				newline = yes
				add_building_construction = {
					type = offices
					level = 2
					instant_build = yes
				}
				newline = yes
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			newline = yes
			set_temp_variable = { treasury_change = -24.00 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_kurdish_language_5 = {
		days_remove = 45

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					internet_station > 1
					radar_station > 3
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					internet_station > 1
					radar_station > 3
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					internet_station > 1
					radar_station > 3
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_language_5"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_language_5"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			add_ideas = TUR_support_from_kurdish_television
			newline = yes
			decrease_corruption = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_kurdish_schools = {
		days_remove = 45

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					nuclear_facility > 0
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					air_facility > 0
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					land_facility > 0
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_schools"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_schools"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			add_breakthrough_progress = {
				specialization = all
				value = 3
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_kurdish_security_apparatus = {
		days_remove = 45

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					arms_factory > 0
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					rocket_site > 2
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					anti_air_building > 2
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_security_apparatus"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_kurdish_security_apparatus"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			if = {
				limit = {
					has_idea = the_military
				}
				set_temp_variable = { temp_opinion = 20 }
				change_the_military_opinion = yes
				newline = yes
			}
			army_experience = 200
			newline = yes
			air_experience = 200
			newline = yes
			156 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
				}
			}
			set_temp_variable = { treasury_change = -16 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_jobs_and_careers = {
		days_remove = 45

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					offices > 0
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					agriculture_district > 1
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					offices > 0
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_jobs_and_careers"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_jobs_and_careers"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			set_temp_variable = { temp_productivity_change = 200 }
			flat_productivity_change_effect = yes
			newline = yes
			increase_economic_growth = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	TUR_power_infrastructure = {
		days_remove = 45

		fire_only_once = yes

		available = {
			if = {
				limit = {
					935 = {
						is_owned_and_controlled_by = TUR
					}
				}
				935 = {
					fossil_powerplant > 5
				}
			}
			if = {
				limit = {
					162 = {
						is_owned_and_controlled_by = TUR
					}
				}
				162 = {
					fossil_powerplant > 5
				}
			}
			if = {
				limit = {
					1205 = {
						is_owned_and_controlled_by = TUR
					}
				}
				1205 = {
					fossil_powerplant > 5
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_power_infrastructure"
			add_days_mission_timeout = {
				mission = TUR_the_promise_of_no_return
				days = 550
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision TUR_power_infrastructure"
			add_to_variable = {
				var = TUR_pkk_reconcile_var value = 1
			}
			992 = {
				add_resource = {
					type = oil
					amount = 7
				}
				add_building_construction = {
					type = fuel_silo
					level = 3
				}
			}
			newline = yes
				158 = {
				add_resource = {
					type = oil
					amount = 12
				}
				add_building_construction = {
					type = fuel_silo
					level = 3
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}
}
