
BOL_bolivian_irredentism = {

	# Restoring the Litoral Department
	BOL_reintegrate_litoral_department  = {

		priority = 100

		icon = GFX_decision_BOL_reintegrate_litoral_department

		ai_will_do = {
			base = 500
		}

		allowed = {  
			original_tag = BOL
		}

		available = {
			controls_state = 506
			506 = {
				NOT = {
					is_core_of = ROOT
				}
			}
		}

		state_target = yes
		target_trigger = {
		    FROM = {
		    	state = 506
		    }
		}
		on_map_mode = map_and_decisions_view

		visible = { 
			NOT = {
				506 = {
					is_core_of = ROOT
				}
			}
			NOT = {
				has_country_flag = BOL_restored_the_litoral_department_flag
			}
			has_dlc = "Trial of Allegiance"
		}

		cost = 100
 
		days_remove = 70  

		modifier = {
			weekly_manpower = -25
			political_power_gain = -0.15
		}

		complete_effect = { 

			IF = {
				limit = {
					506 = {
						is_claimed_by = ROOT
					}
				}
				506 = {
					remove_claim_by = ROOT
				}
			}

			506 = {
				add_core_of = ROOT
			}

			ROOT = {
				transfer_state = 506
			}
			
			add_war_support = 0.05

			hidden_effect = {
				set_country_flag = BOL_restored_the_litoral_department_flag
			}
		}

		remove_effect = {

		}

	}

	# Restoring the State of Acre
	BOL_reintegrate_acre_state  = {

		priority = 90

		icon = GFX_decision_BOL_reintegrate_acre_state

		ai_will_do = {
			base = 500
		}

		allowed = {  
			original_tag = BOL
		}

		available = {
			controls_state = 940
			940 = {
				NOT = {
					is_core_of = ROOT
				}
			}
		}

		state_target = yes
		target_trigger = {
		    FROM = {
		    	state = 940
		    }
		}
		on_map_mode = map_and_decisions_view

		visible = { 
			NOT = {
				940 = {
					is_core_of = ROOT
				}
			}
			NOT = {
				has_country_flag = BOL_restored_the_acre_state_flag
			}
			has_dlc = "Trial of Allegiance"
		}

		cost = 100
	
		days_remove = 70  

		modifier = {
			weekly_manpower = -25
			political_power_gain = -0.15
		}

		complete_effect = { 

			IF = {
				limit = {
					940 = {
						is_claimed_by = ROOT
					}
				}
				940 = {
					remove_claim_by = ROOT
				}
			}

			940 = {
				add_core_of = ROOT
			}

			ROOT = {
				transfer_state = 940
			}
			
			add_war_support = 0.05

			hidden_effect = {
				set_country_flag = BOL_restored_the_acre_state_flag
			}
		}

		remove_effect = {

		}

	}

	# Establishing the Arica Department
	BOL_establish_arica_department  = {

		priority = 50

		icon = GFX_decision_BOL_establish_arica_department

		ai_will_do = {
			base = 300
		}

		allowed = {  
			original_tag = BOL
		}

		available = {
			controls_state = 951
			951 = {
				NOT = {
					is_core_of = ROOT
				}
			}
		}

		state_target = yes
		target_trigger = {
		    FROM = {
		    	state = 951
		    }
		}
		on_map_mode = map_and_decisions_view

		visible = { 
			NOT = {
				951 = {
					is_core_of = ROOT
				}
			}
			NOT = {
				has_country_flag = BOL_established_arican_department_flag
			}
			has_dlc = "Trial of Allegiance"
		}

		cost = 120
	
		days_remove = 84  

		modifier = {
			weekly_manpower = -25
			political_power_gain = -0.2
		}

		complete_effect = { 

			IF = {
				limit = {
					951 = {
						is_claimed_by = ROOT
					}
				}
				951 = {
					remove_claim_by = ROOT
				}
			}

			951 = {
				add_core_of = ROOT
			}

			ROOT = {
				transfer_state = 951
			}
			
			add_war_support = 0.05

			hidden_effect = {
				set_country_flag = BOL_established_arican_department_flag
			}
		}

		remove_effect = {

		}

	}


}

political_actions = {

	# Embrace Plurinationalism
	BOL_embrace_plurinationalism  = {

		priority = 80

		icon = GFX_decision_SOV_place_hq

		ai_will_do = {
			base = 150
		}

		allowed = {  
			original_tag = BOL
		}

		available = {
			has_government = democratic
			any_state = {
				is_controlled_by = ROOT 
				NOT = {
					is_core_of = ROOT
				}
			}
		}

		visible = { 
			tag = BOL
			NOT = { has_country_flag = BOL_embraced_plurinationalism_flag }
			has_dlc = "Trial of Allegiance"
		} 

		#days_remove = 24 

		cost = 120

		complete_effect = {
			set_cosmetic_tag = BOL_plurinational_republic		

			add_ideas = BOL_plurinational_democracy

			hidden_effect = {
				set_country_flag = BOL_embraced_plurinationalism_flag 
			}
		}

		modifier = {
		}

		remove_effect = {
		}

	}

	# David Toro's Resignation
	BOL_david_toros_resignation  = {

		priority = 90

		icon = GFX_decision_generic_break_treaty

		ai_will_do = {
			base = 100
		}

		allowed = {  
			original_tag = BOL
		}

		available = {
			has_government = neutrality
			has_country_leader = {
				ruling_only = yes
				character = BOL_david_toro_ruilova
			}	
		}

		visible = { 
			tag = BOL
			has_government = neutrality
			NOT = { has_country_flag = BOL_david_toro_resigned_flag }
			has_dlc = "Trial of Allegiance"
		} 

		#days_remove = 24 

		cost = 100

		complete_effect = {
			
			retire_country_leader = yes

			add_country_leader_role  = {
				character = BOL_german_busch_beccera
			    promote_leader = yes
			    country_leader = {
			        ideology = despotism
			        expire = "1965.1.1.1"
			        traits = { JUNO_military_socialist JUNO_the_general_president }
			    }
			}

			hidden_effect = {
				set_country_flag = BOL_david_toro_resigned_flag 
			}
		}

		modifier = {
		}

		remove_effect = {
		}

	}


}