#############################################
### TUSI LU HAN AND [REDACTED]'S WILDRIDE ###
#############################################
##Designed by John Ronald Hunter Dawson, Implemented by Sino##

# TOTALLY ORIGINAL INDEX (CTRL+F)
# - UNIFICATION TREE
# - POST-UNIFICATION TREE
# - PRISON RIOTS TREE
# - BIG ADVENTURE TREE
# - GO HOME TREE
# - REALLY BIG ADVENTURE TREE

##Intro, Unification Tree

#########################################################################
# UNIFICATION TREE - THE YUNGUI BROTHERHOOD SHALL BE REFORGED ONCE MORE #
#########################################################################

shared_focus = {
	id = YUN_in_the_west
	icon = GFX_focus_generic_the_western_plan

	allow_branch = {
		has_country_flag = YUN_start_tree
	}

	cost = 3.00


	x = 8
	y = 0

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_in_the_west"
		country_event = { id = yun.1 }
		add_political_power = 25
		add_dynamic_modifier = { modifier = YUN_xinan_development_dynamic_modifier }
	}
}

shared_focus = {
	id = YUN_everything_for_my_friends
	icon = GFX_focus_JAP_old_friends

	prerequisite = {
		focus = YUN_in_the_west
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_everything_for_my_friends"
		add_political_power = 50
		add_popularity = {
			ideology = despotism
			popularity = 0.05
		}
		set_temp_variable = { temp_econ_spending_amount = 0.05 }
		econ_spend_money_once_effect_raw_money = yes
		hidden_effect = {
			country_event = { id = yun.26 days = 3 }
		}
	}
}

shared_focus = {
	id = YUN_minerals_for_those_who_can_pay
	icon = GFX_focus_generic_increase_exploitation

	prerequisite = {
		focus = YUN_in_the_west
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_minerals_for_those_who_can_pay"
		country_event = { id = yun.2 }
	}
}

shared_focus = {
	id = YUN_the_law_for_my_enemies
	icon = GFX_focus_generic_condemn_corruption

	prerequisite = {
		focus = YUN_in_the_west
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_law_for_my_enemies"
		add_stability = 0.025
		TNO_improve_security_policy_effectiveness_low = yes
		add_popularity = {
			ideology = communist
			popularity = -0.03
		}
		add_popularity = {
			ideology = paternalism
			popularity = -0.03
		}
		add_popularity = {
			ideology = ultranationalism
			popularity = -0.05
		}
		hidden_effect = {
			country_event = { id = yun_zhengtong.0 days = 3 }
		}
	}
}

shared_focus = { #Xinan is very chaotic, many insurgencies
	id = YUN_xinan_insurgency
	icon = GFX_focus_YUN_xinan_insurgency

	prerequisite = {
		focus = YUN_everything_for_my_friends
	}
	prerequisite = {
		focus = YUN_minerals_for_those_who_can_pay
	}
	prerequisite = {
		focus = YUN_the_law_for_my_enemies
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 0
	y = 2

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_xinan_insurgency"
		country_event = { id = yun.13 }
		hidden_effect = {
			YUN_Xinan_Insurgency_initialize = yes
			YUN_Update_Insurgency_Modifier = yes
		}
		custom_effect_tooltip = YUN_xinan_insurgency_tt
	}
}

shared_focus = { #KMT remnants
	id = YUN_ghost_of_the_past
	icon = GFX_focus_YUN_ghost_of_the_past

	prerequisite = {
		focus = YUN_xinan_insurgency
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -6
	y = 3

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_ghost_of_the_past"
		country_event = { id = yun.14 }
		add_stability = -0.05
	}
}

shared_focus = { #KMT threatens the Burma road
	id = YUN_burma_road_in_danger
	icon = GFX_focus_generic_road_dangerous

	prerequisite = {
		focus = YUN_ghost_of_the_past
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -6
	y = 4

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_burma_road_in_danger"
		country_event = { id = yun.15 }
	}
}

shared_focus = { #Put garrisons to safeguard the road
	id = YUN_send_soldiers_to_border
	icon = GFX_focus_generic_watch_their_troops

	prerequisite = {
		focus = YUN_burma_road_in_danger
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -7
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_send_soldiers_to_border"
		add_manpower = 10000
		custom_effect_tooltip = YUN_send_soldiers_to_border_tt
		TNO_improve_security_policy_effectiveness_med = yes
		hidden_effect = {
			add_to_variable = { YUNNRA_Power = -5 }
			country_event = { id = yun.31 days = 3 }
		}
	}
}

shared_focus = { #Ask Burma for help
	id = YUN_contact_burma_for_coop
	icon = GFX_focus_generic_international_diplomacy

	prerequisite = {
		focus = YUN_burma_road_in_danger
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -5
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_contact_burma_for_coop"
		add_political_power = 20
		custom_effect_tooltip = YUN_contact_burma_for_coop_tt
	}
}

shared_focus = { #CPC Remnants
	id = YUN_the_red_menace
	icon = GFX_focus_YUN_the_red_menace

	prerequisite = {
		focus = YUN_xinan_insurgency
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -2
	y = 3

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_red_menace"
		country_event = { id = yun.16 }
	}
}

shared_focus = { #CCP doing the usual partisan stuff
	id = YUN_the_horror_of_partisans
	icon = GFX_focus_UPO_ready_the_partisans

	prerequisite = {
		focus = YUN_the_red_menace
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -2
	y = 4

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_horror_of_partisans"
		country_event = { id = yun.17 }
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -100
		}
	}
}

shared_focus = { #Counter CCP with better intel
	id = YUN_establish_rural_area_network
	icon = GFX_focus_generic_establish_secret_service

	prerequisite = {
		focus = YUN_the_horror_of_partisans
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_establish_rural_area_network"
		TNO_improve_admin_efficiency_low = yes
		TNO_improve_security_policy_effectiveness_med = yes
		custom_effect_tooltip = YUN_establish_rural_area_network_tt
		hidden_effect = {
			add_to_variable = { YUNCCP_Power = -5 }
		}
	}
}

shared_focus = { #Contact Bao Dai... who doesn't even matter
	id = YUN_contact_vietnam
	icon = GFX_focus_generic_shady_deal

	prerequisite = {
		focus = YUN_the_horror_of_partisans
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = -1
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_contact_vietnam"
		add_political_power = 20
		custom_effect_tooltip = YUN_contact_vietnam_tt
		hidden_effect = {
			add_to_variable = { YUNCCP_counter_bonus = -0.5 }
		}
	}
}

shared_focus = { #Bandits
	id = YUN_bandits_of_the_southwest
	icon = GFX_focus_YUN_bandits_of_the_southwest

	prerequisite = {
		focus = YUN_xinan_insurgency
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 3

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_bandits_of_the_south"
		country_event = { id = yun.18 }
		add_manpower = -1000
	}
}

shared_focus = { #Bandits bandits everywhere
	id = YUN_land_of_thefts
	icon = GFX_focus_generic_pillage

	prerequisite = {
		focus = YUN_bandits_of_the_southwest
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 4

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_land_of_thefts"
		country_event = { id = yun.19 }
		2379 = {
			add_building_construction = {
				type = prisons
				level = 1
				instant_build = yes
			}
		}
		TNO_worsen_income_taxation_policy_effectiveness_low = yes
	}
}

shared_focus = { #Hunt down the bandits
	id = YUN_one_more_bandit_hunt
	icon = GFX_focus_generic_strike_at_the_peasantry

	prerequisite = {
		focus = YUN_land_of_thefts
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 1
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_one_more_bandit_hunt"
		TNO_improve_security_policy_effectiveness_med = yes
		custom_effect_tooltip = YUN_one_more_bandit_hunt_tt
		hidden_effect = {
			add_to_variable = { YUNBandit_counter_bonus = -0.5 }
		}
		add_to_variable = { YUNBandit_Power = -10 }
		#country_event = { id = yun.14 }
	}
}

shared_focus = { #Knifes can't match guns
	id = YUN_show_no_mercy
	icon = GFX_focus_generic_terrorism

	prerequisite = {
		focus = YUN_land_of_thefts
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_show_no_mercy"
		TNO_improve_military_supervision_policy_effectiveness_low = yes
		custom_effect_tooltip = YUN_show_no_mercy_tt
		hidden_effect = {
			add_to_variable = { YUNNRA_counter_bonus = -0.25 }
			add_to_variable = { YUNCCP_counter_bonus = -0.25 }
			add_to_variable = { YUNBandit_counter_bonus = -0.25 }
			add_to_variable = { YUNNPA_counter_bonus = -0.25 }
			YUN_Update_Insurgency_tick = yes
		}
	}
}

shared_focus = { #NPA
	id = YUN_the_warmongers
	icon = GFX_focus_YUN_the_warmongers

	prerequisite = {
		focus = YUN_xinan_insurgency
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 6
	y = 3

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_warmongers"
		country_event = { id = yun.20 }
		add_war_support = -0.05
	}
}

shared_focus = { #NPA is really angry with Japan
	id = YUN_revanchism_in_xinan
	icon = GFX_focus_YUN_total_liberation

	prerequisite = {
		focus = YUN_the_warmongers
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 6
	y = 4

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_revanchism_in_xinan"
		country_event = { id = yun.21 }
		TNO_worsen_army_professionalism_low = yes
	}
}

shared_focus = { #We do some little purge
	id = YUN_purge_the_military
	icon = GFX_focus_generic_purge_the_officers

	prerequisite = {
		focus = YUN_revanchism_in_xinan
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 5
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_purge_the_military"
		custom_effect_tooltip = YUN_purge_the_military_tt
		add_war_support = -0.05
		add_manpower = -500
		TNO_improve_training_policy_effectiveness_med = yes
		hidden_effect = {
			add_to_variable = { YUNNPA_Power = -10 }
		}
	}
}

shared_focus = { #Teach obiedence
	id = YUN_end_reactionary_thoughts
	icon = GFX_focus_YUN_eliminate_treason

	prerequisite = {
		focus = YUN_revanchism_in_xinan
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 7
	y = 5

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_end_reactionary_thoughts"
		TNO_improve_military_supervision_policy_effectiveness_med = yes
		custom_effect_tooltip = YUN_end_reactionary_thoughts_tt
		hidden_effect = {
			add_to_variable = { YUNNPA_counter_bonus = -0.5 }
		}
	}
}

shared_focus = { #Yay crisis averted...or not?
	id = YUN_peace_in_our_time
	icon = GFX_focus_generic_peace_after_violence

	prerequisite = {
		focus = YUN_send_soldiers_to_border
	}
	prerequisite = {
		focus = YUN_contact_burma_for_coop
	}
	prerequisite = {
		focus = YUN_establish_rural_area_network
	}
	prerequisite = {
		focus = YUN_contact_vietnam
	}
	prerequisite = {
		focus = YUN_one_more_bandit_hunt
	}
	prerequisite = {
		focus = YUN_show_no_mercy
	}
	prerequisite = {
		focus = YUN_purge_the_military
	}
	prerequisite = {
		focus = YUN_end_reactionary_thoughts
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 0
	y = 6

	select_effect = {
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_peace_in_our_time"
		country_event = { id = yun.22 }
		add_political_power = 50
		add_stability = 0.05
	}
}

shared_focus = {
	id = YUN_the_two_brothers
	icon = GFX_focus_YUN_the_two_brothers

	prerequisite = {
		focus = YUN_peace_in_our_time
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 0
	y = 7

	select_effect = { country_event = { id = yun.23 } }

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_two_brothers"
		add_manpower = 50000
		swap_ideas = {
			remove_idea = YUN_army_of_the_southwest
			add_idea = YUN_army_of_the_southwest_two_brothers
		}
		hidden_effect = { load_oob = "YUN_two_state_army" }
		custom_effect_tooltip = YUN_the_two_brothers_tt
	}
}

shared_focus = {
	id = YUN_evict_he_yingqin
	icon = GFX_focus_YUN_evict_he_yingqin

	prerequisite = {
		focus = YUN_the_two_brothers
	}

	mutually_exclusive = {
		focus = YUN_we_are_not_enemies
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 8

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_evict_he_yingqin"
		set_global_flag = GUZ_annexation
		set_variable = { YUN_eviction_counter = 0 }
		custom_effect_tooltip = YUN_evict_he_yingqin_tt
		add_political_power = -50
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -100
		}
	}
}

shared_focus = {
	id = YUN_setting_the_trap
	icon = GFX_focus_BRG_death_from_a_mile_away

	prerequisite = {
		focus = YUN_evict_he_yingqin
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -4
	y = 9

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_setting_the_trap"
		country_event = { id = yun_heyingqin.3 }
		custom_effect_tooltip = YUN_setting_the_trap_tt
	}
}

shared_focus = {
	id = YUN_pick_up_his_friends
	icon = GFX_focus_generic_corruption

	prerequisite = {
		focus = YUN_evict_he_yingqin
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -2
	y = 9

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_pick_up_his_friends"
		country_event = { id = yun_heyingqin.1 }
	}
}

shared_focus = {
	id = YUN_a_mans_home
	icon = GFX_focus_generic_pillage_the_fortresses

	prerequisite = {
		focus = YUN_pick_up_his_friends
	}
	prerequisite = {
		focus = YUN_setting_the_trap
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 10

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_mans_home"
		hidden_effect = { country_event = { id = yun_heyingqin.4 } }
		custom_effect_tooltip = YUN_a_mans_home_tt
	}
}

shared_focus = {
	id = YUN_safe_and_sound
	icon = GFX_focus_generic_prison

	prerequisite = {
		focus = YUN_a_mans_home
	}

	mutually_exclusive = {
		focus = YUN_out_of_sight_out_of_mind
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -4
	y = 11

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_safe_and_sound"
		set_country_flag = YUN_arrested_He_Yingqin
		add_political_power = 50
		custom_effect_tooltip = YUN_safe_and_sound_tt
	}
}

shared_focus = {
	id = YUN_out_of_sight_out_of_mind
	icon = GFX_focus_CHI_exploitable_population

	prerequisite = {
		focus = YUN_a_mans_home
	}
	mutually_exclusive = {
		focus = YUN_safe_and_sound
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -2
	y = 11

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_out_of_sight_out_of_mind"
		CHI = {
			set_country_flag = CHI_he_yingqin_exiled
		}
		add_stability = 0.02
		custom_effect_tooltip = YUN_out_of_sight_out_of_mind_tt
	}
}

shared_focus = {
	id = YUN_a_formal_announcement
	icon = GFX_focus_generic_change_law_speech

	prerequisite = {
		focus = YUN_safe_and_sound
		focus = YUN_out_of_sight_out_of_mind
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 12

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_formal_announcement"
		add_stability = 0.05
		add_war_support = 0.05
		custom_effect_tooltip = YUN_a_formal_announcement_tt
	}
}

shared_focus = {
	id = YUN_one_and_indivisible
	icon = GFX_focus_generic_unite_the_people

	prerequisite = {
		focus = YUN_a_formal_announcement
	}

	cost = 4.00

	relative_position_id = YUN_in_the_west

	x = -3
	y = 13

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_one_and_indivisible"
		set_country_flag = YUN_southwest_united
		set_country_flag = YUN_centralized_unification
		custom_effect_tooltip = YUN_one_and_indivisible_tt
		GUZ = {
			country_event = { id = guz.100 }
		}
	}
}

shared_focus = {
	id = YUN_we_are_not_enemies
	icon = GFX_focus_YUN_we_are_not_enemies

	prerequisite = {
		focus = YUN_the_two_brothers
	}

	mutually_exclusive = {
		focus = YUN_evict_he_yingqin
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 8

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_we_are_not_enemies"
		custom_effect_tooltip = YUN_we_are_not_enemies_tt
		add_political_power = 50
		add_stability = 0.025
	}
}

shared_focus = {
	id = YUN_arranging_a_conference
	icon = GFX_focus_generic_establish_a_new_commission

	prerequisite = {
		focus = YUN_we_are_not_enemies
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 9

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_arranging_a_conference"
		country_event = { id = yun_heyingqin.5 }
		add_stability = 0.05
		add_war_support = 0.05
	}
}

shared_focus = {
	id = YUN_winning_friends
	icon = GFX_focus_generic_bribe_their_leaders

	prerequisite = {
		focus = YUN_we_are_not_enemies
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 4
	y = 9

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_winning_friends"
		country_event = { id = yun_heyingqin.6 }
		add_political_power = 50
	}
}

shared_focus = {
	id = YUN_opening_the_debate
	icon = GFX_focus_MAN_the_conference_begins

	prerequisite = {
		focus = YUN_arranging_a_conference
	}
	prerequisite = {
		focus = YUN_winning_friends
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 10

	select_effect = {
		country_event = { id = yun_heyingqin.7 }
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_opening_the_debate"
		set_global_flag = GUZ_annexation
		custom_effect_tooltip = YUN_opening_the_debate_tt
		set_variable = { YUN_diplo_unify_consumer_goods = 0 }
		set_variable = { YUN_diplo_unify_production = 0 }
		set_variable = { YUN_diplo_unify_resources = 0 }
		set_variable = { YUN_diplo_unify_political_power = 0 }
		set_variable = { YUN_diplo_unify_stability = 0 }
	}
}

shared_focus = {
	id = YUN_two_hands_of_one_body
	icon = GFX_focus_generic_diplomacy_political

	mutually_exclusive = {
		focus = YUN_united_economy
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_two_hands_of_one_body_trigger_tt
			has_country_flag = YUN_economics_decentralised
		}
	}

	prerequisite = {
		focus = YUN_opening_the_debate
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 11

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_two_hands_of_one_body"
		custom_effect_tooltip = YUN_two_hands_of_one_body_tt
		add_to_variable = { YUN_diplo_unify_political_power = -0.25 }
		add_to_variable = { YUN_diplo_unify_consumer_goods = -0.025 }
		add_to_variable = { YUN_econ_centralization_conference = -10 }
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_closed_to_yi_exploitation
	icon = GFX_focus_generic_change_law_slavery

	mutually_exclusive = {
		focus = YUN_uniform_legal_code
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_closed_to_yi_exploitation_trigger_tt
			has_country_flag = YUN_law_decentralised
		}
	}

	prerequisite = {
		focus = YUN_two_hands_of_one_body
		focus = YUN_united_economy
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 12

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_closed_to_yi_exploitation"
		custom_effect_tooltip = YUN_closed_to_yi_exploitation_tt
		add_to_variable = { YUN_diplo_unify_stability = -0.05 }
		add_to_variable = { YUN_diplo_unify_resources = 0.15 }
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_a_place_for_he
	icon = GFX_focus_generic_settle_new_lands

	mutually_exclusive = {
		focus = YUN_he_must_retire
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_a_place_for_he_trigger_tt
			has_country_flag = YUN_He_decentralised
		}
	}

	prerequisite = {
		focus = YUN_closed_to_yi_exploitation
		focus = YUN_uniform_legal_code
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 2
	y = 13

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_place_for_he"
		custom_effect_tooltip = YUN_a_place_for_he_tt
		add_corps_commander_role = {
			character = YUN_he_yingqin
			traits = { old_man }
			skill = 3
			attack_skill = 1
			defense_skill = 3
			planning_skill = 5
			logistics_skill = 4
			id = 2600
		}
		add_to_variable = { YUN_diplo_unify_stability = 0.025 }
		add_to_variable = { YUN_diplo_unify_political_power = -0.25 }
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_united_economy
	icon = GFX_focus_generic_fully_controlled_economy

	mutually_exclusive = {
		focus = YUN_two_hands_of_one_body
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_united_economy_trigger_tt
			has_country_flag = YUN_economics_centralised
		}
	}

	prerequisite = {
		focus = YUN_opening_the_debate
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 4
	y = 11

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_united_economy"
		custom_effect_tooltip = YUN_united_economy_tt
		add_to_variable = { YUN_diplo_unify_consumer_goods = 0.05 }
		add_to_variable = { YUN_diplo_unify_production = 0.075 }
		add_to_variable = { YUN_econ_centralization_conference = 10 }
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_uniform_legal_code
	icon = GFX_focus_generic_change_law_enforcement

	mutually_exclusive = {
		focus = YUN_closed_to_yi_exploitation
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_uniform_legal_code_trigger_tt
			has_country_flag = YUN_law_centralised
		}
	}

	prerequisite = {
		focus = YUN_united_economy
		focus = YUN_two_hands_of_one_body
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 4
	y = 12

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_uniform_legal_code"
		TNO_improve_admin_efficiency_really_low = yes
		custom_effect_tooltip = YUN_uniform_legal_code_tt
		add_to_variable = { YUN_diplo_unify_stability = 0.025 }
		add_to_variable = { YUN_diplo_unify_political_power = -0.15 }
		
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_he_must_retire
	icon = GFX_focus_YUN_he_must_retire

	mutually_exclusive = {
		focus = YUN_a_place_for_he
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_he_must_retire_trigger_tt
			has_country_flag = YUN_He_centralised
		}
	}

	prerequisite = {
		focus = YUN_uniform_legal_code
		focus = YUN_closed_to_yi_exploitation
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 4
	y = 13

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_he_must_retire"
		custom_effect_tooltip = YUN_he_must_retire_tt
		add_to_variable = { YUN_diplo_unify_political_power = 0.15 }
		add_to_variable = { YUN_diplo_unify_stability = -0.05 }
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_a_handshake
	icon = GFX_focus_generic_liberty_handshake

	prerequisite = {
		focus = YUN_a_place_for_he
		focus = YUN_he_must_retire
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 1
	y = 14

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_handshake"
		country_event = { id = yun_heyingqin.11 }
		custom_effect_tooltip = YUN_a_handshake_tt
	}
}

shared_focus = {
	id = YUN_a_ceremony
	icon = GFX_focus_MAN_chinese_music

	prerequisite = {
		focus = YUN_a_place_for_he
		focus = YUN_he_must_retire
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 14

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_ceremony"
		custom_effect_tooltip = YUN_a_ceremony_tt
		hidden_effect = {
			every_country = {
				limit = {
					OR = {
						original_tag = JAP
						is_in_faction_with = JAP
					}
				}
				country_event = { id = yun_heyingqin.12 }
			}
		}
		add_stability = 0.05
		add_war_support = 0.05
	}
}

shared_focus = {
	id = YUN_a_promise
	icon = GFX_focus_generic_make_promises_to_the_bureaucrats

	prerequisite = {
		focus = YUN_a_place_for_he
		focus = YUN_he_must_retire
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 5
	y = 14

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_promise"
		country_event = { id = yun_heyingqin.13 }
		custom_effect_tooltip = YUN_a_promise_tt
	}
}

shared_focus = {
	id = YUN_united_at_last
	icon = GFX_focus_generic_liberty_handshake

	prerequisite = {
		focus = YUN_a_handshake
	}
	prerequisite = {
		focus = YUN_a_ceremony
	}
	prerequisite = {
		focus = YUN_a_promise
	}

	cost = 3.00

	relative_position_id = YUN_in_the_west

	x = 3
	y = 15

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_united_at_last"
		set_country_flag = YUN_southwest_united
		custom_effect_tooltip = YUN_one_and_indivisible_tt
		GUZ = {
			country_event = { id = guz.102 }
		}
		TNO_improve_admin_efficiency_med = yes
	}
}

##Post-Unification Consolidation Minitree
shared_focus = {
	id = YUN_on_solid_ground
	icon = GFX_focus_BRA_integrate_the_squads

	allow_branch = {
		has_country_flag = YUN_start_tree
	}
	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_on_solid_ground_trigger_tt
			has_country_flag = YUN_southwest_united
		}
	}

	cost = 3.00

	x = 20
	y = 0

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_on_solid_ground"
		TNO_improve_admin_efficiency_really_low = yes
		country_event = { id = yun_heyingqin.15 }
	}
}

shared_focus = {
	id = YUN_bring_in_the_investment
	icon = GFX_focus_generic_foreign_investment

	prerequisite = {
		focus = YUN_on_solid_ground
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_bring_in_the_investment"
		set_temp_variable = { gdp_growth_temp = 1.0 }
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_bring_in_the_talent
	icon = GFX_focus_generic_encourage_immigration

	prerequisite = {
		focus = YUN_bring_in_the_investment
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = 0
	y = 2

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_bring_in_the_talent"
		add_tech_bonus = {
			name = industry
			bonus = 1
			uses = 1
			category = industry
		}
		add_tech_bonus = {
			name = electronics
			bonus = 1
			uses = 1
			category = electronics
		}
		tno_improve_research_facilities_med = yes
		tno_improve_industrial_expertise_high = yes
		add_to_variable = {
			industrial_expertise_counter = 50
		}
	}
}

shared_focus = {
	id = YUN_a_united_southwest
	icon = GFX_focus_YUN_a_united_xinan

	mutually_exclusive = {
		focus = YUN_two_brothers_still
	}

	prerequisite = {
		focus = YUN_bring_in_the_talent
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_a_united_southwest_trigger_tt
			has_country_flag = YUN_centralized_unification
		}
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = -2
	y = 3

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_united_southwest"
		add_stability = 0.025
		add_political_power = 100
	}
}

shared_focus = {
	id = YUN_biased_land_distribution
	icon = GFX_focus_generic_selling_off_the_land

	prerequisite = {
		focus = YUN_a_united_southwest
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = -2
	y = 4

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_biased_land_distribution"
		set_temp_variable = { money_reserves_temp = 0.5 }
		econ_money_reserves_change_raw_money = yes
	}
}

shared_focus = {
	id = YUN_two_brothers_still
	icon = GFX_focus_YUN_two_brothers_still

	mutually_exclusive = {
		focus = YUN_a_united_southwest
	}

	prerequisite = {
		focus = YUN_bring_in_the_talent
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_two_brothers_still_trigger_tt
			has_country_flag = YUN_decentralized_unification
		}
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = 2
	y = 3

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_two_brothers_still"
		add_war_support = 0.05
	}
}

shared_focus = {
	id = YUN_rational_infrastructure
	icon = GFX_focus_generic_open_road

	prerequisite = {
		focus = YUN_two_brothers_still
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = 2
	y = 4

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_rational_infrastructure"
		603 = {
			if = {
				limit = {
					infrastructure < 10
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_temp_variable = { state_value_multiplier_temp = 1.02 }
				econ_state_value_change_multiply_specified_state = yes
			}
		}		
		2385 = {
			if = {
				limit = {
					infrastructure < 10
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_temp_variable = { state_value_multiplier_temp = 1.02 }
				econ_state_value_change_multiply_specified_state = yes
			}
		}
		2377 = {
			if = {
				limit = {
					infrastructure < 10
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_temp_variable = { state_value_multiplier_temp = 1.02 }
				econ_state_value_change_multiply_specified_state = yes
			}
		}
		325 = {
			if = {
				limit = {
					infrastructure < 10
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_temp_variable = { state_value_multiplier_temp = 1.02 }
				econ_state_value_change_multiply_specified_state = yes
			}
		}
		build_railway = {
			level = 1
			build_only_on_allied = yes
			controller_priority = {
				base = 1
			}
			fallback = yes
			path = { 7446 19503 19492 19613 1884 19499 10616 }
			start_province = 7446
			target_province = 10616
		}
	}
}

shared_focus = {
	id = YUN_let_the_work_begin
	icon = GFX_focus_CHI_industrialisation

	prerequisite = {
		focus = YUN_biased_land_distribution
		focus = YUN_rational_infrastructure
	}

	cost = 3.00

	relative_position_id = YUN_on_solid_ground

	x = 0
	y = 5

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_let_the_work_begin"
		set_temp_variable = { gdp_growth_temp = 0.35 }
		econ_gdp_growth_change = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = 0.1 }
		econ_GDP_boost_once_percentage = yes
		custom_effect_tooltip = YUN_let_the_work_begin_tt
		set_country_flag = YUN_main_tree_flag
		clr_country_flag = YUN_start_tree
		hidden_effect = {
			load_focus_tree = YUN_post_xinan
			country_event = { id = yun_unified.20 days = 30 }
		}
	}
}

###Post Unification

#############################################################
# POST-UNIFICATION TREE - ROAD TO THE JEWEL OF SPHERE (LOL) #
#############################################################

shared_focus = {
	id = YUN_playing_to_our_strengths
	icon = GFX_focus_generic_workers_fist

	allow_branch = {
		has_country_flag = YUN_main_tree_flag
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	x = 5
	y = 0

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_playing_to_our_strengths"
		country_event = { id = yun_unified.1 }
		add_stability = 0.025
		add_political_power = 60
	}
}

shared_focus = {
	id = YUN_survey_the_land
	icon = GFX_focus_generic_clean_enviromental_action

	prerequisite = {
		focus = YUN_playing_to_our_strengths
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = -2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_survey_the_land"
		country_event = { id = yun_unified.2 }
		custom_effect_tooltip = YUN_survey_the_land_tt
		set_temp_variable = { YUN_calc_cost = GDP }
		multiply_temp_variable = { YUN_calc_cost = 0.01 }
		add_to_variable = { YUN_xinan_dev_misc_costs = YUN_calc_cost }
		custom_effect_tooltip = YUN_xinandev_cost_change_tt
	}
}

shared_focus = {
	id = YUN_open_new_mines
	icon = GFX_focus_generic_return_to_the_mines

	prerequisite = {
		focus = YUN_survey_the_land
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = -2
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_open_new_mines"
		YUN_improve_resource_exploitation = yes
		960 = {
			add_resource = {
				type = chromium
				amount = 8
			}
		}
		325 = {
			add_resource = {
				type = aluminium
				amount = 8
			}
		}
		custom_effect_tooltip = YUN_open_new_mines_tt
	}
}

shared_focus = {
	id = YUN_japanese_equipment
	icon = GFX_focus_CHI_invite_japanese_technicians

	prerequisite = {
		focus = YUN_open_new_mines
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = -2
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_japanese_equipment"
		country_event = { id = yun_unified.3 }
		tno_improve_industrial_equipment = yes
		2379 = {
			add_resource = {
				type = tungsten
				amount = 16
			}
		}
		add_tech_bonus = {
			name = excavation_tech
			bonus = 1
			uses = 2
			category = excavation_tech
		}
		set_temp_variable = { temp_econ_spending_amount = GDP }
		multiply_temp_variable = { temp_econ_spending_amount = 0.02 }
		econ_spend_money_once_effect_raw_money = yes
	}
}

shared_focus = {
	id = YUN_not_one_stone_left_unturned
	icon = GFX_focus_generic_coal_mine_proliferation

	prerequisite = {
		focus = YUN_japanese_equipment
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = -2
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_not_one_stone_left_unturned"
		custom_effect_tooltip = YUN_not_one_stone_left_unturned_tt
		603 = {
			add_resource = {
				type = steel
				amount = 12
			}
		}
		325 = {
			add_resource = {
				type = tungsten
				amount = 12
			}
		}
		set_temp_variable = { YUN_calc_cost = GDP }
		multiply_temp_variable = { YUN_calc_cost = 0.03 }
		TNO_improve_regulations_policy_effectiveness_med = yes
		add_to_variable = { YUN_xinan_dev_misc_costs = YUN_calc_cost }
		custom_effect_tooltip = YUN_xinandev_cost_change_tt
	}
}

shared_focus = {
	id = YUN_grown_in_the_southwest
	icon = GFX_focus_generic_security_in_farming

	prerequisite = {
		focus = YUN_playing_to_our_strengths
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_grown_in_the_southwest"
		country_event = { id = yun_unified.4 }
		set_temp_variable = { YUN_calc_income = GDP }
		multiply_temp_variable = { YUN_calc_income = 0.1 }
		custom_effect_tooltip = YUN_xinandev_cost_income_tt
		add_to_variable = { YUN_xinan_dev_misc_income = YUN_calc_income }
	}
}

shared_focus = {
	id = YUN_every_grain_is_earned_with_hardship
	icon = GFX_focus_generic_farmers_rise

	prerequisite = {
		focus = YUN_grown_in_the_southwest
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 0
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_every_grain_is_earned_with_hardship"
		set_temp_variable = { gdp_growth_temp = 0.85 }
		econ_gdp_growth_change = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = 0.05 } #already converted to billion
		econ_GDP_boost_once_percentage = yes
	}
}

shared_focus = {
	id = YUN_every_inch_surveyed
	icon = GFX_focus_generic_national_land_reform

	prerequisite = {
		focus = YUN_every_grain_is_earned_with_hardship
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 0
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_every_inch_surveyed"
		country_event = { id = yun_unified.5 }
		TNO_improve_agriculture_high = yes
		set_temp_variable = { YUN_calc_cost = GDP }
		multiply_temp_variable = { YUN_calc_cost = 0.02 }
		add_to_variable = { YUN_xinan_dev_misc_costs = YUN_calc_cost }
		custom_effect_tooltip = YUN_xinandev_cost_change_tt
	}
}

shared_focus = {
	id = YUN_modern_farming_techniques
	icon = GFX_focus_generic_farm_mechanization

	prerequisite = {
		focus = YUN_every_inch_surveyed
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 0
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_modern_farming_techniques"
		tno_improve_agriculture = yes
	}
}

shared_focus = {
	id = YUN_nowhere_surer_to_invest
	icon = GFX_focus_generic_good_economy

	prerequisite = {
		focus = YUN_playing_to_our_strengths
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_nowhere_surer_to_invest"
		country_event = { id = yun_unified.6 }
		random_owned_state = {
			limit = {
				state = 603
			}
			set_temp_variable = { state_value_multiplier_temp = 1.05 }
			econ_state_value_change_multiply_specified_state = yes
			add_state_modifier = {
				modifier = {
					state_GDP_growth_factor_modifier = 0.08
				}
			}
		}
		random_owned_state = {
			limit = {
				state = 325
			}
			set_temp_variable = { state_value_multiplier_temp = 1.05 }
			econ_state_value_change_multiply_specified_state = yes
			add_state_modifier = {
				modifier = {
					state_GDP_growth_factor_modifier = 0.08
				}
			}
		}
		random_owned_state = {
			limit = {
				state = 960
			}
			set_temp_variable = { state_value_multiplier_temp = 1.05 }
			econ_state_value_change_multiply_specified_state = yes
			add_state_modifier = {
				modifier = {
					state_GDP_growth_factor_modifier = 0.08
				}
			}
		}
		add_timed_idea = {
			idea = YUN_investment_boom
			days = 270
		}
	}
}

shared_focus = {
	id = YUN_expand_what_we_have
	icon = GFX_focus_generic_mind_the_economy

	prerequisite = {
		focus = YUN_nowhere_surer_to_invest
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 2
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_expand_what_we_have"
		country_event = { id = yun_unified.7 }
		custom_effect_tooltip = YUN_expand_what_we_have_tt
		add_to_variable = {
			industrial_expertise_counter = 100
		}
		add_to_variable = { YUN_xinan_dev_free_pus = 3 }
		set_temp_variable = { gdp_growth_temp = 1.0 } #already converted to billion
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_new_facilities
	icon = GFX_focus_generic_an_economy_for_the_modern_age

	prerequisite = {
		focus = YUN_expand_what_we_have
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 2
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_new_facilities"
		country_event = { id = yun_unified.8 }
		2379 = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
		2387 = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
		add_tech_bonus = {
			name = industry
			bonus = 1
			uses = 2
			category = industry
		}
		TNO_improve_industrial_equipment_high = yes
		set_temp_variable = { temp_econ_spending_amount = GDP }
		multiply_temp_variable = { temp_econ_spending_amount = 0.05 }
		econ_spend_money_once_effect_raw_money = yes
	}
}

shared_focus = {
	id = YUN_immoral_practices
	icon = GFX_focus_generic_change_law_slavery

	prerequisite = {
		focus = YUN_new_facilities
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 2
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_immoral_practices"
		country_event = { id = yun_unified.9 }
		tno_slavery_worsen = yes
		TNO_worsen_slavery_policy_effectiveness_med = yes
		TNO_improve_slavery_policy_effectiveness_monthly_low = yes
		tno_penal_system_worsen = yes
		TNO_worsen_penal_system_policy_effectiveness_med = yes
		TNO_improve_penal_system_policy_effectiveness_monthly_low = yes
	}
}

shared_focus = {
	id = YUN_the_bottom_line
	icon = GFX_focus_generic_economic_opportunity

	prerequisite = {
		focus = YUN_not_one_stone_left_unturned
	}
	prerequisite = {
		focus = YUN_modern_farming_techniques
	}
	prerequisite = {
		focus = YUN_immoral_practices
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_playing_to_our_strengths

	x = 0
	y = 5

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_bottom_line"
		country_event = { id = yun_unified.10 }
		YUN_improve_resource_exploitation = yes
		custom_effect_tooltip = YUN_the_bottom_line_tt
		set_temp_variable = { econ_centralization_temp = 5 }
		econ_centralization_change = yes
		add_to_variable = {
			admin_efficiency_counter = 100
		}
		TNO_improve_admin_efficiency_med = yes
		set_temp_variable = { gdp_growth_temp = 1.5 } #already converted to billion
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_shoring_up_our_weaknesses
	icon = GFX_focus_generic_defense

	allow_branch = {
		has_country_flag = YUN_main_tree_flag
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	cost = 3.00

	x = 13
	y = 0

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_shoring_up_our_weaknesses"
		country_event = { id = yun_unified.11 }
		add_political_power = 60
		2379 = {
			add_building_construction = {
				type = offices
				level = 1
				instant_build = yes
			}
		}
	}
}

shared_focus = {
	id = YUN_taming_the_land
	icon = GFX_focus_generic_slaves_to_farmers

	prerequisite = {
		focus = YUN_shoring_up_our_weaknesses
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = -2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_taming_the_land"
		if = {
			limit = { NOT = { has_tech = excavation1 } }
			set_technology = { excavation1 = 1 }
		}
		else = { set_technology = { excavation2 = 1 } }
		add_tech_bonus = {
			name = construction_tech
			uses = 1
			bonus = 2
			category = construction_tech
		}
		set_temp_variable = { temp_econ_spending_amount = GDP }
		multiply_temp_variable = { temp_econ_spending_amount = 0.01 }
		econ_spend_money_once_effect_raw_money = yes
	}
}

shared_focus = {
	id = YUN_flatten_the_soil
	icon = GFX_focus_generic_tank_grain_field

	prerequisite = {
		focus = YUN_taming_the_land
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = -2
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_flatten_the_soil"
		country_event = { id = yun_unified.12 }
		603 = {
			if = {
				limit = {
					infrastructure < 10
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_state_modifier = {
					modifier = {
						state_GDP_growth_factor_modifier = 0.05
					}
				}
			}
		}
		custom_effect_tooltip = YUN_flatten_the_soil_tt
	}
}

shared_focus = {
	id = YUN_lay_down_the_roads
	icon = GFX_focus_generic_road_dangerous

	prerequisite = {
		focus = YUN_flatten_the_soil
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = -2
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_lay_down_the_roads"
		country_event = { id = yun_unified.13 }
		build_railway = {
			level = 1
			build_only_on_allied = yes
			controller_priority = {
				base = 1
			}
			fallback = yes
			path = { 10616 19527 19510 8095 7577 10335 }
			start_province = 10616
			target_province = 10335
		}
		build_railway = {
			level = 2
			build_only_on_allied = yes
			controller_priority = {
				base = 1
			}
			fallback = yes
			path = { 7446 19503 19492 19613 1884 19499 10616 }
			start_province = 7446
			target_province = 10616
		}
		325 = {
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		603 = {
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		2389 = {
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		add_to_variable = {
			industrial_expertise_counter = 100
		}
		custom_effect_tooltip = YUN_lay_down_the_roads_tt
	}
}

shared_focus = {
	id = YUN_revive_the_burma_road
	icon = GFX_focus_generic_open_road

	prerequisite = {
		focus = YUN_lay_down_the_roads
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = -2
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_revive_the_burma_road"
		country_event = { id = yun_unified.14 }
		325 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		2378 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		2381 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
		960 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
			add_state_modifier = {
				modifier = { state_GDP_growth_factor_modifier = 0.05 }
			}
		}
	}
}

shared_focus = {
	id = YUN_draw_closer_to_china
	icon = GFX_focus_CHI_made_in_china

	prerequisite = {
		focus = YUN_shoring_up_our_weaknesses
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_draw_closer_to_china"
		tno_trade_laws_worsen = yes
		TNO_improve_industrial_expertise_med = yes
		TNO_improve_trade_laws_policy_effectiveness_med = yes
		add_to_variable = { YUN_xinan_dev_free_pus = 2 }
		set_temp_variable = { temp_modifier = 25 }
		YUN = { CHI = { add_to_trade_modifier_PREV = yes } }
		hidden_effect = { CHI = { add_to_trade_modifier_PREV = yes } }
		set_temp_variable = { gdp_growth_temp = 1.15 }
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_old_connections
	icon = GFX_focus_generic_shady_deal

	prerequisite = {
		focus = YUN_draw_closer_to_china
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 0
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_old_connections"
		country_event = { id = yun_unified.15 }
		add_political_power = 60
		add_opinion_modifier = {
			target = CHI
			modifier = YUN_CHI_closer
		}
		reverse_add_opinion_modifier = {
			target = CHI
			modifier = YUN_CHI_closer
		}
	}
}

shared_focus = {
	id = YUN_new_friends
	icon = GFX_focus_generic_the_final_meeting

	prerequisite = {
		focus = YUN_old_connections
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 0
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_new_friends"
		country_event = { id = yun_unified.16 }
		add_political_power = 75
		TNO_improve_trade_laws_policy_effectiveness_med = yes
	}
}

shared_focus = {
	id = YUN_economic_ties
	icon = GFX_focus_JAP_sphere_free_trade

	prerequisite = {
		focus = YUN_new_friends
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 0
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_economic_ties"
		CHI = {
			country_event = { id = chi.6023 }
		}
		add_ideas = {
			YUN_econ_links_CHI
		}
		TNO_improve_poverty_low = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = 0.15 } #already converted to billion
		econ_GDP_boost_once_percentage = yes
		set_temp_variable = { gdp_growth_temp = 1.0 }
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_landlords_must_have_their_say
	icon = GFX_focus_generic_we_failed_the_rich

	prerequisite = {
		focus = YUN_shoring_up_our_weaknesses
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_landlords_must_have_their_say"
		country_event = { id = yun_unified.17 }
		add_ideas = YUN_mild_corruption
		add_to_variable = {
			admin_efficiency_counter = -40
		}
	}
}

shared_focus = {
	id = YUN_look_the_other_way
	icon = GFX_focus_generic_gold_bars

	prerequisite = {
		focus = YUN_landlords_must_have_their_say
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 2
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_look_the_other_way"
		country_event = { id = yun_unified.18 }
		tno_press_rights_worsen = yes
		TNO_worsen_press_rights_policy_effectiveness_med = yes
		TNO_improve_press_rights_policy_effectiveness_monthly_low = yes
	}
}

shared_focus = {
	id = YUN_heed_their_advice
	icon = GFX_focus_generic_acquire_advisors

	prerequisite = {
		focus = YUN_look_the_other_way
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 2
	y = 3

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_heed_their_advice"
		TNO_improve_slavery_policy_effectiveness_high = yes
		set_temp_variable = { YUN_calc_income = GDP }
		multiply_temp_variable = { YUN_calc_income = 0.05 }
		add_to_variable = { YUN_xinan_dev_misc_income = YUN_calc_income }
		custom_effect_tooltip = YUN_xinandev_cost_income_tt
	}
}

shared_focus = {
	id = YUN_a_government_of_friends
	icon = GFX_focus_generic_friends_in_the_council

	prerequisite = {
		focus = YUN_heed_their_advice
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 2
	y = 4

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_government_of_friends"
		country_event = { id = yun_unified.19 }
		swap_ideas = {
			remove_idea = YUN_mild_corruption
			add_idea = YUN_a_government_of_friends_0
		}
		TNO_worsen_admin_efficiency_low = yes
	}
}

shared_focus = {
	id = YUN_order_and_progress
	icon = GFX_focus_generic_industrial_progress_red

	prerequisite = {
		focus = YUN_revive_the_burma_road
	}
	prerequisite = {
		focus = YUN_economic_ties
	}
	prerequisite = {
		focus = YUN_a_government_of_friends
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	relative_position_id = YUN_shoring_up_our_weaknesses

	x = 0
	y = 5

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_order_and_progress"
		YUN_improve_resource_exploitation = yes
		add_stability = 0.05
		custom_effect_tooltip = YUN_order_and_progress_tt
		add_to_variable = {
			admin_efficiency_counter = 100
		}
		set_temp_variable = { gdp_growth_temp = 1.25 } #already converted to billion
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = YUN_the_fruits_of_our_labor
	icon = GFX_focus_generic_prosperity_3

	prerequisite = {
		focus = YUN_the_bottom_line
	}
	prerequisite = {
		focus = YUN_order_and_progress
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	select_effect = { country_event = { id = yun_unified.23 } }

	x = 9
	y = 6

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_fruits_of_our_labor"
		tno_improve_industrial_expertise = yes
		TNO_improve_research_facilities_high = yes
		add_to_variable = { YUN_xinan_dev_free_pus = 4 }
		set_temp_variable = { TNO_economy_subtype_temp = token:Econ_Subtype_Dirigisme }
		econ_subtype_change = yes
		set_temp_variable = { temp_econ_GDP_boost_percentage = 0.1 } #already converted to billion
		econ_GDP_boost_once_percentage = yes
	}
}

shared_focus = {
	id = YUN_take_a_day_off
	icon = GFX_focus_generic_tropical_air_force

	prerequisite = {
		focus = YUN_the_fruits_of_our_labor
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_all_is_well_tt
			NOT = { has_country_flag = YUN_heqing_riots }
		}
	}

	select_effect = { country_event = { id = yun_unified.25 } }

	x = 9
	y = 7

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_take_a_day_off"
		custom_effect_tooltip = YUN_take_a_day_off_tt
	}
}

#####################################################
# PRISON RIOTS TREE - CURSE THESE UNRULY MINORITIES #
#####################################################

shared_focus = {
	id = YUN_riots_in_heqing_prison
	icon = GFX_focus_generic_liberating_camps_prisoners

	ai_will_do = {
		factor = 100
	}

	allow_branch = {
		has_country_flag = YUN_heqing_riots
	}

	x = 19
	y = 0

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_riots_in_heqing_prison"
		add_stability = -0.10
		add_war_support = -0.10
	}
}

shared_focus = {
	id = YUN_send_in_hu_ruoyu
	icon = GFX_focus_COG_send_mercenaries_away

	ai_will_do = {
		factor = 100
	}

	prerequisite = {
		focus = YUN_riots_in_heqing_prison
	}

	relative_position_id = YUN_riots_in_heqing_prison

	x = 0
	y = 1

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_send_in_hu_ruoyu"
		country_event = { id = yun.101 }
	}
}

shared_focus = {
	id = YUN_order_restored
	icon = GFX_focus_generic_prison_camp

	ai_will_do = {
		factor = 100
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_order_restored_trigger_tt
			has_country_flag = YUN_prison_riots_resolved
		}
	}

	prerequisite = {
		focus = YUN_send_in_hu_ruoyu
	}

	relative_position_id = YUN_riots_in_heqing_prison

	x = 0
	y = 2

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_order_restored"
		add_stability = 0.05
	}
}

shared_focus = {
	id = YUN_outside_help
	icon = GFX_focus_CHI_investments

	ai_will_do = {
		factor = 20
	}

	prerequisite = {
		focus = YUN_order_restored
	}

	mutually_exclusive = {
		focus = YUN_purge_the_suspicious
	}

	relative_position_id = YUN_riots_in_heqing_prison

	x = -1
	y = 3

	cost = 5.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_outside_help"
		CHI = {
			set_country_flag = CHI_YUN_outside_help
		}
		add_opinion_modifier = {
			target = CHI
			modifier = YUN_blamed_CHI
		}
		reverse_add_opinion_modifier = {
			target = CHI
			modifier = YUN_blamed_CHI
		}
		custom_effect_tooltip = YUN_outside_help_tt
	}
}

shared_focus = {
	id = YUN_purge_the_suspicious
	icon = GFX_focus_generic_firing_squad_execution

	ai_will_do = {
		factor = 80
	}

	prerequisite = {
		focus = YUN_order_restored
	}

	mutually_exclusive = {
		focus = YUN_outside_help
	}

	relative_position_id = YUN_riots_in_heqing_prison

	x = 1
	y = 3

	cost = 5.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_purge_the_suspicious"
		add_political_power = -250
		add_stability = 0.05
		add_war_support = -0.05
	}
}

shared_focus = {
	id = YUN_crisis_averted
	icon = GFX_focus_generic_victory_parade

	ai_will_do = {
		factor = 100
	}

	prerequisite = {
		focus = YUN_outside_help
		focus = YUN_purge_the_suspicious
	}

	relative_position_id = YUN_riots_in_heqing_prison

	x = 0
	y = 4

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_crisis_averted"
		custom_effect_tooltip = YUN_crisis_averted_tt
		hidden_effect = {
			CHI = {
				country_event = { id = chi.6002 hours = 3 }
			}
			clr_country_flag = YUN_heqing_riots
			YUN_reload_tree = yes
		}
	}
}

###LONG YUN'S BIZARRE ADVENTURE###

########################################################################################################
# BIG ADVENTURE TREE - CHINA FACES HER GREATEST PERIL, THE SUPREME YI AND MIAO SHALL BRING HER LIBBERATION! #
########################################################################################################

shared_focus = {
	id = YUN_the_king_of_the_southwest
	icon = GFX_focus_YUN_the_king_of_the_southwest

	allow_branch = {
		has_country_flag = YUN_long_yun_crusade
		NOT = { has_country_flag = YUN_NPA_despair_branch }
	}

	x = 10
	y = 0

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_king_of_the_southwest"
		add_ideas = {
			YUN_the_mad_king
		}
		hidden_effect = {
			country_event = { id = yun_wi.58 }
		}
	}
}

shared_focus = {
	id = YUN_industry
	icon = GFX_focus_YUN_industry

	prerequisite = {
		focus = YUN_the_king_of_the_southwest
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -8
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_industry"
		set_temp_variable = { econ_centralization_temp = 10 }
		econ_centralization_change = yes
		consumer_goods_minimal_set_position_2 = yes
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_trade_laws_export_focus
				add_idea = tno_trade_laws_closed_economy
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_trade_laws_export_focus_dummy
				add_idea = tno_trade_laws_closed_economy_dummy
			}
		}
		custom_effect_tooltip = YUN_industry_tt
	}
}

shared_focus = {
	id = YUN_every_woman_a_worker
	icon = GFX_focus_YUN_every_woman_a_worker

	prerequisite = {
		focus = YUN_industry
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -9
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_every_woman_a_worker"
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_gender_rights_traditional_roles
				add_idea = tno_gender_rights_promoted_equality
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_gender_rights_traditional_roles_dummy
				add_idea = tno_gender_rights_promoted_equality_dummy
			}
		}
		TNO_worsen_gender_rights_policy_effectiveness_med = yes
		TNO_improve_gender_rights_policy_effectiveness_monthly_low = yes
		add_to_variable = { YUN_legitimacy_production_bonus = 0.05 }
		add_to_variable = { YUN_legitimacy_construction_bonus = 0.05 }
		custom_effect_tooltip = YUN_every_woman_a_worker_tt
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_no_more_waste
	icon = GFX_focus_YUN_no_more_waste

	prerequisite = {
		focus = YUN_every_woman_a_worker
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -9
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_no_more_waste"
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_income_taxation_no_income_taxation
				add_idea = tno_income_taxation_high_income_weighted
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_income_taxation_no_income_taxation_dummy
				add_idea = tno_income_taxation_high_income_weighted_dummy
			}
		}
		TNO_worsen_income_taxation_policy_effectiveness_med = yes
		TNO_improve_income_taxation_policy_effectiveness_monthly_low = yes
		TNO_improve_trade_unions_policy_effectiveness_high = yes
		set_temp_variable = { econ_centralization_temp = 15 }
		econ_centralization_change = yes
	}
}

shared_focus = {
	id = YUN_by_longs_command
	icon = GFX_focus_YUN_by_longs_command

	prerequisite = {
		focus = YUN_industry
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -7
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_by_longs_command"
		TNO_improve_penal_system_policy_effectiveness_high = yes
		TNO_improve_security_policy_effectiveness_med = yes
		#add_to_variable = { YUN_npabuff_production = 0.20 }
		#add_to_variable = { YUN_npabuff_construction = 0.20 }
		#custom_effect_tooltip = YUN_by_longs_command_tt
	}
}

shared_focus = {
	id = YUN_however_wherever_whoever
	icon = GFX_focus_YUN_however_wherever_whoever

	prerequisite = {
		focus = YUN_by_longs_command
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -7
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_however_wherever_whoever"
		add_ideas = {
			YUN_production_frenzy
		}
		hidden_effect = {
			country_event = { id = yun_wi.55 }
		}
		#custom_effect_tooltip = YUN_however_wherever_whoever_tt
	}
}

shared_focus = {
	id = YUN_everything_for_the_war
	icon = GFX_focus_YUN_everything_for_the_war

	prerequisite = {
		focus = YUN_no_more_waste
	}
	prerequisite = {
		focus = YUN_however_wherever_whoever
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -8
	y = 4

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_everything_for_the_war"
		#tno_economic_focus_clear = yes
		#add_ideas = {
		#	tno_economic_focus_total_mobilization
		#}
		TNO_improve_draft_exemptions_policy_effectiveness_high = yes
		TNO_improve_draft_exemptions_policy_effectiveness_monthly_high = yes
		army_funding_maximal_increase_high = yes
		custom_effect_tooltip = YUN_everything_for_the_war_tt
	}
}

shared_focus = {
	id = YUN_honor
	icon = GFX_focus_YUN_honor

	prerequisite = {
		focus = YUN_the_king_of_the_southwest
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -4
	y = 1

	cost = 2.00

	completion_reward = {
		add_war_support = 0.2
		log = "[GetDateText]: [Root.GetName]: Focus YUN_honor"
		add_to_variable = { YUN_npabuff_war_support_bonus = 0.05 }
		YUN_update_warbuff_effects = yes
		custom_effect_tooltip = YUN_honor_tt
	}
}

shared_focus = {
	id = YUN_every_man_a_soldier
	icon = GFX_focus_YUN_every_man_a_soldier

	prerequisite = {
		focus = YUN_honor
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -5
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_every_man_a_soldier"
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_conscription_limited_conscription
				add_idea = tno_conscription_extensive_conscription
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_conscription_limited_conscription_dummy
				add_idea = tno_conscription_extensive_conscription_dummy
			}
		}
		TNO_worsen_conscription_policy_effectiveness_med = yes
		TNO_improve_conscription_policy_effectiveness_monthly_low = yes
		#add_to_variable = { YUN_npabuff_recruits = 0.25 }
		#custom_effect_tooltip = YUN_every_man_a_soldier_tt
		#force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_stand_up_and_fight
	icon = GFX_focus_YUN_stand_up_and_fight

	prerequisite = {
		focus = YUN_every_man_a_soldier
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -5
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_stand_up_and_fight"
		TNO_improve_gender_rights_policy_effectiveness_high = yes
		#add_to_variable = {
		#	YUN_npabuff_war_support = 0.15
		#}
		hidden_effect = { load_oob = "YUN_NPA_army" }
		custom_effect_tooltip = YUN_stand_up_and_fight_tt
		#force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_new_officers
	icon = GFX_focus_YUN_new_officers

	prerequisite = {
		focus = YUN_honor
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -3
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_new_officers"
		add_ideas = {
			YUN_new_officers
		}
	}
}

shared_focus = {
	id = YUN_the_war_machine
	icon = GFX_focus_YUN_the_war_machine

	prerequisite = {
		focus = YUN_new_officers
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -3
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_war_machine"
		add_to_variable = { YUN_legitimacy_pu = 3 }
		recalculate_PUs_on_demand = yes
		custom_effect_tooltip = YUN_the_war_machine_tt
		force_update_dynamic_modifier = yes
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 3000
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 1500
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment
			amount = 1200
		}
		add_equipment_to_stockpile = {
			type = support_equipment
			amount = 1800
		}
	}
}

shared_focus = {
	id = YUN_the_chinese_army_unbowed
	icon = GFX_focus_YUN_the_chinese_army_unbowed

	prerequisite = {
		focus = YUN_stand_up_and_fight
	}
	prerequisite = {
		focus = YUN_the_war_machine
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -4
	y = 4

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_chinese_army_unbowed"
		tno_improve_army_professionalism = yes
		TNO_improve_army_professionalism_high = yes
		#add_to_variable = {
		#	YUN_npabuff_war_support = 0.25
		#}
		#add_to_variable = {
		#	YUN_npabuff_stability = 0.10
		#}
		#custom_effect_tooltip = YUN_the_chinese_army_unbowed_tt
		#force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_loyalty
	icon = GFX_focus_YUN_loyalty
	prerequisite = {
		focus = YUN_the_king_of_the_southwest
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_loyalty"
		add_popularity = {
			ideology = ultranationalism
			popularity = 0.05
		}
		add_stability = 0.05
		#add_to_variable = { YUN_npabuff_stability = 0.05 }
		#custom_effect_tooltip = YUN_loyalty_tt
		#force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_the_stab_in_the_back
	icon = GFX_focus_YUN_the_stab_in_the_back

	prerequisite = {
		focus = YUN_loyalty
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -1
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_stab_in_the_back"
		country_event = { id = yun_wi.65 }
		add_ideas = {
			YUN_NBIS
		}
		TNO_improve_security_policy_effectiveness_monthly_low = yes
		add_manpower = -350
	}
}

shared_focus = {
	id = YUN_public_executions
	icon = GFX_focus_YUN_public_executions

	prerequisite = {
		focus = YUN_the_stab_in_the_back
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -1
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_public_executions"
		swap_ideas = {
			remove_idea = YUN_NBIS
			add_idea = YUN_NBIS_upgrade
		}
		hidden_effect = {
			country_event = { id = yun_wi.57 }
		}
	}
}

shared_focus = {
	id = YUN_complacent_peasants
	icon = GFX_focus_YUN_complacent_peasants

	prerequisite = {
		focus = YUN_loyalty
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 1
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_complacent_peasants"
		add_popularity = {
			ideology = ultranationalism
			popularity = 0.01 #KD's Notes - For the Laughs
		}
	}
}

shared_focus = {
	id = YUN_what_did_you_do_in_the_war
	icon = GFX_focus_YUN_what_did_you_do_in_the_war

	prerequisite = {
		focus = YUN_complacent_peasants
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 1
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_what_did_you_do_in_the_war"
		#Investigation/Purge minichain
		custom_effect_tooltip = YUN_what_did_you_do_in_the_war_tt
		tno_slavery_improve = yes
		hidden_effect = {
			TNO_worsen_slavery_policy_effectiveness_med = yes
			TNO_improve_slavery_policy_effectiveness_monthly_low = yes
		}
		add_to_variable = { YUN_legitimacy_pu = 3 }
		recalculate_PUs_on_demand = yes
		#add_to_variable = { YUN_npa_buff_stability = 0.05 }
		#force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_down_with_the_traitors
	icon = GFX_focus_YUN_down_with_the_traitors

	prerequisite = {
		focus = YUN_public_executions
	}
	prerequisite = {
		focus = YUN_what_did_you_do_in_the_war
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 4

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_down_with_the_traitors"
		swap_ideas = {
			remove_idea = YUN_NBIS_upgrade
			add_idea = YUN_down_with_the_traitors_idea
		}
		set_temp_variable = { tempLegitimacy = 10 }
		YUN_WI_legitimacy_change = yes
	}
}

shared_focus = {
	id = YUN_tenacity
	icon = GFX_focus_YUN_tenacity

	prerequisite = {
		focus = YUN_the_king_of_the_southwest
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 4
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_tenacity"
		swap_ideas = {
			remove_idea = YUN_the_mad_king
			add_idea = YUN_the_mad_king_tenacity
		}
	}
}

shared_focus = {
	id = YUN_fortify_the_border
	icon = GFX_focus_YUN_fortify_the_border

	prerequisite = {
		focus = YUN_tenacity
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 3
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_fortify_the_border"
		add_timed_idea = {
			idea = YUN_fortification_frenzy
			days = 90
		}
		2388 = {
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 19549
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 4896
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 10006
			}
		}
		2389 = {
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 19505
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 7665
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 10335
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 19523
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 4480
			}
		}
		#custom_effect_tooltip = YUN_fortify_the_border_tt
	}
}

shared_focus = {
	id = YUN_not_one_step_back
	icon = GFX_focus_YUN_not_one_step_back

	prerequisite = {
		focus = YUN_fortify_the_border
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 3
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_not_one_step_back"
		TNO_improve_training_policy_effectiveness_monthly_med = yes
		custom_effect_tooltip = YUN_not_one_step_back_tt
	}
}

shared_focus = {
	id = YUN_mountain_people
	icon = GFX_focus_YUN_mountain_people

	prerequisite = {
		focus = YUN_tenacity
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 5
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_mountain_people"
		add_ideas = {
			YUN_mountain_people_idea
		}
	}
}

shared_focus = {
	id = YUN_hit_and_run
	icon = GFX_focus_YUN_hit_and_run

	prerequisite = {
		focus = YUN_mountain_people
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 5
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_hit_and_run"
		add_ideas = {
			YUN_hit_and_run_idea
		}
		add_doctrine_cost_reduction = {
			name = land_doc_bonus
			cost_reduction = 0.75
			uses = 2
			category = land_doctrine
		}
	}
}

shared_focus = {
	id = YUN_never_again
	icon = GFX_focus_YUN_never_again

	prerequisite = {
		focus = YUN_not_one_step_back
	}
	prerequisite = {
		focus = YUN_hit_and_run
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 4
	y = 4

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_never_again"
		set_temp_variable = { tempWarbuff = 10 }
		YUN_WI_morale_change = yes
		add_war_support = 0.1
	}
}

shared_focus = {
	id = YUN_patriotism
	icon = GFX_focus_YUN_nativism

	prerequisite = {
		focus = YUN_the_king_of_the_southwest
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 8
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_patriotism"
		add_to_variable = { YUN_legitimacy_stability_bonus = 0.05 }
		add_to_variable = { YUN_legitimacy_pp_bonus = 0.05 }
		force_update_dynamic_modifier = yes
		custom_effect_tooltip = YUN_patriotism_tt
		hidden_effect = {
			country_event = { id = yun_wi.56 }
		}
	}
}

shared_focus = {
	id = YUN_burn_the_symbols_of_the_yamato
	icon = GFX_focus_YUN_burn_the_symbols_of_yamato

	prerequisite = {
		focus = YUN_patriotism
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 7
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_burn_the_symbols_of_the_yamato"
		add_political_power = 100
		add_command_power = 10
	}
}

shared_focus = {
	id = YUN_destroy_the_last_reminders
	icon = GFX_focus_YUN_destroy_the_last_reminder

	prerequisite = {
		focus = YUN_burn_the_symbols_of_the_yamato
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 7
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_destroy_the_last_reminders"
		add_political_power = 25
		add_war_support = 0.10
		TNO_improve_press_rights_policy_effectiveness_high = yes
	}
}

shared_focus = {
	id = YUN_round_up_the_foreigners
	icon = GFX_focus_YUN_round_up_the_foreigners

	prerequisite = {
		focus = YUN_patriotism
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 9
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_round_up_the_foreigners"
		TNO_improve_slavery_policy_effectiveness_med = yes
		TNO_worsen_poverty_med = yes
		add_manpower = -5000
	}
}

shared_focus = {
	id = YUN_last_chance_divisions
	icon = GFX_focus_YUN_last_chance_divisions

	prerequisite = {
		focus = YUN_round_up_the_foreigners
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 9
	y = 3

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_last_chance_divisions"
		custom_effect_tooltip = YUN_last_chance_divisions_tt
		TNO_improve_conscription_policy_effectiveness_high = yes
		hidden_effect = { load_oob = "YUN_redemption_divisions" }
	}
}

shared_focus = {
	id = YUN_push_japan_into_the_sea
	icon = GFX_focus_YUN_push_japan_into_the_sea

	prerequisite = {
		focus = YUN_destroy_the_last_reminders
	}
	prerequisite = {
		focus = YUN_last_chance_divisions
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 8
	y = 4

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_push_japan_into_the_sea"
		#add_to_variable = { YUN_npabuff_org = 0.15 }
		#add_to_variable = { YUN_npabuff_atk = 0.15 }
		add_timed_idea = {
			idea = YUN_anti_RGOC_zeal
			days = 180
		}
		#custom_effect_tooltip = YUN_push_japan_into_the_sea_tt
	}
}

shared_focus = {
	id = YUN_the_great_war_of_national_salvation
	icon = GFX_focus_YUN_the_great_war_of_national_salvation

	available = {
		custom_trigger_tooltip = {
			tooltip = YUN_the_great_war_of_national_salvation_trigger_tt
			count_triggers = {
				amount = 3
				has_completed_focus = YUN_everything_for_the_war
				has_completed_focus = YUN_the_chinese_army_unbowed
				has_completed_focus = YUN_down_with_the_traitors
				has_completed_focus = YUN_never_again
				has_completed_focus = YUN_push_japan_into_the_sea
			}
		}
		has_war_with = CHI
	}

	prerequisite = {
		focus = YUN_everything_for_the_war
		focus = YUN_the_chinese_army_unbowed
		focus = YUN_down_with_the_traitors
		focus = YUN_never_again
		focus = YUN_push_japan_into_the_sea
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 5

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_great_war_of_national_salvation"
		set_temp_variable = { tempLegitimacy = 10 }
		YUN_WI_legitimacy_change = yes
		set_temp_variable = { tempWarbuff = 10 }
		YUN_WI_morale_change = yes
		#add_to_variable = { YUN_npabuff_war_support = 0.10 }
		#add_to_variable = { YUN_npabuff_pp = 0.10 }
		#add_to_variable = { YUN_npabuff_atk = 0.15 }
		#add_to_variable = { YUN_npabuff_def = 0.15 }
	}
}

##################################################################
# GO HOME TREE - FOR CHINA WE FOUGHT BRAVELY... BUT WE HAVE LOST #
##################################################################

shared_focus = {
	id = YUN_the_final_offensive
	icon = GFX_focus_YUN_the_final_offensive

	allow_branch = {
		has_country_flag = YUN_NPA_despair_branch
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 6

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_final_offensive"
		set_temp_variable = { tempWarbuff = 15 }
		YUN_WI_morale_change = yes
	}
}

shared_focus = {
	id = YUN_by_our_fingernails
	icon = GFX_focus_YUN_by_our_fingernails

	prerequisite = {
		focus = YUN_the_final_offensive
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 7

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_by_our_fingernails"
		set_temp_variable = { tempWarbuff = 15 }
		country_event = { id = yun_wi.52 }
		YUN_WI_morale_change = yes
	}
}

shared_focus = {
	id = YUN_destroy_treasonous_unrest
	icon = GFX_focus_YUN_destroy_treasonous_unrest

	prerequisite = {
		focus = YUN_by_our_fingernails
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = -2
	y = 8

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_destroy_treasonous_unrest"
		set_temp_variable = { tempLegitimacy = 10 }
		YUN_WI_legitimacy_change = yes
		add_manpower = -20000
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -1000
		}
		add_equipment_to_stockpile = {
			type = support_equipment
			amount = -500
		}
		hidden_effect = {
			if = {
				limit = {
					count_triggers = {
						amount = 3
						has_completed_focus = YUN_destroy_treasonous_unrest
						has_completed_focus = YUN_believe_in_victory
						has_completed_focus = YUN_if_you_can_hold_a_gun_you_can_fight
					}
				}
				country_event = { id = yun_wi.53 days = 1 }
			}
		}
	}
}

shared_focus = {
	id = YUN_believe_in_victory
	icon = GFX_focus_YUN_believe_in_victory

	prerequisite = {
		focus = YUN_by_our_fingernails
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 8

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_believe_in_victory"
		add_war_support = 0.10
		set_temp_variable = { tempWarbuff = 10 }
		YUN_WI_morale_change = yes
		country_event = { id = yun_wi.64 }
		hidden_effect = {
			if = {
				limit = {
					count_triggers = {
						amount = 3
						has_completed_focus = YUN_destroy_treasonous_unrest
						has_completed_focus = YUN_believe_in_victory
						has_completed_focus = YUN_if_you_can_hold_a_gun_you_can_fight
					}
				}
				country_event = { id = yun_wi.53 days = 1 }
			}
		}
	}
}

shared_focus = {
	id = YUN_if_you_can_hold_a_gun_you_can_fight
	icon = GFX_focus_YUN_if_you_can_hold_a_gun_you_can_fight

	prerequisite = {
		focus = YUN_by_our_fingernails
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 2
	y = 8

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_if_you_can_hold_a_gun_you_can_fight"
		tno_training_clear = yes
		add_ideas = {
			tno_training_none
		}
		tno_conscription_clear = yes
		add_ideas = {
			tno_conscription_scraping_the_barrel
		}
		hidden_effect = {
			if = {
				limit = {
					count_triggers = {
						amount = 3
						has_completed_focus = YUN_destroy_treasonous_unrest
						has_completed_focus = YUN_believe_in_victory
						has_completed_focus = YUN_if_you_can_hold_a_gun_you_can_fight
					}
				}
				country_event = { id = yun_wi.53 days = 1 }
			}
		}
	}
}

shared_focus = {
	id = YUN_the_last_stand_of_long_yun
	icon = GFX_focus_YUN_the_last_stand_of_long_yun	
	
	allow_branch = {
		has_country_flag = YUN_Long_Yun_last_stand_flag
	}

	prerequisite = {
		focus = YUN_destroy_treasonous_unrest
	}
	prerequisite = {
		focus = YUN_believe_in_victory
	}
	prerequisite = {
		focus = YUN_if_you_can_hold_a_gun_you_can_fight
	}

	available = { surrender_progress > 0.75 }

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 9

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_last_stand_of_long_yun"
	}
}

shared_focus = {
	id = YUN_call_the_bimo
	icon = GFX_focus_YUN_call_the_bimo

	prerequisite = {
		focus = YUN_the_last_stand_of_long_yun
	}

	allow_branch = {
		has_country_flag = YUN_Long_Yun_dead_flag
	}

	relative_position_id = YUN_the_king_of_the_southwest
	x = 0
	y = 10

	cost = 1.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_call_the_bimo"
		custom_effect_tooltip = YUN_call_the_bimo_tt
	}
}

########################################################################################
# REALLY BIG ADVENTURE TREE - WITH OUR FLESH AND BLOOD, LET US BUILD A NEW GREAT WALL! #
########################################################################################

shared_focus = {
	id = YUN_total_liberation
	icon = GFX_focus_YUN_total_liberation

	allow_branch = {
		has_global_flag = CHI_Western_Insurection_RoC_defeated
		NOT = { has_country_flag = YUN_NPA_despair_branch }
	}

	x = 27
	y = 0

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_total_liberation"
		add_political_power = 100
		add_command_power = 20
		set_temp_variable = { tempMomentumTick = 1 }
		WI_calc_momentum_tick = yes
	}
}

shared_focus = {
	id = YUN_ten_thousand_hearts_united_as_one #Fighting Spirit
	icon = GFX_focus_YUN_ten_thousand_hearts_united_as_one

	prerequisite = {
		focus = YUN_total_liberation
	}

	relative_position_id = YUN_total_liberation

	x = -5
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_ten_thousand_hearts_united_as_one"
		add_war_support = 0.1
		add_stability = 0.1
		TNO_improve_army_professionalism_med = yes
		TNO_improve_conscription_policy_effectiveness_high = yes
	}
}

shared_focus = {
	id = YUN_never_another_nanjing
	icon = GFX_focus_YUN_never_another_nanjing

	prerequisite = {
		focus = YUN_ten_thousand_hearts_united_as_one
	}

	relative_position_id = YUN_ten_thousand_hearts_united_as_one

	x = -1
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_never_another_nanjing"
		add_to_variable = { YUN_npabuff_def_bonus = 0.05 }
		add_to_variable = { YUN_npabuff_org_bonus = 0.05 }
		force_update_dynamic_modifier = yes
		custom_effect_tooltip = YUN_never_another_nanjing_tt
	}
}

shared_focus = {
	id = YUN_a_great_wall_of_flesh_and_blood
	icon = GFX_focus_YUN_a_great_wall_of_flesh_and_blood

	prerequisite = {
		focus = YUN_never_another_nanjing
	}

	relative_position_id = YUN_never_another_nanjing

	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_great_wall_of_flesh_and_blood"
		add_to_variable = { YUN_npabuff_def_bonus = 0.05 }
		add_to_variable = { YUN_npabuff_org_bonus = 0.05 }
		custom_effect_tooltip = YUN_a_great_wall_of_flesh_and_blood_tt
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_the_best_defense
	icon = GFX_focus_YUN_the_best_defense

	prerequisite = {
		focus = YUN_ten_thousand_hearts_united_as_one
	}

	relative_position_id = YUN_ten_thousand_hearts_united_as_one

	x = 1
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_best_defense"
		custom_effect_tooltip = YUN_the_best_defense_tt
		add_to_variable = { YUN_npabuff_atk_bonus = 0.05 }
		army_experience = 15
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {
	id = YUN_no_restraints
	icon = GFX_focus_YUN_no_restraints

	prerequisite = {
		focus = YUN_the_best_defense
	}

	relative_position_id = YUN_the_best_defense

	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_no_restraints"
		add_ideas = YUN_unrestrained_warfare
		#custom_effect_tooltip = YUN_no_restraints_tt
		TNO_improve_military_supervision_policy_effectiveness_med = yes
	}
}

shared_focus = {
	id = YUN_for_the_nation
	icon = GFX_focus_YUN_for_the_nation

	prerequisite = {
		focus = YUN_a_great_wall_of_flesh_and_blood
	}
	prerequisite = {
		focus = YUN_no_restraints
	}

	relative_position_id = YUN_a_great_wall_of_flesh_and_blood

	x = 1
	y = 2

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_for_the_nation"
		set_temp_variable = { tempWarbuffTick = 2 }
		YUN_WI_morale_tick_change = yes
		set_temp_variable = { tempMilBonus = 1.5 }
		WI_calc_mil_bonus = yes
		set_temp_variable = { tempMomentumTick = 1 }
		WI_calc_momentum_tick = yes
	}
}

shared_focus = {#Trying to get Cores, fixing Industry
	id = YUN_one_china_against_the_enemy
	icon = GFX_focus_YUN_one_china_against_the_enemy

	prerequisite = {
		focus = YUN_total_liberation
	}

	relative_position_id = YUN_total_liberation

	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_one_china_against_the_enemy"
		set_temp_variable = { tempIntegrateBonus = 0.5 }
		WI_calc_integrate_bonus = yes
		set_temp_variable = { tempAdminBonus = 0.5 }
		WI_calc_integrate_bonus = yes
		set_temp_variable = { tempMilBonus = 0.5 }
		WI_calc_integrate_bonus = yes
	}
}

shared_focus = {
	id = YUN_establish_control
	icon = GFX_focus_YUN_establish_control

	prerequisite = {
		focus = YUN_one_china_against_the_enemy
	}

	relative_position_id = YUN_one_china_against_the_enemy

	x = -2
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_establish_control"
		TNO_improve_admin_efficiency_low = yes
		TNO_improve_security_policy_effectiveness_med = yes
	}
}

shared_focus = {
	id = YUN_old_structures
	icon = GFX_focus_YUN_old_structures

	prerequisite = {
		focus = YUN_establish_control
	}

	relative_position_id = YUN_establish_control

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_old_structures"
		set_temp_variable = { tempAdminBonus = 0.5 }
		WI_calc_admin_bonus = yes
		TNO_improve_admin_efficiency_med = yes
	}
}

shared_focus = {
	id = YUN_new_management
	icon = GFX_focus_YUN_new_management

	prerequisite = {
		focus = YUN_old_structures
	}

	relative_position_id = YUN_old_structures

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_new_management"
		add_timed_idea = {
			idea = YUN_ruthless_reintegration
			days = 120
		}
		#custom_effect_tooltip = YUN_new_management_tt
		every_owned_state = {
			add_state_modifier = { modifier = { local_resources = 0.10 } }
		}
		TNO_improve_admin_efficiency_med = yes
	}
}

shared_focus = {
	id = YUN_repair_all_you_can
	icon = GFX_focus_YUN_repair_all_you_can

	prerequisite = {
		focus = YUN_one_china_against_the_enemy
	}

	relative_position_id = YUN_one_china_against_the_enemy

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_undo_the_damage"
		add_timed_idea = {
			idea = YUN_repair_focus
			days = 90
		}
	}
}

shared_focus = {
	id = YUN_salvage_what_is_left
	icon = GFX_focus_YUN_salvage_what_is_left

	prerequisite = {
		focus = YUN_repair_all_you_can
	}

	relative_position_id = YUN_repair_all_you_can

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_salvage_what_is_left"
		hidden_effect = {
			every_controlled_state = {
				set_temp_variable = { state_value_multiplier_temp = 0.98 }
				econ_state_value_change_multiply_specified_state = yes
			}
			set_temp_variable = { YUN_salvage_calc_inf = 100 }
			set_temp_variable = { YUN_salvage_calc_sup = 15 }
			set_temp_variable = { YUN_salvage_calc_ant = 20 }
			set_temp_variable = { YUN_salvage_calc_art = 10 }
			multiply_temp_variable = { YUN_salvage_calc_inf = num_of_controlled_states }
			multiply_temp_variable = { YUN_salvage_calc_sup = num_of_controlled_states }
			multiply_temp_variable = { YUN_salvage_calc_ant = num_of_controlled_states }
			multiply_temp_variable = { YUN_salvage_calc_art = num_of_controlled_states }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = var:YUN_salvage_calc_inf
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = var:YUN_salvage_calc_sup
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = var:YUN_salvage_calc_ant
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = var:YUN_salvage_calc_art
			}
		}
		custom_effect_tooltip = YUN_salvage_what_is_left_tt
	}
}

shared_focus = {
	id = YUN_burn_what_is_lost
	icon = GFX_focus_YUN_burn_what_is_lost

	prerequisite = {
		focus = YUN_salvage_what_is_left
	}

	relative_position_id = YUN_salvage_what_is_left

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_burn_what_is_lost"
		country_event = {
			id = yun.143
		}
	}
}

shared_focus = {
	id = YUN_our_mission
	icon = GFX_focus_YUN_our_mission

	prerequisite = {
		focus = YUN_one_china_against_the_enemy
	}

	relative_position_id = YUN_one_china_against_the_enemy

	x = 2
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_our_mission"
		country_event = {
			id = yun.146
		}
		set_temp_variable = { tempLegitimacy = 10 }
		YUN_WI_legitimacy_change = yes
	}
}

shared_focus = {
	id = YUN_emphasize_national_unity
	icon = GFX_focus_YUN_emphasize_national_unity

	prerequisite = {
		focus = YUN_our_mission
	}

	relative_position_id = YUN_our_mission

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_emphasize_national_unity"
		custom_effect_tooltip = YUN_emphasize_national_unity_tt
		TNO_improve_security_policy_effectiveness_monthly_low = yes
		hidden_effect = { load_oob = "YUN_NPA_nationalist_uprisings" }
	}
}

shared_focus = {
	id = YUN_eliminate_treason
	icon = GFX_focus_YUN_eliminate_treason

	prerequisite = {
		focus = YUN_emphasize_national_unity
	}

	relative_position_id = YUN_emphasize_national_unity

	x = 0
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_eliminate_treason"
		tno_security_improve = yes
		add_political_power = 50
		hidden_effect = {
			TNO_worsen_security_policy_effectiveness_high = yes
			TNO_improve_security_policy_effectiveness_monthly_low = yes
		}
	}
}

shared_focus = {
	id = YUN_for_the_country
	icon = GFX_focus_YUN_for_the_country

	prerequisite = {
		focus = YUN_new_management
	}
	prerequisite = {
		focus = YUN_burn_what_is_lost
	}
	prerequisite = {
		focus = YUN_eliminate_treason
	}

	relative_position_id = YUN_new_management

	x = 2
	y = 1

	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_for_the_country"
		custom_effect_tooltip = YUN_for_the_country_tt
		add_political_power = 100
		add_command_power = 20
		set_temp_variable = { tempIntegrateBonus = 1.5 }
		WI_calc_integrate_bonus = yes
		set_temp_variable = { tempMomentumTick = 1 }
		WI_calc_momentum_tick = yes
	}
}


shared_focus = {
	id = YUN_arise_those_who_want_not_be_slaves #Manpower
	icon = GFX_focus_YUN_arise_those_who_want_not_be_slaves

	prerequisite = {
		focus = YUN_total_liberation
	}

	relative_position_id = YUN_total_liberation

	x = 5
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_arise_those_who_want_not_be_slaves"
		country_event = {
			id = yun.147
		}
		tno_conscription_worsen = yes
		TNO_worsen_conscription_policy_effectiveness_med = yes
		TNO_improve_conscription_policy_effectiveness_monthly_low = yes
	}
}

shared_focus = {
	id = YUN_find_volunteers
	icon = GFX_focus_YUN_find_volunteers

	prerequisite = {
		focus = YUN_arise_those_who_want_not_be_slaves
	}

	relative_position_id = YUN_arise_those_who_want_not_be_slaves

	x = -1
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_find_volunteers"
		hidden_effect = {
			set_temp_variable = { YUN_find_volunteers_bonus_mp = num_of_controlled_states }
			multiply_temp_variable = { YUN_find_volunteers_bonus_mp = 4000 }
			add_manpower = var:YUN_find_volunteers_bonus_mp
		}
		custom_effect_tooltip = YUN_find_volunteers_tt
	}
}

shared_focus = {
	id = YUN_nationalist_zeal
	icon = GFX_focus_YUN_nationalist_zeal

	prerequisite = {
		focus = YUN_find_volunteers
	}

	relative_position_id = YUN_find_volunteers

	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_nationalist_zeal"
		hidden_effect = { load_oob = "YUN_NPA_uprisings_RGOC" }
		add_timed_idea = {
			idea = YUN_anti_japanese_zeal
			days = 365
		}
		custom_effect_tooltip = YUN_nationalist_zeal_tt
	}
}

shared_focus = {
	id = YUN_create_volunteers
	icon = GFX_focus_YUN_create_volunteers

	prerequisite = {
		focus = YUN_arise_those_who_want_not_be_slaves
	}

	relative_position_id = YUN_arise_those_who_want_not_be_slaves

	x = 1
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_create_volunteers"
		hidden_effect = {
			load_oob = "YUN_NPA_forced_volunteers_1"
			if = {
				limit = {
					num_of_controlled_states > 20
				}
				load_oob = "YUN_NPA_forced_volunteers_2"
			}
			if = {
				limit = {
					num_of_controlled_states > 30
				}
				load_oob = "YUN_NPA_forced_volunteers_3"
			}
		}
		custom_effect_tooltip = YUN_create_volunteers_tt
	}
}

shared_focus = {
	id = YUN_carrot_and_stick
	icon = GFX_focus_YUN_carrot_and_stick

	prerequisite = {
		focus = YUN_create_volunteers
	}

	relative_position_id = YUN_create_volunteers

	x = 0
	y = 1

	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_carrot_and_stick"
		#add_to_variable = { YUN_npabuff_recruits = 0.10 }
		TNO_improve_health_care_policy_effectiveness_high = yes
		TNO_improve_poverty_high = yes
		set_temp_variable = { tempAdminBonus = 0.5 }
		WI_calc_admin_bonus = yes
		#force_update_dynamic_modifier = yes
		#custom_effect_tooltip = YUN_carrot_and_stick_tt
	}
}

shared_focus = {
	id = YUN_for_the_people
	icon = GFX_focus_YUN_for_the_people

	prerequisite = {
		focus = YUN_nationalist_zeal
	}
	prerequisite = {
		focus = YUN_carrot_and_stick
	}

	relative_position_id = YUN_nationalist_zeal

	x = 1
	y = 2
	cost = 2.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_for_the_people"
		set_temp_variable = { tempLegitimacyTick = 2 }
		YUN_WI_legitimacy_tick_change = yes
		set_temp_variable = { tempAdminBonus = 0.5 }
		WI_calc_admin_bonus = yes
		set_temp_variable = { tempMomentumTick = 1 }
		WI_calc_momentum_tick = yes
		#add_to_variable = { YUN_npabuff_recruits = 0.20 }
		#add_to_variable = { YUN_npabuff_org = -0.10 }
		#add_to_variable = { YUN_npabuff_atk = -0.10 }
	}
}

shared_focus = {
	id = YUN_for_china
	icon = GFX_focus_YUN_for_china

	prerequisite = {
		focus = YUN_for_the_nation
	}
	prerequisite = {
		focus = YUN_for_the_country
	}
	prerequisite = {
		focus = YUN_for_the_people
	}

	relative_position_id = YUN_for_the_nation

	x = 5
	y = 1
	cost = 2.00
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_for_china"
		custom_effect_tooltip = YUN_for_china_tt
		add_to_variable = { YUN_npabuff_atk_bonus = 0.05 }
		add_to_variable = { YUN_npabuff_def_bonus = 0.05 }
		add_to_variable = { YUN_npabuff_war_support_bonus = 0.1 }
		add_to_variable = { YUN_npabuff_surrender = 0.2 }
		add_to_variable = { YUN_npabuff_org_bonus = 0.05 }
		force_update_dynamic_modifier = yes
		set_temp_variable = { tempMomentumTick = 1.5 }
		WI_calc_momentum_tick = yes
	}
}

#Slavery tree THAT IS BAD AND YOU SHOULD FEEL BAD

shared_focus = {
	id = YUN_a_response_to_the_disturbance_is_needed
	icon = GFX_focus_generic_red_alert
	allow_branch = {
		has_country_flag = YUN_slavery_tree
	}
	relative_position_id = YUN_take_a_day_off
	x = 5
	y = 2

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_a_response_to_the_disturbance_is_needed"
		country_event = yun.209
	}
}

shared_focus = {
	id = YUN_putting_an_end_to_disorder
	icon = GFX_focus_generic_iron_fist
	prerequisite = {
		focus = YUN_a_response_to_the_disturbance_is_needed
	}
	available = {
		always = no
	}
	bypass = {
		has_country_flag = YUN_slave_good
	}
	mutually_exclusive = {
		focus = YUN_moving_into_the_future
		focus = YUN_sustainability_is_key
	}
	relative_position_id = YUN_a_response_to_the_disturbance_is_needed
	x = 5
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_putting_an_end_to_disorder"
		custom_effect_tooltip = CHI_bypass_focus_tt
	}
}


shared_focus = {
	id = YUN_moving_into_the_future
	icon = GFX_focus_generic_fight_for_freedom
	prerequisite = {
		focus = YUN_a_response_to_the_disturbance_is_needed
	}
	available = {
		always = no
	}
	bypass = {
		has_country_flag = YUN_slave_bad
	}
	mutually_exclusive = {
		focus = YUN_sustainability_is_key
		focus = YUN_putting_an_end_to_disorder
	}
	relative_position_id = YUN_a_response_to_the_disturbance_is_needed
	x = -5
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_moving_into_the_future"
		custom_effect_tooltip = CHI_bypass_focus_tt
	}
}

shared_focus = {
	id = YUN_for_a_stronger_better_xinan
	icon = GFX_focus_YUN_two_brothers_still
	prerequisite = {
		focus = YUN_moving_into_the_future
	}
	relative_position_id = YUN_moving_into_the_future
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_for_a_stronger_better_xinan"
		add_political_power = 75
	}
}

shared_focus = {
	id = YUN_find_more_agreeable_ministers
	icon = GFX_focus_generic_cabinet_reshuffle
	prerequisite = {
		focus = YUN_for_a_stronger_better_xinan
	}
	relative_position_id = YUN_for_a_stronger_better_xinan
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_find_more_agreeable_ministers"
	}
}

shared_focus = {
	id = YUN_this_is_not_a_revolution
	icon = GFX_focus_generic_rich_help_others
	prerequisite = {
		focus = YUN_find_more_agreeable_ministers
	}
	mutually_exclusive = {
		focus = YUN_legal_equality_for_the_white_and_black
	}
	relative_position_id = YUN_find_more_agreeable_ministers
	x = -2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_this_is_not_a_revolution"
		add_stability = -0.05
	}
}

shared_focus = {
	id = YUN_at_least_we_can_trust_each_other
	icon = GFX_focus_generic_we_failed_the_rich
	prerequisite = {
		focus = YUN_this_is_not_a_revolution
	}
	relative_position_id = YUN_this_is_not_a_revolution
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_at_least_we_can_trust_each_other"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_0
			add_idea = YUN_a_government_of_friends_D1
		}
	}
}

shared_focus = {
	id = YUN_legal_equality_for_the_white_and_black
	icon = GFX_focus_generic_bill_of_rights
	prerequisite = {
		focus = YUN_find_more_agreeable_ministers
	}
	mutually_exclusive = {
		focus = YUN_this_is_not_a_revolution
	}
	relative_position_id = YUN_find_more_agreeable_ministers
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_legal_equality_for_the_white_and_black"
		add_stability = -0.15
	}
}

shared_focus = {
	id = YUN_state_and_nation_over_family
	icon = GFX_focus_USA_duty_to_country
	prerequisite = {
		focus = YUN_legal_equality_for_the_white_and_black
	}
	relative_position_id = YUN_legal_equality_for_the_white_and_black
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_state_and_nation_over_family"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_0
			add_idea = YUN_a_government_of_friends_D2
		}
	}
}

shared_focus = {
	id = YUN_make_it_so
	icon = GFX_focus_generic_freedom_must_be_found
	prerequisite = {
		focus = YUN_state_and_nation_over_family
		focus = YUN_at_least_we_can_trust_each_other
	}
	relative_position_id = YUN_state_and_nation_over_family
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_make_it_so"
		add_stability = 0.05
		remove_ideas = YUN_Slave_revolt_0
		tno_slavery_clear = yes
		add_ideas = tno_slavery_outlawed
		clr_country_flag = YUN_slavery_tree
		custom_effect_tooltip = CHI_Calm_Zhu_Down_tt
		YUN_reload_tree = yes
	}
}

shared_focus = {
	id = YUN_sustainability_is_key
	icon = GFX_focus_generic_fight_for_stability
	prerequisite = {
		focus = YUN_a_response_to_the_disturbance_is_needed
	}
	available = {
		always = no
	}
	bypass = {
		has_country_flag = YUN_slave_reform
	}
	mutually_exclusive = {
		focus = YUN_moving_into_the_future
		focus = YUN_putting_an_end_to_disorder
	}
	relative_position_id = YUN_a_response_to_the_disturbance_is_needed
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_sustainability_is_key"
		custom_effect_tooltip = CHI_bypass_focus_tt
	}
}

shared_focus = {
	id = YUN_livable_conditions
	icon = GFX_focus_generic_modern_construction_equipment_red
	prerequisite = {
		focus = YUN_sustainability_is_key
	}
	relative_position_id = YUN_sustainability_is_key
	x = -2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_livable_conditions"
		TNO_improve_poverty_low = yes
	}
}

shared_focus = {
	id = YUN_rewards_for_seniority
	icon = GFX_focus_generic_slavery_toppled
	prerequisite = {
		focus = YUN_livable_conditions
	}
	relative_position_id = YUN_livable_conditions
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_rewards_for_seniority"
		swap_ideas = {
			remove_idea = YUN_Slave_revolt_0
			add_idea = YUN_Slave_revolt_2
		}
	}
}

shared_focus = {
	id = YUN_limit_the_sources_of_new_labor
	icon = GFX_focus_generic_workers_for_business
	prerequisite = {
		focus = YUN_rewards_for_seniority
	}
	relative_position_id = YUN_rewards_for_seniority
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_limit_the_sources_of_new_labor"
		add_stability = 0.05
		if = {
			limit = { has_idea = tno_slavery_chattel }
			tno_slavery_improve = yes
		}
	}
}

shared_focus = {
	id = YUN_protection_against_undue_abuse
	icon = GFX_focus_generic_change_law_welfare
	prerequisite = {
		focus = YUN_limit_the_sources_of_new_labor
	}
	relative_position_id = YUN_limit_the_sources_of_new_labor
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_protection_against_undue_abuse"
		tno_regulations_improve = yes
		tno_safety_improve = yes
	}
}

shared_focus = {
	id = YUN_bureaucratic_security
	icon = GFX_focus_generic_purge_the_bureaucrats
	prerequisite = {
		focus = YUN_sustainability_is_key
	}
	relative_position_id = YUN_sustainability_is_key
	x = 2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_bureaucratic_security"
		add_political_power = 100
	}
}

shared_focus = {
	id = YUN_runaway_slave_patrols
	icon = GFX_focus_generic_desert_patrols
	prerequisite = {
		focus = YUN_bureaucratic_security
	}
	relative_position_id = YUN_bureaucratic_security
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_runaway_slave_patrols"
		add_ideas = YUN_Slave_patrols
	}
}

shared_focus = {
	id = YUN_assurances_of_yi_dominance
	icon = GFX_focus_rom_parties_end
	prerequisite = {
		focus = YUN_runaway_slave_patrols
	}
	relative_position_id = YUN_runaway_slave_patrols
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_assurances_of_yi_dominance"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_0
			add_idea = YUN_a_government_of_friends_C
		}
	}
}

shared_focus = {
	id = YUN_pay_your_fair_share
	icon = GFX_focus_generic_a_paying_job
	prerequisite = {
		focus = YUN_assurances_of_yi_dominance
	}
	relative_position_id = YUN_assurances_of_yi_dominance
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_pay_your_fair_share"

	}
}

shared_focus = {
	id = YUN_the_new_status_quo
	icon = GFX_focus_generic_limited_state_newspaper
	prerequisite = {
		focus = YUN_pay_your_fair_share
	}
	prerequisite = {
		focus = YUN_protection_against_undue_abuse
	}

	relative_position_id = YUN_pay_your_fair_share
	x = -2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_new_status_quo"
		add_political_power = 150
		add_stability = -0.15
		clr_country_flag = YUN_slavery_tree
		custom_effect_tooltip = CHI_Calm_Zhu_Down_tt
		YUN_reload_tree = yes
	}
}

shared_focus = {
	id = YUN_remind_the_slaves_of_their_place
	icon = GFX_focus_generic_penal_brigade
	prerequisite = {
		focus = YUN_putting_an_end_to_disorder
	}
	relative_position_id = YUN_putting_an_end_to_disorder
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_remind_the_slaves_of_their_place"
		swap_ideas = {
			remove_idea = YUN_Slave_revolt_0
			add_idea = YUN_Slave_revolt_1
		}
	}
}

shared_focus = {
	id = YUN_the_legal_right_of_the_landlord
	icon = GFX_focus_generic_national_land_reform
	prerequisite = {
		focus = YUN_remind_the_slaves_of_their_place
	}
	relative_position_id = YUN_remind_the_slaves_of_their_place
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_the_legal_right_of_the_landlord"
		add_political_power = -50
	}
}

shared_focus = {
	id = YUN_do_not_interfere
	icon = GFX_focus_generic_selling_off_the_land
	prerequisite = {
		focus = YUN_the_legal_right_of_the_landlord
	}
	mutually_exclusive = {
		focus = YUN_no_oppression_without_taxation
	}
	relative_position_id = YUN_the_legal_right_of_the_landlord
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_do_not_interfere"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_0
			add_idea = YUN_a_government_of_friends_A1
		}
	}
}

shared_focus = {
	id = YUN_devolve_responsibility_to_the_owner
	icon = GFX_focus_generic_common_responsibilities
	prerequisite = {
		focus = YUN_do_not_interfere
	}
	relative_position_id = YUN_do_not_interfere
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_devolve_responsibility_to_the_owner"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_A1
			add_idea = YUN_a_government_of_friends_A2
		}
	}
}

shared_focus = {
	id = YUN_no_oppression_without_taxation
	icon = GFX_focus_generic_blood_money
	prerequisite = {
		focus = YUN_the_legal_right_of_the_landlord
	}
	mutually_exclusive = {
		focus = YUN_do_not_interfere
	}
	relative_position_id = YUN_the_legal_right_of_the_landlord
	x = 2
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_no_oppression_without_taxation"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_0
			add_idea = YUN_a_government_of_friends_B1
		}
	}
}

shared_focus = {
	id = YUN_headcounts_and_paperwork
	icon = GFX_focus_generic_burning_paperwork
	prerequisite = {
		focus = YUN_no_oppression_without_taxation
	}
	relative_position_id = YUN_no_oppression_without_taxation
	x = 0
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_headcounts_and_paperwork"
		swap_ideas = {
			remove_idea = YUN_a_government_of_friends_B1
			add_idea = YUN_a_government_of_friends_B2
		}
	}
}

shared_focus = {
	id = YUN_tradition_and_stability_codified
	icon = GFX_focus_generic_change_law_slavery
	prerequisite = {
		focus = YUN_headcounts_and_paperwork
		focus = YUN_devolve_responsibility_to_the_owner
	}
	relative_position_id = YUN_devolve_responsibility_to_the_owner
	x = 1
	y = 1

	cost = 3.00

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus YUN_tradition_and_stability_codified"
		tno_slavery_worsen = yes
		add_stability = 0.15
		remove_ideas = YUN_Slave_revolt_1
		TNO_worsen_poverty_low = yes
		clr_country_flag = YUN_slavery_tree
		custom_effect_tooltip = CHI_Calm_Zhu_Down_tt
		YUN_reload_tree = yes
	}
}

