political_decisions = {
	Annexation_of_loango = {
		picture = african_land
		potential = {
			THIS = { capital_scope = { continent = europe }}
				NOT = { tag = TUR
				 tag = RUS } 
			year = 1871
			exists = LOA
			LOA = {
				in_sphere = THIS
			}
			NOT = {
				has_country_flag = anexation_of_loa
			}
		}
		
		allow = {
			exists = LOA
			is_greater_power = yes
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
			LOA = {
				in_sphere = THIS
			}
		}
		
		effect = {
			set_country_flag = anexation_of_loat
			inherit = LOA
			prestige = 4
			badboy = 2
		}
	}
	Annexation_of_futa_jallon = {
		picture = african_land
		potential = {
			1880 = { owner = { civilized = no } }
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
				 owns = 1879
			year = 1870
			NOT = {
				has_country_flag = anexation_of_fut
			}
		}
		
		allow = {
			OR = { is_greater_power = yes
					is_secondary_power = yes }
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
				 owns = 1879
		}
		
		effect = {
			set_country_flag = anexation_of_fut
			
			1880 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 add_core = THIS}
			1881 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 add_core = THIS}
			1882 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 add_core = THIS}
			1883 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 add_core = THIS}
			prestige = 4
			badboy = 2
		}
	}
	Annexation_of_ashanti = {
		picture = african_land
		potential = {
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
			year = 1871
			exists = ASH
			ASH = {
				in_sphere = THIS
			}
			NOT = {
				has_country_flag = anexation_of_ash
			}
		}
		
		allow = {
			exists = ASH
			is_greater_power = yes
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
			ASH = {
				in_sphere = THIS
			}
		}
		
		effect = {
			set_country_flag = anexation_of_ash
			inherit = ASH
			prestige = 4
			badboy = 2
		}
	}
	Annexation_of_Wolof_1 = {
		picture = african_land
		potential = {
			owns = 1783
			THIS = { capital_scope = { continent = europe } }
				NOT = { tag = TUR
				 tag = RUS } 
			year = 1845
			2573 = { owner = { civilized = no } }
			NOT = {
				has_country_flag = anexation_of_wol
			}
		}
		
		allow = {
			is_greater_power = yes
		}
		
		effect = {
			set_country_flag = anexation_of_wol
			2573 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			prestige = 4
			badboy = 1
		}
	}
	Annexation_of_Wolof_2 = {
		picture = african_land
		potential = {
			owns = 2573
			THIS = { capital_scope = { continent = europe } }
			NOT = { tag = TUR
				 tag = RUS } 
			year = 1855
			1786 = { owner = { civilized = no } }
			NOT = {
				has_country_flag = anexation_of_wol_2
			}
		}
		
		allow = {
			is_greater_power = yes
		}
		
		effect = {
			set_country_flag = anexation_of_wol_2			
			1786 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			1787 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			1788 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			prestige = 4
			badboy = 2
		}
	}
	#French senegal
	senegal_is_ours = {
		picture = african_land
		potential = {
			THIS = {
				OR = {
				is_greater_power = yes 
				is_secondary_power = yes }
				owns = 1786
				}
			NOT = {
				has_global_flag = senegal_is_ours_forever
			}
		}
		
		allow = {
			year = 1870
			THIS = {
				owns = 1784
			}
		}
		
		effect = {
			set_global_flag = senegal_is_ours_forever
			1792 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1793 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			1791 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			1790 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1789 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			prestige = 5
		}
	}
	cote_d'ivoire = {
		picture = african_land
		potential = {
			THIS = {
				owns = 1894
				}
			NOT = {
				has_global_flag = cote_is_ours_forever
			}
		}
		
		allow = {
			year = 1870
			THIS = {
				owns = 1894
			}
			nationalism_n_imperialism = 1
		}
		
		effect = {
			set_global_flag = cote_is_ours_forever
			1893 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1896 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			1895 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			1897 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }	
			1892 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 5 }
			prestige = 5
		}
	}
	Annexation_of_Kong = {
		picture = africa2
		potential = {
			owns = 1897
			THIS = { capital_scope = { continent = europe } }
			NOT = { tag = TUR
				 tag = RUS } 
			1898 = { owner = { civilized = no } }
			NOT = {
				has_country_flag = anexation_of_kon
			}
		}
		
		allow = {
			is_greater_power = yes
			year = 1871
		}
		
		effect = {
			set_country_flag = anexation_of_kon		
			1898 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			1899 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			1900 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
			prestige = 4
			badboy = 1
		}
	}
	
	Berlin_Conference = {
		picture = africa2
		potential = {
			is_greater_power = yes
			invention = expansionism
			owns = 549
			
			year = 1870
			NOT = {
				has_global_flag = berlin_conference_held
			}
		}
		allow = {
			year = 1870			
		}

		effect = {
			prestige = 25
			set_global_flag = berlin_conference_held
		}
	}
	
	Scramble_for_Africa = {
		picture = africa2
		potential = {
		NOT = { year = 1885 }
		NOT = { tag = TUR }
		NOT = { tag = RUS }
		THIS = { OR = { is_greater_power = yes is_secondary_power = yes } }
			has_global_flag = berlin_conference_held
			capital_scope = { continent = europe }	
		OR = { neighbour = ASH 
				neighbour = FUT
				neighbour = ADW
				neighbour = BAG
				neighbour = SEG
				neighbour =  DAH
				neighbour = MOS
				neighbour = WAD
				neighbour =  TUK
				neighbour =  MAS
				neighbour =  FTO
				neighbour =  DAM
				neighbour =  BOR
				neighbour = OYO
				neighbour =  WRI
				neighbour = BEN
				neighbour = KON
				neighbour = DND
				neighbour = KAA
				neighbour = GEL
				neighbour =  MAJ
				neighbour =  BRG
				neighbour =  GBU
				neighbour =  TRZ
				neighbour =  ARO
				neighbour =  CLA
				neighbour =  SOK
				neighbour =  WAR
				neighbour =  AWS
				neighbour =  ZAN }
			 }
		allow = {
		NOT = { has_country_modifier = monthly_timer duration = 365 }
		capital_scope = { continent = europe }
		OR = { neighbour = ASH 
				neighbour = FUT
				neighbour = SEG
				neighbour =  DAH
				neighbour = MOS
				neighbour = WAD
				neighbour =  TUK
				neighbour =  MAS
				neighbour =  FTO
				neighbour =  DAM
				neighbour =  BOR
				neighbour = OYO
				neighbour =  WRI
				neighbour = BEN
				neighbour = KON
				neighbour = DND
				neighbour = KAA
				neighbour = GEL
				neighbour =  MAJ
				neighbour =  BRG
				neighbour =  GBU
				neighbour =  TRZ
				neighbour =  ARO
				neighbour =  CLA
				neighbour =  SOK
				neighbour =  WAR
				neighbour =  AWS
				neighbour =  ZAN } } 
		effect = {
			add_country_modifier = { name = monthly_timer duration = 400 }
			any_country = { limit = { AND = { neighbour = THIS OR = {
				tag = SOK
				tag = ASH
				tag = FUT
				tag = SEG
				tag = DAH
				tag = MOS
				tag = WAD
				tag = TUK
				tag = MAS
				tag = FTO
				tag = DAM
				tag = BOR
				tag = OYO
				tag = WRI
				tag = BEN
				tag = KON
				tag = DND
				tag = KAA
				tag = GEL
				tag = MAJ
				tag =  BRG
				tag =  GBU
				tag =  TRZ
				tag =  ARO
				tag =  CLA
				tag =  WAR
				tag =  AWS
				tag =  ZAN } } } country_event = 117001 days = 0 }
		}
	}
	Annexation_of_Yoruba_states = {
		picture = african_land
		potential = {
			owns = 1923
			THIS = { capital_scope = { continent = europe } }
			NOT = { tag = TUR
				 tag = RUS } 
			year = 1870
			NOT = {
				has_country_flag = anexation_of_yo
			}
		}
		
		allow = {
			OR = { is_greater_power = yes
					is_secondary_power = yes }
		}
		
		effect = {
			set_country_flag = anexation_of_yo	
			inherit = OYO
			inherit = WRI
			inherit = BEN
			inherit = CLA
			inherit = ARO
			prestige = 4
			badboy = 4
		}
	}
    annexation_of_morroco = {
        potential = {
		tag = FRA
			is_greater_power = yes
			has_global_flag = berlin_conference_held
			NOT = { has_country_flag = mor_annex }
			exists = MOR
			owns = 1705
			MOR = {
				in_sphere = THIS
			}
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = mor_annex
            FRA = { inherit = MOR }
			infamy = 5 
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1686
                    SPA = { exists = yes owns = 1689 }
                }
                secede_province = SPA
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1688
                    SPA = { exists = yes owns = 1689 }
                }
                secede_province = SPA
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1687
                    SPA = { exists = yes owns = 1689 }
                }
                secede_province = SPA
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1695
                    SPA = { exists = yes owns = 1689 }
                }
                secede_province = SPA
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1686
                    IBE = { exists = yes owns = 1689 }
                }
                secede_province = IBE
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1688
                    IBE = { exists = yes owns = 1689 }
                }
                secede_province = IBE
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1687
                    IBE = { exists = yes owns = 1689 }
                }
                secede_province = IBE
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 1695
                    IBE = { exists = yes owns = 1689 }
                }
                secede_province = IBE
            }
		}
        ai_will_do = {
            factor = 1
        }
    }
    annexation_of_morroco_everyone = {
        potential = {
			is_greater_power = yes
				has_global_flag = berlin_conference_held
			THIS = { capital_scope = { continent = europe } }
			NOT = { has_country_flag = mor_annex1 }
			exists = MOR
			MOR = {
				in_sphere = THIS
			}
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = mor_annex1
            THIS = { inherit = MOR }
			infamy = 5 
		}
        ai_will_do = {
            factor = 1
        }
    }
	Annexation_of_adamawa = {
		picture = africa2
		potential = {
			owns = 1957
			THIS = { capital_scope = { continent = europe } }
			NOT = { tag = TUR
				 tag = RUS } 
			1963 = { owner = { civilized = no } }
			NOT = {
				has_country_flag = anexation_of_adw
			}
		}
		
		allow = {
			OR = { is_greater_power = yes
			is_secondary_power = yes }
			year = 1871
			ADW = { exists = yes }
		}
		
		effect = {
			set_country_flag = anexation_of_adw		
			inherit = ADW
			prestige = 4
			badboy = 2
		}
	}
    annexation_of_massina = {
        potential = {
			is_greater_power = yes
				has_global_flag = berlin_conference_held
			THIS = { capital_scope = { continent = europe } }
			NOT = { has_country_flag = mas_annex1 }
			exists = MAS
			neighbour = MAS
			1800 = { owner = THIS }
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = mas_annex1
            THIS = { inherit = MAS }
			infamy = 2
		}
        ai_will_do = {
            factor = 1
        }
    }
    annexation_of_futa_toro = {
        potential = {
			is_greater_power = yes
				has_global_flag = berlin_conference_held
			THIS = { capital_scope = { continent = europe } }
			NOT = { has_country_flag = fto_annex1 }
			exists = FTO
			neighbour = FTO
			1786 = { owner = THIS }
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = fto_annex1
            THIS = { inherit = FTO }
			infamy = 2
		}
        ai_will_do = {
            factor = 1
        }
    }
    annexation_of_dendi = {
        potential = {
			is_greater_power = yes
				has_global_flag = berlin_conference_held
			THIS = { capital_scope = { continent = europe } }
			NOT = { has_country_flag = dnd_annex1 }
			exists = DND
			neighbour = DND
			1904 = { owner = THIS }
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = dnd_annex1
            THIS = { inherit = DND }
			infamy = 2
		}
        ai_will_do = {
            factor = 1
        }
    }
    annexation_of_damagaram = {
        potential = {
			is_greater_power = yes
				has_global_flag = berlin_conference_held
			THIS = { capital_scope = { continent = europe } }
			NOT = { has_country_flag = dam_annex1 }
			exists = DAM
			neighbour = DAM
			1810 = { owner = THIS }
        }

        allow = {
				has_global_flag = berlin_conference_held
        }

        effect = {
            set_country_flag = dam_annex1
            THIS = { inherit = DAM }
			infamy = 2
		}
        ai_will_do = {
            factor = 1
        }
    }
}