#liberia FT, Victorian Era
#Takes around 11 years to complete, completed in 1868
focus_tree = {
	id = lib_vic
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = LIB
		}
	}
	continuous_focus_position = {x = 2000 y = 2000 }

	
	default = no
	
	focus = {
		id = LIB_social_reforms
		icon = GFX_goal_continuous_increase_nu
		x = 1
		y = 0
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_stability = 0.07
			#hidden_effect = { state_event = { id = NA_B_congress_slavery_abolitionist_vote_calculator.1 days = 90 } }
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_health_pamphlets
		icon = GFX_Focus_Partisans_Popularize
		relative_position_id = LIB_social_reforms
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_tech = early_medicine
		}
		prerequisite = { 
			focus = LIB_social_reforms
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = LIB_colony_generic_focus_reform_distribute_vaccines_trigger
				OR = {
					has_country_flag = afr_mandatory_vaccines_everyone_done
					has_country_flag = afr_mandatory_vaccines_colonists_done
				}
			}
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			if = {
				limit = { 
					NOT = { has_tech = hygiene }
				}
				set_technology = { hygiene = 1 }
			}
			if = { 
				limit = { 
					has_idea = afr_colonial_malaria_scourge
				}
				swap_ideas = { add_idea = afr_colonial_malaria_scourge_1 remove_idea = afr_colonial_malaria_scourge }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_health_pamphlets_tooltip
			set_country_flag = afr_reform_distributed_health_pamphlets
		}
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				OR = {
					has_idea = afr_colonial_malaria_scourge
					has_idea = afr_colonial_malaria_scourge_1
					has_idea = afr_colonial_malaria_scourge_2
					has_idea = afr_colonial_malaria_scourge_3
				}
			}
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_regional_hospitals
		icon = GFX_goal_generic_construction2
		x = 0
		y = 1
		relative_position_id = LIB_colony_generic_focus_reform_health_pamphlets
		cost = 75
		available_if_capitulated = no
		available = { 
			has_tech = antiseptics
		}
		ai_will_do = {
			factor = 5
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_health_pamphlets
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = LIB_colony_generic_focus_reform_distribute_vaccines_trigger
				OR = {
					has_country_flag = afr_mandatory_vaccines_everyone_done
					has_country_flag = afr_mandatory_vaccines_colonists_done
				}
			}
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology = early_hospitals
			}
			if = { 
				limit = { 
					has_idea = afr_colonial_malaria_scourge_1
				}
				swap_ideas = { add_idea = afr_colonial_malaria_scourge_2 remove_idea = afr_colonial_malaria_scourge_1 }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_regional_hospitals_tooltip
		}
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				OR = {
					has_idea = afr_colonial_malaria_scourge
					has_idea = afr_colonial_malaria_scourge_1
					has_idea = afr_colonial_malaria_scourge_2
					has_idea = afr_colonial_malaria_scourge_3
				}
			}
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_mosquito_brigades
		icon = GFX_goal_demand_sudetenland
		x = 0
		y = 2
		relative_position_id = LIB_colony_generic_focus_reform_health_pamphlets
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 5
		}
		available = {
			has_tech = copper_salts_pesticides
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_regional_hospitals
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = LIB_colony_generic_focus_reform_distribute_vaccines_trigger
				OR = {
					has_country_flag = afr_mandatory_vaccines_everyone_done
					has_country_flag = afr_mandatory_vaccines_colonists_done
				}
			}
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			if = { 
				limit = { 
					has_idea = afr_colonial_malaria_scourge_2
				}
				swap_ideas = { add_idea = afr_colonial_malaria_scourge_3 remove_idea = afr_colonial_malaria_scourge_2 }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_mosquito_brigades_tooltip
			set_country_flag = afr_colony_generic_focus_reform_mosquito_brigades_flag
		}
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				OR = {
					has_idea = afr_colonial_malaria_scourge
					has_idea = afr_colonial_malaria_scourge_1
					has_idea = afr_colonial_malaria_scourge_2
					has_idea = afr_colonial_malaria_scourge_3
				}
			}
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_distribute_vaccines
		icon = GFX_focus_generic_concessions
		x = 0
		y = 3
		relative_position_id = LIB_colony_generic_focus_reform_health_pamphlets
		cost = 75
		available_if_capitulated = no
		available = { 
			custom_trigger_tooltip = {
				tooltip = LIB_colony_generic_focus_reform_distribute_vaccines_trigger
				OR = {
					has_country_flag = afr_mandatory_vaccines_everyone_done
					has_country_flag = afr_mandatory_vaccines_colonists_done
				}
			}
		}
		ai_will_do = {
			factor = 5
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_mosquito_brigades
		}
		completion_reward = {
			if = { 
				limit = { 
					has_idea = afr_colonial_malaria_scourge_3
				}
				remove_ideas = afr_colonial_malaria_scourge_3
			}
			add_stability = 0.25
			custom_effect_tooltip = afr_colony_generic_focus_reform_distribute_vaccines_tooltip
		}
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				OR = {
					has_idea = afr_colonial_malaria_scourge
					has_idea = afr_colonial_malaria_scourge_1
					has_idea = afr_colonial_malaria_scourge_2
					has_idea = afr_colonial_malaria_scourge_3
				}
			}
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_regional_schools
		icon = GFX_focus_generic_self_management
		relative_position_id = LIB_social_reforms
		x = 2
		y = 1
		cost = 75
		available_if_capitulated = no
		available = {
			
		}
		ai_will_do = {
			factor = 5
		}
		prerequisite = {
			focus = LIB_social_reforms
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			if = { 
				limit = { 
					has_idea = afr_colonial_reforming_kingdom
				}
				swap_ideas = { add_idea = afr_colonial_reforming_kingdom_1 remove_idea = afr_colonial_reforming_kingdom }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_regional_schools_tooltip
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_regional_military
		icon = GFX_focus_generic_military_mission
		x = 0
		y = 1
		cost = 75
		available_if_capitulated = no
		relative_position_id = LIB_colony_generic_focus_reform_regional_schools
		available = { 

		}
		ai_will_do = {
			factor = 5
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_regional_schools
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			if = { 
				limit = { 
					has_idea = afr_colonial_reforming_kingdom_1
				}
				swap_ideas = { add_idea = afr_colonial_reforming_kingdom_2 remove_idea = afr_colonial_reforming_kingdom_1 }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_regional_military_tooltip
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_reform_regional_policies
		icon = GFX_Focus_Government_Reform
		x = 0
		y = 2
		cost = 75
		available_if_capitulated = no
		relative_position_id = LIB_colony_generic_focus_reform_regional_schools
		ai_will_do = {
			factor = 5
		}
		available = {
			OR = {
				has_country_flag = LIB_status_quo_flag
				has_country_flag = LIB_adopted_ACS_policy_flag
				has_country_flag = LIB_oppose_ACS_policy_flag
			}
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_regional_military
		}
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			if = { 
				limit = { 
					has_idea = afr_colonial_reforming_kingdom_2
				}
				swap_ideas = { add_idea = afr_colonial_reforming_kingdom_3 remove_idea = afr_colonial_reforming_kingdom_2 }
			}
			custom_effect_tooltip = afr_colony_generic_focus_reform_regional_policies_tooltip
		}
	}
	
	focus = {
		id = LIB_colony_generic_focus_complete_reform
		icon = GFX_focus_generic_home_defense
		x = 0
		y = 3
		cost = 75
		available_if_capitulated = no
		relative_position_id = LIB_colony_generic_focus_reform_regional_schools
		available = { 
			has_idea = afr_colonial_reforming_kingdom_3
		}
		ai_will_do = {
			factor = 5
		}
		prerequisite = {
			focus = LIB_colony_generic_focus_reform_regional_policies
		}
		completion_reward = {
			if = { 
				limit = { 
					has_idea = afr_colonial_reforming_kingdom_3
				}
				remove_ideas = afr_colonial_reforming_kingdom_3
			}
			custom_effect_tooltip = afr_colony_generic_focus_complete_reform_tooltip
		}
	}
	
	
	
	focus = {
		id = LIB_colony_generic_regional_investment
		icon = GFX_Focus_Trade_International
		x = 3
		y = 6
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			set_country_flag = afr_colony_generic_colonial_investments_decisions_flag
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = { USA = { exists = yes } }
				USA = { country_event = { days = 1 id = liberia.31 } }
			}
			set_country_flag = LIB_request_gov_road_investment
			 
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_industry
		icon = GFX_goal_continuous_research
		relative_position_id = LIB_colony_generic_regional_investment
		x = 0
		y = 1
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_investment }
		
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			custom_effect_tooltip = afr_colony_generic_regional_industry_tooltip
			hidden_effect = {
				set_country_flag = afr_colony_generic_regional_industry_decision_mission
			}
			 
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_industry_completed
		icon = GFX_focus_focus_generic_industry_1
		relative_position_id = LIB_colony_generic_regional_investment
		x = 0
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			has_country_flag = afr_colony_generic_regional_industry_completed
		}
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_victorian_era }
		
		completion_reward = {

		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_resources
		icon = GFX_goal_continuous_non_factory_construct
		relative_position_id = LIB_colony_generic_regional_investment
		x = -2
		y = 1
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_investment }
		
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			custom_effect_tooltip = LIB_colony_generic_regional_resources_tooltip
			hidden_effect = {
				set_country_flag = afr_colony_generic_regional_resources_decision_mission
			}
			 
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_resources_completed
		icon = GFX_goal_generic_construct_civ_factory
		relative_position_id = LIB_colony_generic_regional_investment
		x = -2
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			has_country_flag = afr_colony_generic_regional_resources_completed
		}
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_victorian_era }
		
		completion_reward = {
			
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_infrastructure
		icon = GFX_goal_continuous_repairments
		relative_position_id = LIB_colony_generic_regional_investment
		x = 2
		y = 1
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_investment }
		
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			custom_effect_tooltip = LIB_colony_generic_regional_infrastructure_tooltip
			hidden_effect = {
				set_country_flag = afr_colony_generic_regional_infrastructure_decision_mission
			}
			 
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_infrastructure_completed
		icon = GFX_Focus_transport_railroad_development
		relative_position_id = LIB_colony_generic_regional_investment
		x = 2
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			has_country_flag = afr_colony_generic_regional_infrastructure_completed
		}
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_victorian_era }
		
		completion_reward = {
			remove_ideas = LIB_poor_infrastructure
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_victorian_era
		icon = GFX_Focus_industrial_revolution
		relative_position_id = LIB_colony_generic_regional_investment
		x = 0
		y = 2
		cost = 75
		available_if_capitulated = no
		available = {
			date > 1862.01.01
			has_country_flag = afr_colony_generic_regional_resources_decision_flag
			has_country_flag = afr_colony_generic_regional_industry_decision_flag
			has_country_flag = afr_colony_generic_regional_infrastructure_decision_flag
		}
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_infrastructure }
		prerequisite = { focus = LIB_colony_generic_regional_industry }
		prerequisite = { focus = LIB_colony_generic_regional_resources }
		
		completion_reward = {
			swap_ideas={
				add_idea=victorian_era
				remove_idea=pre_industrial_era
			}
		}
		bypass = {
			custom_trigger_tooltip = {	
				tooltip = afr_colony_generic_regional_victorian_era_tooltip
				has_idea = victorian_era
			}
		}
	}
	
	focus = {
		id = LIB_colony_generic_regional_industrializing
		icon = GFX_goal_generic_production2
		relative_position_id = LIB_colony_generic_regional_investment
		x = 0
		y = 4
		cost = 75
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		prerequisite = { focus = LIB_colony_generic_regional_infrastructure_completed }
		prerequisite = { focus = LIB_colony_generic_regional_industry_completed }
		prerequisite = { focus = LIB_colony_generic_regional_resources_completed }
		
		completion_reward = {
			swap_ideas={
				add_idea=industrializing
				remove_idea=agrarian
			}
		}
	}

	focus = {
		id = LIB_american_civil_war
		icon = GFX_Focus_War_American_Civil_War
		cost = 70
		x = 8
		y = 0
		ai_will_do = { factor = 10000 }
		available = {
			OR = {
				has_global_flag = ACW_American_Civil_War
				has_global_flag = ACW_American_Civil_War_Happened
			}
		}
		completion_reward = {
		add_political_power = -50
		add_stability = -0.01
		}
	}
	focus = {
		id = LIB_honor_our_agreement
		icon = GFX_focus_chi_mission_to_the_us
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			OR = {
				has_country_flag = LIB_status_quo_flag
				has_country_flag = LIB_adopted_ACS_policy_flag
				has_country_flag = LIB_oppose_ACS_policy_flag
			}
		}
		prerequisite = {
			focus = LIB_american_civil_war
		}
		mutually_exclusive = {
			focus = LIB_recognize_csa
		}
		relative_position_id = LIB_american_civil_war
		x = -1
		y = 1
		completion_reward = {
			if = {
				limit = { CSA = { exists = yes } }
				CSA = {
					add_opinion_modifier = {
						target = LIB
						modifier = CSA_negative_civil_war_support
					}
				}
			}
			if = {
				limit = { USA = { exists = yes } }
				USA = {
					add_opinion_modifier = {
						target = LIB
						modifier = offered_support
					}
				}
			}
		add_stability = 0.01	
		}
	}
	focus = {
		id = LIB_ensure_our_neutrality
		icon = GFX_goal_generic_neutrality_focus
		cost = 70
		ai_will_do = { factor = 1 }
		prerequisite = {
			focus = LIB_honor_our_agreement
		}
		completion_reward = {
		add_political_power = -5
		add_stability = 0.01
		}
		relative_position_id = LIB_american_civil_war
		x = -1
		y = 2
	}
	focus = {
		id = LIB_a_fractured_united_states
		icon = GFX_goal_generic_neutrality_focus
		cost = 70
		ai_will_do = { factor = 1 }
		prerequisite = {
			focus = LIB_american_civil_war
		}
		completion_reward = {
		}
		relative_position_id = LIB_american_civil_war
		x = 9
		y = 1
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				OR = {
					has_global_flag = ACW_Great_Collapse
					has_global_flag = MIO_leaves_union
					has_global_flag = ASA_leaves_union
					has_global_flag = MIN_leaves_union
					has_global_flag = TEX_leaves_union
					has_global_flag = KTY_leaves_union
					has_global_flag = NEG_leaves_union
					has_global_flag = CAL_leaves_union
					has_global_flag = ORE_leaves_union
					has_global_flag = DAK_leaves_union
					has_global_flag = UTA_leaves_union
					has_global_flag = NMX_leaves_union
					has_global_flag = KNS_leaves_union
				}
			}
		}
	}
	focus = {
		id = LIB_reclaim_the_united_states
		icon = GFX_goal_generic_neutrality_focus
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			custom_trigger_tooltip = {
				tooltip = has_ambitions_for_mantle_tooltip
				has_country_flag = has_ambitions_for_mantle_flag
			}
		}
		prerequisite = {
			focus = LIB_a_fractured_united_states
		}
		mutually_exclusive = {
			focus = LIB_end_of_a_united_states
		}
		completion_reward = {
		}
		relative_position_id = LIB_a_fractured_united_states
		x = 3
		y = 1
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				has_global_flag = ACW_Great_Collapse
			}
		}
	}
	focus = {
		id = LIB_end_of_a_united_states
		icon = GFX_goal_generic_neutrality_focus
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			custom_trigger_tooltip = {
				tooltip = has_no_ambitions_for_mantle_tooltip
				has_country_flag = has_no_ambitions_for_mantle_flag
			}
		}
		prerequisite = {
			focus = LIB_a_fractured_united_states
		}
		mutually_exclusive = {
			focus = LIB_reclaim_the_united_states
		}
		completion_reward = {
			set_country_flag = LIB_end_of_a_united_states_flag
		}
		relative_position_id = LIB_a_fractured_united_states
		x = -3
		y = 1
		allow_branch = {
			if = { 
				limit = { is_debug = no }
				has_global_flag = ACW_Great_Collapse
			}
		}
	}
	focus = {
		id = LIB_take_in_refugees
		icon = GFX_goal_continuous_boost_freedom
		cost = 70
		ai_will_do = { factor = 1 }
		prerequisite = {
			focus = LIB_ensure_our_neutrality
		}
		completion_reward = {
		298 = {
			add_manpower = 15000
		}
		}
		relative_position_id = LIB_american_civil_war
		x = -1
		y = 3

	}
	focus = {
		id = LIB_recognize_csa
		icon = GFX_Focus_Diplomacy_CSA
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			country_exists = CSA
		}
		prerequisite = {
			focus = LIB_american_civil_war
		}
		mutually_exclusive = {
			focus = LIB_honor_our_agreement
		}
		available = {
			has_country_flag = LIB_oppose_ACS_policy_flag
		}
		relative_position_id = LIB_american_civil_war
		x = 1
		y = 1
		
		completion_reward = {
			if = {
				limit = { CSA = { exists = yes } }
				CSA = {
					add_opinion_modifier = {
						target = LIB
						modifier = FRA_recognition_csa
					}
				}
			}
			if = {
				limit = { USA = { exists = yes } }
				USA = {
					add_opinion_modifier = {
						target = LIB
						modifier = FRA_recognition_csa_us_view
					}
				}
			}
			add_political_power = 50
			
		}
	}
	focus = {
		id = LIB_support_the_south
		icon = GFX_Focus_Diplomatic_Ally_CSA_2
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			country_exists = CSA
		}
		prerequisite = {
			focus = LIB_recognize_csa
		}
		relative_position_id = LIB_american_civil_war
		x = 1
		y = 2
		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			CSA = {
				add_opinion_modifier = {
					target = LIB
					modifier = CSA_positive_civil_war_support
				}
			}
			add_political_power = 100
			add_stability = -0.01
			hidden_effect = {
				CSA = {
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = 100
					}
				}  	
			}
		}
	}
	
	focus = {
		id = LIB_covert_slave_trade
		icon = GFX_Focus_confederate_slave_trade
		cost = 70
		ai_will_do = { factor = 1 }
		available = {
			country_exists = CSA
		}
		prerequisite = {
			focus = LIB_support_the_south
		}
		relative_position_id = LIB_american_civil_war
		x = 1
		y = 3
		available = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
			has_idea = AFR_illegal_transatlantic
    	}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			CSA = {
				add_manpower = 5000
			}
			add_manpower = 5000
			add_political_power = 50
			add_stability = -0.01
			 
		}
	}
	
	
	focus = {
		id = LIB_annexation_of_maryland_republic
		icon = GFX_goal_generic_build_tank
		x = 14
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			country_event = { id = liberia.30 }
			hidden_effect = {
				country_event = { days = 14 id = liberia.3 }
				KRU = {
					add_opinion_modifier = {
						target = LIB
						modifier = large_decrease
					}
				}
				LIB = {
					add_opinion_modifier = {
						target = KRU
						modifier = medium_decrease
					}
				}
			}
			hidden_effect = {
				if = {
					limit = { USA = { exists = yes } }
					LIB = {
						add_opinion_modifier = {
							target = USA
							modifier = large_increase
						}
					}
					USA = {
						add_opinion_modifier = {
							target = LIB
							modifier = large_increase
						}
					}
				}
				if = {
					limit = { CSA = { exists = yes } }
					LIB = {
						add_opinion_modifier = {
							target = CSA
							modifier = large_increase
						}
					}
					CSA = {
						add_opinion_modifier = {
							target = LIB
							modifier = large_increase
						}
					}
				}
			}
		}
	}
	
	
	
	focus = {
		id = LIB_american_colonization_society
		icon = GFX_goal_generic_build_tank
		relative_position_id = LIB_annexation_of_maryland_republic
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { 
			focus = LIB_annexation_of_maryland_republic 
		}
		completion_reward = {
			country_event = { id = liberia.36 }
			set_country_flag = ACS_colony
		}
	}
	focus = {
		id = LIB_adopt_strong_ACS_policies
		icon = GFX_focus_chi_mission_to_the_us
		relative_position_id = LIB_american_colonization_society
		x = 4
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			always = no
		}
		prerequisite = { focus = LIB_american_colonization_society }
		mutually_exclusive = {	
		
			focus = LIB_status_quo 
			focus = LIB_president_bensons_reforms
		
		}
		completion_reward = {
			if = {
				limit = { USA = { exists = yes } }
				USA = {
					add_opinion_modifier = {
						target = LIB
						modifier = small_increase
					}
				}
				custom_effect_tooltip = LIB_ACS_financing_tooltip
				USA = { country_event = { days = 1 id = liberia.1 } }
			}
			set_country_flag = LIB_adopted_ACS_policy_flag
		}
	}
	
	focus = {
		id = LIB_ships_for_freed_people
		icon = GFX_Focus_Victorian_Gunboat
		relative_position_id = LIB_adopt_strong_ACS_policies
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			
		}
		prerequisite = { 
			focus = LIB_adopt_strong_ACS_policies
		}
		completion_reward = {
			add_equipment_to_stockpile = { type = convoy_1 amount = 10 producer = USA }
		}
	}
	
	focus = {
		id = LIB_american_liberian_superiority 
		icon = GFX_Focus_imperialism
		relative_position_id = LIB_adopt_strong_ACS_policies
		x = 4
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			has_stability	> .50
			has_war_support > .50
		}
		ai_will_do = {
			factor = 1
		}
		prerequisite = { 
			focus = LIB_adopt_strong_ACS_policies
		}
		completion_reward = {
			add_war_support = 0.1
			hidden_effect = {
				add_ai_strategy = {
					type = 	force_build_armies
					value = 200
				}
			}
		}
	}
	
	focus = {
		id = LIB_back_up_plan
		icon = GFX_goal_generic_defence
		relative_position_id = LIB_american_liberian_superiority
		x = 2
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			OR = {
				country_exists = USA
				country_exists = CSA
			}
			has_country_flag = LIB_second_kru_raid
		}
		ai_will_do = {
			factor = 1
		}
		prerequisite = { 
			focus = LIB_american_liberian_superiority 
		}
		completion_reward = {
			country_event = { days = 1 id = liberia.15 }
		}
	}
	
	focus = {
		id = LIB_removing_the_kru_threat
		icon = GFX_goal_generic_more_territorial_claims
		relative_position_id = LIB_american_liberian_superiority
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			set_temp_variable = { loan_size_to_check = 20 }
			has_less_than_specific_loan_size = yes
			has_war_support > .50
			KRU = {
				is_puppet = no
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
		}
		ai_will_do = {
			factor = 1
		}
		bypass={
			has_country_flag = LIB_second_kru_raid
		}
		prerequisite = { 
			focus = LIB_american_liberian_superiority
		}
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			add_manpower = 6000
			custom_effect_tooltip = LIB_removing_the_kru_threat_tooltip
			 
		}
	}
	
	
	
	focus = {
		id = LIB_invade_kru
		icon = GFX_focus_generic_provoke_border_clashes
		relative_position_id = LIB_removing_the_kru_threat
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			country_exists = KRU
			has_army_manpower = { size > 5999 }
		}
		ai_will_do = {
			factor = 1
		}
		prerequisite = { 
			focus = LIB_removing_the_kru_threat 
		}
		completion_reward = {
			declare_war_on = {
				target = KRU
				type = annex_everything
			}
		}
	}
	

		#completion_reward = {
		#	set_country_flag = american_colonial_confederation
		#	KRU = {
		#		set_capital = 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 = {id = liberia.24}
		#	LIB = {
		#		transfer_state = 760
		#		add_state_core = 760
		#	}
		#	760 = {
		#		add_manpower = 1000
		#		
		#	}
		#	298 = {
		#		add_manpower = -1000
		#	}
		#}
	
		#completion_reward = {
		#	LIB = {
		#		transfer_state = 760
		#	}
		#	760 = {
		#		add_manpower = 1000
		#	}
		#	298 = {
		#		add_manpower = -1000
		#	}
		#}
	
	
	
	focus = {
		id = LIB_home_of_the_free
		icon = GFX_focus_generic_the_giant_wakes
		relative_position_id = LIB_colony_generic_regional_infrastructure_completed
		x = 1
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			NOT = { 
				has_idea = LIB_poor_infrastructure
			}
			
		}
		prerequisite = { focus = LIB_colony_generic_regional_infrastructure_completed }
		
		completion_reward = {
			add_stability = .07
			add_ideas = LIB_home_of_the_free
		}
	}
	
	focus = {
		id = LIB_build_infrastructure_to_support_immigration
		icon = GFX_goal_generic_construct_infrastructure
		relative_position_id = LIB_home_of_the_free
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = LIB_Liberia_immigration
				OR = {
					has_idea = Liberia_immigration_1
					has_idea = Liberia_immigration_2
					has_idea = Liberia_immigration_3
				}
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
		}
		prerequisite = { 
			focus = LIB_home_of_the_free
		}
		
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			 
		}
		ai_will_do = {
			base = 1
			modifier = {
				factor = 2
				set_temp_variable = { loan_size_to_check = 40 }
				has_less_than_specific_loan_size = yes				
			}
			modifier = {
				factor = 5
				set_temp_variable = { loan_size_to_check = 20 }
				has_less_than_specific_loan_size = yes				
			}
		}
	}
	focus = {
		id = LIB_expand_immigrant_workforce
		icon = GFX_Focus_Worker
		relative_position_id = LIB_home_of_the_free
		x = 0
		y = 2
		cost = 70
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = Ocenaia_has_infrastructure_to_support_new_buildings
				
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
		}
		prerequisite = { 
			focus = LIB_build_infrastructure_to_support_immigration
		}
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
			random_owned_controlled_state ={
				limit = {
					is_core_of = ROOT 
					
				}
				hidden_effect = {
					add_to_variable = { Oceania_extra_state_shared_building_slots = 1 }
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_manpower = 15000
			}
			 
		}
		ai_will_do = {
			base = 1
			modifier = {
				factor = 2
				set_temp_variable = { loan_size_to_check = 40 }
				has_less_than_specific_loan_size = yes				
			}
			modifier = {
				factor = 5
				set_temp_variable = { loan_size_to_check = 20 }
				has_less_than_specific_loan_size = yes				
			}
		}
	}
	focus = {
		id = LIB_tax_revenue_from_immigration
		icon = GFX_Focus_Economy_Increase_Wages
		relative_position_id = LIB_home_of_the_free
		x = 0
		y = 3
		cost = 70
		available_if_capitulated = no
		available = {
			set_temp_variable = { amount_of_money_to_check = 0.5 }
        	has_specific_amount_of_money_with_inflation_included = yes
		}
		prerequisite = { 
			focus = LIB_expand_immigrant_workforce
		}
		completion_reward = {
			add_political_power = 150
			set_temp_variable = { money_to_gain = -0.5 }
        	add_money_with_tooltip_effect = yes
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	
	focus = {
		id = LIB_president_bensons_reforms
		icon = GFX_focus_rom_parties_end
		relative_position_id = LIB_american_colonization_society
		x = -5
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			always = no
		}
		prerequisite = { focus = LIB_american_colonization_society }
		mutually_exclusive = {	
		
			focus = LIB_status_quo 
			focus = LIB_adopt_strong_ACS_policies
		
		}
		completion_reward = {
				set_country_flag = LIB_oppose_ACS_policy_flag
				
				
		}
	}
	
	focus = {
		id = LIB_collaboration_with_native_tribes
		icon = GFX_goal_generic_national_unity
		relative_position_id = LIB_president_bensons_reforms
		x = 1
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			
		}
		ai_will_do = {
			factor = 1
		}
		mutually_exclusive = {
			focus = LIB_limited_interactions_with_native_tribes
		}
		prerequisite = { 
			focus = LIB_president_bensons_reforms
		}
		completion_reward = {
			hidden_effect = {
				
			}
		}
	}
	
	focus = {
		id = LIB_repairing_kru_liberian_relations
		icon = GFX_goal_generic_build_tank
		relative_position_id = LIB_collaboration_with_native_tribes
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = LIB_first_kru_raid_has_not_happened_tooltip
				NOT = { has_country_flag = LIB_KRU_raids_stockpile }
			}
		}
		ai_will_do = {
			factor = 1
		}
		mutually_exclusive = {
			focus = LIB_demand_kru_land
		}
		prerequisite = { 
			focus = LIB_collaboration_with_native_tribes
			focus = LIB_limited_interactions_with_native_tribes
		}
		completion_reward = {
			set_country_flag = LIB_KRU_repaired_relations
			KRU = { country_event = { id = LIB_repair_kru_relations.1 days = 1 } }
		}
	}
	
	focus = {
		id = LIB_purchase_land_from_kru_warlords
		icon = GFX_Focus_Map_Gerrymandering
		relative_position_id = LIB_repairing_kru_liberian_relations
		x = -1
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip =  {
				tooltip = LIB_purchase_land_from_kru_warlords_trigger_tooltip
				has_equipment = {
					infantry_equipment_rifle_0 > 1000
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		prerequisite = { 
			focus = LIB_repairing_kru_liberian_relations
		}
		prerequisite = { 
			focus = LIB_collaboration_with_native_tribes
		}
		completion_reward = {
			KRU = { country_event = { id = LIB_purchase_kru_land.1 days = 1 } }
		}
	}
	
	focus = {
		id = LIB_limited_interactions_with_native_tribes
		icon = GFX_goal_generic_major_alliance
		relative_position_id = LIB_president_bensons_reforms
		x = 4
		y = 1
		cost = 70
		available_if_capitulated = no
		available = {
			
		}
		ai_will_do = {
			factor = 1
		}
		mutually_exclusive = {
			focus = LIB_collaboration_with_native_tribes
		}
		prerequisite = { 
			focus = LIB_president_bensons_reforms
			focus = LIB_status_quo
		}
		completion_reward = {
			hidden_effect = {
				
			}
		}
	}
	
	focus = {
		id = LIB_demand_kru_land
		icon = GFX_Focus_Map_Gerrymandering
		relative_position_id = LIB_limited_interactions_with_native_tribes
		x = 0
		y = 1
		cost = 70

		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = {
			focus = LIB_repairing_kru_liberian_relations
		}

		prerequisite = {
			focus = LIB_limited_interactions_with_native_tribes
		}
		completion_reward = {
			#KRU = { country_event = { id = LIB_purchase_kru_land.2 days = 1 } }
		}
	}	
	
	focus = {
		id = LIB_status_quo
		icon = GFX_goal_generic_neutrality_focus
		relative_position_id = LIB_american_colonization_society
		x = 0
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			always = no
		}
		prerequisite = { focus = LIB_american_colonization_society }
		mutually_exclusive = {	
		
			focus = LIB_president_bensons_reforms 
			focus = LIB_adopt_strong_ACS_policies
		
		}
		completion_reward = {
			set_country_flag = LIB_status_quo_flag
				
				
		}
	}

	focus = {
		id = LIB_arms_for_slaves_trade
		icon = GFX_goal_focus_tribal_slavery
		relative_position_id = LIB_status_quo
		x = 1
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			
		}
		prerequisite = { 
			focus = LIB_collaboration_with_native_tribes
			focus = LIB_limited_interactions_with_native_tribes
		}
		mutually_exclusive = {
			focus = LIB_end_slave_trade
		}
		completion_reward = {
			ENG = {
				add_opinion_modifier = {
					target = LIB
					modifier = medium_decrease
				}
			}
		}
	}

	
	focus = {
		id = LIB_end_slave_trade
		icon = GFX_goal_continuous_boost_freedom
		relative_position_id = LIB_status_quo
		x = 3
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			
		}
		mutually_exclusive = {
			focus = LIB_arms_for_slaves_trade
		}
		prerequisite = { 
			focus = LIB_collaboration_with_native_tribes
			focus = LIB_limited_interactions_with_native_tribes
			focus = LIB_adopt_strong_ACS_policies
		}
		completion_reward = {
			ENG = {
					add_opinion_modifier = {
						target = LIB
						modifier = small_increase
					}
			}	
		}
	}
	
	focus = {
		id = LIB_liberian_enforecment_of_british_slavery_ban
		icon = GFX_goal_focus_british_colonial_empire
		relative_position_id = LIB_end_slave_trade
		x = 1
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			command_power > 50
		}
		prerequisite = { 
			focus = LIB_end_slave_trade
		}
		prerequisite = { 
			focus = LIB_ships_for_freed_people
		}
		completion_reward = {
			add_command_power = -50
			add_ideas = LIB_shining_example_transatlantic
			ENG = {
					add_opinion_modifier = {
						target = LIB
						modifier = large_increase
					}
			}
			every_neighbor_country = {
				limit = {
					OR = {
						has_idea = tribal_slavery
						has_idea = slavery
					}
				}
				add_opinion_modifier = {
					target = LIB
					modifier = small_decrease
				}
			}
		}
	}
	
	#focus = {
	#	id = LIB_it_was_unavoidable
	#	icon = GFX_Focus_Law_Vote_1
	#	relative_position_id = LIB_social_reforms
	#	x = -2
	#	y = 1
	#	cost = 70
	#	available_if_capitulated = no
	#	available = {
	#		if = {
	#			limit = {
	#				OR = {
	#					USA = {
	#						OR = {	
	#							has_idea = slavery
	#							has_idea = usa_slavery_law
	#							has_idea = tribal_slavery
	#						}
	#						exists = yes
	#						NOT = { has_global_flag = ACW_American_Civil_War_Avoided }
	#					}
	#					USA = { exists = no }
	#				}
	#			}
	#			custom_trigger_tooltip = {
	#				tooltip = LIB_civil_war_state_requirement_tooltip
	#				LIB = {
	#					owns_state = 298
	#					owns_state = 1346
	#				}
	#			}
	#			custom_trigger_tooltip = {
	#				tooltip = LIB_it_was_unavoidable_trigger_tooltip
	#				OR = {
	#					has_government = fundamentalism
	#					has_government = chauvinist_populism
	#					has_government = anarchism
	#					has_government = ideology_radical_socialism
	#					has_government = social_egalitarianism
	#				}
	#			}
	#			custom_trigger_tooltip = {
	#				tooltip = LIB_civil_war_abolitionists_control_senate_tooltip
	#				check_variable = { var = LIB.NA_B_pro_abolitionist_senate_seats@LIB value = LIB.NA_B_anti_abolitionist_senate_seats@LIB compare = greater_than }
	#			}
	#			#custom_trigger_tooltip = {
	#			#	tooltip = LIB_civil_war_abolitionists_control_house_tooltip
	#			#	check_variable = { var = LIB.NA_B_pro_abolitionist_house_seats@LIB value = LIB.NA_B_anti_abolitionist_house_seats@LIB compare = greater_than }
	#			#}
	#			custom_trigger_tooltip = {
	#				tooltip = LIB_civil_war_ended_interstate_slave_trade_tooltip
	#				has_completed_focus = LIB_end_slave_trade
	#			}
	#			
	#		}
	#		else = {
	#			if = {
	#				limit = {
	#					USA = { 
	#						has_global_flag = ACW_American_Civil_War_Avoided
	#						OR = {
	#							has_idea = USA_thirty_year_plan_1
	#							has_idea = USA_thirty_year_plan_2
	#							has_idea = USA_thirty_year_plan_3
	#						}
	#					}
	#				}
	#				custom_trigger_tooltip = {
	#					tooltip = LIB_USA_not_finished_thirty_year_plan_tooltip
	#					always = no
	#				}
	#			}
	#			else = {
	#				custom_trigger_tooltip = {
	#					tooltip = LIB_USA_banned_slavery_tooltip
	#					always = yes
	#				}
	#			}
	#		}
	#	}
	#	prerequisite = { 
	#		focus = LIB_social_reforms
	#	}
	#	completion_reward = {
	#		custom_effect_tooltip = LIB_it_was_unavoidable_tooltip
	#		hidden_effect = { country_event = { id = LIB_it_was_unavoidable.1 days = 3 } }
	#	}
	#	ai_will_do = {
	#		factor = 1
	#	}
	#	bypass={
	#		USA = {
	#			has_country_flag = USASoaring_Eagle
	#		}
	#	}
	#}
	#
	
	#focus = {
	#	id = LIB_keep_slavery
	#	icon = GFX_focus_CZE_german_puppet
	#	x = 19
	#	y = 5
	#	cost = 70
	#	available_if_capitulated = no
	#	ai_will_do = {
	#		factor = 1
	#	}
	#	available = {
	#		
	#	}
	#	prerequisite = { 
	#		focus = LIB_social_reforms
	#	}
	#	mutually_exclusive = {
	#		focus = LIB_it_was_unavoidable
	#	}
	#	completion_reward = {
	#			
	#			
	#	}
	#}
	
	
	
	focus = {
		id = LIB_gem_of_africa
		icon = GFX_goal_generic_build_tank
		relative_position_id = LIB_end_slave_trade
		x = -9
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = AFR_no_legal_slavery_tooltip
				NOT = {	
					has_idea = slavery
					has_idea = usa_slavery_law
					has_idea = tribal_slavery
				}
			}
			NOT = { 
				has_idea = LIB_low_life_expectancy
			}
			298 = {
				infrastructure > 3
				naval_base > 1
				fabric_weavery > 0
			}
		}
		prerequisite = { 
			focus = LIB_home_of_the_free
		}
		prerequisite = { 
			focus = LIB_end_slave_trade
			focus = LIB_arms_for_slaves_trade
		}
		completion_reward = {
			custom_effect_tooltip = LIB_gem_of_africa_temp
		}
	}
	
}
	