political_actions = {
	TUR_recall_ataturk_to_active_service = {

		icon = generic_army_support

		allowed = {
			original_tag = TUR
		}
		available = {
			has_country_leader = { ruling_only = yes name = "Mustafa Kemal Atatürk" }
			has_defensive_war = yes			
		}
		visible = {
			has_country_leader = { ruling_only = yes name = "Mustafa Kemal Atatürk" }
		}
		cost = 0
		fire_only_once = yes
		ai_will_do = {
			factor = 1
		}
		complete_effect = {
			if = {
				limit = {
					has_dlc = "Battle for the Bosporus"
				}
				create_field_marshal = {
					name = "Mustafa Kemal Atatürk"
					picture = "Portrait_Turkey_Mustafa_Kemal_Ataturk_Military.dds"
					traits = { trait_TUR_kemalist_champion brilliant_strategist war_hero infantry_officer trickster desert_fox hill_fighter }
					skill = 4
					id = 59
					attack_skill = 4
					defense_skill = 3
					planning_skill = 4
					logistics_skill = 2
				}
			}
			else = {
				create_field_marshal = {
					name = "Mustafa Kemal Atatürk"
					picture = "Portrait_Turkey_Mustafa_Kemal_Ataturk_Military.dds"
					traits = { brilliant_strategist war_hero infantry_officer trickster desert_fox hill_fighter }
					skill = 4
					id = 59
					attack_skill = 4
					defense_skill = 3
					planning_skill = 4
					logistics_skill = 2
				}
			}
			add_war_support = 0.1
		}
	}

	TUR_alter_the_royal_laws_of_succession = {

		icon = eng_trade_unions_support

		allowed = {
			original_tag = TUR
		}
		available = {
			has_completed_focus = TUR_return_of_the_sultan
		}
		visible = {
			has_completed_focus = TUR_return_of_the_sultan
		}
		cost = 50
		fire_only_once = yes
		ai_will_do = {
			factor = 1
		}
		complete_effect = {
			add_stability = -0.02
			hidden_effect = { set_country_flag = TUR_altered_royal_succession_laws }
		}
	}
}	
TUR_the_constitutional_arrows_category = { 

	TUR_republicanism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		available = {
			has_stability < 0.75
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			NOT = { 
				OR = {
					AND = { 
						has_country_leader = {
							name = "Adnan Menderes"
							ruling_only = yes
						}
						NOT = { has_completed_focus = TUR_reconfigure_our_foreign_policy } 
					}
					has_country_leader = {
						name = "Refet Pasha"
						ruling_only = yes
					}
					has_country_leader = {
						name = "Abdulmejid II"
						ruling_only = yes
					}
				}
			}
		}
		
		available = {
			has_completed_focus = TUR_ratify_the_six_arrows
			NOT = { has_country_flag = TUR_stoked_republicanism_flag }
		}

		days_remove = 120

		cost = 25

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_republicanism
		}

		remove_effect = {
			remove_ideas = TUR_republicanism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_republicanism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_secularism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
			NOT = { 
				OR = {
					has_country_leader = {
						character = TUR_adnan_menderes
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_refet_pasha
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_abdulmejid_ii
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_durrushehvar_i
						ruling_only = yes
					}
					AND = { 
						has_country_leader = {
							character = TUR_fevzi_cakmak
							ruling_only = yes
						}
						NOT = { has_completed_focus = TUR_loosen_the_laws_on_secularism } 
					}
				}
			}
		}
		
		available = {
			has_completed_focus = TUR_ratify_the_six_arrows
			NOT = { has_country_flag = TUR_stoked_secularism_flag }
		}
 
        days_remove = 120
		cost = 25

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			random_list = {
				50 = {
					modifier = {
						factor = 0
						NOT = { 
							any_owned_state = {
								has_state_flag = TUR_ideological_battleground_state
							}
						}
					}
					random_owned_state = {
						limit = {
							AND = { 
								has_state_flag = TUR_ideological_battleground_state
								NOT = {
									OR = { 
										has_dynamic_modifier = { modifier = kemalist_loyalties }
										has_dynamic_modifier = { modifier = kemalist_schemers }
										has_dynamic_modifier = { modifier = islamist_opposition }
										has_dynamic_modifier = { modifier = islamist_sedition }
										has_dynamic_modifier = { modifier = islamist_insurgency }
										has_dynamic_modifier = { modifier = islamists_placated }
									}
								}
							}
						}
						save_event_target_as = TUR_kemalist_state_event_target
						event_target:TUR_kemalist_state_event_target = { TUR_kemalist_influenced_state_effect = yes }
					}
				}
				50 = {
					random_owned_controlled_state = {
						limit = { 
							OR = {
								has_dynamic_modifier = { modifier = islamist_opposition }
								has_dynamic_modifier = { modifier = islamist_sedition }
								has_dynamic_modifier = { modifier = islamist_insurgency }
							}
						}
						save_global_event_target_as = TUR_fundamentalist_state
						event_target:TUR_fundamentalist_state = { TUR_downgrade_fundamentalist_defiance_effect = yes }
					}
				}
			}
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_secularism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_populism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_populism_flag }
		}

		 days_remove = 120

		cost = 25

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_populism
		}

		remove_effect = {
			remove_ideas = TUR_populism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_populism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_nationalism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		available = {
			has_war_support < 0.75
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			NOT = { 
				OR = {
					AND = { 
						has_country_leader = {
							character = TUR_adnan_menderes
							ruling_only = yes
						}
						NOT = { has_completed_focus = TUR_reconfigure_our_foreign_policy } 
					}
					has_country_leader = {
						character = TUR_abdulmejid_ii
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_durrushehvar_i
						ruling_only = yes
					}
				}
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_nationalism_flag }
		}

		 days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_nationalism
		}

		remove_effect = {
			remove_ideas = TUR_nationalism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_nationalism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_etatism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			AND = {
				has_completed_focus = TUR_continue_the_policy_of_etatism
				has_completed_focus = TUR_ratify_the_six_arrows
			}
			NOT = { has_country_flag = TUR_etatism_abolished }
		}
		
		available = {
			OR = {
				has_active_mission = TUR_etatism_crisis_1
				has_active_mission = TUR_etatism_crisis_2
				has_active_mission = TUR_etatism_crisis_3
				has_active_mission = TUR_etatism_crisis_4
			}
		}

		cancel_trigger = {
			custom_trigger_tooltip = {
				tooltip = TUR_no_longer_has_etatism_tt
				OR = {
					NOT = {
						has_idea = TUR_etatism
						has_idea = TUR_etatism_2
						has_idea = TUR_etatism_3
						has_idea = TUR_etatism_4
					}
				}
			}
		}


		cost = 100
		days_remove = 120
		

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_etatism_stabilisation
		}

		remove_effect = {
			if = {
				limit = {
					has_active_mission = TUR_etatism_crisis_1
				}
				add_days_mission_timeout = {
					mission = TUR_etatism_crisis_1
					days = 90
				}
			}
			else_if = {
				limit = {
					has_active_mission = TUR_etatism_crisis_2
				}
				add_days_mission_timeout = {
					mission = TUR_etatism_crisis_2
					days = 70
				}
			}
			else_if = {
				limit = {
					has_active_mission = TUR_etatism_crisis_3
				}
				add_days_mission_timeout = {
					mission = TUR_etatism_crisis_3
					days = 60
				}
			}
			else_if = {
				limit = {
					has_active_mission = TUR_etatism_crisis_4
				}
				add_days_mission_timeout = {
					mission = TUR_etatism_crisis_4
					days = 50
				}
			}
			hidden_effect = {
				remove_ideas = TUR_etatism_stabilisation
			}
		}

		cancel_effect = {
			if = {
				limit = {
					has_idea = TUR_etatism_stabilisation
				}
				remove_ideas = TUR_etatism_stabilisation
			}
		}
	}

	TUR_reformism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			NOT = { 
				OR = {
					has_country_leader = {
						character = TUR_adnan_menderes
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_abdulmejid_ii
						ruling_only = yes
					}
					has_country_leader = {
						character = TUR_refet_pasha
						ruling_only = yes
					}
					AND = { 
						has_country_leader = {
							character = TUR_fevzi_cakmak
							ruling_only = yes
						}
						NOT = { has_completed_focus = TUR_fatherland_first } 
					}
				}
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_reformism_flag }
		}

		 days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_reformism
		}

		remove_effect = {
			remove_ideas = TUR_reformism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_reformism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_revolutionism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			has_completed_focus = TUR_revive_turkish_revolutionism
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_revolutionism_flag }
		}

		days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_revolutionism
		}

		remove_effect = {
			remove_ideas = TUR_revolutionism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_revolutionism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_liberalism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			has_completed_focus = TUR_fully_integrate_the_is_bank
		}
		
		available = {
			OR = {
				has_country_leader = {
					character = TUR_adnan_menderes
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_celal_bayar
					ruling_only = yes
				}
				AND = { 
					has_country_leader = {
						character = TUR_mustafa_kemal_ataturk
						ruling_only = yes
					}
					has_completed_focus = TUR_fully_integrate_the_is_bank
				}
			}
			NOT = { has_country_flag = TUR_stoked_liberalism_flag }
		}

		 days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_liberalism
		}

		remove_effect = {
			remove_ideas = TUR_liberalism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_liberalism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_jihad_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			OR = {
				has_country_leader = {
					character = TUR_adnan_menderes
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_refet_pasha
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
				AND = { 
					has_country_leader = {
						character = TUR_fevzi_cakmak
						ruling_only = yes
					}
					has_completed_focus = TUR_loosen_the_laws_on_secularism
				}
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_jihad_flag }
		}


		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_war_support = 0.05
			random_owned_controlled_state = {
				limit = { 
					has_dynamic_modifier = { modifier = islamists_placated }
				}
				add_dynamic_modifier = { modifier = devout_islamists } 
				hidden_effect = {
					remove_dynamic_modifier = { modifier = islamists_placated }
				}
			}
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_jihad_flag value = 1 days = 180 }
			}
		}
	}

	TUR_fidelity_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			OR = {
				AND = { 
					has_country_leader = {
						character = TUR_adnan_menderes
						ruling_only = yes
					}
					NOT = { has_completed_focus = TUR_reconfigure_our_foreign_policy } 
				}
				has_country_leader = {
					character = TUR_refet_pasha
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_fidelity_flag }
		}

		 days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_fundamentalism
		}

		remove_effect = {
			remove_ideas = TUR_fundamentalism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_fidelity_flag value = 1 days = 180 }
			}
		}
	}

	TUR_absolutism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			OR = { 
				has_country_leader = {
					character = TUR_abdulmejid_ii
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_durrushehvar_i
					ruling_only = yes
				}
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_absolutism_flag }
		}

		 days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_absolutism
		}

		remove_effect = {
			add_war_support = 0.05
			remove_ideas = TUR_absolutism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_absolutism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_ultranationalism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			OR = {
				has_country_leader = {
					character = TUR_mehmet_recep_peker
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_fevzi_cakmak
					ruling_only = yes
				}
			}
			has_idea = TUR_halide_edib_adivar
			has_idea = TUR_nihal_atsiz
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_ultranationalism_flag }
		}

		days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_ultranationalism
		}

		remove_effect = {
			remove_ideas = TUR_ultranationalism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_ultranationalism_flag value = 1 days = 180 }
			}
		}
	}

	TUR_socialism_decision = {
	
		icon = tur_the_constitutional_arrows

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = no
		
		visible = {
			has_completed_focus = TUR_ratify_the_six_arrows
			OR = {
				has_country_leader = {
					character = TUR_sevket_sureyya_aydemir
					ruling_only = yes
				}
				has_country_leader = {
					character = TUR_sefik_husnu
					ruling_only = yes
				}
				AND = { 
					has_country_leader = {
						character = TUR_ismet_inonu
						ruling_only = yes
					}
					has_completed_focus = TUR_kemalist_socialist_theory
				}
				has_country_flag = TUR_etatism_abolished
			}
		}
		
		available = {
			NOT = { has_country_flag = TUR_stoked_socialism_flag }
		}

		days_remove = 120

		cost = 50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_socialism
		}

		remove_effect = {
			remove_ideas = TUR_socialism
			hidden_effect = {
				set_country_flag = { flag = TUR_stoked_socialism_flag value = 1 days = 180 }
			}
		}
	}

}

TUR_industrial_projects_category = {
	
	TUR_open_the_nazilli_callico_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			339 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			339 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_finance_the_bursa_merinos_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			340 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			340 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_fund_the_gemlik_silk_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			340 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			340 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_construct_the_zonguldak_coal_refinery = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			347 = { 
				free_building_slots = {
					building = synthetic_refinery
					size > 1
					include_locked = yes
				}
			}
			has_tech = synth_oil_experiments
		}

		days_remove = 240

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 260 }
			}
		}

		remove_effect = {
			347 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_modernise_the_general_directorate_of_military_factories = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = { has_completed_focus = TUR_fully_integrate_the_is_bank }
		}
		
		available = {
			NOT = { 
				has_country_flag = TUR_financing_private_enterprise_flag
			}
			49 = { 
				free_building_slots = {
					building = arms_factory
					size > 2
					include_locked = yes
				}
			}
			797 = { 
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			339 = { 
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 200

		cost = 100

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 240 }
			}
		}

		remove_effect = {
			49 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			797 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			339 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_authorise_the_nuri_killigil_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			797 = { 
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			797 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
			add_popularity = {
   				ideology = fascism
   	 			popularity = 0.05
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = TUR_killigil_endustrileri_organization
			}
			ELSE = {
				show_ideas_tooltip = TUR_nuri_killigil
			}
			hidden_effect = {
				set_country_flag = TUR_sponsored_killigil_armaments_flag
			}
		}
	}

	TUR_sponsor_the_nuri_demirag_besiktas_aircraft_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			797 = { 
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			has_idea = TUR_nuri_demirag
		}

		days_remove = 240

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 260 }
			}
		}

		remove_effect = {
			797 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
			if = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 50 }
			}
			else = {
				add_equipment_to_stockpile = { type = small_plane_cas_airframe_0 amount = 50 producer = "FRA" variant_name = "Br. 19"}
			}
		}
	}
	TUR_invest_in_malatya_cigarette_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			344 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			344 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_bankroll_the_malatya_clothing_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = {
				OR = {
					has_country_leader = {
						character = TUR_sefik_husnu
						ruling_only = yes
					}
					has_completed_focus = TUR_nationalise_all_private_industry
				}
			}
		}
		
		available = {
			NOT = { 
				OR = {
					has_completed_focus = TUR_nationalise_all_private_industry 
					has_country_flag = TUR_financing_private_enterprise_flag
				}
			}
			344 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 180

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 200 }
			}
		}

		remove_effect = {
			344 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
		}
	}

	TUR_subsidise_the_karabuk_iron_steel_factory = {
	
		icon = generic_factory

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
		}
		
		available = {
			NOT = { has_country_flag = TUR_financing_private_enterprise_flag }
			347 = { 
				free_building_slots = {
					building = industrial_complex
					size > 1
					include_locked = yes
				}
			}
		}

		days_remove = 280

		cost = TUR_etatism_cost_penalty_var?50

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = TUR_financing_private_enterprise
			hidden_effect = {
				set_country_flag = { flag = TUR_financing_private_enterprise_flag value = 1 days = 300 }
			}
		}

		remove_effect = {
			add_resource = {
				type = steel
				amount = 4
				state = 347
			}
			347 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = TUR_financing_private_enterprise
			set_country_flag = TUR_karabuk_iron_steel_factory_modernised_flag
		}
	}

	TUR_sponsor_petrol_olfisis_formation = {
	
		icon = generic_construction

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_completed_focus = TUR_the_sanayiciler
			NOT = { has_country_flag = TUR_petrol_ofisi_formed }
		}
		
		available = {
			AND = {
				has_tech = excavation2
				has_tech = synth_oil_experiments
			}
		}

		cost = 50

		ai_will_do = {
			factor = 5
		}

		complete_effect = {
			add_stability = 0.05
			show_ideas_tooltip = petrol_ofisi
			hidden_effect = {
				set_country_flag = TUR_petrol_ofisi_formed 
			}
		}
	}

}

economy_decisions = {

	TUR_repeal_the_wealth_tax = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_idea = TUR_varlik_vergisi_spirit
		}
		
		available = {
			has_idea = TUR_varlik_vergisi_spirit
		}

		cost = 50

		ai_will_do = {
			base = 1
			modifier = {
				OR = {
					has_manpower < 35000
					has_stability < 0.4
				}
				factor = 100
			}
			modifier = {
				AND = {
					date < 1939.2.2
					date > 1944.1.1
				}
				factor = 100
			}
		}

		complete_effect = {
			add_stability = 0.05
			remove_ideas = TUR_varlik_vergisi_spirit
		}
	}

	TUR_repeal_the_faith_tax = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_idea = TUR_inanc_vergisi_spirit
		}
		
		available = {
			has_idea = TUR_inanc_vergisi_spirit
		}

		cost = 50

		ai_will_do = {
			base = 1
			modifier = {
				date > 1944.1.1
				factor = 75
			}
			modifier = {
				OR = {
					has_war_support < 0.35
					has_stability < 0.4
				}
				factor = 100
			}
		}

		complete_effect = {
			add_stability = 0.05
			remove_ideas = TUR_inanc_vergisi_spirit
		}
	}

	TUR_abolish_etatism = {
	
		icon = generic_break_treaty

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_active_mission = TUR_etatism_crisis_1
				has_active_mission = TUR_etatism_crisis_2
				has_active_mission = TUR_etatism_crisis_3
				has_active_mission = TUR_etatism_crisis_4
				has_idea = TUR_etatism_3
				has_idea = TUR_etatism_4
			}
		}
		
		available = {
			has_completed_focus = TUR_continue_the_policy_of_etatism
			has_completed_focus = TUR_ratify_the_six_arrows
		}

		cost = 100

		ai_will_do = {
			factor = 0
			modifier = {
				AND = {
					date < 1939.2.2
					date > 1946.1.1
				}
				factor = 5
			}
			modifier = {
				is_historical_focus_on = no
				factor = 3
			}
		}

		complete_effect = {
			if = {
				limit = {
					has_idea = TUR_etatism
				}
				remove_ideas = TUR_etatism
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_2
				}
				remove_ideas = TUR_etatism_2
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_3
				}
				remove_ideas = TUR_etatism_3
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_4
				}
				remove_ideas = TUR_etatism_4
			}
			hidden_effect = {
				set_country_flag = TUR_etatism_abolished
				clear_variable = TUR_etatism_cost_penalty_var
			}
		}
	}

	TUR_absorb_the_tpda = {
	
		icon = eng_trade_unions_support

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			has_idea = TUR_tpda
		}
		
		available = {
			has_idea = TUR_tpda
		}

		cost = 75

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_stability = -0.02
			remove_ideas = TUR_tpda
			add_ideas = TUR_tpda_absorbed
		}
	}

	TUR_pay_off_our_debts = {
	
		icon = hol_exchange_intelligence_data

		allowed = { 
			original_tag = TUR
		}
		
		
		visible = {
			has_idea = TUR_tpda_absorbed
			#NOT = { check_variable = { var = TUR_debt_payments_var value = 3 compare = equals } }
		}
		
		available = {
			has_idea = TUR_tpda_absorbed
		}

		days_remove = 180

		cost = 75

		ai_will_do = {
			factor = 5
			modifier = {
				date < 1939.2.2
				factor = 0
			}
		}

		complete_effect = {
			add_ideas = GRE_paying_off_debt_large
		}

		remove_effect = {
			remove_ideas = TUR_tpda_absorbed
			hidden_effect = {
				remove_ideas = GRE_paying_off_debt_large
			}
		}
	}

	#INVESTMENT DECISIONS
	TUR_discuss_investment_possibilities_with_FROM = {

		icon = generic_construction

		allowed = { 
			#original_tag = TUR
		}

		available = {
			has_capitulated = no
			is_puppet = no
			FROM = {	
				NOT = {
					has_war_with = ROOT
					#STOP PP SINK: These two checks below are so that Turkey cannot take the decision multiple times while FROM has not yet started investment (resulting in wasting PP for nothing)
					has_country_flag = TUR_investment_in_turkey_pending_flag
					has_idea = TUR_investment_financing_spirit
				}
			}
		}

		target_trigger = {
			FROM = {
				is_major = yes
				OR = {
					capital_scope = { is_on_continent = europe }
					tag = USA
				}
				NOT = { has_country_flag = ROOT_rejecting_turkish_overtures }
			}
		}

		days_remove = 45

		cost = 50

		fire_only_once = no

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				has_country_flag = TUR_investment_pursued
			}
			modifier = {
				factor = 5
				date < 1939.2.2
			}
			modifier = {
				factor = 10
				has_completed_focus = TUR_peace_at_home
			}
			modifier = {
				factor = 30
				has_completed_focus = TUR_reconfigure_our_foreign_policy
			}
		}

		visible = {
			has_completed_focus = TUR_utilize_foreign_capital	
			NOT = {
				has_country_flag = TUR_investment_pursued
			}
			FROM = {
				NOT = { has_country_flag = ROOT_rejecting_turkish_overtures }
			}
		}

		complete_effect = {
			set_country_flag = TUR_investment_pursued
		}

		remove_effect = {
			FROM = { country_event = { id = bftb_turkey.126 } }
			custom_effect_tooltip = TUR_investment_opinion_tt
			clr_country_flag = TUR_investment_pursued
		}
	}

	ROOT_invest_in_turkish_state_building = {

		icon = generic_construction

		allowed = { 
			always = no
		}

		available = {
						has_capitulated = no
			NOT = {	ROOT = { has_war_with = FROM } }
		}

		target_trigger = {
				FROM = { tag = TUR }
		}

		days_remove = 60

		cost = 25

		fire_only_once = no

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				has_opinion = {
					target = TUR
					value > 75
				}
			}
			modifier = {
				factor = 30
				has_opinion = {
					target = TUR
					value < 50
				}
			}
		}

		visible = {	
			NOT = { ROOT = { has_war_with = FROM } }
		}

		complete_effect = {
			add_ideas = { TUR_investment_financing_spirit }
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_light_industry }
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_heavy_industry }
				FROM = { country_event = { id = bftb_turkey.128 } }
			}
		}

		remove_effect = {
			remove_ideas = { TUR_investment_financing_spirit }
			effect_tooltip = {
				TUR = {
					random_owned_state = {
						random_list = {
							40 = {
								add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							}
							30 = {
								add_building_construction = {
									type = air_base
									level = 1
									instant_build = yes
								}
							}
							30 = {
								add_building_construction = {
									type = anti_air_building
									level = 1
									instant_build = yes
								}
							}
						}
					}
				}
			}
			custom_effect_tooltip = ROOT_turkish_investment_ai_tt
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_building }
			}
		}
	}

	ROOT_invest_in_turkish_state_light_industry = {

		icon = generic_construction

		allowed = { 
			always = no
		}

		available = {
			has_capitulated = no
			NOT = {	ROOT = { has_war_with = FROM } }
		}

		target_trigger = {
			FROM = { tag = TUR }
		}

		days_remove = 90

		cost = 25

		fire_only_once = no

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_opinion = {
					target = TUR
					value > 75
				}
			}
		}

		visible = {	
			NOT = { ROOT = { has_war_with = FROM } }
		}

		complete_effect = {
			add_ideas = { TUR_investment_financing_spirit }
			clr_country_flag = TUR_investment_in_turkey_pending_flag #Removing the flag since investment has now started
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_building }
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_heavy_industry }
				FROM = { country_event = { id = bftb_turkey.129 } }
			}
		}

		remove_effect = {
			remove_ideas = { TUR_investment_financing_spirit }
			effect_tooltip = {
				TUR = {
					random_owned_state = {
						random_list = {
							50 = {
								add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 1
							}
							35 = {
								add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 2
							}
							15 = {
								add_building_construction = {
									type = industrial_complex
									level = 3
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 3
							}
						}
					}
				}
			}
			custom_effect_tooltip = ROOT_turkish_investment_ai_tt
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_light_industry }
			}
		}
	}

	ROOT_invest_in_turkish_state_heavy_industry = {

		icon = generic_construction

		allowed = { 
			always = no
		}

		available = {
			has_capitulated = no
			NOT = {	ROOT = { has_war_with = FROM } }
		}

		target_trigger = {
			tag = TUR
		}

		days_remove = 120

		cost = 25

		fire_only_once = no

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.35
				num_of_available_civilian_factories < 10
			}
		}

		visible = {	
			NOT = { ROOT = { has_war_with = FROM } }
		}

		complete_effect = {
			add_ideas = { TUR_investment_financing_spirit }
			clr_country_flag = TUR_investment_in_turkey_pending_flag #Removing the flag since investment has now started
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_building }
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_light_industry }
				FROM = { country_event = { id = bftb_turkey.130 } }
			}
		}

		remove_effect = {
			remove_ideas = { TUR_investment_financing_spirit }
			effect_tooltip = {
				TUR = {
					random_owned_state = {
						random_list = {
							50 = {
								add_building_construction = {
									type = arms_factory
									level = 1
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 1
							}
							35 = {
								add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 2
							}
							15 = {
								add_building_construction = {
									type = arms_factory
									level = 3
									instant_build = yes
								}
								add_extra_state_shared_building_slots = 3
							}
						}
					}
				}
			}
			custom_effect_tooltip = ROOT_turkish_investment_ai_tt
			hidden_effect = {
				remove_targeted_decision = { target = TUR decision = ROOT_invest_in_turkish_state_heavy_industry }
			}
		}
	}

}

TUR_kurdish_state_management_category = { 

	TUR_kurdish_resistance_escalation_mission = {
	
		priority = 9

		icon = tur_unifying_the_country

		allowed = { 
			original_tag = TUR
		}

		available = {
			AND = {
				350 = { is_core_of = TUR }
				352 = { is_core_of = TUR }
				353 = { is_core_of = TUR }
				800 = { is_core_of = TUR }
			}
		}

		days_mission_timeout = 90

		fire_only_once = no

		activation = {
			any_owned_state = {
				OR = {
					has_dynamic_modifier = { modifier = kurdish_agitation }
					has_dynamic_modifier = { modifier = kurdish_separatism }
					has_dynamic_modifier = { modifier = kurdish_rebellion }
				}
			}
			NOT = { 
				OR = {
					has_country_flag = TUR_truce_with_government_called_flag 
					has_country_flag = TUR_traditionalist_infiltration_cooldown
					has_country_flag = TUR_kurdish_resistance_cooldown
				}
			}
		}

		cancel_trigger = {
			has_war = yes
			custom_trigger_tooltip = { 
				tooltip = TUR_kurdish_modifiers_trigger_tt
				OR = {
					AND = {
						350 = { is_core_of = TUR }
						352 = { is_core_of = TUR }
						353 = { is_core_of = TUR }
						800 = { is_core_of = TUR }
					}
					AND = {
						350 = { has_dynamic_modifier = { modifier = separatist_fatigue } }
						352 = { has_dynamic_modifier = { modifier = separatist_fatigue } }
						353 = { has_dynamic_modifier = { modifier = separatist_fatigue } }
						800 = { has_dynamic_modifier = { modifier = separatist_fatigue } }
					}
				}
			}
		}

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			random_owned_state = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = kurdish_agitation }
						has_dynamic_modifier = { modifier = kurdish_separatism }
						has_dynamic_modifier = { modifier = kurdish_rebellion }
					}
				}
				save_global_event_target_as = TUR_kurdish_state_event_target
			}
			random_list = {
				88 = {
					modifier = {
						factor = 0.45
						event_target:TUR_kurdish_state_event_target = { resistance > 50 }
					}
					event_target:TUR_kurdish_state_event_target = { 
						TUR_agitate_kurdish_state_effect = yes
					}
				}
				22 = {
					modifier = {
						factor = 0.25
						event_target:TUR_kurdish_state_event_target = { compliance > 30 }
					}
					event_target:TUR_kurdish_state_event_target = {
						add_compliance = -5
						TUR_pacify_kurdish_state_effect = yes
					}
				}
			}
			set_country_flag = {
				flag = TUR_kurdish_resistance_cooldown
				value = 1
				days = 90
			}
		}

		cancel_effect = {
			
		}
	}

	TUR_counter_the_rebels_in_diyarbakir = {

		icon = faction_tur_kurdish

		available = {
			NOT = { has_country_flag = TUR_acted_against_kurd_rebels_recently_flag }
			has_full_control_of_state = 350
		}

		highlight_states = {
			highlight_states_trigger = { state = 350 }
		}

		on_map_mode = map_only

		custom_cost_trigger = {
			command_power > 14
		}

		custom_cost_text = TUR_decision_cost_kurd_rebels

		visible = {
			AND = { 
				NOT = { 350 = { is_core_of = TUR } }
				has_full_control_of_state = 350
			}
			NOT = {
				AND = { 
					OR = {
						has_completed_focus = TUR_permit_regional_elections
						has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
					}
					350 = {
						AND = {
							compliance > 70
							resistance < 30
						}
					}
				}
			}
		}

		ai_will_do = {
			factor = 2
			modifier = {
				date < 1938.1.1
				factor = 0
			}
			modifier = {
				factor = 10
				command_power > 80
			}
			modifier = {
				factor = 0 
				command_power < 70
			}
		}

		complete_effect = {
			hidden_effect = {
				add_command_power = -15
			}
			350 = { save_global_event_target_as = TUR_kurdish_state_event_target }
			random_list = {
				55 = {
					modifier = {
						factor = 0.25
						350 = { resistance > 30 }
					}
					modifier = {
						add = 5
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
					}
					modifier = {
						add = 10
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 2
						}
					}
					modifier = {
						add = 15
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 3
						}
					}
					modifier = {
						add = 25
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 4
						}
					}
					modifier = {
						add = 100
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value > 4
						}
					}
					country_event = { id = bftb_turkey.110 days = 1 }
					TUR_placate_kurdish_state_effect = yes
					effect_tooltip = {
						350 = { 
							add_compliance = 10
							add_resistance = -15
						}
					}
					hidden_effect = { 
						if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							clr_country_flag = TUR_failed_against_kurd_rebels_flag
						}
					}
				}
				45 = {
					modifier = {
						factor = 1.2
						350 = { compliance > 25 }
					}
					country_event = { id = bftb_turkey.111 days = 1 }
					effect_tooltip = {
						add_stability = -0.01
						350 = { 
							add_compliance = -5
							add_resistance = 10
						}
					}
					hidden_effect = {
						set_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
						if = {
							limit = {
								NOT = { has_country_flag = TUR_failed_against_kurd_rebels_flag }
							}
							set_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
						else_if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							modify_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
					}
				}
			}
			set_country_flag = TUR_acted_against_kurd_rebels_recently_flag
			set_country_flag = {
				flag = TUR_acted_against_kurd_rebels_recently_flag
				value = 1
				days = 30
			}
		}
	}
	TUR_counter_the_rebels_in_erzurum = {

		icon = faction_tur_kurdish

		available = {
			NOT = { has_country_flag = TUR_acted_against_kurd_rebels_recently_flag }
			has_full_control_of_state = 353
		}

		highlight_states = {
			highlight_states_trigger = { state = 353 }
		}

		on_map_mode = map_only

		custom_cost_trigger = {
			command_power > 14
		}
		
		custom_cost_text = TUR_decision_cost_kurd_rebels

		visible = {
			AND = { 
				NOT = { 353 = { is_core_of = TUR } }
				has_full_control_of_state = 353
			}
			NOT = {
				AND = { 
					OR = {
						has_completed_focus = TUR_permit_regional_elections
						has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
					}
					353 = {
						AND = {
							compliance > 70
							resistance < 30
						}
					}
				}
			}
		}
		ai_will_do = {
			factor = 2
			modifier = {
				date < 1938.1.1
				factor = 0
			}
			modifier = {
				factor = 10
				command_power > 80
			}
			modifier = {
				factor = 0 
				command_power < 70
			}
		}

		complete_effect = {
			353 = { save_global_event_target_as = TUR_kurdish_state_event_target }
			hidden_effect = {
				add_command_power = -15
			}
			random_list = {
				55 = {
					modifier = {
						factor = 0.25
						353 = { resistance > 30 }
					}
					modifier = {
						add = 5
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
					}
					modifier = {
						add = 10
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 2
						}
					}
					modifier = {
						add = 15
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 3
						}
					}
					modifier = {
						add = 25
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 4
						}
					}
					modifier = {
						add = 100
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value > 4
						}
					}
					country_event = { id = bftb_turkey.110 days = 1 }
					TUR_placate_kurdish_state_effect = yes
					effect_tooltip = {
						353 = { 
							add_compliance = 10
							add_resistance = -15
						}
					}
					hidden_effect = { 
						if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							clr_country_flag = TUR_failed_against_kurd_rebels_flag
						}
					}
				}
				45 = {
					modifier = {
						factor = 1.2
						353 = { compliance > 25 }
					}
					country_event = { id = bftb_turkey.111 days = 1 }
					effect_tooltip = {
						add_stability = -0.01
						353 = { 
							add_compliance = -5
							add_resistance = 10
						}
					}
					hidden_effect = {
						set_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
						if = {
							limit = {
								NOT = { has_country_flag = TUR_failed_against_kurd_rebels_flag }
							}
							set_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
						else_if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							modify_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
					}
				}
			}
			set_country_flag = {
				flag = TUR_acted_against_kurd_rebels_recently_flag
				value = 1
				days = 30
			}
		}
	}
	TUR_counter_the_rebels_in_van = {

		icon = faction_tur_kurdish

		available = {
			NOT = { has_country_flag = TUR_acted_against_kurd_rebels_recently_flag }
			has_full_control_of_state = 800
		}

		highlight_states = {
			highlight_states_trigger = { state = 800 }
		}
		on_map_mode = map_only

		custom_cost_trigger = {
			command_power > 14
		}
		
		custom_cost_text = TUR_decision_cost_kurd_rebels

		visible = {
			AND = { 
				NOT = { 800 = { is_core_of = TUR } }
				has_full_control_of_state = 800
			}
			NOT = {
				AND = { 
					OR = {
						has_completed_focus = TUR_permit_regional_elections
						has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
					}
					800 = {
						AND = {
							compliance > 70
							resistance < 30
						}
					}
				}
			}
		}
		ai_will_do = {
			factor = 2
			modifier = {
				date < 1938.1.1
				factor = 0
			}
			modifier = {
				factor = 10
				command_power > 80
			}
			modifier = {
				factor = 0 
				command_power < 70
			}
		}

		complete_effect = {
			hidden_effect = {
				add_command_power = -15
			}
			800 = { save_global_event_target_as = TUR_kurdish_state_event_target }
			random_list = {
				55 = {
					modifier = {
						factor = 0.25
						800 = { resistance > 30 }
					}
					modifier = {
						add = 5
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
					}
					modifier = {
						add = 10
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 2
						}
					}
					modifier = {
						add = 15
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 3
						}
					}
					modifier = {
						add = 25
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 4
						}
					}
					modifier = {
						add = 100
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value > 4
						}
					}
					country_event = { id = bftb_turkey.110 days = 1 }
					TUR_placate_kurdish_state_effect = yes
					effect_tooltip = {
						800 = { 
							add_compliance = 10
							add_resistance = -15
						}
					}
					hidden_effect = { 
						if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							clr_country_flag = TUR_failed_against_kurd_rebels_flag
						}
					}
				}
				45 = {
					modifier = {
						factor = 1.2
						800 = { compliance > 25 }
					}
					country_event = { id = bftb_turkey.111 days = 1 }
					effect_tooltip = {
						add_stability = -0.01
						800 = { 
							add_compliance = -5
							add_resistance = 10
						}
					}
					hidden_effect = {
						set_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
						if = {
							limit = {
								NOT = { has_country_flag = TUR_failed_against_kurd_rebels_flag }
							}
							set_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
						else_if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							modify_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
					}
				}
			}
			set_country_flag = {
				flag = TUR_acted_against_kurd_rebels_recently_flag
				value = 1
				days = 30
			}
		}
	}
	TUR_counter_the_rebels_in_hakkari = {

		icon = faction_tur_kurdish

		available = {
			NOT = { has_country_flag = TUR_acted_against_kurd_rebels_recently_flag }
			has_full_control_of_state = 352
		}

		highlight_states = {
			highlight_states_trigger = { state = 352 }
		}
		on_map_mode = map_only

		custom_cost_trigger = {
			command_power > 14
		}
		
		custom_cost_text = TUR_decision_cost_kurd_rebels

		ai_will_do = {
			factor = 2
			modifier = {
				date < 1938.1.1
				factor = 0
			}
			modifier = {
				factor = 10
				command_power > 80
			}
			modifier = {
				factor = 0 
				command_power < 70
			}
		}
		visible = {
			AND = { 
				NOT = { 352 = { is_core_of = TUR } }
				has_full_control_of_state = 352
			}
			NOT = {
				AND = { 
					OR = {
						has_completed_focus = TUR_permit_regional_elections
						has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
					}
					352 = {
						AND = {
							compliance > 70
							resistance < 30
						}
					}
				}
			}
		}


		complete_effect = {
			hidden_effect = {
				add_command_power = -15
			}
		
			352 = { save_global_event_target_as = TUR_kurdish_state_event_target }
			random_list = {
				55 = {
					modifier = {
						factor = 0.25
						352 = { resistance > 30 }
					}
					modifier = {
						add = 5
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
					}
					modifier = {
						add = 10
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 2
						}
					}
					modifier = {
						add = 15
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 3
						}
					}
					modifier = {
						add = 25
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 4
						}
					}
					modifier = {
						add = 100
						has_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value > 4
						}
					}
					country_event = { id = bftb_turkey.110 days = 1 }
					TUR_placate_kurdish_state_effect = yes
					effect_tooltip = {
						352 = { 
							add_compliance = 10
							add_resistance = -15
						}
					}
					hidden_effect = { 
						if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							clr_country_flag = TUR_failed_against_kurd_rebels_flag
						}
					}
				}
				45 = {
					modifier = {
						factor = 1.2
						352 = { compliance > 25 }
					}
					country_event = { id = bftb_turkey.111 days = 1 }
					effect_tooltip = {
						add_stability = -0.01
						352 = { 
							add_compliance = -5
							add_resistance = 10
						}
					}
					hidden_effect = {
						set_country_flag = {
							flag = TUR_failed_against_kurd_rebels_flag
							value = 1
						}
						if = {
							limit = {
								NOT = { has_country_flag = TUR_failed_against_kurd_rebels_flag }
							}
							set_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
						else_if = {
							limit = {
								has_country_flag = TUR_failed_against_kurd_rebels_flag
							}
							modify_country_flag = {
								flag = TUR_failed_against_kurd_rebels_flag
								value = 1
							}
						}
					}
				}
			}
			set_country_flag = {
				flag = TUR_acted_against_kurd_rebels_recently_flag
				value = 1
				days = 30
			}
		}
	}

	TUR_offer_conscription_exceptions_to_kurdish_groups = {

		icon = generic_military

		available = {
			any_owned_state = {
				AND = {
					is_core_of = KUR
					NOT = { is_core_of = TUR }
				}
			}
		}


		#on_map_mode = map_only

		cost = 75
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 10
				has_political_power > 250
			}
			modifier = {
				has_manpower < 50000
				has_war = yes
				factor = 0 # we need every man!
			}
			modifier = {
				OR = {
					350 = { resistance > 50 }
					353 = { resistance > 50 }
					352 = { resistance > 50 }
					800 = { resistance > 50 }
				}
				factor = 2
			}
		}
		visible = {
			has_completed_focus = TUR_peace_at_home
			NOT = {
				AND = {
					350 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					353 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					352 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					800 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
				}
			}
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					AND = {
						is_core_of = KUR
						NOT = { is_core_of = TUR }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
				hidden_effect = { 
					event_target:TUR_kurdish_state_event_target = {
						add_dynamic_modifier = { modifier = conscription_exemptions_granted }
						TUR_integrate_kurdish_state_forced_effect = yes
					}
				}
			}
			effect_tooltip = { 
				event_target:TUR_kurdish_state_event_target = {
					add_ideas = conscription_exemptions_granted
					TUR_integrate_kurdish_state_forced_effect = yes
				}
			}
		}
	}

	TUR_integrate_diyarbakir = {

		icon = faction_tur_kurdish

		available = {
			350 = {
				AND = {
					compliance > 70
					resistance < 30
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = {
				state = 350
			}
		}
		
		on_map_mode = map_only

		cost = 75
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_political_power > 350
			}
			modifier = {
				has_manpower < 50000
				has_war = yes
				has_political_power > 200
				factor = 25
			}
		}
		visible = {
			OR = {
				has_completed_focus = TUR_permit_regional_elections
				has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
			}
			350 = {
				AND = {
					NOT = { is_core_of = TUR } 
					is_owned_by = TUR
				}
			}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							AND = {
								is_core_of = KUR
								NOT = { is_core_of = TUR }
								compliance > 70
								resistance < 30
							}
						}
					}
				}
				custom_effect_tooltip = TUR_no_current_integration_targets_available_tt
			}
			else = { 
				350 = { save_event_target_as = TUR_kurdish_state_event_target }
				event_target:TUR_kurdish_state_event_target = { TUR_integrate_kurdish_state_effect = yes }
			}
		}
	}

	TUR_integrate_hakkari = {

		icon = faction_tur_kurdish

		available = {
			352 = {
				AND = {
					compliance > 70
					resistance < 30
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = {
				state = 352
			}
		}
		on_map_mode = map_only

		cost = 75
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_political_power > 350
			}
			modifier = {
				has_manpower < 50000
				has_war = yes
				has_political_power > 200
				factor = 25
			}
		}
		visible = {
			OR = {
				has_completed_focus = TUR_permit_regional_elections
				has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
			}
			352 = {
				AND = {
					NOT = { is_core_of = TUR } 
					is_owned_by = TUR
				}
			}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							AND = {
								is_core_of = KUR
								NOT = { is_core_of = TUR }
								compliance > 70
								resistance < 30
							}
						}
					}
				}
				custom_effect_tooltip = TUR_no_current_integration_targets_available_tt
			}
			else = { 
				352 = { save_event_target_as = TUR_kurdish_state_event_target }
				event_target:TUR_kurdish_state_event_target = { TUR_integrate_kurdish_state_effect = yes }
			}
		}
	}

	TUR_integrate_tunceli = {

		icon = faction_tur_kurdish

		available = {
			353 = {
				AND = {
					compliance > 70
					resistance < 30
				}
			}
		}

		highlight_states = {
			state = 353
		}

		on_map_mode = map_only

		cost = 75
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_political_power > 350
			}
			modifier = {
				has_manpower < 50000
				has_war = yes
				has_political_power > 200
				factor = 25
			}
		}
		visible = {
			OR = {
				has_completed_focus = TUR_permit_regional_elections
				has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
			}
			353 = {
				AND = {
					NOT = { is_core_of = TUR } 
					is_owned_by = TUR
				}
			}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							AND = {
								is_core_of = KUR
								NOT = { is_core_of = TUR }
								compliance > 70
								resistance < 30
							}
						}
					}
				}
				custom_effect_tooltip = TUR_no_current_integration_targets_available_tt
			}
			else = { 
				353 = { save_event_target_as = TUR_kurdish_state_event_target }
				event_target:TUR_kurdish_state_event_target = { TUR_integrate_kurdish_state_effect = yes }
			}
		}
	}

	TUR_integrate_van = {

		icon = faction_tur_kurdish

		available = {
			800 = {
				AND = {
					compliance > 70
					resistance < 30
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = {
				state = 800
			}
		}


		on_map_mode = map_only

		cost = 75
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_political_power > 350
			}
			modifier = {
				has_manpower < 50000
				has_war = yes
				has_political_power > 200
				factor = 25
			}
		}
		visible = {
			OR = {
				has_completed_focus = TUR_permit_regional_elections
				has_completed_focus = TUR_a_common_destiny_for_all_of_turkey
			}
			800 = {
				AND = {
					NOT = { is_core_of = TUR } 
					is_owned_by = TUR
				}
			}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							AND = {
								is_core_of = KUR
								NOT = { is_core_of = TUR }
								compliance > 70
								resistance < 30
							}
						}
					}
				}
				custom_effect_tooltip = TUR_no_current_integration_targets_available_tt
			}
			else = { 
				800 = { save_event_target_as = TUR_kurdish_state_event_target }
				event_target:TUR_kurdish_state_event_target = { TUR_integrate_kurdish_state_effect = yes }
			}
		}
	}
}

TUR_fundamentalist_state_management_category = { 

	TUR_counter_influence_of_fundamentalists_in_state = {

		icon = gre_faction_management

		available = {
			NOT = { has_completed_focus = TUR_pivot_to_the_past }
		}
		
		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_fundamentalist_state = yes
			}
		}


		cost = 50

		visible = { 
			any_owned_state = { 
				OR = {
					has_dynamic_modifier = { modifier = islamist_opposition }
					has_dynamic_modifier = { modifier = islamist_sedition }
					has_dynamic_modifier = { modifier = islamist_insurgency }
				}
			}
			NOT = { 
				OR = {
					has_completed_focus = TUR_lift_the_ban_on_other_political_parties
					has_country_flag = TUR_acted_against_fundamentalists_recently_flag 
					has_country_flag = TUR_ottoman_officers_invited_back
					has_country_leader = {
						character = TUR_adnan_menderes
						ruling_only = yes
					}
					has_completed_focus = TUR_pivot_to_the_past
				}
			}
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
					}
				}
				save_global_event_target_as = TUR_fundamentalist_state
			} 
			random_list = { 
				5 = {
					modifier = {
						factor = 1.00
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_opposition } }
					}
					TUR_placate_fundamentalist_state_effect = yes
				}
				85 = {
					TUR_downgrade_fundamentalist_defiance_effect = yes
				}
				10 = {
					modifier = {
						factor = 0.2
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_sedition } }
					}
					modifier = {
						factor = 0.3
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_insurgency } }
					}
					TUR_upgrade_fundamentalist_defiance_effect = yes
				}
			}
			set_country_flag = {
				flag = TUR_acted_against_fundamentalists_recently_flag
				value = 1
				days = 90
			}
		}
	}

	TUR_hold_a_march_in_state = {

		icon = oppression

		available = {
			any_owned_state = { 
				OR = {
					has_dynamic_modifier = { modifier = islamist_opposition }
					has_dynamic_modifier = { modifier = islamist_sedition }
					has_dynamic_modifier = { modifier = islamist_insurgency }
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_fundamentalist_state = yes
			}
		}

		cost = 75

		visible = { 	
			has_completed_focus = TUR_hunt_down_fifth_columnist_islamists
			NOT = { has_country_flag = TUR_acted_against_fundamentalists_recently_flag }
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
					}
				}
				save_global_event_target_as = TUR_fundamentalist_state
			} 
			random_list = { 
				65 = {
					modifier = {
						factor = 1.00
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_opposition } }
					}
					modifier = {
						factor = 25
						OR = {
							fascism > 0.5
							communism > 0.5
						}
					}
					TUR_placate_fundamentalist_state_effect = yes
				}
				45 = {
					modifier = {
						factor = 0.2
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_sedition } }
					}
					modifier = {
						factor = 0.3
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_insurgency } }
					}
					TUR_upgrade_fundamentalist_defiance_effect = yes
				}
			}
			set_country_flag = {
				flag = TUR_acted_against_fundamentalists_recently_flag
				value = 1
				days = 60
			}
		}
	}

	TUR_empower_fundamentalists_in_state = {

		icon = generic_political_rally

		available = {
			any_owned_state = {
				has_dynamic_modifier = { modifier = islamists_placated }
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_fundamentalist_state = yes
			}
		}

		cost = 100

		visible = { 
			NOT = {
				has_country_flag = TUR_empowered_fundamentalism_recently_flag
			}
			OR = {
				has_country_leader = {
					name = "Adnan Menderes"
					ruling_only = yes
				}
				has_completed_focus = TUR_pivot_to_the_past
			}
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					has_dynamic_modifier = { modifier = islamists_placated }
				}
				add_dynamic_modifier = { modifier = devout_islamists } 
				hidden_effect = {
					remove_dynamic_modifier = { modifier = islamists_placated }
				}
			}
			set_country_flag = {
				flag = TUR_empowered_fundamentalism_recently_flag
				value = 1
				days = 90
			}
		}
	}

	TUR_acquiesce_to_fundamentalists = {

		icon = generic_political_discourse

		available = {
			any_owned_state = {
				TUR_is_fundamentalist_state = yes
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_fundamentalist_state = yes 
			}
		}

		cost = 100

		visible = { 
			any_owned_state = {
				TUR_is_fundamentalist_state = yes
			}
			NOT = {
				has_country_flag = TUR_empowered_fundamentalism_recently_flag
			}
			OR = {
				has_completed_focus = TUR_turk_ulusu
				has_completed_focus = TUR_reinvigorate_turkish_nationalism
				has_completed_focus = TUR_permit_regional_elections
			}
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
					}
				}
				custom_effect_tooltip = TUR_acquiesce_to_fundamentalists_tt
				save_global_event_target_as = TUR_fundamentalist_state
				hidden_effect = {
					TUR_downgrade_fundamentalist_defiance_effect = yes
				}
			}
			hidden_effect = {
				random_owned_controlled_state = {
					limit = { 
						OR = {
							has_dynamic_modifier = { modifier = islamist_opposition }
							has_dynamic_modifier = { modifier = islamist_sedition }
							has_dynamic_modifier = { modifier = islamist_insurgency }
						}
					}
					save_global_event_target_as = TUR_fundamentalist_state
					TUR_downgrade_fundamentalist_defiance_effect = yes
				}
														  
													  
	
				random_owned_controlled_state = {
					limit = { 
						OR = {
							has_dynamic_modifier = { modifier = islamist_opposition }
							has_dynamic_modifier = { modifier = islamist_sedition }
							has_dynamic_modifier = { modifier = islamist_insurgency }
						}
					}
					save_global_event_target_as = TUR_fundamentalist_state
					TUR_downgrade_fundamentalist_defiance_effect = yes
				}							  
			}
			if = {
				limit = {
					TUR_has_kemalist_officers = yes
				}
				subtract_from_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
				TUR_kemalist_loyalty_and_power_update_effect = yes
			}
			set_country_flag = {
				flag = TUR_empowered_fundamentalism_recently_flag
				value = 1
				days = 120
			}
		}
	}

}

TUR_kemalist_state_management_category = {

	TUR_root_out_kemalists_in_state = {

		icon = generic_arrest

		available = {
			any_owned_state = { 
				has_dynamic_modifier = { modifier = kemalist_schemers }
			}
		}
		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_kemalist_state = yes
			}
		}

		cost = 50

		visible = { 
			OR = {
				AND = { 
					has_country_leader = {
						character = TUR_adnan_menderes
						ruling_only = yes
					}
					has_completed_focus = TUR_democratic_transition_focus
				}
				has_completed_focus = TUR_pivot_to_the_past
			}
			NOT = {
				has_country_flag = TUR_acted_against_kemalists_recently_flag
			}
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					has_dynamic_modifier = { modifier = kemalist_schemers }
				}
				remove_dynamic_modifier = { modifier = kemalist_schemers }
			}
			if = {
				limit = {
					TUR_has_kemalist_officers = yes
				}
				subtract_from_variable = { var = TUR_kemalist_officers_loyalty value = 1 }
				subtract_from_variable = { var = TUR_kemalist_power_variable value = 1 }	
				TUR_kemalist_loyalty_and_power_update_effect = yes
			}
			set_country_flag = {
				flag = TUR_acted_against_kemalists_recently_flag
				value = 1
				days = 75
			}
		}
	}
}


TUR_the_enemy_within = {

	TUR_traditionalist_infiltration_mission = {
	
		priority = 10

		icon = tur_unifying_the_country

		allowed = { 
			original_tag = TUR
		}

		available = {
			NOT = { 
				any_owned_state = {
					has_state_flag = TUR_ideological_battleground_state
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_unaligned_state = yes
			}
		}

		days_mission_timeout = 90

		fire_only_once = no

		activation = {
			has_completed_focus = TUR_continue_the_policy_of_etatism
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
			NOT = { 
				OR = {
					has_country_flag = TUR_truce_with_government_called_flag 
					has_country_flag = TUR_traditionalist_infiltration_cooldown
				}
			}
		}

		cancel_trigger = {
			has_war = yes
			has_country_flag = TUR_truce_with_government_called_flag
			NOT = {
				any_owned_state = {
					has_state_flag = TUR_ideological_battleground_state
				}
			}
		}

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			random_owned_controlled_state = {
				limit = { 
					has_state_flag = TUR_ideological_battleground_state
				}
				save_global_event_target_as = TUR_fundamentalist_state
			} 
			random_list = {
				65 = {
					modifier = {
						factor = 1.00
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_opposition } }
					}
					modifier = {
						factor = 25
						OR = {
							fascism > 0.5
							communism > 0.5
						}
					}
					TUR_placate_fundamentalist_state_effect = yes
				}
				45 = {
					modifier = {
						factor = 0.2
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_sedition } }
					}
					modifier = {
						factor = 0.3
						event_target:TUR_fundamentalist_state = { has_dynamic_modifier = { modifier = islamist_insurgency } }
					}
					TUR_upgrade_fundamentalist_defiance_effect = yes
				}
			}
			hidden_effect = {
				set_country_flag = {
					flag = TUR_traditionalist_infiltration_cooldown
					value = 1
					days = 120
				}
			}
		}

		cancel_effect = {
			
		}
	}

	TUR_thwarting_traditionalist_infiltration = {

		icon = generic_assassination

		available = {
			has_completed_focus = TUR_ratify_the_six_arrows
		}

		cost = TUR_counter_infiltration_cost?25

		visible = {
			has_active_mission = TUR_traditionalist_infiltration_mission
			NOT = {
				OR = {
					has_country_leader = {
							character = TUR_adnan_menderes
						ruling_only = yes
					}
					has_completed_focus = TUR_pivot_to_the_past
				}
			}
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_days_mission_timeout = {
				mission = TUR_traditionalist_infiltration_mission
				days = 30
			}
			hidden_effect = {
				if = {
					limit = {
						NOT = { has_variable = TUR_counter_infiltration_cost }
					}
					set_variable = { TUR_counter_infiltration_cost = 50 }
				}
				else = {
					add_to_variable = { var = TUR_counter_infiltration_cost value = 25 }
				}
			}
		}
	}

	TUR_increase_influence_of_fundamentalists_in_state = {

		icon = eng_propaganda_campaigns

		available = {
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_unaligned_state = yes 
			}
		}

		cost = 75

		visible = { 
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
			OR = {
				has_country_leader = {
				character = TUR_adnan_menderes
					ruling_only = yes
				}
				has_completed_focus = TUR_pivot_to_the_past
			}
			NOT = {
				has_country_flag = TUR_spread_fundamentalism_recently_flag
			}
		}

		cancel_if_not_visible = no

		complete_effect = {
			random_owned_controlled_state = {
				limit = { 
					has_state_flag = TUR_ideological_battleground_state
				}
				add_dynamic_modifier = { modifier = islamists_placated } 
				clr_state_flag = TUR_ideological_battleground_state
			}
			set_country_flag = {
				flag = TUR_spread_fundamentalism_recently_flag
				value = 1
				days = 45
			}
		}
	}

	TUR_kemalist_infiltration_mission = {
	
		priority = 10

		icon = tur_unifying_the_country

		allowed = { 
			original_tag = TUR
		}

		available = {
			NOT = { 
				OR = { 
					any_owned_state = {
						has_state_flag = TUR_ideological_battleground_state
					}
					any_owned_state = {
						has_dynamic_modifier = { modifier = kemalist_schemers }
					}
				}
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_unaligned_state = yes 
			}
		}

		days_mission_timeout = 45

		fire_only_once = no

		activation = {
			AND = {
				any_owned_state = {
					has_state_flag = TUR_ideological_battleground_state
				}
				any_owned_state = {
					has_dynamic_modifier = { modifier = kemalist_schemers }
				}
			}
			NOT = { 
				OR = {
					has_country_flag = TUR_truce_with_government_called_flag 
					has_country_flag = TUR_kemalist_infiltration_cooldown
				}
			}
		}

		cancel_trigger = {
			has_war = yes
			has_country_flag = TUR_truce_with_government_called_flag
			NOT = {
				any_owned_state = {
					has_state_flag = TUR_ideological_battleground_state
				}
			}
		}

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			hidden_effect = {
				random_owned_state = {
					limit = {
						AND = { 
							has_state_flag = TUR_ideological_battleground_state
							NOT = {
								OR = { 
									has_dynamic_modifier = { modifier = kemalist_loyalties }
									has_dynamic_modifier = { modifier = kemalist_schemers }
									has_dynamic_modifier = { modifier = islamist_opposition }
									has_dynamic_modifier = { modifier = islamist_sedition }
									has_dynamic_modifier = { modifier = islamist_insurgency }
									has_dynamic_modifier = { modifier = islamists_placated }
								}
							}
						}
					}
					save_event_target_as = TUR_kemalist_state_event_target
				}
				set_country_flag = {
					flag = TUR_kemalist_infiltration_cooldown
					value = 1
					days = 25
				}
			}
			event_target:TUR_kemalist_state_event_target = { TUR_hostile_kemalists_influenced_state_effect = yes }
		}

		cancel_effect = {
			
		}
	}

	TUR_thwarting_kemalist_infiltration = {

		icon = tur_unifying_the_country

		available = {
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
		}

		cost = TUR_counter_infiltration_cost?25

		visible = {
			has_active_mission = TUR_kemalist_infiltration_mission
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_days_mission_timeout = {
				mission = TUR_kemalist_infiltration_mission
				days = 30
			}
			hidden_effect = {
				if = {
					limit = {
						NOT = { has_variable = TUR_counter_infiltration_cost }
					}
					set_variable = { TUR_counter_infiltration_cost = 50 }
				}
				else = {
					add_to_variable = { var = TUR_counter_infiltration_cost value = 25 }
				}
			}
		}
	}

	TUR_entrench_kemalism_in_state = {

		icon = hol_radio_oranje

		available = {
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
		}

		highlight_states = {
			highlight_states_trigger = { 
				TUR_is_unaligned_state = yes 
			}
		}

		cost = 75

		visible = {
			NOT = { has_country_flag = TUR_spread_kemalism_recently_flag }
			OR = {	
				has_completed_focus = TUR_the_guardians_of_kemalism
				has_completed_focus = TUR_hunt_down_fifth_columnist_islamists
				has_completed_focus = TUR_fatherland_first
			}
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
		}

		complete_effect = {
			random_owned_state = {
				limit = {
					has_state_flag = TUR_ideological_battleground_state
				}
				save_event_target_as = TUR_kemalist_state_event_target
			}
			TUR_kemalist_influenced_state_effect = yes
			hidden_effect = {
				set_country_flag = {
					flag = TUR_spread_kemalism_recently_flag
					value = 1
					days = 45
				}
			}
		}
	}

}

TUR_reforming_our_armed_forces_category = {
	TUR_modernize_our_tactics = {
	
		icon = generic_military

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_idea = TUR_disorganised_armed_forces
				has_idea = TUR_disorganised_armed_forces_2
				has_idea = TUR_disorganised_armed_forces_4
				has_idea = TUR_disorganised_armed_forces_6
				has_idea = TUR_disorganised_armed_forces_9
				has_idea = TUR_disorganised_armed_forces_11
				has_idea = TUR_disorganised_armed_forces_13
				has_idea = TUR_disorganised_armed_forces_14
				has_idea = TUR_disorganised_armed_forces_16
				has_idea = TUR_disorganised_armed_forces_18
				has_idea = TUR_disorganised_armed_forces_20
				has_idea = TUR_disorganised_armed_forces_21
				has_idea = TUR_disorganised_armed_forces_22
				has_idea = TUR_disorganised_armed_forces_23
				has_idea = TUR_disorganised_armed_forces_29
				has_idea = TUR_disorganised_armed_forces_30							   
			}
			OR = {
				has_completed_focus = TUR_learning_from_the_great_war
				has_completed_focus = TUR_hava_okulu
			}
		}
		
		available = {
			has_army_experience > 5
			has_completed_focus = TUR_modernising_the_army
		}

		cost = 25

		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces
					add_idea = TUR_disorganised_armed_forces_1
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_2
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_2
					add_idea = TUR_disorganised_armed_forces_3
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_4
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_4
					add_idea = TUR_disorganised_armed_forces_5
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_6
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_6
					add_idea = TUR_disorganised_armed_forces_7
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_9
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_9
					add_idea = TUR_disorganised_armed_forces_10
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_11
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_11
					add_idea = TUR_disorganised_armed_forces_12
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_13
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_13
					add_idea = TUR_disorganised_armed_forces_27
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_14
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_14
					add_idea = TUR_disorganised_armed_forces_8
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_16
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_16
					add_idea = TUR_disorganised_armed_forces_17
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_18
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_18
					add_idea = TUR_disorganised_armed_forces_19
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_20
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_20
					add_idea = TUR_disorganised_armed_forces_26
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_21
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_21
					add_idea = TUR_disorganised_armed_forces_15
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_22
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_22
					add_idea = TUR_disorganised_armed_forces_28
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_29
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_29
					add_idea = TUR_disorganised_armed_forces_25
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_30
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_30
					add_idea = TUR_disorganised_armed_forces_24
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_23
				}
				remove_ideas = TUR_disorganised_armed_forces_23
			}
		}
	}
	

	TUR_teach_the_proper_use_of_modern_infrastructure = {
	
		icon = generic_military

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_idea = TUR_disorganised_armed_forces
				has_idea = TUR_disorganised_armed_forces_1
				has_idea = TUR_disorganised_armed_forces_4
				has_idea = TUR_disorganised_armed_forces_5
				has_idea = TUR_disorganised_armed_forces_8
				has_idea = TUR_disorganised_armed_forces_11
				has_idea = TUR_disorganised_armed_forces_12
				has_idea = TUR_disorganised_armed_forces_14
				has_idea = TUR_disorganised_armed_forces_15
				has_idea = TUR_disorganised_armed_forces_19
				has_idea = TUR_disorganised_armed_forces_21
				has_idea = TUR_disorganised_armed_forces_22
				has_idea = TUR_disorganised_armed_forces_24
				has_idea = TUR_disorganised_armed_forces_28
				has_idea = TUR_disorganised_armed_forces_30
			}
			OR = {
				has_completed_focus = TUR_learning_from_the_great_war
				has_completed_focus = TUR_hava_okulu
			}
		}
		
		available = {
			has_army_experience > 10
			has_completed_focus = TUR_expand_the_air_bases
		}

		cost = 25

		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			army_experience = -5
			if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces
					add_idea = TUR_disorganised_armed_forces_2
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_1
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_1
					add_idea = TUR_disorganised_armed_forces_3
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_4
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_4
					add_idea = TUR_disorganised_armed_forces_6
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_5
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_5
					add_idea = TUR_disorganised_armed_forces_7
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_8
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_8
					add_idea = TUR_disorganised_armed_forces_10
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_11
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_11
					add_idea = TUR_disorganised_armed_forces_13
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_12
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_12
					add_idea = TUR_disorganised_armed_forces_27
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_14
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_14
					add_idea = TUR_disorganised_armed_forces_9
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_15
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_15
					add_idea = TUR_disorganised_armed_forces_17
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_18
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_18
					add_idea = TUR_disorganised_armed_forces_20
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_19
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_19
					add_idea = TUR_disorganised_armed_forces_26
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_21
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_21
					add_idea = TUR_disorganised_armed_forces_16
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_22
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_22
					add_idea = TUR_disorganised_armed_forces_29
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_28
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_28
					add_idea = TUR_disorganised_armed_forces_25
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_30
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_30
					add_idea = TUR_disorganised_armed_forces_23
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_24
				}
				remove_ideas = TUR_disorganised_armed_forces_24
			}
		}
	}

	TUR_commence_an_overhaul_of_our_training_methods = {
	
		icon = generic_military

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_idea = TUR_disorganised_armed_forces
				has_idea = TUR_disorganised_armed_forces_1
				has_idea = TUR_disorganised_armed_forces_2
				has_idea = TUR_disorganised_armed_forces_3
				has_idea = TUR_disorganised_armed_forces_8
				has_idea = TUR_disorganised_armed_forces_9
				has_idea = TUR_disorganised_armed_forces_10
				has_idea = TUR_disorganised_armed_forces_14
				has_idea = TUR_disorganised_armed_forces_15
				has_idea = TUR_disorganised_armed_forces_16
				has_idea = TUR_disorganised_armed_forces_17
				has_idea = TUR_disorganised_armed_forces_21
				has_idea = TUR_disorganised_armed_forces_22
				has_idea = TUR_disorganised_armed_forces_25
				has_idea = TUR_disorganised_armed_forces_28
				has_idea = TUR_disorganised_armed_forces_29
			}
			OR = {
				has_completed_focus = TUR_learning_from_the_great_war
				has_completed_focus = TUR_hava_okulu
			}
		}
		
		available = {
			has_army_experience > 10
			has_completed_focus = TUR_modernising_the_army
		}

		cost = 25

		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			army_experience = -5
			if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces
					add_idea = TUR_disorganised_armed_forces_4
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_1
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_1
					add_idea = TUR_disorganised_armed_forces_5
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_2
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_2
					add_idea = TUR_disorganised_armed_forces_6
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_3
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_3
					add_idea = TUR_disorganised_armed_forces_7
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_8
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_8
					add_idea = TUR_disorganised_armed_forces_12
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_9
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_9
					add_idea = TUR_disorganised_armed_forces_13
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_10
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_10
					add_idea = TUR_disorganised_armed_forces_27
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_14
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_14
					add_idea = TUR_disorganised_armed_forces_11
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_15
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_15
					add_idea = TUR_disorganised_armed_forces_17
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_16
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_16
					add_idea = TUR_disorganised_armed_forces_20
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_17
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_17
					add_idea = TUR_disorganised_armed_forces_26
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_21
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_21
					add_idea = TUR_disorganised_armed_forces_18
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_22
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_22
					add_idea = TUR_disorganised_armed_forces_30
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_28
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_28
					add_idea = TUR_disorganised_armed_forces_24
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_29
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_29
					add_idea = TUR_disorganised_armed_forces_23
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_25
				}
				remove_ideas = TUR_disorganised_armed_forces_25
			}
		}
	}

TUR_streamline_communication_methods_between_ships = {
	
		icon = generic_naval

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_idea = TUR_disorganised_armed_forces
				has_idea = TUR_disorganised_armed_forces_1
				has_idea = TUR_disorganised_armed_forces_2
				has_idea = TUR_disorganised_armed_forces_3
				has_idea = TUR_disorganised_armed_forces_4
				has_idea = TUR_disorganised_armed_forces_5
				has_idea = TUR_disorganised_armed_forces_6
				has_idea = TUR_disorganised_armed_forces_7
				has_idea = TUR_disorganised_armed_forces_15
				has_idea = TUR_disorganised_armed_forces_16
				has_idea = TUR_disorganised_armed_forces_17
				has_idea = TUR_disorganised_armed_forces_18
				has_idea = TUR_disorganised_armed_forces_19
				has_idea = TUR_disorganised_armed_forces_20
				has_idea = TUR_disorganised_armed_forces_21
				has_idea = TUR_disorganised_armed_forces_26
			}
			OR = {
				has_completed_focus = TUR_learning_from_the_great_war
				has_completed_focus = TUR_hava_okulu
			}
		}
		
		available = {
			has_navy_experience > 10
			has_completed_focus = TUR_expand_the_golcuk_naval_base
		}

		cost = 25

		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			navy_experience = -5
			if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces
					add_idea = TUR_disorganised_armed_forces_14
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_1
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_1
					add_idea = TUR_disorganised_armed_forces_8
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_2
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_2
					add_idea = TUR_disorganised_armed_forces_9
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_3
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_3
					add_idea = TUR_disorganised_armed_forces_10
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_4
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_4
					add_idea = TUR_disorganised_armed_forces_11
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_5
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_5
					add_idea = TUR_disorganised_armed_forces_12
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_6
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_6
					add_idea = TUR_disorganised_armed_forces_13
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_7
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_7
					add_idea = TUR_disorganised_armed_forces_27
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_15
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_15
					add_idea = TUR_disorganised_armed_forces_28
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_16
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_16
					add_idea = TUR_disorganised_armed_forces_29
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_17
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_17
					add_idea = TUR_disorganised_armed_forces_25
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_18
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_18
					add_idea = TUR_disorganised_armed_forces_30
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_19
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_19
					add_idea = TUR_disorganised_armed_forces_24
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_20
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_20
					add_idea = TUR_disorganised_armed_forces_23
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_21
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_21
					add_idea = TUR_disorganised_armed_forces_22
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_26
				}
				remove_ideas = TUR_disorganised_armed_forces_26
			}
		}
	}

	TUR_put_new_safety_regulations_regarding_the_operation_of_aircraft_into_effect = {
	
		icon = generic_air

		allowed = { 
			original_tag = TUR
		}
		
		fire_only_once = yes
		
		visible = {
			OR = {
				has_idea = TUR_disorganised_armed_forces
				has_idea = TUR_disorganised_armed_forces_1
				has_idea = TUR_disorganised_armed_forces_2
				has_idea = TUR_disorganised_armed_forces_3
				has_idea = TUR_disorganised_armed_forces_4
				has_idea = TUR_disorganised_armed_forces_5
				has_idea = TUR_disorganised_armed_forces_6
				has_idea = TUR_disorganised_armed_forces_7
				has_idea = TUR_disorganised_armed_forces_8
				has_idea = TUR_disorganised_armed_forces_9
				has_idea = TUR_disorganised_armed_forces_10
				has_idea = TUR_disorganised_armed_forces_11
				has_idea = TUR_disorganised_armed_forces_12
				has_idea = TUR_disorganised_armed_forces_13
				has_idea = TUR_disorganised_armed_forces_14
				has_idea = TUR_disorganised_armed_forces_27
			}
			OR = {
				has_completed_focus = TUR_learning_from_the_great_war
				has_completed_focus = TUR_hava_okulu
			}
		}
		
		available = {
			has_air_experience > 10
			has_completed_focus = TUR_expand_the_air_bases
		}

		cost = 25

		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			air_experience = -5
			if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces
					add_idea = TUR_disorganised_armed_forces_21
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_1
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_1
					add_idea = TUR_disorganised_armed_forces_15
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_2
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_2
					add_idea = TUR_disorganised_armed_forces_16
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_3
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_3
					add_idea = TUR_disorganised_armed_forces_17
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_4
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_4
					add_idea = TUR_disorganised_armed_forces_18
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_5
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_5
					add_idea = TUR_disorganised_armed_forces_19
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_6
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_6
					add_idea = TUR_disorganised_armed_forces_20
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_7
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_7
					add_idea = TUR_disorganised_armed_forces_26
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_8
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_8
					add_idea = TUR_disorganised_armed_forces_28
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_9
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_9
					add_idea = TUR_disorganised_armed_forces_29
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_10
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_10
					add_idea = TUR_disorganised_armed_forces_25
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_11
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_11
					add_idea = TUR_disorganised_armed_forces_30
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_12
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_12
					add_idea = TUR_disorganised_armed_forces_24
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_13
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_13
					add_idea = TUR_disorganised_armed_forces_23
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_14
				}
				swap_ideas = {
					remove_idea = TUR_disorganised_armed_forces_14
					add_idea = TUR_disorganised_armed_forces_22
				}
			}
			else_if = {
				limit = { 
					has_idea = TUR_disorganised_armed_forces_27
				}
				remove_ideas = TUR_disorganised_armed_forces_27
			}
		}
	}
}

TUR_the_fading_father_category = { 
	TUR_ataturk_health_worsening_crisis = {
	
		icon = tur_the_constitutional_arrows

		priority = 10

		allowed = { 
			original_tag = TUR
		}

		available = {
			NOT = {
				has_country_leader = {
					character = TUR_mustafa_kemal_ataturk
					ruling_only = yes
				}
			}
		}

		days_mission_timeout = 90

		fire_only_once = no

		activation = {
			has_country_flag = TUR_ataturk_getting_sickly
		}

		is_good = no

		complete_effect = {
			if = {
				limit = {
					NOT = { has_completed_focus = TUR_fully_integrate_the_is_bank }
				}
				country_event = { id = bftb_turkey.24 }
			}
			hidden_effect = {
				clear_variable = TUR_ataturk_sickness_factor_var
				clr_country_flag = TUR_ataturk_getting_sickly
			}
		}

		timeout_effect = {
			if = {
				limit = {
					check_variable = { var = TUR_ataturk_health_bar value = 2 }
				}
				add_stability = -0.05
				custom_effect_tooltip = TUR_ataturk_health_terminal_tt
				subtract_from_variable = { var = TUR_ataturk_health_bar value = 1 }
			}
			else_if = {
				limit = {
					check_variable = { var = TUR_ataturk_health_bar value = 3 }
				}
				add_stability = -0.02
				custom_effect_tooltip = TUR_ataturk_health_poor_tt
				subtract_from_variable = { var = TUR_ataturk_health_bar value = 1 }
			}
			else = {
				country_event = { id = bftb_turkey.134 hours = 6 }
			}
		}

		cancel_effect = {

		}
	}

	TUR_seek_treatment_for_ataturk = {
	
		icon = generic_research

		allowed = { 
			original_tag = TUR
		}

		available = {
			has_country_leader = {
					character = TUR_mustafa_kemal_ataturk
				ruling_only = yes
			}
		}

		cost = TUR_ataturk_treatment_cost_var?125

		days_remove = 60

		visible = {
			has_active_mission = TUR_ataturk_health_worsening_crisis
		}

		fire_only_once = no
		
	    cost = 100

		cancel_trigger = {
			NOT = {
				has_country_leader = {
					character = TUR_mustafa_kemal_ataturk
					ruling_only = yes
				}
			}
		}
		complete_effect = {
			add_country_leader_trait = the_absentee_president
		}

		remove_effect = {
			remove_country_leader_trait = the_absentee_president
			add_days_mission_timeout = {
				mission = TUR_ataturk_health_worsening_crisis
				days = 120
			}
			if = {
				limit = {
					NOT = { has_variable = TUR_ataturk_treatment_cost_var }
				}
				set_variable = { var = TUR_ataturk_treatment_cost_var value = 200 }
			}
			else = {
				add_to_variable = { var = TUR_ataturk_treatment_cost_var value = 75 }
			}
			if = {
				limit = {
					NOT = { has_variable = TUR_ataturk_treatment_effectiveness_var }
				}
				set_variable = { var = TUR_ataturk_treatment_effectiveness_var value = 100 }
			}
			else_if = {
				limit = {
					check_variable = { var = TUR_ataturk_treatment_effectiveness_var value = 30 compare = less_than_or_equals } 
				}
				set_variable = { var = TUR_ataturk_treatment_effectiveness_var value = 30 }
			}
			else = {
				subtract_from_variable = { var = TUR_ataturk_treatment_effectiveness_var value = 25 }
			}
			if = {
				limit = {
					NOT = { has_country_leader_with_trait = infirm }
				}
				TUR_worsen_ataturks_health_effect = yes
			}
		}
	}

	TUR_retire_ataturk = {
	
		icon = eng_trade_unions_demand

		allowed = { 
			original_tag = TUR
		}

		available = {
			has_country_leader = {
					character = TUR_mustafa_kemal_ataturk
				ruling_only = yes
			}
		}

		visible = {
			has_active_mission = TUR_ataturk_health_worsening_crisis
		}

		fire_only_once = yes
	    cost = 5

		complete_effect = {
			add_stability = -0.05
			country_event = { id = bftb_turkey.24 }
			add_ideas = TUR_mustafa_kemal_ataturk_figurehead
			hidden_effect = { 
				clr_country_flag = TUR_ataturk_getting_sickly 
				if = {
					limit = {
						has_unit_leader = 59
					}
					remove_unit_leader = 59
				}
				country_event = { id = bftb_turkey.135 days = 90 random = 60 }
			}
		}
		ai_will_do = {
			factor = 10
		}
	}
}

crisis = { 
	TUR_etatism_crisis_1 = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}

		available = {
			OR = {
				has_idea = civilian_economy
				has_country_flag = TUR_etatism_abolished
			}
		}

		days_mission_timeout = 60

		fire_only_once = no

		activation = {
			AND = {
				has_idea = low_economic_mobilisation
				has_idea = TUR_etatism
			}
		}

		cancel_trigger = {
			OR = {
				has_active_mission = TUR_etatism_crisis_2
				has_active_mission = TUR_etatism_crisis_3
				has_active_mission = TUR_etatism_crisis_4
			}
		}

		is_good = no

		complete_effect = {
			add_stability = 0.05
			add_political_power = 75
		}

		timeout_effect = {
			swap_ideas = {
				remove_idea = TUR_etatism
				add_idea = TUR_etatism_2
			}
		}
	}

	TUR_etatism_crisis_2 = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}

		available = {
			OR = { 
				has_idea = civilian_economy
				has_country_flag = TUR_etatism_abolished
			}
		}

		days_mission_timeout = 60

		fire_only_once = no

		activation = {
			AND = {
				has_idea = partial_economic_mobilisation
				OR = {
					has_idea = TUR_etatism
					has_idea = TUR_etatism_2
				}
			}
		}

		cancel_trigger = {
			OR = {
				has_active_mission = TUR_etatism_crisis_3
				has_active_mission = TUR_etatism_crisis_4
			}
		}

		is_good = no

		complete_effect = {
			add_stability = 0.05
			add_political_power = 50
		}

		timeout_effect = {
			if = {
				limit = {
					has_idea = TUR_etatism
				}
				swap_ideas = {
					remove_idea = TUR_etatism
					add_idea = TUR_etatism_3
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_2
				}
				swap_ideas = {
					remove_idea = TUR_etatism_2
					add_idea = TUR_etatism_3
				}
			}
		}
	}

	TUR_etatism_crisis_3 = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}

		available = {
			OR = { 
				has_idea = civilian_economy
				has_country_flag = TUR_etatism_abolished
			}
		}

		days_mission_timeout = 60

		fire_only_once = no

		activation = {
			AND = {
				has_idea = war_economy
				OR = {
					has_idea = TUR_etatism
					has_idea = TUR_etatism_2
					has_idea = TUR_etatism_3
				}
			}
		}

		cancel_trigger = {
			has_active_mission = TUR_etatism_crisis_4
		}

		is_good = no

		complete_effect = {
			add_stability = 0.05
			add_political_power = 25
		}

		timeout_effect = {
			if = {
				limit = {
					has_idea = TUR_etatism
				}
				swap_ideas = {
					remove_idea = TUR_etatism
					add_idea = TUR_etatism_4
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_2
				}
				swap_ideas = {
					remove_idea = TUR_etatism_2
					add_idea = TUR_etatism_4
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_3
				}
				swap_ideas = {
					remove_idea = TUR_etatism_3
					add_idea = TUR_etatism_4
				}
			}
		}
	}

	TUR_etatism_crisis_4 = {
	
		icon = generic_political_rally

		allowed = { 
			original_tag = TUR
		}

		available = {
			OR = { 
				has_idea = civilian_economy
				has_country_flag = TUR_etatism_abolished
			}
		}

		days_mission_timeout = 60

		fire_only_once = no

		activation = {
			AND = {
				has_idea = tot_economic_mobilisation
				OR = {
					has_idea = TUR_etatism
					has_idea = TUR_etatism_2
					has_idea = TUR_etatism_3
					has_idea = TUR_etatism_4
				}
			}
		}

		is_good = no

		complete_effect = {
			add_stability = -0.05
		}

		timeout_effect = {
			if = {
				limit = {
					has_idea = TUR_etatism
				}
				country_event = { id = bftb_turkey.94 }
				hidden_effect = {
					remove_ideas = TUR_etatism
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_2
				}
				country_event = { id = bftb_turkey.94 }
				hidden_effect = {
					remove_ideas = TUR_etatism_2
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_3
				}
				country_event = { id = bftb_turkey.94 }
				hidden_effect = {
					remove_ideas = TUR_etatism_3
				}
			}
			else_if = {
				limit = {
					has_idea = TUR_etatism_4
				}
				country_event = { id = bftb_turkey.94 }
				hidden_effect = {
					remove_ideas = TUR_etatism_4
				}
			}
		}
	}

}

category_faction_debug_decisions = {
	
		TUR_kurdish_pacification_debug_decision = {

		icon = faction_tur_kurdish

		available = {
			any_owned_state = {
				AND = {
					is_core_of = KUR
					NOT = { is_core_of = TUR }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					AND = {
						is_core_of = KUR
						NOT = { is_core_of = TUR }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
			}
			random_list = {
				95 = {
					modifier = {
						factor = 0.25
					}
					event_target:TUR_kurdish_state_event_target = { TUR_pacify_kurdish_state_effect = yes }
				}
				5 = {
					modifier = {
						factor = 0.5
					}
					event_target:TUR_kurdish_state_event_target = { TUR_pacify_kurdish_state_effect = yes }
				}
			}
		}
	}

	TUR_kurdish_agitation_debug_decision = {

		icon = faction_tur_kurdish

		available = {
			any_owned_state = {
				AND = {
					is_core_of = KUR
					NOT = { is_core_of = TUR }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					AND = {
						is_core_of = KUR
						NOT = { is_core_of = TUR }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
			}
			random_list = {
				95 = {
					modifier = {
						factor = 0.25
					}
					event_target:TUR_kurdish_state_event_target = { TUR_agitate_kurdish_state_effect = yes }
				}
				5 = {
					modifier = {
						factor = 0.5
					}
					event_target:TUR_kurdish_state_event_target = { TUR_agitate_kurdish_state_effect = yes }
				}
			}
		}
	}

	TUR_kurdish_integration_debug_decision = {

		icon = faction_tur_kurdish

		available = {
			any_owned_state = {
				AND = {
					is_core_of = KUR
					NOT = { is_core_of = TUR }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					AND = {
						is_core_of = KUR
						NOT = { is_core_of = TUR }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
			}
			random_list = {
				95 = {
					modifier = {
						factor = 100
						event_target:TUR_kurdish_state_event_target = { compliance > 70 }
					}
					modifier = {
						factor = 0
						event_target:TUR_kurdish_state_event_target = { compliance < 70 }
					}
					event_target:TUR_kurdish_state_event_target = { TUR_integrate_kurdish_state_effect = yes }
				}
				5 = {
					modifier = {
						factor = 100
						event_target:TUR_kurdish_state_event_target = { compliance < 70 }
					}
					event_target:TUR_kurdish_state_event_target = { add_compliance = 70 }
				}
			}
		}
	}

	TUR_kurdish_exemptions_debug_decision = {

		icon = faction_tur_kurdish

		available = {
			any_owned_state = {
				AND = {
					is_core_of = KUR
					NOT = { is_core_of = TUR }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			NOT = {
				AND = {
					350 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					353 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					352 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
					800 = { 
						is_core_of = KUR
						is_core_of = TUR
					}
				}
			}
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					AND = {
						is_core_of = KUR
						NOT = { is_core_of = TUR }
					}
				}
				save_event_target_as = TUR_kurdish_state_event_target
				event_target:TUR_kurdish_state_event_target = {
					add_dynamic_modifier = { modifier = conscription_exemptions_granted }
				}
			}
		}
	}

	TUR_traditionalist_unrest_debug_decision = {

		icon = faction_tur_traditionalist

		available = {
			any_owned_state = {
				OR = {
					has_dynamic_modifier = { modifier = islamist_opposition }
					has_dynamic_modifier = { modifier = islamist_sedition }
					has_dynamic_modifier = { modifier = islamist_insurgency }
					has_dynamic_modifier = { modifier = islamists_placated }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
						has_dynamic_modifier = { modifier = islamists_placated }
					}
				}
				save_event_target_as = TUR_fundamentalist_state
			}
			random_list = {
				50 = {
					event_target:TUR_fundamentalist_state = { TUR_upgrade_fundamentalist_defiance_effect = yes }
				}
				50 = {
					event_target:TUR_fundamentalist_state = { TUR_upgrade_fundamentalist_defiance_effect = yes }
				}
			}
		}
	}

	TUR_traditionalist_succor_debug_decision = {

		icon = faction_tur_traditionalist

		available = {
			any_owned_state = {
				OR = {
					has_dynamic_modifier = { modifier = islamist_opposition }
					has_dynamic_modifier = { modifier = islamist_sedition }
					has_dynamic_modifier = { modifier = islamist_insurgency }
					#has_dynamic_modifier = { modifier = islamists_placated }
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = islamist_opposition }
						has_dynamic_modifier = { modifier = islamist_sedition }
						has_dynamic_modifier = { modifier = islamist_insurgency }
						#has_dynamic_modifier = { modifier = islamists_placated }
					}
				}
				save_event_target_as = TUR_fundamentalist_state
			}
			random_list = {
				50 = {
					event_target:TUR_fundamentalist_state = { TUR_placate_fundamentalist_state_effect = yes }
				}
				50 = {
					event_target:TUR_fundamentalist_state = { TUR_placate_fundamentalist_state_effect = yes }
				}
			}
		}
	}

	TUR_kemalist_ideological_entrenchment_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			any_owned_state = {
				has_state_flag = TUR_ideological_battleground_state
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_owned_state = {
				limit = {
					has_state_flag = TUR_ideological_battleground_state
				}
				save_event_target_as = TUR_kemalist_state_event_target
			}
			random_list = {
				50 = {
					event_target:TUR_kemalist_state_event_target = { TUR_kemalist_influenced_state_effect = yes }
				}
				50 = {
					event_target:TUR_kemalist_state_event_target = { TUR_kemalist_influenced_state_effect = yes }
				}
			}
		}
	}

	TUR_kemalist_make_angry_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			any_owned_state = {
				has_dynamic_modifier = { modifier = kemalist_loyalties }
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_list = {
				50 = {
					TUR_kemalist_turn_hostile_effect = yes
				}
				50 = {
					TUR_kemalist_turn_hostile_effect = yes
				}
			}
		}
	}

	TUR_kemalist_make_happy_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			any_owned_state = {
				has_dynamic_modifier = { modifier = kemalist_schemers }
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			random_list = {
				50 = {
					TUR_kemalist_turn_ally_effect = yes
				}
				50 = {
					TUR_kemalist_turn_ally_effect = yes
				}
			}
		}
	}

	TUR_kemalist_officers_loyal_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			has_government = neutrality
			NOT = {
				OR = {
					has_idea = TUR_kemalist_army_officers_minimal_power_loyal
					has_idea = TUR_kemalist_army_officers_decreased_power_loyal
					has_idea = TUR_kemalist_army_officers_limited_power_loyal
					has_idea = TUR_kemalist_army_officers_extended_power_loyal
					has_idea = TUR_kemalist_army_officers_powerful_loyal
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_minimal_power_neutral
						has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_minimal_power_neutral
				remove_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
				add_ideas = TUR_kemalist_army_officers_minimal_power_loyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_decreased_power_neutral
						has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_decreased_power_neutral
				remove_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
				add_ideas = TUR_kemalist_army_officers_decreased_power_loyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_limited_power_neutral
						has_idea = TUR_kemalist_army_officers_limited_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_limited_power_neutral
				remove_ideas = TUR_kemalist_army_officers_limited_power_disloyal
				add_ideas = TUR_kemalist_army_officers_limited_power_loyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_extended_power_neutral
						has_idea = TUR_kemalist_army_officers_extended_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_extended_power_neutral
				remove_ideas = TUR_kemalist_army_officers_extended_power_disloyal
				add_ideas = TUR_kemalist_army_officers_extended_power_loyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_powerful_neutral
						has_idea = TUR_kemalist_army_officers_powerful_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_powerful_neutral
				remove_ideas = TUR_kemalist_army_officers_powerful_disloyal
				add_ideas = TUR_kemalist_army_officers_powerful_loyal
			}
		}
	}

	TUR_kemalist_officers_neutral_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			has_government = neutrality
			NOT = {
				OR = {
					has_idea = TUR_kemalist_army_officers_minimal_power_neutral
					has_idea = TUR_kemalist_army_officers_decreased_power_neutral
					has_idea = TUR_kemalist_army_officers_limited_power_neutral
					has_idea = TUR_kemalist_army_officers_extended_power_neutral
					has_idea = TUR_kemalist_army_officers_powerful_neutral
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_minimal_power_loyal
						has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_minimal_power_loyal
				remove_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
				add_ideas = TUR_kemalist_army_officers_minimal_power_neutral
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_decreased_power_loyal
						has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_decreased_power_loyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
				add_ideas = TUR_kemalist_army_officers_decreased_power_neutral
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_limited_power_loyal
						has_idea = TUR_kemalist_army_officers_limited_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_limited_power_loyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_disloyal
				add_ideas = TUR_kemalist_army_officers_limited_power_neutral
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_extended_power_loyal
						has_idea = TUR_kemalist_army_officers_extended_power_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_extended_power_loyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_disloyal
				add_ideas = TUR_kemalist_army_officers_extended_power_neutral
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_powerful_loyal
						has_idea = TUR_kemalist_army_officers_powerful_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_powerful_loyal
				remove_ideas = TUR_kemalist_army_officers_powerful_disloyal
				add_ideas = TUR_kemalist_army_officers_powerful_neutral
			}
		}
	}

	TUR_kemalist_officers_disloyal_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			has_government = neutrality
			NOT = {
				OR = {
					has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
					has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
					has_idea = TUR_kemalist_army_officers_limited_power_disloyal
					has_idea = TUR_kemalist_army_officers_extended_power_disloyal
					has_idea = TUR_kemalist_army_officers_powerful_disloyal
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_minimal_power_loyal
						has_idea = TUR_kemalist_army_officers_minimal_power_neutral
					}
				}
				remove_ideas = TUR_kemalist_army_officers_minimal_power_loyal
				remove_ideas = TUR_kemalist_army_officers_minimal_power_neutral
				add_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_decreased_power_loyal
						has_idea = TUR_kemalist_army_officers_decreased_power_neutral
					}
				}
				remove_ideas = TUR_kemalist_army_officers_decreased_power_loyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_neutral
				add_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_limited_power_loyal
						has_idea = TUR_kemalist_army_officers_limited_power_neutral
					}
				}
				remove_ideas = TUR_kemalist_army_officers_limited_power_loyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_neutral
				add_ideas = TUR_kemalist_army_officers_limited_power_disloyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_extended_power_loyal
						has_idea = TUR_kemalist_army_officers_extended_power_neutral
					}
				}
				remove_ideas = TUR_kemalist_army_officers_extended_power_loyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_neutral
				add_ideas = TUR_kemalist_army_officers_extended_power_disloyal
			}
			else_if = {
				limit = {
					OR = {
						has_idea = TUR_kemalist_army_officers_powerful_loyal
						has_idea = TUR_kemalist_army_officers_powerful_disloyal
					}
				}
				remove_ideas = TUR_kemalist_army_officers_powerful_loyal
				remove_ideas = TUR_kemalist_army_officers_powerful_disloyal
				add_ideas = TUR_kemalist_army_officers_powerful_disloyal
			}
		}
	}

	TUR_kemalist_officers_empower_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			has_government = neutrality
			NOT = {
				OR = {
					has_idea = TUR_kemalist_army_officers_powerful_loyal
					has_idea = TUR_kemalist_army_officers_powerful_neutral
					has_idea = TUR_kemalist_army_officers_powerful_disloyal
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_powerful_loyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_powerful_neutral
				remove_ideas = TUR_kemalist_army_officers_extended_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_powerful_disloyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_loyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_neutral
				remove_ideas = TUR_kemalist_army_officers_limited_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_loyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_neutral
				remove_ideas = TUR_kemalist_army_officers_decreased_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_minimal_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_loyal
				remove_ideas = TUR_kemalist_army_officers_minimal_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_minimal_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_neutral
				remove_ideas = TUR_kemalist_army_officers_minimal_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
			}
		}
	}

	TUR_kemalist_officers_depower_debug_decision = {

		icon = faction_tur_kemalist

		available = {
			has_government = neutrality
			NOT = {
				OR = {
					has_idea = TUR_kemalist_army_officers_minimal_power_loyal
					has_idea = TUR_kemalist_army_officers_minimal_power_neutral
					has_idea = TUR_kemalist_army_officers_minimal_power_disloyal
				}
			}
		}

		#highlight_states =

		#on_map_mode = map_only

		cost = 0

		visible = {
			
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_powerful_loyal
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_loyal
				remove_ideas = TUR_kemalist_army_officers_powerful_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_powerful_neutral
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_neutral
				remove_ideas = TUR_kemalist_army_officers_powerful_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_powerful_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_extended_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_powerful_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_loyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_neutral
				remove_ideas = TUR_kemalist_army_officers_extended_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_extended_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_limited_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_extended_power_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_loyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_neutral
				remove_ideas = TUR_kemalist_army_officers_limited_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_limited_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_limited_power_disloyal
			}
			if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_loyal
				}
				add_ideas = TUR_kemalist_army_officers_minimal_power_loyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_loyal
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_neutral
				}
				add_ideas = TUR_kemalist_army_officers_minimal_power_neutral
				remove_ideas = TUR_kemalist_army_officers_decreased_power_neutral
			}
			else_if = {
				limit = {
					has_idea = TUR_kemalist_army_officers_decreased_power_disloyal
				}
				add_ideas = TUR_kemalist_army_officers_minimal_power_disloyal
				remove_ideas = TUR_kemalist_army_officers_decreased_power_disloyal
			}
		}
	}

}