###########################
# Liberia
###########################
# By Kraken
###########################

add_namespace = LIB
add_namespace = hooverlib
add_namespace = LIBflavor
add_namespace = germlib
add_namespace = libporwar

# Liberia introduction event (fired by history file)
country_event = {
	id = LIB.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.1"}
	title = LIB.1.t
	desc = LIB.1.d
	picture = GFX_report_event_LIB_independence_day

	is_triggered_only = yes

	option = {
		name = LIB.1.a
		if = {
			limit = {
				tag = LIB
				}
			hidden_effect = {
				country_event = {
					id = LIB.96
					days = 1
				}
				country_event = {
					id = liberianumbahone.20
					days = 207
				}
			}
		}
		add_political_power = 5
	}
}

# Race Relations
country_event = {
	id = LIB.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.2"}
	title = LIB.2.t
	desc = LIB.2.d
	picture = GFX_report_event_SAF_crowd_1

	fire_only_once = yes

	is_triggered_only = yes

	option = { #More rights for natives
		ai_chance = {
			factor = 20
		}
		name = LIB.2.a
		add_popularity = {
			ideology = market_liberal
			popularity = 0.05
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.05
		}
		add_stability = 0.03
	}
	option = { #No rights for natives
		ai_chance = {
			factor = 80
		}
		name = LIB.2.b
		add_popularity = {
			ideology = social_conservative
			popularity = 0.05
		}
		add_stability = -0.03
	}
}

# Elections - 1939
country_event = {
	id = LIB.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.3"}
	title = LIB.3.t
	desc = LIB.3.d
	picture = GFX_report_event_SAF_parliament_3

	fire_only_once = yes
	
	is_triggered_only = yes

trigger = {
		tag = LIB
		has_elected_government = yes
		NOT = {
			has_country_flag = LIB_1939_elections_held
			has_country_flag = LIB_Firestone_Coup
			has_government = radical_socialist
		}
	}

	immediate = {
		set_country_flag = LIB_1939_elections_held
	}

	option = { #True Whig Party
		ai_chance = {
			factor = 50
		}
		name = LIB.3.a
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
	option = { #True Whig Party
		ai_chance = {
			factor = 20
		}
		name = LIB.3.b
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
	option = { #True Whig Party
		ai_chance = {
			factor = 20
		}
		name = LIB.3.c
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
	option = { #Liberia United
		ai_chance = {
			factor = 10
		}
		name = LIB.3.e
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
}

# Elections - 1939
country_event = {
	id = LIB.300
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.300"}
	title = LIB.300.t
	desc = LIB.300.d
	picture = GFX_report_event_SAF_parliament_3

	fire_only_once = yes
	
	is_triggered_only = yes

trigger = {
		tag = LIB
		has_government = radical_socialist
		NOT = {
			has_country_flag = LIB_1939_elections_held
			has_country_flag = LIB_Firestone_Coup
		}
	}

	immediate = {
		set_country_flag = LIB_1939_elections_held
	}

	option = { #PP
		ai_chance = {
			factor = 50
		}
		name = LIB.300.a
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
}

# Black Monday Hits Liberia
country_event = {
	id = LIB.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.5"}
	title = LIB.5.t
	desc = LIB.5.d
	picture = GFX_report_event_wharf

	is_triggered_only = yes
	
trigger = {
		NOT = {
			is_supposed_to_fire_for_tag = yes
		}
	}

	option = {
		name = LIB.5.a
		add_ideas = LIB_black_monday
		add_stability = -0.15
		add_political_power = -150
		add_war_support = -0.05
	}
}

# Patronize Allies? (fired by focus)
country_event = {
	id = LIB.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.6"}
	title = LIB.6.t
	desc = LIB.6.d
	picture = GFX_report_event_SAF_parliament_3

	is_triggered_only = yes

	option = {
		name = LIB.6.a
		add_political_power = 50
		add_popularity = {
			ideology = social_conservative
			popularity = 0.1
		}
	}
	option = {
		name = LIB.6.b
		add_political_power = -50
		add_ideas = LIB_industrial_investments
	}
}

# Status of Secret Societies (fired by focus)
country_event = {
	id = LIB.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.7"}
	title = LIB.7.t
	desc = LIB.7.d
	picture = GFX_report_event_SAF_parliament_2

	is_triggered_only = yes

	option = { # bring secret societies into the open
		name = LIB.7.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
			}
		}
		set_country_flag = LIB_societies_legalized
		add_stability = -0.03
		add_political_power = 50
	}
	option = { # ban secret societies
		name = LIB.7.b
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
			}
		}
		set_country_flag = LIB_societies_banned
		add_stability = 0.03
		add_political_power = -50
	}
}

# Social liberalism spreads throughout Afrika (fired by focus)
country_event = {
	id = LIB.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.9"}
	title = LIB.9.t
	desc = LIB.9.d
	picture = GFX_report_event_GFX_report_event_SAF_black_protest

	is_triggered_only = yes

	option = {
		name = LIB.9.a
		add_popularity = {
			ideology = social_liberal
			popularity = 0.10
		}
		add_stability = -0.02
	}
}

# The Freemasons attempt a coup
country_event = {
	id = LIB.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.10"}
	title = LIB.10.t
	desc = LIB.10.d
	picture = GFX_report_event_GER_march

	fire_only_once = yes

	is_triggered_only = yes
	
	option = { #oops
		name = LIB.10.a
		remove_all_ministers = yes
		add_stability = -0.10
		hidden_effect = {
			create_country_leader = {
			name = "Grand Lodge of Liberia"
			desc = "POLITICS_GRAND_LODGE_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Grand_Lodge_of_Liberia.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { provisional_congress }
			}
		}
	}
}

# whigs attempt a coup
country_event = {
	id = LIB.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.11"}
	title = LIB.11.t
	desc = LIB.11.d
	picture = GFX_report_event_CSA_black_militias

	fire_only_once = yes

	is_triggered_only = yes


	immediate = {
		clr_country_flag = LIB_societies_banned
	}

	option = { #coup succeeds
		name = LIB.11.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
				}
			}
		}
		hidden_effect = {
			country_event = {
				id = LIB.101
				days = 1
			}
		}
	}
	option = { #coup fails
		name = LIB.11.b
		ai_chance = {
			factor = 1
		}
		add_stability = 0.05
		set_country_flag = LIB_King_not_in_charge
		hidden_effect = {
			if = {
				limit = {
					has_government = radical_socialist
				}
				country_event = {
					id = LIBflavor.24
					days = 10
				}
			}
		}
	}
}

# Freemason purge of foreigners (fired by focus)
country_event = {
	id = LIB.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.12"}
	title = LIB.12.t
	desc = LIB.12.d
	picture = GFX_report_event_SAF_black_protest

	is_triggered_only = yes

	option = {
		name = LIB.12.a
		set_country_flag = LIB_no_foreigners
		add_manpower = -412
		add_stability = -0.05
		every_country = {
			limit = {
				exists = yes
				has_democratic_government = yes
				NOT = {
					tag = LIB
				}
			}
			add_opinion_modifier = {
				target = LIB
				modifier = LIB_freemason_purge_1
			}
		}
		hidden_effect = {
			country_event = {
				id = LIB.13
				days = 5
			}
		}
	}
	option = {
		name = LIB.12.b
		add_political_power = -50
		hidden_effect = {
			country_event = {
				id = LIB.13
				days = 5
			}
		}
	}
}

# Freemason purge of socialists
country_event = {
	id = LIB.13
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.13"}
	title = LIB.13.t
	desc = LIB.13.d
	picture = GFX_report_event_SAF_black_soldiers

	is_triggered_only = yes

	option = {
		name = LIB.13.a
		add_manpower = -432
		add_stability = -0.05
		every_country = {
			limit = {
				exists = yes
				has_socialist_government = yes
				NOT = {
					tag = LIB
				}
			}
			add_opinion_modifier = {
				target = LIB
				modifier = LIB_freemason_purge_2
			}
		}
		capital_scope = {
			add_building_construction = {
				type = industrial_complex
				level = -1
				instant_build = yes
			}
		}
		hidden_effect = {
			country_event = {
				id = LIB.14
				days = 5
			}
		}
	}
	option = {
		name = LIB.13.b
		add_political_power = -50
		hidden_effect = {
			country_event = {
				id = LIB.14
				days = 5
			}
		}
	}
}

# Freemason purge of true whigs
country_event = {
	id = LIB.14
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.14"}
	title = LIB.14.t
	desc = LIB.14.d
	picture = GFX_report_event_SAF_black_soldiers

	is_triggered_only = yes

	option = {
		name = LIB.14.a
		add_manpower = -2714
		add_stability = -0.15
		every_country = {
			limit = {
				exists = yes
				has_democratic_government = yes
				NOT = {
					tag = LIB
				}
			}
			add_opinion_modifier = {
				target = LIB
				modifier = LIB_freemason_purge_3
			}
		}
	}
	option = {
		name = LIB.14.b
		add_political_power = -50
	}
}

# Liberia demands Sierra Leone from National France
country_event = {
	id = LIB.51
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.51"}
	title = LIB.51.t
	desc = LIB.51.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	immediate = {
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_outraged
		}
	}

	option = { #Fine, let them have it
		name = LIB.51.a
		ai_chance = {
			factor = 25
			modifier = {
				factor = 3
				strength_ratio = {
					tag = LIB
					ratio < 1.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 2.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 3.0
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = yes
				surrender_progress > 0.20
			}
		}
		add_political_power = -50 LIB = {
			transfer_state = 700
			country_event = {
				id = LIB.53
				days = 1
			}
		}
	}
	option = { #Absolutely not!
		name = LIB.51.b
		ai_chance = {
			factor = 75
		}
		LIB = {
			country_event = {
				id = LIB.52
				days = 1
			}
		}
	}
}

# National France has refused the demand
country_event = {
	id = LIB.52
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.52"}
	title = LIB.52.t
	desc = LIB.52.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = { #war
		name = LIB.52.a
		ai_chance = {
			factor = 75
		}
		declare_war_on = {
			target = FROM
			type = annex_everything
		}
	}
	option = { #get cucked
		name = LIB.52.b
		ai_chance = {
			factor = 25
		}
		add_political_power = -50
	}
}

# National France has surrendered Sierra Leone
country_event = {
	id = LIB.53
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.53"}
	title = LIB.53.t
	desc = LIB.53.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.53.a
		effect_tooltip = {
			transfer_state = 700
		}
	}
}

# Liberia controls Sierra Leone during war with National France
country_event = {
	id = LIB.54
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.54"}
	title = LIB.54.t
	desc = LIB.54.d

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}

trigger = {
		tag = LIB
		controls_state = 700
		has_war_with = ENT
		OR = {
			is_in_faction = no
			is_faction_leader = yes
		}
		NOT = {
			any_owned_state = {
				NOT = {
					is_controlled_by = ROOT
				}
			}
		}
		ENT = {
			owns_state = 700
		}
	}

	option = {
		name = LIB.54.a #Send the French the peace proposal
		ENT = {
			country_event = LIB.55
		}
	}
	option = {
		name = LIB.54.b #We are not ready for peace yet
	trigger = {
			is_ai = no
		}
		add_political_power = -50
		add_stability = -0.05
	}
}

# National France decides whether to accept the Liberian peace offer
country_event = {
	id = LIB.55
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.55"}
	title = LIB.55.t
	desc = LIB.55.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.55.a #Let them have that backwater countryside
		add_political_power = -50 LIB = {
			transfer_state = 700
			white_peace_with_ROOT = yes
		}
	}

	option = {
		name = LIB.55.b #Never! French Honour is on the line!
	trigger = {
			is_ai = no
		}
		add_political_power = 25 LIB = {
			country_event = {
				id = LIB.56
				days = 1
			}
		}
	}
}

# National France has refused the peace deal
country_event = {
	id = LIB.56
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.56"}
	title = LIB.56.t
	desc = LIB.56.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.56.a
		add_war_support = -0.02
	}
}

# Liberia demands Ivory Coast from Mittelafrika
country_event = {
	id = LIB.57
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.57"}
	title = LIB.57.t
	desc = LIB.57.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	immediate = {
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_outraged
		}
	}

	option = { #Fine, let them have it
		name = LIB.51.a
		ai_chance = {
			factor = 33
			modifier = {
				factor = 3
				strength_ratio = {
					tag = LIB
					ratio < 1.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 2.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 3.0
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = yes
				surrender_progress > 0.20
			}
		}
		add_political_power = -50
		CIV = {
			country_event = liberianumbahone.25
			add_opinion_modifier = {
				target = MAF
				modifier = ITA_outraged
			}
		}
	}
	option = { #Absolutely not!
		name = LIB.51.b
		ai_chance = {
			factor = 66
			modifier = {
				factor = 0
				has_game_rule = {
					rule = LIB_bushwar
					option = LIB_BUSHWAR_GUARANTEED
				}
			}
		}
		LIB = {
			country_event = {
				id = LIB.58
				days = 1
			}
		}
	}
}

# Mittelafrika has refused the demand
country_event = {
	id = LIB.58
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.58"}
	title = LIB.52.t
	desc = LIB.52.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.52.a
		ai_chance = {
			factor = 75
		}
		declare_war_on = {
			target = IVO
			type = annex_everything
		}
		hidden_effect = {
			807 = {
				set_demilitarized_zone = no
			}
		}
	}
	option = {
		name = LIB.52.b
		ai_chance = {
			factor = 25
		}
		add_political_power = -50
	}
}

# Mittelafrika has surrendered Ivory Coast
country_event = {
	id = LIB.59
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.59"}
	title = LIB.59.t
	desc = LIB.59.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.59.a
		add_political_power = 50
		declare_war_on = {
			target = IVO
			type = annex_everything
		}
	}
}

# Liberia controls Ivory Coast during war with Mittelafrika
country_event = {
	id = LIB.60
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.60"}
	title = LIB.60.t
	desc = LIB.60.d
	picture = GFX_report_event_legco2

	mean_time_to_happen = {
		days = 90
	}
	
	fire_only_once = yes

trigger = {
		tag = LIB
		controls_state = 807
		controls_state = 963
		has_war_with = IVO
		OR = {
			is_in_faction = no
			is_faction_leader = yes
		}
		NOT = {
			any_owned_state = {
				NOT = {
					is_controlled_by = ROOT
				}
			}
		}
		IVO = {
			owns_state = 807
			owns_state = 963
			surrender_progress > 0.45
		}
	}
	
	option = {
		name = LIB.60.a #Send the peace proposal
		IVO = {
			country_event = LIB.61
		}
	}
	option = {
		name = LIB.60.b #wtf are you doing you idiot
	trigger = {
			is_ai = no
		}
		add_political_power = -50
		add_stability = -0.05
	}
}

# Mittelafrika decides whether to accept the Liberian peace offer
country_event = {
	id = LIB.61
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.61"}
	title = LIB.55.t
	desc = LIB.61.d
	picture = GFX_report_event_legco2


	is_triggered_only = yes

	option = {
		name = LIB.61.a #Let them have that backwater countryside
		add_political_power = -50 
		LIB = {
			annex_country = { target = IVO transfer_troops = no }
			white_peace_with_ROOT = yes
			if = {
				limit = { has_war_with = MAF }
				white_peace = MAF
			}
		}
	}

	option = {
		name = LIB.61.b #Never! German Honour is on the line!
	trigger = {
			is_ai = no
		}
		add_political_power = 25 
		LIB = {
			country_event = {
				id = LIB.62
				days = 1
			}
		}
	}
}

# Mittelafrika has refused the peace deal
country_event = {
	id = LIB.62
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.62"}
	title = LIB.56.t
	desc = LIB.56.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = LIB.56.a
		add_war_support = -0.02
	}
}

### Finding a bailout partner (fired by focus)
country_event = {
	id = LIB.85
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.85"}
	title = LIB.85.t
	desc = LIB.85.d
	picture = GFX_report_event_afrikahaus

	is_triggered_only = yes

	option = { #American Bailout
	trigger = {
			country_exists = USA
			OR = {
				NOT = {
					has_socialist_government = yes
				}
				USA = {
					has_socialist_government = yes
				}
			}
			OR = {
				is_subject_of = USA
				is_subject = no
			}
		}
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0
				has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
			}
		}
		name = LIB.85.a
		USA = {
			country_event = LIB.86
		}
	}
	option = { #German Bailout
	trigger = {
			country_exists = GER
			NOT = {
				is_subject_of = NFA
			}
			OR = {
				NOT = {
					has_socialist_government = yes
				}
				GER = {
					has_socialist_government = yes
				}
			}
		}
		ai_chance = {
			factor = 25
		}
		name = LIB.85.c
		GER = {
			country_event = LIB.87
		}
	}
	option = { #Firestone Bailout
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
			}
		}
		name = LIB.85.b
		add_ideas = LIB_firestone_bailout
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.1
		}
	}
}

# America asked for aid
country_event = {
	id = LIB.86
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.86"}
	title = LIB.86.t
	desc = LIB.86.d
	picture = GFX_report_event_afrikahaus

	is_triggered_only = yes

	option = {
		name = LIB.86.a #Of course we will help
		ai_chance = {
			factor = 85
		}
		LIB = {
			country_event = {
				id = LIB.89
				days = 3
			}
		}
		add_political_power = -50
		reverse_add_opinion_modifier = {
			target = LIB
			modifier = LIB_usa_bailout
		}
	}
	option = {
		name = LIB.86.b #They are on their own
		ai_chance = {
			factor = 15
		}
		set_country_flag = LIB_refused_bailout 
		LIB = {
			country_event = {
				id = LIB.88
				days = 3
			}
		}
		reverse_add_opinion_modifier = {
			target = LIB
			modifier = ITA_dislikes_govt
		}
	}
}

# Germany asked for aid
country_event = {
	id = LIB.87
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.87"}
	title = LIB.86.t
	desc = LIB.87.d
	picture = GFX_report_event_generic_diplomacy4

	is_triggered_only = yes

	option = {
		name = LIB.86.a #Of course we will help
		ai_chance = {
			factor = 85
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
				}
			}
		}
		LIB = {
			country_event = {
				id = LIB.89
				days = 3
			}
		}
		add_political_power = -50
		reverse_add_opinion_modifier = {
			target = LIB
			modifier = LIB_ger_bailout
		}
	}
	option = {
		name = LIB.86.b #They are on their own
		ai_chance = {
			factor = 15
			modifier = {
				factor = 0
				has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
			}
		}
		set_country_flag = LIB_refused_bailout 
		LIB = {
			country_event = {
				id = LIB.88
				days = 3
			}
		}
		reverse_add_opinion_modifier = {
			target = LIB
			modifier = ITA_dislikes_govt
		}
	}
}

# Aid refused
country_event = {
	id = LIB.88
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.88"}
	title = LIB.88.t
	desc = LIB.88.d
	picture = GFX_report_event_coast

	is_triggered_only = yes

	option = {
		name = LIB.88.a #America
	trigger = {
			NOT = {
				USA = {
					has_country_flag = LIB_refused_bailout
				}
			}
			OR = {
				is_subject_of = USA
				is_subject = no
			}
		}
		ai_chance = {
			factor = 50
		}
		USA = {
			country_event = LIB.86
		}
	}
	option = {
		name = LIB.88.b #Germany
	trigger = {
			NOT = {
				GER = {
					has_country_flag = LIB_refused_bailout
				}
				is_subject_of = NFA
			}
		}
		ai_chance = {
			factor = 25
		}
		GER = {
			country_event = LIB.87
		}
	}
	option = {
		name = LIB.88.c #Firestone
		ai_chance = {
			factor = 20
		}
		hidden_effect = {
			USA = {
				clr_country_flag = LIB_refused_bailout
			}
			GER = {
				clr_country_flag = LIB_refused_bailout
			}
		}
		add_ideas = LIB_firestone_bailout
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.1
		}
	}
}

# Aid granted
country_event = {
	id = LIB.89
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.89"}
	title = LIB.89.t
	desc = LIB.89.d
	picture = GFX_report_event_coast

	is_triggered_only = yes

	option = {
		name = LIB.89.a
		hidden_effect = {
			USA = {
				clr_country_flag = LIB_refused_bailout
			}
			GER = {
				clr_country_flag = LIB_refused_bailout
			}
		}
		if = {
			limit = {
				FROM = {
					tag = USA
				}
			}
			add_ideas = LIB_bailout_usa
			add_popularity = {
				ideology = social_conservative
				popularity = 0.1
			}
			else = {
				add_ideas = LIB_ger_bailout
				add_popularity = {
					ideology = authoritarian_democrat
					popularity = 0.1
				}
			}
		}
	}
}

# Liberia breaks puppet status
country_event = {
	id = LIB.90
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.90"}
	title = LIB.90.t
	picture = GFX_report_event_lagoon

	is_triggered_only = yes

	desc = {
		text = LIB.90.d.germany
	trigger = {
			LIB = {
				has_country_flag = LIB_aligned_germany
			}
		}
	}
	desc = {
		text = LIB.90.d.totalist
	trigger = {
			LIB = {
				has_government = totalist
			}
		}
	}
	desc = {
		text = LIB.90.d.natpop
	trigger = {
			LIB = {
				has_government = national_populist
			}
		}
	}
	desc = {
		text = LIB.90.d.default
	trigger = {
			LIB = {
				NOT = {
					has_government = totalist
					has_government = national_populist
					has_country_flag = LIB_aligned_germany
				}
			}
		}
	}
	option = {
		name = LIB.90.a #We have little choice but to let them be
		ai_chance = {
			factor = 70
			modifier = {
				factor = 0.5
				has_authoritarian_government = yes
			}
		}
		add_political_power = -50 LIB = {
			clr_country_flag = LIB_aligned_germany
		}
		add_opinion_modifier = {
			target = LIB
			modifier = ITA_outraged
		}
	}
}

# Liberia wishes to join the Internationale (fired from focus)
country_event = {
	id = LIB.91
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.91"}
	title = LIB.91.t
	desc = LIB.91.d
	picture = GFX_report_event_lagoon

	is_triggered_only = yes

	option = {
		name = LIB.91.a #Of course they may join!
		ai_chance = {
			factor = 90
		}
		add_political_power = 50
		add_to_faction = LIB
	}
	option = {
		name = LIB.91.b #We have no need of them
		ai_chance = {
			factor = 10
		}
		LIB = {
			country_event = {
				id = LIB.92
				days = 1
			}
		}
	}
}

# France refuses
country_event = {
	id = LIB.92
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.92"}
	title = LIB.92.t
	desc = LIB.92.d
	picture = GFX_report_event_lagoon

	is_triggered_only = yes

	option = {
		name = LIB.92.a
		add_political_power = -50
		add_opinion_modifier = {
			target = FRA
			modifier = ITA_dislikes_govt
		}
	}
}

# Peacing out with ACW victor
country_event = {
	id = LIB.93
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.93"}
	title = LIB.93.t
	desc = LIB.93.d
	picture = GFX_report_event_lagoon
	
	mean_time_to_happen = {
		days = 90
	}

	fire_only_once = yes

trigger = {
		tag = LIB
		is_subject = no
		is_in_faction = no
		OR = {
			has_war_with = CSA
			has_war_with = TEX
			has_war_with = CAL
			has_war_with = NEE
			has_war_with = MEX
		}
		NOT = {
			country_exists = USA
		}
		NOT = {
			has_country_flag = LIB_no_longer_puppet
		}
		controls_all_owned_states = yes
	}

	option = {
		name = LIB.93.a
		set_country_flag = LIB_no_longer_puppet
		every_country = {
			limit = {
				OR = {
					tag = CSA
					tag = TEX
					tag = CAL
					tag = NEE
					tag = MEX
				}
				has_war_with = LIB
			}
			LIB = {
				white_peace = PREV
			}
		}
	}
}

country_event = {
	id = LIB.94
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.94"}
	title = LIB.94.t
	desc = LIB.94.d
	picture = GFX_report_event_LIB_fatima

	is_triggered_only = yes

	option = {
		name = LIB.94.a
		hidden_effect = {
			set_country_flag = LIB_fatishere
		}
		create_country_leader = {
		name = "Fatima Massaquoi"
			desc = "POLITICS_FATIMA_MASSAQUOI_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Fatima_Massaquoi.png"
			expire = "1.1.1"
			ideology = prussian_constitutionalism_subtype
			traits = { nationalist_symbol }
		}	
		hidden_effect = {
			country_event = {
				id = LIB.95
				days = 20
			}
		}
	}	
 option = {
		name = LIB.94.b
		hidden_effect = { set_country_flag = LIB_albertislargeandincharge }
		add_stability = 0.01
	}
}

country_event = {
	id = LIB.95
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.95"}
	title = LIB.95.t
	desc = LIB.95.d
	picture = GFX_report_event_LIB_racemixing

	is_triggered_only = yes

	option = {
		name = LIB.95.a
		add_ideas = LIB_whiter_pale
	}
	option = {
		name = LIB.95.b
		add_stability = -0.02
	}
}

country_event = {
	id = LIB.96
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.96"}
	title = LIB.96.t
	desc = LIB.96.d
	picture = GFX_report_event_chiefs

	is_triggered_only = yes

	option = {
		name = LIB.96.a
		add_ideas = LIB_negro_settlements
}

}

country_event = {
	id = LIB.100
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.96"}
	title = LIB.100.t
	desc = LIB.100.d
	picture = GFX_report_event_slaves

	fire_only_once = yes
	
	immediate = {
		hidden_effect = {
			country_event = {
				id = LIB.10
				days = 1
			}
			set_country_flag = LIB_King_not_in_charge
		}
	}
	
	is_triggered_only = yes
	
trigger = {
		tag = LIB
		NOT = {
			has_government = authoritarian_democrat
			is_supposed_to_fire_for_tag = yes
		}
	}

	option = {
		name = LIB.100.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
				}
			}
		}
		hidden_effect = {
			country_event = {
				id = LIB.101
				days = 4
			}
		}
	}

	option = {
		name = LIB.100.b
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
				}
			}
		}
		hidden_effect = {
			country_event = {
				id = LIB.102
				days = 4
			}
		}
	}
}

country_event = {
	id = LIB.101
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.101"}
	title = LIB.101.t
	desc = LIB.101.d
	picture = GFX_report_event_SAF_parliament_3

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		remove_all_ministers = yes
		hidden_effect = {	
			set_party_name = {
				ideology = social_conservative
				long_name = LIB_social_conservative2_party_long
				name = LIB_social_conservative2_party
			}
			create_country_leader = {
				name = "Edwin Barclay"
				desc = "POLITICS_EDWIN_BARCLAY_DESC"
				picture = "gfx/leaders/LIB/Portrait_LIB_Edwin_Barclay_KR.png"
				expire = "1.1.1"
				ideology = soccon_true_whigs_subtype
				traits = { reluctant_interventionist }
			}
		}
	}

	option = { #True Whig Party
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
				}
			}
		}
		name = LIB.101.a
		add_political_power = 50
		set_capital = { state = 298 }
		set_politics = {
			ruling_party = social_conservative
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {
			add_ideas = {
				LIB_Edwin_James_Barclay_hog_sco
				LIB_George_S_Padmore_for_sco
				LIB_J_A_Railey_eco_sco
				LIB_Frank_Emmanuel_Tolbert_sec_sco
			}
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.2
		}
	}
	option = { #True Republicans
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
				}
			}
		}
		name = LIB.101.b
		add_political_power = 50
		set_capital = { state = 298 }
		set_politics = {
			ruling_party = market_liberal
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {
			add_ideas = {
				LIB_Clarence_Lorenzo_Simpson_hog_mli
				LIB_Gabriel_Lafayette_Dennis_for_mli
				LIB_Nete_Sie_Brownell_eco_mli
				LIB_Samuel_David_Coleman_sec_mli
			}
		}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.2
		}
	}
	option = { #Independent True Whigs
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
				}
			}
		}
		name = LIB.101.c
		add_political_power = 50
		set_capital = { state = 298 }
		set_politics = {
			ruling_party = social_liberal
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {
			add_ideas = {
				LIB_Clarence_Simpson_hog_sli
				LIB_Cornelius_Bosman_van_Oudkarspel_for_sli
				LIB_Benjamin_O_Davis_eco_sli
				LIB_Anthony_Dash_Wilson_sec_sli
			}
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.2
		}
	}
	option = { #SocLib True Whigs
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FREEMASON }
				}
			}
		}
		name = LIB.101.e
		add_political_power = 50
		set_capital = { state = 298 }
		set_politics = {
			ruling_party = social_democrat
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {
			add_ideas = {
				LIB_F_E_R_Johnson_hog_sde
				LIB_Gabriel_Johnson_for_sde
				LIB_Ella_Baker_eco_sde
				LIB_Anthony_Dash_Wilson_sec_sli
			}
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.2
		}
	}
	option = { # Freemasons
		name = LIB.101.f
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCCON }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_MARLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCLIB }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_SOCDEM }
				}
			}
		}
		remove_all_ministers = yes
		add_stability = -0.10
		set_capital = { state = 298 }
		add_ideas = LIB_broken_center
		set_country_flag = LIB_masons_in_power
		set_politics = {
			ruling_party = national_populist
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {
			add_ideas = LIB_William_Richard_Tolbert_hog_npo
			add_ideas = LIB_Allen_Yancey_for_npo
			add_ideas = LIB_James_Agea_Himie_Jones_eco_npo
			add_ideas = LIB_Cornelius_Bosman_van_Oudkarspel_sec_npo
		}
		add_popularity = {
			ideology = national_populist
			popularity = 0.25
		}

		# Remove Overlord & Faction
		if = {
			limit = {
				is_subject = yes
			}
			set_country_flag = LIB_no_longer_puppet
			overlord = {
				set_autonomy = {
					target = LIB
					autonomy_state = autonomy_free
				}
				country_event = LIB.90
			}
		}
		if = {
			limit = {
				is_in_faction = yes
			}
			leave_faction = yes
		}
		if = {
			limit = {
				has_idea = LIB_bailout_usa_2
			}
			swap_ideas = {
				remove_idea = LIB_bailout_usa_2
				add_idea = LIB_bailout_usa
			}
		}
	}
}

# Totalists attempt a coup
country_event = {
	id = LIB.102
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.11"}
	title = LIB.102.t
	desc = LIB.102.d
	picture = GFX_report_event_CSA_black_militias

	is_triggered_only = yes

	option = { #Firestone Intervenes
		name = LIB.102.a
		
		country_event = {
			id = LIB.103
			days = 4
		}
	}
}

# Totalists attempt a coup (Firestone Intervenes)
country_event = {
	id = LIB.103
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.11"}
	title = LIB.103.t
	desc = LIB.103.d
	picture = GFX_report_event_LIB_firestone_tire

	is_triggered_only = yes

	option = { #firestone intervenes
		name = LIB.103.a
		if = {
			limit = {
				OR = {
					has_idea = LIB_bailout_usa_2
					has_idea = LIB_bailout_usa
					has_idea = LIB_ger_bailout
				}
			}
			remove_ideas = LIB_bailout_usa_2
			remove_ideas = LIB_bailout_usa
			remove_ideas = LIB_ger_bailout
			add_ideas = LIB_firestone_bailout
		}
		set_politics = {
			ruling_party = paternal_autocrat
			elections_allowed = no
		}
		hidden_effect = {
			add_ideas = {
				LIB_Edwin_James_Barclay_hog_sco
				LIB_William_Tubman_for_pau
				LIB_Lansdell_Christie_eco_pau
				LIB_Gerald_Ford_sec_pau
			}
		}
		hidden_effect = {
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.07
			}
			country_event = {
				id = LIB.104
				days = 3
			}
		}

		# Remove Overlord & Faction
		if = {
			limit = {
				is_subject = yes
			}
			set_country_flag = LIB_no_longer_puppet
			overlord = {
				set_autonomy = {
					target = LIB
					autonomy_state = autonomy_free
				}
				country_event = LIB.90
			}
		}
		if = {
			limit = {
				is_in_faction = yes
			}
			leave_faction = yes
		}
	}
}

# Totalists attempt a coup
country_event = {
	id = LIB.104
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.104"}
	title = LIB.104.t
	desc = LIB.104.d
	picture = GFX_report_event_LIB_parade

	is_triggered_only = yes

	option = { #coup succeeds
		name = LIB.104.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
				}
			}
		}
		add_ideas = LIB_broken_center
		set_politics = {
			ruling_party = totalist
			elections_allowed = no
		}
		hidden_effect = {
			country_event = {
				id = LIBflavor.2
				days = 15
			}
		}
		set_party_name = {
			ideology = totalist
			long_name = LIB_totalist2_party_long
			name = LIB_totalist2_party
		}
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = {
				LIB_Lovett_Fort_Whiteman_hog_tot
				LIB_Thomas_Nimene_Botoe_for_tot
				LIB_Gbaflen_Davies_eco_tot
				LIB_S_Raymond_Horace_sec_tot
			}
			country_event = {
			id = LIB.11
			days = 7
		}
		}
		add_popularity = {
			ideology = totalist
			popularity = 0.25
		}
		add_stability = -0.10

		# Remove Overlord & Faction
		if = {
			limit = {
				is_subject = yes
			}
			set_country_flag = LIB_no_longer_puppet
			overlord = {
				set_autonomy = {
					target = LIB
					autonomy_state = autonomy_free
				}
				country_event = LIB.90
			}
		}
		if = {
			limit = {
				is_in_faction = yes
			}
			leave_faction = yes
		}
		if = {
			limit = {
				has_idea = LIB_bailout_usa_2
			}
			swap_ideas = {
				remove_idea = LIB_bailout_usa_2
				add_idea = LIB_bailout_usa
			}
		}
	}
	option = { #Dossen in power
		name = LIB.104.b
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
				}
			}
		}
		add_political_power = -50
		set_politics = {
			ruling_party = radical_socialist
			election_frequency = 48
			elections_allowed = yes
		}
		set_party_name = {
			ideology = radical_socialist
			long_name = LIB_radical_socialist2_party_long
			name = LIB_radical_socialist2_party
		}
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = {
				LIB_Albert_Porte_hog_rso
				LIB_Raymond_Leslie_Buell_for_rso
				LIB_Harry_A_Greaves_Sr_eco_rso
				LIB_S_Raymond_Horace_sec_tot
			}
			country_event = {
			id = LIB.11
			days = 7
			}
			hidden_effect = {
				country_event = {
					id = LIBflavor.2
					days = 15
				}
			}
		}	
		add_popularity = {
			ideology = radical_socialist
			popularity = 0.1
		}
	}
	option = { #firestone intervenes
		name = LIB.104.c
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_AUTDEM }
				}
			}
		}
		set_country_flag = LIB_King_not_in_charge
		set_country_flag = LIB_Firestone_Coup
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.06
		}
	}
	option = { #alfred
		name = LIB.104.e
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
				}
			}
		}
	trigger = {
			has_country_flag = LIB_albertislargeandincharge
		}
		set_country_flag = LIB_King_not_in_charge
		set_country_flag = LIB_germany_gang
		set_country_flag = LIB_america_closed_gang
		remove_ideas = LIB_firestone_bailout
		add_ideas = LIB_ger_bailout
		set_politics = {
			ruling_party = authoritarian_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.06
		}
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = {
				LIB_Edwin_James_Barclay_hog_sco
				LIB_George_S_Padmore_for_sco
				LIB_J_A_Railey_eco_sco
				LIB_Frank_Emmanuel_Tolbert_sec_sco
			}
			country_event = {
				id = germlib.12
				days = 1
			}
		}
	}
	option = { #fatima
		name = LIB.104.f
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_HOOVER }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_TOTALIST }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_RADSOC }
					has_game_rule = { rule = LIB_society option = LIB_SOCIETY_FIRESTONE }
				}
			}
		}
	trigger = {
			has_country_flag = LIB_fatishere
		}
		set_country_flag = LIB_King_not_in_charge
		set_country_flag = LIB_germany_gang
		set_country_flag = LIB_america_closed_gang
		remove_ideas = LIB_firestone_bailout
		add_ideas = LIB_ger_bailout
		set_politics = {
			ruling_party = authoritarian_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.06
		}
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = {
				LIB_Edwin_James_Barclay_hog_sco
				LIB_George_S_Padmore_for_sco
				LIB_J_A_Railey_eco_sco
				LIB_Frank_Emmanuel_Tolbert_sec_sco
			}
			country_event = {
				id = germlib.12
				days = 1
			}
		}
	}
	
}
country_event = { #Freemason leadership thingy
	id = LIB.105
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIB.105"}
	title = LIB.105.t
	desc = LIB.105.d
	picture = GFX_report_event_LIB_parliment

	mean_time_to_happen = {
		days = 90
	}
	
	fire_only_once = yes

trigger = {
		tag = LIB
		has_government = national_populist
		has_country_flag = LIB_masons_in_power
	}

	option = {
		name = LIB.105.a
			create_country_leader = {
			name = "William Tubman"
			desc = "POLITICS_WILLIAM_TUBMAN_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_William_Tubman.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { grandmaster }
			}
		set_country_flag = LEADER_GUI_VISIBLE
		set_country_flag = LIB_grand_lodge_liberia
	}
	option = {
		name = LIB.105.b
			create_country_leader = {
			name = "Louis Arthur Grimes"
			desc = "POLITICS_LOUIS_GRIMES_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Louis_Grimes.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { grandmaster }
			}	
		set_country_flag = LEADER_GUI_VISIBLE
		set_country_flag = LIB_grand_lodge_liberia
	}
	option = {
		name = LIB.105.c
			create_country_leader = {
			name = "Clarence Simpson"
			desc = "POLITICS_CLARENCE_SIMPSON_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Clarence_Simpson.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { grandmaster }
			}
		set_country_flag = LEADER_GUI_VISIBLE
		set_country_flag = LIB_grand_lodge_liberia
	}
	option = {
		name = LIB.105.e
			create_country_leader = {
			name = "Frank Tolbert"
			desc = "POLITICS_FRANK_TOLBERT_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Frank_Tolbert.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { grandmaster }
			}	
		set_country_flag = LEADER_GUI_VISIBLE
		set_country_flag = LIB_grand_lodge_liberia
	}
	option = {
		name = LIB.105.f
		add_political_power = -200
			create_country_leader = {
			name = "Charles D. B. King"
			desc = "POLITICS_KING_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Charles_D_B_King.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { grandmaster  }
			}	
		set_country_flag = LEADER_GUI_VISIBLE
		set_country_flag = LIB_grand_lodge_liberia
	}
	option = {
		name = LIB.105.g
		add_political_power = 50
		hidden_effect = {
			create_country_leader = {
			name = "Grand Lodge of Liberia"
			desc = "POLITICS_LODGE_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Grand_Lodge_of_Liberia.png"
			expire = "1.1.1"
			ideology = natpop_true_whigs_subtype
			traits = { divided_interests  }
			}
		}
	}															
}
country_event = { # hoover into, stolen from SRI
	id = hooverlib.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.1" }
	title = hooverlib.1.t
	desc = hooverlib.1.d
	picture = GFX_report_event_LIB_independence_day

	is_triggered_only = yes

	option = {
		name = hooverlib.1.a
		hidden_effect = {
			set_country_flag = {
				flag = LIB_progressiveflag
				value = 0
			}
			set_country_flag = {
				flag = LIB_hooverflag
				value = 0
			}
			set_country_flag = {
				flag = LIB_exileflag
				value = 0
			}
		}
	}
}
country_event = { # the repsentiation question
	id = hooverlib.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.2" }
	title = hooverlib.2.t
	desc = hooverlib.2.d
	picture = GFX_USA_capitol_hill

	is_triggered_only = yes

	option = { # progressive
		name = hooverlib.2.a
		custom_effect_tooltip = LIB_progressive_tooltip
		
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_progressiveflag
				value = 1
			}
		}
	}
	option = { # hoover
		name = hooverlib.2.b
		custom_effect_tooltip = LIB_hoover_tooltip
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_hooverflag
				value = 1
			}
		}
	}
	option = { # exile gang
		name = hooverlib.2.c
		custom_effect_tooltip = LIB_exile_tooltip
		hidden_effect = {
			set_country_flag = LIB_no_congress
			modify_country_flag = {
				flag = LIB_exileflag
				value = 1
			}
		}
	}
}
country_event = { #the constitonnnn question
	id = hooverlib.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.3" }
	title = hooverlib.3.t
	desc = hooverlib.3.d
	picture = GFX_NEE_sons_of_liberty

	is_triggered_only = yes

	option = {
		name = hooverlib.3.a
		custom_effect_tooltip = LIB_progressive_tooltip
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_progressiveflag
				value = 1
			}
		}
	}
	option = {
		name = hooverlib.3.b
		custom_effect_tooltip = LIB_hoover_tooltip
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_hooverflag
				value = 1
			}
		}
	}
	option = {
		name = hooverlib.3.c
		custom_effect_tooltip = LIB_exile_tooltip
		hidden_effect = {
			set_country_flag = LIB_hoover_no_constition
			modify_country_flag = {
				flag = LIB_exileflag
				value = 1
			}
		}
	}
}
country_event = { # question of shrekregation
	id = hooverlib.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.4" }
	title = hooverlib.4.t
	desc = hooverlib.4.d
	picture = GFX_report_event_SAF_apartheid_1

	is_triggered_only = yes

	option = {
		name = hooverlib.4.a
		custom_effect_tooltip = LIB_progressive_tooltip
		if = {
			limit = {
				has_country_flag = LIB_exile_segregation
			}
			clr_country_flag = LIB_exile_segregation
		}
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_progressiveflag
				value = 1
			}
		}	
	}
	option = {
		name = hooverlib.4.b
		custom_effect_tooltip = LIB_hoover_tooltip
		hidden_effect = {
			modify_country_flag = {
				flag = LIB_hooverflag
				value = 1
			}
		}
	}
	option = {
		name = hooverlib.4.c
		custom_effect_tooltip = LIB_exile_tooltip
		if = {
			limit = {
				NOT = {
					has_country_flag = LIB_exile_segregation
				}
			}
			set_country_flag = LIB_exile_segregation
		}
		hidden_effect = {
			set_country_flag = LIB_hoover_shrekregeation
			modify_country_flag = {
				flag = LIB_exileflag
				value = 1
			}
		}
	}
}
country_event = { # fate of TWP
	id = hooverlib.5
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.5" }
	title = hooverlib.5.t
	desc = hooverlib.5.d
	picture = GFX_report_event_CIV_accra_riots

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.5.a
		add_stability = 0.15
	}
	option = { #ban
		name = hooverlib.5.b
		add_stability = -0.155
		hidden_effect = {
			set_party_name = {
			ideology = social_liberal
			long_name = LIB_social_liberal2_party_long
			name = LIB_social_liberal2_party
		}
		set_party_name = {
			ideology = market_liberal
			long_name = LIB_market_liberal2_party_long
			name = LIB_market_liberal2_party
		}
		set_party_name = {
			ideology = social_conservative
			long_name = LIB_social_conservative3_party_long
			name = LIB_social_conservative3_party
		}
		set_party_name = {
			ideology = national_populist
			long_name = LIB_national_populist2_party_long
			name = LIB_national_populist2_party
		}
		set_party_name = {
			ideology = social_democrat
			long_name = LIB_social_democrat2_party_long
			name = LIB_social_democrat2_party
		}
			
		}
	}
	
}
country_event = { # fate of firestone
	id = hooverlib.6
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.6" }
	title = hooverlib.6.t
	desc = hooverlib.6.d
	picture = GFX_report_event_LIB_objectivism

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.6.a
		add_political_power = 150
	}
	option = { #ban
		name = hooverlib.6.b
		add_political_power = -150
		remove_ideas = { LIB_firestone_bailout firestone_rubber LIB_firestone_rule }
	}
	
}
country_event = { # progressive america gang
	id = hooverlib.7
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.7" }
	title = hooverlib.7.t
	desc = hooverlib.7.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.7.a
		add_ideas = LIB_america_is_based
		if = {
			limit = {
				has_country_flag = LIB_hoover_no_constition
			}
			set_party_name = {
				ideology = authoritarian_democrat
				long_name = LIB_authoritarian_democrat2_party_long
				name = LIB_authoritarian_democrat2_party
			}
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
			}
			create_country_leader = {
				name = "Herbert Hoover"
				desc = "POLITICS_HERB_DESC"
				picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
				expire = "1.1.1"
				ideology = oligarchy_subtype
				traits = {hog_thepresident}
			}
		}
		if = {
			limit = {
				has_country_flag = LIB_no_congress
			}
			set_party_name = {
				ideology = authoritarian_democrat
				long_name = LIB_authoritarian_democrat2_party_long
				name = LIB_authoritarian_democrat2_party
			}
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
			}
			create_country_leader = {
				name = "Herbert Hoover"
				desc = "POLITICS_HERB_DESC"
				picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
				expire = "1.1.1"
				ideology = oligarchy_subtype
				traits = {hog_thepresident}
			}
		}
		if = {
			limit = {
				has_country_flag = LIB_hoover_shrekregeation
			}
			set_politics = {
				ruling_party = social_conservative
				elections_allowed = no
			}
			create_country_leader = {
				name = "Herbert Hoover"
				desc = "POLITICS_HERB_DESC"
				picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
				expire = "1.1.1"
				ideology = moderate_authoritarianism_subtype
				traits = {hog_thepresident}
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = LIB_no_congress
					has_country_flag = LIB_hoover_shrekregeation
					has_country_flag = LIB_hoover_no_constition
				}
			}
			set_politics = {
				ruling_party = market_liberal
				elections_allowed = no
			}
			create_country_leader = {
				name = "Herbert Hoover"
				desc = "POLITICS_HERB_DESC"
				picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
				expire = "1.1.1"
				ideology = market_liberal_subtype
				traits = {hog_thepresident}
			}
		}
		if = {
			limit = {
				has_global_flag = USA_Hoover_ded
			}
			set_country_leader_description = {
				desc = "POLITICS_HERB_SUS_DESC"
			}
			set_country_leader_portrait = {
				portrait = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover_Imposter.png"
			}
		}
	}
	
}
country_event = { # hoover america gang
	id = hooverlib.8
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.8" }
	title = hooverlib.8.t
	desc = hooverlib.8.d
	picture = GFX_USA_curtis_hoover

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.8.a
		add_ideas = LIB_hoover_is_america
	}
	
}
country_event = { # exile america gang
	id = hooverlib.9
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.9" }
	title = hooverlib.9.t
	desc = hooverlib.9.d
	picture = GFX_report_event_LIB_exile_flag

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.9.a
		add_ideas = LIB_exiles_are_america
		set_party_name = {
			ideology = national_populist
			long_name = LIB_national_populist3_party_long
			name = LIB_national_populist3_party
		}
		set_politics = {
			ruling_party = national_populist
			elections_allowed = no
		}
		create_country_leader = {
			name = "Herbert Hoover"
			desc = "POLITICS_HERB_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
			expire = "1.1.1"
			ideology = national_populist_subtype
			traits = {hog_thepresident}
		}
		if = {
			limit = {
				has_global_flag = USA_Hoover_ded
			}
			set_country_leader_description = {
				desc = "POLITICS_HERB_SUS_DESC"
			}
			set_country_leader_portrait = {
				portrait = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover_Imposter.png"
			}
		}
	}
	
}
country_event = { # freemason coup
	id = hooverlib.10
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.10" }
	title = hooverlib.10.t
	desc = hooverlib.10.d
	picture = GFX_report_event_LIB_village_burned

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.10.a
		set_cosmetic_tag = LIB_GREATER
		remove_all_ministers = yes
		add_stability = -0.10
		add_ideas = LIB_broken_center
		set_country_flag = LIB_masons_in_power
		set_politics = {
			ruling_party = national_populist
			elections_allowed = no
		}
		hidden_effect = {
			add_ideas = LIB_William_Richard_Tolbert_hog_npo
			add_ideas = LIB_Allen_Yancey_for_npo
			add_ideas = LIB_James_Agea_Himie_Jones_eco_npo
			add_ideas = LIB_Cornelius_Bosman_van_Oudkarspel_sec_npo
		}
		add_popularity = {
			ideology = national_populist
			popularity = 0.25
		}

		# Remove Overlord & Faction
		if = {
			limit = {
				is_subject = yes
			}
			set_country_flag = LIB_no_longer_puppet
			overlord = {
				set_autonomy = {
					target = LIB
					autonomy_state = autonomy_free
				}
				country_event = LIB.90
			}
		}
		if = {
			limit = {
				is_in_faction = yes
			}
			leave_faction = yes
		}
		if = {
			limit = {
				has_idea = LIB_bailout_usa_2
			}
			swap_ideas = {
				remove_idea = LIB_bailout_usa_2
				add_idea = LIB_bailout_usa
			}
		}
	}
	
}
country_event = { # invite hoover back?
	id = hooverlib.12
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.11" }
	title = hooverlib.12.t
	desc = hooverlib.12.d
	picture = GFX_USA_curtis_hoover

	mean_time_to_happen = {
		days = 180
	}
	
	fire_only_once = yes
	
trigger = {
		tag = COR
		OR = {
		has_country_leader = {
			name = "Charles Lindbergh"
			ruling_only = yes
		}
		has_country_leader = {
			name = "Henry Ford"
			ruling_only = yes
			}
		}
		LIB = {
			has_country_leader = {
				name = "Herbert Hoover"
				ruling_only = yes
			}
			OR = {
				has_government = paternal_autocrat
				has_government = authoritarian_democrat
				has_government = national_populist
			}
		}
		has_global_flag = USA_civil_war_over_flag
	}

		

	option = { #no
		name = hooverlib.12.a
		add_political_power = 15
	}
	
	option = { #yes
		name = hooverlib.12.b
		hidden_effect = {
			country_event = {
				id = hooverlib.14
				days = 22
			}
		}
	}
	
}

country_event = { # hoover elected
	id = hooverlib.14
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.14" }
	title = hooverlib.14.t
	desc = hooverlib.14.d
	picture = GFX_USA_curtis_hoover

	is_triggered_only = yes	

	option = { #yay
		name = hooverlib.14.a
		create_country_leader = {
			name = "Herbert Hoover"
			desc = "POLITICS_HERB_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover.png"
			expire = "1.1.1"
			ideology = corporatocracy_subtype
			traits = {hog_thepresident}
		}
		if = {
			limit = {
				has_global_flag = USA_Hoover_ded
			}
			set_country_leader_description = {
				desc = "POLITICS_HERB_SUS_DESC"
			}
			set_country_leader_portrait = {
				portrait = "gfx/leaders/LIB/Portrait_LIB_Herb_Hoover_Imposter.png"
			}
		}
		if = {
			limit = { LIB = {  is_ai = yes } }
			COR = { puppet = LIB }
		}
	}
}

country_event = { # flavor event
	id = hooverlib.11
	immediate = { log = "[GetDateText]: [Root.GetName]: event hooverlib.11" }
	title = hooverlib.11.t
	desc = hooverlib.11.d
	picture = GFX_report_event_LIB_refugees

	is_triggered_only = yes

	option = { #keep around
		name = hooverlib.11.a
		add_political_power = 15
	}
	
}
country_event = { #very epic poro event
	id = LIBflavor.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.1"}
	title = LIBflavor.1.t
	desc = LIBflavor.1.d
	picture = GFX_report_event_LIB_assimilation_success

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.1.a
		add_political_power = 20
		add_manpower = 1412
	}
}
country_event = { #red bucratussssssss
	id = LIBflavor.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.2"}
	title = LIBflavor.2.t
	desc = LIBflavor.2.d
	picture = GFX_report_event_LIB_parliment

	fire_only_once = yes

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.2.a
		add_stability = -0.15
		add_political_power = -50
		hidden_effect = {
			country_event = {
				id =  LIBflavor.3
				days = 60
			}
		}
	}
}
country_event = { #third international aid
	id = LIBflavor.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.3"}
	title = LIBflavor.3.t
	desc = LIBflavor.3.d
	picture = GFX_news_event_FRA_paris_march

	fire_only_once = yes

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.3.a
		add_equipment_to_stockpile = { type = support_equipment amount = 250 }
		add_equipment_to_stockpile = { type = infantry_equipment_1 amount = 100 }
		add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 250 }
		add_manpower = 400
		add_stability = 0.03
		add_war_support = 0.03
	}
}
country_event = { #barclay dinner
	id = LIBflavor.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.4"}
	title = LIBflavor.4.t
	desc = LIBflavor.4.d
	picture = GFX_quaker_thanksgiving

	fire_only_once = yes

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.4.a
		add_political_power = 50
		hidden_effect = {
			country_event = {
				id = LIBflavor.5
				days = 60
			}
		}		
	}
}
country_event = { #Ya Like Jazz?
	id = LIBflavor.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.5"}
	title = LIBflavor.5.t
	desc = LIBflavor.5.d
	picture = GFX_event_BBR_Jazz

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.5.a
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	
	}
}
country_event = { #natives swear fealty
	id = LIBflavor.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.6"}
	title = LIBflavor.6.t
	desc = LIBflavor.6.d
	picture = GFX_report_event_LIB_native_removal

	fire_only_once = yes

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.6.a
		increase_ruling_party_popularity_by_5 = yes
		add_stability = 0.15
		hidden_effect = {
			country_event = {
				id = LIBflavor.7
				days = 120
			}
		}		
	}
}
country_event = { #tubman stronk
	id = LIBflavor.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.7"}
	title = LIBflavor.7.t
	desc = LIBflavor.7.d
	picture = GFX_report_event_LIB_refugee_crisis_debate

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.7.a
		add_political_power = 50
		298 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
}
country_event = { #poro gang
	id = LIBflavor.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.8"}
	title = LIBflavor.8.t
	desc = LIBflavor.8.d
	picture = GFX_report_event_LIB_native_removal

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = LIBflavor.8.a
		add_stability = -0.15
		add_political_power = 50	
	}
}
country_event = { #breaking TWP
	id = LIBflavor.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.9"}
	title = LIBflavor.9.t
	desc = LIBflavor.9.d
	picture = GFX_report_event_LIB_parade

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.9.a
		increase_ruling_party_popularity_by_5 = yes
	
	}
}
country_event = { #handwaving unionism
	id = LIBflavor.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.10"}
	title = LIBflavor.10.t
	desc = LIBflavor.10.d
	picture = GFX_report_event_LIB_parliment

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.10.a
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
		hidden_effect = {
			country_event = {
				id = LIBflavor.21
			}
		}
	
	}
}
country_event = { #a ride with Ford
	id = LIBflavor.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.11"}
	title = LIBflavor.11.t
	desc = LIBflavor.11.d
	picture = GFX_NEE_road_Boston

	is_triggered_only = yes

	option = {
		name = LIBflavor.11.a
		add_political_power = 50
		add_war_support = 0.10
		hidden_effect = {
			country_event = {
				id =  LIBflavor.12
				days = 60
			}
		}
	
	}
}
country_event = { #Hoover book
	id = LIBflavor.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.12"}
	title = LIBflavor.12.t
	desc = LIBflavor.12.d
	picture = hoover_address_the_nation-21613

	is_triggered_only = yes

	option = {
		name = LIBflavor.12.a
		add_political_power = 50
		add_war_support = 0.10
	
	}
}
country_event = { #Hoover back in whitehouse
	id = LIBflavor.13
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.13"}
	title = LIBflavor.13.t
	desc = LIBflavor.13.d
	picture = USA_hoover_legacy

	is_triggered_only = yes

	option = {
		name = LIBflavor.13.a
		add_ideas = LIB_hoover_is_back
		hidden_effect = {
			country_event = {
				id =  LIBflavor.14
				days = 15
			}
		}
	
	}
}
country_event = { #Hoover meets curtis
	id = LIBflavor.14
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.14"}
	title = LIBflavor.14.t
	desc = LIBflavor.14.d
	picture = GFX_USA_curtis

	is_triggered_only = yes

	option = {
		name = LIBflavor.14.a
		add_political_power = 150
		add_stability = 0.15
		hidden_effect = {
			country_event = {
				id =  LIBflavor.15
				days = 15
			}
		}

	
	}
}
country_event = { #Hoover economics
	id = LIBflavor.15
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.15"}
	title = LIBflavor.15.t
	desc = LIBflavor.15.d
	picture = economic_recovery-24242

	is_triggered_only = yes

	option = {
		name = LIBflavor.15.a
		add_political_power = 150
		add_stability = 0.15
	}
}
country_event = { #dual throne gang
	id = LIBflavor.16
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.16"}
	title = LIBflavor.16.t
	desc = LIBflavor.16.d
	picture = GFX_report_event_LIB_parade
	
	mean_time_to_happen = {
		days = 180
	}

	fire_only_once = yes
trigger = {
		tag = LIB
		has_completed_focus = LIB_massaquoi_liberia
		has_completed_focus = LIB_sierra_leone_liberated
	}

	option = {
		name = LIBflavor.16.a
		increase_ruling_party_popularity_by_5 = yes
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.17
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.17"}
	title = LIBflavor.17.t
	desc = LIBflavor.17.d
	picture = GFX_report_event_LIB_fatima

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.17.a
		increase_ruling_party_popularity_by_5 = yes
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.18
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.17"}
	title = LIBflavor.18.t
	desc = LIBflavor.18.d
	picture = GFX_report_event_LIB_fatima

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.18.a
		add_political_power = 50
		add_stability = 0.10
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.19
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.17"}
	title = LIBflavor.19.t
	desc = LIBflavor.19.d
	picture = GFX_report_event_LIB_refugees

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.19.a
		add_political_power = 50
		add_manpower = 741
	}
}
country_event = { #dual throne gang
	id = LIBflavor.20
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.20"}
	title = LIBflavor.20.t
	desc = LIBflavor.20.d
	picture = GFX_report_event_LIB_fatima

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.20.a
		increase_ruling_party_popularity_by_5 = yes
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.21
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.17"}
	title = LIBflavor.21.t
	desc = LIBflavor.21.d
	picture = GFX_report_event_LIB_parade

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.21.a
		add_political_power = 50
		random_owned_state = {
				prioritize = { 298 } #Liberia
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.22
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.20"}
	title = LIBflavor.22.t
	desc = LIBflavor.22.d
	picture = GFX_report_event_LIB_parliment

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.22.a
		increase_ruling_party_popularity_by_5 = yes
		hidden_effect = {
			country_event = {
				id = LIBflavor.23
				days = 20
			}
		}
	
	}
}
country_event = { #dual throne gang
	id = LIBflavor.23
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.20"}
	title = LIBflavor.23.t
	desc = LIBflavor.23.d
	picture = GFX_report_event_LIB_candy_store

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.23.a
		add_political_power = 50
	
	}
}
country_event = { #flag gang
	id = LIBflavor.24
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.24"}
	title = LIBflavor.24.t
	desc = LIBflavor.24.d
	picture = GFX_report_event_LIB_parliment

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.24.a
		add_political_power = 50
	}
	option = {
		name = LIBflavor.24.b
		set_cosmetic_tag = LIB_PP1
	}
	option = {
		name = LIBflavor.24.c
		set_cosmetic_tag = LIB_PP2
	}
}	

country_event = { #admiral carter
	id = LIBflavor.25
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.25"}
	title = LIBflavor.25.t
	desc = LIBflavor.25.d
	picture = GFX_report_event_LIB_jimmy_carter

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.25.a
		clr_country_flag = William_H_Carter_dead
		create_navy_leader = { #Auto-Generated
			name = "James Earl Carter"
			portrait_path = "gfx/leaders/LIB/Portrait_LIB_James_Earl_Carter.png"
			traits = {
				superior_tactician
				politically_connected
				young_leader
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			maneuvering_skill = 1
			coordination_skill = 1
			id = 76481
		}
		hidden_effect = {
			country_event = {
				id = LIBflavor.33
				days = 30
			}
		}
	}
}	

country_event = { #gerald ford event
	id = LIBflavor.26
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.26"}
	title = LIBflavor.26.t
	desc = LIBflavor.26.d
	picture = GFX_report_event_LIB_gerald_ford

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.26.a
		navy_experience = 50
		hidden_effect = {
			country_event = {
				id = LIBflavor.25
				days = 585
			}
		}
	}
}
	
country_event = { #gerald ford event pt.2
	id = LIBflavor.27
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.27"}
	title = LIBflavor.27.t
	desc = LIBflavor.27.d
	picture = GFX_report_event_LIB_gerald_ford

	mean_time_to_happen = {
		days = 180
	}
	
	fire_only_once = yes
trigger = {
		NOT = {
			has_country_flag = James_F_Cooper_dead
		}
		tag = LIB
		OR = {
			has_government = national_populist
			has_government = totalist
		}
		NOT = {
			has_country_flag = LIB_Firestone_Coup
		}
	}

	option = {
		name = LIBflavor.27.a
		add_manpower = -39
		298 = {
			damage_building = {
				type = infrastructure
				damage = 1.0
			}
		}
		hidden_effect = {
			country_event = {
				id = LIBflavor.28
				days = 15
			}
		}
		set_country_flag = LIB_monrovia_incident
		set_country_flag = William_H_Carter_dead
		set_country_flag = James_F_Cooper_dead
		random_unit_leader = {
				limit = { has_id = 76480 }			
				remove_unit_leader = yes
			}
		random_unit_leader = {
				limit = { has_id = 76481 }			
				remove_unit_leader = yes
			}
	}
}

country_event = { #gerald ford event pt.3
	id = LIBflavor.28
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.28"}
	title = LIBflavor.28.t
	desc = LIBflavor.28.d
	picture = GFX_report_event_LIB_gerald_ford

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.28.a
		add_ideas = LIB_gerald_ford_idea
		hidden_effect = {	
			country_event = {
				id = LIBflavor.29
				days = 34
			}
		}
	}
}	

country_event = { #gerald ford event pt.4
	id = LIBflavor.29
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.29"}
	title = LIBflavor.29.t
	desc = LIBflavor.29.d
	picture = GFX_report_event_LIB_gerald_ford

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.29.a
		remove_ideas = LIB_gerald_ford_idea
	}
}
country_event = { #snek
	id = LIBflavor.30
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.30"}
	title = LIBflavor.30.t
	desc = LIBflavor.30.d
	picture = GFX_report_event_LIB_snek

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.30.a
		add_political_power = 5
	}
}	

country_event = { #blowing up the statue of liberty (epic style)
	id = LIBflavor.31
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.31"}
	title = LIBflavor.31.t
	desc = LIBflavor.31.d
	picture = GFX_report_event_LIB_parade

	fire_only_once = yes
	
	is_triggered_only = yes

	option = {
		name = LIBflavor.31.a
		add_political_power = -50
		hidden_effect = {
			random_other_country = {
				news_event = { id = LIBflavor.32 days = 15 }
			}
		}
	}
	option = {
		name = LIBflavor.31.b
		add_war_support = 0.01
	}
}

news_event = {
	id = LIBflavor.32
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.32"}
	title = LIBflavor.32.t
	desc = LIBflavor.32.d
	picture = GFX_report_event_LIB_liberty_boom

	fire_only_once = yes
	
	is_triggered_only = yes

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	option = {
		name = LIBflavor.32.a
	}

}
country_event = { #admiral carter
	id = LIBflavor.33
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.33"}
	title = LIBflavor.33.t
	desc = LIBflavor.33.d
	picture = GFX_report_event_LIB_jimmy_carter

	fire_only_once = yes
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}

	option = {
		name = LIBflavor.33.a
		add_political_power = 15
	}
}
country_event = { #didwho twe
	id = LIBflavor.34
	immediate = {log = "[GetDateText]: [Root.GetName]: event LIBflavor.34"}
	title = LIBflavor.34.t
	desc = LIBflavor.34.d
	picture = GFX_report_event_LIB_didwho_twe

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = LIBflavor.34.a
		increase_ruling_party_popularity_by_5 = yes
		add_stability = 0.05
		hidden_effect = {
		remove_ideas_with_trait = head_of_government
		}
		add_ideas = LIB_Didwho_Twe_hog_rso
	}
	option = {
		name = LIBflavor.34.b
		add_socdem_to_coalition = yes
		add_synd_to_coalition = yes
		add_tot_to_coalition = yes
		add_stability = -0.05
		if = {
		limit = { has_country_leader = { name = "Thomas J. Faulkner" ruling_only = yes } }
		create_country_leader = {
			name = "Didwho Twe"
			desc = "POLITICS_DIDWHO_TWE_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Didwho_Twe.png"
			expire = "1.1.1"
			ideology = radsoc_paternal_socialism_subtype
			traits = { }
			}
		hidden_effect = {
		remove_ideas_with_trait = head_of_government
		}
		add_ideas = LIB_Thomas_Faulkner_hog_rso
		}
	}
}
#joining germany
country_event = {
	id = germlib.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.1.t
	desc = germlib.1.d
	picture = GFX_report_event_railway2

	is_triggered_only = yes

	option = {
		name = germlib.1.a #impressive, very nice
		add_political_power = 20
		add_to_faction = LIB

	}
}
country_event = {
	id = germlib.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.2.t
	desc = germlib.2.d
	picture = GFX_report_event_railway2

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	is_triggered_only = yes

	option = {
		name = germlib.2.a #we can do it ourselfs
		add_stability = 0.05
		add_manpower = -78
		add_political_power = -150
	}
	option = {
		name = germlib.2.b #use german aid
		add_stability = -0.03
		add_war_support = -0.03
	}
}
country_event = {
	id = germlib.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.3.t
	desc = germlib.3.d
	picture = GFX_report_event_street3

	is_triggered_only = yes

	option = {
		name = germlib.3.a #legalize
		set_country_flag = LIB_pp_legal
		add_stability = -0.02
		add_war_support = 0.02
	}
	option = {
		name = germlib.3.b #ban
		add_political_power = -50
	}
}
country_event = {
	id = germlib.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.4.t
	desc = germlib.4.d
	picture = GFX_report_event_duala

	is_triggered_only = yes

	option = {
		name = germlib.4.a 
		add_ideas = LIB_albertrule
	}
}
country_event = {
	id = germlib.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.5.t
	desc = germlib.5.d
	picture = GFX_report_event_duala

	is_triggered_only = yes

	option = {
		name = germlib.5.a 
		add_ideas = LIB_fatimarule
	}
}
country_event = {
	id = germlib.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.6.t
	desc = germlib.6.d
	picture = GFX_report_event_oba

	is_triggered_only = yes

	option = {
		name = germlib.6.a 
		add_political_power = 30
		add_stability = -0.05
	}
}
country_event = {
	id = germlib.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.7.t
	desc = germlib.7.d
	picture = GFX_report_event_duse

	is_triggered_only = yes

	option = { #pp
		name = germlib.7.a 
	trigger = {
			has_country_flag = LIB_pp_legal
		}
		set_politics = {
			ruling_party = radical_socialist
			election_frequency = 48
			elections_allowed = yes
		}
		set_country_flag = LIB_monbol
		set_party_name = {
			ideology = radical_socialist
			long_name = LIB_radical_socialist2_party_long
			name = LIB_radical_socialist2_party
		}
		hidden_effect = {
			set_country_flag = LIB_faulkner_pm
			set_country_flag = LEADER_GUI_VISIBLE
			create_country_leader = {
		name = "Fatima Massaquoi"
			desc = "POLITICS_FATIMA_MASSAQUOI_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Fatima_Massaquoi.png"
			expire = "1.1.1"
			ideology = moderate_socialist_subtype
			traits = { nationalist_symbol }
			}	
			remove_all_ministers = yes
			add_ideas = {
				LIB_Albert_Porte_hog_rso
				LIB_Raymond_Leslie_Buell_for_rso
				LIB_Harry_A_Greaves_Sr_eco_rso
				LIB_S_Raymond_Horace_sec_tot
			}
		}	
		add_popularity = {
			ideology = radical_socialist
			popularity = 0.1
		}
	}
	option = { #twp
		name = germlib.7.b
		set_politics = {
			ruling_party = social_conservative
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = {	
			set_country_flag = LIB_barclay_pm
			set_country_flag = LEADER_GUI_VISIBLE
			set_party_name = {
				ideology = social_conservative
				long_name = LIB_social_conservative2_party_long
				name = LIB_social_conservative2_party
			}
			create_country_leader = {
			name = "Fatima Massaquoi"
			desc = "POLITICS_FATIMA_MASSAQUOI_DESC"
			picture = "gfx/leaders/LIB/Portrait_LIB_Fatima_Massaquoi.png"
			expire = "1.1.1"
			ideology = soccon_true_whigs_subtype
			traits = { nationalist_symbol }
		}	
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.2
		}
	}
	option = { #german-bund
		name = germlib.7.c
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.2
		}
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = LIB_Momolu_Massaquoi_hog_ade
			add_ideas = LIB_Momolu_Dukuly_for_ade
			add_ideas = LIB_Solomon_Carter_Fuller_eco_ade
			add_ideas = LIB_William_Wade_Harris_sec_ade
		}
	}
}
country_event = {
	id = germlib.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.8.t
	desc = germlib.8.d
	picture = GFX_report_event_generic_diplomacy2

	is_triggered_only = yes

	option = {
		name = germlib.8.a 
		add_political_power = 20
		GER = {
			country_event = germlib.9
		}
	}
}
country_event = {
	id = germlib.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.9.t
	desc = germlib.9.d
	picture = GFX_report_event_duse

	is_triggered_only = yes

	option = {
		name = germlib.9.a #yes
		ai_chance = {
			factor = 10 # none of this chain makes any sense at all
		}
	trigger = {
			GHA = {
				is_ai = yes
			}
			IVO = {
				is_ai = yes
			}
		}
		add_political_power = -50
		CIV = {
			country_event = liberianumbahone.25
			add_opinion_modifier = {
				target = GER
				modifier = ITA_outraged
			}
		}
	}
	option = {
		name = germlib.9.b #no
		ai_chance = {
			factor = 90
			modifier = {
				factor = 0
				has_game_rule = {
					rule = LIB_bushwar
					option = LIB_BUSHWAR_GUARANTEED
				}
			}
		}
		add_political_power = 50
		LIB = {
			country_event = germlib.10
		}
	}
}
country_event = {
	id = germlib.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.10.t
	desc = germlib.10.d
	picture = GFX_report_event_governorhaus

	is_triggered_only = yes

	option = {
		name = germlib.10.a 
		add_political_power = -50
		add_stability = -0.03
	}
}
country_event = {
	id = germlib.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.11.t
	desc = germlib.11.d
	picture = GFX_report_event_governorhaus

	is_triggered_only = yes

	option = {
		name = germlib.11.a 
		add_ideas = LIB_germanliberianstate
	}
}
country_event = { #flag
	id = germlib.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event germlib.1"}
	title = germlib.12.t
	desc = germlib.12.d
	picture = GFX_report_event_art

	is_triggered_only = yes

	trigger = { tag = LIB }

	option = {
		name = germlib.12.a 
		set_cosmetic_tag = LIB_KINGDOM
	}
	option = {
		name = germlib.12.b
		set_cosmetic_tag = LIB_KINGDOM2
	}
}
#############################
country_event = { #demand event gang
	id = libporwar.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.1"}
	title = libporwar.1.t
	desc = libporwar.1.d
	picture = GFX_report_event_rainforest

	fire_only_once = yes
	
	is_triggered_only = yes

	trigger = {
		has_country_flag = LIB_ate_french_land
		NOT = { owns_state = 296 }
	}

	option = {
		name = libporwar.1.a 
		PAF = {
			country_event = libporwar.2
		}
	}
	option = {
		name = libporwar.1.b #no, I don't think I will
		add_political_power = 50
	}
}

# Liberia demands little bit of portugal
country_event = {
	id = libporwar.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.2"}
	title = libporwar.2.t
	desc = libporwar.2.d
	picture = GFX_report_event_rainforest

	is_triggered_only = yes

	immediate = {
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_outraged
		}
	}

	option = { #Fine, let them have it
		name = libporwar.2.a
		ai_chance = {
			factor = 25
			modifier = {
				factor = 3
				strength_ratio = {
					tag = LIB
					ratio < 1.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 2.0
				}
			}
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = LIB
					ratio > 3.0
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = yes
				surrender_progress > 0.20
			}
		}
		add_political_power = -50 
		LIB = {
			transfer_state = 296
			add_state_core = 296
			country_event = {
				id = libporwar.4
				days = 1
			}
		}
	}
	option = { #Absolutely not!
		name = libporwar.2.b
		ai_chance = {
			factor = 75
		}
		LIB = {
			country_event = {
				id = libporwar.3
				days = 1
			}
		}
	}
}

# POR has refused the demand
country_event = {
	id = libporwar.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.3"}
	title = libporwar.3.t
	desc = libporwar.3.d
	picture = GFX_report_event_rainforest

	is_triggered_only = yes

	option = { #war
		name = libporwar.3.a
		ai_chance = {
			factor = 75
		}
		declare_war_on = {
			target = FROM
			type = annex_everything
		}
	}
	option = { #get cucked
		name = libporwar.3.b
		ai_chance = {
			factor = 25
		}
		add_political_power = -50
	}
}

# POR is a little bitch
country_event = {
	id = libporwar.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.4"}
	title = libporwar.4.t
	desc = libporwar.4.d
	picture = GFX_report_event_rainforest

	is_triggered_only = yes

	option = {
		name = libporwar.4.a
		effect_tooltip = {
			transfer_state = 296
		}
	}
}

# Liberia controls Guinea-Bissau during war with Portugal
country_event = {
	id = libporwar.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.5"}
	title = libporwar.5.t
	desc = libporwar.5.d
	picture = GFX_report_event_africamountain
	
	mean_time_to_happen = {
		days = 90
	}

	fire_only_once = yes

trigger = {
		tag = LIB
		controls_state = 296
		has_war_with = PAF
		OR = {
			is_in_faction = no
			is_faction_leader = yes
		}
		NOT = {
			any_owned_state = {
				NOT = {
					is_controlled_by = ROOT
				}
			}
		}
		PAF  = {
			owns_state = 296
		}
	}

	option = {
		name = libporwar.5.a #Send POR  the peace proposal
		PAF  = {
			country_event = libporwar.6
		}
	}
	option = {
		name = libporwar.5.b #We are not ready for peace yet
	trigger = {
			is_ai = no
		}
		add_political_power = -50
		add_stability = -0.05
	}
}

# POR decides whether to accept the Liberian peace offer
country_event = {
	id = libporwar.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.6"}
	title = libporwar.6.t
	desc = libporwar.6.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = libporwar.6.a #Let them have that backwater countryside
		add_political_power = -50 
		LIB = {
			transfer_state = 296
			if = {
				limit = {
					controls_state = 296 
					PAF = {
						owns_state = 296
					}
				}
				transfer_state = 296
				add_state_core = 296
			}
			separate_peace_all_wars = yes
		}
	}

	option = {
		name = libporwar.6.b #Never! POR Honour is on the line!
	trigger = {
			is_ai = no
		}
		add_political_power = 25 
		LIB = {
			country_event = {
				id = libporwar.7
				days = 1
			}
		}
	}
}

#POR has refused the peace deal
country_event = {
	id = libporwar.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event libporwar.7"}
	title = libporwar.7.t
	desc = libporwar.7.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes

	option = {
		name = libporwar.7.a
		add_stability = -0.02
	}
}

###
add_namespace = libflavournew

country_event = {
	id = libflavournew.1 # Death of Arthur Barclay
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.1"}
	title = libflavournew.1.t
	desc = libflavournew.1.d
	picture = GFX_report_event_hillstation

trigger = {
		is_ai = no
		OR = {
			tag = LIB
			AND = {
				tag = USA
				LIB = {
					is_subject_of = USA
				}
			}
		}
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.1.a # LIB
	trigger = {
			tag = LIB
		}
		add_stability = 0.01
	}
	
	option = {
		name = libflavournew.1.a # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = 3
	}
	
}

country_event = {
	id = libflavournew.2 # The Decline of Liberian Entrepreneurialism
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.2"}
	title = libflavournew.2.t
	desc = libflavournew.2.d
	picture = GFX_report_event_elites

trigger = {
		is_ai = no
		OR = {
			tag = LIB
			AND = {
				tag = USA
				LIB = {
					is_subject_of = USA
				}
			}
		}
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.2.a # LIB
	trigger = {
			tag = LIB
		}
		add_political_power = -20
	}
	
	option = {
		name = libflavournew.2.a # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = -3
	}
	
}

country_event = {
	id = libflavournew.3 # Introduction of the Liberian Dollar Coin
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.3"}
	title = libflavournew.3.t
	desc = libflavournew.3.d
	picture = GFX_report_event_mtt

trigger = {
		is_ai = no
		OR = {
			tag = LIB
			AND = {
				tag = USA
				LIB = {
					is_subject_of = USA
				}
			}
		}
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.3.a # LIB
	trigger = {
			tag = LIB
		}
		add_stability = 0.01
	}
	
	option = {
		name = libflavournew.3.a # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = 3
	}
	
}

country_event = {
	id = libflavournew.4 # The Dingwall Affair
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.4"}
	title = libflavournew.4.t
	desc = libflavournew.4.d
	picture = GFX_report_event_missions

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.4.a # LIB
	trigger = {
			tag = LIB
		}
		add_stability = -0.01
		add_war_support = 0.02
	}
	
	option = {
		name = libflavournew.4.b # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = -5
	}
	
}

country_event = {
	id = libflavournew.5 # The Mount Nouon Border Dispute
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.5"}
	title = libflavournew.5.t
	desc = libflavournew.5.d
	picture = GFX_report_event_africamountain

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.5.a # LIB
	trigger = {
			tag = LIB
		}
		add_war_support = 0.01
	}
	
	option = {
		name = libflavournew.5.b # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = 5
	}
	
}

country_event = {
	id = libflavournew.6 # Bushrod Island's Future?
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.6"}
	title = libflavournew.6.t
	desc = libflavournew.6.d
	picture = GFX_report_event_port_river

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.6.a # LIB
	trigger = {
			tag = LIB
		}
		add_political_power = 10
	}
	
	option = {
		name = libflavournew.6.b # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = 5
	}
	
}

country_event = {
	id = libflavournew.7 # Return of Solomon Carter Fuller
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.7"}
	title = libflavournew.7.t
	desc = libflavournew.7.d
	picture = GFX_report_event_willy

trigger = {
		is_ai = no
		NOT = {
			has_global_flag = USA_civil_war_avoided_flag
		}
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.7.a # LIB
	trigger = {
			tag = LIB
		}
		add_political_power = 10
	}
	
	option = {
		name = libflavournew.7.b # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
		add_political_power = 5
	}
	
}

country_event = {
	id = libflavournew.8 # The Legacy of Prophet Harris
	immediate = {log = "[GetDateText]: [Root.GetName]: event libflavournew.8"}
	title = libflavournew.8.t
	desc = libflavournew.8.d
	picture = GFX_report_event_lagoon

	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	
	is_triggered_only = yes

	option = {
		name = libflavournew.8.a # LIB
	trigger = {
			tag = LIB
		}
		add_political_power = 5
	}
	
	option = {
		name = libflavournew.8.b # non-LIB
	trigger = {
			NOT = {
				tag = LIB
			}
		}
	}
	
}