shared_focus = {
	id = QIN_the_last_bastion_of_chinese_freedom
	icon = GFX_focus_QIN_the_last_bastion_of_chinese_freedom
	cost = 1
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	x = 10
	y = 0
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_last_bastion_of_chinese_freedom"
		country_event = { id = nwrg_political.1 hours = 6 }
	}
}

shared_focus = {
	id = QIN_the_year_of_the_tiger
	icon = GFX_focus_QIN_the_year_of_the_tiger
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_last_bastion_of_chinese_freedom
	}
	x = 10
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_year_of_the_tiger"
		add_political_power = 25
		add_stability = 0.05
		hidden_effect = {
		    country_event = { id = nwrg_political.2 hours = 6 }
		}
	}
}

shared_focus = {
	id = QIN_oath_to_the_three_principles
	icon = GFX_focus_QIN_oath_to_the_three_principles
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_year_of_the_tiger
	}
	x = 9
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_oath_to_the_three_principles"
		add_stability = 0.10
		add_war_support = 0.05
		hidden_effect = {
		    country_event = { id = nwrg_political.3 hours = 6 }
		}
	}
}

shared_focus = {
	id = QIN_legacy_of_chiang_kai_shek
	icon = GFX_focus_QIN_legacy_of_chiang_kai_shek
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_year_of_the_tiger
	}
	x = 11
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_legacy_of_chiang_kai_shek"
		TNO_improve_army_professionalism_low = yes
		hidden_effect = {
		    country_event = { id = nwrg_political.4 hours = 6 }
		}
	}
}

shared_focus = {
	id = QIN_the_panchen_lama_loyalty
	icon = GFX_focus_QIN_the_panchen_lama_loyalty
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_oath_to_the_three_principles
	}
	prerequisite = {
		focus = QIN_legacy_of_chiang_kai_shek
	}
	x = 10
	y = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_panchen_lama_loyalty"
		add_stability = 0.075
		hidden_effect = {
		    country_event = { id = nwrg_political.5 hours = 6 }
		}
	}
}

shared_focus = {
	id = QIN_demons_of_factionalism
	icon = GFX_focus_QIN_demons_of_factionalism
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
		always = no
	}
	prerequisite = {
		focus = QIN_the_panchen_lama_loyalty
	}
	x = 10
	y = 4
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_demons_of_factionalism"
		add_political_power = -50
		add_stability = -0.20
		add_war_support = -0.15
		hidden_effect = {
            load_focus_tree = {
                tree = QIN_initial_tree   # Reloads the same focus tree, marking it as completed.
                keep_completed = yes    # Instead of doing load_focus_tree, the mark_focus_tree_layout_dirty can be moved to be within immediate effects of a hidden event that's fired by this focus with no delay.
            }
            mark_focus_tree_layout_dirty = yes  # Updates the offset and allow_branch.
        }
	}
}

shared_focus = {
	id = QIN_the_academic_dilemma
	icon = GFX_focus_QIN_the_academic_dilemma
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	allow_branch = {
	    has_completed_focus = QIN_demons_of_factionalism
	}
	mutually_exclusive = {
	    focus = QIN_the_economist_gambit
		focus = QIN_the_orthodox_line
		focus = QIN_the_officer_duty
	}
	prerequisite = {
		focus = QIN_demons_of_factionalism
	}
	x = 4
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_academic_dilemma"
		custom_effect_tooltip = QIN_academia_sinica_advice_tt
		hidden_effect = {
		    add_popularity = {
			    ideology = paternalism
				popularity = 0.03
			}
			add_popularity = {
			    ideology = paternalism_1
				popularity = 0.01
			}
			QIN_sync_party_seats_from_popularity = yes
			country_event = { id = nwrg_political.7 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_the_economist_gambit
	icon = GFX_focus_QIN_the_economist_gambit
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	allow_branch = {
	    has_completed_focus = QIN_demons_of_factionalism
	}
	mutually_exclusive = {
	    focus = QIN_the_academic_dilemma
		focus = QIN_the_orthodox_line
		focus = QIN_the_officer_duty
	}
	prerequisite = {
		focus = QIN_demons_of_factionalism
	}
	x = 8
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_economist_gambit"
		custom_effect_tooltip = QIN_technocratic_development_advice_tt
		hidden_effect = {
		    add_popularity = {
			    ideology = paternalism_1
				popularity = 0.03
			}
			add_popularity = {
			    ideology = paternalism
				popularity = 0.01
			}
			QIN_sync_party_seats_from_popularity = yes
			country_event = { id = nwrg_political.8 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_the_orthodox_line
	icon = GFX_focus_QIN_the_orthodox_line
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	allow_branch = {
	    has_completed_focus = QIN_demons_of_factionalism
	}
	mutually_exclusive = {
	    focus = QIN_the_academic_dilemma
		focus = QIN_the_economist_gambit
		focus = QIN_the_officer_duty
	}
	prerequisite = {
		focus = QIN_demons_of_factionalism
	}
	x = 12
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_orthodox_line"
		custom_effect_tooltip = QIN_vanguard_party_advice_tt
		hidden_effect = {
		    add_popularity = {
			    ideology = despotism_1
				popularity = 0.03
			}
			add_popularity = {
			    ideology = despotism
				popularity = 0.01
			}
			QIN_sync_party_seats_from_popularity = yes
			country_event = { id = nwrg_political.9 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_the_officer_duty
	icon = GFX_focus_QIN_the_officer_duty
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	allow_branch = {
	    has_completed_focus = QIN_demons_of_factionalism
	}
	mutually_exclusive = {
	    focus = QIN_the_academic_dilemma
		focus = QIN_the_economist_gambit
		focus = QIN_the_orthodox_line
	}
	prerequisite = {
		focus = QIN_demons_of_factionalism
	}
	x = 16
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_officer_duty"
		custom_effect_tooltip = QIN_securocratic_advice_tt
		hidden_effect = {
		    add_popularity = {
			    ideology = despotism
				popularity = 0.03
			}
			QIN_sync_party_seats_from_popularity = yes
			country_event = { id = nwrg_political.10 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_improve_prestige_of_our_schools
	icon = GFX_focus_QIN_improve_prestige_of_our_schools
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_academic_dilemma
	}
	x = 3
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_improve_prestige_of_our_schools"
		TNO_improve_research_facilities_low = yes
	}
}

shared_focus = {
	id = QIN_the_future_is_in_our_children
	icon = GFX_focus_QIN_the_future_is_in_our_children
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_improve_prestige_of_our_schools
	}
	x = 2
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_future_is_in_our_children"
		TNO_improve_academic_base_low = yes
	}
}

shared_focus = {
	id = QIN_dai_jitao_school_of_thought
	icon = GFX_focus_QIN_dai_jitao_school_of_thought
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_academic_dilemma
	}
	x = 4
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_dai_jitao_school_of_thought"
		tno_improve_academic_base = yes
	}
}

shared_focus = {
	id = QIN_more_civilian_government
	icon = GFX_focus_QIN_more_civilian_government
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_future_is_in_our_children
	}
	prerequisite = {
	    focus = QIN_dai_jitao_school_of_thought
	}
	x = 3
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_more_civilian_government"
		add_political_power = 25
		add_stability = 0.10
	}
}

shared_focus = {
	id = QIN_replace_old_guard_with_fresh_minds
	icon = GFX_focus_QIN_replace_old_guard_with_fresh_minds
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_more_civilian_government
	}
	x = 3
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_replace_old_guard_with_fresh_minds"
		TNO_improve_admin_efficiency_low = yes
	}
}

shared_focus = {
	id = QIN_improve_life_in_villages
	icon = GFX_focus_QIN_improve_life_in_villages
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_academic_dilemma
		focus = QIN_the_economist_gambit
	}
	x = 6
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_improve_life_in_villages"
		QIN = {
			set_temp_variable = { pus_temp = 1 }
			econ_pus_change = yes
		}
		764 = {
		    add_extra_state_shared_building_slots = 2
		    add_building_construction = {
	            type = schools
        	    level = 2
	            instant_build = yes
			}
        }
		604 = { 
		    add_extra_state_shared_building_slots = 1
		    add_building_construction = {
	            type = offices
        	    level = 1
	            instant_build = yes
			}
        }
	}
}

shared_focus = {
	id = QIN_invest_into_our_cities
	icon = GFX_focus_QIN_invest_into_our_cities
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_improve_life_in_villages
	}
	x = 6
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_invest_into_our_cities"
		QIN = {
			set_temp_variable = { pus_temp = 2 }
			econ_pus_change = yes
		}
		764 = {
		    add_extra_state_shared_building_slots = 2
		    add_building_construction = {
	            type = offices
        	    level = 2
	            instant_build = yes
			}
        }
		906 = {
		    add_extra_state_shared_building_slots = 1
		    add_building_construction = {
	            type = offices
        	    level = 1
	            instant_build = yes
			}
        }
	}
}

shared_focus = {
	id = QIN_further_development
	icon = GFX_focus_QIN_further_development
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_invest_into_our_cities
	}
	x = 6
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_further_development"
		604 = { 
		    add_extra_state_shared_building_slots = 2
		    add_building_construction = {
	            type = offices
        	    level = 1
	            instant_build = yes
			}
			add_building_construction = {
	            type = schools
        	    level = 1
	            instant_build = yes
			}
        }
		906 = { 
		    add_extra_state_shared_building_slots = 2
		    add_building_construction = {
	            type = hospitals
        	    level = 2
	            instant_build = yes
			}
        }
	}
}

shared_focus = {
	id = QIN_fund_our_institutions
	icon = GFX_focus_QIN_fund_our_institutions
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_further_development
	}
	x = 6
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_fund_our_institutions"
		TNO_improve_health_care_policy_effectiveness_low = yes
		TNO_improve_education_policy_effectiveness_low = yes
	}
}

shared_focus = {
	id = QIN_reform_the_government
	icon = GFX_focus_QIN_reform_the_government
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_replace_old_guard_with_fresh_minds
	}
	prerequisite = {
		focus = QIN_fund_our_institutions
	}
	x = 4
	y = 10
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_reform_the_government"
		add_stability = -0.15
		TNO_improve_admin_efficiency_med = yes
	}
}

shared_focus = {
	id = QIN_ties_with_the_us
	icon = GFX_focus_QIN_ties_with_the_us
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_economist_gambit
	}
	x = 8
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_ties_with_the_us"
		QIN = {
		    add_opinion_modifier = { target = USA modifier = sino_american_friendship }
		}
		USA = {
		    add_opinion_modifier = { target = QIN modifier = sino_american_friendship }
		}
	}
}

shared_focus = {
	id = QIN_look_upon_their_model
	icon = GFX_focus_QIN_look_upon_their_model
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_ties_with_the_us
	}
	x = 8
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_look_upon_their_model"
		QIN = {
			set_temp_variable = { pus_temp = 1 }
			econ_pus_change = yes
		}
	}
}

shared_focus = {
	id = QIN_dig_deep_for_resources
	icon = GFX_focus_QIN_dig_deep_for_resources
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_economist_gambit
		focus = QIN_the_orthodox_line
	}
	x = 10
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_dig_deep_for_resources"
		add_resource = {
			type = tungsten
			amount = 4
			state = 764
		}
		add_resource = {
			type = chromium
			amount = 2
			state = 906
		}
	}
}

shared_focus = {
	id = QIN_build_more_factories
	icon = GFX_focus_QIN_build_more_factories
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_dig_deep_for_resources
	}
	x = 10
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_build_more_factories"
		country_event = { id = nwrg_political.21 hours = 3 }
	}
}

shared_focus = {
	id = QIN_preserve_our_values
	icon = GFX_focus_QIN_preserve_our_values
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_orthodox_line
	}
	x = 12
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_preserve_our_values"
		add_stability = 0.05
		add_war_support = 0.05
		TNO_improve_academic_base_low = yes
	}
}

shared_focus = {
	id = QIN_the_party_order
	icon = GFX_focus_QIN_the_party_order
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_preserve_our_values
	}
	x = 12
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_party_order"
		TNO_improve_admin_efficiency_low = yes
	}
}

shared_focus = {
	id = QIN_liu_youchen_golden_plan
	icon = GFX_focus_QIN_liu_youchen_golden_plan
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_build_more_factories
	}
	prerequisite = {
		focus = QIN_look_upon_their_model
	}
	x = 9
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_liu_youchen_golden_plan"
		set_temp_variable = { gdp_growth_temp = 1.15 }
		set_temp_variable = { debt_temp = 0.050 }
		econ_national_debt_change = yes
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = QIN_for_welfare_of_our_citizens
	icon = GFX_focus_QIN_for_welfare_of_our_citizens
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_liu_youchen_golden_plan
	}
	x = 9
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_for_welfare_of_our_citizens"
		add_stability = 0.075
		TNO_improve_healthcare_low = yes
		TNO_improve_academic_base_low = yes
	}
}

shared_focus = {
	id = QIN_industrialize_xining
	icon = GFX_focus_QIN_industrialize_xining
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_build_more_factories
	}
	prerequisite = {
		focus = QIN_the_party_order
	}
	x = 11
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_industrialize_xining"
		QIN = {
			set_temp_variable = { pus_temp = 1 }
			econ_pus_change = yes
		}
		906 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
			}
		}
	}
}

shared_focus = {
	id = QIN_more_heavy_industry
	icon = GFX_focus_QIN_more_heavy_industry
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_industrialize_xining
	}
	x = 11
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_more_heavy_industry"
		add_resource = {
			type = steel
			amount = 2
			state = 764
		}
	}
}

shared_focus = {
	id = QIN_technocrats_and_bureaucrats_in_offices
	icon = GFX_focus_QIN_technocrats_and_bureaucrats_in_offices
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_fund_our_institutions
	}
	prerequisite = {
	    focus = QIN_for_welfare_of_our_citizens
	}
	x = 8
	y = 10
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_technocrats_and_bureaucrats_in_offices"
		TNO_improve_admin_efficiency_low = yes
		TNO_improve_academic_base_low = yes
	}
}

shared_focus = {
	id = QIN_government_for_the_people
	icon = GFX_focus_QIN_government_for_the_people
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_reform_the_government
	    focus = QIN_technocrats_and_bureaucrats_in_offices
	}
	x = 6
	y = 11
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_government_for_the_people"
		set_temp_variable = { gdp_growth_temp = 1.25 }
		set_temp_variable = { debt_temp = 0.025 }
		econ_national_debt_change = yes
		econ_gdp_growth_change = yes
	}
}

shared_focus = {
	id = QIN_the_golden_years
	icon = GFX_focus_QIN_the_golden_years
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_for_welfare_of_our_citizens
	    focus = QIN_more_heavy_industry
		focus = QIN_technocrats_and_bureaucrats_in_offices
		focus = QIN_modernize_nra
		focus = QIN_reform_the_government
		focus = QIN_preserve_status_quo
	}
	x = 10
	y = 11
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_golden_years"
		add_stability = 0.15
		set_temp_variable = { gdp_growth_temp = 1.25 }
		econ_gdp_growth_change = yes
		QIN = {
			set_temp_variable = { pus_temp = 1 }
			econ_pus_change = yes
		}
	}
}

shared_focus = {
	id = QIN_introduce_new_policies_and_laws
	icon = GFX_focus_QIN_introduce_new_policies_and_laws
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_orthodox_line
		focus = QIN_the_officer_duty
	}
	x = 14
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_introduce_new_policies_and_laws"
		TNO_improve_education_policy_effectiveness_low = yes
		TNO_improve_health_care_policy_effectiveness_low = yes
		TNO_improve_admin_efficiency_low = yes
		TNO_improve_trade_laws_policy_effectiveness_low = yes
	}
}

shared_focus = {
	id = QIN_anti_japanese_propaganda
	icon = GFX_focus_QIN_anti_japanese_propaganda
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_introduce_new_policies_and_laws
	}
	x = 14
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_anti_japanese_propaganda"
		add_ideas = QIN_Anti_Japanese_Propaganda_idea
	}
}

shared_focus = {
	id = QIN_cult_of_chiang_kai_shek
	icon = GFX_focus_QIN_cult_of_chiang_kai_shek
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_anti_japanese_propaganda
	}
	x = 14
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_cult_of_chiang_kai_shek"
		add_ideas = QIN_Chiang_Kai_Shek_Cult
	}
}

shared_focus = {
	id = QIN_indoctrinate_our_people
	icon = GFX_focus_QIN_indoctrinate_our_people
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_cult_of_chiang_kai_shek
	}
	x = 14
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_indoctrinate_our_people"
		add_ideas = QIN_Ideological_Indoctrination
	}
}

shared_focus = {
	id = QIN_modernize_nra
	icon = GFX_focus_QIN_modernize_nra
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_more_heavy_industry
	}
	prerequisite = {
	    focus = QIN_indoctrinate_our_people
	}
	x = 12
	y = 10
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_modernize_nra"
		add_war_support = 0.025
		TNO_improve_army_professionalism_low = yes
	}
}

shared_focus = {
	id = QIN_try_to_give_hope_of_freedom
	icon = GFX_focus_QIN_try_to_give_hope_of_freedom
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_officer_duty
	}
	x = 16
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_try_to_give_hope_of_freedom"
		add_popularity = {
			ideology = paternalism
			popularity = 0.025
		}
		hidden_effect = {
			QIN_sync_party_seats_from_popularity = yes
		}
		TNO_improve_political_parties_policy_effectiveness_low = yes
		TNO_improve_public_meetings_policy_effectiveness_low = yes
	}
}

shared_focus = {
	id = QIN_police_stations_of_northwest
	icon = GFX_focus_QIN_police_stations_of_northwest
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_the_officer_duty
	}
	x = 17
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_police_stations_of_northwest"
		906 = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = prisons
				level = 2
				instant_build = yes
			}
		}
	}
}

shared_focus = {
	id = QIN_security_and_order
	icon = GFX_focus_QIN_security_and_order
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_police_stations_of_northwest
	}
	x = 18
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_security_and_order"
		TNO_improve_security_policy_effectiveness_low = yes
	}
}

shared_focus = {
	id = QIN_safety_is_necessary
	icon = GFX_focus_QIN_safety_is_necessary
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_try_to_give_hope_of_freedom
	}
	prerequisite = {
		focus = QIN_security_and_order
	}
	x = 17
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_safety_is_necessary"
		add_stability = 0.075
		TNO_improve_admin_efficiency_really_low = yes
	}
}

shared_focus = {
	id = QIN_for_china_is_the_most_important
	icon = GFX_focus_QIN_for_china_is_the_most_important
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = QIN_safety_is_necessary
	}
	x = 17
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_for_china_is_the_most_important"
		add_ideas = QIN_We_Fight_Together_For_China
		add_war_support = 0.05
	}
}

shared_focus = {
	id = QIN_preserve_status_quo
	icon = GFX_focus_QIN_preserve_status_quo
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_indoctrinate_our_people
	}
	prerequisite = {
		focus = QIN_for_china_is_the_most_important
	}
	x = 16
	y = 10
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_preserve_status_quo"
		TNO_improve_political_parties_policy_effectiveness_low = yes
	}
}

shared_focus = {
	id = QIN_delay_the_democratic_processes
	icon = GFX_focus_QIN_delay_the_democratic_processes
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_modernize_nra
		focus = QIN_preserve_status_quo
	}
	x = 14
	y = 11
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_delay_the_democratic_processes"
		add_stability = -0.075
		add_war_support = -0.1
	}
}

shared_focus = {
	id = QIN_prepare_for_the_9th_national_congress
	icon = GFX_focus_QIN_prepare_for_the_9th_national_congress
	cost = 9
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_the_golden_years
	}
	prerequisite = {
		focus = QIN_government_for_the_people
		focus = QIN_delay_the_democratic_processes
	}
	x = 10
	y = 12
	select_effect = {
		country_event = { id = nwrg_congress.22 days = 14 }
		country_event = { id = nwrg_congress.23 days = 35 }
		country_event = { id = nwrg_congress.24 days = 56 }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_prepare_for_the_9th_national_congress"
		custom_effect_tooltip = QIN_congress_for_future_china_tt
		hidden_effect = {
			country_event = { id = nwrg_congress.15 hours = 3 }
            load_focus_tree = {
                tree = QIN_initial_tree   # Reloads the same focus tree, marking it as completed.
                keep_completed = yes    # Instead of doing load_focus_tree, the mark_focus_tree_layout_dirty can be moved to be within immediate effects of a hidden event that's fired by this focus with no delay.
            }
            mark_focus_tree_layout_dirty = yes  # Updates the offset and allow_branch.
        }
	}
}

shared_focus = {
	id = QIN_question_of_japan
	icon = GFX_focus_QIN_question_of_japan
	cost = 3
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	allow_branch = {
	    has_completed_focus = QIN_prepare_for_the_9th_national_congress
	}
	prerequisite = {
	    focus = QIN_prepare_for_the_9th_national_congress
	}
	x = 9
	y = 13
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_question_of_japan"
		custom_effect_tooltip = QIN_japan_question_tt
		country_event = { id = nwrg_congress.20 hours = 3 }
	}
}

shared_focus = {
	id = QIN_the_fate_of_collaborators
	icon = GFX_focus_QIN_the_fate_of_collaborators
	cost = 3
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	allow_branch = {
	    has_completed_focus = QIN_prepare_for_the_9th_national_congress
	}
	prerequisite = {
	    focus = QIN_prepare_for_the_9th_national_congress
	}
	x = 11
	y = 13
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_fate_of_collaborators"
		custom_effect_tooltip = QIN_hanjian_question_tt
		country_event = { id = nwrg_congress.21 hours = 3 }
	}
}

shared_focus = {
	id = QIN_the_most_important_question
	icon = GFX_focus_QIN_the_most_important_question
	cost = 3
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_question_of_japan
	}
	prerequisite = {
	    focus = QIN_the_fate_of_collaborators
	}
	x = 10
	y = 14
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_most_important_question"
		custom_effect_tooltip = QIN_RoC_government_tt
		hidden_effect = {
		    country_event = { id = nwrg_congress.4 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_military_dictatorship
	icon = GFX_focus_QIN_military_dictatorship
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	mutually_exclusive = {
	    focus = QIN_civilian_rulership
	}
	prerequisite = {
	    focus = QIN_the_most_important_question
	}
	x = 9
	y = 15
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_military_dictatorship"
	}
}

shared_focus = {
	id = QIN_civilian_rulership
	icon = GFX_focus_QIN_civilian_rulership
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	mutually_exclusive = {
	    focus = QIN_military_dictatorship
	}
	prerequisite = {
	    focus = QIN_the_most_important_question
	}
	x = 11
	y = 15
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_civilian_rulership"
	}
}

shared_focus = {
	id = QIN_the_mongolian_border
	icon = GFX_focus_QIN_the_mongolian_border
	cost = 4
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_military_dictatorship
	    focus = QIN_civilian_rulership
	}
	x = 10
	y = 16
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_the_mongolian_border"
		hidden_effect = {
		    country_event = { id = nwrg_congress.7 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_strike_them_down
	icon = GFX_focus_QIN_strike_them_down
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	#mutually_exclusive = {
	#    focus = QIN_not_worth_the_men
	#}
	prerequisite = {
	    focus = QIN_the_mongolian_border
	}
	x = 10
	y = 17
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_strike_them_down"
		hidden_effect = {
		    country_event = { id = nwrg_congress.8 hours = 3 }
		}
		custom_effect_tooltip = QIN_strike_the_mongolian_troops_tt
	}
}

#shared_focus = {
#	id = QIN_not_worth_the_men
#	icon = GFX_focus_QIN_not_worth_the_men
#	cost = 0
#	available_if_capitulated = no
#	ai_will_do = {
#		factor = 1
#	}
#	available = {
#	    always = no
#	}
#	mutually_exclusive = {
#	    focus = QIN_strike_them_down
#	}
#	prerequisite = {
#	    focus = QIN_the_mongolian_border
#	}
#	x = 12
#	y = 17
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus QIN_not_worth_the_men"
#		hidden_effect = {
#		    country_event = { id = nwrg_congress.9 hours = 3 }
#		}
#	}
#}

shared_focus = {
	id = QIN_choose_zhu_successor
	icon = GFX_focus_QIN_choose_zhu_successor
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
	    focus = QIN_strike_them_down
		#focus = QIN_not_worth_the_men
	}
	x = 10
	y = 18
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_choose_zhu_successor"
		hidden_effect = {
		    country_event = { id = nwrg_congress.10 hours = 3 }
		}
	}
}

shared_focus = {
	id = QIN_from_nra
	icon = GFX_focus_QIN_from_nra
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	mutually_exclusive = {
	    focus = QIN_from_crp
	}
	prerequisite = {
	    focus = QIN_choose_zhu_successor
	}
	x = 9
	y = 19
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_from_nra"
	}
}

shared_focus = {
	id = QIN_from_crp
	icon = GFX_focus_QIN_from_crp
	cost = 0
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
	    always = no
	}
	mutually_exclusive = {
	    focus = QIN_from_nra
	}
	prerequisite = {
	    focus = QIN_choose_zhu_successor
	}
	x = 11
	y = 19
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_from_crp"
	}
}

shared_focus = {
	id = QIN_their_land_their_blood
	icon = GFX_focus_QIN_their_land_their_blood
	cost = 2
	available_if_capitulated = no
	ai_will_do = {
		factor = 1
	}
	available = {
		date > 1963.3.17
	}
	prerequisite = {
	    focus = QIN_from_nra
		focus = QIN_from_crp
	}
	x = 10
	y = 20
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus QIN_their_land_their_blood"
		country_event = { id = nwrg_congress.13 hours = 3 }
	}
}
