political_decisions = {
	an_elephant_for_america = {
		potential = {
			tag = SIA
			year = 1861
			exists = USA
			NOT = {
				has_country_flag = sent_an_elephant_to_america
			}
		}
		allow = {
			relation = {
				who = USA
				value = 0
			}
		}
		effect = {
			USA = {
				country_event = { id=13350 days=0 }
			}
			set_country_flag = sent_an_elephant_to_america
		}
	}
	torching_of_the_summer_palace = {
		potential = {
			NOT = {
				tag = CHI
			}
			CHI = {
				owns = 1612
			}
			civilized = yes
			is_greater_power = yes
			nationalism_n_imperialism = 1
			war_with = CHI
			NOT = {
				has_global_flag = summer_palace_torched
			}
		}
		allow = {
			controls = 1612
		}
		effect = {
			badboy = 3
			CHI = {
				country_event = { id=13355 days=0 }
			}
			set_global_flag = summer_palace_torched
		}
	}
		
	support_boxers = {
		potential = {
			tag = CHI
			NOT = {
				has_country_flag = supported_boxers
			}
			government = absolute_monarchy
			is_greater_power = no
			civilized = no
			year = 1860
			is_independant = no
			any_owned_province = {
				OR = {
					has_province_modifier = western_presence
					has_province_modifier = foreign_smugglers
					has_province_modifier = foreign_trading_post
					has_province_modifier = local_opium_habit
					has_province_modifier = european_military_mission
				}
			}
		}
		allow = {
			is_independant = no
		}
		effect = {
			any_owned = {
				limit = {
					OR = {
						has_province_modifier = western_presence
						has_province_modifier = foreign_smugglers
						has_province_modifier = foreign_trading_post
						has_province_modifier = local_opium_habit
						has_province_modifier = european_military_mission
					}
				}
				any_pop = {
					militancy = 8
					ideology = {
						value = reactionary
						factor = 0.3
					}
				}
			}
			prestige = 5
			set_country_flag = supported_boxers
		}
	}
	
	enact_muhammad_alis_reforms = {
		potential = {
			tag = EGY
			civilized = no
			NOT = {
				has_country_flag = muhammad_alis_reforms_enacted
			}
		}
		allow = {
			prestige = 5
			average_consciousness = 2
		}
		effect = {
			add_country_modifier = {
				name = muhammad_alis_reforms
				duration = 3650
			}
			set_country_flag = muhammad_alis_reforms_enacted
		}
	}
	
	establish_the_dar_al_funun = {
		potential = {
			tag = PER
			civilized = no
			NOT = {
				has_country_flag = dar_al_funun_built
			}
		}
		allow = {
			literacy = 0.1
		}
		effect = {
			years_of_research = 2
			any_pop = {
				consciousness = 0.5
			}
			set_country_flag = dar_al_funun_built
			add_country_modifier = {
				name = dar_al_funun
				duration = -1
			}
		}
	}
	annals_of_the_fulani_jihad = {
		potential = {
			tag = SOK
			NOT = {
				has_country_flag = that_book_written
			}
		}
		allow = {
			literacy = 0.04
		}
		effect = {
			set_country_flag = that_book_written
			prestige = 2
		}
	}
	become_negusa_nagast = {
		potential = {
			tag = ETH
			government = absolute_monarchy
			NOT = {
				has_country_flag = is_negusa_nagast
			}
		}
		
		allow = {
			prestige = 5
		}
		
		effect = {
			set_country_flag = is_negusa_nagast
			any_pop = {
				militancy = -1
			}
			prestige = 2
			years_of_research = 0.02
			ETH_1867 = {
				add_core = ETH
			}
			ETH_1864 = {
				add_core = ETH
			}
			ENG_1848 = {
				add_core = ETH
			}
			1863 = {
				secede_province = THIS
			}
			1865 = {
				secede_province = THIS
			}
			1875 = {
				secede_province = AWS
			}
			create_vassal = AWS
		}
	}
	
	Control_central_africa = {
		potential = {
			OR = { tag = ETH
			tag = MLE }
			NOT = {
				has_country_flag = sahel
			}
		}
		
		allow = {
			prestige = 5
			owns = 1822
		}
		
		effect = {
			set_country_flag = sahel
			any_pop = {
				militancy = -1
			}
			prestige = 2
			years_of_research = 0.02
			ENG_1818 = {
				secede_province = THIS
			}
			ENG_1818 = {
				secede_province = THIS
			}
			FRA_1965 = {
				secede_province = THIS
			}
			ENG_1843 = {
				secede_province = THIS
			}
			ENG_1960 = {
				secede_province = THIS
			}
		}
	}
	
	
	build_the_tower_of_babylon = {
		potential = {
			OR = { tag = IRQ
			tag = PER }
			OR = { AND = { tag = IRQ is_greater_power = yes }
			AND = { tag = PER owns = 926 } }
		}
		
		allow = {
			advanced_metallurgy = 1
			the_historical_theory = 1
		}
		
		effect = {
			THIS = {
				all_core = {
					add_core = BAB
				}
			}
			926 = {
				change_province_name = Babylon
			}
			add_accepted_culture = mashriqi
			change_tag = BAB
			prestige = 20
		}
	}
	
	babylon_Levante = {
		potential = {
			tag = BAB
			exists = yes
			NOT = {
				has_country_flag = is_levante
			}
		}
		
		allow = {
			prestige = 200
		}
		
		effect = {
			set_country_flag = is_levante
			any_pop = {
				militancy = -1
			}
			prestige = 2
			years_of_research = 0.02
			SIR = {
				all_core = { add_core = THIS }
			}
			ELB = {
				all_core = { add_core = THIS }
			}
			JRD = {
				all_core = { add_core = THIS }
			}
			921 = {
				add_core = THIS
			}
			920 = {
				add_core = THIS
			}
			917 = {
				add_core = THIS
			}
			918 = {
				add_core = THIS
			}
			919 = {
				add_core = THIS
			}
			916 = {
				add_core = THIS
			}
			900 = { remove_core = THIS } 
		}
	}
	Unify_ethiopia = {
		potential = {
			OR = {
				tag = SHW
				tag = GON
				tag = AWS
				tag = KAF
				tag = TIG
			}
			NOT = {
				exists = ETH
			}
		}
		allow = {
			owns = 1857
			owns = 1852
			owns = 1862
			owns = 1859
			war = no }
		
		effect = {
			prestige = 5				
			change_tag = ETH
			add_accepted_culture = nilo_saharan
			years_of_research = 3
		}
		ai_will_do = {
			factor = 1
		}
	}	
	
	Unify_ethiopia_2 = {
		potential = {
				tag = GON
			NOT = {
				exists = ETH
			}
		}
		allow = {
			year = 1870
			exists = yes }
		
		effect = {
			set_country_flag = is_negusa_nagast
			prestige = 5				
			change_tag = ETH
				inherit = SHW
				inherit = AWS
				inherit = KAF
				inherit = TIG
			add_accepted_culture = nilo_saharan
			years_of_research = 3
			ETH_1867 = {
				add_core = ETH
			}
			ETH_1864 = {
				add_core = ETH
			}
			ENG_1848 = {
				add_core = ETH
			}
			1863 = {
				secede_province = THIS
			}
			1865 = {
				secede_province = THIS
			}
		}
		ai_will_do = {
			factor = 1
		}
	}	
	
	Unify_ethiopia_3 = {
		potential = {
				tag = SHW
			NOT = {
				exists = ETH
				exists = GON
			}
		}
		allow = {
			year = 1870
			exists = yes }
		
		effect = {
			set_country_flag = is_negusa_nagast
			prestige = 5				
			change_tag = ETH
				inherit = GON
				inherit = AWS
				inherit = KAF
				inherit = TIG
			add_accepted_culture = nilo_saharan
			years_of_research = 3
			ETH_1867 = {
				add_core = ETH
			}
			ETH_1864 = {
				add_core = ETH
			}
			ENG_1848 = {
				add_core = ETH
			}
			1863 = {
				secede_province = THIS
			}
			1865 = {
				secede_province = THIS
			}
		}
		ai_will_do = {
			factor = 1
		}
	}	
	
	Form_Mali_Empire = {
	picture = westafricas
		potential = {
			OR = { 
			primary_culture = niger_congo_a
			tag = TUK }
			NOT = {
				exists = MLE
			}
		}
		allow = {
			owns = 1800
			owns = 1880
			owns = 1901
			owns = 1808
			owns = 1948
			war = no }
		
		effect = {
			prestige = 5				
			change_tag = MLE
			add_accepted_culture = niger_congo_a
			years_of_research = 3
			SEG = { all_core = { add_core = MLE } } 
			SOK = { all_core = { add_core = MLE } } 
			WOL = { all_core = { add_core = MLE } } 
			MOS = { all_core = { add_core = MLE } } 
			DAH = { all_core = { add_core = MLE } } 
			FUT = { all_core = { add_core = MLE } } 
			ASH = { all_core = { add_core = MLE } }
			WAD = { all_core = { add_core = MLE } }
			BOR = { all_core = { add_core = MLE } }
			OYO = { all_core = { add_core = MLE } }
			WRI = { all_core = { add_core = MLE } }
			BEN = { all_core = { add_core = MLE } }
			KON = { all_core = { add_core = MLE } }
			DND = { all_core = { add_core = MLE } }
			KAA = { all_core = { add_core = MLE } }
			years_of_research = 5
			
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	Form_Tukulor_Empire = {
	picture = westafricas
		potential = {
			primary_culture = afro_asiatic
			NOT = {
				exists = TUK
				tag = MLE
			}
		}
		allow = {
			owns = 1800
			owns = 1804
			owns = 1901
			owns = 1808
			owns = 1796
			war = no }
		
		effect = {
			prestige = 5				
			change_tag = TUK
			add_accepted_culture = niger_congo_a
			years_of_research = 3
			SEG = { all_core = { add_core = TUK } } 
			KAA = { all_core = { add_core = TUK } } 
			MOS = { all_core = { add_core = TUK } } 
			MAS = { all_core = { add_core = TUK } } 
			DND = { all_core = { add_core = TUK } } 
			FAM = { all_core = { add_core = TUK } } 
			FTO = { all_core = { add_core = TUK } }
			SOK = { all_core = { add_core = TUK } } 
			DAM = { all_core = { add_core = TUK } }
			BRG = { all_core = { add_core = TUK } } 
			FUT = { all_core = { add_core = TUK } }
			KON = { all_core = { add_core = TUK } }
			WOL = { all_core = { add_core = TUK } }
			years_of_research = 10
			
		}
		ai_will_do = {
			factor = 1
		}
	}

	Isokan = {
	picture = westafrica
		potential = {
			OR = { tag = BEN
			tag = WRI
			tag = OYO
			tag = CLA
			tag = ARO }
			NOT = { has_country_flag = isokan }
		}
		allow = {
			owns = 1928
			owns = 1931
			owns = 1926
			war = no }
		
		effect = {
			set_country_flag = isokan
			prestige = 5	
			add_accepted_culture = niger_congo_a
			years_of_research = 3
			BEN = { all_core = { add_core = THIS } } 
			WRI = { all_core = { add_core = THIS } } 
			OYO = { all_core = { add_core = THIS } }
			DAH = { all_core = { add_core = THIS } } 
			SOK = { all_core = { add_core = THIS } }  
			ARO = { all_core = { add_core = THIS } }  
			CLA = { all_core = { add_core = THIS } }  
			years_of_research = 5
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	Dai_defeated = {
		picture = indochina
		potential = {
			tag = SIA 
			NOT = { has_country_flag = dainam }
			owns = 1374
			owns = 1380
			owns = 1369
		}
		allow = {
			war = no }
		
		effect = {
			set_country_flag = dainam
			prestige = 5	
			years_of_research = 6
			DAI = { all_core = { add_core = THIS } }  
			years_of_research = 5
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	accept_bantu = {
	picture = westafrica
		potential = {
		tag = MAL }
		
		allow = {
			owns = 2624
			civilized = yes
			war = no }
		
		effect = {
			prestige = 5		
			add_accepted_culture = bantu			
		}
		ai_will_do = {
			factor = 1
		}
	}	
	
	Bowring_treaty = {
		potential = {
			tag = SIA
			NOT = { has_country_flag = westtech }
		}
		allow = {
		year = 1855
		}
		effect = {
			1344 = { secede_province = ENG }
			set_country_flag = westtech
			years_of_research = 5
			finance_reform = yes_finance_reform
		}
	}
	
	Rama_IV = {
		potential = {
			tag = SIA
			NOT = { has_country_flag = rama }
		}
		allow = {
		year = 1853
		}
		effect = {
			set_country_flag = rama
			add_country_modifier = {
				name = reformation_spirit_of_rama_IV
				duration = -1
			}
		}
	}
	
	champassak_integration_act = {
        picture = form_laos
        potential = {
            tag = SIA
            LUA = { exists = yes vassal_of = SIA }
            NOT = {
                has_country_flag = champassak_integrated
            }
        }
        allow = {
            war = no
            civilized = yes
            is_our_vassal = LUA
            LUA = { OR = { NOT = { part_of_sphere = yes } in_sphere = THIS } }
        }

        effect = {
            badboy = 1
            inherit = LUA
            set_country_flag = champassak_integrated
        }
    }
	Depose_queen_Ang_Mei = {
        picture = form_laos
        potential = {
            tag = DAI
            CAM = { exists = yes vassal_of = THIS }
            NOT = {
                has_country_flag = deposed_queen
            }
        }
        allow = {
            war = no
            civilized = no
			year = 1840
			CAM = { exists = yes vassal_of = THIS }
        }

        effect = {
            badboy = 1
            CAM = { country_event = 97500000 }
            set_country_flag = deposed_queen
        }
    }
    total_war_in_dai = {
        alert = yes
        picture = begin_line_of_advantage
        potential = {
            NOT = { has_country_modifier = small_country_draft_dai }
            NOT = { has_country_flag = dai_draft_happened }
            tag = DAI
        }

        allow = {
            war_with = CHI
        }

        effect = {
            iron = 40
            wool = 40
            timber = 75
            small_arms = 100
            leadership = 100
            add_country_modifier = {
                name = small_country_draft_dai
                duration = 30
            }
            set_country_flag = dai_draft_happened
        }
        ai_will_do = { factor = 1 }
    }
	Accept_Yue = {
		potential = {
			tag = DAI
			owns = 1502
            NOT = { has_country_flag = dai_draft_happened2 }
		}
		allow = {
			war = no }
		
		effect = {
			prestige = 5	
            NOT = { has_country_flag = dai_draft_happened2 }
			add_accepted_culture = zhuang
			add_accepted_culture = yue
			add_accepted_culture = hakka
			years_of_research = 5
			badboy = -10
			CHI_1504 = { add_core = THIS }
			CHI_1499 = { add_core = THIS }
			CHI_1494 = { add_core = THIS }
		}
		ai_will_do = {
			factor = 1
		}
	}
}