focus_tree = {
	id = dominican_republic_vic_ft

	country = {
		factor = 0
		modifier = {
			add = 12
			TAG = DOM
		}
	}

	default = no
	continuous_focus_position = { x = 0000 y = 1000 }

	focus = {
		id = DOM_stimulate_the_tobacco_economy
		icon = GFX_focus_SPR_expand_tobacco_plantations
		x = 6
		y = 0
		cost = 25
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
			has_specific_amount_of_money_with_inflation_included = yes
		}
		ai_will_do = { base = 1 }
		completion_reward = {
			add_political_power = 500
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes 
		}
	}
	
	focus = {
		id = DOM_baezs_wild_ride
		icon = GFX_focus_na_n_the_encroachment_of_the_east
		relative_position_id = DOM_stimulate_the_tobacco_economy
		x = -4
		y = 1
		cost = 25
		prerequisite = { focus = DOM_stimulate_the_tobacco_economy }
		mutually_exclusive = { focus = DOM_depose_el_presidente }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_depose_el_presidente
		icon = GFX_focus_rom_parties_end
		relative_position_id = DOM_stimulate_the_tobacco_economy
		x = 4
		y = 1
		cost = 25
		prerequisite = { focus = DOM_stimulate_the_tobacco_economy }
		mutually_exclusive = { focus = DOM_baezs_wild_ride }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_the_new_liberal_state
		icon = GFX_Focus_Ideology_social_democracy
		relative_position_id = DOM_depose_el_presidente
		x = 0
		y = 1
		cost = 25
		prerequisite = { focus = DOM_depose_el_presidente }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			#swap_ideas = {
			#	add_idea = constitution_adopted
			#	remove_idea = limited_constitution
			#}
			swap_ideas = {
				remove_idea = foa_non_socialist
				add_idea = foa_free_assembly
			}
			swap_ideas = {
				add_idea = pp_open_politics
				remove_idea = pp_ban_extremist_parties
			}
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_the_question_of_the_military
		icon = GFX_Focus_Reform_Army
		relative_position_id = DOM_the_new_liberal_state
		x = 0
		y = 1
		cost = 25
		prerequisite = { focus = DOM_the_new_liberal_state }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_santanas_military_focus
		icon = GFX_Focus_Economy_Reforms
		relative_position_id = DOM_the_question_of_the_military
		x = 1
		y = 1
		cost = 25
		prerequisite = { focus = DOM_the_question_of_the_military }
		mutually_exclusive = { focus = DOM_reduce_santanas_control }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_santanas_military_the_haitian_threat
		icon = GFX_focus_generic_provoke_border_clashes
		relative_position_id = DOM_santanas_military_focus
		x = 0
		y = 1
		cost = 75
		prerequisite = { focus = DOM_santanas_military_focus }
		available_if_capitulated = no
		available = {
			has_country_leader = { name = "Jose Desiderio Valverde" ruling_only = yes }
		}
		completion_reward = {
			add_war_support = 0.075
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_santanas_military_spanish_loans
		icon = GFX_Focus_Diplomatic_foreign_military
		relative_position_id = DOM_santanas_military_focus
		x = 0
		y = 2
		cost = 75
		prerequisite = { focus = DOM_santanas_military_the_haitian_threat }
		available_if_capitulated = no
		available = {
			has_country_leader = { name = "Jose Desiderio Valverde" ruling_only = yes }
			set_temp_variable = { amount_of_money_to_check = 0.5 }
			has_specific_amount_of_money_with_inflation_included = yes
		}
		completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_rifle_1
				amount = 500
				producer = SPR
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment_1
				amount = 500
				producer = SPR
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment_0
				amount = 250
				producer = SPR
			}
			add_stability = 0.12
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes 
			 
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_reduce_santanas_control
		icon = GFX_Focus_banks2
		relative_position_id = DOM_the_question_of_the_military
		x = -1
		y = 1
		cost = 25
		prerequisite = { focus = DOM_the_question_of_the_military }
		mutually_exclusive = { focus = DOM_santanas_military_focus }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			remove_ideas = DOM_santanas_military
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_follow_el_presidente
		icon = GFX_Focus_Vote_Election
		relative_position_id = DOM_reduce_santanas_control
		x = -2
		y = 1
		cost = 25
		prerequisite = { focus = DOM_reduce_santanas_control }
		mutually_exclusive = { focus = DOM_follow_el_general }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_valverdes_last_gambit
		icon = GFX_Focus_gun_sales_USA
		relative_position_id = DOM_follow_el_presidente
		x = 0
		y = 1
		cost = 25
		prerequisite = { focus = DOM_follow_el_presidente }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_follow_el_general
		icon = GFX_focus_generic_military_mission
		relative_position_id = DOM_reduce_santanas_control
		x = 0
		y = 1
		cost = 25
		prerequisite = { focus = DOM_reduce_santanas_control }
		mutually_exclusive = { focus = DOM_follow_el_presidente }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_our_new_presidente
		icon = GFX_Focus_Army_Staff_Reorganization_1
		relative_position_id = DOM_follow_el_general
		x = 0
		y = 1
		cost = 25
		prerequisite = { focus = DOM_follow_el_general }
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = USA_FN_focus_unlock_by_event
				always = no
			}
		}
		completion_reward = {
			swap_ideas = {
				add_idea = one_party_elections
				remove_idea = limited_elections
			}
			swap_ideas = {
				add_idea = pp_limited_party_freedom
				remove_idea = pp_open_politics
			}
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_santanas_military_budget_reforms
		icon = GFX_Focus_Economy_Increase_Wages
		relative_position_id = DOM_our_new_presidente
		x = 1
		y = 1
		cost = 75
		prerequisite = { 
			focus = DOM_our_new_presidente 
			focus = DOM_santanas_military_spanish_loans
		}
		available_if_capitulated = no
		available = {
			OR = {
				has_completed_focus = DOM_santanas_military_spanish_loans
				custom_trigger_tooltip = {
					tooltip = USA_FN_focus_unlock_by_event
					always = no
				}
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
			has_specific_amount_of_money_with_inflation_included = yes
		}
		completion_reward = {
			if = {
				limit = { has_idea = army_spending_level_3 }
				swap_ideas = {
					add_idea = army_spending_level_4
					remove_idea = army_spending_level_3
				}
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_tooltip_effect = yes 
			}
			else_if = {
				limit = { has_idea = army_spending_level_2 }
				swap_ideas = {
					add_idea = army_spending_level_4
					remove_idea = army_spending_level_2
				}
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_tooltip_effect = yes  
			}
			else_if = {
				limit = { has_idea = army_spending_level_1 }
				swap_ideas = {
					add_idea = army_spending_level_4
					remove_idea = army_spending_level_1
				}
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_tooltip_effect = yes 
			}
		}
		ai_will_do = { base = 1 }
	}
	focus = {
		id = DOM_santanas_recruitment_reforms
		icon = GFX_focus_generic_little_entente
		relative_position_id = DOM_our_new_presidente
		x = 1
		y = 2
		cost = 75
		prerequisite = { focus = DOM_santanas_military_budget_reforms }
		available_if_capitulated = no
		available = {
			OR = {
				has_country_leader = { name = "Jose Desiderio Valverde" ruling_only = yes }
				custom_trigger_tooltip = {
					tooltip = USA_FN_focus_unlock_by_event
					always = no
				}
			}
		}
		completion_reward = {
			if = {
				limit = { has_idea = disarmed_nation }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = disarmed_nation
				}
				add_political_power = -250
			}
			else_if = {
				limit = { has_idea = volunteer_only }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = volunteer_only
				}
				add_political_power = -250
			}
			else_if = {
				limit = { has_idea = limited_conscription }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = limited_conscription
				}
				add_political_power = -250
			}
			else_if = {
				limit = { has_idea = extensive_conscription }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = extensive_conscription
				}
				add_political_power = -250
			}
			else_if = {
				limit = { has_idea = all_adults_serve }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = all_adults_serve
				}
				add_political_power = -250
			}
			else_if = {
				limit = { has_idea = scraping_the_barrel }
				swap_ideas = {
					add_idea = service_by_requirement
					remove_idea = scraping_the_barrel
				}
				add_political_power = -250
			}
			add_stability = -0.05
		}
		ai_will_do = { base = 1 }
	}
	
	focus = {
		id = DOM_preemptive_strike_on_haiti
		icon = GFX_goal_generic_territory_or_war
		relative_position_id = DOM_santanas_recruitment_reforms
		x = 0
		y = 1
		cost = 15
		available_if_capitulated = no
		available = {
			num_divisions > 2
			is_subject = no
			HAI = {
				custom_trigger_tooltip = {
					tooltip = HAI_owns_left_hispaniola_tooltip
					OR = { 
						owns_state = 790
						owns_state = 318
					}
				}
			}
			HAI = { has_civil_war = yes }
			#set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_santanas_recruitment_reforms }
		completion_reward = {
			declare_war_on = {
				target = HAI
				type = annex_everything
			}
		}
	}
	focus = {
		id = DOM_hispaniola_landowners_association
		icon = GFX_Focus_Elite
		relative_position_id = DOM_the_new_liberal_state
		x = 3
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			
		}
		prerequisite = { focus = DOM_the_new_liberal_state }
		completion_reward = {
			add_political_power = 150
			if = { 
				limit = { NOT = { has_idea = DOM_the_masonry_lodge_0 } }
				add_ideas = DOM_the_masonry_lodge_0
			}
		}
	}
	focus = {
		id = DOM_valverde_economic_reforms
		icon = GFX_Focus_Bankruptcy
		relative_position_id = DOM_the_new_liberal_state
		x = 8
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_right_hispaniola_tooltip
				OR = {
					owns_state = 319
					319 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_the_new_liberal_state }
		completion_reward = {
			custom_effect_tooltip = DOM_develop_right_hispaniola_effect_tooltip
			set_country_flag = SPR_develop_right_hispaniola_flag
		}
	}
	
	focus = {
		id = DOM_expand_telegraph_lines
		icon = GFX_focus_KNS_rail_company_subsidies
		relative_position_id = DOM_valverde_economic_reforms
		x = 3
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_right_hispaniola_tooltip
				OR = {
					owns_state = 319
					319 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
			has_specific_amount_of_money_with_inflation_included = yes
		}
		prerequisite = { focus = DOM_valverde_economic_reforms }
	
		completion_reward = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes 
			SPR = { country_event = { id = haiti.17 days = 3 } }
			unlock_decision_tooltip = DOM_mission_santo_domingo_railway_concession
			hidden_effect = { set_country_flag = SPR_santo_domingo_railway_concession_flag }
		}		
	}
	focus = {
		id = DOM_united_hispaniola
		icon = GFX_goal_anschluss
		relative_position_id = DOM_valverde_economic_reforms
		x = 0
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_left_hispaniola_tooltip
				OR = {
					owns_state = 790
					790 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 318
					318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_valverde_economic_reforms }
		completion_reward = {
			custom_effect_tooltip = DOM_develop_left_hispaniola_effect_tooltip
			set_country_flag = SPR_develop_left_hispaniola_flag
		}
	}
	focus = {
		id = DOM_reconnect_a_divded_hispaniola
		icon = GFX_Focus_transport_railroad_development
		relative_position_id = DOM_united_hispaniola
		x = 1
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_left_hispaniola_tooltip
				OR = {
					owns_state = 790
					790 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 318
					318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
		}
		prerequisite = { focus = DOM_expand_telegraph_lines }
		prerequisite = { focus = DOM_united_hispaniola }
		completion_reward = {
			unlock_decision_tooltip = DOM_mission_port_au_prince_railway_concession
			hidden_effect = { set_country_flag = SPR_port_au_prince_railway_concession_flag }
		}		
	}
	focus = {
		id = DOM_dual_language_administration
		icon = GFX_Focus_Law_Vote_1
		relative_position_id = DOM_united_hispaniola
		x = 1
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			
		}
		prerequisite = { focus = DOM_reconnect_a_divded_hispaniola }
		completion_reward = {
			country_event = { id = dom.12 days = 3 }
		}		
	}
	focus = {
		id = DOM_invest_in_coffee_trade
		icon = GFX_Focus_Resource_Coffee
		relative_position_id = DOM_united_hispaniola
		x = -1
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_left_hispaniola_tooltip
				OR = {
					owns_state = 790
					790 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 318
					318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			custom_trigger_tooltip = {
				tooltip = SPR_left_hispaniola_has_infrastructure_investments_trigger
				OR = {
					790 = { has_state_flag = SPR_left_hispaniola_has_infrastructure_investments_flag }
					318 = { has_state_flag = SPR_left_hispaniola_has_infrastructure_investments_flag }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_united_hispaniola }
		completion_reward = {
			custom_effect_tooltip = DOM_invest_in_coffee_trade_effect_tooltip
			set_country_flag = DOM_invest_in_coffee_trade_flag
			#country_event = { id = spain_caribbean.1 }
		}
	}
	focus = {
		id = DOM_invest_in_sugar_trade
		icon = GFX_focus_SPR_invest_in_sugar_trade
		relative_position_id = DOM_united_hispaniola
		x = -1
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_left_hispaniola_tooltip
				OR = {
					owns_state = 790
					790 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 318
					318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			custom_trigger_tooltip = {
				tooltip = SPR_left_hispaniola_has_infrastructure_investments_trigger
				OR = {
					790 = { has_state_flag = SPR_left_hispaniola_has_infrastructure_investments_flag }
					318 = { has_state_flag = SPR_left_hispaniola_has_infrastructure_investments_flag }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_invest_in_coffee_trade }
		completion_reward = {
			custom_effect_tooltip = DOM_invest_in_sugar_trade_effect_tooltip
			set_country_flag = SPR_invest_in_sugar_trade_left_hispaniola_flag
			#country_event = { id = spain_caribbean.1 }
		}
	}
	focus = {
		id = DOM_expand_tobacco_plantations
		icon = GFX_Focus_health_famine_relief
		relative_position_id = DOM_valverde_economic_reforms
		x = -3
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_right_hispaniola_tooltip
				OR = {
					owns_state = 319
					319 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			custom_trigger_tooltip = {
				tooltip = SPR_right_hispaniola_has_infrastructure_investments_trigger
				OR = {
					1318 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
					319 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_valverde_economic_reforms }
		completion_reward = {
			custom_effect_tooltip = DOM_expand_tobacco_plantations_effect_tooltip
			#set_country_flag = DOM_expand_tobacco_plantations_flag
			set_country_flag = SPR_expand_tobacco_plantations_flag
			#country_event = { id = spain_caribbean.2 }
		}
	}
	
	focus = {
		id = DOM_increase_cattle_land
		icon = GFX_focus_SPR_increase_cattle_land
		relative_position_id = DOM_valverde_economic_reforms
		x = -3
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_right_hispaniola_tooltip
				OR = {
					owns_state = 319
					319 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			custom_trigger_tooltip = {
				tooltip = SPR_right_hispaniola_has_infrastructure_investments_trigger
				OR = {
					1318 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
					319 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_expand_tobacco_plantations }
		completion_reward = {
			custom_effect_tooltip = DOM_increase_cattle_land_effect_tooltip
			set_country_flag = SPR_invest_in_dominican_cattle_flag
			#country_event = { id = spain_caribbean.3 }
		}
	}
	focus = {
		id = DOM_new_farming_techniques
		icon = GFX_focus_SPR_modernize_plantations
		relative_position_id = DOM_valverde_economic_reforms
		x = -3
		y = 3
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_right_hispaniola_has_tobacco_plantation_investments_trigger
				OR = {
					1350 = { has_state_flag = SPR_right_hispaniola_has_tobacco_plantation_investments_flag }
					315 = { has_state_flag = SPR_right_hispaniola_has_tobacco_plantation_investments_flag }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_increase_cattle_land }
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 3
				category = farming_tech
			}
		}
	}
	focus = {
		id = DOM_standardize_prices_and_product_methods
		icon = GFX_goal_generic_intelligence_exchange
		relative_position_id = DOM_valverde_economic_reforms
		x = -1
		y = 4
		cost = 60
		available_if_capitulated = no
		available = {

		}
		prerequisite = { 
			focus = DOM_new_farming_techniques 
			focus = DOM_invest_in_sugar_trade
		}
		completion_reward = {
			if = { 
				limit = { NOT = { has_tech = tech_humanities_mercantilism } }
				set_technology = {	tech_humanities_mercantilism = 1 }
			}
			if = { 
				limit = { NOT = { has_tech = tech_humanities_capitalism } }
				set_technology = {	tech_humanities_capitalism = 1 }
			}
		}
	}
	
	focus = {
		id = DOM_the_havana_of_hispaniola
		icon = GFX_goal_focus_city_development
		relative_position_id = DOM_expand_telegraph_lines
		x = 0
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_santo_domingo_tooltip
				OR = {
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			custom_trigger_tooltip = {
				tooltip = SPR_right_hispaniola_has_infrastructure_investments_trigger
				OR = {
					1318 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
					319 = { has_state_flag = SPR_right_hispaniola_has_infrastructure_investments_flag }
				}
			}
			set_temp_variable = { amount_of_money_to_check = 0.5 }
			has_specific_amount_of_money_with_inflation_included = yes
		}
		prerequisite = { focus = DOM_expand_telegraph_lines }
		completion_reward = {
			1318 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { money_to_gain = -0.7 }
			add_money_with_tooltip_effect = yes 
			swap_ideas = {
				remove_idea = pre_industrial_era
				add_idea = victorian_era
			}
		}		
	}
	
	focus = {
		id = DOM_recreation_of_the_caribbean_captaincy
		icon = GFX_Focus_colonial_power_SPA
		relative_position_id = DOM_the_new_liberal_state
		x = 14
		y = 1
		cost = 120
		available_if_capitulated = no
		available = { 
			is_subject_of = SPR
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes 
			custom_trigger_tooltip = { tooltip = SPR_has_not_been_rejected_as_SPC_tooltip NOT = { has_country_flag = SPR_rejected_as_SPC_flag } }
		}
		select_effect = {
			SPR = { country_event = { id = dom.7 } }
		}
		completion_reward = {
			custom_effect_tooltip = set_cosmetic_tag_SPC
		}
		cancel = {
			custom_trigger_tooltip = { tooltip = SPR_rejected_as_SPC_tooltip has_country_flag = SPR_rejected_as_SPC_flag }
		}
		bypass = {
			custom_trigger_tooltip = { tooltip = has_cosmetic_tag_SPC has_cosmetic_tag = SPC }
		}
		#allow_branch = {
		#	if = { limit = { is_debug = no } is_subject_of = SPR }
		#}
	}
	focus = {
		id = DOM_build_the_armada_del_caribe
		icon = GFX_goal_generic_navy_cruiser
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = 0
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = { tooltip = has_cosmetic_tag_SPC has_cosmetic_tag = SPC }
		}
		prerequisite = { focus = DOM_recreation_of_the_caribbean_captaincy }
		completion_reward = {
			add_timed_idea = {
				idea = DOM_la_aramada_del_caribe
				days = 1800
			}
		}		
	}
	focus = {
		id = DOM_marine_training
		icon = GFX_goal_generic_amphibious_assault
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = -1
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = { tooltip = has_cosmetic_tag_SPC has_cosmetic_tag = SPC }
		}
		prerequisite = { focus = DOM_build_the_armada_del_caribe }
		completion_reward = {
			division_template = {
				name = "Antillas Marines"
				priority = 1
				regiments = {
					early_marine = { x = 0 y = 0 }
					early_marine = { x = 0 y = 1 }
					early_marine = { x = 1 y = 0 }
					early_marine = { x = 1 y = 1 }
				}
				is_locked = no
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Antillas Marines\" division_template = \"Spanish Volunteers\" start_experience_factor = 1 start_equipment_factor = 1" 
					owner = ROOT
				}
			}
			navy_experience = 25
			add_tech_bonus = {
				bonus = 0.25
				uses = 3
				category = tech_category_naval_infantry
			}
			
		}		
	}
	focus = {
		id = DOM_santo_dominigo_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = 1
		y = 3
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_owns_santo_domingo_tooltip
				OR = {
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}
		prerequisite = { focus = DOM_requesting_spanish_ship_schematics }
		completion_reward = {
			unlock_decision_tooltip = SPR_develop_santo_domingo_port_decision
			set_country_flag = SPR_santo_domingo_port_investment_flag
		}		
	}
	focus = {
		id = DOM_requesting_spanish_ship_schematics
		icon = GFX_Focus_Screw_Engine
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = 1
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = { tooltip = has_cosmetic_tag_SPC has_cosmetic_tag = SPC }
		}
		prerequisite = { focus = DOM_build_the_armada_del_caribe }
		completion_reward = {
			SPR = { country_event = { id = dom.5 } }
		}
		#bypass = {
		#	hidden_trigger = { DOM = { NOT = { has_cosmetic_tag = SPC } } }
		#}
	}
	focus = {
		id = DOM_design_the_antilla_ship_serie
		icon = GFX_Goal_ironclad_focus
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = -1
		y = 3
		cost = 60
		available_if_capitulated = no
		available = {
			

		}
		prerequisite = { focus = DOM_requesting_spanish_ship_schematics }
		prerequisite = { focus = DOM_marine_training }
		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				bonus = 0.50
				uses = 3
				category = naval_mtg_corvette_hulls_tech
			}
		}		
	}
	focus = {
		id = DOM_specialize_our_shipyards
		icon = GFX_Focus_commision_monitors
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = 1
		y = 4
		cost = 60
		available_if_capitulated = no
		available = {
			

		}
		prerequisite = { focus = DOM_santo_dominigo_shipyards }
		completion_reward = {
			add_ideas = SPR_Ferrol_Arsenal
		}		
	}
	focus = {
		id = DOM_build_antillas_corridor_from_habana
		icon = GFX_focus_SPR_develop_cuba_and_puerto_rico
		relative_position_id = DOM_recreation_of_the_caribbean_captaincy
		x = -3
		y = 3
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = { tooltip = has_cosmetic_tag_SPC has_cosmetic_tag = SPC }
		}
		prerequisite = { focus = DOM_the_havana_of_hispaniola }
		completion_reward = {
			unlock_decision_tooltip = SPR_mission_antillas_corridor_railway_concession
			hidden_effect = { set_country_flag = SPR_antillas_corridor_railway_concession_flag }
		}		
	}
	focus = {
		id = DOM_organize_the_puerto_rico_route
		icon = GFX_Focus_Victorian_Line_Ship
		relative_position_id = DOM_build_antillas_corridor_from_habana
		x = 2
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			
			has_navy_size = {
				size > 19
				type = convoy
			}
			custom_trigger_tooltip = {
				tooltip = SPR_owns_puerto_rico_tooltip
				OR = {
					owns_state = 686
					686 = { OWNER = { is_subject_of = ROOT } }
				}
			}
		}
		prerequisite = { focus = DOM_design_the_antilla_ship_serie }
		completion_reward = {
			add_resource = {
				type = wood
				amount = 4
				state = 686
			}
		}		
	}
	focus = {
		id = DOM_organize_the_hispaniola_cuba_route
		icon = GFX_Focus_Colony_Cuba
		relative_position_id = DOM_build_antillas_corridor_from_habana
		x = 0
		y = 1
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_antillas_corridor_railway_finished
				315 = { has_state_flag = SPR_antillas_corridor_railway_concession_flag } 
				1350 = { has_state_flag = SPR_antillas_corridor_railway_concession_flag }
			}
			custom_trigger_tooltip = {
				tooltip = SPR_owns_all_of_cuba_tooltip
				OR = {
					owns_state = 315
					315 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1350
					1350 = { OWNER = { is_subject_of = ROOT } }
				}
			}
		}
		prerequisite = { focus = DOM_build_antillas_corridor_from_habana }
		completion_reward = {
			add_equipment_to_stockpile = {
				type = train_equipment_1
				amount = 5
				producer = SPR
			}
			add_resource = {
				type = wood
				amount = 4
				state = 1350
			}
			add_resource = {
				type = wood
				amount = 4
				state = 315
			}
			add_resource = {
				type = iron
				amount = 4
				state = 315
			}
		}		
	}
	focus = {
		id = DOM_organize_the_hispaniola_trade_route
		icon = GFX_goal_generic_positive_trade_relations
		relative_position_id = DOM_reconnect_a_divded_hispaniola
		x = 0
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_santo_domingo_railway_finished
				319 = { has_state_flag = SPR_santo_domingo_railway_concession_flag }
				1318 = { has_state_flag = SPR_santo_domingo_railway_concession_flag }
			}
			custom_trigger_tooltip = {
				tooltip = SPR_port_au_prince_railway_finished
				790 = { has_state_flag = SPR_port_au_prince_railway_concession_flag }
				318 = { has_state_flag = SPR_port_au_prince_railway_concession_flag }
			}
			custom_trigger_tooltip = {
				tooltip = SPR_owns_hispaniola_tooltip
				OR = {
					owns_state = 319
					319 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 1318
					1318 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = {
					owns_state = 790
					790 = { OWNER = { is_subject_of = ROOT } }
				}
				OR = { 
					owns_state = 318
					318 = { OWNER = { is_subject_of = ROOT } }
				}
			}
		}
		prerequisite = { focus = DOM_dual_language_administration }
		completion_reward = {
			add_resource = {
				type = wood
				amount = 4
				state = 318
			}
		}		
	}
	focus = {
		id = DOM_emphasis_on_exports
		icon = GFX_Focus_Trade_International
		relative_position_id = DOM_valverde_economic_reforms
		x = -3
		y = 4
		cost = 60
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = SPR_santo_domingo_railway_finished
				319 = { has_state_flag = SPR_santo_domingo_railway_concession_flag }
				1318 = { has_state_flag = SPR_santo_domingo_railway_concession_flag }
			}
		}
		prerequisite = { focus = DOM_new_farming_techniques }
		completion_reward = {
			add_resource = {
				type = wood
				amount = 4
				state = 319
			}
			add_resource = {
				type = iron
				amount = 2
				state = 319
			}
		}
	}
	focus = {
		id = DOM_a_unified_caribbean_market
		icon = GFX_Focus_stimulate_economy
		relative_position_id = DOM_build_antillas_corridor_from_habana
		x = -1
		y = 2
		cost = 60
		available_if_capitulated = no
		available = {
			
			
		}
		prerequisite = { focus = DOM_specialize_our_shipyards }
		prerequisite = { focus = DOM_organize_the_puerto_rico_route }
		prerequisite = { focus = DOM_organize_the_hispaniola_cuba_route }
		prerequisite = { focus = DOM_organize_the_hispaniola_trade_route }
		prerequisite = { focus = DOM_standardize_prices_and_product_methods }
		prerequisite = { focus = DOM_emphasis_on_exports }
		completion_reward = {
			swap_ideas = {
				remove_idea = road_spending_level_1
				add_idea = road_spending_level_2
			}
			swap_ideas = {
				remove_idea = navy_spending_level_1
				add_idea = navy_spending_level_3
			}
			swap_ideas = {
				remove_idea = limited_exports
				add_idea = export_focus
			}
		}		
	}
}