
	shared_focus = {
		id = CHI_invite_foreign_investors
		icon = GFX_focus_generic_concessions
		cost = 5
		x = 40
		y = 0
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					num_of_factories > 20
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_political_power = 150
				}

	}
	shared_focus = {
		id = CHI_renegotiate_the_unequal_treaties
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 5
		x = 39
		y = 7
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
					num_of_factories > 75
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = { size > 500000}
				}
			bypass = {	}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					remove_ideas = CHI_nine_power_treaty
					add_political_power = 150
						set_rule = {
							can_create_factions = yes
							can_send_volunteers = yes
						}
				}

	}
	shared_focus = {
		id = CHI_imperial_legacy
		icon = GFX_focus_generic_support_the_left_right
		cost = 5
		prerequisite = {
			focus = CHI_renegotiate_the_unequal_treaties
		}
		mutually_exclusive = {
			focus = CHI_anti_imperialism
		}
		x = 6
		y = 1
		relative_position_id = CHI_renegotiate_the_unequal_treaties
			ai_will_do = {
					factor = 1
				}
			available = {
					has_war = no
					is_subject = no
					num_of_factories > 100
					has_stability > 0.5
					has_war_support > 0.5
					has_army_manpower = { size > 750000 }
					OR = { has_government = fascism has_government = neutrality original_tag = MAN }
				}
			bypass = { }
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        add_state_claim = 657
					add_state_claim = 408
					add_state_claim = 527
					add_state_claim = 525
					add_state_claim = 671
					every_other_country = {
							limit = {
									num_of_factories > 50
				            NOT = {	
				              OR = {
					           has_government = fascism
					           has_government = neutrality
					               }
					           }
				            }
							add_opinion_modifier = {
									target = ROOT
									modifier = large_decrease 
							}
						}
			       }

	}
	shared_focus = {
		id = CHI_mission_to_germany
		icon = GFX_focus_chi_mission_to_germany
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 30
		y = 1
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
					modifier = {
							factor = 10
							has_country_flag = GER_befriended_by_germany_flag
						}
				}
			available = {
					OR = {
							has_government = neutrality
							GER = {
									has_government = ROOT
								}
							GER_will_support = yes
						}
					NOT = {
							has_war_with = GER
						}
					NOT = {
							has_global_flag = falkenhausen_recalled
						}
				}
			bypass = {
					is_in_faction_with = GER
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					GER = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_mission_to_germany
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
				}

	}
	shared_focus = {
		id = CHI_closer_ties_with_germany
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = CHI_mission_to_germany
		}
		x = 30
		y = 2
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					NOT = {
							has_war_with = GER
						}
					NOT = {
							has_global_flag = falkenhausen_recalled
						}
					GER_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_offsite_building = {
							type = industrial_complex
							level = 1
						}
				}

	}
	shared_focus = {
		id = CHI_wargaming_division
		icon = GFX_goal_generic_position_armies
		cost = 5
		prerequisite = {
			focus = CHI_closer_ties_with_germany
		}
		x = 28
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {
					NOT = {
							has_global_flag = falkenhausen_recalled
						}
					GER_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = CHI_wargaming_division
					add_doctrine_cost_reduction = {
							name = CHI_wargaming_division
							cost_reduction = 0.5
							uses = 1
							category = land_doctrine
						}
				}

	}
	shared_focus = {
		id = CHI_chinese_panzers
		icon = GFX_goal_generic_production2
		cost = 5
		prerequisite = {
			focus = CHI_closer_ties_with_germany
		}
		x = 30
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {
					GER_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		add_tech_bonus = {
			name = CHI_chinese_panzers
			bonus = 1.0
			uses = 1
			category = armor
		}

		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			custom_effect_tooltip = available_mio_tt
			show_mio_tooltip = CHI_sino_german_technical_mission_organization

			mio:CHI_sino_german_technical_mission_organization = {
				add_mio_size = 1
				add_mio_funds = 500
			}
		}
		ELSE = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = german_chinese_tank_designer
		}
				}

	}
	shared_focus = {
		id = CHI_tank_plant
		icon = GFX_goal_generic_construct_mil_factory
		cost = 5
		prerequisite = {
			focus = CHI_chinese_panzers
		}
		x = 30
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					GER_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					random_state = {
							limit = {
									has_state_flag = CHI_tank_plant_AF
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
				}
			completion_reward = {
					random_owned_controlled_state = {
							limit = {
									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 = CHI_tank_plant_AF
						}
				}

	}
	shared_focus = {
		id = CHI_mission_to_the_soviet_union
		icon = GFX_focus_chi_mission_to_the_soviet_union
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 34
		y = 1
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					OR = {
							has_government = neutrality
							SOV = {
									has_government = ROOT
								}
							SOV_will_support = yes
						}
					not = {
							has_War_with = SOV
						}
				}
			bypass = {
					is_in_faction_with = SOV
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					SOV = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_mission_to_the_soviet_union
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
				}

	}
	shared_focus = {
		id = CHI_rapprochement_with_soviet_union
		icon = GFX_goal_support_communism
		cost = 5
		prerequisite = {
			focus = CHI_mission_to_the_soviet_union
		}
		x = 34
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_will_support = yes
				}
			bypass = {
					OR = {
							has_non_aggression_pact_with = SOV
							is_in_faction_with = SOV
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					diplomatic_relation = {
							country = SOV
							relation = non_aggression_pact
							active = yes
						}
				}

	}
	shared_focus = {
		id = CHI_purchase_tanks
		icon = GFX_goal_generic_army_tanks
		cost = 5
		prerequisite = {
			focus = CHI_closer_ties_with_germany
			focus = CHI_rapprochement_with_soviet_union
		}
		x = 32
		y = 3
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					OR = {
							GER_will_support = yes
							SOV_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					custom_effect_tooltip = CHI_purchase_tanks_tt
					hidden_effect = {
							if = {
									limit = {
											not = {
													has_tech = gwtank
												}
										}
									set_technology = {
											gwtank = 1
										}
								}
							if = {
									limit = {
											has_completed_focus = CHI_closer_ties_with_germany
										}
									add_equipment_to_stockpile = {
											type = light_tank_equipment_1
											amount = 100
											producer = GER
										}
								}
							if = {
									limit = {
											has_completed_focus = CHI_rapprochement_with_soviet_union
										}
									add_equipment_to_stockpile = {
											type = light_tank_equipment_1
											amount = 100
											producer = SOV
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_hire_soviet_designer
		icon = GFX_goal_generic_soviet_construction
		cost = 5
		prerequisite = {
			focus = CHI_rapprochement_with_soviet_union
		}
		x = 34
		y = 3
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
					SOV_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		add_tech_bonus = {
			name = CHI_hire_soviet_designer
			bonus = 1.0
			uses = 1
			category = armor
		}
		
		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			custom_effect_tooltip = available_mio_tt
			show_mio_tooltip = SOV_morozov_design_bureau_organization

			mio:SOV_morozov_design_bureau_organization = {
				add_mio_size = 1
				add_mio_funds = 500
			}
		}
		ELSE = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = SOV_morozov_design_bureau
		}
				}

	}
	shared_focus = {
		id = CHI_joint_tank_development
		icon = GFX_goal_generic_scientific_exchange
		cost = 5
		prerequisite = {
			focus = CHI_hire_soviet_designer
		}
		x = 34
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
					SOV_will_support = yes
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					SOV = {
							add_to_tech_sharing_group = CHI_joint_tank_development
						}
					add_to_tech_sharing_group = CHI_joint_tank_development
				}

	}
	shared_focus = {
		id = CHI_one_china_policy
		icon = GFX_focus_chi_one_china_policy
		cost = 5
		prerequisite = {
			focus = CHI_renegotiate_the_unequal_treaties
		}
		x = 35
		y = 8
			ai_will_do = {
					factor = 1
					modifier = {
							num_of_factories < 50
							factor = 0
						}
				}
			available = {
					is_subject = no
					has_army_manpower = { size > 700000 }
			        608 = { is_fully_controlled_by = ROOT }
					613 = { is_fully_controlled_by = ROOT } 
			        OR = { 328 = { is_fully_controlled_by = ROOT } 605 = { is_fully_controlled_by = ROOT } }
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									any_other_country = {
											is_literally_china = yes
											is_in_faction_with = ROOT
										}
								}
							remove_from_faction = ROOT
						}
					hidden_effect = {
							news_event = {
									id = wtt_news.46
									days = 3
								}
						}
					every_other_country = {
							limit = {
									is_literally_china = yes
									NOT = {
											has_war_with = ROOT
										}
									NOT = {
											is_subject_of = ROOT
										}
									NOT = {
											ROOT = {
													has_wargoal_against = PREV
												}
										}
									NOT = {
											tag = ROOT
										}
								}
							ROOT = {
									create_wargoal = {
											type = annex_everything
											target = PREV
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_integrate_tibet
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = CHI_one_china_policy
		}
		mutually_exclusive = {
			focus = CHI_conquer_tibet
		}
		x = 34
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					is_major = yes
					has_army_manpower = { size > 500000 }
					TIB = { is_subject = no surrender_progress < 0.1 }
				}
			bypass = {
					NOT = { country_exists = TIB }
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					TIB = { country_event = wtt_china.10 }
					add_state_claim = 757
					add_state_claim = 322
					add_state_claim = 758
				}

	}
	shared_focus = {
		id = CHI_invite_soviet_advisers
		icon = GFX_focus_generic_soviet_politics
		cost = 5
		prerequisite = {
			focus = CHI_hire_soviet_designer
		}
		x = 36
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					SOV_will_support = yes
				}
			bypass = {
					custom_trigger_tooltip = {
							tooltip = soviet_advisers_tt
							any_other_country = {
									any_army_leader = {
											has_id = 600
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1000 producer = SOV }
			
					create_corps_commander = {
			name = "Aleksandr Cherepanov"
			gfx = GFX_portrait_sov_aleksandr_cherepanov 
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 2
			id = 600
						}
				}

	}
	shared_focus = {
		id = CHI_the_soviet_volunteer_group
		icon = GFX_goal_demand_sudetenland
		cost = 5
		prerequisite = {
			focus = CHI_invite_soviet_advisers
		}
		x = 36
		y = 5
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					SOV_will_support = yes
				}
			bypass = {
					any_other_country = {
							has_completed_focus = CHI_the_soviet_volunteer_group
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					SOV = {
							country_event = wtt_china_shared.11
						}
				}

	}
	shared_focus = {
		id = CHI_conquer_tibet
		icon = GFX_goal_generic_demand_territory
		cost = 5
		prerequisite = {
			focus = CHI_one_china_policy
		}
		mutually_exclusive = {
			focus = CHI_integrate_tibet
		}
		x = 36
		y = 9
			ai_will_do = {
					factor = 1
					modifier = {
							any_country = {
									is_major = yes
									is_in_faction_with = TIB
								}
							factor = 0
						}
				}
			available = {
					is_subject = no
					num_of_factories > 75
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 500000
						}
				}
			bypass = {
					OR = {
							NOT = {
									country_exists = TIB
								}
							has_war_with = TIB
							has_wargoal_against = TIB
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									322 = {
											is_owned_and_controlled_by = TIB
										}
								}
							ROOT = {
									create_wargoal = {
											type = take_state_focus
											target = TIB
											generator = { 322 }
										}
								}
						}
					else = {
							create_wargoal = {
									type = annex_everything
									target = TIB
								}
						}
				}

	}
	shared_focus = {
		id = CHI_reach_out_to_france
		icon = GFX_focus_chi_reach_out_to_france
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 40
		y = 1
			ai_will_do = {
					factor = 1
				}
			available = {
					OR = {
							has_government = neutrality
							FRA = {
									has_government = ROOT
								}
							FRA_will_support = yes
						}
					not = {
							has_war_with = FRA
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					FRA = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_reach_out_to_france
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
				}

	}
	shared_focus = {
		id = CHI_small_arms_expertise
		icon = GFX_focus_secret_rearmament
		cost = 5
		prerequisite = {
			focus = CHI_reach_out_to_france
		}
		x = 39
		y = 2
			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 = CHI_small_arms_expertise
							bonus = 1.0
							uses = 2
							category = infantry_weapons
						}
				}

	}
	shared_focus = {
		id = CHI_elite_mountaineers
		icon = GFX_goal_generic_allies_build_infantry
		cost = 5
		prerequisite = {
			focus = CHI_small_arms_expertise
		}
		x = 39
		y = 3
			ai_will_do = {
					factor = 2
					modifier = {
							factor = 0.1
							NOT = {
									has_tech = tech_mountaineers# Wait for the full benefit
								}
						}
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_ideas = CHI_elite_mountaineers
					add_tech_bonus = {
							name = CHI_elite_mountaineers
							bonus = 1.0
							uses = 1
							category = mountaineers_tech
						}
					if = {
							limit = {
									has_tech = tech_mountaineers
								}
							custom_effect_tooltip = CHI_free_mountain_template_tt
							division_template = {
									name = "Chinese Mountain Division"
									division_names_group = CHI_MNT_01
									regiments = {
											mountaineers = {
													x = 0
													y = 0
												}
											mountaineers = {
													x = 0
													y = 1
												}
											mountaineers = {
													x = 0
													y = 2
												}
											mountaineers = {
													x = 1
													y = 0
												}
											mountaineers = {
													x = 1
													y = 1
												}
											mountaineers = {
													x = 1
													y = 2
												}
											mountaineers = {
													x = 2
													y = 0
												}
											artillery_brigade = {
													x = 2
													y = 1
												}
											artillery_brigade = {
													x = 2
													y = 2
												}
										}
									support = {
											artillery = {
													x = 0
													y = 0
												}
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_french_military_mission
		icon = GFX_goal_generic_defence
		cost = 5
		prerequisite = {
			focus = CHI_elite_mountaineers
		}
		x = 39
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		air_experience = 25
		if = {
			limit = {
				NOT = {
					any_other_country = {
						any_army_leader = {
							has_id = 604
						}
					}
				}
			}
			create_corps_commander = {
				name = "Charles Berger"
				gfx = GFX_europe_generic_land_1
				attack_skill = 2
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 3
				id = 604
				skill = 3
			}
		}
		else_if = {
			limit = {
				NOT = {
					any_other_country = {
						any_army_leader = {
							has_id = 605
						}
					}
				}
			}
			create_corps_commander = {
				name = "Jean Beauton"
				gfx = GFX_europe_generic_land_2
				attack_skill = 2
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 3
				id = 605
				skill = 3
			}
		}
		else_if = {
			limit = {
				NOT = {
					any_other_country = {
						any_army_leader = {
							has_id = 606
						}
					}
				}
			}
			create_corps_commander = {
				name = "Thierry Banadicte"
				gfx = GFX_europe_generic_land_3
				attack_skill = 2
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 3
				id = 606
				skill = 3
			}
		}
	  }

	}
	shared_focus = {
		id = CHI_heavy_weapons
		icon = GFX_goal_generic_army_artillery2
		cost = 5
		prerequisite = {
			focus = CHI_french_military_mission
			focus = CHI_invite_soviet_advisers
		}
		x = 38
		y = 5
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_tech_bonus = {
							name = CHI_heavy_weapons
							bonus = 1.0
							uses = 2
							category = artillery
						}
				}

	}
	shared_focus = {
		id = CHI_anti_imperialism
		icon = GFX_goal_generic_military_deal
		cost = 5
		prerequisite = {
			focus = CHI_renegotiate_the_unequal_treaties
		}
		mutually_exclusive = {
			focus = CHI_imperial_legacy
		}
		x = 39
		y = 8
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					num_of_factories > 150
					has_war = no
					has_stability > 0.75
					has_war_support > 0.75
					has_army_manpower = {
							size > 1000000
						}
					OR = {
					has_government = communism 
					has_government = democratic
					}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					every_other_country = {
							limit = {
									num_of_factories > 35
				              OR = {
					           has_government = fascism
					           has_government = neutrality
					               }
					           }
							add_opinion_modifier = {
									target = ROOT
									modifier = large_decrease 
							}
						}
				}

	}
	shared_focus = {
		id = CHI_french_drill
		icon = GFX_goal_generic_build_tank
		cost = 5
		prerequisite = {
			focus = CHI_french_military_mission
		}
		x = 40
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					every_army_leader = {
							add_defense = 1
						}
					add_timed_idea = { idea = CHI_french_drill days = 730 }
				}

	}
	shared_focus = {
		id = CHI_guidance_and_support
		icon = GFX_goal_generic_forceful_treaty
		cost = 5
		prerequisite = {
			focus = CHI_anti_imperialism
		}
		x = 40
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					has_war = no
					is_major = yes
					has_army_manpower = { size > 900000 }
					any_owned_state = {
							OR = {
									is_core_of = VIN
									is_core_of = CAM
									is_core_of = LAO
								}
							is_fully_controlled_by = ROOT
						}
				}
			bypass = {
					country_exists = VIN
					country_exists = CAM
					country_exists = LAO
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					release_autonomy = {
							target = VIN
							autonomy_state = autonomy_puppet
							freedom_level = 0.5
						}
					release_autonomy = {
							target = CAM
							autonomy_state = autonomy_puppet
							freedom_level = 0.5
						}
					release_autonomy = {
							target = LAO
							autonomy_state = autonomy_puppet
							freedom_level = 0.5
						}
				}

	}
	shared_focus = {
		id = CHI_guarantee_the_hanoi_route
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = CHI_reach_out_to_france
		}
		x = 41
		y = 2
			ai_will_do = {
					factor = 1
					modifier = {
							FRA = {
									has_war = yes
								}
							factor = 0
						}
				}
			available = {
					all_other_country = {
							NOT = {
									has_completed_focus = CHI_guarantee_the_hanoi_route
								}
						}
					FRA_will_support = yes
					325 = {
							CONTROLLER = {
									OR = {
											tag = ROOT
											is_subject_of = ROOT
											is_in_faction_with = ROOT
										}
								}
						}#Yunnan
					671 = {
							CONTROLLER = {
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											original_tag = FRA
											is_subject_of = FRA
										}
								}
						}#Tonkin
				}
			bypass = {
					country_exists = VIN
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					671 = {
							set_state_flag = CHI_needed_for_hanoi_route
						}
					325 = {
							set_state_flag = CHI_needed_for_hanoi_route
						}
					set_variable = {
							CHI_hanoi_route_current_level = 3
						}
					add_offsite_building = {
							type = arms_factory
							level = 3
						}
				}

	}
	shared_focus = {
		id = CHI_british_cooperation
		icon = GFX_focus_chi_british_cooperation
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 44
		y = 1
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
					modifier = {
							factor = 10
							has_country_flag = ENG_influenced_by_britain_flag
						}
				}
			available = {
					OR = {
							has_government = neutrality
							ENG = {
									has_government = ROOT
								}
							ENG_will_support = yes
						}
					not = {
							has_War_with = ENG
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					ENG = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_british_cooperation
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
				}

	}
	shared_focus = {
		id = CHI_burma_road
		icon = GFX_goal_generic_army_motorized
		cost = 5
		prerequisite = {
			focus = CHI_british_cooperation
		}
		x = 44
		y = 2
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
					modifier = {
							RAJ = {
									exists = yes
									NOT = {
											is_in_faction_with = ENG
										}
								}
							factor = 0
						}
				}
			available = {
					OR = {
							is_subject = no
							is_subject_of = ENG
						}
					all_other_country = {
							NOT = {
									has_completed_focus = CHI_burma_road
								}
						}
					ENG_will_support = yes
					325 = {
							CONTROLLER = {
									OR = {
											tag = ROOT
											is_subject_of = ROOT
											is_in_faction_with = ROOT
										}
								}
						}#Yunnan
					288 = {
							CONTROLLER = {
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											original_tag = ENG
											is_subject_of = ENG
										}
								}
						}#Burma
					640 = {
							CONTROLLER = {
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											original_tag = ENG
											is_subject_of = ENG
										}
								}
						}#Mandalay
				}
			bypass = {
					country_exists = BRM
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					288 = {
							set_state_flag = CHI_needed_for_burma_road
						}
					325 = {
							set_state_flag = CHI_needed_for_burma_road
						}
					640 = {
							set_state_flag = CHI_needed_for_burma_road
						}
					set_variable = {
							CHI_burma_road_current_level = 2
						}
					add_offsite_building = {
							type = arms_factory
							level = 2
						}
				}

	}
	shared_focus = {
		id = CHI_construction_battalions
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = CHI_guarantee_the_hanoi_route
			focus = CHI_burma_road
		}
		x = 42
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {
					OR = {
							FRA_will_support = yes
							ENG_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_timed_idea = { idea = CHI_construction_battalions days = 1095 }
					add_tech_bonus = {
							name = CHI_construction_battalions
							bonus = 1.0
							uses = 1
							category = engineers_tech
						}
				}

	}
	shared_focus = {
		id = CHI_ledo_road
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = CHI_burma_road
		}
		x = 44
		y = 5
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
					modifier = {
							RAJ = {
									exists = yes
									NOT = {
											is_in_faction_with = ENG
										}
								}
							factor = 0
						}
				}
			available = {
					OR = {
							is_subject = no
							is_subject_of = ENG
						}
					all_other_country = {
							NOT = {
									has_completed_focus = CHI_ledo_road
								}
						}
					ENG_will_support = yes
					325 = {
							CONTROLLER = {
									OR = {
											tag = ROOT
											is_subject_of = ROOT
											is_in_faction_with = ROOT
										}
								}
						}#Yunnan
					432 = {
							CONTROLLER = {
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											original_tag = ENG
											is_subject_of = ENG
										}
								}
						}#Assam
					640 = {
							CONTROLLER = {
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											original_tag = ENG
											is_subject_of = ENG
										}
								}
						}#Mandalay
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					432 = {
							set_state_flag = CHI_needed_for_ledo_road
						}
					325 = {
							set_state_flag = CHI_needed_for_ledo_road
						}
					640 = {
							set_state_flag = CHI_needed_for_ledo_road
						}
					set_variable = {
							CHI_ledo_road_current_level = 1
						}
					add_offsite_building = {
							type = arms_factory
							level = 1
						}
				}

	}
	shared_focus = {
		id = CHI_overlordship_over_indochina
		icon = GFX_goal_generic_position_armies
		cost = 5
		prerequisite = {
			focus = CHI_imperial_legacy
		}
		x = 44
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {
					has_war = no
					is_subject = no
					num_of_factories > 125
					has_stability > 0.5
					has_war_support > 0.5
					has_army_manpower = { size > 900000 }
				}
			bypass = {
					controls_state = 671
					controls_state = 670
					controls_state = 286
					controls_state = 741
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					every_other_country = {
							limit = {
									OR = {
											owns_state = 671
											owns_state = 670
											owns_state = 286
											owns_state = 741
											controls_state = 671
											controls_state = 670
											controls_state = 286
											controls_state = 741
										}
								}
							ROOT = {
									create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 671  670  286  741 }
										}
								}
						}
					activate_mission_tooltip = CHI_overlordship_over_indochina
					hidden_effect = {
							news_event = { id = wtt_news.47 days = 3
							}
						}
				}

	}
	shared_focus = {
		id = CHI_mission_to_the_us
		icon = GFX_focus_chi_mission_to_the_us
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 52
		y = 1
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					OR = {
							USA_will_support = yes
							has_government = neutrality
							USA = {
									has_government = ROOT
								}
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					USA = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_mission_to_the_us
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
					USA = {
							unlock_decision_tooltip = USA_support_the_anti_fascist_war
						}
					custom_effect_tooltip = CHI_mission_to_the_us_soong_us_decision
				}

	}
	shared_focus = {
		id = CHI_fighter_purchases
		icon = GFX_goal_generic_build_airforce
		cost = 5
		prerequisite = {
			focus = CHI_british_cooperation
			focus = CHI_mission_to_the_us
		}
		x = 47
		y = 2
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					OR = {
							AND = {
									has_completed_focus = CHI_british_cooperation
									ENG_will_support = yes
								}
							AND = {
									has_completed_focus = CHI_mission_to_the_us
									USA_will_support = yes
								}
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
	completion_reward = {
		custom_effect_tooltip = CHI_purchase_fighters_tt
		if = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = CHI_british_cooperation
						has_completed_focus = CHI_mission_to_the_us
					}
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_airframe
					seller_trigger = CHI_plane_seller_for_subsidy
				}
			}
			if = {
				limit = {
					has_completed_focus = CHI_british_cooperation
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_airframe
					seller_tags = { ENG } 
				}
			}
			if = {
				limit = {
					has_completed_focus = CHI_mission_to_the_us
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_airframe
					seller_tags = { USA } 
				}
			}
		}
		hidden_effect = {
			if = {
				limit = {
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				if = {
					limit = {
						not = {
							has_tech = early_fighter
						}
					}
					set_technology = { early_fighter = 1 }
				}
				if = {
					limit = {
						has_completed_focus = CHI_british_cooperation
						not = { has_war_with = ENG }
					}
					add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 50 producer = ENG }
				}
				if = {
					limit = {
						has_completed_focus = CHI_mission_to_the_us
						not = { has_war_with = USA }
					}
					add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 50 producer = USA }
				}
			}
			else = {
				if = {
					limit = {
						not = {
							has_tech = iw_small_airframe
						}
					}
					set_technology = { iw_small_airframe = 1 }
				}
				if = {
					limit = {
						has_completed_focus = CHI_british_cooperation
						not = { has_war_with = ENG }
					}
					add_equipment_to_stockpile = { type = small_plane_airframe_0 amount = 50 producer = ENG variant_name = "Gloster Gladiator"}
				}
				if = {
					limit = {
						has_completed_focus = CHI_mission_to_the_us
						not = { has_war_with = USA }
					}
					add_equipment_to_stockpile = { type = small_plane_airframe_1 amount = 50 producer = USA variant_name = "P-36A"}
				}
			}
		}
	}
}
	shared_focus = {
		id = CHI_camco
		icon = GFX_goal_generic_construct_mil_factory
		cost = 5
		prerequisite = {
			focus = CHI_fighter_purchases
		}
		x = 47
		y = 3
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					is_subject = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {

		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			custom_effect_tooltip = available_mio_tt
			show_mio_tooltip = CHI_camco_medium_organization
			mio:CHI_camco_medium_organization = {
				add_mio_size = 1
				add_mio_funds = 500
			}
		}

		ELSE = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = CHI_camco_1
		}
				}

	}
	shared_focus = {
		id = CHI_local_fighter_production
		icon = GFX_goal_generic_air_fighter2
		cost = 5
		prerequisite = {
			focus = CHI_camco
		}
		x = 46
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
		
		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			custom_effect_tooltip = available_mio_tt
			show_mio_tooltip = CHI_camco_fighter_organization
			mio:CHI_camco_fighter_organization = {
				add_mio_size = 1
				add_mio_funds = 500
			}
		}

		ELSE = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = CHI_camco_2
		}
				}

	}
	shared_focus = {
		id = CHI_hire_chennault
		icon = GFX_focus_generic_military_mission
		cost = 5
		prerequisite = {
			focus = CHI_mission_to_the_us
		}
		x = 49
		y = 3
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					USA_will_support = yes
					is_subject = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					custom_effect_tooltip = available_theorist
					show_ideas_tooltip = CHI_claire_lee_chennault_air_theorist
					custom_effect_tooltip = available_chief_of_airforce
					show_ideas_tooltip = CHI_claire_lee_chennault_air_chief
				}

	}
	shared_focus = {
		id = CHI_the_hump
		icon = GFX_goal_generic_air_production
		cost = 5
		prerequisite = {
			focus = CHI_camco
		}
		prerequisite = {
			focus = CHI_hire_chennault
		}
		x = 48
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
					modifier = {
							RAJ = {
									exists = yes
									NOT = {
											is_in_faction_with = ENG
										}
								}
							factor = 0
						}
				}
			available = {
		OR = {
			is_subject = no
			is_subject_of = ENG
		}
		all_other_country = { NOT = { has_completed_focus = CHI_the_hump } }
		OR = {
			AND = {
				has_completed_focus = CHI_british_cooperation
				ENG_will_support = yes
			}
			AND = {
				has_completed_focus = CHI_mission_to_the_us
				USA_will_support = yes
			}
		}
		601 = { #Xikang
			CONTROLLER = {
				OR = {
					tag = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		434 = { #Arunachal Pradesh
			CONTROLLER = {
				NOT = { has_war_with = ROOT }
				OR = {
					original_tag = ENG
					is_subject_of = ENG
				}				
			}
		}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		434 = { #Arunachal Pradesh
			set_state_flag = CHI_needed_for_the_hump
		}
		601 = { #Xikang
			set_state_flag = CHI_needed_for_the_hump
		}	
		set_variable = { CHI_the_hump_current_level = 1 }
		add_offsite_building = { type = arms_factory level = 1 }
				}

	}
	shared_focus = {
		id = CHI_chinese_expeditionary_force
		icon = GFX_goal_generic_alliance
		cost = 5
		prerequisite = {
			focus = CHI_the_hump
		}
		x = 48
		y = 5
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					NOT = {
							USA = {
									has_country_flag = joseph_stilwell_sent_to_china
								}
						}
					USA_will_support = yes
					USA = {
							has_civil_war = no
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					USA = {
							country_event = wtt_china_shared.12
						}
				}

	}
	shared_focus = {
		id = CHI_invite_the_flying_tigers
		icon = GFX_focus_chi_flying_tigers
		cost = 5
		prerequisite = {
			focus = CHI_hire_chennault
		}
		x = 50
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					USA_will_support = yes
					is_subject = no
				}
			bypass = {
					any_other_country = {
							has_completed_focus = CHI_invite_the_flying_tigers
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					USA = {
							country_event = wtt_china_shared.10
						}
				}

	}
	shared_focus = {
		id = CHI_sino_american_cooperative_organization
		icon = GFX_focus_generic_paratrooper
		cost = 5
		prerequisite = {
			focus = CHI_mission_to_the_us
		}
		x = 51
		y = 2
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_tech_bonus = {
							name = CHI_sino_american_cooperative_organization
							bonus = 0.5
							uses = 4
							category = recon_tech
							category = para_tech
						}
				}

	}
	shared_focus = {
		id = CHI_collaboration_with_the_japanese
		icon = GFX_focus_chi_collaboration_with_the_japanese
		cost = 5
		prerequisite = {
			focus = CHI_invite_foreign_investors
		}
		x = 54
		y = 1
			ai_will_do = {
					factor = 1
				}
			available = {
					OR = {
							JAP = {
									has_government = ROOT
								}
							JAP_will_support = yes
						}
					NOT = {
							has_wargoal_against = JAP
						}
					NOT = {
							has_war_with = JAP
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					JAP = {
							add_opinion_modifier = {
									target = ROOT
									modifier = CHI_collaboration_with_the_japanese
								}
							add_ai_strategy = {
									type = support
									id = ROOT
									value = 15
								}
						}
				}

	}
	shared_focus = {
		id = CHI_investment_into_shipbuilding
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		prerequisite = {
			focus = CHI_collaboration_with_the_japanese
			focus = CHI_mission_to_the_us
		}
		x = 53
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {
					any_state = {
							is_controlled_by = ROOT
							is_coastal = yes
						}
				}

			completion_reward = {
					navy_experience = 50
					random_owned_controlled_state = {
							limit = {
									is_coastal = yes
									is_core_of = ROOT
									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
								}
						}
					random_owned_controlled_state = {
							limit = {
									is_coastal = yes
									is_core_of = ROOT
									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
								}
						}
				}

	}
	shared_focus = {
		id = CHI_order_destroyers
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 5
		prerequisite = {
			focus = CHI_investment_into_shipbuilding
		}
		x = 53
		y = 3
			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 = CHI_order_destroyers
							bonus = 0.5
							uses = 3
							category = dd_tech
						}
				}

	}
	shared_focus = {
		id = CHI_light_cruiser_project
		icon = GFX_goal_generic_navy_cruiser
		cost = 5
		prerequisite = {
			focus = CHI_mission_to_the_us
		}
		prerequisite = {
			focus = CHI_order_destroyers
		}
		x = 52
		y = 4
			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 = CHI_light_cruiser_project
							bonus = 0.75
							uses = 2
							category = cl_tech
						}
				}

	}
	shared_focus = {
		id = CHI_modern_submarines
		icon = GFX_goal_generic_navy_submarine
		cost = 5
		prerequisite = {
			focus = CHI_order_destroyers
		}
		prerequisite = {
			focus = CHI_collaboration_with_the_japanese
		}
		x = 54
		y = 4
			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 = CHI_modern_submarines
							bonus = 0.75
							uses = 2
							category = ss_tech
						}
				}

	}
	shared_focus = {
		id = CHI_train_marines
		icon = GFX_goal_generic_amphibious_assault
		cost = 5
		prerequisite = {
			focus = CHI_light_cruiser_project
			focus = CHI_modern_submarines
		}
		x = 53
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_ideas = CHI_train_marines
					add_tech_bonus = {
							name = CHI_train_marines
							bonus = 0.5
							uses = 3
							category = marine_tech
						}
				}

	}
	shared_focus = {
		id = CHI_heavy_cruiser_project
		icon = GFX_goal_generic_navy_battleship
		cost = 5
		prerequisite = {
			focus = CHI_light_cruiser_project
		}
		x = 52
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
			random_owned_controlled_state = {
			limit = {
				is_coastal = yes
				is_core_of = ROOT
				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
			}
		}
					add_tech_bonus = {
							name = CHI_heavy_cruiser_project
							bonus = 0.75
							uses = 2
							category = ca_tech
						}
				}

	}
	shared_focus = {
		id = CHI_coastal_patrol_planes
		icon = GFX_goal_generic_air_naval_bomber
		cost = 5
		prerequisite = {
			focus = CHI_modern_submarines
		}
		x = 54
		y = 6
			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 = CHI_coastal_patrol_planes
			bonus = 0.5
			uses = 2
			category = naval_bomber
		}
				}

	}
	shared_focus = {
		id = CHI_naval_aviation
		icon = GFX_goal_generic_navy_carrier
		cost = 5
		prerequisite = {
			focus = CHI_heavy_cruiser_project
			focus = CHI_coastal_patrol_planes
		}
		x = 53
		y = 7
			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 = CHI_naval_aviation
							bonus = 0.5
							uses = 2
							category = cv_tech
						}
					activate_mission_tooltip = CHI_build_a_carrier
				}

	}
	shared_focus = {
		id = CHI_carrier_air_wing
		icon = GFX_goal_generic_occupy_start_war
		cost = 5
		prerequisite = {
			focus = CHI_naval_aviation
		}
		x = 53
		y = 8
			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 = CHI_naval_aviation
							bonus = 0.5
							uses = 2
							category = naval_air
						}
				}

	}
	shared_focus = {
		id = CHI_give_falkenhausen_citizenship
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 5
		prerequisite = {
			focus = CHI_wargaming_division
		}
		x = 28
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					NOT = {
							has_global_flag = falkenhausen_recalled
						}
					GER_will_support = yes
				}
			bypass = {
					custom_trigger_tooltip = {
							tooltip = falkenhausen_tt
							any_other_country = {
									any_army_leader = {
											has_id = 603
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		custom_effect_tooltip = available_chief_of_army
		show_ideas_tooltip = CHI_alexander_von_falkenhausen_army_chief
		show_unit_leaders_tooltip = CHI_alexander_von_falkenhausen
				}

	}
	shared_focus = {
		id = CHI_chinese_general_staff
		icon = GFX_goal_generic_axis_build_infantry
		cost = 5
		prerequisite = {
			focus = CHI_give_falkenhausen_citizenship
		}
		x = 28
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
					NOT = {
							has_idea = CHI_incompetent_officers
						}
					NOT = {
							has_global_flag = falkenhausen_recalled
						}
					if = {
							limit = {
									NOT = {
											OR = {
													has_government = neutrality
													GER = {
															has_government = ROOT
														}
												}
										}
								}
							GER_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					every_army_leader = {
							add_planning = 1
						}
					add_timed_idea = { idea = CHI_chinese_general_staff days = 730 }
				}

	}
	shared_focus = {
		id = CHI_experimental_mechanised_unit
		icon = GFX_goal_generic_cavalry
		cost = 5
		prerequisite = {
			focus = CHI_purchase_tanks
		}
		x = 32
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					capital_scope = {
							is_fully_controlled_by = ROOT
						}
					has_tech = motorised_infantry
					OR = {
							GER_will_support = yes
							SOV_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					custom_effect_tooltip = CHI_experimental_mechanised_unit_effect
					hidden_effect = {
							if = {
									limit = {
											tag = CHI
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = CHI_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = PRC
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = PRC_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = YUN
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = YUN_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = GXC
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = GXC_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = SHX
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = SHX_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = XSM
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = XSM_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = SIK
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = SIK_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							if = {
									limit = {
											tag = MAN
										}
									division_template = {
											name = "Experimental Mechanised Division"
											division_names_group = MAN_MEC_01
											priority = 2
											regiments = {
													light_armor = {
															x = 0
															y = 0
														}
													light_armor = {
															x = 0
															y = 1
														}
													motorized = {
															x = 1
															y = 0
														}
													motorized = {
															x = 1
															y = 1
														}
													motorized = {
															x = 1
															y = 2
														}
													motorized = {
															x = 1
															y = 3
														}
												}
											support = {

}
										}
								}
							capital_scope = {
									create_unit = {
											division = "name = \"200. Mechanised Division\" division_template = \"Experimental Mechanised Division\" start_experience_factor = 1.0"
											owner = ROOT
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_combined_arms_warfare
		icon = GFX_goal_generic_army_doctrines
		cost = 5
		prerequisite = {
			focus = CHI_experimental_mechanised_unit
		}
		x = 32
		y = 6
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = PRC
						}
				}
			available = {
					OR = {
							GER_will_support = yes
							SOV_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
					add_tech_bonus = {
							name = CHI_combined_arms_warfare
							bonus = 1.0
							uses = 1
							category = cat_mechanized_equipment
						}
				}

	}
	shared_focus = {
		id = CHI_modern_logistics
		icon = GFX_goal_generic_army_motorized
		cost = 5
		prerequisite = {
			focus = CHI_french_drill
			focus = CHI_ledo_road
		}
		x = 42
		y = 6
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					OR = {
							FRA_will_support = yes
							ENG_will_support = yes
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					every_army_leader = {
							add_logistics = 1
						}
					add_ideas = CHI_modern_logistics
					add_tech_bonus = {
							name = CHI_modern_logistics
							bonus = 1.0
							uses = 1
							technology = tech_field_hospital
							technology = tech_field_hospital2
							technology = tech_field_hospital3
							technology = tech_field_hospital4
							technology = tech_logistics_company
							technology = tech_logistics_company2
							technology = tech_logistics_company3
							technology = tech_logistics_company4
						}
				}

	}
	shared_focus = {
		id = CHI_renounce_the_mcmahon_line
		icon = GFX_goal_generic_major_war
		cost = 5
		prerequisite = {
			focus = CHI_imperial_legacy
		}
		x = 42
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = { is_subject = no }
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_state_claim = 434
				}

	}
	shared_focus = {
		id = CHI_demand_mongolia
		icon = GFX_goal_generic_air_doctrine
		cost = 5
		prerequisite = {
			focus = CHI_renounce_the_mcmahon_line
		}
		x = 42
		y = 10
			ai_will_do = {
					factor = 1
					modifier = {
							any_country = {
									is_major = yes
									is_in_faction_with = MON
								}
							factor = 0
						}
				}
			available = {
					is_subject = no
					has_war = no
					is_major = yes
					has_army_manpower = { size > 800000 }
				}
			bypass = {
					NOT = { country_exists = MON }
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									330 = {
											is_owned_and_controlled_by = MON
										}
								}
							ROOT = {
									create_wargoal = {
											type = take_state_focus
											target = MON
											generator = { 330 }
										}
								}
						}
					else = {
							create_wargoal = {
									type = annex_everything
									target = MON
								}
						}
				}

	}
	shared_focus = {
		id = CHI_commit_to_korean_independence
		icon = GFX_goal_generic_national_unity
		cost = 5
		prerequisite = {
			focus = CHI_guidance_and_support
		}
		x = 40
		y = 10
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					has_war = no
					is_major = yes
					has_army_manpower = { size > 900000 }
				}
			bypass = {
					OR = {
							country_exists = KOR
							527 = {
									CONTROLLER = {
											NOT = {
													tag = ROOT
												}
											is_in_faction_with = ROOT
										}
								}
							525 = {
									CONTROLLER = {
											NOT = {
													tag = ROOT
												}
											is_in_faction_with = ROOT
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									OR = {
											527 = {
													is_owned_and_controlled_by = ROOT
												}
											525 = {
													is_owned_and_controlled_by = ROOT
												}
										}
								}
							activate_mission_tooltip = CHI_release_korea
						}
					else = {
							527 = {
									CONTROLLER = {
											ROOT = {
													create_wargoal = {
															type = take_state_focus
															target = PREV
															generator = { 527 }
														}
												}
										}
								}
							if = {
									limit = {
											NOT = {
													525 = {
															CONTROLLER = {
																	controls_state = 527
																}
														}
												}
										}
									525 = {
											CONTROLLER = {
													ROOT = {
															create_wargoal = {
																	type = take_state_focus
																	target = PREV
																	generator = { 525 }
																}
														}
												}
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_indian_cooperation
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = CHI_anti_imperialism
		}
		x = 38
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					has_war = no
					OR = {
							is_faction_leader = yes
							RAJ = {
									is_subject = yes
								}
						}
					RAJ = {
							NOT = {
									has_war_with = ROOT
								}
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									ROOT = {
											is_faction_leader = yes
										}
									RAJ = {
											is_subject = no
										}
								}
							RAJ = {
									country_event = {
											id = generic.5
										}
								}
						}
					else = {
							RAJ = {
									country_event = wtt_china_shared.1
								}
						}
				}

	}
	shared_focus = {
		id = CHI_influence_mongolia
		icon = GFX_goal_generic_neutrality_focus
		cost = 5
		prerequisite = {
			focus = CHI_indian_cooperation
		}
		x = 38
		y = 10
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					has_war = no
					OR = {
							is_faction_leader = yes
							MON = {
									is_subject = yes
								}
						}
					MON = {
							NOT = {
									has_war_with = ROOT
								}
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									ROOT = {
											is_faction_leader = yes
										}
									MON = {
											is_subject = no
										}
								}
							MON = {
									country_event = {
											id = generic.5
										}
								}
						}
					else = {
							MON = {
									country_event = wtt_china_shared.1
								}
						}
				}

	}
	shared_focus = {
		id = CHI_dominate_japan
		icon = GFX_focus_AST_war_japan
		cost = 5
		prerequisite = {
			focus = CHI_imperial_legacy
		}
		x = 46
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {
					is_major = yes
					is_subject = no
					has_war = no
					NOT = { has_war_with = JAP }
					NOT = { is_subject_of = JAP	}
					NOT = { is_in_faction_with = JAP }
					JAP = { is_subject = no surrender_progress < 0.1 }
				}
			bypass = {
					JAP = {
							is_subject_of = ROOT
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					JAP = {
							country_event = {
									id = wtt_china.10
								}
						}
				}

	}
	shared_focus = {
		id = CHI_secure_the_peninsula
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 5
		prerequisite = {
			focus = CHI_overlordship_over_indochina
			focus = CHI_dominate_japan
		}
		x = 45
		y = 10
			ai_will_do = {
					factor = 1
				}
			available = {
                    is_major = yes
					is_subject = no
					has_war = no
					has_army_manpower = { size > 900000 }
					OR = {
							527 = {
									CONTROLLER = {
											NOT = { tag = ROOT }
											NOT = { is_in_faction_with = ROOT }
										}
								}
							525 = {
									CONTROLLER = {
											NOT = { tag = ROOT }
											NOT = { is_in_faction_with = ROOT }
										}
								}
						}
				}
			bypass = {
}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					527 = {
							CONTROLLER = {
									ROOT = {
											create_wargoal = {
													type = take_state_focus
													target = PREV
													generator = { 527 }
												}
										}
								}
						}
					if = {
							limit = {
									NOT = {
											525 = {
													CONTROLLER = {
															OR = {
																	controls_state = 527
																	tag = ROOT
																}
														}
												}
										}
								}
							525 = {
									CONTROLLER = {
											ROOT = {
													create_wargoal = {
															type = take_state_focus
															target = PREV
															generator = { 525 }
														}
												}
										}
								}
						}
				}

	}
	shared_focus = {
		id = CHI_local_bomber_production
		icon = GFX_goal_generic_air_bomber
		cost = 5
		prerequisite = {
			focus = CHI_local_fighter_production
		}
		x = 46
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = yes
			completion_reward = {
		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			custom_effect_tooltip = available_mio_tt
			show_mio_tooltip = CHI_camco_bomber_organization
			mio:CHI_camco_bomber_organization = {
				add_mio_size = 1
				add_mio_funds = 500
			}
		}

		ELSE = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = CHI_camco_3
		}
				}

	}
	shared_focus = {
		id = CHI_the_chu_x_po
		icon = GFX_goal_generic_air_fighter
		cost = 5
		prerequisite = {
			focus = CHI_local_bomber_production
		}
		x = 46
		y = 6
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 4
							tag = CHI
						}
				}
			available = {
					NOT = {
							has_tech = fighter3
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = CHI_the_chu_x_po
							ahead_reduction = 2
							technology = fighter3
						}
				}

	}
