
# FOREIGN POLICY
foreign_politics = {
	
	KOR_regain_core_on_state_decision = {
		icon = GFX_decision_infiltrate_state
	
		allowed = {
			OR = {
				original_tag = KOR
				original_tag = JAP
			}
		}

		highlight_states = {
			highlight_states_trigger = {
				state = FROM
			}
		}
		
		visible = {
			any_owned_state = {
				is_controlled_by = ROOT
				OR = {
					state = 525
					state = 527
					state = 1028
					state = 1029
					state = 1030
					state = 1031
					state = 1311
					state = 1313
					state = 1315
					state = 1316
					state = 1317
					state = 1318
					state = 1320
					state = 1321
					state = 1322
					state = 1323
					state = 1324
					state = 1326
					state = 1327
					state = 1327
					state = 1328
					state = 1329
				}
				has_dynamic_modifier = {
					modifier = KOR_resistance_against_colonial_rule_dm
				}	
			}
		}
		
		available = {
		}

		state_target = yes

		target_array = KOR.core_states
	    
	    target_trigger = {
	        FROM = {
	        	has_dynamic_modifier = {
	        		modifier = KOR_resistance_against_colonial_rule_dm
	        	}	
	        	is_controlled_by = ROOT
	        }
	    }
	    on_map_mode = map_and_decisions_view 

	    ai_hint_pp_cost = 25
	    custom_cost_trigger = {
	    	command_power > 24
	    	has_political_power > 24
	    }
	    custom_cost_text = decision_cost_CP_25_pp_25	

		fire_only_once = yes

		days_remove = 70

		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				OR = {
					has_country_flag = JAP_AI_RANDOM_COMMUNIST
					has_game_rule = {
						rule = JAP_ai_behavior
						option = COMMUNIST
					}
					has_country_flag = JAP_AI_RANDOM_COMMUNIST_2
					has_game_rule = {
						rule = JAP_ai_behavior
						option = COMMUNIST_2
					}
					has_country_flag = JAP_AI_RANDOM_DEMOCRATIC
					has_game_rule = {
						rule = JAP_ai_behavior
						option = DEMOCRATIC
					}
				}
			}
		}

		complete_effect = {
			hidden_effect = {
				add_political_power = -25
				add_command_power = -25
			}
		}

		remove_effect = {
			FROM = {
				remove_dynamic_modifier = {
					modifier = KOR_resistance_against_colonial_rule_dm
				}	
			}
		}

		cancel_trigger = {
			FROM = {
				NOT = { is_controlled_by = ROOT }
			}
		}

		cancel_effect = {
		}
	}

}

# Political Actions Category
political_actions = {



}