political_decisions = {
	tanzimat_reforms = {
		potential = {
			OR = { tag = TUR
			tag = OTO
			}
			NOT = {
				has_country_flag = tanzimat_reforms_enacted
			}
            OR = {
                government = absolute_monarchy
                government = prussian_constitutionalism
                government = hms_government
            }
		}
		
        allow = {
            OR = {
                AND = {
                    average_militancy = 3
                    average_consciousness = 4
                }
                nationalism_n_imperialism = 1
            }
        }
		
		effect = {
            remove_country_modifier = ottoman_oppression
            add_country_modifier = {  name = tanzimat_land_reform duration = 365 }
			any_pop = {
				limit = {
					NOT = {
						has_pop_culture = turkish
					}
				}
				militancy = -3
				consciousness = 1
			}
			social_reform = low_schools
			add_accepted_culture = albanian
			add_accepted_culture = bosniak
			set_country_flag = tanzimat_reforms_enacted
		}
	}

	kanun_i_esasi = {
		potential = {
			
			OR = { tag = TUR
			tag = OTO
			}
			NOT = {
				has_country_flag = kanun_i_esasi_here
			}
		}
		
		allow = {
			nationalism_n_imperialism = 1
		}
		
		effect = {
			any_pop = {
				militancy = -3
				consciousness = 2
			}
			prestige = 5
			set_country_flag = kanun_i_esasi_here
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				NOT = {
					average_militancy = 1
				}
			}
		}
	}
	
	form_israel = {
		potential = {
			civilized = yes
			NOT = {
				has_global_flag = israel_has_her_cores
			}
			916 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
			917 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
			918 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
			919 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
			920 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
			921 = {
				OR = {
					owned_by = THIS
					owner = {
						in_sphere = THIS
					}
				}
			}
		}
		allow = {
			is_greater_power = yes
			revolution_n_counterrevolution = 1
		}
		effect = {
			EGY_921 = { add_core = ISR }
			prestige = 10
			set_global_flag = israel_has_her_cores
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				NOT = {
					tag = ENG
				}
			}
		}
	}
#The Lybian desert is ours
	The_Lybian_desert = {
		picture = desertcol
		potential = {
			THIS = {
				owns = 1732
				owns = 1737
				}
			NOT = {
				has_country_flag = lybia_is_ours
			}
		}
		
		allow = {
			year = 1870
			THIS = {
				owns = 1732
				owns = 1737
			}
		}
		
		effect = {
			set_country_flag = lybia_is_ours
			1740 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1738 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			1739 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			2585 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }		
			prestige = 10
		}
	}
#The Lybian desert is ours
	The_Lybian_desert_for_italy = {
		potential = {
		tag = ITA
			THIS = {
				owns = 1732
				owns = 1737
				}
			NOT = {
				has_country_flag = lybia_is_ours2
			}
		}
		
		allow = {
			year = 1910
			THIS = {
				owns = 1732
				owns = 1737
			}
		}
		
		effect = {
			set_country_flag = lybia_is_ours2
			1741 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1743 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }			
			prestige = 10
		}
	}
	tanzimat_reforms_2 = {
		potential = {
			
			OR = { tag = TUR
			tag = OTO
			}
			NOT = {
				has_country_flag = tanzimat_reforms_enacted_2
			}
			is_greater_power = yes
			owns = 1151
		}
		
		allow = {
			revolution_n_counterrevolution = 1
		}
		
		effect = {
			any_pop = {
				limit = {
					NOT = {
						has_pop_culture = turkish
					}
				}
				militancy = -3
				consciousness = 1
			}
			social_reform = acceptable_schools
			add_accepted_culture = misri
			set_country_flag = tanzimat_reforms_enacted_2
		}
	}
	ottoman_1836_setup = {
        picture = constantinople
        potential = {
            tag = TUR
            always = no
        }

        allow = {
            tag = TUR
        }

        effect = {
            add_country_modifier = {
                name = ottoman_oppression
                duration = -1
            }
            enable_canal = 4
            enable_canal = 5
            enable_canal = 6
            860 = { any_pop = { literacy = 0.05 } }
            860 = { any_pop = { limit = { has_pop_culture = turkish } literacy = 0.2 } }
            any_pop = {
                limit = {
                    NOT = { has_pop_religion = sunni }
                    OR = {
                        has_pop_culture = north_italian
                        has_pop_culture = ashkenazi
                        has_pop_culture = sephardic
                    }
                }
                literacy = 0.3
            }

            any_pop = {
                limit = { has_pop_culture = kurdish }
                literacy = 0.05
            }
            any_pop = {
                limit = { has_pop_culture = greek }
                literacy = 0.05
            }
            SAR = { any_pop = {
                limit = { has_pop_culture = cisalpine }
                literacy = 0.20
            } }
            any_pop = { limit = { has_pop_religion = sunni is_culture_group = arab }
                literacy = 0.01
            }
            any_pop = {
                limit = { has_pop_religion = sunni is_primary_culture = no location = { continent = europe } NOT = { literacy = 0.03 } }
                literacy = 0.02
            }

            any_pop = {
                limit = {
                    NOT = { has_pop_religion = sunni }
                    OR = {
                        has_pop_culture = serb
                        has_pop_culture = romanian
                        has_pop_culture = albanian
                        has_pop_culture = georgian
                        has_pop_culture = armenian
                    }
                }
                literacy = 0.03
            }

            any_pop = { limit = { has_pop_culture = ukrainian } literacy = 0.02 }

            any_pop = { limit = { has_pop_culture = greek } literacy = 0.07 }
            any_pop = {
                limit = {
                    NOT = { has_pop_religion = sunni }
                    OR = {
                        has_pop_culture = croat
                        has_pop_culture = bulgarian
                    }
                }
                literacy = 0.15
            }
        }
        ai_will_do = { factor = 1 }
    }
	Accept_azerbaijani = {
		potential = {
			
			OR = { tag = TUR
			tag = OTO
			}
			NOT = {
				has_country_flag = azer
			}
			owns = 1111
		}
		
		allow = {
			nationalism_n_imperialism = 1
		}
		
		effect = {
			any_pop = {
				limit = {
					NOT = {
						has_pop_culture = turkish
					}
				}
				militancy = -3
				consciousness = -1
			}
			add_accepted_culture = azerbaijani
			set_country_flag = azer
		}
	}
}