
# Political Actions Category
political_actions = {

	# Embrace Authenticité
	COG_embrace_autentiite_decision  = {

		priority = 100

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 200
		}

		allowed = {  
			original_tag = COG
		}

		available = {
			is_subject = no
			controls_state = 889
			controls_state = 890
			controls_state = 718
			controls_state = 538
			controls_state = 888
			controls_state = 295
		}

		visible = { 
			original_tag = COG
			is_subject = no
			NOT = { has_country_flag = COG_already_renamed_states_flag }
		} 

		cost = 25

		complete_effect = {

			IF = {
				limit = {
					has_cosmetic_tag = COG_congo_stanleyville
				}
				set_cosmetic_tag = COG_congo_kisangani
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_stability = 0.02
			add_war_support = 0.03

			custom_effect_tooltip =  generic_skip_one_line_tt

			295 = {
				set_state_name = 295_autenticite_name
			}
			set_province_name = {
				id = 5117
				name = 5117_autenticite_name
			}

			538 = {
				set_state_name = 538_autenticite_name
			}
			set_province_name = {
				id = 988
				name = 988_autenticite_name
			}

			888 = {
				set_state_name = 888_autenticite_name
				add_victory_points = {
					province = 7716
					value = 1
				}
				add_victory_points = {
					province = 2024
					value = 1
				}	
				add_victory_points = {
					province = 4128
					value = 1
				}	
			}
			hidden_effect = {
				set_province_name = {
					id = 4128
					name = 4128_autenticite_name
				}
				set_province_name = {
					id = 7716
					name = 7716_autenticite_name
				}
			}
			set_province_name = {
				id = 2024
				name = 2024_autenticite_name
			}

			718 = {
				set_state_name = 718_autenticite_name
			}
			set_province_name = {
				id = 1950
				name = 1950_autenticite_name
			}

			890 = {
				set_state_name = 890_autenticite_name
			}
			set_province_name = {
				id = 4941
				name = 4941_autenticite_name
			}

			889 = {
				set_state_name = 889_autenticite_name
				add_victory_points = {
					province = 4515
					value = 1
				}
				add_victory_points = {
					province = 12907
					value = 1
				}
			}
			set_province_name = {
				id = 191
				name = 191_autenticite_name
			}
			hidden_effect = {
				set_province_name = {
					id = 4515
					name = 4515_autenticite_name
				}
				set_province_name = {
					id = 12907
					name = 12907_autenticite_name
				}
			}

			hidden_effect = {
				set_country_flag = COG_already_renamed_states_flag 
			}
		}

	}

	# Recall Armand Huyghé to Active Service
	COG_recall_armand_huyghe_to_active_service  = {

		priority = 40

		icon = GFX_decision_generic_belgian_colonial_helmet

		ai_will_do = {
			base = 40
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			has_war = yes
		}

		visible = { 
			tag = COG
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			NOT = { has_country_flag = COG_recalled_armand_huyghe_flag }
		} 

		days_remove = 35 

		custom_cost_trigger = {
			command_power > 24.9
		}
		custom_cost_text = ETH_build_local_resistance_force_cost

		complete_effect = {
			add_command_power = -25 
		}

		modifier = {
		}

		remove_effect = {

			custom_effect_tooltip = COG_recall_armand_huyghe_to_active_service_tt

			hidden_effect = {
				set_country_flag = COG_recalled_armand_huyghe_flag 
			}
		}

	}

	# Recall Frederik-Valdemar Olsen to Active Service
	COG_recall_fredrik_valdemar_olsen_to_active_service  = {

		priority = 39

		icon = GFX_decision_generic_army_support

		ai_will_do = {
			base = 40
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			has_war = yes
		}

		visible = { 
			tag = COG
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			NOT = { has_country_flag = COG_recalled_fredrik_olsen_flag }
		} 

		days_remove = 35 

		custom_cost_trigger = {
			command_power > 24.9
		}
		custom_cost_text = ETH_build_local_resistance_force_cost

		complete_effect = {
			add_command_power = -25 
		}

		modifier = {
		}

		remove_effect = {

			custom_effect_tooltip = COG_recall_fredrik_olsen_to_active_service_tt

			hidden_effect = {
				set_country_flag = COG_recalled_fredrik_olsen_flag 
			}
		}

	}

	# Recall Charles Tombeur, 1st Baron of Tabora to Active Service
	COG_recall_charles_tombeur_to_active_service  = {

		priority = 38

		icon = GFX_decision_generic_army_support

		ai_will_do = {
			base = 40
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			has_war = yes
		}

		visible = { 
			tag = COG
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			NOT = { has_country_flag = COG_recalled_charles_tombeur_flag }
		} 

		days_remove = 35 

		custom_cost_trigger = {
			command_power > 24.9
		}
		custom_cost_text = ETH_build_local_resistance_force_cost

		complete_effect = {
			add_command_power = -25 
		}

		modifier = {
		}

		remove_effect = {

			custom_effect_tooltip = COG_recall_charles_tombeur_to_active_service_tt

			hidden_effect = {
				set_country_flag = COG_recalled_charles_tombeur_flag 
			}
		}

	}

	# Recall Léopold De Koninck to Active Service
	COG_recall_leopold_de_koninck_to_active_service  = {

		priority = 37

		icon = GFX_decision_generic_belgian_colonial_helmet

		ai_will_do = {
			base = 40
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			has_war = yes
		}

		visible = { 
			tag = COG
			has_completed_focus = CONGO_belgian_officer_corps
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			NOT = { has_country_flag = COG_recalled_leopold_de_konick_flag }
		} 

		days_remove = 35 

		custom_cost_trigger = {
			command_power > 24.9
		}
		custom_cost_text = ETH_build_local_resistance_force_cost

		complete_effect = {
			add_command_power = -25 
		}

		modifier = {
		}

		remove_effect = {

			custom_effect_tooltip = COG_recall_leopold_de_koninck_to_active_service_tt

			hidden_effect = {
				set_country_flag = COG_recalled_leopold_de_konick_flag 
			}
		}

	}

	# The Increased Food Production Scheme
	COG_increased_food_production_scheme_decision  = {

		priority = 60

		icon = GFX_decision_hol_exchange_intelligence_data

		ai_will_do = {
			base = 50
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = CONGO_humanitarian_aid
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
		}

		visible = { 
			original_tag = COG
			has_completed_focus = CONGO_humanitarian_aid
			OR = {
				is_subject_of = BEL
				has_completed_focus = CONGO_dominion_of_congo
			}
			NOT = { has_country_flag = COG_requested_to_initiate_the_food_production_scheme_flag }
		} 

		days_remove = 7 

		cost = 15

		complete_effect = {
		}

		modifier = {
		}

		remove_effect = {
			
			BEL = {
				country_event = {
					id = ww_congo.5
					hours = 1
				}
			}

			hidden_effect = {
				set_country_flag = COG_requested_to_initiate_the_food_production_scheme_flag 
			}
		}

	}

	# Integrate the Kongolese Separatists
	COG_integrate_kongolese_separatists  = {

		priority = 150

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 500
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = COG_uniao_dos_povos_do_norte_de_angola
			has_country_flag = {
			 	flag = COG_time_until_annex_angola_rebellion
			 	days > 84
			} 
			custom_trigger_tooltip = {
				tooltip = COG_days_left_for_rebellion_tt
				has_country_flag = {
					flag = COG_time_until_annex_angola_rebellion
					days > 84
				}
			}
		}

		visible = { 
			original_tag = COG
			has_completed_focus = COG_uniao_dos_povos_do_norte_de_angola
			has_government = neutrality
			is_subject = no
			NOT = { has_country_flag = COG_integrated_rebels_flag }
		} 

		cost = 10

		complete_effect = {

			every_country = {
				limit = {
					has_country_flag = COG_to_be_annexed_angola_flag
				}
				ROOT = {
					annex_country = {
						target = PREV
						transfer_troops = yes
					}	
				}
			}

			hidden_effect = {
				set_country_flag = COG_integrated_rebels_flag 
			}

		}

		modifier = {
		}

		remove_effect = {
		}

	}

	# Move the Capital to Loango
	COG_move_the_capital_to_loango  = {

		priority = 50

		icon = GFX_decision_generic_operation

		ai_will_do = {
			base = 200
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = COG_the_ma_loango_focus
			772 = {
				is_fully_controlled_by = ROOT
			}
		}

		visible = { 
			original_tag = COG
			has_completed_focus = COG_the_ma_loango_focus
			has_government = neutrality
			NOT = { has_country_flag = COG_moved_the_capital_to_loango_flag }
		} 

		cost = 25

		complete_effect = {

			772 = {
				transfer_state_to = ROOT
				add_core_of = ROOT
				set_victory_points = {
					province = 12975
					value = 5
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_capital = {
			 	state = 772
			 	remember_old_capital = no
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = 0.05
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			772 = {
				add_extra_state_shared_building_slots = 4
			}

			hidden_effect = {
				set_country_flag = COG_moved_the_capital_to_loango_flag 
			}
		}

		modifier = {
		}

		remove_effect = {
		}

	}

	# Move the Capital to Bujumbura
	COG_move_the_capital_to_bujumbura  = {

		priority = 50

		icon = GFX_decision_generic_operation

		ai_will_do = {
			base = 200
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = COG_the_mwami_of_burundi_focus
			769 = {
				is_fully_controlled_by = ROOT
			}
		}

		visible = { 
			original_tag = COG
			has_completed_focus = COG_the_mwami_of_burundi_focus
			has_government = neutrality
			NOT = { has_country_flag = COG_moved_the_capital_to_bujumbura_flag }
		} 

		cost = 25

		complete_effect = {

			769 = {
				transfer_state_to = ROOT
				add_core_of = ROOT	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_capital = {
			 	state = 769
			 	remember_old_capital = no
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = 0.05
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			769 = {
				add_extra_state_shared_building_slots = 4
			}

			hidden_effect = {
				set_country_flag = COG_moved_the_capital_to_bujumbura_flag 
			}
		}

		modifier = {
		}

		remove_effect = {
		}

	}

	# Move the Capital to Kigali
	COG_move_the_capital_to_kigali  = {

		priority = 50

		icon = GFX_decision_generic_operation

		ai_will_do = {
			base = 200
		}

		allowed = {  
			original_tag = COG
			has_dlc = "Gotterdammerung"
		}

		available = {
			has_completed_focus = COG_the_umwami_of_rwanda_focus
			768 = {
				is_fully_controlled_by = ROOT
			}
		}

		visible = { 
			original_tag = COG
			has_completed_focus = COG_the_umwami_of_rwanda_focus
			has_government = neutrality
			NOT = { has_country_flag = COG_moved_the_capital_to_kigali_flag }
		} 

		cost = 25

		complete_effect = {

			768 = {
				transfer_state_to = ROOT
				add_core_of = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_capital = {
			 	state = 768
			 	remember_old_capital = no
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = 0.05
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			768 = {
				add_extra_state_shared_building_slots = 4
			}

			hidden_effect = {
				set_country_flag = COG_moved_the_capital_to_kigali_flag 
			}
		}

		modifier = {
		}

		remove_effect = {
		}

	}

	COG_core_conquered_state_burundi = {

		icon = GFX_decision_generic_form_nation

		ai_will_do = {
			base = 150
		}
	
		allowed = {
			original_tag = COG
		}

		visible = { 
			has_completed_focus = COG_south_to_lake_malawi
		}

		available = {
			has_completed_focus = COG_south_to_lake_malawi
			FROM = {
				is_fully_controlled_by = ROOT
			}
		} 

		state_target = yes

		target_trigger = {
			FROM = {
				impassable = no	
				NOT = {
					is_core_of = ROOT
				}
				OR = {
					state = 770
					state = 897
				}
			}
		}

	    on_map_mode = map_and_decisions_view 

		cost = 75
		
		fire_only_once = yes

		days_remove = 35

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {
			FROM = {
				add_core_of = ROOT
			}
		}
	}

	COG_core_conquered_state_mittelafrika = {

		icon = GFX_decision_generic_form_nation

		ai_will_do = {
			base = 150
		}
	
		allowed = {
			original_tag = COG
		}

		visible = { 
			has_completed_focus = COG_colonial_administration
		}

		available = {
			has_completed_focus = COG_colonial_administration
			FROM = {
				is_fully_controlled_by = ROOT
			}
		} 

		state_target = yes

		target_trigger = {
			FROM = {
				impassable = no	
				NOT = {
					is_core_of = ROOT
				}
				OR = {
					region = 223
					region = 215
					region = 217
					region = 272
					region = 183
					region = 184
					region = 140
					region = 224
					region = 185
				}
			}
		}

	    on_map_mode = map_only 

		cost = 75
		
		fire_only_once = yes

		days_remove = 35

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {
			FROM = {
				add_core_of = ROOT
			}
		}
	}



}



COG_industrial_investment_decisions = {
	
	# Invest Funds into Local Industries
	COG_investments_into_civ_factory  = {

		priority = 15

		icon = GFX_decision_gre_investment_decisions

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}

		visible = {
			has_completed_focus = CONGO_secure_international_funding
			any_owned_state = {
				is_core_of = ROOT
				NOT = {
					has_state_flag = {
						flag = COG_invested_into_industry_in_state_flag
					}	
				}
			}
		}
	
		available = {
			has_completed_focus = CONGO_secure_international_funding
			any_other_country = {
				is_major = yes
				has_opinion = {
					target = ROOT
					value > 50
				} 
			}
		}

		days_remove = 70

		days_re_enable = 360

		cost = 50

		modifier = {
			consumer_goods_factor = 0.1
			political_power_factor = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {
			
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					NOT = {
						has_state_flag = {
							flag = COG_invested_into_industry_in_state_flag
						}	
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = COG_invested_into_industry_in_state_flag
			}

			custom_effect_tooltip = COG_investments_into_civ_factory_tt

		}

	}

	# Invest Funds into Local Villages
	COG_investments_into_villages  = {

		priority = 20

		icon = GFX_decision_generic_welfare

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}

		visible = {
			has_completed_focus = CONGO_secure_international_funding
		}
	
		available = {
			has_completed_focus = CONGO_secure_international_funding
			any_other_country = {
				is_major = yes
				has_opinion = {
					target = ROOT
					value > 50
				} 
			}
		}

		days_remove = 70

		cost = 50

		modifier = {
			consumer_goods_factor = 0.15
		}

		complete_effect = { 
		}

		remove_effect = {
			
			add_timed_idea = {
				idea = COG_economic_surplus
				days = 365
			}	

		}

	}

	# Utilize Kimberite Pipes to expand the Bakwanga Mine
	COG_kimberite_pipes_to_expand_bakwanga_mine  = {

		priority = 10

		icon = GFX_decision_generic_construction

		ai_will_do = {
			base = 100
		}

		highlight_states = {
			highlight_state_targets = {
				state = 888
			}
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_completed_focus = CONGO_bakwanga_mine
			has_tech = excavation2
			888 = {
				is_fully_controlled_by = ROOT
			}
		}

		visible = { 
			has_completed_focus = CONGO_bakwanga_mine
			NOT = {
				has_country_flag = COG_used_kimberite_pipes_flag
			}
		}

		days_remove = 35

		#days_re_enable = 180

		cost = 50

		cancel_trigger = {
		    888 = {
		       NOT = {
		       	is_fully_controlled_by = ROOT
		       }
		    }
		}

        cancel_effect = {
        }

		modifier = {
		}

		complete_effect = { 
		}

		remove_effect = {

			custom_effect_tooltip = modify_COG_belgian_congo_colonial_dynamic_modifier_tt
			add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = {
					888 = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}	
					}
				}
				888 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex 
						level = 1
						instant_build = yes
					}	
				}
			}

			hidden_effect = {
				set_country_flag = COG_used_kimberite_pipes_flag
			}

		}

	}
}


# Economic Policies Category
economy_decisions = { 

	# Sell Diamonds on the Black Market
	COG_sell_diamonds_on_the_black_market_decision  = {

		priority = 10

		icon = GFX_decision_hol_attract_foreign_investors

		ai_will_do = {
			base = 0
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_completed_focus = CONGO_smuggle_diamonds
		}

		visible = { 
			has_completed_focus = CONGO_smuggle_diamonds
		}

		#days_remove = 70

		days_re_enable = 180

		cost = 5

		modifier = {
		}

		complete_effect = { 

			add_political_power = 75
			IF = {
				limit = {
					is_subject = yes
				}
				add_autonomy_score = { 
					value = -75
					localization = CONGO_sold_diamonds_on_the_black_market
				}
			}
			ELSE = {
				add_stability = -0.05
			}
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = COG_sell_diamonds_on_the_black_market_decision_tt

		}

	}

	# Oust the Gold Barons
	COG_oust_the_gold_barons  = {

		priority = 9

		icon = GFX_decision_SWI_dismiss_council

		ai_will_do = {
			base = 0
		}
	
		allowed = {  
			original_tag = COG 
		}

		visible = { 
			has_idea = COG_extensive_gold_mines
			NOT = {
				has_country_flag = COG_ousted_the_barons_flag
			}
		}
	
		available = {
			has_idea = COG_extensive_gold_mines
		}

		days_remove = 35

		#days_re_enable = 180

		cost = 75

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = { 
		}

		remove_effect = {

			remove_ideas = COG_extensive_gold_mines		

			hidden_effect = {
				set_country_flag = COG_ousted_the_barons_flag
			}

		}

	}

	COG_offer_uranium_sales_decision = {
		priority = 5
		icon = GFX_decision_gre_investment_decisions 

		priority = 5

		ai_will_do = {
			base = 2
			modifier = {
				factor = 3
				FROM = {
					has_government = ROOT
				}
			}
			modifier = {
				factor = 3
				has_opinion = {
					target = FROM
					value >50
				}	
			}
		}

		allowed = {
			original_tag = COG
		}

		visible = {	
			has_completed_focus = CONGO_smuggle_uranium
		}

		target_trigger = {
			FROM = {
				is_major = yes
				NOT = {
					OR = {
						original_tag = COG
						original_tag = BEL
						has_idea = COG_congolese_uranium_trade_ns
					}
				}
			}
		}

		available = {
		}

		fire_only_once = yes

		cost = 150

		complete_effect = {

			FROM = {
				country_event = {
					id = ww_congo.63
					hours = 6
					random_hours = 12
				}	
			}

			custom_effect_tooltip = if_they_accept_tt

			effect_tooltip = {
				add_offsite_building = {
					type = industrial_complex
					level = 2
				}	
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				FROM = {
					add_ideas = COG_congolese_uranium_trade_ns
					add_breakthrough_progress = {
						specialization = specialization_nuclear
						value = 0.25
					}
				}
			}
		}
	}

	# Cancel the Uranium Trade
	COG_cancel_the_trade_deal_decision  = {

		priority = 10

		icon = GFX_decision_SWI_dismiss_council

		ai_will_do = {
			base = 0
		}
	
		allowed = {  
			always = yes
		}

		visible = { 
			has_idea = COG_congolese_uranium_trade_ns
			NOT = {
				has_country_flag = stopped_the_uranium_trade_flag
			}
		}
	
		available = {
			has_idea = COG_congolese_uranium_trade_ns
		}

		#days_re_enable = 180

		cost = 50

		complete_effect = { 
			remove_ideas = COG_congolese_uranium_trade_ns	

			custom_effect_tooltip = generic_skip_one_line_tt

			effect_tooltip = {
				COG = {
					add_offsite_building = {
						type = industrial_complex
						level = -2
					}
				}
			}	

			hidden_effect = {
				COG = {
					country_event = {
						id = ww_congo.66
						hours = 2
					}
				}
				set_country_flag = stopped_the_uranium_trade_flag
			}
		}

	}

	COG_uranium_trust_invitation_decision = {
		priority = 5
		icon = GFX_decision_eng_trade_unions_support 

		priority = 15

		ai_will_do = {
			base = 1
			modifier = {
				factor = 2
				FROM = {
					has_government = ROOT
				}
			}
			modifier = {
				factor = 2
				has_opinion = {
					target = FROM
					value >50
				}	
			}
		}

		allowed = {
			original_tag = BEL
		}

		visible = {	
			has_completed_focus = CONGO_uranium_development_trust
		}

		target_trigger = {
			FROM = {
				is_in_faction_with = ROOT
				NOT = {
					OR = {
						original_tag = COG
						original_tag = BEL
						has_idea = COG_uranium_development_trust_member_ns
					}
				}
			}
		}

		available = {
		}

		fire_only_once = yes

		cost = 75

		complete_effect = {

			FROM = {
				country_event = {
					id = ww_congo.67
					hours = 6
					random_hours = 12
				}	
			}

			custom_effect_tooltip = if_they_accept_tt

			effect_tooltip = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				FROM = {
					add_ideas = COG_uranium_development_trust_member_ns
					add_breakthrough_progress = {
						specialization = specialization_nuclear
						value = 0.25
					}
				}
			}
		}
	}

}


# War Measures Category
war_measures = { 


	# Force Lepoldville Capitulation
	COG_force_leopoldville_capitulation_decision  = {

		priority = 100

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 500
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			any_country = {
				is_subject_of = BEL
				has_war_with = ROOT
				original_tag = COG
			}
			295 = {
				OR = {
					is_controlled_by = ROOT
					CONTROLLER = {
						is_subject_of = ROOT
					}
				}
			}
			718 = {
				OR = {
					is_controlled_by = ROOT
					CONTROLLER = {
						is_subject_of = ROOT
					}
				}
			}
			889 = {
				OR = {
					is_controlled_by = ROOT
					CONTROLLER = {
						is_subject_of = ROOT
					}
				}
			}
		}

		visible = { 
			has_global_flag = CONGO_independence_war_ongoing
			any_country = {
				has_war_with = ROOT
				original_tag = COG
			}
			NOT = {
				is_subject_of = BEL
			}
			NOT = {
				has_country_flag = COG_already_forced_a_peace_flag
			}
		}

		#days_remove = 70

		#days_re_enable = 180

		cost = 25

		complete_effect = { 

			custom_effect_tooltip = COG_force_leopoldville_capitulation_decision_tt

			hidden_effect = {

				every_country = {
					limit = {
						OR = {
							original_tag = BEL
							is_in_faction_with = BEL
							is_subject_of = BEL
						}
						has_war_with = ROOT
					}
					ROOT = {
						white_peace = {
							tag = PREV
						}
					}
				}

				every_country = {
					limit = {
						OR = {
							original_tag = COG
							original_tag = KAT
							original_tag = RCG
						}
						OR = {
							has_war_with = ROOT
							is_subject_of = BEL
							is_subject_of = ROOT
						}
					} 
					ROOT = {
						annex_country = {
							target = PREV
							transfer_troops = no
						}	
					}
				}
				
				clr_global_flag = CONGO_independence_war_ongoing
				news_event = { 
					id = ww_congo.19
					hours = 12
				}

				IF = {
					limit = {
						ROOT = {
							has_idea = COG_anti_colonialist_propaganda_idea
						}
					}
					remove_ideas = {
						COG_anti_colonialist_propaganda_idea
					}
				}

				set_country_flag = COG_already_forced_a_peace_flag
			}

		}

	}
	

}




COG_ruanda_urundi_decisions = {
	
	# Expand Cash-Crop Farming
	COG_expand_ruanda_urundi_cash_crop_farming  = {

		priority = 10

		icon = GFX_decision_POL_organize_strike_two

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
		}

		visible = { 
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
			NOT = {
				has_country_flag = COG_expanded_cash_crop_farms
			}
		}

		days_remove = 70

		#days_re_enable = 180

		cost = 50

		cancel_trigger = {
			AND = {
				768 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				769 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			industrial_capacity_factory = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {

			add_timed_idea = {
				idea = cash_crop_farms_idea
				days = 365
			}	

			hidden_effect = {
				set_country_flag = COG_expanded_cash_crop_farms
			}

		}

	}

	# Utilzie Volcanic Soils to Cultivate Coffee
	COG_utilize_volcanic_soils_to_cultivate_coffee  = {

		priority = 9

		icon = GFX_decision_POL_looming_peasants_strike

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
		}

		visible = { 
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
			NOT = {
				has_country_flag = COG_expanded_coffee_fields
			}
		}

		days_remove = 70

		#days_re_enable = 180

		cost = 75

		cancel_trigger = {
			AND = {
				768 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				769 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			production_speed_buildings_factor = -0.1
			industrial_capacity_factory = -0.05
		}

		complete_effect = { 
		}

		remove_effect = {

			add_ideas = ETH_coffee_exports_idea
			
			IF = {
				limit = {
					768 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
				}
				768 = { 
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}	
			ELSE_IF = {
				limit = {
					769 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
				}
				769 = { 
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			hidden_effect = {
				set_country_flag = COG_expanded_coffee_fields
			}

		}

	}

	# Improve Ruandan Civil Administration
	COG_improve_ruandan_civil_adminsitration  = {

		priority = 8

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_idea = COG_eugene_jungers
			owns_state = 768
		}

		visible = { 
			has_idea = COG_eugene_jungers
			owns_state = 768
			768 = {
				NOT = {
					is_core_of = ROOT
				}
			}
			NOT = {
				has_country_flag = COG_improved_ruandan_administration
			}
		}

		days_remove = 21

		#days_re_enable = 180

		cost = 25

		cancel_trigger = {
			768 = {
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {

			768 = {
				add_resistance = -10
				add_compliance = 10
			}

			hidden_effect = {
				set_country_flag = COG_improved_ruandan_administration
			}

		}

	}

	# Improve Urundian Civil Administration
	COG_improve_urundian_civil_adminsitration  = {

		priority = 7

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_idea = COG_eugene_jungers
			owns_state = 769
		}

		visible = { 
			has_idea = COG_eugene_jungers
			owns_state = 769
			769 = {
				NOT = {
					is_core_of = ROOT
				}
			}
			NOT = {
				has_country_flag = COG_improved_urundian_administration
			}
		}

		days_remove = 21

		#days_re_enable = 180

		cost = 25

		cancel_trigger = {
			769 = {
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {

			769 = {
				add_resistance = -10
				add_compliance = 10
			}

			hidden_effect = {
				set_country_flag = COG_improved_urundian_administration
			}

		}

	}

	# Construct Conscription Centers
	COG_ruanda_urundi_conscription_centers  = {

		priority = 6

		icon = GFX_decision_generic_military

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
			has_war = yes
		}

		visible = { 
			has_idea = COG_eugene_jungers
			OR = {
				owns_state = 768
				owns_state = 769
			}
			NOT = {
				has_country_flag = COG_ruanda_urndian_conscription_drive
			}
		}

		days_remove = 35

		#days_re_enable = 180

		cost = 50

		cancel_trigger = {
			AND = {
				768 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				769 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			political_power_factor = -0.1
			production_speed_buildings_factor = -0.05
		}

		complete_effect = { 
		}

		remove_effect = {

			add_timed_idea = {
				idea = COG_ruanda_urundian_conscription_drive_idea
				days = 365
			}	

			hidden_effect = {
				set_country_flag = COG_ruanda_urndian_conscription_drive
			}

		}

	}


}





COG_the_empain_group_decisions = {
	
	
	# Invest in the Compagnie du chemin de fer du Congo supérieur aux Grands Lacs africains
	COG_invest_in_cfl  = {

		priority = 15

		icon = GFX_decision_generic_train

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			AND = {
				889 = {
					is_owned_and_controlled_by = ROOT
				}
				888 = {
					is_owned_and_controlled_by = ROOT
				}
				890 = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		visible = { 
			OR = {
				owns_state = 889
				owns_state = 888
				owns_state = 890
			}
			NOT = {
				has_country_flag = COG_invested_in_cfl_flag
			}
		}

		days_remove = 56

		#days_re_enable = 180

		cost = 75

		cancel_trigger = {
			AND = {
				889 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				888 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				890 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			production_speed_buildings_factor = -0.03
			industrial_capacity_factory = -0.05
		}

		complete_effect = { 
		}

		remove_effect = {
			
			IF = {
				limit = {
					889 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				889 = { 
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					888 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				888 = { 
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					890 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				890 = { 
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			hidden_effect = {
				set_country_flag = COG_invested_in_cfl_flag
			}

		}

	}

	# Invest in the Compagnie Minière au RuandaUrundi
	COG_invest_in_mirundi  = {

		priority = 10

		icon = GFX_decision_tungsten

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			AND = {
				768 = {
					is_owned_and_controlled_by = ROOT
				}
				769 = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		visible = { 
			OR = {
				owns_state = 768
				owns_state = 769
			}
			NOT = {
				has_country_flag = COG_invested_in_mirundi_flag
			}
		}

		days_remove = 35

		#days_re_enable = 180

		cost = 75

		cancel_trigger = {
			AND = {
				768 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				769 = {
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			industrial_capacity_factory = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {
			
			768 = {
				add_resource = {
					type = tungsten
					amount = 8
				}
				add_resource = {
					type = aluminium
					amount = 2
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			769 = {
				add_resource = {
					type = tungsten
					amount = 4
				}
				add_resource = {
					type = aluminium
					amount = 1
				}	
			}

			hidden_effect = {
				set_country_flag = COG_invested_in_mirundi_flag
			}

		}

	}

	# Found Compagnie Minière du Nord de l'Ituri
	COG_found_cominor  = {

		priority = 11

		icon = GFX_decision_aluminium

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			718 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		visible = { 
			owns_state = 718
			NOT = {
				has_country_flag = COG_founded_cominor_flag
			}
		}

		days_remove = 56

		#days_re_enable = 180

		cost = 50

		cancel_trigger = {
			718 = {
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			industrial_capacity_factory = -0.1
			consumer_goods_factor = 0.1
		}

		complete_effect = { 
		}

		remove_effect = {
			
			718 = {
				add_resource = {
					type = tungsten
					amount = 2
				}
				add_resource = {
					type = aluminium
					amount = 3
				}	
				add_resource = {
					type = steel
					amount = 2
				}	
			}

			hidden_effect = {
				set_country_flag = COG_founded_cominor_flag
			}

		}

	}

	# Invest in the Société Minière du Lualaba
	COG_invest_in_miluba  = {

		priority = 12

		icon = GFX_decision_generic_construction

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			889 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		visible = { 
			owns_state = 889
			NOT = {
				has_country_flag = COG_invested_in_miluba_flag
			}
		}

		days_remove = 56

		#days_re_enable = 180

		cost = 75

		cancel_trigger = {
			889 = {
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			industrial_capacity_factory = -0.1
			production_speed_buildings_factor = -0.1
		}

		complete_effect = { 
		}

		remove_effect = {
			
			889 = {
				add_resource = {
					type = chromium
					amount = 6
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					889 = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}	
					}
				}
				889 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}	
				}
			}

			hidden_effect = {
				set_country_flag = COG_invested_in_miluba_flag
			}

		}

	}

	# Invest in the Compagnie Minière de l'Urega
	COG_invest_in_minerga  = {

		priority = 9

		icon = GFX_decision_generic_factory

		ai_will_do = {
			base = 50
		}
	
		allowed = {  
			original_tag = COG 
		}
	
		available = {
			718 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		visible = { 
			owns_state = 718
			NOT = {
				has_country_flag = COG_invested_in_minerga_flag
			}
		}

		days_remove = 70

		#days_re_enable = 180

		cost = 50

		cancel_trigger = {
			718 = {
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

        cancel_effect = {
        }

		modifier = {
			industrial_capacity_factory = -0.05
			production_speed_buildings_factor = -0.15
		}

		complete_effect = { 
		}

		remove_effect = {
			
			add_ideas = COG_extensive_gold_mines

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = {
				set_country_flag = COG_invested_in_minerga_flag
			}

		}

	}


}

COG_anti_colonialism_category = {
	COG_support_resistance_decision = {
		icon = GFX_decision_generic_nationalism
		#target_trigger = {
		#	FROM = { is_east_african_colony_state = yes }
		#}
		target_array = COG.african_colonial_states_array 
		target_root_trigger = { original_tag = COG } 
		state_target = yes
		on_map_mode = map_only
		fire_only_once = yes 
		available = {
			NOT = { has_country_flag = COG_independence_support_progress_flag }
			NOT = { FROM.owner = { is_in_faction_with = ROOT } }
		}

		visible = {
			FROM = {
				NOT = {
					has_dynamic_modifier = {
						modifier = COG_state_supporting_resistance_modifier
						scope = THIS.owner 
					}
				}
			} 
			FROM = { NOT = { is_core_of = THIS.owner } } # Hide it if no longer a colony 
			FROM = { NOT = { is_owned_by = ROOT } }# It gets kind of silly when you start supporting resistance against yourself, doesn't it
		}
		days_remove = 30
 
		custom_cost_trigger = {
			command_power > 24.9
		}
		custom_cost_text = ETH_support_resistance_decision_cost

		modifier = {
			industrial_capacity_factory = -0.15
		}

		complete_effect = {
			set_country_flag = COG_independence_support_progress_flag
		}

		remove_effect = {
			clr_country_flag = COG_independence_support_progress_flag
			add_command_power = -25
			FROM = {
				add_compliance = -35
				add_resistance = 15  
				add_dynamic_modifier = {
					modifier = COG_state_supporting_resistance_modifier
					scope = THIS.owner 
					days = 365
				}
			}
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 175
				AND = {
					has_war = no 
					command_power > 50
				}
			}
			modifier = {
				factor = 2
				has_government = communism
			}
		}
	}

	COG_arm_resistance_decision = {
		icon = GFX_decision_generic_prepare_civil_war
		target_array = COG.african_colonial_states_array 
		target_root_trigger = { original_tag = COG } 
		state_target = yes
		on_map_mode = map_only
		fire_only_once = yes 
		available = {
			NOT = { FROM.owner = { is_in_faction_with = ROOT } }
			NOT = { has_country_flag = COG_arm_resistance_flag }
		}
		visible = {
			FROM = {
				has_dynamic_modifier = {
					modifier = COG_state_supporting_resistance_modifier
					scope = THIS.owner 
				}
			} 
			FROM = { NOT = { is_core_of = THIS.owner } } # Hide it if no longer a colony 

		}
		days_remove = 7
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000
		modifier = {
	
		}
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -1000
			}
			set_country_flag = COG_arm_resistance_flag	
		}
		remove_effect = {
			clr_country_flag = COG_arm_resistance_flag
			FROM = {
				add_resistance = 40
			}
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 200
				AND = {
					has_war = no 
					has_equipment = { infantry_equipment > 999 }
				}
			}
			modifier = {
				factor = 2
				has_government = communism
			}
		}
	}

	COG_support_independence_decision = {
		icon = GFX_decision_eng_propaganda_campaigns
		target_trigger = {
			FROM = {
				capital_scope = { is_on_continent = africa }
				is_subject = yes 
				NOT = {
					is_subject_of = ROOT
				}
			}
		}
		target_root_trigger = { original_tag = COG } 

		# on_map_mode = map_only

		fire_only_once = no 

		available = {
			#NOT = { has_country_flag = COG_independence_support_progress_flag }
			NOT = {
				has_country_flag = {
					flag = COG_independence_support_progress_flag
					value > 0
				}
			}
			NOT = {is_in_faction_with = FROM}
		}

		remove_trigger = { FROM = { is_subject = no } }

		visible = {
			
		}

		#cancel_trigger = {
		#	FROM = { is_subject = no }
		#}
		#cancel_effect = {
		#	clr_country_flag = COG_independence_support_progress_flag
		#}
		
		days_remove = 90
		days_re_enable = 30 

		cost = 15

		modifier = {
			political_power_factor = -0.25
		}

		complete_effect = {
			#set_country_flag = COG_independence_support_progress_flag
			FROM = {
				add_timed_idea = {
					idea = COG_ethiopia_supporting_independence_idea
					days = 90
				}
			}	
			set_country_flag = {
				flag = COG_independence_support_progress_flag
				days = 90
				value = 1
			}		
		}
		remove_effect = {
			#clr_country_flag = COG_independence_support_progress_flag
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 200
				AND = {
					has_war = no 
					has_equipment = { infantry_equipment > 999 }
				}
			}
			modifier = {
				factor = 2
				has_government = communism
			}
		}
	}

	COG_anti_colonialism_decision = {
		icon = GFX_decision_eng_propaganda_campaigns
		target_trigger = {
			FROM = {
				NOT = { capital_scope = { is_on_continent = africa } }
				any_owned_state = {
					is_on_continent = africa
					NOT = { is_core_of = PREV }
					is_in_array = {
						array = COG.african_colonial_states_array 
						value = THIS  
					}
					has_active_resistance = yes
				}
			}
			
		}
		target_root_trigger = { original_tag = COG } 
		# on_map_mode = map_only
		fire_only_once = yes  
		available = {
			NOT = { has_country_flag = COG_independence_support_progress_flag }
			NOT = { is_in_faction_with = FROM }
		}
		visible = {
			
		}
		days_remove = 30
		cost = 15
		modifier = {
			political_power_factor = -0.25
		}
		complete_effect = {
			set_country_flag = COG_independence_support_progress_flag
					
		}
		remove_effect = {
			clr_country_flag = COG_independence_support_progress_flag
			FROM = {
				every_owned_state = {
					limit = {
						is_on_continent = africa
						is_controlled_by = PREV
						has_active_resistance = yes
					}
					add_compliance = -20
					add_resistance = 5
				}
			}
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 100
				has_war = no
			}
			modifier = {
				add = 100
				has_government = communism
			}
		}
	}

}



COG_freedom_at_gunpoint_category = {

	COG_freedom_at_gunpoint_dynamic = {

		icon = GFX_decision_generic_prepare_civil_war

		target_array = freedom_at_gunpoint_array 
		target_root_trigger = { original_tag = COG } 

		fire_only_once = no 

		target_non_existing = yes

		allowed = {
			original_tag = COG
		}

		available = {
			NOT = {
				has_country_flag = COG_has_active_liberation_goal
			}
		}

 		cost = 50

		visible = {
			FROM = {
				exists = no
				capital_scope = {
					NOT = { is_owned_by = ROOT }
					OWNER = {
						NOT = { 
							OR = {
								is_in_faction_with = ROOT 
								is_subject_of = ROOT
							}
						}
					}
				}
				NOT = {
					is_in_array = {
						COG_has_liberation_goal_array = THIS
					}
				}
				ROOT = {
					NOT = {
						has_country_flag = COG_has_active_liberation_goal
					}
				}
			}	 
		}

		days_remove = 14

		complete_effect = {
			hidden_effect = {
				FROM = {
					capital_scope = {
						OWNER = {
							set_variable = {
								var_COG_wargoal_target = THIS
							}
						}
					}
				}
				set_country_flag = COG_has_active_liberation_goal
			}			
			add_war_support = 0.02
		}
		
		remove_effect = {

			custom_effect_tooltip = ETH_freedom_at_gunpoint_dynamic_tt

			hidden_effect = {
				FROM = {
					# Using an array here instead of a variable as I may tweak this further to allow multiple liberation decisions to be taken. 
					add_to_array = { COG.COG_has_liberation_goal_array = THIS }
					capital_scope = {
						ROOT = {
							create_wargoal = {
								target = PREV.owner
								type = liberate_wargoal
								expire = 0
							}
						}
					}
				}
			}
			
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 175
				AND = {
					has_war = no 
					has_political_power > 100
				}
			}
			modifier = {
				factor = 2
				has_government = communism
			}
		}
	}

	COG_freedom_at_gunpoint_offer_peace = {

		cost = 50

		fire_only_once = no

		icon = GFX_decision_generic_form_nation

		allowed = { original_tag = COG }

		target_array = COG_has_liberation_goal_array

		target_root_trigger = { original_tag = COG } 

		target_non_existing = yes

		visible = {			
			FROM = {
				capital_scope = {
					OWNER = {
						has_war_with = ROOT
					}
				}
			}				
		}

		days_remove = 3

		remove_effect = {

			custom_effect_tooltip = COG_freedom_at_gunpoint_offer_peace_tt

			hidden_effect = {
				set_variable = {
					COG_disputed_colony = FROM
				}
				FROM = {			
					capital_scope = {
						OWNER = {
							country_event = {
								id = ww_congo.37
								hours = 1
							}
						}
					}

				}
			}

		}

	}

}



COG_congo_integration_decisions = {
	
	COG_core_conquered_state = {

		icon = GFX_decision_generic_form_nation

		ai_will_do = {
			base = 150
		}
	
		allowed = {
			original_tag = COG
		}

		visible = { 
			has_completed_focus = COG_declaration_of_congolese_unity
		}

		available = {
			has_completed_focus = COG_declaration_of_congolese_unity
			FROM = {
				is_fully_controlled_by = ROOT
			}
		} 

		state_target = yes

		target_trigger = {
			FROM = {
				impassable = no	
				NOT = {
					is_core_of = ROOT
				}
				OR = {
					state = 538
					state = 718
					state = 890
					state = 888
					state = 889 
					state = 295
					state = 772
					state = 796
					state = 540
				}
			}
		}

	    on_map_mode = map_and_decisions_view 

		cost = 75
		
		fire_only_once = yes

		days_remove = 35

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {
			FROM = {
				add_core_of = ROOT
			}
		}
	}


}




