### #  # ### ### #  ### ###   ##  ### ###  ##  #  #
 #  ## # #    #  #   #  #  # #  #  #   #  #  # ## #
 #  # ## ##   #  #   #  ###  ####  #   #  #  # # ##
 #  #  # #    #  #   #  #  # #  #  #   #  #  # #  #
### #  # #   ### ### #  #  # #  #  #  ###  ##  #  #

#Category only allowed for is_potentially_communist_china
#Category visible when PRC_infiltration focus is completed

#INFILTRATE_STATE_AI_WILL_DO <ID>
#INFILTRATE_JAP_STATE_AI_WILL_DO <ID>


@INFILTRATION_INF_EQ_COST = -500
@DAYS_REMOVE_INFILTRATE_STATE = 30

PRC_infiltrate_nationalist_areas = { 

# 283
# 597
# 598
# 607
# 608
# 614
# 615
# 621
# 744
# 746

	PRC_uprising = {
		icon = generic_ignite_civil_war
	
		visible = {
			has_government = communism
		}
		
		available = {
			PRC_uprising_is_available = yes
		}

		fire_only_once = yes

		days_remove = 60

		war_with_on_remove = CHI

		cost = 25

		ai_will_do = {
			base = 0

			modifier = {
				#Block if still trying to kill JAP
				factor = 0
				AND = {
					has_war_with = JAP
					#Allow JAP, faction member or puppet to control 5 states at most before triggering civil war
					count_triggers = {
						amount = 5
						612 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1474 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1475 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						621 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						615 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						609 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1487 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1488 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						611 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1476 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						610 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1444 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1446 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1447 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1448 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1449 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1450 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						715 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1443 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1445 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						328 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1434 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1435 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1436 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1437 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1438 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1439 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1440 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						527 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						525 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1311 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1312 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1313 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1314 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1315 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1316 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1317 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1318 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1319 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1320 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1321 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1322 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1323 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1324 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1325 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1326 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1327 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1328 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1329 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						717 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1416 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1417 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1418 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1419 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1420 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1421 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1422 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						714 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1423 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1424 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1425 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1426 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1427 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1428 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1451 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1429 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1430 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1431 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						595 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						596 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						597 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1494 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1495 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1496 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1497 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1498 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1499 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1500 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1501 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1502 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1503 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1504 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1505 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						598 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						600 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						601 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						602 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						603 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						605 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						606 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						607 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						608 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1489 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						613 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						614 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1490 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1491 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1492 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						1493 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						620 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						744 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
						746 = { CONTROLLER = { is_JAP_or_ally_of_JAP = yes } }
					}
				}
			}

			#Block if we get fewer than 3 troops
			modifier = {
				factor = 0
				NOT = {
					count_triggers = {
						amount = 3
						283 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						597 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1494 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1495 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1496 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1497 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1498 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1499 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1500 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1501 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1502 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1503 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1504 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1505 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						598 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						607 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						608 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1489 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						614 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1490 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1491 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1492 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1493 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						615 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						621 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						746 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						744 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					}
				}
			}

			#The more troops, the bigger chance
			modifier = {
				add = 10
				283 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				597 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1494 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1495 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1496 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1497 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1498 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1499 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1500 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1501 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1502 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1503 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1504 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 2
				1505 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				598 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				607 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				608 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				1489 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				614 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				1490 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				1491 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				1492 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				1493 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				615 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				621 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				744 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}
			modifier = {
				add = 10
				746 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
			}

			#Sabotage is also nice
			modifier = {
				add = 3
				283 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				597 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1494 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1495 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1496 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1497 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1498 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1499 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1500 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1501 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1502 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1503 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1504 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 1
				1505 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				598 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				607 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				608 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1489 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				614 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1490 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1491 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1492 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1493 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				615 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				621 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				744 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				746 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
		}

		complete_effect = {
			hidden_effect = {
				event_target:WTT_current_china_leader = { country_event = wtt_infiltration.10 }
			}
		}
	
		remove_effect = {
			if = {
				limit = {
					is_in_faction_with = event_target:WTT_current_china_leader
				}
				faction_leader = { remove_from_faction = ROOT }
			}
			declare_war_on = { target = event_target:WTT_current_china_leader type = annex_everything }
			283 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			597 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1494 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1495 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1496 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1497 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1498 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1499 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1500 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1501 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1502 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1503 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1504 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1505 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			598 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			607 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			608 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1489 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			614 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1490 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1491 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1492 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1493 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			615 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			621 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			744 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			746 = {
				if = {
					limit = {
						CONTROLLER = { tag = event_target:WTT_current_china_leader }
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
		}
	}
	
	PRC_infiltrate_gansu = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			283 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {			
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			283 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 283
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 283
		ai_will_do = {
			base = 120
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						283 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				283 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				283 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			283 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			283 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_shandong = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			597 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			597 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 597
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 597
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						597 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				597 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				597 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			597 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			597 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1494 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1494 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1494 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1494
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1494
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1494 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1494 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1494 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1494 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1494 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1495 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1495 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1495 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1495
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1495
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1495 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1495 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1495 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1495 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1495 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1496 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1496 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1496 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1496
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1496
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1496 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1496 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1496 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1496 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1496 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1497 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1497 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1497 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1497
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1497
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1497 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1497 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1497 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1497 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1497 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1498 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1498 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1498 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1498
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1498
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1498 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1498 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1498 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1498 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1498 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1499 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1499 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1499 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1499
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1499
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1499 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1499 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1499 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1499 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1499 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1500 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1500 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1500 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1500
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1500
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1500 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1500 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1500 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1500 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1500 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1501 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1501 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1501 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1501
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1501
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1501 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1501 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1501 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1501 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1501 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1502 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1502 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1502 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1502
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1502
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1502 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1502 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1502 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1502 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1502 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1503 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1503 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1503 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1503
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1503
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1503 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1503 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1503 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1503 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1503 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1504 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1504 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1504 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1504
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1504
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1504 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1504 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1504 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1504 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1504 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1505 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1505 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 149 }
			1505 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1505
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1505
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1505 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1505 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1505 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 5
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1505 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1505 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_jiangsu = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			598 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			598 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 598
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 598
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						598 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				598 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				598 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			598 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			598 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_henan = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			607 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			607 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 607
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 607
		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						607 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				607 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				607 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			607 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			607 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_beijing = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			608 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			608 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 608
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 608
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						608 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				608 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				608 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			608 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			608 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1489 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1489 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1489 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1489
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1489
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1489 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1489 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1489 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1489 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1489 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_hebei = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			614 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			614 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 614
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 614
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						614 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				614 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				614 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			614 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			614 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_614 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			614 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			614 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 614
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 614
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						614 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				614 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				614 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			614 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			614 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1490 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1490 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1490 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1490
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1490
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1490 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1490 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1490 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1490 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1490 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1491 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1491 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1491 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1491
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1491
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1491 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1491 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1491 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1491 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1491 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1492 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1492 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1492 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1492
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1492
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1492 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1492 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1492 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1492 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1492 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1493 = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			1493 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1493 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1493
			} 
		}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 1493
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						1493 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				1493 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				1493 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1493 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1493 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_shanxi = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			615 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			615 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 615
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 615
		ai_will_do = {
			base = 120
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						615 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				615 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				615 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			615 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			615 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_suiyuan = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			621 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			621 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 621
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 621
		ai_will_do = {
			base = 80
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						621 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				621 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				621 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			621 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			621 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_xian = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			744 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			744 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 744
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 744
		ai_will_do = {
			base = 120
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						744 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				744 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				744 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			744 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			744 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_ordos = {
		
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_infiltration
			746 = {
				CONTROLLER = {
					tag = event_target:WTT_current_china_leader
				}
			}
		}
		
		available = {
			NOT = { has_war_with = event_target:WTT_current_china_leader }
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			746 = {
				PRC_can_increase_infiltration_in_state = yes
			}
		}

		highlight_states = {
 highlight_state_targets = {
			state = 746
		} 
}
		
		modifier = {
			command_power_gain = -0.2
		}
		
		#INFILTRATE_STATE_AI_WILL_DO 746
		ai_will_do = {
			base = 120
			modifier = {
				factor = 0
				has_decision = PRC_uprising # don't throw away rifles if the uprising is going to start before you can finish this
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						746 = { has_state_flag = discovered_infiltration }
						PRC_all_nationalist_area_infiltration_discovered = no
					}
				}
			}
			modifier = {
				factor = 25
				746 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value > 0
					}
				}
			}
			modifier = {
				factor = 50 #Really want to get to troop level
				746 = {
					has_state_flag = {
						flag = PRC_infiltration_@PREV
						value = 2
					}
				}
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0
	
		cost = 10
	
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			746 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			746 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}

}



 ##  #  # ### ###   ####  ##  ##   ##  #  #
#  # ## #  #   #       # #  # # # #  # ## #
#### # ##  #   #    #  # #### ##  #### # ##
#  # #  #  #   #    #  # #  # #   #  # #  #
#  # #  #  #  ###    ##  #  # #   #  # #  #

#Category only allowed for is_potentially_communist_china
#Category visible when PRC_infiltration focus is completed
PRC_anti_japanese_expedition = {
	#609 #"east_hebei"
	#610 #"jehol"
	#611 #"south_chahar"
	#612 #"chahar"
	#714 #"heilungkiang"
	#715 #"liaoning"

	PRC_anti_japanese_uprising = {
		icon = revolt
		visible = {
			has_government = communism
		}
		
		available = {
			custom_trigger_tooltip = {
				tooltip = PRC_uprising_is_available
				any_state = {
					CONTROLLER = {
						OR = {
							original_tag = MAN
							original_tag = MEN
							original_tag = EHE
							original_tag = JAP
						}
					}
					PRC_is_infiltrated_by_PREV = yes
				}
			}
		}

		fire_only_once = yes

		days_remove = 30

		modifier = {
			political_power_gain = -0.5
		}

		cost = 10
		
		ai_will_do = {
			base = 0

			modifier = {
				add = 100
				PRC_ROOT_war_with_controller_of_anti_japan_infiltrated_state = yes				
			}

			#Block if not at least 2 troops and states are instant flipped
			modifier = {
				factor = 0
				NOT = { has_war_with = JAP }
				NOT = { has_war_with = MEN }
				NOT = { has_war_with = EHE }
				NOT = { has_war_with = MAN }
				NOT = {
					count_triggers = {
						amount = 2
						609 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1487 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1488 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						610 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1444 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1446 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1447 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1448 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1449 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1450 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						611 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1476 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						612 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1474 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1475 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						714 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1423 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1424 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1425 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1426 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1427 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1428 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1451 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1429 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1430 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1431 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						715 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1443 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
						1445 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					}
				}
			}

			#The more troops, the more attractive the option to trigger
			modifier = {
				factor = 25
				count_triggers = {
					amount = 2
					609 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1487 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1488 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					610 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1444 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1446 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1447 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1448 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1449 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1450 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					611 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1476 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					612 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1474 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1475 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					714 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1423 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1424 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1425 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1426 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1427 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1428 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1451 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1429 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1430 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1431 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					715 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1443 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1445 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
				}
			}
			modifier = {
				factor = 25
				count_triggers = {
					amount = 3
					609 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1487 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1488 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					610 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1444 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1446 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1447 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1448 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1449 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1450 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					611 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1476 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					612 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1474 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1475 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					714 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1423 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1424 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1425 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1426 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1427 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1428 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1451 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1429 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1430 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1431 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					715 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1443 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1445 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
				}
			}
			modifier = {
				factor = 50
				count_triggers = {
					amount = 4
					609 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1487 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1488 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					610 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1444 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1446 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1447 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1448 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1449 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1450 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					611 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1476 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					612 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1474 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1475 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					714 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1423 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1424 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1425 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1426 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1427 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1428 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1451 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1429 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1430 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1431 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					715 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1443 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
					1445 = { PRC_infiltration_uprising_PREV_will_spawn_troops_in_state = yes }
				}
			}

			#Sabotage is also nice
			modifier = {
				add = 3
				609 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1487 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1488 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				610 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1444 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1446 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1447 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1448 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1449 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1450 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				611 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1476 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				612 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1474 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1475 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				714 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1423 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1424 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1425 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1426 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1427 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1428 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1451 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1429 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1430 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1431 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				715 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1443 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
			modifier = {
				add = 3
				1445 = { PRC_infiltration_uprising_PREV_will_sabotage_state = yes }
			}
		}


		complete_effect = {
			hidden_effect = {
				MAN = { country_event = wtt_infiltration.10 }
				MEN = { country_event = wtt_infiltration.10 }
				EHE = { country_event = wtt_infiltration.10 }
				JAP = { country_event = wtt_infiltration.10 }
			}
		}

		war_with_on_remove = JAP
		war_with_on_remove = MEN
		war_with_on_remove = EHE
		war_with_on_remove = MAN
	
		remove_effect = {
			declare_war_on = { target = JAP type = annex_everything }
			if = {
				limit = {
					MAN = { 
						exists = yes
					}
				}
				declare_war_on = { target = MAN type = annex_everything }
			}
			if = {
				limit = {
					MEN = { 
						exists = yes
					}
				}
				declare_war_on = { target = MEN type = annex_everything }
			}
			if = {
				limit = {
					EHE = { 
						exists = yes
					}
				}
				declare_war_on = { target = EHE type = annex_everything }
			}

			609 = { #east_hebei
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			
			1487 = {
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			
			1488 = {
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}

			 
			610 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1444 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1446 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1447 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1448 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1449 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1450 = { #jehol
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			 
			611 = { #south_chahar
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1476 = {
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			 
			612 = { #chahar
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1474 = { #chahar
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1475 = { #chahar
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			 
			714 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1423 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1424 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1425 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1426 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1427 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1428 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1451 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1429 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1430 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			
			1431 = { #heilungkiang
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			 
			715 = { #liaoning
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1443 = { #liaoning
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
			1445 = { #liaoning
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								original_tag = MAN
								original_tag = MEN
								original_tag = EHE
								original_tag = JAP
							}
						}
						PRC_is_infiltrated_by_PREV = yes
					}
					PRC_execute_infiltration_effects_for_PREV = yes
				}
			}
		}
	}
	
	PRC_infiltrate_east_hebei = { #609 #"east_hebei"
		icon = infiltrate_state
		visible = {	
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			609 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 609
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			609 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
	#INFILTRATE_JAP_STATE_AI_WILL_DO 609
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				609 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			609 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			609 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1487 = { #1487 #"east_hebei"
		icon = infiltrate_state
		visible = {	
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1487 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1487
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1487 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1487
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1487 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1487 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1487 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1488 = { #1488 #"east_hebei"
		icon = infiltrate_state
		visible = {	
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1488 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1488
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1488 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1488
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1488 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1488 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1488 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_jehol = { #610 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			610 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 610
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			610 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 610
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				610 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			610 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			610 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1444 = { #1444 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1444 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1444
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1444 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1444
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1444 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1444 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1444 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1446 = { #1446 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1446 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1446
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1446 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1446
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1446 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1446 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1446 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1447 = { #1447 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1447 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1447
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1447 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1447
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1447 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1447 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1447 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1448 = { #1448 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1448 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1448
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1448 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1448
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1448 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1448 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1448 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1449 = { #1449 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1449 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1449
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1449 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1449
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1449 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1449 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1449 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1450 = { #1450 #"jehol"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1450 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1450
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1450 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1450
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1450 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}
			1450 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1450 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_south_chahar = { #611 #"south_chahar"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			611 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 611
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			611 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
	#INFILTRATE_JAP_STATE_AI_WILL_DO 611
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				611 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			611 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			611 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1476 = {
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1476 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1476
			} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 299 }
			1476 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.1
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1476
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1476 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 5

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1476 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1476 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_chahar = { #612 #"chahar"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			612 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 612
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			612 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
	#INFILTRATE_JAP_STATE_AI_WILL_DO 612
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				612 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			612 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			612 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1474 = {
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1474 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1474
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1474 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.1
		}
	
	#INFILTRATE_JAP_STATE_AI_WILL_DO 1474
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1474 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 5

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1474 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1474 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1475 = {
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1475 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1475
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1475 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.1
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1475
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1475 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 5

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1475 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1475 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	
	PRC_infiltrate_heilungkiang = { #714 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			714 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 714
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			714 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 714
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				714 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			714 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			714 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1423 = { #1423 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1423 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1423
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1423 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1423
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1423 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1423 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1423 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1424 = { #1424 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1424 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1424
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1424 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1424
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1424 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1424 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1424 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1425 = { #1425 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1425 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1425
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1425 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1425
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1425 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1425 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1425 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1426 = { #1426 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1426 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1426
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1426 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1426
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1426 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1426 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1426 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1427 = { #1427 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1427 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1427
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1427 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1427
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1427 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1427 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1427 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1428 = { #1428 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1428 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1428
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1428 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1428
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1428 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1428 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1428 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1451 = { #1451 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1451 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1451
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1451 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1451
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1451 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1451 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1451 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1429 = { #1429 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1429 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1429
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1429 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1429
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1429 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1429 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1429 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1430 = { #1430 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1430 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1430
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1430 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1430
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1430 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1430 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1430 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1431 = { #1431 #"heilungkiang"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1431 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1431
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1431 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1431
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1431 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1431 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1431 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_liaoning = { #715 #"liaoning"
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			715 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 715
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			715 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 715
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				715 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			715 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			715 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1443 = { #1443
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1443 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1443
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1443 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1443
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1443 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1443 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1443 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
	
	PRC_infiltrate_1445 = { #1445
		icon = infiltrate_state
		visible = {
			has_government = communism
			has_completed_focus = PRC_anti_japanese_expedition
			1445 = {
				CONTROLLER = {
					NOT = { has_war_with = ROOT }
					OR = {
						original_tag = MAN
						original_tag = MEN
						original_tag = EHE
						original_tag = JAP
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
					state = 1445
				} 
		}
		
		available = {
			PRC_is_not_infiltrating_a_state = yes
			has_equipment = { infantry_equipment > 499 }
			1445 = {
				PRC_can_increase_infiltration_in_state = yes
			}
			NOT = { has_war_with = JAP }
			NOT = { has_war_with = MEN }
			NOT = { has_war_with = EHE }
			NOT = { has_war_with = MAN }
		}
		
		modifier = {
			command_power_gain = -0.2
		}
	
		#INFILTRATE_JAP_STATE_AI_WILL_DO 1445
		ai_will_do = {
			base = 50

			modifier = {
				factor = 0
				1445 = { has_state_flag = discovered_infiltration }
				PRC_all_anti_japan_infiltration_discovered = no
			}
		}

		days_remove = @DAYS_REMOVE_INFILTRATE_STATE
		days_re_enable = 0

		cost = 10

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = @INFILTRATION_INF_EQ_COST
			}			
			1445 = {
				if = {
					limit = {
						NOT = { has_state_flag = PRC_infiltration_@ROOT }
					}
					set_state_flag = {
						flag = PRC_infiltration_@ROOT
						value = 0
					}
				}
			}
		}

		remove_effect = {
			1445 = {
				PRC_infiltration_succesful_show_uprising_effect = yes
				modify_state_flag = {
					flag = PRC_infiltration_@ROOT
					value = 1
				}
			}
		}
	}
}
operations = {
	PRC_launch_100_regiments_campaign = {
		icon = generic_prepare_civil_war
		visible = {
			has_completed_focus = PRC_100_regiments_campaign
		}
		cost = 0
		fire_only_once = yes
		ai_will_do = {
			factor = 1
		}
		days_remove = 180

		modifier = {
			army_core_attack_factor = 0.25
		}
	}	
}

PRC_provoke_japan = {

	PRC_provoke_japan = {

		icon = generic_ignite_civil_war
		available = {
			not = {
				has_war_with = JAP
			}
			OR = {
				is_subject = no
				is_subject_of = event_target:WTT_current_china_leader
			}
			OR = {
				MAN = { 
					OR = {
						is_subject_of = JAP
						has_cosmetic_tag = MAN_kwantung_army 
					}
				}
				JAP = {
					owns_state = 525
					owns_state = 527
					owns_state = 1311
					owns_state = 1312
					owns_state = 1313
					owns_state = 1314
					owns_state = 1315
					owns_state = 1316
					owns_state = 1317
					owns_state = 1318
					owns_state = 1319
					owns_state = 1320
					owns_state = 1321
					owns_state = 1322
					owns_state = 1323
					owns_state = 1324
					owns_state = 1325
					owns_state = 1326
					owns_state = 1327
					owns_state = 1328
					owns_state = 1329
					
				}
			}
		}
		visible = {
			not = {
				has_war_with = JAP
			}
			OR = {
				MAN = { 
					OR = {
						is_subject_of = JAP 
						has_cosmetic_tag = MAN_kwantung_army 
					}
				}
				JAP = {
					owns_state = 525
					owns_state = 527
					owns_state = 1311
					owns_state = 1312
					owns_state = 1313
					owns_state = 1314
					owns_state = 1315
					owns_state = 1316
					owns_state = 1317
					owns_state = 1318
					owns_state = 1319
					owns_state = 1320
					owns_state = 1321
					owns_state = 1322
					owns_state = 1323
					owns_state = 1324
					owns_state = 1325
					owns_state = 1326
					owns_state = 1327
					owns_state = 1328
					owns_state = 1329
				}
			}
		}
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				has_war_with = event_target:WTT_current_china_leader
				factor = 0 # let's just not make things worse for ourselves
			}
			modifier = {
				JAP = {
					has_war_with = event_target:WTT_current_china_leader
				}
				factor = 0 # mission accomplished
			}
		}
		fixed_random_seed = no
		days_re_enable = 90
		complete_effect = {
			IF = {
				limit = {
					OR = {
						MAN = {
							is_subject_of = JAP
						}
						JAP = {
							owns_state = 525
							owns_state = 527
							owns_state = 1311
							owns_state = 1312
							owns_state = 1313
							owns_state = 1314
							owns_state = 1315
							owns_state = 1316
							owns_state = 1317
							owns_state = 1318
							owns_state = 1319
							owns_state = 1320
							owns_state = 1321
							owns_state = 1322
							owns_state = 1323
							owns_state = 1324
							owns_state = 1325
							owns_state = 1326
							owns_state = 1327
							owns_state = 1328
							owns_state = 1329
						}
					}
				}
				JAP = {
					random_list = {
						25 = { country_event = wtt_prc.21 }# sabotage - military
						25 = { country_event = wtt_prc.22 }# sabotage - civilian
						25 = { country_event = wtt_prc.23 }# sabotage - infrastructure
						25 = { country_event = wtt_prc.24 }# patrol ambushed
					}
				}
			}
			else_if = {
				limit = {
					MAN = {
						has_cosmetic_tag = MAN_kwantung_army 
					}
				}
				MAN = {
					random_list = {
						25 = { country_event = wtt_prc.21 }# sabotage - military
						25 = { country_event = wtt_prc.22 }# sabotage - civilian
						25 = { country_event = wtt_prc.23 }# sabotage - infrastructure
						25 = { country_event = wtt_prc.24 }# patrol ambushed
					}
				}
			}
		}
	}
}

political_actions = {
	PRC_return_manchuria_communist = {

		available = {
			event_target:WTT_communist_china = {
				tag = ROOT
			}
			JAP = {
				has_government = communism
				not = {
					has_war_with = ROOT
				}
				is_in_faction_with = ROOT
				OR = {
					controls_state = 610
					controls_state = 716
					controls_state = 1452
					controls_state = 1453
					controls_state = 1454
					controls_state = 745
					controls_state = 328
					controls_state = 1434
					controls_state = 1435
					controls_state = 1436
					controls_state = 1437
					controls_state = 1438
					controls_state = 1439
					controls_state = 1440
					controls_state = 717
					controls_state = 1416
					controls_state = 1417
					controls_state = 1418
					controls_state = 1419
					controls_state = 1420
					controls_state = 1421
					controls_state = 1422
					controls_state = 714
					controls_state = 1423
					controls_state = 1424
					controls_state = 1425
					controls_state = 1426
					controls_state = 1427
					controls_state = 1428
					controls_state = 1451
					controls_state = 1429
					controls_state = 1430
					controls_state = 1431
					controls_state = 715
					controls_state = 1443
					controls_state = 1445
					controls_state = 761
					controls_state = 1432
					controls_state = 1433
					controls_state = 611
					controls_state = 1476
					controls_state = 612
					controls_state = 1474
					controls_state = 1475
					controls_state = 609
					controls_state = 1487
					controls_state = 1488
				}
			}
			MAN = {
				OR = {
					exists = no
					has_capitulated = yes
				}
			}
		}

		visible = {
			event_target:WTT_communist_china = {
				tag = ROOT
			}
			JAP = {
				has_government = communism
				not = {
					has_war_with = ROOT
				}
				is_in_faction_with = ROOT
				OR = {
					controls_state = 610
					controls_state = 716
					controls_state = 1452
					controls_state = 1453
					controls_state = 1454
					controls_state = 745
					controls_state = 328
					controls_state = 1434
					controls_state = 1435
					controls_state = 1436
					controls_state = 1437
					controls_state = 1438
					controls_state = 1439
					controls_state = 1440
					controls_state = 717
					controls_state = 1416
					controls_state = 1417
					controls_state = 1418
					controls_state = 1419
					controls_state = 1420
					controls_state = 1421
					controls_state = 1422
					controls_state = 714
					controls_state = 1423
					controls_state = 1424
					controls_state = 1425
					controls_state = 1426
					controls_state = 1427
					controls_state = 1428
					controls_state = 1451
					controls_state = 1429
					controls_state = 1430
					controls_state = 1431
					controls_state = 715
					controls_state = 1443
					controls_state = 1445
					controls_state = 761
					controls_state = 1432
					controls_state = 1433
					controls_state = 611
					controls_state = 1476
					controls_state = 612
					controls_state = 1474
					controls_state = 1475
					controls_state = 609
					controls_state = 1487
					controls_state = 1488
				}
			}
		}

		cost = 25

		ai_will_do = {
			factor = 1
		}

		complete_effect = {
			JAP = {
				country_event = wtt_japan.40
			}
		}

		remove_effect = {

		}
	}
	refuse_the_tribute = {

		icon = generic_political_actions

		allowed = {
			is_potentially_communist_china = yes
		}

		available = {
			
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = -50
						
				#Has somewhat won against CHI and JAP
				NOT = {
					count_triggers = {
						amount = 20
						595 = { is_controlled_by = ROOT }
						596 = { is_controlled_by = ROOT }
						597 = { is_controlled_by = ROOT }
						1494 = { is_controlled_by = ROOT }
						1495 = { is_controlled_by = ROOT }
						1496 = { is_controlled_by = ROOT }
						1497 = { is_controlled_by = ROOT }
						1498 = { is_controlled_by = ROOT }
						1499 = { is_controlled_by = ROOT }
						1500 = { is_controlled_by = ROOT }
						1501 = { is_controlled_by = ROOT }
						1502 = { is_controlled_by = ROOT }
						1503 = { is_controlled_by = ROOT }
						1504 = { is_controlled_by = ROOT }
						1505 = { is_controlled_by = ROOT }
						598 = { is_controlled_by = ROOT }
						600 = { is_controlled_by = ROOT }
						601 = { is_controlled_by = ROOT }
						602 = { is_controlled_by = ROOT }
						603 = { is_controlled_by = ROOT }
						605 = { is_controlled_by = ROOT }
						606 = { is_controlled_by = ROOT }
						607 = { is_controlled_by = ROOT }
						608 = { is_controlled_by = ROOT }
						1489 = { is_controlled_by = ROOT }
						613 = { is_controlled_by = ROOT }
						614 = { is_controlled_by = ROOT }
						1490 = { is_controlled_by = ROOT }
						1491 = { is_controlled_by = ROOT }
						1492 = { is_controlled_by = ROOT }
						1493 = { is_controlled_by = ROOT }
						620 = { is_controlled_by = ROOT }				
					}
				}
			}
			modifier = {
				add = 25
				has_idea = PRC_soviet_tribute_1
			}
			modifier = {
				add = 50
				has_idea = PRC_soviet_tribute_2
			}
			modifier = {
				add = 75
				has_idea = PRC_soviet_tribute_3
			}
			modifier = {
				add = 100
				has_idea = PRC_soviet_tribute_4
			}
			modifier = {
				add = 125
				has_idea = PRC_soviet_tribute_5
			}
			modifier = {
				add = 150
				has_idea = PRC_soviet_tribute_6
			}
			modifier = {
				factor = 0
				has_country_flag = PRC_soviet_tribute_commitment_flag
			}
		}

		visible = {
			has_country_flag = WTT_support_from_soviet
			has_soviet_tribute = yes
		}

		target_root_trigger = {
			has_country_flag = WTT_support_from_soviet
		}

		targets = { SOV }

		target_trigger = {
			FROM = { tag = SOV }
		}

		fire_only_once = yes

		complete_effect = {
			PRC_soviet_tribute_clear_all = yes
			clr_country_flag = WTT_support_from_soviet
			FROM = {
				country_event = { id = wtt_warlord_vs_prc.34 }
				effect_tooltip = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = ROOT
					}
				}
			}
		}
	}
}