#Category only allowed for MAN MEN JAP
#Visible when other nation has completed PRC_anti_japanese_expedition and controls relevant states or puppet controls them
communist_infiltration = {

	detect_infiltration = {

		icon = generic_army_support
		
		available = {

		}

		days_remove = 0
		days_re_enable = 30
	
		cost = 100

		ai_will_do = {
			base = 0
			modifier = {
				has_political_power < 150
				factor = 0
			}
			modifier = {
				add = 75
				any_other_country = {
					is_potentially_communist_china = yes
					has_completed_focus = PRC_anti_japanese_expedition
					NOT = { has_country_flag = JAP_delay_sweep_for_communists }
				}
			}
		}
	
		complete_effect = {
			hidden_effect = { country_event = wtt_infiltration.20 }
			custom_effect_tooltip = chinese_infiltration_tt
		}
	}

	#609 #"east_hebei"
	#610 #"jehol"
	#611 #"south_chahar"
	#612 #"chahar"
	#714 #"heilungkiang"
	#715 #"liaoning"

	communist_infiltration_in_east_hebei = { #609

		icon = generic_civil_support

		visible = {
			609 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 609 
			} 
		}
		
		available = {
			has_equipment = { infantry_equipment > 999 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 30
		days_re_enable = 0
		
		cost = 10
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -500
			}
		}

		remove_effect = {
			609 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					609 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1423 = { #1423

		icon = generic_civil_support

		visible = {
			1423 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1423 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1423 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1423 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1424 = { #1424

		icon = generic_civil_support

		visible = {
			1424 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1424 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1424 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1424 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1425 = { #1425

		icon = generic_civil_support

		visible = {
			1425 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1425 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1425 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1425 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1426 = { #1426

		icon = generic_civil_support

		visible = {
			1426 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1426 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1426 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1426 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1427 = { #1427

		icon = generic_civil_support

		visible = {
			1427 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1427 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1427 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1427 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1428 = { #1428

		icon = generic_civil_support

		visible = {
			1428 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1428 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1428 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1428 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1429 = { #1429

		icon = generic_civil_support

		visible = {
			1429 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1429 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1429 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1429 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1430 = { #1430

		icon = generic_civil_support

		visible = {
			1430 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1430 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1430 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1430 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1431 = { #1431

		icon = generic_civil_support

		visible = {
			1431 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1431 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1431 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1431 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1451 = { #1451

		icon = generic_civil_support

		visible = {
			1451 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1451 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1451 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1451 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}

	communist_infiltration_in_jehol = { #610

		icon = generic_civil_support

		visible = {
			610 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 610 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			610 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					610 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1444 = { #1444

		icon = generic_civil_support

		visible = {
			1444 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1444 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1444 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1444 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1446 = { #1446

		icon = generic_civil_support

		visible = {
			1446 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1446 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1446 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1446 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1447 = { #1447

		icon = generic_civil_support

		visible = {
			1447 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1447 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1447 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1447 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1448 = { #1448

		icon = generic_civil_support

		visible = {
			1448 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1448 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1448 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1448 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1449 = { #1449

		icon = generic_civil_support

		visible = {
			1449 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1449 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1449 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1449 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1450 = { #1450

		icon = generic_civil_support

		visible = {
			1450 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1450 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1450 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1450 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	

	communist_infiltration_in_south_chahar = { #611

		icon = generic_civil_support

		visible = {
			611 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 611 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 999 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 30
		days_re_enable = 0
		
		cost = 10
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -500
			}
		}

		remove_effect = {
			611 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					611 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1476 = {

		icon = generic_civil_support

		visible = {
			1476 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1476 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1476 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1476 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}

	communist_infiltration_in_chahar = { #612

		icon = generic_civil_support

		visible = {
			612 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 612 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 999 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 30
		days_re_enable = 0
		
		cost = 10
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -500
			}
		}

		remove_effect = {
			612 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					612 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1474 = {

		icon = generic_civil_support

		visible = {
			1474 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1474 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1474 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1474 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1475 = {

		icon = generic_civil_support

		visible = {
			1475 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1475 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1475 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1475 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}

	communist_infiltration_in_heilungkiang = { #714

		icon = generic_civil_support

		visible = {
			714 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 714 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 999 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 30
		days_re_enable = 0
		
		cost = 10
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -500
			}
		}

		remove_effect = {
			714 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 } 
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					714 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}

	communist_infiltration_in_liaoning = { #715

		icon = generic_civil_support

		visible = {
			715 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 715 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			715 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					715 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1443 = { #1443

		icon = generic_civil_support

		visible = {
			1443 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1443 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1443 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1443 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
	
	communist_infiltration_in_1445 = { #1445

		icon = generic_civil_support

		visible = {
			1445 = {
				is_controlled_by_ROOT_or_subject = yes
				has_state_flag = {
					flag = discovered_infiltration
					value > 0
				}
			}
		}

		highlight_states = {
 			highlight_state_targets = {
				state = 1445 
			} 
		}

		available = {
			has_equipment = { infantry_equipment > 299 }
		}

		modifier = {
			command_power_gain = -0.1
		}

		ai_will_do = {
			base = 100
			#Pretty damn important
			modifier = {
				add = 100
				always = yes
			}
		}
		
		days_remove = 10
		days_re_enable = 0
		
		cost = 5
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -150
			}
		}

		remove_effect = {
			1445 = {
				CHI_show_state_uprising_effect_after_infiltration_level_down = yes
				save_event_target_as = infiltrated_state
				CHI_infiltration_flag_down_2 = yes
			}
			event_target:WTT_communist_china = { country_event = wtt_infiltration.6 }
			custom_effect_tooltip = communist_infiltration_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							original_tag = PRC
							original_tag = GXC
							original_tag = YUN
							original_tag = SHX
							original_tag = XSM
							original_tag = SIK
						}
						has_government = communism
						any_state = {
							CONTROLLER = {
								OR = {
									tag = ROOT
									OVERLORD = {
										tag = ROOT
									}
								}
							}
							PRC_is_infiltrated_by_PREV = yes
						}
					}
					1445 = {
						PRC_execute_infiltration_effects_for_PREV = yes
					}
				}
			}
		}
	}
}