﻿add_namespace = liberia

country_event = {
	id = liberia.51
	title = liberia.51.t
	desc = liberia.51.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.51.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			random_list = {
				25 = {
					country_event = { id = liberia.52 days = 7 }
				}
				75 = {
					country_event = { id = liberia.53 days = 7 }
				}
			}
		}
	}
}

country_event = {
	id = liberia.52
	title = liberia.52.t
	desc = liberia.52.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.52.a
		ai_chance = { factor = 80 }
		swap_ideas = { remove_idea = usa_slavery_law add_idea = slavery_all_but_name }
		hidden_effect = { country_event = { id = liberia.54 days = 1800 } }
	}

	option = {
		name = liberia.52.b
		ai_chance = { factor = 20 }
		country_event = { id = liberia.53 days = 7 }
	}
}

country_event = {
	id = liberia.53
	title = liberia.53.t
	desc = liberia.53.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				LIB = {
					set_temp_variable = { loan_size_to_check = 20 }
					has_less_than_specific_loan_size = yes					
				}
			}
			hidden_effect = {
				LIB = {
					if = { 
						limit = { owns_state = 1347 }
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.25
							capital = 1346
							states = { 1347 }
						}
					}
					else = {
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.25
							capital = 1346
						}
					}
				}
			}
		}
		else_if = {
			limit = {
				LIB = {
					AND = {
						set_temp_variable = { loan_size_to_check = 20 }
						has_less_than_specific_loan_size = no							
						set_temp_variable = { loan_size_to_check = 40 }
						has_less_than_specific_loan_size = yes							
					}
				}
			}
			hidden_effect = {
				LIB = {
					if = { 
						limit = { owns_state = 1347 }
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.4
							capital = 1346
							states = { 1347 }
						}
					}
					else = {
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.4
							capital = 1346
						}
					}
				}
			}
		}
		else_if = {
			limit = {
				LIB = {
					set_temp_variable = { loan_size_to_check = 40 }
					has_less_than_specific_loan_size = yes					
				}
			}
			hidden_effect = {
				LIB = {
					if = { 
						limit = { owns_state = 1347 }
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.6
							capital = 1346
							states = { 1347 }
						}
					}
					else = {
						start_civil_war = {
							ruling_party = centrism
							ideology = traditional_conservatism
							size = 0.6
							capital = 1346
						}
					}
				}
			}
		}
	}

	option = {
		name = liberia.53.a
		ai_chance = { factor = 100 }
		swap_ideas = { remove_idea = usa_slavery_law add_idea = limited_equality }
		set_country_flag = LIB_abolition_civil_war_started
		hidden_effect = {
			every_other_country = {
				limit = {
					has_civil_war = yes
					has_war_with = ROOT
					original_tag = LIB
				}
				set_country_flag = LIB_liberian_secessionists
				add_war_support = 50
				add_ideas = doctrine_victorian_army_1
				add_ideas = border_control
				#add_ideas = encouraged_growth
				add_ideas = property_owners_suffrage
				add_ideas = limited_exports
				add_ideas = privileged_education
				add_ideas = limited_conscription
				#add_ideas = constitution_adopted
				add_ideas = limited_elections
				#add_ideas = presidential_republic
				add_ideas = secular_state
				#add_ideas = religion_protestant
				add_ideas = usa_slavery_law
				add_ideas = extensive_conscription
				add_ideas = closed_economy
				add_ideas = state_controlled_press
				add_ai_strategy = {
					type = befriend
					id = CSA
					value = 200
				}
				add_opinion_modifier = {
					target = CSA
					modifier = CSA_positive_civil_war_support
				}
				CSA = {
					add_ai_strategy = {
						type = send_volunteers_desire
						id = THIS
						value = 200
					}
				}
				CSA = {
					add_opinion_modifier = {
						target = THIS
						modifier = CSA_positive_civil_war_support
					}
				}
			}
			USA = {
				add_ai_strategy = {
					type = send_volunteers_desire
					id = ROOT
					value = 200
				}
			}
		}
	}
}

country_event = {
	id = liberia.54
	title = liberia.54.t
	desc = liberia.54.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.54.a
		ai_chance = { 
			factor = 10 
			modifier = {
				factor = 3
				has_government = centrism
			}
			modifier = {
				factor = 4
				has_government = chauvinist_populism
			}
			modifier = {
				factor = 5
				has_government = fundamentalism
			}
		}
		trigger = {
			OR = {
				has_government = traditional_conservatism
				has_government = radical_democracy
				has_government = autocracy
				has_government = centrism
				has_government = chauvinist_populism
				has_government = fundamentalism
			}
		}
		swap_ideas = { remove_idea = slavery_all_but_name add_idea = racial_laws }
	}

	option = {
		name = liberia.54.b
		ai_chance = { 
			factor = 10 
			modifier = {
				factor = 7
				has_government = centrism
			}
			modifier = {
				factor = 6
				has_government = chauvinist_populism
			}
			modifier = {
				factor = 5
				has_government = fundamentalism
			}
		}
		trigger = {
			OR = {
				has_government = centrism
				has_government = chauvinist_populism
				has_government = fundamentalism
			}
		}
		swap_ideas = { remove_idea = slavery_all_but_name add_idea = segregation }
	}

	option = {
		name = liberia.54.c
		ai_chance = { factor = 100 }
		trigger = {
			OR = {
				has_government = social_egalitarianism
				has_government = anarchism
				has_government = ideology_radical_socialism
			}
		}
		swap_ideas = { remove_idea = slavery_all_but_name add_idea = segregation }
	}

	option = {
		name = liberia.54.e
		ai_chance = { factor = 100 }
		trigger = {
			always = no
		}
		swap_ideas = { remove_idea = slavery_all_but_name add_idea = limited_equality }
	}
}

country_event = {
	id = liberia.55
	title = liberia.55.t
	desc = liberia.55.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.55.a
		ai_chance = { factor = 100 }

	}
}

country_event = {
	id = liberia.20
	title = liberia.20.t
	desc = liberia.20.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.20.a
		ai_chance = { factor = 100 }
		set_country_flag = LIB_KRU_repaired_relations
		hidden_effect = {
			remove_opinion_modifier = {
				target = LIB
				modifier = large_decrease
			}
			LIB = {
				remove_opinion_modifier = {
					target = KRU
					modifier = large_decrease
				}
			}
		}
	}

}

country_event = {
	id = liberia.21
	title = liberia.21.t
	desc = liberia.21.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.21.a
		ai_chance = { factor = 100 }
		LIB = {
			transfer_state = 760
			add_state_core = 760
		}

		KRU = {
			add_state_claim = 760
			remove_state_core = 760
			set_capital = { state = 761 }
		}

		298 = {
			remove_claim_by = KRU
		}

		760 = {
			set_state_name = "Upper Liberia"
		}

		761 = {
			set_state_name = "Kru"
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment_rifle_0
			amount = 1000
			producer = LIB
		}
		add_political_power = 50
	}

	option = {
		name = liberia.21.b
		ai_chance = { factor = 0 }
		add_political_power = -150
		LIB = {
			add_state_claim = 760
			create_wargoal = {
				type = annex_everything
				target = KRU
			}
		}
	}

}

country_event = {
	id = liberia.22
	title = liberia.22.t
	desc = liberia.22.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.22.a
		ai_chance = { factor = 50 }
		LIB = {
			transfer_state = 760
			add_state_core = 760
		}

		KRU = {
			add_state_claim = 760
			remove_state_core = 760
			set_capital = { state = 761 }
		}

		298 = {
			remove_claim_by = KRU
		}

		760 = {
			set_state_name = "Upper Liberia"
		}

		761 = {
			set_state_name = "Kru"
		}
		add_political_power = -50
	}

	option = {
		name = liberia.22.b
		ai_chance = { factor = 50 }
		add_political_power = 50
		LIB = {
			add_state_claim = 760
			add_state_claim = 761
			create_wargoal = {
				type = annex_everything
				target = KRU
			}
		}
	}

}

#liberia Adopts ACS
country_event = {
	id = liberia.1
	title = liberia.1.t
	desc = liberia.1.d
	picture = GFX_report_event_merchant_ship_01

	is_triggered_only = yes

	option = {
		name = liberia.1.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				OR = {
					AND = {
						has_country_leader = {
							character = USA_character_abraham_incoln
							ruling_only = yes
						}
						LIB = {
							NOT = { has_country_flag = LIB_adopted_ACS_policy_flag }
						}
					}
					LIB = { is_ai = yes }
				}
			}
			set_country_flag = USA_supports_acs
			LIB = {
				set_country_flag = USA_assist_lib_debt
				country_event = { id = liberia.2 }
			} 
		}
		else = {
			add_political_power = 20
		}
	}

	option = {
		name = liberia.1.b
		ai_chance = { factor = 0 }
		hidden_effect = {
			set_country_flag = USA_supports_acs
			LIB = {
				set_country_flag = USA_assist_lib_debt
				country_event = { id = liberia.2 }
			}
		}
	}
}

#USA Supports
country_event = {
	id = liberia.2
	title = liberia.2.t
	desc = liberia.2.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.2.a
		ai_chance = { factor = 100 }
		if = {
			limit = { has_country_flag = USA_assist_lib_debt }
			set_temp_variable = { loans_amount = 4}
			take_loan_without_inflation_effect = yes				
		}
		else = {
			set_temp_variable = { loans_amount = 2}
			take_loan_without_inflation_effect = yes				
		}
	}
}


#Kru War Aftermath
country_event = {
	id = liberia.3
	title = liberia.3.t
	desc = liberia.3.d
	picture = GFX_report_event_merchant_ship_01

	is_triggered_only = yes

	option = {
		name = liberia.3.a
		ai_chance = { factor = 90 }
		KRU = { country_event = { days = 1 id = liberia.4 } }
		set_temp_variable = { loans_amount = 10}
		take_loan_without_inflation_effect = yes
			
	}

}

#Kru War Aftermath
country_event = {
	id = liberia.4
	title = liberia.4.t
	desc = liberia.4.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.4.a
		ai_chance = { factor = 100 }

		add_war_support = 0.12
		army_experience = 10
		#6 years until this event happens
		hidden_effect = {
			KRU = { country_event = { days = 2190 id = liberia.5 } }
		}
	}
}


#Kru War Aftermath (General was a child during the Liberian-Kru war, inspired to revenge)
country_event = {
	id = liberia.5
	title = liberia.5.t
	desc = liberia.5.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.5.a
		ai_chance = { factor = 100 }
		add_stability = 0.13
		add_war_support = 0.17

		create_corps_commander = {
			name = "Yakpazuah Zaowolo"
			picture = "GFX_Portrait_AFRICA_Generic_Leader_Tribe_1"
			traits = { trickster brilliant_strategist }
			skill = 2
			attack_skill = 4
			defense_skill = 4
			planning_skill = 4
			logistics_skill = 1
		}

		hidden_effect = {
			if = {
				limit = {
					LIB = {
						NOT = { has_country_flag = LIB_KRU_repaired_relations }
					}
				}
				KRU = { country_event = { days = 7 id = liberia.7 } }
			}
		}
	}
}


#Kru War Aftermath - Slave Raid (General was a child during the Liberian-Kru war, inspired to revenge)
country_event = {
	id = liberia.7
	title = liberia.7.t
	desc = liberia.7.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.7.a
		ai_chance = { factor = 70 }
		trigger = {
			NOT = { has_country_flag = LIB_KRU_repaired_relations }
			is_subject = no
		}
		add_command_power = -15
		army_experience = 5
		add_political_power = -15
		add_war_support = .03

		hidden_effect = {
			if = {
				limit = {
					LIB = {
							NOT = {
								has_tech = collodion_process
							}
					}
				}
					LIB = { country_event = { days = 7 id = liberia.8 } }
			}
			if = {
				limit = {
					LIB = {
							has_tech = collodion_process
					}
				}
					LIB = { country_event = { days = 7 id = liberia.9 } }
			}
			if = {
				limit = {
					LIB = {
							AND = {
								has_tech = collodion_process
								has_tech = photographic_glass_plate
							}
					}
				}
					LIB = { country_event = { days = 7 id = liberia.10 } }
			}
		}


	}

	option = {
		name = liberia.7.b
		ai_chance = { factor = 30 }

		add_political_power = 15
		add_war_support = -.05

	}

}

#Kru War Aftermath - Kru Raid - Success
country_event = {
	id = liberia.8
	title = liberia.8.t
	desc = liberia.8.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.8.a
		ai_chance = { factor = 100 }

		add_stability = -0.15
		add_war_support = -0.20
		set_country_flag = LIB_second_kru_raid
		hidden_effect = {
			KRU = { country_event = { days = 3 id = liberia.11 } }
		}
	}
}

#Kru War Aftermath - Kru Raid - Spotted
country_event = {
	id = liberia.9
	title = liberia.9.t
	desc = liberia.9.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.9.a
		ai_chance = { factor = 100 }

		start_border_war = {
			change_state_after_war = no
			attacker = {
				state = 760
				num_provinces = 4
				on_win = liberia.11
				on_lose = liberia.12
				on_cancel = liberia.44
			}
			defender = {
				state = 298
				num_provinces = 4
				on_win = liberia.46
				on_lose = liberia.48
				on_cancel = liberia.44
			}
		}
		set_country_flag = LIB_second_kru_raid
	}
}

#Kru War Aftermath - Kru Raid - Worst Outcome
country_event = {
	id = liberia.10
	title = liberia.10.t
	desc = liberia.10.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.10.a
		ai_chance = { factor = 100 }

		start_border_war = {
		change_state_after_war = no
			attacker = {
				state = 760
				num_provinces = 4
				on_win = liberia.11
				on_lose = liberia.13
				on_cancel = liberia.44
			}

			defender = {
				state = 298
				num_provinces = 4
				on_win = liberia.47
				on_lose = liberia.49
				on_cancel = liberia.44
			}
		}
		set_country_flag = LIB_second_kru_raid
	}
}

#Kru War Aftermath - Kru Raid - Outcome 1
country_event = {
	id = liberia.11
	title = liberia.11.t
	desc = liberia.11.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.11.a
		ai_chance = { factor = 0 }

		add_stability = 0.06
		add_war_support = 0.05
		add_equipment_to_stockpile = {
			type = infantry_equipment_rifle_0
			amount = 2000
			producer = LIB
		}
	}

	option = {
		name = liberia.11.b
		ai_chance = { factor = 100 }

		add_stability = 0.17
		add_war_support = 0.12
		add_equipment_to_stockpile = {
			type = infantry_equipment_rifle_0
			amount = 2000
			producer = LIB
		}
		hidden_effect = {
			kill_country_leader = yes
		}
		if = {
				limit = {
					KRU = {
						has_government = autocracy
					}
				}
				create_country_leader = {
					name = "Yakpazuah Zaowolo"
					desc = ""
					picture = "gfx/leaders/Europe/Portrait_Europe_Generic_5.png"
					expire = "1898.4.7"
					ideology = tribe
					traits = {
					}
				}
		}
		if = {
			limit = {
				KRU = {
					has_government = chauvinist_populism
				}
			}
			create_country_leader = {
				name = "Yakpazuah Zaowolo"
				desc = ""
				picture = "gfx/leaders/Europe/Portrait_Europe_Generic_5.png"
				expire = "1898.4.7"
				ideology = military_goverment
				traits = {
				}
			}
		}
	}
}

#Kru War Aftermath - Kru Raid - Outcome 2
country_event = {
	id = liberia.12
	title = liberia.12.t
	desc = liberia.12.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.12.a
		ai_chance = { factor = 100 }

		add_stability = -0.07
		add_war_support = -0.05
		army_experience = 5
	}
}

#Kru War Aftermath - Kru Raid - Outcome 3
country_event = {
	id = liberia.13
	title = liberia.13.t
	desc = liberia.13.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.13.a
		ai_chance = { factor = 100 }

		add_stability = -0.30
		add_war_support = -0.20
		add_manpower = -150
	}
}


#Kru Raids Our Settlement!
country_event = {
	id = liberia.14
	title = liberia.14.t
	desc = liberia.14.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.14.a
		ai_chance = { factor = 100 }

		add_stability = -0.07
		add_war_support = 0.05
		298 = {
			damage_building = {
				type = infrastructure
				damage = 1
			}
		}
		set_country_flag = LIB_KRU_raids_stockpile
	}
}

#Back Up Plan
country_event = {
	id = liberia.15
	title = liberia.15.t
	desc = liberia.15.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.15.a
		ai_chance = { factor = 50 }
		trigger={
			country_exists = USA
		}
		set_country_flag = LIB_USA_military_support
		USA = { country_event = { days = 1 id = liberia.16 } }
	}

	option = {
		name = liberia.15.b
		ai_chance = { factor = 50 }
		trigger={
			country_exists = CSA
		}
		set_country_flag = LIB_CSA_military_support
		CSA = { country_event = { days = 1 id = liberia.17 } }
	}

	option = {
		name = liberia.15.c
		ai_chance = { factor = 0 }
	}
}

#Back Up Plan
country_event = {
	id = liberia.16
	title = liberia.16.t
	desc = liberia.16.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes


	option = {
		name = liberia.16.a
		ai_chance = { factor = 100 }
		set_country_flag = LIB_USA_military_support
	}
}

#Back Up Plan
country_event = {
	id = liberia.17
	title = liberia.17.t
	desc = liberia.17.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.17.a
		ai_chance = { factor = 100 }
		set_country_flag = LIB_CSA_military_support
	}
}

#Colonisation of Kru Highlands
country_event = {
	id = liberia.23
	title = liberia.23.t
	desc = liberia.23.d
	picture = GFX_report_event_soviet_finnish_pact
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = LIB
		NOT = { has_global_flag = LIB_event_240_executed }
		OR = {
			LIB = {
				owns_state = 760
				owns_state = 761
			}
			KRU = {
				owns_state = 760
				owns_state = 761
				is_subject_of = LIB
			}
			AND = {
				LIB = {
					owns_state = 760
				}
				KRU = {
					owns_state = 761
					is_subject_of = LIB
				}
			}
			AND = {
				LIB = {
					owns_state = 761
				}
				KRU = {
					owns_state = 760
					is_subject_of = LIB
				}
			}
		}
		KRU = {
			OR = {
				is_subject_of = LIB
				exists = no
			}
		}
	}

	immediate = {
		set_global_flag = LIB_event_240_executed

		760 = {
			set_state_name = "Upper Liberia"
		}
	}

	option = {
		name = liberia.23.a
		ai_chance = {
			factor = 50
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		set_country_flag = american_colonial_confederation
		custom_effect_tooltip = liberia_240_event_tooltip_a
		hidden_effect = {
			KRU = {
				set_capital = { state = 761 }
				transfer_state = 761
				remove_state_core = 760
			}
			760 = {
				add_manpower = -6000
			}
			761 = {
				add_manpower = 6000
			}
			LIB = {
				set_autonomy = {
					target = KRU
					autonomy_state = autonomy_dominion
					freedom_level = 0.3
				}
			}
			country_event = liberia.24
			LIB = {
				transfer_state = 760
				add_state_core = 760
			}
			760 = {
				add_manpower = 1300
			}
			298 = {
				add_manpower = -1000
			}
		}
	}

	option = {
		name = liberia.23.b
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = liberia_240_event_tooltip_b
	}
}

country_event = {
	id = liberia.24
	title = liberia.24.t
	desc = liberia.24.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes


	option = {
		name = liberia.24.a
		ai_chance = {
			factor = 50
		}
		761 = {
			set_state_name = "Maryland County"
		}

		KRU = {
			set_cosmetic_tag = KRU_maryland
			add_ideas = KRU_underground_kru_resistance
			hidden_effect = {
				set_party_name = {
					ideology = centrism
					long_name = AFR_party_republican
					name = AFR_party_republican
				}
				set_party_name = {
					ideology = traditional_conservatism
					long_name = AFR_party_democratic
					name = AFR_party_democratic
				}
				set_party_name = {
					ideology = autocracy
					long_name = AFR_party_monarch
					name = AFR_party_monarch
				}
				set_country_flag = ACS_colony
				if = {
					limit = {
						KRU = {
							NOT = {
							}
						}
					}
				}

				retire_country_leader = yes
				create_country_leader = {
					name = "Samuel Hampton"
					desc = "DESC"
					picture = "GFX_Portrait_AFRICA_Generic_Leader_King_4"
					expire = "1920.1.1"
					ideology = conserv_liberal
				}
				swap_ideas = {
					remove_idea = state_religion
					add_idea = secular_state
				}
				#swap_ideas = {
				#	remove_idea = absolute_monarchy
				#	add_idea = presidential_republic
				#}
				#swap_ideas = {
				#	remove_idea = no_constitution
				#	add_idea = constitution_adopted
				#}
				#swap_ideas = {
				#	remove_idea = no_heir
				#	add_idea = non_monarchical_system
				#}
				#swap_ideas = {
				#	remove_idea = religion_animist
				#	add_idea = religion_protestant
				#}
				swap_ideas = {
					remove_idea = no_elections
					add_idea = limited_elections
				}
				swap_ideas = {
					remove_idea = law_pre_industrial_army
					add_idea = doctrine_victorian_army_1
				}
				if = {
					limit = {
						LIB = {
							has_idea = usa_slavery_law
						}
					}
					swap_ideas = {
						remove_idea = tribal_slavery
						add_idea = usa_slavery_law
					}
				}
				if = {
					limit = {
						NOT = {
							LIB = {
								has_idea = usa_slavery_law
							}
						}
					}
					swap_ideas = {
						remove_idea = tribal_slavery
						add_idea = segregation
					}
				}
				swap_ideas = {
					remove_idea = manpower_tribal_warriors
					add_idea = limited_conscription
				}
				swap_ideas = {
					remove_idea = no_borders
					add_idea = border_control
				}
				swap_ideas = {
					remove_idea = closed_economy
					add_idea = limited_exports
				}
				swap_ideas = {
					remove_idea = taxation_level_1
					add_idea = taxation_level_3
				}
				#swap_ideas = {
				#	remove_idea = lp_land_estates
				#	add_idea = lp_land_purchase
				#}
				swap_ideas = {
					remove_idea = absolutism
					add_idea = property_owners_suffrage
				}
			}
		}
		LIB = { country_event = { id = liberia.37 } }
		hidden_effect = {
			KRU = { country_event = { days = 15 id = liberia.25 } }
			LIB = {
				country_event = { days = 6 id = liberia.27 }
				country_event = { id = liberia.40 days = 7 }
				add_opinion_modifier = {
					target = KRU
					modifier = large_increase
				}
			}
			KRU = {
				add_ideas = LIB_low_life_expectancy
				add_ideas = LIB_poor_infrastructure
				add_opinion_modifier = {
					target = LIB
					modifier = large_increase
				}
				add_opinion_modifier = {
					target = USA
					modifier = medium_increase
				}
				add_opinion_modifier = {
					target = CSA
					modifier = medium_increase
				}
				add_opinion_modifier = {
					target = ENG
					modifier = medium_increase
				}
			}
			USA = {
				add_opinion_modifier = {
					target = KRU
					modifier = medium_increase
				}
			}
			CSA = {
				add_opinion_modifier = {
					target = KRU
					modifier = medium_increase
				}
			}
			ENG = {
				add_opinion_modifier = {
					target = KRU
					modifier = medium_increase
				}
			}
		}
	}

	option = {
		name = liberia.24.b
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		KRU = {
			set_cosmetic_tag = KRU_republic
			add_ideas = KRU_underground_kru_resistance
			country_event = { id = liberia.26 days = 15 }
			hidden_effect = {
				set_party_name = {
					ideology = centrism
					long_name = AFR_party_republican
					name = AFR_party_republican
				}
				set_party_name = {
					ideology = traditional_conservatism
					long_name = AFR_party_democratic
					name = AFR_party_democratic
				}
				set_party_name = {
					ideology = autocracy
					long_name = AFR_party_monarch
					name = AFR_party_monarch
				}
				if = {
					limit = {
						KRU = {
						}
					}
				}
				retire_country_leader = yes
				create_country_leader = {
					name = "Samuel Hampton"
					desc = "DESC"
					picture = "GFX_Portrait_AFRICA_Generic_Leader_King_4"
					expire = "1920.1.1"
					ideology = conserv_liberal
					traits = {

					}
				}
				#swap_ideas = {
				#	remove_idea = absolute_monarchy
				#	add_idea = presidential_republic
				#}
				#swap_ideas = {
				#	remove_idea = no_constitution
				#	add_idea = constitution_adopted
				#}
				add_opinion_modifier = {
					target = LIB
					modifier = large_increase
				}
				#swap_ideas = {
				#	remove_idea = no_heir
				#	add_idea = non_monarchical_system
				#}
				swap_ideas = {
					remove_idea = no_elections
					add_idea = limited_elections
				}
				if = {
					limit = {
						LIB = {
							has_idea = usa_slavery_law
						}
					}
					swap_ideas = {
						remove_idea = tribal_slavery
						add_idea = usa_slavery_law
					}
				}
				if = {
					limit = {
						NOT = {
							LIB = {
								has_idea = usa_slavery_law
							}
						}
					}
					swap_ideas = {
						remove_idea = tribal_slavery
						add_idea = segregation
					}
				}
				swap_ideas = {
					remove_idea = no_borders
					add_idea = border_control
				}
				swap_ideas = {
					remove_idea = taxation_level_1
					add_idea = taxation_level_2
				}
				#swap_ideas = {
				#	remove_idea = lp_land_estates
				#	add_idea = lp_land_purchase
				#}
				swap_ideas = {
					remove_idea = absolutism
					add_idea = property_owners_suffrage
				}
			}
		}
		hidden_effect = {
			LIB = {
				country_event = { id = liberia.40 }
				add_opinion_modifier = {
					target = KRU
					modifier = medium_increase
				}
			}
			USA = {
				add_opinion_modifier = {
					target = KRU
					modifier = small_increase
				}
			}
		}
	}

}

#Independant State Of Maryland
country_event = {
	id = liberia.25
	title = liberia.25.t
	desc = liberia.25.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes


	option = {
		name = liberia.25.a
		ai_chance = { factor = 50 }
		set_country_flag = KRU_colonial_governance
		set_country_flag = KRU_resist_colonial_governance

	}

	option = {
		name = liberia.25.b
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		set_country_flag = KRU_colonial_governance
	}
}

#Kru Colony
country_event = {
	id = liberia.26
	title = liberia.26.t
	desc = liberia.26.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.26.a
		ai_chance = { factor = 100 }
		set_country_flag = KRU_self_governance
	}
}

#Mass Migration Troubles 1
country_event = {
	id = liberia.27
	title = liberia.27.t
	desc = liberia.27.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes


	option = {
		name = liberia.27.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			LIB = { country_event = { days = 30 id = liberia.28 } }
		}
	}

	option = {
		name = liberia.27.b
		ai_chance = { factor = 0 }
		hidden_effect = {
			LIB = { country_event = { days = 30 id = liberia.29 } }
		}
	}

}

#Kru Guerrilla Raids_1
country_event = {
	id = liberia.28
	title = liberia.28.t
	desc = liberia.28.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes


	option = {
		name = liberia.28.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				TAG = KRU
			}
			KRU = {
				add_stability = -.03
			}
			761 = {
				add_manpower = -157
			}
		}
		if = {
			limit = {
				TAG = LIB
			}
			LIB = {
				add_stability = -.01
			}
		}
	}
}

#Kru Guerrilla Raids_2
country_event = {
	id = liberia.29
	title = liberia.29.t
	desc = liberia.29.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.29.a
		ai_chance = { factor = 0 }
		if = {
			limit = {
				TAG = KRU
			}
			KRU = {
				add_stability = -.09
			}
			761 = {
				add_manpower = -753
			}
		}
		if = {
			limit = {
				TAG = LIB
			}
			LIB = {
				add_stability = -.07
			}
		}
	}

}

#Kru wins
country_event = {
	id = liberia.42
	title = liberia.42.t
	desc = liberia.42.desc
	picture = GFX_report_event_japanese_transport_soldiers

	is_triggered_only = yes

	option = {
		name = liberia.42.a
		ai_chance = { factor = 100 }
		army_experience = 10
			add_war_support = 0.05
			add_equipment_to_stockpile = {
				type = infantry_equipment_rifle_0
				amount = 500
				producer = LIB
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment_0
				amount = 500
				producer = LIB
			}
	}
}
#Kru loses
country_event = {
	id = liberia.43
	title = liberia.43.t
	desc = liberia.43.desc
	picture = GFX_report_event_japanese_soldiers_03

	is_triggered_only = yes

	option = {
		name = liberia.43.a
		ai_chance = { factor = 100 }
		add_war_support = -0.05
		army_experience = 5
	}
}

#stalemate
country_event = {
	id = liberia.44
	title = liberia.44.t
	desc = liberia.44.desc
	picture = GFX_report_event_japanese_army_parade

	is_triggered_only = yes

	option = {
		name = liberia.44.a
		ai_chance = { factor = 100 }
		add_war_support = -0.03
		set_country_flag = LIB_KRU_raids_stockpile
	}
}

#Liberia wins
country_event = {
	id = liberia.45
	title = liberia.45.t
	desc = liberia.45.desc
	picture = GFX_report_event_japanese_transport_soldiers

	is_triggered_only = yes

	option = {
		name = liberia.45.a
		ai_chance = { factor = 100 }
		set_country_flag = LIB_KRU_raids_stockpile
		army_experience = 10
			add_war_support = 0.05
	}
}

#Kru War Aftermath - Kru Raid - Spotted - LIB WON
country_event = {
	id = liberia.46
	title = Kru_Raiders_Spotted.6.t
	desc = liberia.46.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.46.a
		ai_chance = { factor = 100 }


		add_stability = 0.15
		add_war_support = 0.12
		army_experience = 10
		hidden_effect = {
			KRU = { country_event = { days = 3 id = liberia.12 } }
		}
	}
}

#Kru War Aftermath - Kru Raid - Worst Outcome - LIB WON
country_event = {
	id = liberia.47
	title = liberia.47.t
	desc = liberia.47.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.47.a
		ai_chance = { factor = 100 }

		add_stability = 0.15
		add_war_support = 0.3
		army_experience = 10
		KRU = { country_event = { days = 3 id = liberia.13 } }
	}
}

#Kru War Aftermath - Kru Raid - Spotted - LIB LOSS
country_event = {
	id = liberia.48
	title = liberia.48.t
	desc = liberia.48.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.48.a
		ai_chance = { factor = 100 }

		add_stability = -0.15
		add_war_support = -0.20
		army_experience = 5
	}
}

#Kru War Aftermath - Kru Raid - Worst Outcome - LIB LOSS
country_event = {
	id = liberia.49
	title = liberia.49.t
	desc = liberia.49.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.49.a
		ai_chance = { factor = 100 }

		add_stability = -0.15
		add_war_support = -0.20
		army_experience = 5
	}
}

#Info on Annexation of Independent State of Maryland
country_event = {
	id = liberia.30
	title = liberia.30.t
	desc = liberia.30.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.30.a
		ai_chance = { factor = 100 }
		add_political_power = 100
	}
}

#Request US Gov Road Investment
country_event = {
	id = liberia.31
	title = liberia.31.t
	desc = liberia.31.d
	picture = GFX_report_event_election_vote

	is_triggered_only = yes

	option = {
		name = liberia.31.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			#No Civil War & YES LINCON = Gucchi Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = no
						}
						USA = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
						LIB = {
							NOT = {
								has_country_flag = LIB_adopted_ACS_policy_flag
							}
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_high }

			}
			#No Civil War & NO LINCON = Okay Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = no
						}
						USA = {
							NOT = {
								has_country_leader = {
									name = "Abraham Lincoln"
									ruling_only = yes
								}
							}
						}
						LIB = {
							NOT = {
								has_country_flag = LIB_adopted_ACS_policy_flag
							}
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_medium }

			}
			#YES Civil War & YES LINCON = Okay Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = yes
						}
						USA = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
						LIB = {
							NOT = {
								has_country_flag = LIB_adopted_ACS_policy_flag
							}
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_high }
			}
			#YES Civil War & NO LINCON =  Shit Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = yes
						}
						USA = {
							NOT = {
								has_country_leader = {
									name = "Abraham Lincoln"
									ruling_only = yes
								}
							}
						}
						LIB = {
							NOT = {
								has_country_flag = LIB_adopted_ACS_policy_flag
							}
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_low }

			}

			#STRONG ACS: No Civil War & YES LINCON = Gucchi Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = no
						}
						USA = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
						LIB = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}

				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_high }
			}
			#STRONG ACS: No Civil War & NO LINCON = Gucchi Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = no
						}
						USA = {
							NOT = {
								has_country_leader = {
									name = "Abraham Lincoln"
									ruling_only = yes
								}
							}
						}
						LIB = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_high }
			}
			#STRONG ACS: YES Civil War & YES LINCON = Okay Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = yes
						}
						USA = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
						LIB = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_medium }
			}
			#STRONG ACS: YES Civil War & NO LINCON =  Shit Reward Below
			if = {
				limit = {
					AND = {
						USA = {
							has_civil_war = yes
						}
						USA = {
							NOT = {
								has_country_leader = {
									name = "Abraham Lincoln"
									ruling_only = yes
								}
							}
						}
						LIB = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
				hidden_effect = {
					LIB = {
						country_event = { days = 1 id = liberia.32 }
					}
				}
				LIB = { set_country_flag = USA_LIB_investments_low }
			}
		}
	}

	option = {
		name = liberia.31.b
		trigger = {
			USA = {
				has_country_leader = {
					name = "James Buchanan"
					ruling_only = yes
				}
			}
		}
		ai_chance = { factor = 0 }
		add_political_power = -75
		hidden_effect = { LIB = { set_country_flag = USA_LIB_investments_high } }
		LIB = { country_event = { days = 1 id = liberia.32 } }
	}

}

#Request US Gov Road Investment
country_event = {
	id = liberia.32
	title = liberia.32.t
	desc = liberia.32.d
	picture = GFX_report_event_election_vote

	is_triggered_only = yes

	option = {
		name = liberia.32.a
		ai_chance = { factor = 0 }
		#hidden_effect = { USA = { country_event = { id = afr_colony_generic.20 days = 20 } } }
	}

}

#Request US Gov Shipyard Investment
country_event = {
	id = liberia.35
	title = liberia.35.t
	desc = liberia.35.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.35.a
		ai_chance = { factor = 100 }
		#No Civil War & YES LINCON = Gucchi Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = no
					}
					USA = {
						has_country_leader = {
							name = "Abraham Lincoln"
							ruling_only = yes
						}
					}
					LIB = {
						NOT = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
			}
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
				set_temp_variable = { loans_amount = 2}
				take_loan_without_inflation_effect = yes				
			}
		}
		#No Civil War & NO LINCON = bad Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = no
					}
					USA = {
						NOT = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
					}
					LIB = {
						NOT = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
			}
			hidden_effect = {

			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}
		}
		#YES Civil War & YES LINCON = okay Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = yes
					}
					USA = {
						has_country_leader = {
							name = "Abraham Lincoln"
							ruling_only = yes
						}
					}
					LIB = {
						NOT = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
			}
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}
		}
		#YES Civil War & NO LINCON =  Shit Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = yes
					}
					USA = {
						NOT = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
					}
					LIB = {
						NOT = {
							has_country_flag = LIB_adopted_ACS_policy_flag
						}
					}
				}
			}
			hidden_effect = {

			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}
		}

		#STRONG ACS: No Civil War & YES LINCON = Gucchi Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = no
					}
					USA = {
						has_country_leader = {
							name = "Abraham Lincoln"
							ruling_only = yes
						}
					}
					LIB = {
						has_country_flag = LIB_adopted_ACS_policy_flag
					}
				}
			}
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
				set_temp_variable = { loans_amount = 2}
				take_loan_without_inflation_effect = yes				
			}

		}
		#STRONG ACS: No Civil War & NO LINCON = Okay Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = no
					}
					USA = {
						NOT = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
					}
					LIB = {
						has_country_flag = LIB_adopted_ACS_policy_flag
					}
				}
			}
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}

		}
		#STRONG ACS: YES Civil War & YES LINCON = Okay Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = yes
					}
					USA = {
						has_country_leader = {
							name = "Abraham Lincoln"
							ruling_only = yes
						}
					}
					LIB = {
						has_country_flag = LIB_adopted_ACS_policy_flag
					}
				}
			}
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			hidden_effect = {

			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}
		}
		#STRONG ACS: YES Civil War & NO LINCON =  Shit Reward Below
		if = {
			limit = {
				AND = {
					USA = {
						has_civil_war = yes
					}
					USA = {
						NOT = {
							has_country_leader = {
								name = "Abraham Lincoln"
								ruling_only = yes
							}
						}
					}
					LIB = {
						has_country_flag = LIB_adopted_ACS_policy_flag
					}
				}
			}
			hidden_effect = {

			}
			USA = {
				diplomatic_relation = {
					country = LIB
					relation = docking_rights
					active = yes
				}
			}
			LIB = {
				diplomatic_relation = {
					country = USA
					relation = docking_rights
					active = yes
				}
			}
		}


	}

	option = {
		name = liberia.35.b
		ai_chance = { factor = 0 }
		USA = {
			diplomatic_relation = {
				country = LIB
				relation = docking_rights
				active = yes
			}
		}
		LIB = {
			diplomatic_relation = {
				country = USA
				relation = docking_rights
				active = yes
			}
			set_temp_variable = { loans_amount = 2}
			take_loan_without_inflation_effect = yes			
		}
		298 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = dockyard
				level = 1
				instant_build = yes
			}
		}
	}

}

#Request US Gov Road Investment
country_event = {
	id = liberia.36
	title = liberia.36.t
	desc = liberia.36.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.36.a
		ai_chance = {
			factor = 33
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = liberia_36_a_tooltip
		custom_effect_tooltip = LIB_liberia_36_event_tooltip_a
		hidden_effect = {
			complete_national_focus = LIB_adopt_strong_ACS_policies
			add_popularity = { ideology = chauvinist_populism popularity = 0.05 }
			add_popularity = { ideology = centrism popularity = -0.05 }
			add_popularity = { ideology = social_egalitarianism popularity = 0.05 }
		}
	}

	option = {
		trigger = {
			NOT = {
				has_country_flag = LIB_Warner_1863
			}
		}
		name = liberia.36.b
		ai_chance = {
			factor = 33
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = liberia_36_b_tooltip
		custom_effect_tooltip = LIB_liberia_36_event_tooltip_b
		hidden_effect = {
			complete_national_focus = LIB_president_bensons_reforms
			add_popularity = { ideology = centrism popularity = 0.05 }
		}
	}

	option = {
		name = liberia.36.c
		ai_chance = {
			factor = 33
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = liberia_36_c_tooltip
		custom_effect_tooltip = LIB_liberia_36_event_tooltip_c
		hidden_effect = {
			complete_national_focus = LIB_status_quo
			add_popularity = { ideology = traditional_conservatism popularity = 0.05 }
		}
	}

}

#Mass Migration #1
country_event = {
	id = liberia.37
	title = liberia.37.t
	desc = liberia.37.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.37.a
		ai_chance = { factor = 100 }
		add_political_power = -25
		custom_effect_tooltip = liberia_37_event_tooltip_a
		hidden_effect = {
			298 = {
				add_manpower = -1000
			}
			761 = {
				add_manpower = 1000
			}
		}
		hidden_effect = {
			LIB = { country_event = { days = 30 id = liberia.27 } }
			set_country_flag = LIB_four_year_plan
			LIB = { country_event = { days = 144 id = liberia.38 } }
			LIB = { country_event = { days = 288 id = liberia.38 } }
			LIB = { country_event = { days = 432 id = liberia.38 } }
			LIB = { country_event = { days = 576 id = liberia.38 } }
			LIB = { country_event = { days = 720 id = liberia.38 } }
			LIB = { country_event = { days = 864 id = liberia.38 } }
			LIB = { country_event = { days = 1008 id = liberia.38 } }
			LIB = { country_event = { days = 1152 id = liberia.38 } }
			LIB = { country_event = { days = 1296 id = liberia.38 } }
			LIB = { country_event = { days = 1440 id = liberia.18 } }
		}
	}

	option = {
		name = liberia.37.b
		ai_chance = { factor = 0 }
		add_political_power = -50
		custom_effect_tooltip = liberia_37_event_tooltip_b
		hidden_effect = {
			298 = {
				add_manpower = -2000
			}
			761 = {
				add_manpower = 2000
			}
		}
		hidden_effect = {
			LIB = { country_event = { days = 30 id = liberia.27 } }
			set_country_flag = LIB_two_year_plan
			LIB = { country_event = { days = 144 id = liberia.38 } }
			LIB = { country_event = { days = 288 id = liberia.38 } }
			LIB = { country_event = { days = 432 id = liberia.38 } }
			LIB = { country_event = { days = 576 id = liberia.38 } }
			LIB = { country_event = { days = 720 id = liberia.18 } }
		}
	}

}

#Mass Migration #2
country_event = {
	id = liberia.38
	title = liberia.38.t
	desc = liberia.38.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.38.a
		ai_chance = { factor = 100 }
		KRU = {
			 country_event = { days = 15 id = liberia.19 }
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_four_year_plan
						NOT = {
							has_country_flag = KRU_migration_security
						}
					}
				}
			}
			298 = {
				add_manpower = -1000
			}
			761 = {
				add_manpower = 1000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_four_year_plan
						has_country_flag = KRU_migration_security
					}
				}
			}
			298 = {
				add_manpower = -1000
			}
			761 = {
				add_manpower = 1000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_two_year_plan
						NOT = {
							has_country_flag = KRU_migration_security
						}
					}
				}
			}
			298 = {
				add_manpower = -2000
			}
			761 = {
				add_manpower = 2000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_two_year_plan
						has_country_flag = KRU_migration_security
					}
				}
			}
			298 = {
				add_manpower = -2000
			}
			761 = {
				add_manpower = 2000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
	}
}

country_event = {
	id = liberia.18
	title = liberia.18.t
	desc = liberia.18.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.38.a
		ai_chance = { factor = 100 }
		KRU = {
			 country_event = { days = 15 id = liberia.39 }
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_four_year_plan
						NOT = {
							has_country_flag = KRU_migration_security
						}
					}
				}
			}
			298 = {
				add_manpower = -1000
			}
			761 = {
				add_manpower = 1000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_four_year_plan
						has_country_flag = KRU_migration_security
					}
				}
			}
			298 = {
				add_manpower = -1000
			}
			761 = {
				add_manpower = 1000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_two_year_plan
						NOT = {
							has_country_flag = KRU_migration_security
						}
					}
				}
			}
			298 = {
				add_manpower = -2000
			}
			761 = {
				add_manpower = 2000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		if = {
			limit = {
				LIB = {
					AND = {
						has_country_flag = LIB_two_year_plan
						has_country_flag = KRU_migration_security
					}
				}
			}
			298 = {
				add_manpower = -2000
			}
			761 = {
				add_manpower = 2000
			}
			hidden_effect = {
				clr_country_flag = KRU_migration_security
			}
		}
		760 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		298 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
}

#Mass Migration #2
country_event = {
	id = liberia.39
	title = liberia.39.t
	desc = liberia.39.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.39.a
		ai_chance = { factor = 50 }
		trigger = { NOT = { has_country_flag = KRU_resist_colonial_governance } }
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_four_year_plan
				}
			}
			KRU = {
				add_stability = 0.01
				add_political_power = 15
			}

		}
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_two_year_plan
				}
			}
			KRU = {
				add_stability = 0.02
				add_political_power = 30
			}
		}
	}

	option = {
		name = liberia.39.b
		ai_chance = { factor = 50 }
		trigger = { NOT = { has_country_flag = KRU_resist_colonial_governance } }
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_four_year_plan
				}
			}
			KRU = {
				add_stability = 0.02
				add_political_power = -30
			}
			set_country_flag = KRU_migration_security

		}
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_two_year_plan
				}
			}
			KRU = {
				add_stability = 0.04
				add_political_power = -60
			}
			set_country_flag = KRU_migration_security
		}
	}

	option = {
		name = liberia.39.c
		ai_chance = { factor = 0 }
		trigger = { has_country_flag = KRU_resist_colonial_governance }
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_four_year_plan
				}
			}
			KRU = {
				add_stability = 0.01
				add_political_power = 15
			}

		}
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_two_year_plan
				}
			}
			KRU = {
				add_stability = 0.02
				add_political_power = 30
			}
		}
	}

}

country_event = {
	id = liberia.19
	title = liberia.19.t
	desc = liberia.19.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.19.a
		ai_chance = { factor = 50 }
		trigger = { NOT = { has_country_flag = KRU_resist_colonial_governance } }
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_four_year_plan
				}
			}
			KRU = {
				add_stability = 0.01
				add_political_power = 15
			}

		}
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_two_year_plan
				}
			}
			KRU = {
				add_stability = 0.02
				add_political_power = 30
			}
		}
		761 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}

	option = {
		name = liberia.19.b
		ai_chance = { factor = 50 }
		trigger = { has_country_flag = KRU_resist_colonial_governance }
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_four_year_plan
				}
			}
			KRU = {
				add_stability = 0.01
				add_political_power = 15
			}

		}
		if = {
			limit = {
				LIB = {
					has_country_flag = LIB_two_year_plan
				}
			}
			KRU = {
				add_stability = 0.02
				add_political_power = 30
			}
		}
		761 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}

}

#Mass Migration #2
country_event = {
	id = liberia.40
	title = liberia.40.t
	desc = liberia.40.d
	picture = GFX_report_event_soviet_finnish_pact

	is_triggered_only = yes

	option = {
		name = liberia.40.a
		ai_chance = { factor = 100 }
	}

	option = {
		name = liberia.40.b
		ai_chance = { factor = 0 }
		KRU = { change_tag_from = ROOT }
	}

}

###TO-DO LIST START###
#*1869 Term length referendum
#*Depose Roye
#*Continue Adding elections
#*More Playtests
###TO-DO  LIST  END###

###USE VS + EXTENSIONS IN #USEFUL-LINKS###

###ELECTIONS###

country_event = { #Election of 1859
	id = liberia.61
	title = liberia.61.t
	desc = liberia.61.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	
	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #Stephen Allen Benson
		name = liberia.61.a
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		custom_effect_tooltip = liberia.61.aa
		add_popularity = { ideology = centrism popularity = 0.01 }
		hidden_effect = { #President Benson Re-Elected
			news_event = liberia.56
		}
	}
	option = { #Alt History Outcome
		name = liberia.61.b
		trigger = { NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } }
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
			add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
			set_politics = { ruling_party = traditional_conservatism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

country_event = { #Election of 1861
	id = liberia.62
	title = liberia.62.t
	desc = liberia.62.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #Stephen Allen Benson
		name = liberia.62.a
		custom_effect_tooltip = liberia.62.aa
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		add_popularity = {
			ideology = centrism
			popularity = 0.01
		}
		hidden_effect = { #President Benson Re-Elected
			news_event = liberia.56
		}
	}
	option = { #Alt History Outcome
		name = liberia.62.b
		trigger = { NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } }
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
			add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
			set_politics = { ruling_party = traditional_conservatism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

country_event = { #Elecion of 1863
	id = liberia.63
	title = liberia.63.t
	desc = liberia.63.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #Danial Bashiel Warner
		name = liberia.63.a
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		set_country_flag = LIB_Warner_1863
		add_popularity = {
			ideology = centrism
			popularity = 0.02
		}
		hidden_effect = { #Danial Warner Elected
			news_event = liberia.57
		}
	}
	option = { #Alt History Outcome
		name = liberia.63.b
		trigger = { NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } }
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
			add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
			set_politics = { ruling_party = traditional_conservatism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

country_event = { #Election of 1865
	id = liberia.64
	title =  liberia.64.t
	desc = liberia.64.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #Danial Bashiel Warner
		name = liberia.64.a
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		custom_effect_tooltip = liberia.64.aa
		add_popularity = { 
			ideology = centrism 
			popularity = 0.01 
		}
		hidden_effect = { #President Warner Re-Elected
			news_event = liberia.58
		}
	}
	option = { #Alt History Outcome
		name = liberia.64.b
		trigger = { NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } }
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
			add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
			set_politics = { ruling_party = traditional_conservatism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

country_event = { #Election of 1867
	id = liberia.65
	title = liberia.65.t
	desc = liberia.65.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #James Spriggs Payne
		name = liberia.65.a
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		ai_chance = {
			factor = 50
			modifier = { #Historical Option
				factor = 100
				is_historical_focus_on = yes
			}
		}
		set_country_flag = LIB_Payne_1867
		custom_effect_tooltip = liberia.65.aa
		add_popularity = {
			ideology = centrism 
			popularity = 0.02 
		}
		hidden_effect = { #James Spriggs Payne Elected
			news_event = liberia.59
		}
	}

	option = { #Edward James Roye
		name = liberia.65.b
		trigger = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
		ai_chance = {
			factor = 50
		}
		set_country_flag = LIB_Roye_1867
		add_popularity = { 
			ideology = traditional_conservatism 
			popularity = 0.05 
		}
		hidden_effect = { #Edward James Roye Elected
			news_event = liberia.68
		}
	}
	option = { #Alt History Outcome
		name = liberia.65.c
		trigger = { 
			NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } 
			NOT = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } } 
		}
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

country_event = { #Election of 1869
	id = liberia.66
	title = liberia.66.t
	desc = liberia.66.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
				set_politics = { ruling_party = centrism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
				set_politics = { ruling_party = traditional_conservatism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
				set_politics = { ruling_party = anarchism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
				set_politics = { ruling_party = ideology_social_liberalism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
				set_politics = { ruling_party = ideology_radical_socialism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
				set_politics = { ruling_party = social_egalitarianism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
				set_politics = { ruling_party = radical_democracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
				set_politics = { ruling_party = chauvinist_populism }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
				set_politics = { ruling_party = autocracy }
			}
			else_if = {
				limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
				set_politics = { ruling_party = fundamentalism }
			}
		}
	}

	option = { #James Spriggs Payne
		name = liberia.66.a
		trigger = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } }
		ai_chance = {
			factor = 50
		}
		set_country_flag = LIB_Payne_1869
		if = {
			limit = {
				has_country_flag = LIB_Payne_1867
			}
			custom_effect_tooltip = liberia.66.aa
			add_popularity = { 
				ideology = centrism 
				popularity = 0.01 
			}
			hidden_effect = {
				news_event = liberia.70 
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = LIB_Payne_1867
				}
			}
			hidden_effect = {
				news_event = liberia.59
			}
			add_popularity = {
				ideology = centrism 
				popularity = 0.05 
			}
		}
	}

	option = { #Edward James Roye
		name = liberia.66.b
		trigger = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } }
		ai_chance = {
			factor = 50
			modifier = { #Historical Option
				factor = 100
				is_historical_focus_on = yes
			}
		}
		set_country_flag = LIB_Roye_1869
		custom_effect_tooltip = liberia.66.ba
		if = {
			limit = {
				has_country_flag = LIB_Roye_1867
			}
			custom_effect_tooltip = liberia.66.bb
			hidden_effect = { #Edward James Roye Re-Elected
				news_event = liberia.69
			}
			add_popularity = { 
				ideology = traditional_conservatism 
				popularity = 0.01 
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = LIB_Roye_1867
				}
			}
			hidden_effect = { #Edward James Roye Elected
				news_event = liberia.60
			}
			add_popularity = { 
				ideology = traditional_conservatism 
				popularity = 0.05 
			}
		}
	}
	option = { #Alt History Outcome
		name = liberia.66.c
		trigger = { 
			NOT = { check_variable = { var = highest_party_ideology value = token:centrism compare = equals } } 
			NOT = { check_variable = { var = highest_party_ideology value = token:traditional_conservatism compare = equals } } 
		}
		if = {
			limit = { check_variable = { var = highest_party_ideology value = token:anarchism compare = equals } }
			add_popularity = { ideology = anarchism popularity = 0.01 }
			set_politics = { ruling_party = anarchism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_social_liberalism compare = equals } }
			add_popularity = { ideology = ideology_social_liberalism popularity = 0.01 }
			set_politics = { ruling_party = ideology_social_liberalism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:ideology_radical_socialism compare = equals } }
			add_popularity = { ideology = ideology_radical_socialism popularity = 0.01 }
			set_politics = { ruling_party = ideology_radical_socialism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:social_egalitarianism compare = equals } }
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			set_politics = { ruling_party = social_egalitarianism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:radical_democracy compare = equals } }
			add_popularity = { ideology = radical_democracy popularity = 0.01 }
			set_politics = { ruling_party = radical_democracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:chauvinist_populism compare = equals } }
			add_popularity = { ideology = chauvinist_populism popularity = 0.01 }
			set_politics = { ruling_party = chauvinist_populism }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:autocracy compare = equals } }
			add_popularity = { ideology = autocracy popularity = 0.01 }
			set_politics = { ruling_party = autocracy }
		}
		else_if = {
			limit = { check_variable = { var = highest_party_ideology value = token:fundamentalism compare = equals } }
			add_popularity = { ideology = fundamentalism popularity = 0.01 }
			set_politics = { ruling_party = fundamentalism }
		}
		hidden_effect = {
			news_event = liberia.67
		}
	}
}

###ELECTION NEWS EVENTS###

news_event = { 
	id = liberia.67
	title = liberia.67.t
	desc = liberia.67.d

	is_triggered_only = yes

	option = {
		name = liberia.67.a
	}
}

news_event = { #1859,61 Election - Benson Re-Elected
	id = liberia.56
	title = liberia.56.t
	desc = liberia.56.d

	is_triggered_only = yes

	option = {
		name = liberia.56.a
	}
}

news_event = { #1863 - Warner Elected
	id = liberia.57
	title = liberia.57.t
	desc = liberia.57.d

	is_triggered_only = yes

	option = { #Send Congratulations to Warner
		name = liberia.57.a
	}
}

news_event = { #1865 - Warner Re-Elected
	id = liberia.58
	title = liberia.58.t
	desc = liberia.58.d

	is_triggered_only = yes

	option = {
		name = liberia.58.a
	}
}

news_event = { #1867,69 - Payne Elected
	id = liberia.59
	title = liberia.59.t
	desc = liberia.59.d

	is_triggered_only = yes

	option = { #Send Congratulations to Payne
		name = liberia.59.a
	}
}

news_event = { #1867 - Roye - Elected - Alt Hist.
	id = liberia.68
	title = liberia.68.t
	desc = liberia.68.d

	is_triggered_only = yes

	option = { #Send Congratulations to Roye
		name = liberia.68.a
	}
}

news_event = { #1869 - Roye - Elected
	id = liberia.60
	title = liberia.60.t
	desc = liberia.60.d

	is_triggered_only = yes

	option = { #Send Congratulations to Roye
		name = liberia.60.a
	}
}

news_event = { #1869 - Roye - Re-Elected - Alt Hist.
	id = liberia.69
	title = liberia.69.t
	desc = liberia.69.d

	is_triggered_only = yes

	option = {
		name = liberia.69.a
	}
}

news_event = { #1869 - Payne - Re-Elected - Alt Hist.
	id = liberia.70
	title = liberia.70.t
	desc = liberia.70.d

	is_triggered_only = yes

	option = {
		name = liberia.70.a
	}
}

###INAUGURATION###

country_event = { #Warner Inaugerated
	id = liberia.71
	title = liberia.71.t
	desc = liberia.71.d
		
	fire_only_once = yes
	is_triggered_only = yes

		
	trigger = {
		tag = LIB
		has_country_flag = LIB_Warner_1863
		#date > 1864.1.4
	}
		
	option = {
		name = liberia.71.a
		custom_effect_tooltip = liberia.71.aa
		retire_country_leader = yes
		create_country_leader = {
			name = "Danial Bashiel Warner"
			desc = "LIB_POLITICS_TEMP_DESC"
			picture = "Portrait_LIB_Daniel_Warner.dds"
			expire = 1880.12.1
			ideology = market_liberal
		}
	}
}

country_event = { #Payne Inaugerated
	id = liberia.72
	title = liberia.72.t
	desc = liberia.72.d
	
	fire_only_once = yes
	is_triggered_only = yes
		
	trigger = {
		tag = LIB
		has_country_flag = LIB_Payne_1867
		#date > 1868.1.6
	}
		
	option = {
		name = liberia.72.a
		custom_effect_tooltip = liberia.72.aa
		retire_country_leader = yes
		create_country_leader = {
			name = "James Spriggs Payne"
			desc = "LIB_POLITICS_TEMP_DESC"
			picture = "Portrait_LIB_James_Payne.dds"
			expire = 1882.1.31
			ideology = market_liberal
		}
	}
}

country_event = { #Roye Inaugerated - ALt Hist.
	id = liberia.74
	title = liberia.74.t
	desc = liberia.74.d
		
	fire_only_once = yes
	is_triggered_only = yes
		
	trigger = {
		tag = LIB
		has_country_flag = LIB_Roye_1867
		#date > 1868.1.6
	}
		
	option = {
		name = liberia.74.a
		custom_effect_tooltip = liberia.74.aa
		create_country_leader = {
			name = "Edward James Roye"
			desc = "LIB_POLITICS_TEMP_DESC"
			picture = "Portrait_LIB_Edward_Roye.dds"
			expire = 1872.2.11
			ideology = conserv
		}
		set_party_name = { 
			ideology = traditional_conservatism 
			long_name = LIB_party_true_whig_long
			name = LIB_party_true_whig 
		}
		set_country_flag = LIB_election_alt_early_whig
		set_politics = {
			ruling_party = traditional_conservatism
		}
	}
}

country_event = { #Roye Inaugerated - 1869
	id = liberia.73
	title = liberia.73.t
	desc = liberia.73.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = LIB
		has_country_flag = LIB_Roye_1869
		#date > 1870.1.3
		NOT = {
			has_country_flag = LIB_Roye_1867
		}
	}
	
	option = {
		name = liberia.73.a
		custom_effect_tooltip = liberia.73.aa
		create_country_leader = {
				name = "Edward James Roye"
				desc = "LIB_POLITICS_TEMP_DESC"
				picture = "Portrait_LIB_Edward_Roye.dds"
				expire = 1872.2.11
				ideology = conserv
			}
		set_politics = {
			ruling_party = traditional_conservatism
		}
	}
}

country_event = { #Payne Inaugerated - 1869 - ALt Hist.
	id = liberia.75
	title = liberia.75.t
	desc = liberia.75.d
	
	fire_only_once = yes
	is_triggered_only = yes
		
	trigger = {
		tag = LIB
		has_country_flag = LIB_Payne_1869
		#date > 1870.1.3
		NOT = {
			has_country_flag = LIB_Payne_1867
		}
	}
	
	option = {
		name = liberia.75.a
		custom_effect_tooltip = liberia.75.aa
		create_country_leader = {
				name = "James Spriggs Payne"
				desc = "LIB_POLITICS_TEMP_DESC"
				picture = "Portrait_LIB_Edward_Roye.dds"
				expire = 1882.1.31
				ideology = market_liberal
			}
		set_politics = {
			ruling_party = centrism
		}
	}
}

###Party Creation###

country_event = { #Formation of the Opposition Party (TWP)
	id = liberia.76
	title = liberia.76.t
	desc = liberia.76.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = LIB
		#date > 1867.2.6
	}

	option = {
		name = liberia.76.a
		set_party_name = { #Opposition - Opposition Party
			ideology = traditional_conservatism 
			long_name = LIB_party_opposition_long
			name = LIB_party_opposition 
		}
		create_country_leader = {
					name = "Edward James Roye"
					desc = "LIB_POLITICS_TEMP_DESC"
					picture = "Portrait_LIB_Edward_Roye.dds"
					expire = 1872.2.11
					ideology = conserv
		}
	}
}

country_event = { #Formation of the True Whig Party
	id = liberia.77
	title = liberia.77.t
	desc = liberia.77.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = LIB
		#date > 1869.2.6
		NOT = {
			has_country_flag = LIB_election_alt_early_whig
		}
	}

	option = {
		name = liberia.77.a
		set_party_name = { #TWP - True Whig Party
			ideology = traditional_conservatism 
			long_name = LIB_party_true_whig_long
			name = LIB_party_true_whig 
		}
		create_country_leader = {
			name = "Edward James Roye"
			desc = "LIB_POLITICS_TEMP_DESC"
			picture = "Portrait_LIB_Edward_Roye.dds"
			expire = 1872.2.11
			ideology = conserv
		}
	}
}
