political_actions = {
KOG_claim_bas_congo = {
icon = generic_prepare_civil_war
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_demandlowerkongo
			NOT = {
			owns_state = 881
			}
		}
		available = {
			has_completed_focus = KOG_demandlowerkongo
			NOT = {
			owns_state = 881
			}
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		days_remove = 30
		remove_effect = {
			declare_war_on = {
				target = 881.owner
				type = annex_everything
			}
		add_state_claim = 881
		add_state_claim = 295
		set_country_flag = KOG_claimed_bas_kongo
	}
}

KOG_unite_bas_congo = {
icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_demandlowerkongo
			has_country_flag = KOG_claimed_bas_kongo
		}
		available = {
			has_completed_focus = KOG_demandlowerkongo
			owns_state = 881
			owns_state = 295
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		add_state_core = 881
		add_state_core = 295
		}
	}
}

KOG_additional_foreign_policy = {
KOG_attack_country = {
		name = RUS_Attack_Region
		icon = generic_prepare_civil_war
		allowed = { always = no }
		available = {
			tag = KOG
		}
		visible = {
			can_declare_war_on = FROM
		}
		
		cost = 50
		days_remove = 30
		fire_only_once = yes
		war_with_target_on_remove = yes
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				OR = {
					FROM = { dont_start_major_faction_wars = yes }
					ROOT_is_threatened_cautious = yes
					FROM = { default_attack_AI_trigger_FROM = yes }
				}
			}
		}
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision AFG_attack_country target: [From.GetName]"
			FROM = { incoming_war_notification_effect = yes }
			setup_decision_attack_AI = yes			
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove AFG_attack_country target: [From.GetName]"
			clear_decision_attack_AI = yes
			declare_war_on = {
				target = FROM
				type = annex_everything
			}
		}
	}
KOG_claim_gabon = {
icon = generic_prepare_civil_war
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			GAB = {
			exists = yes
			}
			has_completed_focus = KOG_regionalintervenionism
			KOG = {
			NOT = {
			owns_state = 539
				}
			}
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		days_remove = 30
		remove_effect = {
		declare_war_on = {
				target = GAB
				type = annex_everything
		}
		add_state_claim = 539
		set_country_flag = KOG_claimed_gabon
		}
	}
KOG_unite_gabon = {
icon = generic_prepare_civil_war
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			GAB = {
			exists = no
			}
			has_completed_focus = KOG_regionalintervenionism
			has_country_flag = KOG_claimed_gabon
			owns_state = 539
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
			owns_state = 539
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		add_state_core = 539
		}
	}
KOG_unite_brazil = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_our_lost_brethren
		}
		available = {
			has_completed_focus = KOG_our_lost_brethren
			BRA = { exists = no }
			owns_state = 881
			owns_state = 1025
			owns_state = 977
			owns_state = 879
		}
		cost = 100
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		every_state = {
			limit = { is_core_of = BRA }
			add_core_of = KOG
			}
		}
	}
KOG_unite_caribbean = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_regionalintervenionism
			has_country_flag = KOG_claimed_caribbean
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
			CUB = { exists = no }
			owns_state = 315
			owns_state = 820
			owns_state = 818
			owns_state = 689
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		every_state = {
			limit = {
			is_core_of = CUB
			}
			add_core_of = KOG
			}
		every_state = {
			limit = {
			is_core_of = JAM
			}
			add_core_of = KOG
			}
		}
	}
KOG_bisphoric_tunis = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_country_flag = KOG_claimed_tunis
		}
		available = {
			TUN = { exists = no }
			owns_state = 458
			owns_state = 665
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		release_puppet = TUN
			set_autonomy = {
				target = TUN
				autonomous_state = kx_colored_puppet
				}
			TUN = {
			set_cosmetic_tag = TUN_BISHOPRIC
			transfer_state = 458
			transfer_state = 665
			create_country_leader = {
						name = "Bishopric Council"
						desc = ""
						picture = "gfx/leaders/SIC/Portrait_SIC_Neo_Sanfedisti.png"
						expire = "1.1.1"
						ideology = theocracy_subtype
			
			}
			set_party_name = { 
							ideology = paternal_autocrat
							long_name = "Bishopric of Utica" 
							name = "Bishopric of Utica"
				}
			set_politics = {
				ruling_party = paternal_autocrat
				elections_allowed = no
			}
			add_popularity = { ideology = paternal_autocrat popularity = 0.60 }
			}
			every_state = {
			limit = {
			is_core_of = TUN
			}
            remove_claim_by = KOG
			}
		}
	}
}
KOG_manikongo_kongo = {
	KOG_end_congo_chaos = {
	icon = generic_prepare_civil_war
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_invadethebasin
		}
		available = {
			has_completed_focus = KOG_invadethebasin
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		add_state_claim = 538
		add_state_claim = 1025
		add_state_claim = 1180
		add_state_claim = 718
		add_state_claim = 1026
		add_state_claim = 977
		add_state_claim = 1181
		add_state_claim = 949
		add_state_claim = 1182
		add_state_claim = 1185
		add_state_claim = 1184
		add_state_claim = 1183
		add_state_claim = 879
		add_state_claim = 976
		set_country_flag = KOG_claimed_congo
		if = {
			limit = { country_exists = LPD }
			activate_targeted_decision = { target = LPD decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = KAS }
			activate_targeted_decision = { target = KAS decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = KTG }
			activate_targeted_decision = { target = KTG decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = ORT }
			activate_targeted_decision = { target = ORT decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = COG }
			activate_targeted_decision = { target = COG decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = MSF }
			activate_targeted_decision = { target = MSF decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = KIV }
			activate_targeted_decision = { target = KIV decision = KOG_attack_country }
		}
		if = {
			limit = { country_exists = UMN }
			activate_targeted_decision = { target = UMN decision = KOG_attack_country }
			}
		custom_effect_tooltip = KOG_foreign.tt
		}
	}
KOG_claim_angola = {
	icon = generic_prepare_civil_war
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_regionalintervenionism
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		days_remove = 30
		remove_effect = {
		declare_war_on = {
				target = 540.owner
				type = annex_everything
		}
		every_state = {
			limit = {
			is_core_of = ANG
			}
			add_claim_by = KOG
			}
		set_country_flag = KOG_claimed_angola
		}
	}
KOG_unite_angola = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_regionalintervenionism
			has_country_flag = KOG_claimed_angola
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
			ANG = { exists = no }
			owns_state = 914
			owns_state = 540
			owns_state = 916
			owns_state = 917
			owns_state = 959
		}
		cost = 50
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		set_capital = { state = 916 }
		set_province_name = { id = 8219 name = "M'banza-Kongo"}
		every_state = {
			limit = {
			is_core_of = ANG
			}
			add_core_of = KOG
			}
		hidden_effect = {
		country_event = {
				id = kog.18
				days = 21
				}
			}
		}
	}
KOG_unite_pink_map = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_regionalintervenionism
			has_country_flag = KOG_claimed_pink_map
		}
		available = {
			has_completed_focus = KOG_regionalintervenionism
			MZB = { exists = no }
			ZAM = { exists = no }
			MLW = { exists = no }
			ZIM = { exists = no }
			BRT = { exists = no }
			BSC = { exists = no }
			owns_state = 950
			owns_state = 544
			owns_state = 954
			owns_state = 545
			owns_state = 957
			owns_state = 958
			owns_state = 813
			owns_state = 956
			owns_state = 955
			owns_state = 871
			owns_state = 545
		}
		cost = 100
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
			every_state = {
			limit = {
			is_core_of = MZB
			}
			add_core_of = KOG
		}
		every_state = {
			limit = {
			is_core_of = MLW
			}
			add_core_of = KOG
		}
		every_state = {
			limit = {
			is_core_of = ZAM
			}
			add_core_of = KOG
		}
		every_state = {
			limit = {
			is_core_of = ZIM
			}
			add_core_of = KOG
		}
		every_state = {
			limit = {
			is_core_of = BRT
			}
			add_core_of = KOG
			}
		every_state = {
			limit = {
			is_core_of = BSC
			}
			add_core_of = KOG
			}
		}
	}
KOG_unite_kongo = {
	icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KOG }
		visible = {
			has_completed_focus = KOG_invadethebasin
			has_country_flag = KOG_claimed_congo
		}
		available = {
			has_completed_focus = KOG_invadethebasin
			COG = { exists = no }
			LPD = { exists = no }
			UMN = { exists = no }
			MSF = { exists = no }
			KIV = { exists = no }
			KAS = { exists = no }
			ORT = { exists = no }
			KTG = { exists = no }
			owns_state = 881
			owns_state = 1025
			owns_state = 977
			owns_state = 879
			has_war = no
		}
		cost = 100
		ai_will_do = {
			factor = 5
		}
		remove_effect = {
		add_state_core = 881
		add_state_core = 295
		add_state_core = 538
		add_state_core = 1025
		add_state_core = 1180
		add_state_core = 718
		add_state_core = 1026
		add_state_core = 977
		add_state_core = 1181
		add_state_core = 949
		add_state_core = 1182
		add_state_core = 1185
		add_state_core = 1184
		add_state_core = 1183
		add_state_core = 879
		add_state_core = 976
		hidden_effect = {
		country_event = kog.19
		if = {
		limit = {
		KOG = {
		has_completed_focus = KOG_portuguese_patronage
				}
			}
		country_event = {
				id = kog.21
				days = 14
			}
		}
		news_event = {
			id = congo_news.9
			days = 1
				}
			set_cosmetic_tag = KOG_KONGO_ALT_3		
			}
		}
	}
}

KOG_faction_decisions = {
KOG_join_germany = {# join Reichspakt
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			GER = {
			is_faction_leader = yes
				}
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			GER = {
			is_faction_leader = yes
				}
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 15
		
		ai_will_do = {
			factor = 0
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_join_germany"
		}
		remove_effect = {
		GER = {
		country_event = kog.16
			}
		}
	}
KOG_join_entente = {# join Entente
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			ENT = {
			is_faction_leader = yes
				}
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 15
		
		ai_will_do = {
			factor = 0
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_join_germany"
		}
		remove_effect = {
		ENT = {
		country_event = kog.16
			}
		}
	}
KOG_join_ethiopia = {# join Organization for African Unity
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			ETH = {
			is_faction_leader = yes
			}
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			ETH = {
			is_faction_leader = yes
			}
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 15
		
		ai_will_do = {
			factor = 50
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_join_ethiopia"
		}
		remove_effect = {
		ETH = {
		country_event = kog.16
			}
		}
	}
KOG_join_car = {# join Latin Union
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			CAR = {
			is_faction_leader = yes
			}
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			CAR = {
			is_faction_leader = yes
			}
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 15
		
		ai_will_do = {
			factor = 50
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_join_car"
		}
		remove_effect = {
		CAR = {
		country_event = kog.16
			}
		}
	}
KOG_join_austria = {# join Austria
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			AUS = {
			is_faction_leader = yes
				}
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		fire_only_once = yes
		cost = 50
		days_remove = 15
		
		ai_will_do = {
			factor = 0
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_join_austria"
		}
		remove_effect = {
		AUS = {
		country_event = kog.16
			}
		}
	}
KOG_isolation = {# Embrace Isolationism
icon = generic_agreement
		allowed = { original_tag = KOG }
		available = {
			tag = KOG
			is_in_faction = no
			is_subject = no
			NOT = {
					has_idea = KOG_kongo_isolation
				}
			}
		visible = {
			NOT = {
			has_idea = KOG_kongo_isolation
			}
		}
		
		ai_will_do = {
			factor = 30
		}
		
		fire_only_once = yes
		cost = 50
		days_remove = 15

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision KOG_isolation"
		}
		remove_effect = {
		add_ideas = KOG_kongo_isolation
		}
	}
}