focus_tree = {
	id = south_african_republic_vic_ft
	country = {
		factor = 0
		modifier = {#
			add = 10
			original_tag = TRV
		}
	}
	default = no
	reset_on_civilwar = no

	#################
	### POLITICAL ###
	#################

	focus = {
		id = TRV_focus_political_reforms
		icon = GFX_Focus_Government_Reform_Administration
		cost = 70
		x = 5
		y = 0
		completion_reward = {
			add_political_power = 75
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_question_of_church_state
		icon = GFX_Focus_Religious_Prayers
		cost = 35
		x = 3
		y = 1
		completion_reward = {
			country_event={id= boer_states.5}
		}
		prerequisite = {
			focus = TRV_focus_political_reforms
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_accept_other_churches
		icon = GFX_Focus_Catholism_Convert
		cost = 70
		x = 2
		y = 2
		completion_reward = {
			add_political_power =100
			add_stability = -0.05
		}
		prerequisite = {
			focus = TRV_focus_question_of_church_state
		}
		mutually_exclusive={
			focus = TRV_focus_only_one_church
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_seperation_of_church_and_state
		icon = GFX_Focus_reduce_church_power
		cost = 70
		x = 2
		y = 3
		completion_reward = {
			add_stability = 0.1
			swap_ideas={
				add_idea = secular_state
				remove_idea = state_religion
			}
		}
		prerequisite = {
			focus = TRV_focus_accept_other_churches
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_only_one_church
		icon = GFX_Focus_Catholic_Religion
		cost = 70
		x = 4
		y = 2
		completion_reward = {
			add_stability = 0.1
		}
		mutually_exclusive={
			focus = TRV_focus_accept_other_churches
		}
		prerequisite = {
			focus = TRV_focus_question_of_church_state
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_one_people_under_god
		icon = GFX_Focus_Catholism_Cross_1
		cost = 70
		x = 4
		y = 3
		completion_reward = {
			add_ideas={
				TRV_idea_god_fairing_people
			}
		}
		prerequisite = {
			focus = TRV_focus_only_one_church
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_imergration_reforms
		icon = GFX_Focus_freedom_abode
		cost = 70
		x = 5
		y = 4
		completion_reward = {
			add_timed_idea={
				idea = TRV_immergation
				days = 720
			}
		}
		prerequisite = {
			focus = TRV_focus_the_question_of_slavery
		}
		prerequisite = {
			focus = TRV_focus_one_people_under_god
			focus = TRV_focus_seperation_of_church_and_state
		}
		prerequisite = {
			focus = TRV_focus_army_of_the_burghers
			focus = TRV_focus_expanded_military
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_the_question_of_our_racial_politices
		icon = GFX_Focus_Map_Gerrymandering
		cost = 70
		x = 8
		y = 1
		completion_reward = {
			add_stability = -0.05
		}
		prerequisite = {
			focus = TRV_focus_political_reforms
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_pro_dutch_policies
		icon = GFX_Focus_Government_Reform_Administration
		cost = 70
		x = 7
		y = 2
		completion_reward = {
			add_ideas={TRV_boer_policies}
		}
		prerequisite = {
			focus = TRV_focus_the_question_of_our_racial_politices
		}
		mutually_exclusive = {
			focus = TRV_focus_equal_policies
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_army_of_the_burghers
		icon = GFX_Focus_decentrailized_militia
		cost = 70
		x = 6
		y = 3
		completion_reward = {
			swap_ideas={
				remove_idea =TRV_boer_policies
				add_idea = TRV_boer_policies_2
			}
		}
		prerequisite = {
			focus = TRV_focus_pro_dutch_policies
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_equal_policies
		icon = GFX_goal_tripartite_pact
		cost = 70
		x = 9
		y = 2
		completion_reward = {
			add_stability = -0.05
			add_ideas={TRV_equal_policies}
		}
		mutually_exclusive = {
			focus = TRV_focus_pro_dutch_policies
		}
		prerequisite = {
			focus = TRV_focus_the_question_of_our_racial_politices
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_expanded_military
		icon = GFX_Focus_Government_Reform_Administration
		cost = 70
		x = 10
		y = 3
		completion_reward = {
			add_stability = -0.05
			swap_ideas={
				remove_idea = TRV_equal_policies
				add_idea = TRV_equal_policies_2
			}
		}
		prerequisite = {
			focus = TRV_focus_equal_policies
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_the_question_of_slavery
		icon = GFX_Focus_Slavery_question
		cost = 70
		x = 8
		y = 3
		completion_reward = {
			country_event={id=boer_states.9}
		}
		prerequisite = {
			focus = TRV_focus_pro_dutch_policies
			focus = TRV_focus_equal_policies
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_establish_constiution
		icon = GFX_Focus_Law_Vote_1
		cost = 70
		x = 5
		y = 5
		completion_reward = {
			#swap_ideas={
			#	add_idea = limited_constitution
			#	remove_idea = no_constitution
			#}
		}
		prerequisite = {
			focus = TRV_focus_imergration_reforms
		}
		prerequisite = {
			focus = TRV_focus_reform_the_voting_system
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}

	focus = {
		id = TRV_focus_complete_legal_reforms
		icon = GFX_Focus_Government_Reform_Administration
		cost = 12
		x = 14
		y = 0
		completion_reward = {
			add_political_power = 75
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_establish_laws_on_tariffs
		icon = GFX_Focus_Economy_Increase_Wages
		cost = 12
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_complete_legal_reforms
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		x = -2
		y = 1
		completion_reward = {
			add_stability = 0.033
		}

	}
	focus = {
		id = TRV_focus_gunpowder_regulations
		icon = GFX_goal_generic_small_arms
		cost = 12
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_complete_legal_reforms
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		x = 0
		y = 1
		completion_reward = {
			add_stability = 0.033
		}

	}
	focus = {
		id = TRV_focus_liquor_reulations
		icon = GFX_goal_generic_positive_trade_relations
		cost = 12
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_complete_legal_reforms
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		x = 2
		y = 1
		completion_reward = {
			add_stability = 0.033
		}

	}
	focus = {
		id = TRV_focus_consoladate_internal_governence
		icon = GFX_focus_generic_self_management
		cost = 35
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_liquor_reulations
		}
		prerequisite = {
			focus = TRV_focus_gunpowder_regulations
		}
		prerequisite = {
			focus = TRV_focus_establish_laws_on_tariffs
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		x = 0
		y = 2
		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
		}

	}
	focus = {
		id = TRV_focus_focus_on_exsternal_problems
		icon = GFX_goal_generic_political_pressure
		cost = 35
		x = 2
		y = 3
		prerequisite = {
			focus = TRV_focus_consoladate_internal_governence
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_war=yes
		}
		bypass = {
			TRV = {
				exists = no
			}
		}
		completion_reward = {
			add_war_support = 0.25
			add_stability = 0.05
		}
	}
	focus = {
		id = TRV_focus_continue_constitutional_reforms
		icon = GFX_focus_generic_self_management
		cost = 25
		x = -2
		y = 3
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_consoladate_internal_governence
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available = {
			has_war = no
		}
		completion_reward = {
			#swap_ideas={
			#	add_idea = limited_constitution
			#	remove_idea = no_constitution
			#}
		}
	}
	focus = {
		id = TRV_focus_reform_the_voting_system
		icon = GFX_Focus_Vote_Election
		cost = 70
		x = -2
		y = 4
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_continue_constitutional_reforms
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		completion_reward = {
			swap_ideas={
				add_idea = one_party_elections
				remove_idea = no_elections
			}
		}
	}
	focus = {
		id = TRV_focus_the_fuctions_of_a_state
		icon = GFX_Focus_Law_Vote_1
		cost = 105
		prerequisite = {
			focus = TRV_focus_focus_on_exsternal_problems
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_war = no
		}
		x = 2
		y = 4
		completion_reward = {
			add_political_power = 100
		}
	}
	focus = {
		id = TRV_focus_attempt_to_levy_taxes
		icon = GFX_Focus_Economy_Increase_Wages
		cost = 105
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_the_fuctions_of_a_state
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		x = 0
		y = 5
		completion_reward = {
			add_ideas = {
				ofs_idea_efficient_taxing
			}
		}
	}
	focus = {
		id = TRV_focus_create_a_national_tax_code
		icon = GFX_Focus_Economy_Increase_Wages
		cost = 70
		prerequisite = {
			focus = TRV_focus_attempt_to_levy_taxes
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 0
		y = 6
		completion_reward = {
			add_stability = 0.05
		}
	}
	focus = {
		id = TRV_focus_establish_national_banknotes
		icon = GFX_Focus_banks
		cost = 70
		prerequisite = {
			focus = TRV_focus_create_a_national_tax_code
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 0
		y = 7
		completion_reward = {
			add_ideas = {
				ofs_bluebacks
			}
		}
	}
	focus = {
		id = TRV_focus_increase_research_funding
		icon = GFX_focus_research
		cost = 70
		prerequisite = {
			focus = TRV_focus_create_a_national_tax_code
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = -2
		y = 7
		completion_reward = {
			if = {
				limit = {
					has_idea = oral_tradition
				}
				swap_ideas = {
					add_idea = privileged_education
					remove_idea = oral_tradition
				}
			}
			if = {
				limit = {
					has_idea = open_schools
				}
				swap_ideas = {
					add_idea = compulsory_education
					remove_idea = open_schools
				}
			}
			if = {
				limit = {
					has_idea = privileged_education
				}
				swap_ideas = {
					add_idea = open_schools
					remove_idea = privileged_education
				}
			}
		}
	}
	focus = {
		id = TRV_focus_encorage_immirgration
		icon = GFX_goal_generic_propaganda
		cost = 70
		prerequisite = {
			focus = TRV_focus_the_fuctions_of_a_state
		}
		relative_position_id = TRV_focus_complete_legal_reforms
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 2
		y = 5
		completion_reward = {
		}
	}

	###############
	### FOREIGN ###
	###############

	focus = {
		id = TRV_focus_foreign_affars
		icon = GFX_Focus_Diplomatic_foreign
		cost = 70
		x = 47
		y = 0
		completion_reward = {
			add_political_power = 75
		}
		available={
			has_completed_focus = TRV_focus_establish_constiution
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_attempt_diplomatic_ties_with_OFS
		icon = GFX_goal_generic_major_alliance
		cost = 70
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		relative_position_id = TRV_focus_foreign_affars
		dynamic =yes
		available ={
			OFS = {
				exists = yes
				NOT = {
					any_owned_state = {
						is_core_of = TRV
					}
				}
			}
			NOT = {
				any_owned_state = {
					is_core_of = TRV
				}
			}
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = -5
		y = 1
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_offer_joint_guarentees
		icon = GFX_goal_generic_major_alliance
		cost = 70
		prerequisite = {
			focus = TRV_focus_attempt_diplomatic_ties_with_OFS
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_country_flag = OFS_accepts_envoys
			is_puppet = no
		}
		x = -5
		y = 2
		completion_reward = {
			give_guarantee = OFS
			OFS={
				give_guarantee = TRC
			}
		}
	}
	focus = {
		id = TRV_focus_offer_to_join_with_the_OFS
		icon = GFX_goal_trv_ofs_union
		cost = 70
		prerequisite = {
			focus = TRV_focus_offer_joint_guarentees
		}
		mutually_exclusive = {
			focus = TRV_focus_mantain_frendly_independant_relations
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_stability > 0.65
			has_war=no
			is_puppet = no
		}
		x = -6
		y = 3
		completion_reward = {
			country_event = boer_states.46
		}
	}
	focus = {
		id = TRV_focus_mantain_frendly_independant_relations
		icon = GFX_goal_generic_improve_relations
		cost = 70
		prerequisite = {
			focus = TRV_focus_offer_joint_guarentees
		}
		relative_position_id = TRV_focus_foreign_affars
		mutually_exclusive = {
			focus = TRV_focus_offer_to_join_with_the_OFS
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = -4
		y = 3
		completion_reward = {
			add_opinion_modifier = {
				target = OFS
				modifier = long_term_alliance
			}
		}
	}

	focus = {
		id = TRV_focus_integration_of_the_OFS
		icon = GFX_goal_trv_ofs_union
		cost = 70
		x = -2
		y = 1
		completion_reward = {
			add_state_core = 747
		}
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			747 = {
				is_fully_controlled_by = TRV
			}
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_central_OFS_integration
		icon = GFX_goal_trv_ofs_union
		cost = 70
		x = -2
		y = 2
		completion_reward = {
			add_state_core = 747
		}
		prerequisite = {
			focus = TRV_focus_integration_of_the_OFS
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			has_war = no
			747 = {
				is_fully_controlled_by = TRV
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_southern_OFS_integration
		icon = GFX_goal_trv_ofs_union
		cost = 70
		x = -2
		y = 3
		completion_reward = {
			add_state_core = 747
			add_state_core = 776
			every_owned_state={
				limit={
					is_core_of = OFS
				}
				remove_core_of = OFS
			}
		}
		prerequisite = {
			focus = TRV_focus_central_OFS_integration
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			has_war = no
			747 = {
				is_fully_controlled_by = TRV
			}
			776 = {
				is_fully_controlled_by = TRV
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}

	focus = {
		id = TRV_focus_west_swaziland_purchase
		icon = GFX_Focus_Map_Gerrymandering
		cost = 70
		x = 0
		y = 1
		completion_reward = {
			remove_ideas={TRV_idea_occupied_swazi_territory}
			SWZ={remove_ideas={SWZ_idea_bigger_than_it_looks}}
		}
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_swaziland_alliance
		icon = GFX_Focus_Diplomatic_Deal
		cost = 70
		x = 0
		y = 2
		completion_reward = {
			
		}
		prerequisite = {
			focus = TRV_focus_west_swaziland_purchase
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_british_policy
		icon = GFX_Focus_Diplomacy_UK
		cost = 70
		x = 3
		y = 1
		completion_reward = {
			add_stability = 0.05
		}
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		relative_position_id = TRV_focus_foreign_affars
		available ={
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = TRV_focus_attempt_to_submit_to_ENG
		icon = GFX_goal_focus_british_colonial_empire
		cost = 70
		prerequisite = {
			focus = TRV_focus_british_policy
		}
		mutually_exclusive = {
			focus = TRV_focus_steadfast_independace
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		available ={
			date < 1870.01.01
		}
		ai_will_do = {
			factor = 1
		}
		x = 2
		y = 2
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_prepare_for_re-annexation
		icon = GFX_goal_generic_forceful_treaty
		cost = 105
		prerequisite = {
			focus = TRV_focus_attempt_to_submit_to_ENG
		}
		available={
			has_country_flag = Britain_accepts_re_annexation
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 2
		y = 3
		completion_reward = {
			ENG = {
				set_autonomy = {
					target = TRV
					autonomous_state = autonomy_british_self_gov
					freedom_level = 0.2
				}
			}
		}
	}
	focus = {
		id = TRV_focus_steadfast_independace
		icon = GFX_Focus_Ideology_Liberty
		cost = 70
		prerequisite = {
			focus = TRV_focus_british_policy
		}
		mutually_exclusive = {
			focus = TRV_focus_attempt_to_submit_to_ENG
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 4
		y = 2
		completion_reward = {
			add_stability = -0.05
		}
	}
	focus = {
		id = TRV_focus_develop_independant_indentity
		icon = GFX_Focus_Monarchy_Violent_Revolution
		cost = 70
		prerequisite = {
			focus = TRV_focus_steadfast_independace
		}
		relative_position_id = TRV_focus_foreign_affars
		available = {
			NOT = {
				AND = {
					has_country_flag = Britain_accepts_re_annexation
					has_completed_focus = TRV_focus_steadfast_independace
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 4
		y = 3
		completion_reward = {
			add_stability = 0.1
		}
	}
	focus =	{
		id = TRV_focus_establish_diplomacy_with_the_west
		icon = GFX_Focus_Continent_West_Europe
		cost = 70
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		mutually_exclusive={
			focus = TRV_focus_remain_isolated
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available={
			custom_trigger_tooltip={
				tooltip = TRV_focus_establish_diplomacy_with_the_west_no_Britain
				NOT={has_country_flag = Britain_accepts_re_annexation}
			}
		}
		x = 5
		y = 1
		completion_reward = {
			
		}
	}
	focus =	{
		id = TRV_focus_remain_isolated
		icon = GFX_Focus_Espionage_subtle_exclusion
		cost = 70
		mutually_exclusive={
			focus = TRV_focus_establish_diplomacy_with_the_west
		}
		prerequisite = {
			focus = TRV_focus_foreign_affars
		}
		relative_position_id = TRV_focus_foreign_affars
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 7
		y = 1
		completion_reward = {
			add_political_power = 75
			add_stability = 0.05
		}

	}

	############
	### ARMY ###
	############

	focus = {
		id = TRV_focus_army_focus
		icon = GFX_Focus_conscription
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_completed_focus = TRV_focus_establish_constiution
		}
		x = 21
		y = 0
		completion_reward = {
			army_experience = 10
		}
	}
	focus = {
		id = TRV_focus_rifle_innovation
		icon = GFX_goal_generic_allies_build_infantry
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_army_focus
		}
		available = {
		}
		x = 19
		y = 1
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}
	focus = {
		id = TRV_focus_increase_rifle_investments
		icon = GFX_Goal_modernized_army_equipment
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_rifle_innovation
		}
		available = {
		}
		x = 19
		y = 2
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}
	focus = {
		id = TRV_focus_invest_tatics
		icon = GFX_Focus_Army_Reforms
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_army_focus
		}
		available = {
		}
		x = 21
		y = 1
		completion_reward = {
			add_doctrine_cost_reduction = {
				cost_reduction = 0.25
				uses = 3
				category = land_doctrine
			}
		}
	}
	focus = {
		id = TRV_focus_boer_style_doctrine
		icon = GFX_goal_generic_allies_build_infantry
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_invest_tatics
		}
		available = {
		}
		x = 21
		y = 2
		completion_reward = {
			add_ideas={
				boer_standing_army
			}
		}
	}
	focus = {
		id = TRV_focus_african_cavalry
		icon = GFX_Focus_Army_Cavalry
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_army_focus
		}
		available = {
		}
		x = 23
		y = 1
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.33
				uses = 2
				category = tech_category_cavalry
			}
		}
	}
	focus = {
		id = TRV_focus_research_artillery
		icon = GFX_Goal_military_procurement_focus
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_invest_tatics
		}
		available = {
		}
		x = 23
		y = 2
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.33
				uses = 2
				category = artillery
			}
		}
	}
	focus = {
		id = TRV_focus_quick_hidden
		icon = GFX_Focus_Army_Staff
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_boer_style_doctrine
		}
		prerequisite = {
			focus = TRV_focus_increase_rifle_investments
		}
		available = {
		}
		x = 21
		y = 3
		completion_reward = {
			set_technology = {camo_uniform = 1}
		}
	}
	focus = {
		id = TRV_focus_suppling_our_forces
		icon = GFX_goal_generic_consumer_goods
		cost = 70
		prerequisite = {
			focus = TRV_focus_quick_hidden
		}
		relative_position_id = TRV_focus_army_focus
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = -1
		y = 4
		completion_reward = {
		}
	}
	focus = {
		id = TRV_focus_create_a_standing_force
		icon = GFX_goal_generic_allies_build_infantry
		cost = 70
		prerequisite = {
			focus = TRV_focus_quick_hidden
		}
		relative_position_id = TRV_focus_army_focus
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 1
		y = 4
		completion_reward = {
			add_ideas = {boer_standing_army}
		}

	}
	focus = {
		id = TRV_focus_new_arms_new_tactics
		icon = GFX_focus_secret_rearmament
		cost = 70
		prerequisite = {
			focus = TRV_focus_create_a_standing_force
		}
		prerequisite = {
			focus = TRV_focus_suppling_our_forces
		}
		relative_position_id = TRV_focus_army_focus
		completion_reward = {
			swap_ideas = {
				add_idea = doctrine_napoleonic_army_1
				remove_idea = law_pre_industrial_army
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 0
		y = 5
	}
	focus = {
		id = TRV_focus_update_supply_methods
		icon = GFX_goal_generic_position_armies
		cost = 70
		prerequisite = {
			focus = TRV_focus_new_arms_new_tactics
		}
		relative_position_id = TRV_focus_army_focus
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
		}
		x = -1
		y = 6
	}
	focus = {
		id = TRV_focus_establish_military_command
		icon = GFX_focus_generic_little_entente
		cost = 70
		prerequisite = {
			focus = TRV_focus_new_arms_new_tactics
		}
		relative_position_id = TRV_focus_army_focus
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 1
		y = 6
		completion_reward = {
			army_experience = 50
			add_political_power = 150
		}

	}
	focus = {
		id = TRV_focus_build_a_larger_force
		icon = GFX_goal_generic_allies_build_infantry
		cost = 70
		prerequisite = {
			focus = TRV_focus_establish_military_command
		}
		prerequisite = {
			focus = TRV_focus_update_supply_methods
		}
		relative_position_id = TRV_focus_army_focus
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 0
		y = 7
		completion_reward = {
			swap_ideas ={
				add_idea = boer_large_standing_army
				remove_idea = boer_standing_army
			}
		}
	}

	################
	### ECONOMIC ###
	################

	focus = {
		id = TRV_focus_eco_branch
		icon = GFX_Focus_stimulate_economy
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_completed_focus = TRV_focus_establish_constiution
		}
		x = 32
		y = 0
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_establish_industry
		icon = GFX_Focus_industrial_revolution
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_eco_branch
		}
		available = {
		}
		x = 27
		y = 1
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_mechanical_engineering
		icon = GFX_goal_generic_production2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_establish_industry
		}
		available = {
		}
		x = 26
		y = 2
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.33
				uses = 4
				category = mechanical_engineering_tech
			}
		}
	}
	focus = {
		id = TRV_focus_production_methods
		icon = GFX_goal_generic_production
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_establish_industry
		}
		available = {
		}
		x = 28
		y = 2
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.33
				uses = 4
				category = process_engineering_tech
			}
		}
	}
	focus = {
		id = TRV_focus_expand_capital
		icon = GFX_Focus_metropolitan_communities
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_production_methods
		}
		prerequisite = {
			focus = TRV_focus_mechanical_engineering
		}
		available = {
		}
		x = 27
		y = 3
		completion_reward = {
			275={add_extra_state_shared_building_slots = 1}
		}
	}
	focus = {
		id = TRV_focus_expand_military_production
		icon = GFX_Focus_invest_in_the_military_industrial_complex
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_expand_capital
		}
		available = {
			NOT={has_idea = ofs_recovering_economy}
		}
		x = 26
		y = 4
		completion_reward = {
			activate_decision = OFS_mission_establish_military
		}
	}
	focus = {
		id = TRV_focus_industrialising_our_nation
		icon = GFX_goal_generic_construct_civ_factory
		cost = 70
		prerequisite = {
			focus = TRV_focus_expand_capital
		}
		available={
			num_of_civilian_factories_available_for_projects > 0
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 28
		y = 4
		completion_reward = {
			activate_decision = OFS_mission_establish_industry
		}
	}
	focus = {
		id = TRV_focus_industrialisation
		icon = GFX_Focus_Urbanization
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_expand_military_production
		}
		prerequisite = {
			focus = TRV_focus_industrialising_our_nation
		}
		bypass={
			NOT={has_idea = agrarian}
		}
		x = 27
		y = 5
		completion_reward = {
			swap_ideas={
				add_idea = industrializing
				remove_idea = agrarian
			}
		}
	}
	focus = {
		id = TRV_focus_encorage_manufactory_develpoment
		icon = GFX_goal_generic_production2
		cost = 70
		prerequisite = {
			focus = TRV_focus_industrialisation
		}
		mutually_exclusive = {
			focus = TRV_focus_encorage_factory_jobs
		}
		available={
			NOT = {
				has_idea = ofs_recovering_economy
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available={
			has_tech = machine_tools_1
		}
		x = 26
		y = 6
		completion_reward = {
			add_timed_idea = {
				days = 90
				idea = ofs_recovering_economy
			}
			random_owned_controlled_state = {
				limit = {
					NOT ={
						state = 1149
					}
					free_building_slots = {
						building = machine_parts_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = machine_parts_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = machine_parts_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TRV_focus_encorage_factory_jobs
		icon = GFX_goal_generic_construct_civ_factory
		cost = 140
		prerequisite = {
			focus = TRV_focus_industrialisation
		}
		mutually_exclusive = {
			focus = TRV_focus_encorage_manufactory_develpoment
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = has_more_than_200k_pop
				set_temp_variable = {a = max_manpower}
				check_variable = {a>200000}
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea= ofs_nationised_jobs_scheme
				days = 3650
			}
		}
		x = 28
		y = 6
	}
	focus = {
		id = TRV_focus_infra_capital
		icon = GFX_goal_generic_construct_infrastructure
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_eco_branch
		}
		available = {
		}
		x = 32
		y = 1
		completion_reward = {
			275={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TRV_focus_exapand_our_road_network
		icon = GFX_goal_generic_construct_infrastructure
		cost = 70
		prerequisite = {
			focus = TRV_focus_infra_capital
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		x = 32
		y = 2
		completion_reward = {
			random_owned_controlled_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TRV_focus_road_west
		icon = GFX_Focus_transport_gas_lighting_streets
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_exapand_our_road_network
		}
		available = {
		}
		x = 31
		y = 3
		completion_reward = {
			1140={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TRV_focus_road_east
		icon = GFX_Focus_transport_gas_lighting_streets
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_exapand_our_road_network
		}
		available = {
		}
		x = 33
		y = 3
		completion_reward = {
			1143={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			1144={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TRV_focus_road_matenence
		icon = GFX_goal_generic_construction2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_road_east
		}
		prerequisite = {
			focus = TRV_focus_road_west
		}
		available = {
		}
		x = 32
		y = 4
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_resource_investments
		icon = GFX_Focus_Exploration
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_eco_branch
		}
		available = {
		}
		x = 37
		y = 1
		completion_reward = {
			
		}
	}
	focus = {
		id = TRV_focus_coal_mine_expansion
		icon = GFX_Focus_coal_mines
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_resource_investments
		}
		available = {
		}
		x = 36
		y = 2
		completion_reward = {
			1140={
				add_resource = {
					type = coal
					amount = 12
				}
			}
		}
	}
	focus = {
		id = TRV_focus_diamond_fields
		icon = GFX_Focus_Resource_Gems
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_resource_investments
		}
		available = {
			has_country_flag = TRV_diamond_mines
		}
		x = 38
		y = 2
		completion_reward = {
			add_ideas = {trv_diamonds}
		}
	}
	focus = {
		id = TRV_focus_riches_of_witwatersrand
		icon = GFX_Focus_Government_2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_diamond_fields
			focus = TRV_focus_coal_mine_expansion
		}
		available = {
			has_idea = afr_ofs_gold_mines_1
		}
		x = 37
		y = 3
		completion_reward = {
			swap_ideas = {
				add_idea = afr_ofs_gold_mines_2
				remove_idea = afr_ofs_gold_mines_1
			}
		}
	}
	###########################
	### CIVIL WAR RECORVERY ###
	###########################

	focus = {
		id = TRV_focus_civil_war
		icon = GFX_Focus_divide_africa
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_country_flag = TRV_civil_War
			has_civil_war = no
		}
		x = 5
		y = 6
		completion_reward = {
			swap_ideas = {
				add_idea = afr_ofs_gold_mines_2
				remove_idea = afr_ofs_gold_mines_1
			}
		}
	}
	focus = {
		id = TRV_focus_eco_afternath
		icon = GFX_Focus_economic_crisis
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_civil_war
		}
		available = {
			has_idea = TRV_idea_economic_aftermath
		}
		x = 4
		y = 7
		completion_reward = {
			remove_ideas = TRV_idea_economic_aftermath
		}
	}
	focus = {
		id = TRV_focus_pol_afternath
		icon = GFX_focus_politics_government_chaos
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_civil_war
		}
		available = {
			has_idea = TRV_idea_political_aftermath
		}
		x = 6
		y = 7
		completion_reward = {
			remove_ideas = TRV_idea_political_aftermath
		}
	}
	focus = {
		id = TRV_focus_recover_civil_war
		icon = GFX_Focus_Welfare
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_pol_afternath
			focus = TRV_focus_eco_afternath
		}
		x = 5
		y = 8
		completion_reward = {
			add_political_power = 200
			add_stability = 0.5
			hidden_effect = {
				clr_country_flag = TRV_civil_War
			}
		}
	}

	#########################
	### SHEPSTONE ARRIVAL ###
	#########################

	focus = {
		id = TRV_focus_shepstone_arrival
		icon = GFX_goal_theo_shepstone
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_country_flag = TRV_shepstone_takeover
		}
		x = 47
		y = 4

		completion_reward = {

		}
	}
	focus = {
		id = TRV_focus_shepstone_accepted
		icon = GFX_Focus_Monarchy_Usurp_Throne
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_shepstone_arrival
		}
		x = -1
		y = 1
		relative_position_id = TRV_focus_shepstone_arrival

		mutually_exclusive = {
			focus = TRV_focus_shepstone_rejected
		}

		completion_reward = {
			add_ideas = TRV_idea_uk_assistance
		}
	}
	focus = {
		id = TRV_focus_begin_reforming
		icon = GFX_Focus_Government_Centralisation
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_shepstone_accepted
		}
		x = -1
		y = 2
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			remove_ideas = TRV_idea_useless_volksraad
		}
	}
	focus = {
		id = TRV_focus_shepstone_rejected
		icon = GFX_Focus_Monarchy_Violent_Revolution
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_shepstone_arrival
		}
		x = 1
		y = 1
		relative_position_id = TRV_focus_shepstone_arrival

		mutually_exclusive = {
			focus = TRV_focus_shepstone_accepted
		}

		completion_reward = {
			add_stability = -0.05
			add_war_support = 0.1
			add_ideas = TRV_idea_uk_occupation
		}
	}
	focus = {
		id = TRV_focus_push_volksraad
		icon = GFX_Focus_Government_Struggle
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_shepstone_rejected
		}
		x = 1
		y = 2
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			remove_ideas = TRV_idea_useless_volksraad
			add_political_power = 50
		}
	}
	focus = {
		id = TRV_focus_encourage_passive_resistance
		icon = GFX_Focus_Judicial_Reform
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_push_volksraad
		}
		x = 0
		y = 3
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			add_war_support = 0.1
			add_stability = -0.05
			add_political_power = 100
		}
	}
	focus = {
		id = TRV_focus_negotiate_uk
		icon = GFX_Focus_Diplomacy_UK
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_push_volksraad
		}
		x = 2
		y = 3
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			country_event = boer_states.61
		}
	}
	focus = {
		id = TRV_focus_uk_misstreatment
		icon = GFX_Focus_Ideology_Soviet_crushed
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_encourage_passive_resistance
		}
		prerequisite = {
			focus = TRV_focus_negotiate_uk
		}
		available = {
			SAF = {
				NOT = {
					has_completed_focus = SAF_focus_self_government_boer
				}
			}
		}
		x = 1
		y = 4
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			add_war_support = 0.1
			add_political_power = 100
		}
	}
	focus = {
		id = TRV_focus_end_passive_resistance
		icon = GFX_Focus_Soldier_Victorian_USA
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = TRV_focus_uk_misstreatment
		}
		x = 1
		y = 5
		relative_position_id = TRV_focus_shepstone_arrival

		completion_reward = {
			ENG = {
				end_puppet = TRV
				#country_event = britishafrica.
			}
			remove_ideas = AFR_british_colony
			remove_ideas = TRV_idea_uk_occupation
			declare_war_on = {
				target = SAF
				type = take_claimed_state
			}
			drop_cosmetic_tag = yes
			ENG = {
				activate_mission = ENG_mission_first_boer_war
			}
		}
	}
}