#############################################
#                 ±                  #
#############################################

country_event = {
	
	id = 80101

        is_triggered_only = yes

	title = "EVTNAME80101"
	desc = "EVTDESC80101"
	picture = "chinese_incident"

	option = {

		  name = "EVTOPTA80101"	 #ͣ	
	
		  ai_chance = { factor = 100 }
                  set_country_flag = chinese_xian_shibian
                  national_unity = 5
                  dissent = -5
                  end_war = CHC
                  relation = { who = CHC value = 100 }
                  CHC = { country_event = 80102 }
	}
	option = {

		  name = "EVTOPTB80101" #

		  relation = { who = CHI value = -15 }
                  national_unity = -5
                  dissent = 5
	}
}

country_event = {
       
       id = 80102
       
       is_triggered_only = yes
       
       title="EVTNAME80102"
       desc="EVTDESC80102"
       picture="chinese_incident"
       
       option = {

                 name = "EVTOPTA80102"

       }
}

#############################################
#             ͳһս              #
#############################################

country_event = {

       id = 80301
       
       is_triggered_only = yes

       title = "EVTNAME80301"
       desc = "EVTDESC80301"
       picture = "assistance"

       option = {

                 name = "EVTOPTA80301"
                 
                 ai_chance = { factor = 100 }
                 CHI = { create_alliance = this }
                 this = { military_access = CSX } #CSXṩͨȨ
       }
       option = {

                 name ="EVTOPTB80301"

                 dissent = 10
                 national_unity = -10            
       }
}

#############################################
#                  -CHI                 
#############################################

country_event = {
       
       id = 80401

       title = "EVTNAME80401"
       desc = "EVTDESC80401"
       picture = "japansurrendedtochina"

       is_triggered_only = yes

       option = {
                 name = "EVTOPTA80401" #
                 ai_chance = { factor = 100 }
                 dissent = -5
                 national_unity = 3
                 end_war = JAP
                 threat = { who = all value = -10 }
                 relation = { who = JAP value = 50 }
                 CHC = { leave_alliance = CHI } #ɢͬ
                 CGX = { leave_alliance = CHI }  
                 CSX = { leave_alliance = CHI } 
                 CYN = { leave_alliance = CHI }              
                 JAP = {
                        country_event = 80402
                 }
                 CHI = { country_event = 80403 } #Ҫ
       }
       option = {
                 name = "EVTOPTB80401" #Ҫȫʤ
                 JAP = { country_event = 80404 }
       }
}

#############################################
#                  -CHC                 
#############################################

country_event = {
       
       id = 80405

       title = "EVTNAME80401"
       desc = "EVTDESC80401"
       picture = "japansurrendedtochina"

       is_triggered_only = yes

       option = {
                 name = "EVTOPTA80401"
                 ai_chance = { factor = 100 }
                 dissent = -5
                 national_unity = 3
                 end_war = JAP
                 threat = { who = all value = -10 }
                 relation = { who = JAP value = 50 }
                 CHC = { leave_alliance = CHI }
                 CGX = { leave_alliance = CHI }  
                 CSX = { leave_alliance = CHI } 
                 CYN = { leave_alliance = CHI } 
                 JAP = {
                        country_event = 80406
                 } 
                 CHC = { country_event = 80407 } #Ҫ
       }
       option = {
                 name = "EVTOPTB80401"
                 JAP = { country_event = 80404 }
       }
}

#############################################
#                 Ҫ                
#############################################

country_event = {
        
        id = 80403

        is_triggered_only = yes

        title = "EVTNAME80403"
        desc = "EVTDESC80403"
        picture = "jiangjeshi"

        option = {
                  name = "EVTOPTA80403" #Ȩ
                  ai_chance = { factor = 100 }
                  JAP_4522 = {                      #óʰ뵺
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_4797 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_4939 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_4941 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5056 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5114 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5147 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5059 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5247 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5117 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5184 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_4985 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_4796 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5308 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5341 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
		  JAP_5388 = {
                              secede_province = KOR
                              remove_core = JAP
                              add_core = KOR
                  }
                  create_vassal = KOR
        }
        option = {
                  name = "EVTOPTB80403" #Ҫ
                  relation = { who = USA value = -20 }
                  relation = { who = ENG value = -20 }
                  dissent = 5
        }
}

#############################################
#                 Ҫ                
#############################################

country_event = {
        
        id = 80407

        is_triggered_only = yes

        title = "EVTNAME80407"
        desc = "EVTDESC80407"
        picture = "sinuo_mao"

        option = {
                  name = "EVTOPTA80407" #ʿȨ
                  ai_chance = { factor = 100 }
                  JAP_4522 = {                      #óʰ뵺
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_4797 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_4939 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_4941 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5056 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5114 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5147 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5059 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5247 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5117 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5184 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_4985 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_4796 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5308 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5341 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
		  JAP_5388 = {
                              secede_province = PRK
                              remove_core = JAP
                              add_core = PRK
                  }
                  create_vassal = PRK
        }
        option = {
                  name = "EVTOPTB80407" #Ҫʵ
                  relation = { who = SOV value = -20 }
                  dissent = 5
        }
}

#############################################
#          ͳһ֮·-̲            
#############################################

country_event = {

        id = 80501
	
        is_triggered_only = yes

	title = "EVTNAME80501"
	desc = "EVTDESC80501"
        picture = "jiangjeshi"

	option = {
		  name = "EVTOPTA80501"
                  inherit = CXB
  	          dissent = -3
                  CXB_9059 = { remove_core = CXB } #ȥCXBĺ
                  CXB_9060 = { remove_core = CXB } 
                  CXB_9139 = { remove_core = CXB } 
                  CXB_9263 = { remove_core = CXB } 
                  CXB_9169 = { remove_core = CXB } 
                  CXB_9232 = { remove_core = CXB } 
                  CXB_9087 = { remove_core = CXB } 
                  CXB_9171 = { remove_core = CXB } 
                  CXB_9143 = { remove_core = CXB } 
                  CXB_7358 = { remove_core = CXB } 
                  set_country_flag = remove_core_cxb
        }
}


#############################################
#          ͳһй-CHI           
#############################################

country_event = {
    
       id = 80601

       title = "EVTNAME80601"
       desc = "EVTDESC80601"
       picture = "zhongsanlin"

       trigger = {
                  tag = CHI
                  not = { has_country_flag = united_china_chi }
                  has_country_flag = the_road_that_china_unifies_cxb
                  not = { exists = CHC }
                  not = { exists = CGX }
                  not = { exists = CXB }
                  not = { exists = CYN }
                  not = { exists = CSX }
                  not = { exists = SIK }
                  not = { exists = TIB }
                  
                  controls = 7139 # MAN
                  controls = 7417 #Ӱ CHC
                  controls = 4979 #ƽ CSX
                  controls = 9198 #ľ CXB
                  controls = 7561 # CYN
                  controls = 7553 # CGX
                  controls = 5737 #̨ JAP
                  controls = 9377 # TIB
                  controls = 9006 #karlik shan SIK
       }
       mean_time_to_happen =  {
            months = 1
       }
       option = {
                 name = "EVTOPTA80601"
                 set_country_flag = united_china_chi
                 dissent = -5
                 national_unity = 1
                 CHC = { country_event = 80602 }
       }
}
 
#############################################
#          ͳһй-CHC           
#############################################

country_event = {
    
       id = 80603


       title = "EVTNAME80603"
       desc = "EVTDESC80603"
       picture = "beiping"

       trigger = {
                  tag = CHC
                  not = { has_country_flag = united_china_chc }
                  not = { exists = CHI }
                  not = { exists = CGX }
                  not = { exists = CXB }
                  not = { exists = CYN }
                  not = { exists = CSX }
                  not = { exists = SIK }
                  not = { exists = TIB }
                  
                  controls = 7139 # MAN
                  controls = 7417 #Ӱ CHC
                  controls = 4979 #ƽ CSX
                  controls = 9198 #ľ CXB
                  controls = 7561 # CYN
                  controls = 7553 # CGX
                  controls = 5737 #̨ JAP
                  controls = 9377 # TIB
                  controls = 9006 #karlik shan SIK
       }
       #mean_time_to_happen =  {
       #     months = 1
       #}
       option = {
                 name = "EVTOPTA80603"
                 set_country_flag = united_china_chc
                 dissent = -5
                 national_unity = 1
                 CHI = { country_event = 80602 }
     }
}
country_event = {

       id = 80602

       is_triggered_only = yes

       name = "PƵ"
       desc = "PƵ"

       option = {
                 name = "PƵ"
                 MAN_4456 = { remove_core = this } #ȥCHC\CHI
                 MAN_4455 = { remove_core = this } 
                 MAN_8573 = { remove_core = this } 
                 MAN_8636 = { remove_core = this } 
                 MAN_8750 = { remove_core = this } 
                 MAN_7062 = { remove_core = this } 
                 MAN_7043 = { remove_core = this } 
                 MAN_7119 = { remove_core = this } 
                 MAN_3994 = { remove_core = this } 
                 MAN_4128 = { remove_core = this }
                 CXB_9059 = { remove_core = this } 
                 CXB_9060 = { remove_core = this } 
                 CXB_9139 = { remove_core = this } 
                 CXB_9263 = { remove_core = this } 
                 CXB_9169 = { remove_core = this } 
                 CXB_9232 = { remove_core = this } 
                 CXB_9087 = { remove_core = this } 
                 MAN_4456 = { remove_core = this } 
                 MAN_4455 = { remove_core = this } 
                 MAN_8573 = { remove_core = this } 
                 MAN_8636 = { remove_core = this } 
                 MAN_8750 = { remove_core = this } 
                 MAN_7062 = { remove_core = this } 
                 MAN_7043 = { remove_core = this } 
                 MAN_7119 = { remove_core = this } 
                 MAN_3994 = { remove_core = this } 
                 MAN_4128 = { remove_core = this } 
                 CXB_9059 = { remove_core = this } 
                 CXB_9060 = { remove_core = this } 
                 CXB_9139 = { remove_core = this } 
                 CXB_9263 = { remove_core = this } 
                 CXB_9169 = { remove_core = this } 
                 CXB_9232 = { remove_core = this } 
                 CXB_9087 = { remove_core = this } 
                 CXB_9171 = { remove_core = this } 
                 CXB_9143 = { remove_core = this } 
                 CXB_7358 = { remove_core = this }
                 MAN_5020 = { remove_core = this } 
                 MAN_4891 = { remove_core = this } 
                 MAN_4842 = { remove_core = this } 
                 MAN_4689 = { remove_core = this } 
                 MAN_4579 = { remove_core = this } 
                 MAN_4688 = { remove_core = this } 
                 MAN_4519 = { remove_core = this } 
                 MAN_4323 = { remove_core = this } 
                 MAN_4061 = { remove_core = this } 
                 MAN_4260 = { remove_core = this } 
                 MAN_7139 = { remove_core = this } 
                 MAN_7077 = { remove_core = this } 
                 MAN_8802 = { remove_core = this } 
                 MAN_8773 = { remove_core = this } 
                 MAN_8872 = { remove_core = this } 
                 MAN_7135 = { remove_core = this } 
                 MAN_7075 = { remove_core = this } 
                 MAN_7095 = { remove_core = this } 
                 MAN_4384 = { remove_core = this } 
                 MAN_7187 = { remove_core = this } 
                 MAN_4576 = { remove_core = this } 
                 MAN_7161 = { remove_core = this } 
                 MAN_7208 = { remove_core = this } 
                 MAN_4682 = { remove_core = this } 
                 MAN_7313 = { remove_core = this } 
                 MAN_4886 = { remove_core = this } 
                 MAN_4935 = { remove_core = this } 
                 MAN_4835 = { remove_core = this } 
                 MAN_4787 = { remove_core = this } 
                 MAN_4627 = { remove_core = this } 
                 MAN_4788 = { remove_core = this } 
                 MAN_4687 = { remove_core = this } 
                 MAN_4791 = { remove_core = this } 
                 MAN_4737 = { remove_core = this } 
                 MAN_7236 = { remove_core = this } 
                 MAN_4573 = { remove_core = this } 
                 MAN_7235 = { remove_core = this } 
                 MAN_7234 = { remove_core = this } 
                 CHI_9233 = { remove_core = this } 
                 CHI_9324 = { remove_core = this } 
                 CHI_9325 = { remove_core = this } 
                 CHI_9501 = { remove_core = this } 
                 CHI_9502 = { remove_core = this }
                 CHI_7551 = { remove_core = this } 
                 CHI_5788 = { remove_core = this } 
                 CHI_7536 = { remove_core = this } 
                 CHI_7543 = { remove_core = this } 
                 CHI_7544 = { remove_core = this } 
                 CHI_5753 = { remove_core = this } 
                 CHI_5731 = { remove_core = this } 
                 CHI_7520 = { remove_core = this } 
                 CHI_7518 = { remove_core = this } 
                 CHI_5766 = { remove_core = this } 
                 CHI_5778 = { remove_core = this } 
                 CHI_5757 = { remove_core = this } 
                 CHI_5744 = { remove_core = this } 
                 CHI_5724 = { remove_core = this } 
                 CHI_5698 = { remove_core = this } 
                 CHI_5682 = { remove_core = this } 
                 CHI_5692 = { remove_core = this } 
                 CHI_5708 = { remove_core = this } 
                 CHI_5710 = { remove_core = this } 
                 CHI_5736 = { remove_core = this } 
                 CHI_5695 = { remove_core = this } 
                 CHI_5674 = { remove_core = this } 
                 CHI_5663 = { remove_core = this } 
                 CHI_5664 = { remove_core = this } 
                 CHI_5665 = { remove_core = this } 
                 CHI_5622 = { remove_core = this } 
                 CHI_5621 = { remove_core = this } 
                 CHI_5474 = { remove_core = this } 
                 CHI_5637 = { remove_core = this } 
                 CHI_5540 = { remove_core = this } 
                 CHI_5473 = { remove_core = this } 
                 CHI_5619 = { remove_core = this } 
                 CHI_5539 = { remove_core = this } 
                 CHI_5452 = { remove_core = this } 
                 CHI_5421 = { remove_core = this } 
                 CHI_5420 = { remove_core = this } 
                 CHI_5493 = { remove_core = this } 
                 CHI_5569 = { remove_core = this } 
                 CHI_5648 = { remove_core = this } 
                 CHI_7512 = { remove_core = this } 
                 CHI_5618 = { remove_core = this } 
                 CHI_5514 = { remove_core = this } 
                 CHI_5661 = { remove_core = this } 
                 CHI_7507 = { remove_core = this } 
                 CHI_7523 = { remove_core = this } 
                 CHI_9478 = { remove_core = this } 
                 CHI_9382 = { remove_core = this } 
                 CHI_7498 = { remove_core = this } 
                 CHI_7497 = { remove_core = this } 
                 CHI_5451 = { remove_core = this } 
                 CHI_7425 = { remove_core = this } 
                 CHI_7436 = { remove_core = this } 
                 CHI_5434 = { remove_core = this } 
                 CHI_5432 = { remove_core = this } 
                 CHI_5449 = { remove_core = this } 
                 CHI_5402 = { remove_core = this }
                 CHI_5361 = { remove_core = this } 
                 CHI_5386 = { remove_core = this } 
                 CHI_5302 = { remove_core = this } 
                 CHI_5209 = { remove_core = this } 
                 CHI_5179 = { remove_core = this } 
                 CHI_5304 = { remove_core = this } 
                 CHI_5244 = { remove_core = this } 
                 CHI_5212 = { remove_core = this } 
                 CHI_5145 = { remove_core = this } 
                 CYN_9322 = { remove_core = this } 
                 CYN_9294 = { remove_core = this } 
                 CYN_9413 = { remove_core = this } 
                 CYN_9414 = { remove_core = this } 
                 CYN_9547 = { remove_core = this } 
                 CYN_9548 = { remove_core = this } 
                 CYN_9603 = { remove_core = this } 
                 CYN_5930 = { remove_core = this } 
                 CYN_7585 = { remove_core = this } 
                 CSX_5385 = { remove_core = this } 
                 CSX_5333 = { remove_core = this } 
                 CSX_5206 = { remove_core = this } 
                 CSX_5176 = { remove_core = this } 
                 CSX_5178 = { remove_core = this } 
                 CSX_5055 = { remove_core = this } 
                 CSX_5085 = { remove_core = this } 
                 CSX_5112 = { remove_core = this } 
                 CSX_5174 = { remove_core = this } 
                 CSX_7398 = { remove_core = this } 
                 CSX_7359 = { remove_core = this } 
                 CSX_7385 = { remove_core = this } 
                 CSX_4885 = { remove_core = this } 
                 CSX_7360 = { remove_core = this } 
                 CSX_7337 = { remove_core = this } 
                 CSX_7259 = { remove_core = this }
                 TIB_9379 = { remove_core = this } 
                 TIB_9292 = { remove_core = this } 
                 TIB_9411 = { remove_core = this } 
                 TIB_9410 = { remove_core = this } 
                 TIB_9167 = { remove_core = this } 
                 TIB_9166 = { remove_core = this } 
                 TIB_9260 = { remove_core = this } 
                 SIK_9082 = { remove_core = this } 
                 SIK_9029 = { remove_core = this } 
                 SIK_9194 = { remove_core = this } 
                 SIK_8953 = { remove_core = this } 
                 SIK_8864 = { remove_core = this } 
                 SIK_9030 = { remove_core = this } 
                 SIK_9006 = { remove_core = this } 
                 SIK_8954 = { remove_core = this } 
                 CGX_7573 = { remove_core = this } 
                 CGX_7574 = { remove_core = this } 
                 CGX_7553 = { remove_core = this } 
                 CGX_5861 = { remove_core = this } 
                 CGX_5918 = { remove_core = this } 
                 CGX_5830 = { remove_core = this } 
                 CGX_5946 = { remove_core = this } 
                 CGX_5864 = { remove_core = this } 
                 CGX_5884 = { remove_core = this } 
                 CGX_5832 = { remove_core = this } 
                 CGX_5851 = { remove_core = this } 
                 CGX_5787 = { remove_core = this } 
                 CGX_5789 = { remove_core = this } 
                 CGX_5774 = { remove_core = this } 
                 CGX_5835 = { remove_core = this } 
                 CGX_5821 = { remove_core = this } 
                 CGX_5776 = { remove_core = this } 
                 CGX_5793 = { remove_core = this } 
                 CGX_5984 = { remove_core = this } 
                 CGX_5985 = { remove_core = this } 
                 CHC_7417 = { remove_core = this } 
                 JAP_5824 = { remove_core = this }
                 JAP_5737 = { remove_core = this }
                 5868 = { remove_core = this }
                 5886 = { remove_core = this }
       }
}

#############################################
#          ۻع-CHI          
#############################################

country_event = {

       id = 80801

       is_triggered_only = yes

       title = "EVTNAME80801"
       desc = "EVTDESC80801"
       picture = "jiangjeshi"

       option = {
                 name = "EVTOPTA80801" #
                 ai_chance = { factor = 90 }
                 5868 = {
                         secede_province = CHI
                         remove_core = ENG
                 }
                 relation = { who = CHI value = 50 }
                 CHI = { country_event = 80802 }
       }
       option = {
                 name = "EVTOPTB80801" #ǵ
                 relation = { who = CHI value = -50 }
                 CHI = { country_event = 80803 }
       }
}

country_event = {

       id = 80802

       is_triggered_only = yes

       title = "EVTNAME80802"
       desc = "EVTDESC80802"
       picture = "assistance"

       option = {
                 name = "EVTOPTA80802" #ܺ
       }
}

country_event = {

       id = 80803

       is_triggered_only = yes

       title = "EVTNAME80803"
       desc = "EVTDESC80803"
       picture = "assistance"

       option = {
                 name = "EVTOPTA80803" #ǲ
                 ai_chance = { factor = 50 }
                 dissent = 5
       }
       option = {
                 name = "EVTOPTB80803" #ζս
                 war = ENG
       }
}

#############################################
#          Żع-CHI          
#############################################

country_event = {

       id = 80804

       is_triggered_only = yes

       title = "EVTNAME80804"
       desc = "EVTDESC80804"
       picture = "jiangjeshi"

       option = {
                 name = "EVTOPTA80804" #
                 ai_chance = { factor = 90 }
                 5886 = {
                         secede_province = CHI
                         remove_core = POR
                 }
                 relation = { who = CHI value = 50 }
                 CHI = { country_event = 80805 }
       }
       option = {
                 name = "EVTOPTB80804" #ǵ
                 relation = { who = CHI value = -50 }
                 CHI = { country_event = 80806 }
       }
}

country_event = {

       id = 80805

       is_triggered_only = yes

       title = "EVTNAME80805"
       desc = "EVTDESC80805"
       picture = "assistance"

       option = {
                 name = "EVTOPTA80805" #ܺ
       }
}

country_event = {

       id = 80806

       is_triggered_only = yes

       title = "EVTNAME80806"
       desc = "EVTDESC80806"
       picture = "assistance"

       option = {
                 name = "EVTOPTA80806" #ǲ
                 ai_chance = { factor = 50 }
                 dissent = 5
       }
       option = {
                 name = "EVTOPTB80802" #ζս
                 war = POR
       }
}

#############################################
#          ۻع-CHC          
#############################################

country_event = {

       id = 80807

       is_triggered_only = yes

       title = "EVTNAME80801"
       desc = "EVTDESC80801"
       picture = "sinuo_mao"

       option = {
                 name = "EVTOPTA80801" #
                 ai_chance = { factor = 90 }
                 5868 = {
                         secede_province = CHC
                         remove_core = ENG
                 }
                 relation = { who = CHC value = 50 }
                 CHC = { country_event = 80802 }
       }
       option = {
                 name = "EVTOPTB80801" #ǵ
                 relation = { who = CHC value = -50 }
                 CHC = { country_event = 80803 }
       }
}

#############################################
#          Żع-CHC         
#############################################

country_event = {

       id = 80808

       is_triggered_only = yes

       title = "EVTNAME80804"
       desc = "EVTDESC80804"
       picture = "sinuo_mao"

       option = {
                 name = "EVTOPTA80804" #
                 ai_chance = { factor = 90 }
                 5886 = {
                         secede_province = CHC
                         remove_core = POR
                 }
                 relation = { who = CHC value = 50 }
                 CHC = { country_event = 80805 }
       }
       option = {
                 name = "EVTOPTB80804" #ǵ
                 relation = { who = CHC value = -50 }
                 CHC = { country_event = 80806 }
       }
}

########################
# Ǩƽ
########################

country_event = {
 
       id = 80604

       is_triggered_only = yes

       title = "EVTNAME80604"
       desc = "EVTDESC80604"
       picture = "beiping"

       option = {
                 name = "EVTOPTA80604"
                 capital = 4979
       }
}

########################
# ȥϵĺ
########################

country_event = {
 
       id = 81001

       title = "EVTNAME81001"
       desc = "EVTDESC81001"
       picture = "jinianbei"

       trigger = {
               not = { exists = CSX }
               not = { CHC = { has_country_flag = remove_core_csx } }
               not = { CHI = { has_country_flag = remove_core_csx } }
               controls = 5018
               controls = 4979
               controls = 7368
               controls = 5143
               controls = 5174
               or = {
                     tag = CHI
                     tag = CHC
               }
       }
       option = {
                 name = "EVTOPTA81001"
                 CSX_5385 = { remove_core = CSX }
                 CSX_5333 = { remove_core = CSX }
                 CSX_5206 = { remove_core = CSX }
                 CSX_5176 = { remove_core = CSX }
                 CSX_5178 = { remove_core = CSX }
                 CSX_5055 = { remove_core = CSX }
                 CSX_5085 = { remove_core = CSX }
                 CSX_5112 = { remove_core = CSX }
                 CSX_5174 = { remove_core = CSX }
                 CSX_7398 = { remove_core = CSX }
                 CSX_7359 = { remove_core = CSX }
                 CSX_7385 = { remove_core = CSX }
                 CSX_4885 = { remove_core = CSX }
                 CSX_7360 = { remove_core = CSX }
                 CSX_7337 = { remove_core = CSX }
                 CSX_7259 = { remove_core = CSX }
                 set_country_flag = remove_core_csx
       }
}
########################
# ȥαĺ
########################

country_event = {
 
       id = 81002

       title = "EVTNAME81002"
       desc = "EVTDESC81002"
       picture = "jinianbei"

       trigger = {
               not = { exists = MAN } #α
               not = { CHC = { has_country_flag = remove_core_man } }
               not = { CHI = { has_country_flag = remove_core_man } }
               or = {
                     tag = CHI #ΪCHICHC
                     tag = CHC
               }
               controls = 7139 #αʤ
               controls = 4685
       }
       option = {
                 name = "EVTOPTA81002"
                 MAN_4456 = { remove_core = MAN } #ȥαĺ
                 MAN_4455 = { remove_core = MAN } 
                 MAN_8573 = { remove_core = MAN } 
                 MAN_8636 = { remove_core = MAN } 
                 MAN_8750 = { remove_core = MAN } 
                 MAN_7062 = { remove_core = MAN } 
                 MAN_7043 = { remove_core = MAN } 
                 MAN_7119 = { remove_core = MAN } 
                 MAN_3994 = { remove_core = MAN } 
                 MAN_4128 = { remove_core = MAN } 
                 MAN_5020 = { remove_core = MAN } 
                 MAN_4891 = { remove_core = MAN } 
                 MAN_4842 = { remove_core = MAN } 
                 MAN_4689 = { remove_core = MAN } 
                 MAN_4579 = { remove_core = MAN } 
                 MAN_4688 = { remove_core = MAN } 
                 MAN_4519 = { remove_core = MAN } 
                 MAN_4323 = { remove_core = MAN } 
                 MAN_4061 = { remove_core = MAN } 
                 MAN_4260 = { remove_core = MAN } 
                 MAN_7139 = { remove_core = MAN } 
                 MAN_7077 = { remove_core = MAN } 
                 MAN_8802 = { remove_core = MAN } 
                 MAN_8773 = { remove_core = MAN } 
                 MAN_8872 = { remove_core = MAN } 
                 MAN_7135 = { remove_core = MAN } 
                 MAN_7075 = { remove_core = MAN } 
                 MAN_7095 = { remove_core = MAN } 
                 MAN_4384 = { remove_core = MAN } 
                 MAN_7187 = { remove_core = MAN } 
                 MAN_4576 = { remove_core = MAN } 
                 MAN_7161 = { remove_core = MAN } 
                 MAN_7208 = { remove_core = MAN } 
                 MAN_4682 = { remove_core = MAN } 
                 MAN_7313 = { remove_core = MAN } 
                 MAN_4886 = { remove_core = MAN } 
                 MAN_4935 = { remove_core = MAN } 
                 MAN_4835 = { remove_core = MAN } 
                 MAN_4787 = { remove_core = MAN } 
                 MAN_4627 = { remove_core = MAN } 
                 MAN_4788 = { remove_core = MAN } 
                 MAN_4687 = { remove_core = MAN } 
                 MAN_4791 = { remove_core = MAN } 
                 MAN_4737 = { remove_core = MAN } 
                 MAN_7236 = { remove_core = MAN } 
                 MAN_4573 = { remove_core = MAN } 
                 MAN_7235 = { remove_core = MAN } 
                 MAN_7234 = { remove_core = MAN } 
                 set_country_flag = remove_core_man
       }
}

########################
# ȥCXBĺ
########################

country_event = {
 
       id = 81003

       trigger = {
               not = { CHC = { has_country_flag = remove_core_cxb } }
               not = { CHI = { has_country_flag = remove_core_cxb } }
               not = { exists = CXB }
               or = {
                     tag = CHI
                     tag = CHC
               }
               controls = 9115
               controls = 9198
       }

       title = "EVTNAME81003"
       desc = "EVTDESC81003"
       picture = "jinianbei"

       option = {
                 name = "EVTOPTA81003"
                 CXB_9059 = { remove_core = CXB } 
                 CXB_9060 = { remove_core = CXB } 
                 CXB_9139 = { remove_core = CXB } 
                 CXB_9263 = { remove_core = CXB } 
                 CXB_9169 = { remove_core = CXB } 
                 CXB_9232 = { remove_core = CXB } 
                 CXB_9087 = { remove_core = CXB } 
                 CXB_9171 = { remove_core = CXB } 
                 CXB_9143 = { remove_core = CXB } 
                 CXB_7358 = { remove_core = CXB } 
                 set_country_flag = remove_core_cxb
       }
}

########################
# ȥCGXĺ
########################

country_event = {
 
       id = 81004

       trigger = {
               not = { exists = CGX }
               not = { CHC = { has_country_flag = remove_core_cgx } }
               not = { CHI = { has_country_flag = remove_core_cgx } }
               or = {
                     tag = CHI
                     tag = CHC
               }
               controls = 5834
               controls = 5965
               controls = 7586
               controls = 7563
               controls = 7553
       }

       title = "EVTNAME81004"
       desc = "EVTDESC81004"
       picture = "jinianbei"

       option = {
                 name = "EVTOPTA81004"
                 CGX_7573 = { remove_core = CGX } 
                 CGX_7574 = { remove_core = CGX } 
                 CGX_7553 = { remove_core = CGX } 
                 CGX_5861 = { remove_core = CGX } 
                 CGX_5918 = { remove_core = CGX } 
                 CGX_5830 = { remove_core = CGX } 
                 CGX_5946 = { remove_core = CGX } 
                 CGX_5864 = { remove_core = CGX } 
                 CGX_5884 = { remove_core = CGX } 
                 CGX_5832 = { remove_core = CGX } 
                 CGX_5851 = { remove_core = CGX } 
                 CGX_5787 = { remove_core = CGX } 
                 CGX_5789 = { remove_core = CGX } 
                 CGX_5774 = { remove_core = CGX } 
                 CGX_5835 = { remove_core = CGX } 
                 CGX_5821 = { remove_core = CGX } 
                 CGX_5776 = { remove_core = CGX } 
                 CGX_5793 = { remove_core = CGX } 
                 CGX_5984 = { remove_core = CGX } 
                 CGX_5985 = { remove_core = CGX } 
                 set_country_flag = remove_core_cgx
       }
}

########################
# ȥCYNĺ
########################

country_event = {
 
       id = 81005

       trigger = {
               not = { exists = CYN }
               not = { CHC = { has_country_flag = remove_core_cyn } }
               not = { CHI = { has_country_flag = remove_core_cyn } }
               or = {
                     tag = CHI
                     tag = CHC
               }
               controls = 9527
               controls = 7561
       }

       title = "EVTNAME81005"
       desc = "EVTDESC81005"
       picture = "jinianbei"

       option = {
                 name = "EVTOPTA81005"
                 CYN_9322 = { remove_core = CYN } 
                 CYN_9294 = { remove_core = CYN } 
                 CYN_9413 = { remove_core = CYN } 
                 CYN_9414 = { remove_core = CYN } 
                 CYN_9547 = { remove_core = CYN } 
                 CYN_9548 = { remove_core = CYN } 
                 CYN_9603 = { remove_core = CYN } 
                 CYN_5930 = { remove_core = CYN } 
                 CYN_7585 = { remove_core = CYN }  
                 set_country_flag = remove_core_cyn
       }
}

########################
# ȥSIKĺ
########################

country_event = {
 
       id = 81006

       trigger = {
               not = { exists = SIK }
               not = { CHC = { has_country_flag = remove_core_sik } }
               not = { CHI = { has_country_flag = remove_core_sik } }
               or = {
                     tag = CHI
                     tag = CHC
               }
               controls = 9006
       }

       title = "EVTNAME81006"
       desc = "EVTDESC81006"
       picture = "jinianbei"

       option = {
                 name = "EVTOPTA81006"
                 SIK_9082 = { remove_core = SIK } 
                 SIK_9029 = { remove_core = SIK } 
                 SIK_9194 = { remove_core = SIK } 
                 SIK_8953 = { remove_core = SIK } 
                 SIK_8864 = { remove_core = SIK } 
                 SIK_9030 = { remove_core = SIK } 
                 SIK_9006 = { remove_core = SIK } 
                 SIK_8954 = { remove_core = SIK }  
                 set_country_flag = remove_core_sik
       }
}

########################
# ȥTIBĺ
########################

country_event = {
 
       id = 81007

       trigger = {
               not = { exists = TIB }
               not = { CHC = { has_country_flag = remove_core_tib } }
               not = { CHI = { has_country_flag = remove_core_tib } }
               or = {
                     tag = CHI
                     tag = CHC
               }
               controls = 9377
               controls = 9348
               controls = 9414
       }

       title = "EVTNAME81007"
       desc = "EVTDESC81007"
       picture = "jinianbei"

       option = {
                 name = "EVTOPTA81007"
                 TIB_9379 = { remove_core = TIB } 
                 TIB_9292 = { remove_core = TIB } 
                 TIB_9411 = { remove_core = TIB } 
                 TIB_9410 = { remove_core = TIB } 
                 TIB_9167 = { remove_core = TIB } 
                 TIB_9166 = { remove_core = TIB } 
                 TIB_9260 = { remove_core = TIB }   
                 set_country_flag = remove_core_tib
       }
}