﻿#korea_claim_manchu_decision = {
#	  is_shown = {
#		exists = c:KOR
#		c:KOR = ROOT
#		NOT = { has_variable = korea_claim_manchu_decision }
#	  }
#     possible = {
#		is_subject = no
#		has_law = law_type:law_monarchy
#    	 }
#
#     when_taken = {
#        set_variable = {
#             name = korea_empire_decision_taken
#             value = yes
#         }
#	add_modifier = {
#		name = kor_proclaim_empire
#	}
#		s:STATE_CALIFORNIA = { 
#			if = {
#				limit = {
#					any_scope_state = {
#						 NOT = {
#							owner = ROOT
#						}
#					}
#				}
#				add_claim = ROOT 
#			}
#		}
#     }
#
#    ai_chance = {
#         base = 100
#         }
#    }

korea_manchu_decision = {
	  is_shown = {
		exists = c:KOR
		c:KOR = ROOT
		has_variable = KOR_korean_empire_declared
		NOT = { 
			has_variable = korea_manchu_decision_took
		}
	  }
     possible = {
		is_subject = no
		and = {
			owns_entire_state_region = STATE_SHENGJING
			owns_entire_state_region = STATE_SOUTHERN_MANCHURIA
		}
    	 }

     when_taken = {
	trigger_event = {
		id = korea_manchu_integrate_events.1
		popup = yes
	}
     }
    ai_chance = {
         base = 20
         }
    }