focus_tree = {
	id = kor_vic_ft

	country = {
		factor = 0

		modifier = {
			add = 10
			tag = KOR
		}
	}

	default = no

#Start of branch

		focus = {
		id = KOR_sedoregime
		icon = GFX_focus_generic_home_defense
		x = 23
		y = 0
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}


		completion_reward = {
			add_political_power = -15
			KOR = { country_event = { id = KOR_joseon_dynasty.1 } }
		}
	}

			focus = {
		id = KOR_sociocrisis
		icon = GFX_Focus_Elite
		x = 23
		y = 1
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_sedoregime }

		completion_reward = {
			add_political_power = -150
			add_ideas = KOR_sociocrisisidea
		}
	}



#End of branch

#Start of branch

focus = {
		id = KOR_submitclans
		icon = GFX_goal_support_democracy
		x = 20
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_sociocrisis }




		completion_reward = {
			add_political_power = -50
			add_stability = 0.05
			add_war_support = -0.05
		}
	}

focus = {
		id = KOR_complykims
		icon = GFX_goal_generic_improve_relations
		x = 20
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_submitclans }

		completion_reward = {
			add_political_power = -25
			add_stability = 0.02
		}
	}

focus = {
		id = KOR_curbcho
		icon = GFX_goal_generic_forceful_treaty
		x = 20
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_complykims }

		completion_reward = {
			add_stability = 0.03
		}
	}


focus = {
		id = KOR_quellrivals
		icon = GFX_focus_generic_provoke_border_clashes
		x = 19
		y = 5
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_curbcho }

		completion_reward = {
			add_political_power = -50
			add_stability = 0.02
		}
	}

	focus = {
		id = KOR_onedoctrine
		icon = GFX_Focus_Partisans_Popularize
		x = 21
		y = 5
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_curbcho }

		completion_reward = {
			add_political_power = 15
			add_stability = 0.02
		}
	}

	focus = {
		id = KOR_oneclan
		icon = GFX_focus_generic_strike_at_democracy1
		x = 20
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_onedoctrine }
		prerequisite = { focus = KOR_quellrivals }

		completion_reward = {
			add_political_power = -100
			add_stability = 0.08
		}
	}

	focus = {
		id = KOR_debasecurrency
		icon = GFX_Focus_banks2
		x = 18
		y = 7
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_oneclan }

		completion_reward = {
		add_ideas = KOR_debasecurrencyidea

		}
	}

		focus = {
		id = KOR_foldtemples
		icon = GFX_focus_ger_strike_at_the_source
		x = 20
		y = 7
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_oneclan }

		completion_reward = {
		add_political_power = 25
		add_stability = -0.05

		}
	}


		focus = {
		id = KOR_sangmintax
		icon = GFX_Focus_Economy_Increase_Wages
		x = 22
		y = 7
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_oneclan }

		completion_reward = {
		add_political_power = -50
		add_ideas = taxation_level_4

		}
	}

	focus = {
		id = KOR_stablizecrisis
		icon = GFX_focus_generic_self_management
		x = 20
		y = 8
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_debasecurrency }
		prerequisite = { focus = KOR_foldtemples }
		prerequisite = { focus = KOR_sangmintax }

		completion_reward = {
			add_political_power = -100
			remove_ideas = KOR_sociocrisisidea
			add_ideas = KOR_stabilizecrisisidea
		}
	}

	focus = {
		id = KOR_deforestation
		icon = GFX_Focus_Resource_Deforestation
		x = 28
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_sociocrisis }

		completion_reward = {
		1017 = { add_extra_state_shared_building_slots = 1 }
		1017 = { add_building_construction = {
   		type = logging_camp
   		level = 1
    	instant_build = yes } }
			}
		}

	focus = {
		id = KOR_yangbanplant
		icon = GFX_goal_focus_paddy1
		x = 26
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_deforestation }

		completion_reward = {
		1018 = { add_extra_state_shared_building_slots = 1 }
		1018 = { add_building_construction = {
   		type = farm
    	level = 1
    	instant_build = yes } }
		add_stability = 0.05
		}
	}

	focus = {
		id = KOR_ricepattyfarm
		icon = GFX_focus_generic_welcome_to_rice_fields
		x = 24
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanplant }

		completion_reward = {
		1024 = { add_extra_state_shared_building_slots = 1 }
		1024 = { add_building_construction = {
   		type = farm
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_newriceseed
		icon = GFX_focus_generic_welcome_to_rice_fields
		x = 24
		y = 5
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_ricepattyfarm }

		completion_reward = {
		add_ideas = KOR_newriceseedidea
		}
	}

	focus = {
		id = KOR_morepaddy
		icon = GFX_focus_generic_welcome_to_rice_fields
		x = 24
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_newriceseed }

		completion_reward = {
		1021 = { add_extra_state_shared_building_slots = 1 }
		1021 = { add_building_construction = {
   		type = farm
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_teaproduc
		icon = GFX_goal_focus_profits_tea_spices
		x = 26
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanplant }

		completion_reward = {
		1015 = { add_extra_state_shared_building_slots = 1 }
		1015 = { add_building_construction = {
   		type = industrial_complex
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_ginsengcult
		icon = GFX_focus_generic_military_academy
		x = 28
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanplant }

		completion_reward = {
		add_opinion_modifier = {
    	target = QNG
    	modifier = ginseng_cultivation
		}
		add_political_power = 5
		}
	}

	focus = {
		id = KOR_cottonfarm
		icon = GFX_Focus_Resource_Cotton
		x = 30
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanplant }

		completion_reward = {
		1019 = { add_extra_state_shared_building_slots = 1 }
		1019 = { add_building_construction = {
   		type = cotton_farm
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_peasantirrigation
		icon = GFX_goal_focus_paddy2
		x = 28
		y = 5
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_teaproduc }
		prerequisite = { focus = KOR_ginsengcult }
		prerequisite = { focus = KOR_cottonfarm }

		completion_reward = {
		1016 = { add_building_construction = {
   		type = infrastructure
   		level = 1
    	instant_build = yes } }
    	add_stability = -0.05
		}
	}

	focus = {
		id = KOR_teaplantations
		icon = GFX_focus_tea_plantation
		x = 26
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_peasantirrigation }

		completion_reward = {
		1021 = { add_extra_state_shared_building_slots = 1 }
		1021 = { add_building_construction = {
   		type = industrial_complex
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_moreginseng
		icon = GFX_goal_generic_construction2
		x = 28
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_peasantirrigation }

		completion_reward = {
		add_opinion_modifier = {
    	target = QNG
    	modifier = ginseng_cultivation2
		}
		add_political_power = 5
		}
	}

	focus = {
		id = KOR_morecottonfarm
		icon = GFX_focus_generic_industry_2
		x = 30
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_peasantirrigation }

		completion_reward = {
		1020 = { add_extra_state_shared_building_slots = 1 }
		1020 = { add_building_construction = {
   		type = cotton_farm
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_extractresources
		icon = GFX_focus_generic_tungsten
		x = 32
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_deforestation }

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = resource_extraction_tech
			}
		}

	}


	focus = {
		id = KOR_northenmining
		icon = GFX_Focus_coal_mines
		x = 32
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_extractresources }

		completion_reward = {
		1017 = { add_extra_state_shared_building_slots = 1 }
		1017 = { add_building_construction = {
   		type = coal_mine
   		level = 1
    	instant_build = yes } }
		}
	}










#End of branch

#Start of branch

	focus = {
		id = KOR_teachingschoe
		icon = GFX_focus_kor_teachings_of_choed
		x = 4
		y = 0
		cost = 35
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}


        available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}



		completion_reward = {
			set_country_flag = KOR_lock_focus_tree_donghak
		}
	}

	focus = {
		id = KOR_denouncedong
		icon = GFX_Focus_Partisans_Popularize
		x = 2
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = { focus = KOR_aidchoe }

		prerequisite = { focus = KOR_teachingschoe }


		completion_reward = {
		add_to_variable = {
			var = andong_kim_power
			value = 5
		}
		custom_effect_tooltip = KOR_appease_the_andong_tt
		add_ideas = {
			KOR_donghak_societies
		}
		add_political_power = 30
		add_stability = 0.05
		#trigger peasant revolt on 1862.10.2
		#trigger donghak peasant revolt on 1894.11.1

		}
	}

	focus = {
		id = KOR_persecutedong
		icon = GFX_goal_continuous_suppression
		x = 2
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_denouncedong }


		completion_reward = {
		add_manpower = -500
		increase_ps_by_one = yes


		}
	}

	focus = {
		id = KOR_uniteconfucian
		icon = GFX_focus_kor_orthodox_confucianism
		x = 2
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_persecutedong }


		completion_reward = {

		add_stability = 0.05
		add_ideas =  KOR_uniteconfucianidea

		}
	}
	focus = {
		id = KOR_combatsocieties
		icon = GFX_goal_tripartite_pact
		x = 2
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_uniteconfucian }


		completion_reward = {
		add_manpower = -500
		remove_ideas = {
			KOR_donghak_societies
		}
		add_to_variable = {
			var = andong_kim_power
			value = 5
		}
		custom_effect_tooltip = KOR_appease_the_andong_tt
		if = {
			limit = {
				has_idea = KOR_kim_clan_influence_idea
			}
			swap_ideas = {
				remove_idea = KOR_kim_clan_influence_idea
				add_idea = KOR_kim_clan_influence_0011_idea
			}
		}
		if = {
			limit = {
				has_idea = KOR_kim_clan_influence_0011_idea
			}
			swap_ideas = {
				remove_idea = KOR_kim_clan_influence_0011_idea
				add_idea = KOR_kim_clan_influence_0021_idea
			}
			##country_event
		}
		if = {
			limit = {
				has_idea = KOR_kim_clan_influence_2_idea
			}
			swap_ideas = {
				remove_idea = KOR_kim_clan_influence_2_idea
				add_idea = KOR_kim_clan_influence_idea
			}
		}
		if = {
			limit = {
				has_completed_focus = KOR_westerninnovation
			}
			country_event = {
				id = KOR_joseon_dynasty.11
			}
		}
	}
}

	focus = {
		id = KOR_aidchoe
		icon = GFX_Focus_Government_Reform_Administration
		x = 6
		y = 1
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		#make choe je-u available as advisor

		mutually_exclusive = { focus = KOR_denouncedong }

		prerequisite = { focus = KOR_teachingschoe }

		completion_reward = {
		custom_effect_tooltip = KOR_anger_the_andong_tt
		add_to_variable = {
			var = andong_kim_power
			value = -5
		}
		decrease_ps_by_one = yes


		}
	}

	focus = {
		id = KOR_recognizechoe
		icon = GFX_focus_kor_teachings_of_choed
		x = 6
		y = 2
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_aidchoe }

		completion_reward = {
			###event about Choe's beliefs which will lead into social reforms
			country_event = {
				id = KOR_joseon_dynasty.5
			}
		}
	}

	focus = {
		id = KOR_religiousdong
		icon = GFX_focus_chi_legislative_yuan
		x = 5
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_recognizechoe }

		completion_reward = {
		add_stability = .05

		}
	}


	focus = {
		id = KOR_newfollowers
		icon = GFX_Focus_Catholism_Cross_Burning
		x = 7
		y = 3
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_recognizechoe }

		completion_reward = {
		swap_ideas = {
			remove_idea = KOR_Catholic_Influence
			add_idea = KOR_Catholic1_Influence
		}

		}
	}


   	focus = {
		id = KOR_spreaddong
		icon = GFX_focus_kor_one_nature
		x = 6
		y = 4
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_religiousdong }
		prerequisite = { focus = KOR_newfollowers }

		completion_reward = {
		country_event = {
			id = KOR_joseon_dynasty.7
		}
		#gain donghak popular movement
		}
	}

	focus = {
		id = KOR_pushreform
		icon = GFX_focus_kor_studying_of_science
		x = 6
		y = 5
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_spreaddong }

		completion_reward = {
		country_event = {
			id = KOR_joseon_dynasty.8
		}
		#gets event peasant demands
		}
	}

 	focus = {
		id = KOR_landreform
		icon = GFX_Focus_Religious_Prayers
		x = 6
		y = 6
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_pushreform }

		completion_reward = {
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_idea
					add_idea = KOR_kim_clan_influence_2_idea
				}
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_2_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_2_idea
					add_idea = KOR_kim_clan_influence_3_idea
				}
				###country_event
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_0011_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_0011_idea
					add_idea = KOR_kim_clan_influence_idea
				}
			}
			if = {
				limit = {
					has_completed_focus = KOR_pragmaticreforms
				}
				country_event = {
					id = KOR_joseon_dynasty.11
				}
			}
		add_ideas = {
			KOR_thewayofheaven
		}
		custom_effect_tooltip = KOR_anger_the_andong_tt
		add_to_variable = {
			var = andong_kim_power
			value = -5
		}

		}
	}


	#End of branch
	#Start of branch

	focus = {
		id = KOR_traditionszhu
		icon = GFX_focus_kor_confucianism
		x = 12
		y = 0
		cost = 70
		available_if_capitulated = no

		available = {
        	OR = {
				has_completed_focus = KOR_landreform
				has_completed_focus = KOR_combatsocieties
			}
       }

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
		add_political_power = 50

		}
	}

	focus = {
		id = KOR_supportsilhak
		icon = GFX_focus_kor_silhak
		x = 10
		y = 1
		cost = 35
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = { focus = KOR_koreanconfucianism }

		prerequisite = { focus = KOR_traditionszhu }

		completion_reward = {
			custom_effect_tooltip = KOR_anger_the_andong_tt
		add_to_variable = {
			var = andong_kim_power
			value = -5
			}
		}
	}

	focus = {
		id = KOR_promotesilhak
		icon = GFX_goal_generic_propaganda
		x = 10
		y = 2
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_supportsilhak }

		completion_reward = {
		add_political_power = 75
		add_stability = 0.05
		}
	}

	focus = {
		id = KOR_asianenlightenment
		icon = GFX_Focus_Religious_Prayers
		x = 10
		y = 3
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_promotesilhak }

		completion_reward = {
		add_political_power = 100
		#country_evet

		}
	}


	focus = {
		id = KOR_harmonizelearning
		icon = GFX_Focus_Law_Vote_1
		x = 8
		y = 4
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		#only available if widespread corruption is removed


		prerequisite = { focus = KOR_asianenlightenment }

		completion_reward = {
		add_political_power = -30
		add_stability = 0.05
		}
	}

	focus = {
		id = KOR_practicallearning
		icon = GFX_goal_generic_forceful_treaty
		x = 9
		y = 5
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_harmonizelearning }
		prerequisite = { focus = KOR_embracewest }
		prerequisite = { focus = KOR_invitejesuit }


		completion_reward = {

				custom_effect_tooltip = KOR_anger_the_andong_tt
			add_to_variable = {
				var = andong_kim_power
				value = -5
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_idea
					add_idea = KOR_kim_clan_influence_2_idea
				}
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_2_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_2_idea
					add_idea = KOR_kim_clan_influence_3_idea
				}
				###country_event
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_0011_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_0011_idea
					add_idea = KOR_kim_clan_influence_idea
				}
			}
			if = {
				limit = {
					OR = {
						has_completed_focus = KOR_landreform
						has_completed_focus = KOR_combatsocieties
					}
				}
				country_event = {
					id = KOR_joseon_dynasty.11
				}
			}

	}
}

	focus = {
		id = KOR_pragmaticreforms
		icon = GFX_Focus_Government_Reform
		x = 9
		y = 6
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_practicallearning }

		completion_reward = {
		add_political_power = -150
		add_ideas = KOR_landreformidea
		if = {
			limit = {
				has_completed_focus = KOR_landreform
			}
			country_event = {
				id = KOR_joseon_dynasty.11
				}
			}
		}
	}

	focus = {
		id = KOR_embracewest
		icon = GFX_Focus_leave_continent_alone
		x = 10
		y = 4
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}



		prerequisite = { focus = KOR_asianenlightenment }

		completion_reward = {
			add_political_power = 100
			#add_tech_bonus = {
			#	bonus = 0.5
			# uses = 2
			# category = science_tech
			#}
			add_tech_bonus = {
				bonus = 0.5
			 uses = 1
			 category = industry
			}
			add_stability = -.05
		}
	}

	focus = {
		id = KOR_invitejesuit
		icon = GFX_Focus_State_of_the_People
		x = 12
		y = 4
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		#lock off if "Byeong-in Persecution" and "Expel Paris Mission Society" focuses are done

		#add simon francois berneux and pierre henri dorie advisors

		prerequisite = { focus = KOR_asianenlightenment focus = KOR_metaphysicalstudies }

		completion_reward = {
		country_event = {
			id = KOR_joseon_dynasty.9
		}
		}
	}

	focus = {
		id = KOR_toleratecatholics
		icon = GFX_focus_kor_orthodox_confucianism
		x = 13
		y = 5
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		#lock off if "Byeong-in Persecution" and "Expel Paris Mission Society" focuses are done

		#change state religion to secular


		prerequisite = { focus = KOR_invitejesuit }
		prerequisite = { focus = KOR_antiwesternview }

		completion_reward = {
			add_political_power = 25
			country_event = {
				id = KOR_joseon_dynasty.10
			}
		}
	}

	focus = {
		id = KOR_westerninnovation
		icon = GFX_focus_generic_home_defense
		x = 13
		y = 6
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_toleratecatholics }

		completion_reward = {
			add_to_variable = {
				var = andong_kim_power
				value = 5
			}
			custom_effect_tooltip = KOR_appease_the_andong_tt
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_idea
					add_idea = KOR_kim_clan_influence_0011_idea
				}
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_0011_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_0011_idea
					add_idea = KOR_kim_clan_influence_0021_idea
				}
				##country_event
			}
			if = {
				limit = {
					has_idea = KOR_kim_clan_influence_2_idea
				}
				swap_ideas = {
					remove_idea = KOR_kim_clan_influence_2_idea
					add_idea = KOR_kim_clan_influence_idea
				}
			}
			if = {
				limit = {
					has_completed_focus = KOR_combatsocieties
				}
				country_event = {
					id = KOR_joseon_dynasty.11
				}
			}
		}
	}


	focus = {
		id = KOR_koreanconfucianism
		icon = GFX_focus_metaphysicalis
		x = 14
		y = 1
		cost = 35
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = { focus = KOR_supportsilhak }

		prerequisite = { focus = KOR_traditionszhu }

		completion_reward = {
			add_to_variable = {
				var = andong_kim_power
				value = 5
			}
			custom_effect_tooltip = KOR_appease_the_andong_tt
		#gains neo confucianism
		}
	}

	focus = {
		id = KOR_confucianseowon
		icon = GFX_focus_man_claim_the_mandate_of_heaven
		x = 14
		y = 2
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_koreanconfucianism }

		completion_reward = {
		add_political_power = 20
		#add_tech_bonus = {
   		# bonus = 0.5
    	# uses = 1
    	# category = philosophy_religion_tech
		#}
		}
	}

	focus = {
		id = KOR_metaphysicalstudies
		icon = GFX_focus_metaphysicalis_2
		x = 14
		y = 3
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_confucianseowon }

		completion_reward = {
		add_political_power = 20
		add_stability = 0.02
		#add_tech_bonus = {
   		# bonus = 0.5
    	# uses = 1
    	# category = philosophy_religion_tech
		#}
		}
	}
	focus = {
		id = KOR_antiwesternview
		icon = GFX_Focus_anti_western
		x = 14
		y = 4
		cost = 50
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_metaphysicalstudies }

		completion_reward = {
		add_political_power = 20
		add_stability = 0.02
		add_war_support = 0.05
		##country_event
		}
	}



	#End of branch
	#Start of branch

	focus = {
		id = KOR_seearmy
		icon = GFX_focus_RAJ_lions_of_the_great_war
		x = 4
		y = 9
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		completion_reward = {
		add_war_support = 0.15
		add_manpower = 25000
		}
	}

	focus = {
		id = KOR_armyreform
		icon = GFX_focus_generic_combined_arms
		x = 4
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

				#only available after install dawongun



		prerequisite = { focus = KOR_seearmy }

		completion_reward = {
		army_experience = 15
		}
	}

	focus = {
		id = KOR_yangbanstaff
		icon = GFX_focus_generic_military_academy
		x = 4
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_armyreform }

		completion_reward = {
			add_doctrine_cost_reduction = {
   		 	cost_reduction = 0.5
    	 	uses = 1
    	 	category = land_doctrine
			}
		}
	}

	focus = {
		id = KOR_recruitofficers
		icon = GFX_focus_generic_military_mission
		x = 4
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanstaff }

		completion_reward = {
		army_experience = 25
		}
	}

	focus = {
		id = KOR_recruitment
		icon = GFX_focus_generic_little_entente
		x = 4
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		prerequisite = { focus = KOR_yangbanstaff }

		completion_reward = {
		add_manpower = 75000
		}
	}

	#End of branch
	#Start of branch

	focus = {
		id = KOR_improvenavy
		icon = GFX_Focus_Production_Mass
		x = 8
		y = 9
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}



		completion_reward = {
		navy_experience = 25
		1024 = { add_extra_state_shared_building_slots = 1 }
		1024 = { add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_centralports
		icon = GFX_goal_generic_occupy_states_coastal
		x = 7
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}


				#only available after install dawongun



		prerequisite = { focus = KOR_improvenavy }


		completion_reward = {
		1019 = { add_extra_state_shared_building_slots = 2 }
		1019 = { add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_southports
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 7
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_centralports }


		completion_reward = {
		525 = { add_extra_state_shared_building_slots = 2 }
		525 = { add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_largevessel
		icon = GFX_Goal_ironclad_focus
		x = 7
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = {
        focus = KOR_smalldeadly
        }


		prerequisite = { focus = KOR_southports }


		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology = tech_naval_mtg_hardwood_capital_ship_hulls
			}
		}
	}

	focus = {
		id = KOR_newnavy
		icon = GFX_goal_generic_navy_battleship
		x = 9
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

				#only available after install dawongun


		prerequisite = { focus = KOR_improvenavy }


		completion_reward = {
		navy_experience = 10
		}
	}

	focus = {
		id = KOR_navalinfrastructure
		icon = GFX_goal_generic_navy_cruiser
		x = 9
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_newnavy }


		completion_reward = {
		525 = { add_extra_state_shared_building_slots = 2 }
		525 = { add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes } add_building_construction = {
   		type = dockyard
   		level = 1
    	instant_build = yes }
    	add_building_construction = {
   		type = infrastructure
   		level = 1
    	instant_build = yes }
    	add_building_construction = {
   		type = infrastructure
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_smalldeadly
		icon = GFX_goal_generic_navy_anti_submarine
		x = 9
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		mutually_exclusive = {
        focus = KOR_largevessel
        }


		prerequisite = { focus = KOR_navalinfrastructure }


		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology = tech_naval_mtg_1857_corvette_hull
			}
		}
	}

 #End of branch
 #Start of branch

 	focus = {
		id = KOR_hermitkingdom
		icon = GFX_focus_kor_end_of_the_hermit_kingdom
		x = 18
		y = 9
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		available = {
		has_completed_focus = KOR_rootoutcorruption
		}


		completion_reward = {
		#gets event Joseon's Place on the World Stage
		}
	}

	focus = {
		id = KOR_remainiso
		icon = GFX_Focus_Continent_West_Europe
		x = 14
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}




		prerequisite = { focus = KOR_hermitkingdom }


		completion_reward = {
		add_stability = 0.1
		#west opinion -30
		}
	}
	focus = {
		id = KOR_oureasterndomain
		icon = GFX_Focus_Continent_Asia
		x = 22
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}




		prerequisite = { focus = KOR_hermitkingdom }


		completion_reward = {
		##country_event =
		#event detailing relationship with the Eastern Nations
		#non-agression with Qing
		}
	}
	focus = {
		id = KOR_japaneseletter
		icon = GFX_focus_generic_japanese_imperial_glory
		x = 24
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}





		prerequisite = { focus = KOR_oureasterndomain }


		completion_reward = {
		add_stability = 0.1
		#west opinion -30
		}
	}
	focus = {
		id = KOR_gangwhaincident
		icon = GFX_Focus_Japanese_Attack
		x = 24
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}



		prerequisite = { focus = KOR_japaneseletter }


		completion_reward = {
		add_stability = 0.1
		#west opinion -30
		}
	}
	focus = {
		id = KOR_hermitkingdomend
		icon = GFX_focus_generic_support_the_left_right
		x = 24
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}




		prerequisite = { focus = KOR_gangwhaincident }


		completion_reward = {
		add_stability = 0.1
		remove_ideas = {
			KOR_Hermit_Kingdom_idea
		}
		#west opinion -30
		}
	}


	focus = {
		id = KOR_defendvalues
		icon = GFX_Focus_anti_western
		x = 14
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_remainiso }

		completion_reward = {
		add_political_power = 50
		#ideology drift defense 25%
		}
	}



	focus = {
		id = KOR_frenchencroachment
		icon = GFX_Focus_colonial_empire_FRA
		x = 12
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}



		prerequisite = { focus = KOR_defendvalues }

		completion_reward = {
		add_political_power = 50
		add_opinion_modifier = {
    	target = FRA
    	modifier = french_encroachment
		}
		}
	}


	focus = {
		id = KOR_expelparis
		icon = GFX_Focus_Catholism_Cross_Burning
		x = 13
		y = 13
		cost = 73
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_frenchencroachment }

		completion_reward = {
		add_political_power = 30
		add_opinion_modifier = {
    	target = FRA
    	modifier = byeong_persecution2
		}
		#event jesuit martyrs
		}
	}
	focus = {
		id = KOR_beginroundup
		icon = GFX_Focus_Tactics_Death_or_Dishonor
		x = 13
		y = 14
		cost = 73
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_expelparis }

		completion_reward = {
		add_manpower = -10000
		#event jesuit martyrs
		}
	}
	focus = {
		id = KOR_frenchresponse
		icon = GFX_Focus_Diplomacy_FRA
		x = 13
		y = 15
		cost = 73
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_beginroundup }

		completion_reward = {
		add_political_power = 30
		custom_effect_tooltip = KOR_nowwewait
		#event jesuit martyrs
		}
	}


	focus = {
		id = KOR_fortifyganghwa
		icon = GFX_focus_generic_coastal_fort
		x = 11
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_frenchencroachment }

		completion_reward = {
			add_ideas = {
				KOR_cultural_nationalism_idea
			}

		}
	}

	focus = {
		id = KOR_producemyeonje
		icon = GFX_Focus_Catholic_Religion
		x = 11
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			has_completed_focus = KOR_lessonsfromqing
		}

		prerequisite = { focus = KOR_koreadefiant }

		completion_reward = {
			country_event = {
				id = KOR_joseon_dynasty.26
			}
		}
	}
	focus = {
		id = KOR_lessonsfromqing
		icon = GFX_focus_qing_forces
		x = 9
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_koreadefiant }

		completion_reward = {
			if = {
				limit = {
					has_idea = KOR_Catholic_Influence
				}
				swap_ideas = {
					add_idea = KOR_Catholic1_Influence
					remove_idea = KOR_Catholic_Influence
				}
			}
			if = {
				limit = {
					has_idea = KOR_Catholic1_Influence
				}
				swap_ideas = {
					add_idea = KOR_Catholic1_Influence_Removed
					remove_idea = KOR_Catholic1_Influence
				}
			}
			if = {
				limit = {
					has_idea = KOR_Catholic1_Influence_Removed
				}
				swap_ideas = {
					add_idea = KOR_Catholic2_Influence_Removed
					remove_idea = KOR_Catholic1_Influence_Removed
				}
			}
		}
	}


	focus = {
		id = KOR_koreadefiant
		icon = GFX_goal_generic_political_pressure
		x = 11
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_fortifyganghwa }


		completion_reward = {
		add_political_power = 50
		add_stability = 0.15
		add_war_support = 0.15
		}
	}

	focus = {
		id = KOR_unlikelyalliance
		icon = GFX_Focus_colonial_power_USA
		x = 16
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}


		prerequisite = { focus = KOR_defendvalues }

		completion_reward = {
		add_political_power = -150
		add_stability = -0.15
		add_opinion_modifier = {
    	target = FRA
    	modifier = unlikelyalliance
		}
		#event deal with joseon
		}
	}

	focus = {
		id = KOR_portprotection
		icon = GFX_Focus_Army_Staff
		x = 16
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = KOR_unlikelyalliance }

		completion_reward = {
		add_political_power = -10
		add_stability = -0.1

		}
	}
	focus = {
		id = KOR_hanriverpolicy
		icon = GFX_Focus_Partisans_Elimination
		x = 18
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_portprotection }

		completion_reward = {
		custom_effect_tooltip = KOR_Han_River_Policy
		add_stability = 0.02
		}
	}
	focus = {
		id = KOR_nonegotiationpolicy
		icon = GFX_Focus_Tactics_Blood_And_Iron
		x = 18
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 10
		}
		available = {
			has_war_with = USA
		}

		prerequisite = { focus = KOR_hanriverpolicy }

		completion_reward = {
			custom_effect_tooltip = KOR_No_Negotiation_Policy
			add_war_support = 0.02
		}
	}

	focus = {
		id = KOR_armytech
		icon = GFX_focus_Generic_Political_Pressure_Purple
		x = 16
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_portprotection }

		completion_reward = {
		add_tech_bonus = {
   		 bonus = 0.5
    	 uses = 2
    	 category = naval_equipment
		}
		}
	}
	focus = {
		id = KOR_readyshorebatteries
		icon = GFX_Focus_coastal_batteries
		x = 16
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_armytech }

		completion_reward = {
			add_manpower = 7500
		add_war_support = 0.15
		1018 = { add_building_construction = {
   		type = coastal_bunker
   		level = 5
    	instant_build = yes } }
		}
	}





























	#open korea doors













	focus = {
		id = KOR_chineserelations
		icon = GFX_focus_qing_forces
		x = 20
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_oureasterndomain }

		completion_reward = {
		add_political_power = 10
		add_opinion_modifier = {
    	target = QNG
    	modifier = chineserelations
		}
		}
	}

	focus = {
		id = KOR_closerqing
		icon = GFX_focus_generic_treaty
		x = 20
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_chineserelations }


		completion_reward = {
		add_political_power = -30
		add_stability = 0.05
		add_opinion_modifier = {
    	target = QNG
    	modifier = closerqing
		}
		}
	}

	focus = {
		id = KOR_manchurianroutes
		icon = GFX_goal_generic_construction2
		x = 20
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_closerqing }

		completion_reward = {
		add_political_power = 35
		add_tech_bonus = {
   		 bonus = 0.5
    	 uses = 1
    	 category = industry
		}
		}
	}

	focus = {
		id = KOR_chineseideas
		icon = GFX_focus_land_of_the_dragon
		x = 20
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_manchurianroutes }

		completion_reward = {
		add_political_power = 50
		#add_tech_bonus = {
   		# bonus = 0.5
    	# uses = 1
    	# category = philosophy_religion_tech
		#}
		}
	}

	focus = {
		id = KOR_chinesetextiles
		icon = GFX_focus_generic_industry_3
		x = 20
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_chineseideas }

		completion_reward = {
		1024 = { add_extra_state_shared_building_slots = 2 }
    	1024 = { add_building_construction = {
   		type = industrial_complex
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_domestictextiles
		icon = GFX_goal_generic_construct_civ_factory
		x = 20
		y = 16
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_chinesetextiles }

		completion_reward = {
		1018 = { add_extra_state_shared_building_slots = 2 }
    	1018 = { add_building_construction = {
   		type = industrial_complex
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_chinaweapons
		icon = GFX_goal_generic_military_sphere
		x = 22
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_chineseideas }

		completion_reward = {
		add_tech_bonus = {
   		 bonus = 0.5
    	 uses = 1
    	 category = infantry_weapons
		}
		1015 = { add_extra_state_shared_building_slots = 2 }
		1015 = { add_building_construction = {
   		type = arms_factory
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_domesticweapons
		icon = GFX_goal_generic_small_arms
		x = 22
		y = 16
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_chinaweapons }

		completion_reward = {
		1024 = { add_extra_state_shared_building_slots = 2 }
		1024 = { add_building_construction = {
   		type = arms_factory
   		level = 2
    	instant_build = yes } }
		}
	}



	#End of branch













	#Start of branch

	focus = {
		id = KOR_installdaewongun
		icon = GFX_focus_generic_home_defense
		x = 30
		y = 8
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		available = {
		has_country_leader = {
    	name = "Sinjeong"
    	ruling_only = yes
		}
	}

		completion_reward = {
		add_political_power = 100
		retire_country_leader = yes
		create_country_leader = {
    	name = "Heungseon Daewongun"
    	desc = "POLITICS_TEMP_DESC"
    	picture = "Portrait_KOR_Heungseon.dds"
    	expire = 1900.1.1
    	ideology = absolutism
		}
		#swap_ideas = {
		#	remove_idea = hos_is_leader
		#	add_idea = KOR_Queen_Sinjeong
		#}
		#swap_ideas = {
		#	remove_idea = no_heir
		#	add_idea = weak_heir
		#}
		remove_ideas = {
			KOR_illegitimate_succesion_Likely_idea
		}
	}
}

	focus = {
		id = KOR_disciplineclans
		icon = GFX_focus_generic_support_the_left_right
		x = 30
		y = 9
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_installdaewongun }

		completion_reward = {
		add_stability = 0.03
		}
	}

	focus = {
		id = KOR_strengthenuijeongbu
		icon = GFX_focus_rom_royal_dictatorship
		x = 29
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_disciplineclans }


		completion_reward = {
		add_political_power = 25
		}
	}

	focus = {
		id = KOR_removeclan
		icon = GFX_goal_generic_territory_or_war
		x = 31
		y = 10
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_disciplineclans }


		completion_reward = {
		add_stability = 0.03
		remove_ideas = {
			KOR_kim_clan_influence_idea
		}
		}
	}

	focus = {
		id = KOR_rootoutcorruption
		icon = GFX_goal_anti_comintern_pact
		x = 30
		y = 11
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}



		prerequisite = { focus = KOR_removeclan }
 		prerequisite = { focus = KOR_strengthenuijeongbu }


		completion_reward = {
		add_political_power = 50
		add_stability = 0.1
		hidden_effect = {
			complete_national_focus = KOR_hermitkingdom

		#remove inlaw government
			}
		}
	}

	focus = {
		id = KOR_civilservicereform
		icon = GFX_goal_generic_forceful_treaty
		x = 27
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_rootoutcorruption }


		completion_reward = {
		add_stability = 0.15
		#remove widespread corruption
		}
	}

	focus = {
		id = KOR_removeseowontax
		icon = GFX_Focus_Economy_Increase_Wages
		x = 26
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_civilservicereform }


		completion_reward = {
		add_stability = -0.03
		add_political_power = 25
		}
	}

	focus = {
		id = KOR_taxesyangban
		icon = GFX_Focus_Partisans_Fund
		x = 28
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_civilservicereform }


		completion_reward = {
		add_stability = -0.05
		add_political_power = 30
		}
	}

	focus = {
		id = KOR_shutdownseowon
		icon = GFX_focus_renounce_the_treaty_of_trianon
		x = 27
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_removeseowontax }
		prerequisite = { focus = KOR_taxesyangban }


		completion_reward = {
		add_stability = -0.05
		add_political_power = 50
		}
	}

	focus = {
		id = KOR_securebloodline
		icon = GFX_focus_rom_royal_dictatorship
		x = 27
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_shutdownseowon }

		completion_reward = {
		add_stability = 0.05
		add_political_power = 25
		}
	}

	focus = {
		id = KOR_ensureroyal
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		x = 27
		y = 16
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_securebloodline }

		completion_reward = {
		remove_ideas = KOR_Sadeo_Politics_idea
		add_political_power = -100
		#grant restrengthen royal government
		}
	}

	focus = {
		id = KOR_renovatehanseong
		icon = GFX_goal_generic_construct_infrastructure
		x = 33
		y = 12
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_rootoutcorruption }


		completion_reward = {
		add_stability = 0.05
		1019 = {
    	add_building_construction = {
   		type = infrastructure
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_floodcontrol
		icon = GFX_goal_generic_position_armies
		x = 32
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_renovatehanseong }


		completion_reward = {
		add_stability = 0.02
		}
	}

	focus = {
		id = KOR_southrice
		icon = GFX_goal_focus_rice1
		x = 31
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_floodcontrol }


		completion_reward = {
		1021 = { add_extra_state_shared_building_slots = 2 }
		1021 = { add_building_construction = {
   		type = farm
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_grainrelief
		icon = GFX_Focus_Agriculture_wheat
		x = 31
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_southrice }


		completion_reward = {
		add_manpower = 10000
		}
	}

	focus = {
		id = KOR_endstarvation
		icon = GFX_Focus_tomato_farming
		x = 31
		y = 16
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_grainrelief }


		completion_reward = {
		#remove mass starvation
		}
	}

	focus = {
		id = KOR_southcotton
		icon = GFX_Focus_Resource_Cotton
		x = 33
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_floodcontrol }


		completion_reward = {
		1021 = { add_building_construction = {
   		type = cotton_farm
   		level = 1
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_expandcotton
		icon = GFX_Focus_War_Opium
		x = 33
		y = 15
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_southcotton }


		completion_reward = {
		1024 = { add_building_construction = {
   		type = cotton_farm
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_infantilecotton
		icon = GFX_Focus_Resource_Cotton
		x = 33
		y = 16
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_expandcotton }


		completion_reward = {
		1021 = { add_building_construction = {
   		type = industrial_complex
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_hanriver
		icon = GFX_goal_generic_construction
		x = 35
		y = 13
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_renovatehanseong }


		completion_reward = {
		1019 = {
    	add_building_construction = {
   		type = infrastructure
   		level = 2
    	instant_build = yes } }
		}
	}

	focus = {
		id = KOR_reconstructpalace
		icon = GFX_goal_continuous_repairments
		x = 35
		y = 14
		cost = 70
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}

		prerequisite = { focus = KOR_hanriver }


		completion_reward = {
		add_political_power = -150
		add_stability = 0.1
		}
	}
}