CHI_communist_historical_plan = {
	name = "Communist China historical plan"
	desc = "Essentially alternate historical for Communist China"
	allowed = {
		tag = PRC
	}
	enable = {
		original_tag = PRC
		OR = {
			AND = {
				is_historical_focus_on = yes
				#has_game_rule = {
				#	rule = CHI_ai_behavior
				#	option = DEFAULT
				#}	
			}
			has_country_flag = CHI_AI_RANDOM_HISTORICAL
			#has_game_rule = {
			#	rule = CHI_ai_behavior
			#	option = HISTORICAL
			#}
		}
	}
	abort = {
		OR = {
			has_global_flag = chinapeace_armistice
			#has_game_rule = {
			#	rule = CHI_ai_behavior
			#	option = ALTERNATE
			#}
		}
	}

	ai_national_focuses = {
		PRC_Lessons_from_the_Liberation_War
		PRC_The_Peoples_Liberation_Army
		PRC_Transforming_our_Army
		PRC_Foundation_of_the_Peoples_Republic_of_China
		PRC_Establish_Contacts_With_the_Outside_World
		PRC_Launch_Camapaign_to_Suppress_Revolutionaries
		PRC_Register_Former_Kuomitang_Officials
		PRC_Re_Educaiton_Through_Work
		PRC_Hold_Trials_Against_Hostile_Elements
		PRC_Economic_Recovery
		PRC_Electrification_Campaign
		PRC_Purge_The_Administration
		PRC_Radical_Agrarian_Reform
		PRC_The_New_Democracy
		PRC_Lobby_Asiatic_Countries_For_Recognition
		PRC_Lobby_For_European_Recognition
		PRC_Societal_Reforms
		PRC_Strengthen_Our_Grip_on_Society
		PRC_Preserve_Traditional_Family_Structure
		PRC_International_Isolation
		PRC_The_Peoples_Daily
		PRC_Ministry_of_Propaganda
		PRC_Launch_the_Mass_Campaigns
		PRC_Three_Anti_Campaign
		PRC_Fight_Corruption
		PRC_Artillery_Developments
		PRC_Patriarchial_Society
		PRC_Guarentee_Primary_Education
		PRC_Stop_Protecting_Private_Businesses
		PRC_Remodel_the_Intellectuals
		PRC_Our_Soviet_Brothers
		PRC_Links_with_the_Eastern_Bloc
		PRC_Soviet_Loans
		PRC_Establish_the_Work_Soldier_Militia
		PRC_Soviet_Industrial_Aid
		PRC_Technical_Soviet_Aid
		PRC_Align_with_Stalin
		PRC_Persue_Our_Own_Goals
		PRC_Forbid_Waste
		PRC_Wreck_The_Bureacracy
		PRC_Five_Anti_Campaign
		PRC_Encourage_Denunciations
		PRC_Recruit_Spies
		PRC_Crush_the_Islamic_KMT_Insurgency
		PRC_Bomb_Quemoy
		PRC_The_Hundred_Flowers_Campaign
		PRC_Prepare_for_the_Korean_War
		PRC_Arm_the_Korean_Peoples_Army
		PRC_Participate_in_the_Geneva_Conference
		PRC_Support_North_Korea_With_Aeriel_Advisors_and_Equipment
		PRC_Rebuild_a_Fiscal_System
		PRC_A_Balanced_Budget
		PRC_Send_Zhao_Enlai_to_the_Bandung_Conference
		PRC_Sino_Indian_Treaty
		PRC_Collectivization_of_the_People
		PRC_Establish_Air_Defense_Troops
		PRC_Invade_Tibet
		PRC_Gather_Internaitonal_Supporters
		PRC_Development_of_Armored_Troops
		PRC_Expand_the_Railways
		PRC_Land_Reform
		PRC_Become_COMECON_Observer
		PRC_Encourage_Open_Criticism_of_the_Regime
		PRC_Grant_Loans_to_Vietnam_and_Cambodia
		PRC_Increase_Economic_Cooperaiton_with_Eastern_Europe
		PRC_Subsidize_the_Peoples_Republic_of_Mongolia
		PRC_Nationalize_the_Four_Families_Industries
		PRC_Rebuild_the_Damaged_Factories
		PRC_Men_Over_Material
		PRC_Fund_Nassers_Egypt
		PRC_Yuan_Reform
		PRC_Become_A_Big_Player_in_the_East_Bloc
		PRC_Abolish_Bureacraticism
		PRC_Permit_Intellectuals_to_Break_Taboos
		PRC_Pressure_Cadres_For_Criticizing
		PRC_Coping_With_Increased_Hostility_Towards_the_CPC
		PRC_Borrow_Soviet_Computing_Technology
		PRC_Develop_Steel_Industry
		PRC_Develop_the_Coastline
		PRC_Spare_Some_Landlords
		PRC_Allow_Small_Private_Buisness
		PRC_Mutual_Aid_Teams
		PRC_Execute_The_Hated_Landlords
		PRC_Establish_the_Public_Security_Forces
		PRC_Indoctrinate_the_Peasents
		PRC_Human_Wave_Tactics
		PRC_End_the_Reconstruction
		PRC_Sino_Soviet_Split
		PRC_Approach_Albania
		PRC_Strengthen_Ties_With_the_DPRK
		PRC_Crush_the_Insurgency
		PRC_The_Rectification_Campaign
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

}
CHI_communist_alternate_plan = {
	name = "Communist China alternate plan"
	desc = "Essentially alternate alternate for Communist China"

	enable = {
		original_tag = PRC
		has_global_flag = chinapeace_armistice
		OR = {
			AND = {
				is_historical_focus_on = no
				#has_game_rule = {
				#	rule = CHI_ai_behavior
				#	option = DEFAULT
				#}	
			}
			has_country_flag = CHI_AI_RANDOM_HISTORICAL
			#has_game_rule = {
			#	rule = CHI_ai_behavior
			#	option = ALTERNATE
			#}
		}
	}
	abort = {
		has_global_flag = ROC_taiwan
		#has_game_rule = {
		#	rule = CHI_ai_behavior
		#	option = HISTORICAL
		#}
	}

	ai_national_focuses = {
		PRC_Lessons_from_the_Liberation_War
		PRC_The_Peoples_Liberation_Army
		PRC_Transforming_our_Army
		PRC_Foundation_of_the_Peoples_Republic_of_China
		PRC_Establish_Contacts_With_the_Outside_World
		PRC_Launch_Camapaign_to_Suppress_Revolutionaries
		PRC_Register_Former_Kuomitang_Officials
		PRC_Re_Educaiton_Through_Work
		PRC_Hold_Trials_Against_Hostile_Elements
		PRC_Economic_Recovery
		PRC_Electrification_Campaign
		PRC_Purge_The_Administration
		PRC_Radical_Agrarian_Reform
		PRC_The_New_Democracy
		PRC_Lobby_Asiatic_Countries_For_Recognition
		PRC_Lobby_For_European_Recognition
		PRC_Societal_Reforms
		PRC_Strengthen_Our_Grip_on_Society
		PRC_End_the_Feudal_Family
		PRC_International_Isolation
		PRC_The_Peoples_Daily
		PRC_Ministry_of_Propaganda
		PRC_Launch_the_Mass_Campaigns
		PRC_Three_Anti_Campaign
		PRC_Fight_Corruption
		PRC_Artillery_Developments
		PRC_Gender_Equality
		PRC_Guarentee_Primary_Education
		PRC_Stop_Protecting_Private_Businesses
		PRC_Remodel_the_Intellectuals
		PRC_Our_Soviet_Brothers
		PRC_Links_with_the_Eastern_Bloc
		PRC_Soviet_Loans
		PRC_Establish_the_Work_Soldier_Militia
		PRC_Soviet_Industrial_Aid
		PRC_Technical_Soviet_Aid
		PRC_Align_with_Stalin
		PRC_Persue_Our_Own_Goals
		PRC_Forbid_Waste
		PRC_Wreck_The_Bureacracy
		PRC_Five_Anti_Campaign
		PRC_Encourage_Denunciations
		PRC_Recruit_Spies
		PRC_Crush_the_Islamic_KMT_Insurgency
		PRC_Bomb_Quemoy
		PRC_The_Hundred_Flowers_Campaign
		PRC_Prepare_for_the_Korean_War
		PRC_Arm_the_Korean_Peoples_Army
		PRC_Participate_in_the_Geneva_Conference
		PRC_Support_North_Korea_With_Aeriel_Advisors_and_Equipment
		PRC_Rebuild_a_Fiscal_System
		PRC_A_Balanced_Budget
		PRC_Send_Zhao_Enlai_to_the_Bandung_Conference
		PRC_Sino_Indian_Treaty
		PRC_Collectivization_of_the_People
		PRC_Establish_Air_Defense_Troops
		PRC_Invade_Tibet
		PRC_Gather_Internaitonal_Supporters
		PRC_Development_of_Armored_Troops
		PRC_Expand_the_Railways
		PRC_Land_Reform
		PRC_Become_COMECON_Observer
		PRC_Encourage_Open_Criticism_of_the_Regime
		PRC_Grant_Loans_to_Vietnam_and_Cambodia
		PRC_Increase_Economic_Cooperaiton_with_Eastern_Europe
		PRC_Subsidize_the_Peoples_Republic_of_Mongolia
		PRC_Nationalize_the_Four_Families_Industries
		PRC_Rebuild_the_Damaged_Factories
		PRC_Men_Over_Material
		PRC_Fund_Nassers_Egypt
		PRC_Yuan_Reform
		PRC_Become_A_Big_Player_in_the_East_Bloc
		PRC_Abolish_Bureacraticism
		PRC_Permit_Intellectuals_to_Break_Taboos
		PRC_Pressure_Cadres_For_Criticizing
		PRC_Coping_With_Increased_Hostility_Towards_the_CPC
		PRC_Borrow_Soviet_Computing_Technology
		PRC_Develop_Steel_Industry
		PRC_Develop_the_Coastline
		PRC_Spare_Some_Landlords
		PRC_Allow_Small_Private_Buisness
		PRC_Mutual_Aid_Teams
		PRC_Execute_The_Hated_Landlords
		PRC_Establish_the_Public_Security_Forces
		PRC_Indoctrinate_the_Peasents
		PRC_Human_Wave_Tactics
		PRC_End_the_Reconstruction
		PRC_Sino_Soviet_Split
		PRC_Approach_Albania
		PRC_Strengthen_Ties_With_the_DPRK
		PRC_Preserve_Sino_Indian_Relations
		PRC_The_Rectification_Campaign
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

}