focus_tree = {
	id = manchukuo_focus_tsr
	
	country = {
		factor = 0
		modifier = {
			add = 15
			tag = MAN
			has_dlc = "No Compromise, No Surrender"
		}
	}
	

	default = no

	continuous_focus_position = { x = 20 y = 1800 }

#	focus = {
#		id = CHI_
#		icon = GFX_
#		prerequisite = { focus = }
#		mutually_exclusive = { focus =  }
#		x = -3
#		y = 0
#		relative_position_id = 
#
#		cost = 10
#
#		ai_will_do = {
#			factor = 1
#		}
#
#		available = {
#
#		}
#		
#		bypass = {
#
#		}
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		complete_tooltip = {
#
#		}
#
#		completion_reward = {
#
#		}
#	}

	focus = {
		id = MAN_tsr_pacify_the_countryside
		icon = GFX_goal_generic_major_war
		x = 9
		y = 0

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		completion_reward = {
			unlock_decision_category_tooltip = MAN_banditry_category
			set_variable = { MAN_maintain_control_timer = 180 }
			custom_effect_tooltip = MAN_pacify_the_countryside_effect_tooltip
		}
	}

	focus = {
		id = MAN_tsr_army_modernization
		icon = GFX_focus_JAP_strenghten_manchukuo_imperial_army #GFX_goal_generic_small_arms
		prerequisite = { focus = MAN_tsr_pacify_the_countryside }
		x = -2
		y = 1
		relative_position_id = MAN_tsr_pacify_the_countryside

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {
			army_experience = 30
		}
	}

	focus = {
		id = MAN_tsr_mukden_military_academy
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = MAN_tsr_army_modernization }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_army_modernization

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}	

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		
		
		completion_reward = {
			add_ideas = MAN_mukden_military_academy
		}
	}

	focus = {
		id = MAN_tsr_invite_japanese_settlers
		icon = GFX_focus_JAP_promote_japanese_settlement
		prerequisite = { focus = MAN_tsr_pacify_the_countryside }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_pacify_the_countryside

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_idea = MAN_banditry }
			NOT = { has_war_with = JAP }
			JAP = {
				exists = yes
			}
			OR = {
				is_ally_with = JAP
				JAP = {
					has_opinion = {
						target = ROOT
						value > 74
					}		
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {

			JAP = {
				add_opinion_modifier = {
					target = ROOT
					modifier = MAN_accepted_japanese_settlers_opm
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = { has_state_flag = MAN_invite_japanese_settlers_2IC }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

		}

		completion_reward = {

			JAP = {
				add_opinion_modifier = {
					target = ROOT
					modifier = MAN_accepted_japanese_settlers_opm
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_state = {
				limit = { is_fully_controlled_by = ROOT }
				add_manpower = 25417
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = MAN_invite_japanese_settlers_2IC
			}

			random_owned_state = {
				limit = { is_fully_controlled_by = ROOT }
				add_manpower = 33846
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = MAN_invite_japanese_settlers_2IC
			}

		}

	}

	focus = {
		id = MAN_tsr_collective_farms
		icon = GFX_goal_generic_construction
		prerequisite = { focus = MAN_tsr_invite_japanese_settlers }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_invite_japanese_settlers

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			every_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	focus = {
		id = MAN_tsr_law_university
		icon = GFX_focus_research
		prerequisite = { focus = MAN_tsr_collective_farms focus = MAN_tsr_mukden_military_academy focus = MAN_tsr_expand_the_textile_industry }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_collective_farms

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_tsr_research_and_education_department
		icon = GFX_focus_research
		prerequisite = { focus = MAN_tsr_law_university }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_law_university

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				num_of_factories > 50
				all_state = {
					OR = {
						NOT = { is_core_of = CHI }
						NOT = { is_core_of = PRC }
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = { is_in_faction_with = ROOT }
							CONTROLLER = { is_subject_of = ROOT }
						}
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		
		
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1			
		}
	}

	focus = {
		id = MAN_tsr_trade_delegation
		icon = GFX_goal_generic_trade
		prerequisite = { focus = MAN_tsr_pacify_the_countryside }
		x = 2
		y = 1
		relative_position_id = MAN_tsr_pacify_the_countryside

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = MAN_trade_delegation
				bonus = 1.0
				uses = 1
				category = industry
			}
		}
	}

	focus = {
		id = MAN_tsr_expand_the_textile_industry
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = MAN_tsr_trade_delegation }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_trade_delegation

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = MAN_expand_the_textile_industry_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = MAN_expand_the_textile_industry_IC
			}
		}
	}

	focus = {
		id = MAN_tsr_obedience
		icon = GFX_focus_JAP_align_the_concordia_association
		prerequisite = { focus = MAN_tsr_army_modernization }
		mutually_exclusive = { focus = MAN_tsr_assertiveness }
		x = -3
		y = 4
		relative_position_id = MAN_tsr_army_modernization

		cost = 5

		ai_will_do = {
			factor = 6
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 120
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = MAN_manchukuo_film_association
		}
	}

	focus = {
		id = MAN_tsr_hoankyoku
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MAN_tsr_obedience }
		x = -2
		y = 1
		relative_position_id = MAN_tsr_obedience

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_STABILITY }
		

		completion_reward = {

			add_stability = 0.1

			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				if = {
					limit = {
						has_intelligence_agency = no
					}
					create_intelligence_agency = yes
				}
				add_ideas = MAN_hoankyoku_idea
			}

		}
	}

	focus = {
		id = MAN_tsr_expand_the_navy
		icon = GFX_focus_MAN_manchurian_navy
		prerequisite = { focus = MAN_tsr_obedience }
		x = 2
		y = 1
		relative_position_id = MAN_tsr_obedience

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = {  }
		

		completion_reward = {

			navy_experience = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			716 = {
				IF = {
					limit = {
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Man the Guns"
				}
				create_ship = {
					type = ship_hull_light_1
					equipment_variant = "Momo Class"
					creator = JAP
					name = "Hai Wei"
				}
			}
			ELSE = {
				create_ship = {
					type = destroyer_1
					creator = "JAP"
					name = "Hai Wei"
				}
			}	
		}
	}

	focus = {
		id = MAN_tsr_first_five_year_plan
		icon = GFX_goal_generic_production
		prerequisite = { focus = MAN_tsr_obedience }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_obedience

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			country_event = wtt_manchukou.11
		}
	}

	focus = {
		id = MAN_tsr_trading_illicit_goods
		icon = GFX_focus_PRC_allow_special_goods_trade
		prerequisite = { focus = MAN_tsr_first_five_year_plan }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = MAN_tsr_illicit_trade
		}
	}

	focus = {
		id = MAN_tsr_invite_japanese_investors
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = MAN_tsr_first_five_year_plan }
		x = -3
		y = 1
		relative_position_id = MAN_tsr_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			NOT = { has_war_with = JAP }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			random_core_state = {
				prioritize = { 328 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			JAP = {
				country_event = {
					id = tsr_manchukuo.13
					hours = 4
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_expand_the_railways
		icon = GFX_focus_SOV_south_manchuria_railway
		prerequisite = { focus = MAN_tsr_invite_japanese_investors }
		x = 2
		y = 1
		relative_position_id = MAN_tsr_invite_japanese_investors

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {
			OR = {
				716 = {
					is_fully_controlled_by = ROOT
				}
				328 = {
					is_fully_controlled_by = ROOT
				} 
				610 = {
					is_fully_controlled_by = ROOT
				} 
				717 = {
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {

			if = {
					limit = {
						controls_state = 716
					}
					build_railway = { #Mukden-Korean border
						path = {
							11771 9885 3895 3839 3970 6981
						}
					}
					build_railway = { #Mukden - Dalian
						path = {
							11771 987 9781 11764 964 3783
						}
					}
				}
			if = {
				limit = { 
					328 = { is_fully_controlled_by = ROOT } 
					controls_state = 715
					controls_state = 716
				}
				build_railway = {
					path = { #Mukden - Hsinking - Harbin
						11771 11808 916 4642 4572 4503 7652 10433
					}
				}
			}
			if = {
				limit = {
					controls_state = 716
					controls_state = 610
				}
				build_railway = { #Mukden - Chinese border
					path = { 11771 6951 11815 9835 6837 11886 3900 }
				}
			}
			if = {
				limit = {
					controls_state = 714
					controls_state = 715
				}
				build_railway = { #Mukden - central Manchuria
					path = { 11771 846 9831 930 4633 4561 4506 7582 10433 }
				}
			}

			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}

				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}

				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = MAN_south_manchuria_railway_company

		}

	}

	focus = {
		id = MAN_tsr_expand_showa_steel_works
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = MAN_tsr_invite_japanese_investors }
		x = -2
		y = 1
		relative_position_id = MAN_tsr_invite_japanese_investors

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			716 = { is_fully_controlled_by = ROOT }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			716 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = MAN_develop_liaotung_iron_ore_deposits
			unlock_decision_tooltip = MAN_establish_the_erdaojiang_special_steel_experimental_plant
		}
		
	}

	focus = {
		id = MAN_tsr_develop_aluminum_sources
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = MAN_tsr_expand_showa_steel_works }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_expand_showa_steel_works

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = { has_tech = excavation1 }
				add_tech_bonus = {
					name = MAN_develop_aluminum_sources
					bonus = 1.0
					uses = 1
					category = excavation_tech
				}
			}
			else = {
				set_technology = { excavation1 = 1 }
			}
			unlock_decision_tooltip = MAN_develop_kirin_aluminium_deposits
		}
	}

	focus = {
		id = MAN_tsr_strengthen_ties_with_nissan
		icon = GFX_focus_generic_truck
		prerequisite = { focus = MAN_tsr_invite_japanese_investors }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_invite_japanese_investors

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
		}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = unlock_mio_tt
				show_mio_tooltip = JAP_nissan_organization
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = MAN_nissan
			}
			add_tech_bonus = {
				name = MAN_tsr_strengthen_ties_with_nissan
				bonus = 1
				uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = MAN_tsr_mangyo
		icon = GFX_focus_generic_industrialists
		prerequisite = { focus = MAN_tsr_strengthen_ties_with_nissan }
		prerequisite = { focus = MAN_tsr_expand_showa_steel_works }
		prerequisite = { focus = MAN_tsr_expand_the_railways }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_strengthen_ties_with_nissan

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_political_power = 50

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = MAN_tsr_mangyo_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = MAN_mangyo

			hidden_effect = {
				IF = {
					limit = {
						has_idea = MAN_showa_steel_works
					}
					swap_ideas = {
						remove_idea = MAN_showa_steel_works
						add_idea = MAN_mangyo
					}
				}
				ELSE_IF = {
					limit = {
						has_idea = MAN_south_manchuria_railway_company
					}
					swap_ideas = {
						remove_idea = MAN_south_manchuria_railway_company
						add_idea = MAN_mangyo
					}
				}
			}

		}
	}

	focus = {
		id = MAN_tsr_social_research_unit
		icon = GFX_focus_JAP_expand_the_showa_research_association
		prerequisite = { focus = MAN_tsr_expand_the_railways }
		x = 2
		y = 2
		relative_position_id = MAN_tsr_invite_japanese_investors

		cost = 10

		ai_will_do = {
			factor = 8
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_tsr_second_five_year_plan
		icon = GFX_goal_generic_production
		prerequisite = { focus = MAN_tsr_mangyo }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_mangyo

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			if = {
				limit = { has_idea = MAN_five_year_plan_air }
				NOT = { has_idea = MAN_five_year_plan_air }
			}
			if = {
				limit = { has_idea = MAN_five_year_plan_tank }
				NOT = { has_idea = MAN_five_year_plan_tank }
			}
			if = {
				limit = { has_idea = MAN_five_year_plan_industry }
				NOT = { has_idea = MAN_five_year_plan_industry }
			}
			if = {
				limit = {
					NOT = { has_idea = MAN_five_year_plan_air }
					NOT = { has_idea = MAN_five_year_plan_tank }
					NOT = { has_idea = MAN_five_year_plan_industry }
				}
				NOT = { has_idea = MAN_five_year_plan_air }
			}
			amount_research_slots > 3
			industrial_complex > 14
			arms_factory > 14
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			country_event = wtt_manchukou.11
		}
	}

	focus = {
		id = MAN_tsr_national_defense_state
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = MAN_tsr_second_five_year_plan }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_second_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = MAN_national_defense_state
		}
	}

	focus = {
		id = MAN_tsr_mukden_arsenal
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = MAN_tsr_first_five_year_plan }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_first_five_year_plan

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			716 = { is_fully_controlled_by = ROOT }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			716 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				mio:CHI_mukden_arsenal_organization = {
					add_mio_size = 2
				}
			}

		}
	}

	focus = {
		id = MAN_tsr_mamc
		icon = GFX_focus_JAP_strenghten_manchukuo_imperial_airforce #GFX_goal_generic_air_fighter
		prerequisite = { focus = MAN_tsr_mukden_arsenal }
		x = 0
		y = 2
		relative_position_id = MAN_tsr_mukden_arsenal

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = MAN_mamc_light_organization
				show_mio_tooltip = MAN_mamc_medium_organization
				show_mio_tooltip = MAN_mamc_heavy_organization

				custom_effect_tooltip = generic_skip_one_line_tt

				mio:MAN_mamc_light_organization = {
					add_mio_funds = 500
				}
				mio:MAN_mamc_medium_organization = {
					add_mio_funds = 500
				}
				mio:MAN_mamc_heavy_organization = {
					add_mio_funds = 500
				}
			}

			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = MAN_mamc_light
				show_ideas_tooltip = MAN_mamc_medium
				show_ideas_tooltip = MAN_mamc_heavy
			}
		}
	}

	focus = {
		id = MAN_tsr_alliance_with_the_kwantung_army
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = MAN_tsr_first_five_year_plan }
		x = 3
		y = 1
		relative_position_id = MAN_tsr_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			remove_ideas = MAN_kwantung_veto

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = MAN_alliance_with_the_kwantung_army
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}

		}

	}

	focus = {
		id = MAN_tsr_request_dalian
		icon = GFX_focus_PER_fascist_reach_out_to_japan
		prerequisite = { focus = MAN_tsr_alliance_with_the_kwantung_army }
		x = 3
		y = 1
		relative_position_id = MAN_tsr_alliance_with_the_kwantung_army

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP = {
				owns_state = 745
				controls_state = 745
			}
			ROOT = {
				is_subject_of = JAP
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		

		completion_reward = {
			JAP = {
				country_event = {
					id = tsr_manchukuo.2
					hours = 6
				}
			}
		}

	}

	focus = {
		id = MAN_tsr_further_mobilization
		icon = GFX_focus_CHI_tongzi_jun
		prerequisite = { focus = MAN_tsr_alliance_with_the_kwantung_army }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_alliance_with_the_kwantung_army

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			IF = {
				limit = {
					NOT = {
						has_idea = MAN_strengthen_army 
					}
				}
				add_ideas = MAN_mobilization
			}
			ELSE = {
				swap_ideas = {
					remove_idea = MAN_strengthen_army
					add_idea = MAN_strong_army
				}
			}
		}

	}

	focus = {
		id = MAN_tsr_strengthen_the_manchukuo_imperial_army
		icon = GFX_focus_PRC_develop_the_army 
		prerequisite = { focus = MAN_tsr_alliance_with_the_kwantung_army }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_alliance_with_the_kwantung_army

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		

		completion_reward = {
			IF = {
				limit = {
					NOT = {
						has_idea = MAN_mobilization 
					}
				}
				add_ideas = MAN_strengthen_army
			}
			ELSE = {
				swap_ideas = {
					remove_idea = MAN_mobilization
					add_idea = MAN_strong_army
				}
			}
		}

	}

	focus = {
		id = MAN_tsr_expand_xingan_army
		icon = GFX_focus_secret_rearmament 
		prerequisite = { focus = MAN_tsr_strengthen_the_manchukuo_imperial_army }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_strengthen_the_manchukuo_imperial_army

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_country_flag = MAN_xingan_army_resigned
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			hidden_effect = {

				delete_unit_template_and_units = {
					division_template = "Xing'an Army"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Xing'an Army"
					division_names_group = MON_CAV_01
					role = garrison
					template_counter = 110
					is_locked = no
					regiments = {
						cavalry = { x = 0 y = 0 }
						cavalry = { x = 0 y = 1 }
						cavalry = { x = 0 y = 2 }
						cavalry = { x = 1 y = 0 }
						cavalry = { x = 1 y = 1 }
						cavalry = { x = 2 y = 0 }
					}
				}

			}

			#custom_effect_tooltip = generic_skip_one_line_tt

			761 = {
				create_unit = {
				    division = "name = \"1. Xing'an Army\" division_template = \"Xing'an Army\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
				    owner = ROOT
				    officer = {
				    	name = MAN_kanjurjab
				    }
				}
				create_unit = {
				    division = "name = \"2. Xing'an Army\" division_template = \"Xing'an Army\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
				    owner = ROOT
				    officer = {
				    	name = MON_navaanneren
				    }
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_urzhin_garmaev = {
				add_planning = 1
				add_attack = 1
			}
			MAN_jonjurjab = {
				add_planning = 1
				add_attack = 1
			}
		}

	}

	focus = {
		id = MAN_tsr_the_question_of_leadership
		icon = GFX_focus_jap_manchurian_project
		prerequisite = { focus = MAN_tsr_strengthen_the_manchukuo_imperial_army }
		prerequisite = { focus = MAN_tsr_further_mobilization }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_strengthen_the_manchukuo_imperial_army

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			country_event = {
				id = tsr_manchukuo.1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = {
				MAN_aisin_gioro_puyi
			}
		}

	}

	focus = {
		id = MAN_tsr_chinese_leadership
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = MAN_tsr_the_question_of_leadership }
		x = -2
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_empire_of_manchukuo
		}

		relative_position_id = MAN_tsr_the_question_of_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = MAN_zhang_jinghui
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			IF = {
				limit = {
					MAN_pujie = {
						is_country_leader = no
					}
				}
				add_corps_commander_role = {
					character = MAN_pujie
					traits = { politically_connected infantry_leader }
					skill = 3
					attack_skill = 2
					defense_skill = 3
					planning_skill = 2
					logistics_skill = 3
					legacy_id = -1
				}
			}
			ELSE_IF = {
				limit = {
					MAN_pujie = {
						is_country_leader = yes
					}
				}
				add_field_marshal_role = {
					character = MAN_pujie
					traits = { politically_connected infantry_leader offensive_doctrine }
					skill = 4
					attack_skill = 4
					defense_skill = 3
					planning_skill = 2
					logistics_skill = 4
					legacy_id = -1
				}
			}
			IF = {
				limit = {
					MAN_aisin_gioro_puyi = {
						is_country_leader = yes
					}
				}
				add_field_marshal_role = {
					character = MAN_aisin_gioro_puyi
					traits = { trait_cautious }
					skill = 2
					attack_skill = 1
					defense_skill = 2
					planning_skill = 2
					logistics_skill = 2
					legacy_id = -1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = MAN_tsr_chinese_leadership_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_low_legitimacy_level_down = yes

		}
	}

	focus = {
		id = MAN_tsr_vassalize_mengukuo
		icon = GFX_focus_JAP_mengjiang_united_autonomous_government 
		prerequisite = { focus = MAN_tsr_chinese_leadership }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject_of = JAP
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			MEN = {
				exists = yes
				is_subject_of = JAP
			}
		}

		bypass = {
			MEN = {
				OR = {
					exists = no
					NOT = {
						is_subject_of = JAP
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		

		completion_reward = {
			MEN = {
				every_army_leader = {
					set_nationality = MAN
				}
			}
			annex_country = { target = MEN transfer_troops = yes }
		}
	}

	focus = {
		id = MAN_tsr_national_cooperation_government
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = MAN_tsr_chinese_leadership }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }
		completion_reward = {
			every_state = {
				limit = { is_core_of = CHI }
				add_core_of = ROOT
			}
		}
	}

	focus = {
		id = MAN_tsr_the_two_emperors
		icon = GFX_goal_anschluss
		prerequisite = { focus = MAN_tsr_vassalize_mengukuo }
		prerequisite = { focus = MAN_tsr_national_cooperation_government }
		x = 0
		y = 2
		relative_position_id = MAN_tsr_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject_of = JAP
			compare_autonomy_state > autonomy_wtt_imperial_protectorate			
			MAN = { 
				ic_ratio = {
					tag = JAP
					ratio > 0.2
				}
			}
			strength_ratio = {
				tag = JAP
				ratio > 0.25
			}
			controls_state = 608
		}

		bypass = {
			is_subject = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_autonomy_ratio = {
				value = 0.15
				localization = MAN_the_two_emperors
			}
			MAN_low_legitimacy_level_down_twice = yes
			unlock_decision_tooltip = {
				decision = MAN_request_full_control_over_china
				show_effect_tooltip = no 
			}	
			set_cosmetic_tag = MAN_restored
		}
	}

	focus = {
		id = MAN_tsr_empire_of_manchukuo
		icon = GFX_focus_ETH_an_empire_in_the_shade_of_the_sun 
		prerequisite = { focus = MAN_tsr_the_question_of_leadership }
		x = 2
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_chinese_leadership
		}

		relative_position_id = MAN_tsr_the_question_of_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = MAN_aisin_gioro_puyi
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			MAN_low_legitimacy_level_down = yes
			set_cosmetic_tag = MAN_empire_of_manchukuo
		}
	}

	focus = {
		id = MAN_tsr_embrace_state_shintoism
		icon = GFX_focus_jap_spiritual_mobilization
		prerequisite = { focus = MAN_tsr_empire_of_manchukuo }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_empire_of_manchukuo

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		
		completion_reward = {
			add_dynamic_modifier = {
			 	modifier = MAN_state_shintoism_dm
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = MAN_tsr_embrace_state_shintoism_tt
		}
	}

	focus = {
		id = MAN_tsr_work_with_the_kempeitai
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = MAN_tsr_embrace_state_shintoism }
		x = -1
		y = 1

		relative_position_id = MAN_tsr_embrace_state_shintoism

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		
		completion_reward = {
			add_tech_bonus = {
				name = MAN_tsr_work_with_the_kempeitai
				bonus = 0.75
				uses = 2
				category = military_police_tech
			}	
			
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = MAN_kempeitai_idea_lar
				IF = {
					limit = {
						has_intelligence_agency = no
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					create_intelligence_agency = yes
				}
			}
			ELSE = {
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = MAN_kempeitai_idea_no_lar
			}
		}
	}

	focus = {
		id = MAN_tsr_promote_manchu_identity
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = MAN_tsr_embrace_state_shintoism }
		x = 1
		y = 1

		relative_position_id = MAN_tsr_embrace_state_shintoism

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		
		completion_reward = {
			MAN_add_or_modify_state_shintoism = yes
			add_to_variable = { MAN_state_shintoism_recruitable_population_factor = 0.05 tooltip = recruitable_population_factor_tt }
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_low_legitimacy_level_down = yes
			custom_effect_tooltip = MAN_tsr_promote_manchu_identity_tt
		}
	}

	focus = {
		id = MAN_tsr_claim_outer_manchuria
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = MAN_tsr_promote_manchu_identity }
		prerequisite = { focus = MAN_tsr_work_with_the_kempeitai }
		x = -1
		y = 1

		relative_position_id = MAN_tsr_promote_manchu_identity

		cost = 10

		ai_will_do = {
			base = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ANNEXATION } 
		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			408 = { add_claim_by = ROOT }
			409 = { add_claim_by = ROOT }
			657 = { add_claim_by = ROOT }
			560 = { add_claim_by = ROOT }
			561 = { add_claim_by = ROOT }
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = claim_outer_manchuria_tt
		}
	}

	focus = {
		id = MAN_tsr_assertiveness
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = MAN_tsr_trade_delegation }
		mutually_exclusive = { focus = MAN_tsr_obedience }
		x = 3
		y = 4
		relative_position_id = MAN_tsr_trade_delegation

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			MAN_low_legitimacy_level_down = yes
			set_country_flag = MAN_assertiveness
			if = {
				limit = {
					is_subject_of = JAP
				}
				JAP = { 
					set_autonomy = {
						target = MAN
						autonomy_state = autonomy_wtt_imperial_subject
					}
				}
			}
			hidden_effect = {
				IF = {
					limit = {
						JAP = {
							NOT = {
								has_government = fascism
							}
						}
					}
					set_politics = {
						ruling_party = fascism
						elections_allowed = no
					}
					add_popularity = {
						ideology = fascism
						popularity = 0.5
					}
				}
			}			
		}
	}

	focus = {
		id = MAN_tsr_request_control_of_the_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MAN_tsr_assertiveness }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_assertiveness

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				716 = {
					is_fully_controlled_by = ROOT
				}
				328 = {
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			unlock_decision_tooltip = MAN_divert_machine_tools

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = { 716 = { is_fully_controlled_by = ROOT } }
				716 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { 717 = { is_fully_controlled_by = ROOT } }
				717 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { 715 = { is_fully_controlled_by = ROOT } }
				715 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { 328 = { is_fully_controlled_by = ROOT } }
				328 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				} 
			}

		}

	}

	focus = {
		id = MAN_tsr_staff_the_court_with_manchus
		icon = GFX_goal_generic_intelligence_exchange
		mutually_exclusive = { focus = MAN_tsr_five_equal_peoples }
		prerequisite = { focus = MAN_tsr_request_control_of_the_railways }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_request_control_of_the_railways

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
		}
	}

	focus = {
		id = MAN_tsr_expand_the_imperial_guards
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = MAN_tsr_staff_the_court_with_manchus }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_staff_the_court_with_manchus

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			custom_effect_tooltip = MAN_expand_the_imperial_guards_tt
			hidden_effect = {
				division_template = {
					name = "Imperial Guards Division"
					priority = 2
					division_names_group = MAN_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
			
	    	   		 	infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
	    	   		 	infantry = { x = 1 y = 3 }

						artillery_brigade = { x = 2 y = 0 }
						artillery_brigade = { x = 2 y = 1 }
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 328 }
					create_unit = {
						division = "name = \"1. Imperial Guards Division\" division_template = \"Imperial Guards Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"2. Imperial Guards Division\" division_template = \"Imperial Guards Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"3. Imperial Guards Division\" division_template = \"Imperial Guards Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"4. Imperial Guards Division\" division_template = \"Imperial Guards Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
				}			
			}			
		}
	}

	focus = {
		id = MAN_tsr_local_arms_procurement
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = MAN_tsr_expand_the_imperial_guards }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_expand_the_imperial_guards

		cost = 10

		ai_will_do = {
			factor = 6
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {

			unlock_decision_tooltip = MAN_fund_underground_gun_shops

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					has_state_flag = MAN_local_arms_procurement_AF
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

		}

		completion_reward = {
			unlock_decision_tooltip = MAN_fund_underground_gun_shops
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT 	
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = MAN_local_arms_procurement_AF
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT 	
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = MAN_local_arms_procurement_AF
			}
		}
	}

	focus = {
		id = MAN_tsr_bolster_nationalism
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = MAN_tsr_staff_the_court_with_manchus focus = MAN_tsr_five_equal_peoples }
		x = 1
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_question_the_emperors_authority
		}

		relative_position_id = MAN_tsr_staff_the_court_with_manchus

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			MAN_low_legitimacy_level_down = yes

			add_ideas = MAN_bolster_nationalism

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = MAN_recruit_bandits_generic

		}

	}

	focus = {
		id = MAN_tsr_five_equal_peoples
		icon = GFX_goal_generic_national_unity
		mutually_exclusive = { focus = MAN_tsr_staff_the_court_with_manchus }
		prerequisite = { focus = MAN_tsr_request_control_of_the_railways }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_request_control_of_the_railways

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.1
		}
	}

	focus = {
		id = MAN_tsr_white_russian_advisers
		icon = GFX_focus_SOV_approach_semyonov
		prerequisite = { focus = MAN_tsr_five_equal_peoples }
		x = 3
		y = 1
		relative_position_id = MAN_tsr_five_equal_peoples

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {
			add_ideas = MAN_white_russian_advisers
		}
	}

	focus = {
		id = MAN_tsr_empower_the_legislative_council
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = MAN_tsr_five_equal_peoples }
		x = 5
		y = 1
		relative_position_id = MAN_tsr_five_equal_peoples

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_completed_focus = MAN_tsr_bolster_nationalism
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_political_power = 150
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_low_legitimacy_level_down = yes
		}

	}

	focus = {
		id = MAN_tsr_five_people_armies
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = MAN_tsr_white_russian_advisers }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_white_russian_advisers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_completed_focus = MAN_tsr_bolster_nationalism
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_ideas = MAN_five_people_armies

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = MAN_raise_manchu_banner

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = MAN_five_people_armies_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = MAN_li_zhaolin_high_command

			hidden_effect = {
				division_template = {
					name = "People's Volunteers Division"
					priority = 2
					division_names_group = MAN_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 328 }
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"People's Volunteers Division\" division_template = \"People's Volunteers Division\" start_experience_factor = 1.0" 
						owner = MAN
					}
				}			
			}

		}

	}

	focus = {
		id = MAN_tsr_question_the_emperors_authority
		icon = GFX_focus_rom_handle_king
		prerequisite = { focus = MAN_tsr_five_equal_peoples  }
		x = 1
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_bolster_nationalism
		}

		relative_position_id = MAN_tsr_five_equal_peoples 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			remove_ideas = {
				MAN_aisin_gioro_puyi
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = MAN_rising_republican_sentiments
				days = 550
			}
		}
	}

	focus = {
		id = MAN_tsr_bandit_recruitment
		icon = GFX_focus_generic_workers
		prerequisite = { focus = MAN_tsr_question_the_emperors_authority  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_question_the_emperors_authority 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = MAN_tsr_bandit_recruitment_tt
			add_political_power = 100
		}
	}

	focus = {
		id = MAN_tsr_ally_bandit_leaders
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = MAN_tsr_bandit_recruitment  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_bandit_recruitment 

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		
		completion_reward = {
			add_ideas = MAN_peoples_army
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = MAN_tsr_ally_bandit_leaders_tt
			custom_effect_tooltip = MAN_kim_il_sung_tt	
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = MAN_li_zhaolin_high_command
			hidden_effect = {
				IF = {
					limit = {
						KOR = {
							OR = {
								exists = no
								NOT = {
									has_government = communism
								}
							}
						}
					}
					KOR = {
						KOR_kim_il_sung = {
							set_nationality = MAN
							add_corps_commander_role = { 
								traits = { harsh_leader }
								skill = 3
								attack_skill = 3
								defense_skill = 2
								planning_skill = 3
								logistics_skill = 2
							}
						}
						KOR_pak_hon_yong = {
							add_country_leader_role = {
								promote_leader = yes
								country_leader = {
									ideology = stalinism
									expire = "1952.1.1.1"
									traits = { JAP_socialist_revolutionary } 
								}
							}
						}
					}	
				}
				division_template = {
					name = "Northeast Counter-Japanese Division"
					priority = 2
					template_counter = 118
					division_names_group = MAN_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 328 }
					create_unit = {
						division = "name = \"Northeast Counter-Japanese Division\" division_template = \"Northeast Counter-Japanese Division\" start_experience_factor = 0.6" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"Northeast Counter-Japanese Division\" division_template = \"Northeast Counter-Japanese Division\" start_experience_factor = 0.6" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"Northeast Counter-Japanese Division\" division_template = \"Northeast Counter-Japanese Division\" start_experience_factor = 0.6" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"Northeast Counter-Japanese Division\" division_template = \"Northeast Counter-Japanese Division\" start_experience_factor = 0.6" 
						owner = MAN
					}
					create_unit = {
						division = "name = \"Northeast Counter-Japanese Division\" division_template = \"Northeast Counter-Japanese Division\" start_experience_factor = 0.6" 
						owner = MAN
					}
				}			
			}
			

		}
	}

	focus = {
		id = MAN_tsr_persuade_the_IMPRP
		icon = GFX_focus_MAN_persuade_the_imprp 
		prerequisite = { focus = MAN_tsr_bandit_recruitment  }
		x = 3
		y = 1

		relative_position_id = MAN_tsr_bandit_recruitment 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }
		completion_reward = {
			MEN = {
				add_popularity = {
					ideology = communism
					popularity = 0.15
				}
				country_event = {
					id = tsr_manchukuo.12
					hours = 6
				}
			}
			custom_effect_tooltip = MAN_tsr_persuade_the_IMPRP_tt
		}
	}

	focus = {
		id = MAN_tsr_a_new_dawn_over_manchuria
		icon = GFX_focus_jap_cast_the_die
		prerequisite = { focus = MAN_tsr_bandit_recruitment  }
		x = 6
		y = 1

		relative_position_id = MAN_tsr_bandit_recruitment 

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }
		completion_reward = {
			set_politics = {
				ruling_party = democratic
				elections_allowed = no
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.2
			}
			remove_ideas = MAN_kwantung_veto

			IF = {
				limit = {
					KOR = {
						exists = yes
						is_ally_with = JAP
					}
				}
				add_timed_idea = {
					idea = MAN_korean_liberation_army
					days = 365
				}
			}
			ELSE = {
				add_timed_idea = {
					idea = MAN_korean_liberation_army_no_korea
					days = 365
				}	
			}
			

			hidden_effect = { set_variable = { MAN_independence_target = OVERLORD } } #We're using a variable here because the saved event target becomes invalidated deep in ScopedEventTarget 
			OVERLORD = { set_autonomy = { target = ROOT autonomy_state = autonomy_free } }
			effect_tooltip = {		
				if = {
					limit = {
						is_in_faction_with = OVERLORD
					}
					leave_faction = yes
				}
				declare_war_on = {
					target = OVERLORD
					type = puppet_wargoal_focus
				}
			}
			hidden_effect = {
				if = {
					limit = {
						is_in_faction_with = var:MAN_independence_target
					}
					leave_faction = yes
				}
				declare_war_on = {
					target = var:MAN_independence_target 
					type = puppet_wargoal_focus
				}
			}
			IF = {
				limit = {
					has_war_with = event_target:WTT_current_china_leader
				}
				every_country = {
					limit = {
						has_war_with = MAN
						is_in_faction_with = event_target:WTT_current_china_leader
					}
					white_peace = {
						tag = MAN
					}
				}
			}
			IF = {
				limit = {
					has_completed_focus = MAN_tsr_persuade_the_IMPRP
				}
				MEN = {
					country_event = {
						id = tsr_manchukuo.5
						hours = 2 
					}
				}
			}
			hidden_effect = {
				news_event = { id = tsr_manchukuo_news.1 days = 2 }
				IF = {
					limit = {
						has_country_flag = MAN_xingan_government
					}
					retire_character = MAN_urzhin_garmaev
					retire_character = MAN_jonjurjab
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_depose_puyi
		icon = GFX_focus_IRQ_attempted_assasination_of_sidqi
		prerequisite = { focus = MAN_tsr_a_new_dawn_over_manchuria  }
		x = 0
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_imperial_divinity
			focus = MAN_tsr_a_new_constitution
		}

		relative_position_id = MAN_tsr_a_new_dawn_over_manchuria 

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			has_war = no
			is_subject = no
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			remove_ideas = MAN_the_kangde_emperor
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_low_legitimacy_clear_all = yes	
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = MAN_illegitimate_government
		}
	}

	focus = {
		id = MAN_tsr_the_new_beiyang_government
		icon = GFX_focus_CHI_restore_the_old_republic
		prerequisite = { focus = MAN_tsr_depose_puyi  }
		x = -3
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_zhao_shangzhis_coup
		}

		relative_position_id = MAN_tsr_depose_puyi 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }
		completion_reward = {
			set_cosmetic_tag = MAN_beiyang
			custom_effect_tooltip = MAN_cores_beiyang_tt
			unlock_decision_category_tooltip = MAN_march_on_beijing_decisions
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = MAN_illegitimate_government
				add_idea = MAN_rival_government
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					MEN = {
						is_subject_of = ROOT
					}
				}
				MEN = {
					every_army_leader = {
						set_nationality = ROOT
					}
				}
				annex_country = {
					target = MEN
					transfer_troops = yes
				}	
			}
			hidden_effect = {
				614 = { add_core_of = ROOT }
				608 = { add_core_of = ROOT }
				1039 = { add_core_of = ROOT }
				1038 = { add_core_of = ROOT }
				597 = { add_core_of = ROOT }
				743 = { add_core_of = ROOT }
				612 = { add_core_of = ROOT }
				611 = { add_core_of = ROOT }
				1043 = { add_core_of = ROOT }
				746 = { add_core_of = ROOT }
				616 = { add_core_of = ROOT }
				621 = { add_core_of = ROOT }
				1040 = { add_core_of = ROOT }
				615 = { add_core_of = ROOT }
				622 = { add_core_of = ROOT }
				1045 = { add_core_of = ROOT }
				1032 = { add_core_of = ROOT }
				609 = { add_core_of = ROOT }
				set_politics = {
				 	ruling_party = democratic
				 	elections_allowed = yes
				 	election_frequency = 60
				}
				set_party_name = {
					ideology = democratic
					long_name = MAN_republican_party_long
					name = MAN_republican_party
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_beiyang_university
		icon = GFX_focus_generic_university_2
		prerequisite = { focus = MAN_tsr_the_new_beiyang_government  }
		x = 2
		y = 1

		relative_position_id = MAN_tsr_the_new_beiyang_government 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_tsr_reform_the_army
		icon = GFX_focus_MAN_the_new_fengtian_army
		prerequisite = { focus = MAN_tsr_the_new_beiyang_government  }
		x = -2
		y = 1

		relative_position_id = MAN_tsr_the_new_beiyang_government 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = MAN_beiyang_army
		}
	}

	focus = {
		id = MAN_tsr_the_southern_expedition
		icon = GFX_focus_attack_china
		prerequisite = { focus = MAN_tsr_the_new_beiyang_government  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_the_new_beiyang_government 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			every_country = {
				limit = {
					is_literally_china = yes
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			add_timed_idea = {
				idea = MAN_southern_expedition
				days = 550
			}
		}
	}

	focus = {
		id = MAN_tsr_proclaim_the_republic_of_china
		icon = GFX_focus_chi_one_china_policy
		prerequisite = { focus = MAN_tsr_the_southern_expedition  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_the_southern_expedition 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
			1035 = {
				is_controlled_by = ROOT
			}
			1037 = {
				is_controlled_by = ROOT
			}
			592 = {
				is_controlled_by = ROOT
			}
			608 = {
				is_controlled_by = ROOT
			}
			1041 = {
				is_controlled_by = ROOT
			}
			615 = {
				is_controlled_by = ROOT
			}
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } 
		completion_reward = {
			swap_ideas = {
				remove_idea = MAN_rival_government
				add_idea = MAN_the_legitimate_successor
			}
			CHI = {
				every_core_state = {
					add_core_of = ROOT
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			set_cosmetic_tag = MAN_republic_of_china
			set_capital = {
				state = 608
				remember_old_capital = no
			}
			set_province_name = { id = 9843 name = PRC_beijing_capital_name }
			608 = {
				set_state_name = PRC_beijing_capital_name
			}
		}
	}

	focus = {
		id = MAN_tsr_finish_off_the_japanese_threat
		icon = GFX_focus_AST_war_japan
		prerequisite = { focus = MAN_tsr_proclaim_the_republic_of_china  }
		x = 1
		y = 1

		relative_position_id = MAN_tsr_proclaim_the_republic_of_china 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_timed_idea = {
				idea = MAN_finish_off_japan
				days = 365
			}
			create_wargoal = {
				type = annex_everything
				target = JAP
			}
		}
	}

	focus = {
		id = MAN_tsr_an_industrial_power
		icon = GFX_focus_generic_industrial_experts
		prerequisite = { focus = MAN_tsr_proclaim_the_republic_of_china  }
		x = -1
		y = 1

		relative_position_id = MAN_tsr_proclaim_the_republic_of_china 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = MAN_an_industrial_power
			custom_effect_tooltip = generic_skip_one_line_tt
			random_owned_controlled_state = {
				limit = {
					impassable = no
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_controlled_state = {
				limit = {
					impassable = no
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 2
			}
		}
	}

	focus = {
		id = MAN_tsr_zhao_shangzhis_coup
		icon = GFX_focus_generic_spur_communist_revolutions 
		prerequisite = { focus = MAN_tsr_depose_puyi  }
		x = 2
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_the_new_beiyang_government
		}

		relative_position_id = MAN_tsr_depose_puyi 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			IF = {
				limit = {
					MEN = {
						is_subject_of = ROOT
					}
				}
				MEN = {
					every_army_leader = {
						set_nationality = ROOT
					}
				}
				annex_country = {
					target = MEN
					transfer_troops = yes
				}	
			}
			set_politics = {
				ruling_party = communism
			}
			add_popularity = {
				ideology = communism
				popularity = 0.2
			}
			set_party_name = {
				ideology = communism
				long_name = MAN_cpc_long
				name = MAN_cpc
			}
			add_ideas = MAN_the_communist_party_triumphant
		}
	}

	focus = {
		id = MAN_tsr_ally_the_soviet_republic
		icon = GFX_focus_generic_befriend_the_chinese_soviet
		prerequisite = { focus = MAN_tsr_zhao_shangzhis_coup  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_zhao_shangzhis_coup 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
			PRC = {
				OR = {
					NOT = {
						has_government = communism
					}
					exists = no
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			IF = {
				limit = {
					is_faction_leader = no
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_MAN_popular_front
			}
			add_faction_initiative = 1
			every_country = {
				limit = {
					is_literally_china = yes
					has_government = communism
					is_subject = no
					NOT = {
						has_idea = SIK_battle_for_sinkiang
					}
					is_faction_leader = no 
				}
				country_event = {
					id = tsr_manchukuo.6
					hours = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = MAN_peoples_army
				add_idea = MAN_peoples_liberation_army
			}
		}
	}

	focus = {
		id = MAN_tsr_research_cooperation
		icon = GFX_focus_PRC_form_the_yanan_university
		prerequisite = { focus = MAN_tsr_ally_the_soviet_republic  }
		x = -2
		y = 1

		relative_position_id = MAN_tsr_ally_the_soviet_republic 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
			IF = {
				limit = {
					is_in_faction_with = PRC
				}
				add_to_tech_sharing_group = MAN_PRC_technology_sharing_group
				PRC = { add_to_tech_sharing_group = MAN_PRC_technology_sharing_group }
			}
		}
	}

	focus = {
		id = MAN_tsr_the_long_march_south
		icon = GFX_focus_PRC_towards_one_china 
		prerequisite = { focus = MAN_tsr_ally_the_soviet_republic  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_ally_the_soviet_republic 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }
		completion_reward = {
			every_country = {
				limit = {
					is_literally_china_not_prc = yes
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			swap_ideas = {
				remove_idea = MAN_illegitimate_government
				add_idea = MAN_battle_for_china
			}
			hidden_effect = {
				608 = { add_core_of = ROOT }
				1035 = { add_core_of = ROOT }
			}
		}
	}

	focus = {
		id = MAN_tsr_proclaim_the_peoples_republic
		icon = GFX_focus_PRC_revolutionary_war_of_the_masses 
		prerequisite = { focus = MAN_tsr_the_long_march_south  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_the_long_march_south 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			has_war = no
			608 = { is_owned_by = ROOT }
			1035 = { is_owned_by = ROOT }
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }

		completion_reward = {

			set_cosmetic_tag = MAN_peoples_republic_of_china
			set_capital = {
				state = 608
				remember_old_capital = no
			}
			set_province_name = { id = 9843 name = PRC_beijing_capital_name }
			608 = {
				set_state_name = PRC_beijing_capital_name
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = MAN_the_communist_party_triumphant
				add_idea = MAN_the_revolution_triumphant
			}
			every_country = {
				limit = {
					is_literally_china = yes
					has_government = communism
					OR = {
						is_subject = no
						is_subject_of = ROOT
					}
				}
				country_event = {
					id = tsr_manchukuo.7
					hours = 6
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			PRC = {
				every_core_state = {
					add_core_of = ROOT
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			create_wargoal = {
				type = annex_everything
				target = TIB
			}
		}
	}

	focus = {
		id = MAN_tsr_soviet_aid
		icon = GFX_focus_PRC_join_comintern
		prerequisite = { focus = MAN_tsr_ally_the_soviet_republic  }
		x = 2
		y = 1

		relative_position_id = MAN_tsr_ally_the_soviet_republic 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			SOV = {
				has_government = communism
				has_opinion = {
					target = ROOT
					value > 24
				}
			}
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = 5000 
				producer = SOV
			}
			add_offsite_building = { type = industrial_complex level = 1 }
			add_offsite_building = { type = arms_factory level = 2 }
			custom_effect_tooltip = MAN_soviet_volunteers_tt
			add_ideas = MAN_soviet_military_cooperation
		}
	}

	focus = {
		id = MAN_tsr_request_our_lost_territories
		icon = GFX_focus_PRC_petition_for_freedom
		prerequisite = { focus = MAN_tsr_ally_the_soviet_republic  }
		prerequisite = { focus = MAN_tsr_the_long_march_south  }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_soviet_aid 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			SOV = {
				has_opinion = {
					target = ROOT
					value > 49
				}
				has_government = communism
			}
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = MAN_tsr_request_our_lost_territories_tt
			SOV = {
				country_event = {
					id = tsr_manchukuo.9
					hours = 6
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_purge_the_general_affairs_council
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = MAN_tsr_bolster_nationalism  }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_bolster_nationalism 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			remove_ideas = {
				MAN_aisin_gioro_puyi
			}

			add_country_leader_role = {
				character = MAN_aisin_gioro_puyi
				promote_leader = yes
				country_leader = {
					ideology = emperor_fascism
					expire = "1960.1.1.1"
					traits = { warrior_code } 
				}
			}	

			if = {
				limit = {
					is_subject_of = JAP
				}
				unlock_decision_tooltip = MAN_prepare_to_seize_arms
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_stability = 0.1
			
			if = {
				limit = {
					has_idea = MAN_kwantung_veto
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				remove_ideas = MAN_kwantung_veto
			}

		}
	}

	focus = {
		id = MAN_tsr_reform_the_civil_service
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MAN_tsr_purge_the_general_affairs_council }
		x = -2
		y = 1
		relative_position_id = MAN_tsr_purge_the_general_affairs_council

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = MAN_manchukuo_film_association
		}
	}

	focus = {
		id = MAN_tsr_independence_war
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = MAN_tsr_purge_the_general_affairs_council }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_purge_the_general_affairs_council

		cost = 5

		ai_will_do = {
			factor = 100
			modifier = {
				strength_ratio = { tag = JAP ratio < 0.3 }
				factor = 0
			}
			
		}

		available = {
		
		}

		bypass = {
			is_subject = no
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		will_lead_to_war_with = JAP

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			hidden_effect = { set_variable = { MAN_independence_target = OVERLORD } } #We're using a variable here because the saved event target becomes invalidated deep in ScopedEventTarget
			if = {
				limit = {
					is_subject = yes
				}
				add_country_leader_trait = nationalist_symbol
			}
			OVERLORD = { set_autonomy = { target = ROOT autonomy_state = autonomy_free } }
			effect_tooltip = {		
				if = {
					limit = {
						is_in_faction_with = OVERLORD
					}
					leave_faction = yes
				}
				declare_war_on = {
					target = OVERLORD
					type = puppet_wargoal_focus
				}
			}
			hidden_effect = {
				if = {
					limit = {
						is_in_faction_with = var:MAN_independence_target
					}
					leave_faction = yes
				}
				declare_war_on = {
					target = var:MAN_independence_target 
					type = puppet_wargoal_focus
				}
			}
			hidden_effect = {
				news_event = { id = wtt_news.48 days = 2 }
				IF = {
					limit = {
						has_country_flag = MAN_xingan_government
					}
					retire_character = MAN_urzhin_garmaev
					retire_character = MAN_jonjurjab
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_imperial_divinity
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = MAN_tsr_independence_war }
		x = -2
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_a_new_constitution
			focus = MAN_tsr_depose_puyi
		}

		relative_position_id = MAN_tsr_independence_war

		cost = 5

		ai_will_do = {
			base = 10
		}

		available = {
			NOT = {
				has_war_with = JAP
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {
			MAN_low_legitimacy_level_down = yes

			if = {
				limit = {

					NOT = {
						has_country_leader_with_trait = nationalist_symbol
					}
					
					is_subject = no
				}
				add_country_leader_trait = nationalist_symbol
			}
		}
	}

	focus = {
		id = MAN_tsr_reclaim_our_lost_possessions
		icon = GFX_focus_GER_end_european_communism
		prerequisite = { focus = MAN_tsr_imperial_divinity }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_imperial_divinity

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = MAN_tsr_reclaim_our_lost_possessions_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			330 = { add_claim_by = ROOT }
			817 = { add_claim_by = ROOT }
			818 = { add_claim_by = ROOT }
			819 = { add_claim_by = ROOT }
			820 = { add_claim_by = ROOT }
			329 = { add_claim_by = ROOT }
			561 = { add_claim_by = ROOT }
			560 = { add_claim_by = ROOT }
			657 = { add_claim_by = ROOT }
			409 = { add_claim_by = ROOT }
			408 = { add_claim_by = ROOT }
			custom_effect_tooltip = generic_skip_one_line_tt
			330 = {
				owner = {
					IF = {
						limit = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV 
							}
						}
					}
				}
			}
			329 = {
				owner = {
					IF = {
						limit = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV 
							}
						}
					}
				}
			}
			408 = {
				owner = {
					IF = {
						limit = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV 
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_a_new_constitution
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = MAN_tsr_independence_war }
		x = 2
		y = 1

		mutually_exclusive = {
			focus = MAN_tsr_imperial_divinity
			focus = MAN_tsr_depose_puyi
		}

		relative_position_id = MAN_tsr_independence_war

		cost = 5

		ai_will_do = {
			base = 10
		}

		available = {
			NOT = {
				has_war_with = JAP
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {
			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.3
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 50
			add_stability = 0.1
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN_low_legitimacy_level_down = yes

		}
	}

	focus = {
		id = MAN_tsr_division_of_power
		icon = GFX_focus_BRA_reach_out_to_military_dem
		prerequisite = { focus = MAN_tsr_a_new_constitution }
		x = 0
		y = 1

		relative_position_id = MAN_tsr_a_new_constitution

		cost = 5

		ai_will_do = {
			base = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_trait = {
				character = MAN_aisin_gioro_puyi
				trait = MAN_figurehead_emperor
				ideology = despotism
			}
		}
	}

	focus = {
		id = MAN_tsr_reestablish_the_qing_army
		icon = GFX_focus_MAN_reestablish_the_imperial_army
		prerequisite = { focus = MAN_tsr_imperial_divinity focus = MAN_tsr_a_new_constitution }
		x = 2
		y = 1
		relative_position_id = MAN_tsr_imperial_divinity

		cost = 10

		ai_will_do = {
			base = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = MAN_qing_army
			custom_effect_tooltip = generic_skip_one_line_tt
			add_corps_commander_role = {
				character = MAN_aisin_gioro_xiqia
				traits = { career_officer }
				skill = 3
				attack_skill = 3
				defense_skill = 3
				planning_skill = 3
				logistics_skill = 1
				legacy_id = -1
			}
			add_corps_commander_role = {
				character = MAN_pujie
				traits = { politically_connected infantry_leader }
				skill = 3
				attack_skill = 2
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 3
				legacy_id = -1
			}
		}

	}

	focus = {
		id = MAN_tsr_raise_the_yong_ying
		icon = GFX_focus_AUS_frontmiliz_focus
		prerequisite = { focus = MAN_tsr_reestablish_the_qing_army }
		x = -2
		y = 1
		relative_position_id = MAN_tsr_reestablish_the_qing_army

		cost = 5

		ai_will_do = {
			base = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			custom_effect_tooltip = MAN_tsr_raise_the_yong_ying_tt

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_ideas = MAN_yong_ying_idea

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Yong Ying"
					disband = yes #if yes, will refund equipment/manpower.
				}
				set_country_flag = MAN_yong_ying_system_is_active
				division_template = {
					name = "Yong Ying"		
				    division_names_group = CHI_GAR_01
				    template_counter = 113
					role = infantry
				    priority = 0
					is_locked = yes
					force_allow_recruiting = no
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
						militia = { x = 2 y = 0 }
						militia = { x = 2 y = 1 }
					}
				}
			}
		}

	}


	focus = {
		id = MAN_tsr_reclaim_the_empire
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = MAN_tsr_reestablish_the_qing_army }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_reestablish_the_qing_army

		cost = 10

		ai_will_do = {
			base = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_war_support = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			set_rule = { can_create_factions = yes }
			every_state = {
				limit = { is_core_of = CHI }
				add_core_of = ROOT
			}

		}

	}

	focus = {
		id = MAN_tsr_imperial_university
		icon = GFX_focus_research
		prerequisite = { focus = MAN_tsr_reclaim_the_empire }
		x = -3
		y = 1
		relative_position_id = MAN_tsr_reclaim_the_empire

		cost = 10

		ai_will_do = {
			base = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_tsr_assert_our_authority
		icon = GFX_goal_demand_sudetenland
		mutually_exclusive = { focus = MAN_tsr_offer_vassalization }
		prerequisite = { focus = MAN_tsr_reclaim_the_empire }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_reclaim_the_empire

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			every_country = {
				limit = {
					is_independent_china_or_warlord = yes
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
		}
	}

	focus = {
		id = MAN_tsr_offer_vassalization
		icon = GFX_goal_generic_air_doctrine
		mutually_exclusive = { focus = MAN_tsr_assert_our_authority }
		prerequisite = { focus = MAN_tsr_reclaim_the_empire }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_reclaim_the_empire

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			every_country = {
				limit = {
					is_chinese_warlord = yes
					NOT = { tag = event_target:WTT_current_china_leader }
					is_subject = no
				}
				country_event = { id = wtt_manchukou.1 }
			}
		}
	}

	focus = {
		id = MAN_tsr_move_capitals
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = MAN_tsr_assert_our_authority focus = MAN_tsr_offer_vassalization }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_offer_vassalization

		cost = 5

		ai_will_do = {
			base = 25
		}

		available = {
			608 = { is_fully_controlled_by = ROOT }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		completion_reward = {

			set_capital = {
				state = 608
				remember_old_capital = no
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_province_name = { id = 9843 name = PRC_beijing_capital_name }
			608 = {
				set_state_name = PRC_beijing_capital_name
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			MAN_low_legitimacy_level_down = yes
		}

	}

	focus = {
		id = MAN_tsr_reestablish_the_gansu_braves
		icon = GFX_focus_PRC_reorganize_divisions
		prerequisite = { focus = MAN_tsr_assert_our_authority focus = MAN_tsr_offer_vassalization }
		x = 1
		y = 1
		relative_position_id = MAN_tsr_assert_our_authority

		cost = 10

		ai_will_do = {
			base = 25
		}

		available = {
			283 = { is_fully_controlled_by = ROOT }
			1045 = { is_fully_controlled_by = ROOT }
			1044 = { is_fully_controlled_by = ROOT }
			756 = { is_fully_controlled_by = ROOT }
			XSM = {
				exists = no
			}
			GSM = {
				exists = no
			}
			NXM = {
				exists = no
			}
			KHM = {
				exists = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		

		completion_reward = {
			IF = {
				limit = {
					KHM = {
						has_character = XSM_ma_hongbin
					}
				}
				KHM = {
					XSM_ma_hongbin = {
						set_nationality = ROOT
						clr_character_flag = yes
						remove_trait = {
							trait = XSM_dubious_loyalty
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					NXM = {
						has_character = XSM_ma_hongbin
					}
				}
				NXM = {
					XSM_ma_hongbin = {
						set_nationality = ROOT
						clr_character_flag = yes
						remove_trait = {
							trait = XSM_dubious_loyalty
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					XSM = {
						has_character = XSM_ma_hongbin
					}
				}
				XSM = {
					XSM_ma_hongbin = {
						set_nationality = ROOT
						clr_character_flag = yes
						remove_trait = {
							trait = XSM_dubious_loyalty
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					GSM = {
						has_character = XSM_ma_hongbin
					}
				}
				GSM = {
					XSM_ma_hongbin = {
						set_nationality = ROOT
						clr_character_flag = yes
						remove_trait = {
							trait = XSM_dubious_loyalty
						}
					}
				}
			}
			XSM = {
				XSM_ma_bufang = {
					set_nationality = ROOT
				}
				IF = {
					limit = {
						XSM_ma_bufang = {
							is_corps_commander = no
						}
					}
					XSM_ma_bufang = {
					 	add_corps_commander_role = {
						traits = { }
						attack_skill = 4
						defense_skill = 2
						planning_skill = 2
						logistics_skill = 2
						skill = 3
						legacy_id=-1
						}
					}
				}
			}
			KHM = {
				KHM_ma_hushan = {
					set_nationality = ROOT
				}
				KHM_ma_zhancang = {
					set_nationality = ROOT
				}
			}
			NXM = {
				XSM_ma_hongkui = {
					set_nationality = ROOT
				}
			}
			GSM = {
				XSM_ma_buqing = {
					set_nationality = ROOT
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Gansu Braves"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Gansu Braves"
					division_names_group = XSM_CAV_01
					role = garrison
					template_counter = 5
					is_locked = no
					regiments = {
						cavalry = { x = 0 y = 0 }
						cavalry = { x = 0 y = 1 }
						cavalry = { x = 0 y = 2 }
						cavalry = { x = 1 y = 0 }
						cavalry = { x = 1 y = 1 }
						cavalry = { x = 1 y = 2 }
						cavalry = { x = 2 y = 0 }
						cavalry = { x = 2 y = 1 }
						cavalry = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
			}

			random_owned_controlled_state = {
				prioritize = { 238 1045 1044 756 }
				limit = {
					is_controlled_by = ROOT
				}
				create_unit = {
				    division = "name = \"First Gansu Braves\" division_template = \"Gansu Braves\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Second Gansu Braves\" division_template = \"Gansu Braves\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Third Gansu Braves\" division_template = \"Gansu Braves\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Fourth Gansu Braves\" division_template = \"Gansu Braves\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}	
		}
	}

	focus = {
		id = MAN_tsr_a_new_self_strengthening_movement
		icon = GFX_focus_generic_modernize_industry
		prerequisite = { focus = MAN_tsr_assert_our_authority focus = MAN_tsr_offer_vassalization }
		x = -1
		y = 1
		relative_position_id = MAN_tsr_offer_vassalization

		cost = 10

		ai_will_do = {
			base = 10
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					impassable = no
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_controlled_state = {
				limit = {
					impassable = no
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_tech_bonus = {
				name = MAN_tsr_a_new_self_strengthening_movement
				bonus = 0.75
				uses = 1
				category = infantry_weapons
			}
			add_tech_bonus = {
				name = MAN_tsr_a_new_self_strengthening_movement
				bonus = 0.75
				uses = 2
				category = industry
			}
		}
	}



	focus = {
		id = MAN_tsr_claim_the_mandate_of_heaven
		icon = GFX_focus_man_claim_the_mandate_of_heaven
		prerequisite = { focus = MAN_tsr_move_capitals }
		x = 0
		y = 1
		relative_position_id = MAN_tsr_move_capitals

		cost = 10

		ai_will_do = {
			base = 50
		}

		available = {
			all_state = { 
				OR = {
					NOT = { is_core_of = ROOT }
					state = 729
					state = 326
					state = 728
					state = 524
					is_controlled_by = ROOT
				}
				
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			MAN_low_legitimacy_clear_all = yes	

			set_cosmetic_tag = MAN_restored

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_trait = CHI_tsr_son_of_heaven

			hidden_effect = {
				news_event = { id = wtt_news.44 days = 2 }

				MAN_aisin_gioro_puyi = {
					set_portraits = {
						civilian = {
							large = "GFX_portrait_man_henry_pu_yi_emperor" 
						}
					}
					set_character_name = {
						name = MAN_aisin_gioro_puyi_xuantong_name
					}
				}

			}

		}

	}



	shared_focus = CHI_sea_invite_foreign_investors

}
