focus_tree = {
	id = china_communist_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = PRC
			has_dlc = "Waking the Tiger"
			
		}
	}
	default = no
	shared_focus = CHI_invite_foreign_investors
	shared_focus = CHI_renegotiate_the_unequal_treaties
	
	continuous_focus_position = { x = 60 y = 1400 }
	
	focus = {
		id = PRC_land_redistribution
		icon = GFX_goal_generic_construction
		cost = 10
		x = 12
		y = 0
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {
					NOT = {
							PRC_has_low_popular_support = yes
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					PRC_low_popular_support_level_down = yes
				}

	}
	focus = {
		id = PRC_enforce_the_three_rules
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = PRC_land_redistribution
		}
		x = 12
		y = 1
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					add_stability = 0.05
				}

	}
	focus = {
		id = PRC_strengthen_the_central_secretariat
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = PRC_enforce_the_three_rules
		}
		x = 9
		y = 2
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

	}
	focus = {
		id = PRC_marxist_orthodoxy
		icon = GFX_goal_support_communism
		cost = 10
		prerequisite = {
			focus = PRC_strengthen_the_central_secretariat
		}
		mutually_exclusive = {
			focus = PRC_agrarian_socialism
			focus = PRC_social_democracy
		}
		x = 3
		y = 3
			ai_will_do = {
					factor = 2
					modifier = {
							has_war_with = SOV
							factor = 0
						}
				}
			available = {
					has_government = communism
					OR = {
							is_subject = no
							is_subject_of = SOV
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			if = {
				limit = {
					original_tag = PRC
				}
				create_country_leader = {
					name = "Wang Ming"
					desc = "POLITICS_WANG_MING_DESC"
					picture = "GFX_portrait_prc_wang_ming"
					expire = "1965.1.1"
					ideology = marxism
					traits = {
						
					}
				}
			}
				}

	}
	focus = {
		id = PRC_agrarian_socialism
		icon = GFX_focus_prc_agrarian_socialism
		cost = 10
		prerequisite = {
			focus = PRC_strengthen_the_central_secretariat
		}
		mutually_exclusive = {
			focus = PRC_marxist_orthodoxy
			focus = PRC_social_democracy
		}
		x = 5
		y = 3
			ai_will_do = {
					factor = 45
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					swap_ideas = {
							remove_idea = PRC_the_long_march_1
							add_idea = PRC_the_long_march_2
						}
				}

	}
	focus = {
		id = PRC_social_democracy
		icon = GFX_focus_prc_social_democracy
		cost = 10
		prerequisite = {
			focus = PRC_strengthen_the_central_secretariat
		}
		mutually_exclusive = {
			focus = PRC_marxist_orthodoxy
			focus = PRC_agrarian_socialism
		}
		x = 7
		y = 3
			ai_will_do = {
					factor = 2
					modifier = {
							has_war_with = event_target:WTT_current_china_leader
							factor = 0
						}
				}
			available = {
					has_government = communism
					OR = {
							is_subject = no
							is_subject_of = event_target:WTT_current_china_leader
						}
				}
			bypass = {

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

}
			completion_reward = {
					add_stability = -0.10
					add_war_support = -0.10
					add_popularity = {
							ideology = democratic
							popularity = 0.20
						}
			if = {
				limit = {
					original_tag = PRC
				}
				create_country_leader = {
					name = "Zhang Lan"
					desc = "POLITICS_ZHANG_LAN_DESC"
					picture = "GFX_portrait_prc_zhang_lan"
					expire = "1965.1.1"
					ideology = marxism
					traits = {
						
					}
				}
			}
			set_politics = {
				ruling_party = communism
				elections_allowed = yes
			}
				}

	}
	focus = {
		id = PRC_permit_opium_trade
		icon = GFX_goal_generic_forceful_treaty
		cost = 10
		prerequisite = {
			focus = PRC_strengthen_the_central_secretariat
		}
		mutually_exclusive = {
			focus = PRC_ban_the_opium_trade
		}
		x = 11
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_timed_idea = {
							idea = PRC_permit_opium_trade
							days = 1825
						}
					add_ideas = PRC_government_corruption
				}

	}
	focus = {
		id = PRC_ban_the_opium_trade
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = PRC_strengthen_the_central_secretariat
		}
		mutually_exclusive = {
			focus = PRC_permit_opium_trade
		}
		x = 13
		y = 3
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_stability = -0.05
					if = {
							limit = {
									NOT = {
											has_idea = CHI_labor_reform
										}
								}
							add_ideas = CHI_labor_reform
						}
				}

	}
	focus = {
		id = PRC_abolish_the_land_rent
		icon = GFX_focus_generic_support_the_left_right
		cost = 10
		prerequisite = {
			focus = PRC_permit_opium_trade
			focus = PRC_ban_the_opium_trade
		}
		x = 12
		y = 4
			ai_will_do = {
					factor = 4
				}
			available = {
				}
			bypass = {
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
			        PRC_low_popular_support_level_down = yes
					if = {
							limit = {
									NOT = {
											has_idea = CHI_public_works
										}
								}
							add_timed_idea = {
									idea = CHI_public_works
									days = 365
								}
						}
					if = {
							limit = {
									NOT = {
											has_idea = CHI_rural_militias
										}
								}
							add_ideas = CHI_rural_militias
						}
				}

	}
	focus = {
		id = PRC_literacy_programs
		icon = GFX_focus_generic_socialist_science
		cost = 10
		prerequisite = {
			focus = PRC_abolish_the_land_rent
		}
		x = 12
		y = 5
			ai_will_do = {
					factor = 4
				}
			available = {
					num_of_factories > 10
				}
			bypass = {

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

}
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = PRC_china_medical_university
		icon = GFX_focus_research
		cost = 10
		prerequisite = {
			focus = PRC_literacy_programs
		}
		x = 12
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
					num_of_factories > 50
				}
			bypass = {

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

}
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = PRC_form_the_academy_of_sciences
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = PRC_china_medical_university
		}
		x = 12
		y = 7
			ai_will_do = {
					factor = 1
				}
			available = {
					num_of_factories > 100
				}
			bypass = {

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

}
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = PRC_the_yanan_base_area
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = PRC_enforce_the_three_rules
		}
		x = 17
		y = 2
			ai_will_do = {
					factor = 4
				}
			available = {
					622 = {
							is_fully_controlled_by = ROOT
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					622 = {
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							add_extra_state_shared_building_slots = 2
						}
				}
			completion_reward = {
					622 = {
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							add_extra_state_shared_building_slots = 2
						}
				}

	}
	focus = {
		id = PRC_focus_on_china
		icon = GFX_goal_generic_major_war
		cost = 10
		prerequisite = {
			focus = PRC_the_yanan_base_area
		}
		x = 15
		y = 3
			ai_will_do = {
					factor = 20
				}
			available = {
					not = {
							is_subject_of = event_target:WTT_current_china_leader
						}
				}
			bypass = {

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

}
			completion_reward = {
					add_timed_idea = {
							idea = PRC_focus_on_china
							days = 730
						}
				}

	}
	focus = {
		id = PRC_infiltration
		icon = GFX_focus_prc_infiltration
		cost = 10
		prerequisite = {
			focus = PRC_focus_on_china
		}
		x = 15
		y = 5
			ai_will_do = {
					factor = 35
				}
			available = {
					country_exists = event_target:WTT_current_china_leader
					NOT = {
							is_subject_of = event_target:WTT_current_china_leader
						}
				}
			bypass = {

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

}
			completion_reward = {
					unlock_decision_category_tooltip = PRC_infiltrate_nationalist_areas
					set_country_flag = {
							flag = CHI_delay_sweep_for_communists
							days = 90
							value = 1
						}
				}

	}
	focus = {
		id = PRC_exploit_the_weak_neighbours
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = PRC_focus_on_china
		}
		x = 16
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					OR = {
							SHX = {
									can_ROOT_get_wargoal_on_THIS = yes
								}
							XSM = {
									can_ROOT_get_wargoal_on_THIS = yes
								}
						}
				}
			bypass = {
					has_war_with = SHX
					has_war_with = XSM
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					if = {
							limit = {
									SHX = {
											can_ROOT_get_wargoal_on_THIS = yes
										}
								}
							create_wargoal = {
									type = annex_everything
									target = SHX
								}
						}
					if = {
							limit = {
									XSM = {
											can_ROOT_get_wargoal_on_THIS = yes
										}
								}
							create_wargoal = {
									type = annex_everything
									target = XSM
								}
						}
				}

	}
	focus = {
		id = PRC_prepare_for_war_with_japan
		icon = GFX_goal_generic_major_war
		cost = 10
		prerequisite = {
			focus = PRC_the_yanan_base_area
		}
		x = 20
		y = 3
			ai_will_do = {
					factor = 4
					modifier = {
							JAP = {
									has_government = communism
								}
							factor = 0
						}
				}
			available = {
					not = {
							is_subject_of = JAP
						}
				}
			bypass = {
					has_war_with = JAP
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					add_war_support = 0.1
				}

	}
	focus = {
		id = PRC_government_of_national_defense
		icon = GFX_focus_chi_united_front
		cost = 10
		prerequisite = {
			focus = PRC_prepare_for_war_with_japan
		}
		x = 18
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					NOT = {
							has_war_with = CHI
						}
					is_subject = no
					has_army_manpower = {
							size > 75000
						}
				}
			bypass = {
					is_in_faction = yes
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					event_target:WTT_current_china_leader = {
							country_event = wtt_prc.1
						}
				}

	}
	focus = {
		id = PRC_confrontation_with_the_warlords
		icon = GFX_goal_generic_more_territorial_claims
		cost = 10
		prerequisite = {
			focus = PRC_government_of_national_defense
		}
		x = 18
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
				}
			bypass = {
					OR = {
							AND = {
									is_in_faction = yes
									not = {
											is_in_faction_with = CHI
										}#in any other faction that doesn't include CHI
								}
							AND = {
									YUN = {
											OR = {
													exists = no
													is_in_faction_with = ROOT
												}
										}
									GXC = {
											OR = {
													exists = no
													is_in_faction_with = ROOT
												}
										}
									SHX = {
											OR = {
													exists = no
													is_in_faction_with = ROOT
												}
										}
									XSM = {
											OR = {
													exists = no
													is_in_faction_with = ROOT
												}
										}
									SIK = {
											OR = {
													exists = no
													is_in_faction_with = ROOT
												}
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											is_in_faction = no
										}
									set_rule = {
											can_create_factions = yes
										}
									create_faction = chinese_united_front
								}
						}
					every_country = {
							limit = {
									is_literally_china = yes
									is_in_faction = no
									NOT = {
											tag = ROOT
										}
								}
							country_event = wtt_prc.10
						}
				}

	}
	focus = {
		id = PRC_revolutionary_military_commission
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = PRC_confrontation_with_the_warlords
			focus = PRC_infiltration
		}
		x = 16
		y = 6
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_ideas = PRC_revolutionary_military_commission
				}

	}
	focus = {
		id = PRC_anti_japanese_expedition
		icon = GFX_focus_AST_war_japan
		cost = 10
		prerequisite = {
			focus = PRC_prepare_for_war_with_japan
		}
		x = 20
		y = 5
			ai_will_do = {
					factor = 4
					modifier = {
							JAP = {
									has_government = communism
								}
							factor = 0
						}
				}
			available = {
					has_army_manpower = {
							size > 100000
						}
					OR = {
							MAN = {
									OR = {
											is_subject_of = JAP
											has_cosmetic_tag = MAN_kwantung_army
										}
								}
							AND = {
									MAN = {
											exists = no
										}
									JAP = {
											owns_state = 612
											owns_state = 611
											owns_state = 610
										}
								}
						}
					NOT = {
							is_subject_of = JAP
						}
				}
			bypass = {
					has_war_with = JAP
					OR = {
							has_war_with = JAP
							AND = {
									MAN = {
											is_subject = no
										}
									JAP = {
											NOT = {
													owns_state = 525
													owns_state = 527
												}
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					unlock_decision_category_tooltip = PRC_anti_japanese_expedition
					set_country_flag = {
							flag = JAP_delay_sweep_for_communists
							days = 100
							value = 1
						}
				}

	}
	focus = {
		id = PRC_provoke_japan
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = PRC_confrontation_with_the_warlords
			focus = PRC_anti_japanese_expedition
		}
		x = 19
		y = 6
			ai_will_do = {
					factor = 1
					modifier = {
							JAP = {
									has_government = communism
								}
							factor = 0
						}
				}
			available = {
					has_army_manpower = {
							size > 150000
						}
					NOT = {
							is_subject_of = JAP#was fun while it lasted
						}
				}
			bypass = {
					OR = {
							has_war_with = JAP
							AND = {
									MAN = {
											is_subject = no
										}
									JAP = {
											NOT = {
													owns_state = 525
													owns_state = 527
												}
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					unlock_decision_tooltip = {
							decision = PRC_provoke_japan
							show_effect_tooltip = yes
						}
				}

	}
	focus = {
		id = PRC_protracted_warfare
		icon = GFX_goal_generic_army_doctrines
		cost = 10
		prerequisite = {
			focus = PRC_provoke_japan
		}
		x = 19
		y = 7
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_timed_idea = {
							idea = PRC_protracted_warfare
							days = 730
						}
				}

	}
	focus = {
		id = PRC_100_regiments_campaign
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = PRC_protracted_warfare
		}
		x = 19
		y = 8
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					unlock_decision_tooltip = PRC_launch_100_regiments_campaign
										custom_effect_tooltip = ITA_battaglioni_d_assalto_tt
					hidden_effect = {
							set_technology = {
									blackshirt_assault_battalion_tech = 1
									popup = no
								}
						}
				}

	}
	focus = {
		id = PRC_soviet_leadership
		icon = GFX_focus_generic_soviet_politics
		cost = 10
		prerequisite = {
			focus = PRC_marxist_orthodoxy
		}
		x = 3
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
				is_subject = no
				has_government = communism
				OR = { is_subject = no is_subject_of = SOV }
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_country_leader_trait = staunch_stalinist
					remove_ideas = PRC_power_struggles
					if = {
							limit = {
									NOT = {
											has_idea = CHI_long_term_economic_planning
										}
								}
							add_timed_idea = {
									idea = CHI_land_value_tax
									days = 1095
								}
						}
				}

	}
	focus = {
		id = PRC_soviet_economic_aid
		icon = GFX_goal_generic_soviet_construction
		cost = 10
		prerequisite = {
			focus = PRC_soviet_leadership
		}
		x = 3
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
					OR = {
						is_subject = no
						is_subject_of = SOV
						is_in_faction_with = SOV
					}
				}
			bypass = {
                 has_war_with = SOV
            }
			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
						}
					add_offsite_building = {
							type = arms_factory
							level = 2
						}
					if = {
							limit = {
									has_idea = PRC_the_long_march_1
								}
							remove_ideas = PRC_the_long_march_1
						}
					else = {
							remove_ideas = PRC_the_long_march_2
						}
				}

	}
	focus = {
		id = PRC_internationalism
		icon = GFX_focus_generic_join_comintern
		cost = 10
		prerequisite = {
			focus = PRC_soviet_economic_aid
		}
		x = 3
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
				is_subject = no
				has_government = communism
				num_of_factories > 20

}
			bypass = {
			    is_subject = yes

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_political_power = 150
					add_ideas = idea_political_correctness
					
					    add_offsite_building = {
							type = arms_factory
							level = 1
						}
						add_equipment_to_stockpile = {
							type = infantry_equipment_1
							amount = 500
							producer = SOV
						}
					
						set_rule = {
							can_create_factions = yes
						}
						create_faction = PRC_mao_faction
				}

	}
	focus = {
		id = PRC_rectification_campaign
		icon = GFX_goal_generic_forceful_treaty
		cost = 10
		prerequisite = {
			focus = PRC_agrarian_socialism
		}
		x = 5
		y = 4
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					remove_ideas = PRC_power_struggles
					if = {
							limit = {
									NOT = {
											has_idea = CHI_long_term_economic_planning
										}
								}
							add_timed_idea = {
									idea = CHI_land_value_tax
									days = 1095
								}
						}
				}

	}
	focus = {
		id = PRC_maoism
		icon = GFX_focus_prc_maoism
		cost = 10
		prerequisite = {
			focus = PRC_rectification_campaign
		}
		x = 5
		y = 5
			ai_will_do = {
					factor = 4
				}
			available = {
                   is_subject = no
				   has_government = communism
            }
			bypass = {

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

	}
	focus = {
		id = PRC_socialism_with_chinese_characteristics
		icon = GFX_goal_generic_war_with_comintern
		cost = 10
		prerequisite = {
			focus = PRC_maoism
		}
		x = 5
		y = 6
			ai_will_do = {
					factor = 4
					modifier = {
							is_faction_leader = yes
							factor = 0
						}
				}
			available = {
					is_subject = no
				    has_government = communism
					num_of_factories > 20
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									has_idea = PRC_the_long_march_1
								}
							remove_ideas = PRC_the_long_march_1
						}
					if = {
							limit = {
									has_idea = PRC_the_long_march_2
								}
							remove_ideas = PRC_the_long_march_2
						}
					set_rule = {
							can_create_factions = yes
						}
					every_country = {
							limit = {
									num_of_factories > 50
									has_government = communism
								}
							add_opinion_modifier = {
									target = ROOT
									modifier = medium_decrease
								}
						}
						create_faction = PRC_mao_faction
				}

	}
	focus = {
		id = PRC_proclaim_the_peoples_republic
		icon = GFX_focus_prc_proclaim_the_peoples_republic
		cost = 10
		prerequisite = {
			focus = PRC_internationalism
			focus = PRC_socialism_with_chinese_characteristics
		}
		x = 4
		y = 7
			ai_will_do = {
					factor = 4
				}
			available = {
					num_of_factories > 75
					is_subject = no
				    has_government = communism
			OR = {
					608 = {
						is_fully_controlled_by = ROOT
					}
					613 = {
						is_fully_controlled_by = ROOT
					}
					605 = {
						is_fully_controlled_by = ROOT
					}
					592 = {
						is_fully_controlled_by = ROOT
					}
			}
		}
			bypass = {

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

}
			completion_reward = {
			         set_cosmetic_tag = PRC_proclaimed
			          hidden_effect = {
				          news_event = { id = wtt_news.37 days = 3 random_days = 3 }
			          }
					if = {
							limit = {
									SOV = { has_government = communism
				                            num_of_factories > 75 }
								}
							add_timed_idea = { idea = idea_URG_rapid_industrialization days = 730 }
					        create_corps_commander = {
							name = "Mao Anying"
							traits = { media_personality armor_officer }
							gfx = GFX_Portrait_Asia_Generic_land_2
							skill = 1
							attack_skill = 1
							defense_skill = 1
							planning_skill = 1
							logistics_skill = 1
						}
					}
					random_owned_controlled_state = {
							limit = {
									state_population > 5000000
									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
								}
						}
					random_owned_controlled_state = {
							limit = {
									state_population > 5000000
									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
								}
						}
				}

	}
	focus = {
		id = PRC_socialist_market_economy
		icon = GFX_goal_generic_consumer_goods
		cost = 10
		prerequisite = {
			focus = PRC_central_security_bureau
		}
		x = 6
		y = 9
			ai_will_do = {
					factor = 4
				}
			available = {
					OR = {
							AND = {
									NOT = {
											has_completed_focus = PRC_coalition_government
										}
									any_allied_country = {
											has_government = democratic
											num_of_factories > 100
										}
								}
							WTT_is_ROOT_current_leader_of_china = yes
							num_of_factories > 150
						}
				}
			bypass = {

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

}
			completion_reward = {
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = PRC_deng_xiaoping
			add_timed_idea = {
				idea = idea_GUAY_the_tag_economic_miracle
				days = 365
			}
					if = {
							limit = {
									has_idea = PRC_the_long_march_1
								}
							remove_ideas = PRC_the_long_march_1
						}
					if = {
							limit = {
									has_idea = PRC_the_long_march_2
								}
							remove_ideas = PRC_the_long_march_2
						}
					if = {
							limit = {
									has_idea = export_focus
								}
							add_political_power = 150
						}
					else = {
							add_ideas = export_focus
						}
				}

	}
	focus = {
		id = PRC_coalition_government
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 10
		prerequisite = {
			focus = PRC_social_democracy
		}
		x = 7
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					if = {
							limit = {
									WTT_not_taking_over_national_leadership = no
								}
							WTT_not_taking_over_national_leadership = yes
						}
					if = {
							limit = {
									WTT_not_china_leader_refused_to_give_up_national_leadership = no
								}
							WTT_not_china_leader_refused_to_give_up_national_leadership = yes
						}
				}
			bypass = {

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

}
			completion_reward = {
					add_political_power = 100
					event_target:WTT_current_china_leader = {
							country_event = wtt_prc.1
						}
					custom_effect_tooltip = enable_power_struggle
					hidden_effect = {
							WTT_setup_political_struggle = yes
							WTT_add_ROOT_to_political_struggle = yes
						}
					swap_ideas = {
							remove_idea = PRC_the_long_march_1
							add_idea = PRC_the_long_march_2
						}
				}

	}
	focus = {
		id = PRC_purge_the_radicals
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = PRC_coalition_government
		}
		x = 7
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
                    add_country_leader_trait = connected_citizen
					remove_ideas = PRC_power_struggles
				}

	}
	focus = {
		id = PRC_strengthen_the_left_wing_of_the_kmt
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = PRC_purge_the_radicals
		}
		x = 9
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {
					WTT_CHI_is_not_leader = yes
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					CHI = {
							add_stability = -0.05
							add_popularity = {
									ideology = communism
									popularity = 0.10
								}
						}
				}

	}
	focus = {
		id = PRC_remove_chiang_kai_shek
		icon = GFX_focus_prc_remove_chiang_kai_shek
		cost = 10
		prerequisite = {
			focus = PRC_purge_the_radicals
		}
		x = 7
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
			WTT_has_politcal_support_points_30 = yes
			not = { is_subject_of = event_target:WTT_current_china_leader }
			num_of_factories > 15
			}
			bypass = {
			OR = {
				WTT_CHI_is_not_leader = yes
				NOT = { CHI = { has_country_leader = { character = CHI_chiang_kaishek } } }
			}
			}
			cancel_if_invalid = no
			continue_if_invalid = yes
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
			CHI = {
				kill_country_leader = yes
				custom_effect_tooltip = loses_political_support_points_15
				subtract_from_variable = { other_political_support = 15 }
			}
			WTT_political_struggle_recalculate_support = yes	
					set_rule = {
							can_create_factions = yes
						}
						create_faction = PRC_mao_faction
			}

	}
	focus = {
		id = PRC_mobile_warfare
		icon = GFX_goal_generic_cavalry
		cost = 10
		prerequisite = {
			focus = PRC_central_military_commission
		}
		mutually_exclusive = {
			focus = PRC_peoples_war
		}
		x = 15
		y = 9
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_timed_idea = {
							idea = PRC_mobile_warfare
							days = 1825
						}
				}

	}
	focus = {
		id = PRC_peoples_war
		icon = GFX_focus_generic_support_the_left_right
		cost = 10
		prerequisite = {
			focus = PRC_central_military_commission
		}
		mutually_exclusive = {
			focus = PRC_mobile_warfare
		}
		x = 17
		y = 9
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_timed_idea = {
							idea = PRC_peoples_war
							days = 1825
						}
				}

	}
	focus = {
		id = PRC_central_military_commission
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = PRC_peoples_liberation_army
		}
		x = 16
		y = 8
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					swap_ideas = {
							remove_idea = PRC_revolutionary_military_commission
							add_idea = PRC_central_military_commission
						}
				}

	}
	focus = {
		id = PRC_peoples_liberation_army
		icon = GFX_goal_generic_attack_allies
		cost = 10
		prerequisite = {
			focus = PRC_revolutionary_military_commission
		}
		x = 16
		y = 7
			ai_will_do = {
					factor = 4
				}
			available = {
				has_army_manpower = {
					size > 250000
				}
				num_of_factories > 25

            }
			bypass = {

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

}
			completion_reward = {
					remove_ideas = PRC_red_army_weakened
				}

	}
	focus = {
		id = PRC_peoples_volunteer_army
		icon = GFX_goal_generic_special_forces
		cost = 10
		prerequisite = {
			focus = PRC_military_intelligence_department
		}
		x = 8
		y = 10
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_ideas = PRC_peoples_volunteer_army
				}

	}
	focus = {
		id = PRC_military_intelligence_department
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = PRC_central_security_bureau
		}
		x = 8
		y = 9
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = PRC_kang_sheng_political_advisor
		}

	}
	focus = {
		id = PRC_central_security_bureau
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = PRC_proclaim_the_peoples_republic
			focus = PRC_remove_chiang_kai_shek
		}
		x = 7
		y = 8
			ai_will_do = {
					factor = 4
				}
			available = {
			  num_of_factories > 75

}
			bypass = {

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

}
			completion_reward = {
					if = {
							limit = {
									has_idea = PRC_low_popular_support_1
								}
							remove_ideas = PRC_low_popular_support_1
						}
					else_if = {
							limit = {
									has_idea = PRC_low_popular_support_2
								}
							remove_ideas = PRC_low_popular_support_2
						}
					else_if = {
							limit = {
									has_idea = PRC_low_popular_support_3
								}
							remove_ideas = PRC_low_popular_support_3
						}
					else_if = {
							limit = {
									has_idea = PRC_low_popular_support_4
								}
							remove_ideas = PRC_low_popular_support_4
						}
					else = {
							remove_ideas = PRC_low_popular_support_5
						}
				}

	}
}
