﻿add_namespace = jungo

##restavratsia hrama nebesnyh vrat zavershrna
country_event = {
	id = jungo.1
	title = jungo.1.t
	desc = jungo.1.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.1.a	
		add_stability = -0.2
		kill_country_leader = yes
		# create_country_leader = {
			# name = "Фэн Шоусинь"
			# desc = ""
			# picture = "fen_shousin.tga"
			# expire = "2010.1.1"
			# ideology = konstitut_monarch
			# traits = {		
			# }
		# }
		hidden_effect = {
			news_event = { days = 1 id = ar_news.717 }
		}
	}	
}

#новый наследник
country_event = {
	id = jungo.2
	title = jungo.2.t
	desc = jungo.2.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.2.a			
		add_stability = 0.07
		retire_country_leader = yes
		# create_country_leader = {
			# name = "Чжан Баоци"
			# desc = ""
			# picture = "zhan_baotsi.tga"
			# expire = "2010.1.1"
			# ideology = konstitut_monarch
			# traits = {		
			# }
		# }
		hidden_effect = {
			news_event = { days = 1 id = ar_news.718 }
		}
	}	
}

#снова лидер откидывается
country_event = {
	id = jungo.3
	title = jungo.3.t
	desc = jungo.3.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.3.a			
		add_stability = -0.1
		kill_country_leader = yes
		# create_country_leader = {
			# name = "Фэн Шоусинь"
			# desc = ""
			# picture = "fen_shousin.tga"
			# expire = "2010.1.1"
			# ideology = konstitut_monarch
			# traits = {		
			# }
		# }
		hidden_effect = {
			news_event = { days = 1 id = ar_news.719 }
		}
	}	
}

#небесные врата захватывают власть! премьер министр принял ислам
country_event = {
	id = jungo.4
	title = jungo.4.t
	desc = jungo.4.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.4.a
		kill_country_leader = yes
		set_politics = {						
			ruling_party = fascism
		}	
		set_popularities = {			
			neutrality = 35
			fascism = 75			
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.720 }
		}
	}	
}

#гражданская война
country_event = {
	id = jungo.5
	title = jungo.5.t
	desc = jungo.5.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.5.a			
		start_civil_war = {
			ideology = neutrality
			size = 0.35			
		}
		every_other_country = {
			limit = {
				is_puppet_of = ZMN
			}
			ZMN = { end_puppet = PREV }
#			set_autonomy = {
#				target = THIS
#				autonomy_state = autonomy_free
#			}
			drop_cosmetic_tag = yes
		}
		hidden_effect = {
			set_country_flag = zmn_civilwar_vosstanie_flag
			news_event = { hours = 3 id = ar_news.721 }
		}
	}	
}

#гражданская война закончилась, победа фанатиков
country_event = {
	id = jungo.6
	title = jungo.6.t
	desc = jungo.6.d
	picture = GFX_report_event_generic_conference	
	fire_only_once = yes
	trigger = {
		tag = ZMN
		ZMN= {
			has_country_flag = zmn_civilwar_vosstanie_flag
			has_civil_war = no
			has_government = fascism
		}	
	}
	mean_time_to_happen = {
		days = 1
	}
	option = { 
		name = jungo.6.a	
		add_ideas = zmn_nebesnye_vrata
		add_timed_idea = {
			idea = paternalismdrift
			days = 365
		}
		custom_effect_tooltip = jungo.6.a.tt  
		hidden_effect = {
			set_country_flag = zmn_vlast_vrat_confirmed
			news_event = { hours = 3 id = ar_news.722 }
		}
	}	
}

#ТЕСТОВЫЙ ЭВЕНТ НА РЕЛИГИОЗНОСТЬ!
country_event = {
	id = jungo.7
	title = jungo.7.t
	desc = jungo.7.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	fire_only_once = yes	
	option = { 
		name = jungo.7.a
		custom_effect_tooltip = jungo.7.a.tt 	
		hidden_effect = {
			set_variable = { var = vrata_support value = 12 }
			set_variable = { var = vrata_total value = 100 }
			clamp_variable = {
				var = vrata_support
				min = 0
				max = 100
			}
			zmn_recalc_vrata_icon_frames = yes
			zmn_recal_for_nationspirit = yes
			country_event = { id = jungo.8 days = 15 random = 6 }
		}	
	}	
}
#######################################################################################
#СКРЫТЫЙ эвент небесным варатам на всякие бонусы приросты и дебафы
country_event = {
	id = jungo.8
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism		
	}
	immediate = {
		random_list = {
			20 = { 
				modifier = {
					not = { vrata_medium_support_trigger = yes }
					factor = 1
				}
				modifier = {
					not = { vrata_low_support_trigger = yes }
					factor = 2
				}
				country_event = { id = jungo.9 days = 15 random = 6 } #немного поддержки +2
			}
			17 = { 
				modifier = {
					not = { vrata_medium_support_trigger = yes }
					factor = 1
				}
				modifier = {
					not = { vrata_low_support_trigger = yes }
					factor = 2
				}
				country_event = { id = jungo.11 days = 12 random = 6 } #немного поддержки +3
			} 
			20 = { 
				modifier = {
					vrata_high_support_trigger = yes
					factor = 2
				}				
				country_event = { id = jungo.10 days = 20 random = 6 } #немного дебаффа -1
			}
			17 = { 
				modifier = {
					vrata_high_support_trigger = yes
					factor = 2
				}				
				country_event = { id = jungo.12 days = 17 random = 6 } #немного дебаффа -2
			}
 			15 = { 
				modifier = {
					vrata_high_support_trigger = yes
					factor = 2
				}				
				country_event = { id = jungo.13 days = 17 random = 6 } #немного дебаффа -3
			}
			14 = { 
				modifier = {
					vrata_high_support_trigger = yes
					factor = 2
				}				
				country_event = { id = jungo.14 days = 17 random = 6 } #немного дебаффа -4
			} 
			8 = { 
				modifier = {
					vrata_high_support_trigger = yes
					factor = 2
				}				
				country_event = { id = jungo.15 days = 17 random = 6 } #немного дебаффа -6
			}
		}
	}
}

#небольшая религиозная поддержка, событие какое то
country_event = {
	id = jungo.9
	title = jungo.9.t
	desc = jungo.9.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.9.a
		zmn_small_support_vrat_2 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}

#небольшая религиозн дебафф, событие какое то
country_event = {
	id = jungo.10
	title = jungo.10.t
	desc = jungo.10.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.10.a
		zmn_small_debaff_vrat_1 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}	

#небольшая религиозная поддержка, событие какое то (на +3)
country_event = {
	id = jungo.11
	title = jungo.11.t
	desc = jungo.11.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.11.a
		zmn_support_vrat_3 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}

#религиозн дебафф на -2
country_event = {
	id = jungo.12
	title = jungo.12.t
	desc = jungo.12.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.12.a
		zmn_debaff_vrat_2 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}
#религиозн дебафф на -3
country_event = {
	id = jungo.13
	title = jungo.13.t
	desc = jungo.13.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.13.a
		zmn_debaff_vrat_3 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}
#религиозн дебафф на -4
country_event = {
	id = jungo.14
	title = jungo.14.t
	desc = jungo.14.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.14.a
		zmn_debaff_vrat_4 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}
#религиозн дебафф на -6
country_event = {
	id = jungo.15
	title = jungo.15.t
	desc = jungo.15.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
#		has_government = fascism
#		has_idea = zmn_nebesnye_vrata
	}
	option = {
		name = jungo.15.a
		zmn_debaff_vrat_6 = yes
		hidden_effect = {
			country_event = { id = jungo.8 days = 70 random = 10 }
		}
	}
}

####################################################################################################
####################################################################################################
####################################################################################################
#вопрос недееспособности монарха, нада нового. народ за, немнгого стабки получаем
country_event = {
	id = jungo.16
	title = jungo.16.t
	desc = jungo.16.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.16.a
		add_stability = 0.03
		complete_national_focus = zmn_vopros_nedeesposobnosti
		set_country_flag = zmn_go_go_vubirat
	}
}

# Чжуцюань 
country_event = {
	id = jungo.17
	title = jungo.17.t
	desc = jungo.17.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.17.a	# Династия Чу
		custom_effect_tooltip = jungo.17.a.tt
		ai_chance = {
			base = 1
			modifier = {
				factor = 3000
				has_country_flag = ZMN_CHU_MONARCH_flag
			}
		}		
		country_event = { id = jungo.67 }
		hidden_effect = {
			if = {
				limit = {
					is_guaranteed_by = XNU
				}
				XNU = {
					country_event = { days = 1 id = jungo.64 }
				}
			}
			country_event = { id = jungo.115 days = 95 random = 60 }
		}
	}
	option = {
		name = jungo.17.b	# Династия Юэ
		custom_effect_tooltip = jungo.17.b.tt
		ai_chance = {
			base = 1
			modifier = {
				factor = 3000
				has_country_flag = ZMN_UE_MONARCH_flag
			}
		}		
		country_event = { id = jungo.68 }
		hidden_effect = {
			if = {
				limit = {
					is_guaranteed_by = XNU
				}
				XNU = {
					country_event = { days = 1 id = jungo.64 }
				}
			}
			country_event = { id = jungo.115 days = 95 random = 60 }
		}
	}
	option = {
		name = jungo.17.c	# Династия Шу
		custom_effect_tooltip = jungo.17.c.tt
		ai_chance = {
			base = 1
			modifier = {
				factor = 3000
				has_country_flag = ZMN_SHU_MONARCH_flag
			}
		}		
		country_event = { id = jungo.69 }
		hidden_effect = {
			if = {
				limit = {
					is_guaranteed_by = XNU
				}
				XNU = {
					country_event = { days = 1 id = jungo.64 }
				}
			}
			country_event = { id = jungo.115 days = 95 random = 60 }
		}
	}
	option = {
		name = jungo.17.e	# Династия Мин
		custom_effect_tooltip = jungo.17.e.tt
		ai_chance = {
			base = 1
			modifier = {
				factor = 3000
				has_country_flag = ZMN_MIN_MONARCH_flag
			}
		}		
		country_event = { id = jungo.18 }
		hidden_effect = {
			if = {
				limit = {
					is_guaranteed_by = XNU
				}
				XNU = {
					country_event = { days = 1 id = jungo.64 }
				}
			}
			country_event = { id = jungo.115 days = 95 random = 60 }
		}
	}	
}

#### эвент о том что у власти типератор от династии мин
country_event = {
	id = jungo.18
	title = jungo.18.t
	desc = jungo.18.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.18.a
		set_country_flag = zmn_dinastiya_min_flag
		retire_country_leader = yes
		if = {
			limit = {
				has_idea = zmn_nedeesp_monarch
			}
			remove_ideas = zmn_nedeesp_monarch
		}
		# create_country_leader = {	
			# name = "Mao Dong"
			# desc = "Mao_ddong_deccleader"
			# picture = "Mao_ddong.tga"
			# expire = "2010.1.1"
			# ideology = zmn_chichuan
			# traits = {		
			# }
		# }
		add_country_leader_role = {
			character = "ZMN_mao_dong"
			country_leader = {
				desc = "Mao_ddong_deccleader"
				ideology = zmn_chichuan
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		set_variable = {
			var = zmn_loyality_omniki_var
			value = 60
		}
		set_variable = {
			var = zmn_loyality_vanstva_var
			value = 78
		}
		hidden_effect = {
			country_event = { id = jungo.73 days = 120 random = 6 }
			news_event = { hours = 3 id = ar_news.951 }
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_my_vybrali_respubl_flag
					}	
				}
				country_event = { id = jungo.32 days = 15 random = 6 }
				country_event = { id = jungo.38 days = 30 random = 6 }			
				country_event = { id = jungo.44 days = 80 random = 60 }	
			}
			if = {
				limit = {					
					has_country_flag = zmn_my_vybrali_respubl_flag						
				}
				country_event = { id = jungo.32 days = 112 random = 6 }
				country_event = { id = jungo.38 days = 135 random = 6 }			
				country_event = { id = jungo.44 days = 150 random = 60 }	
			}
		}
	}
}

#### эвент о том что  император от новой династии решает сразу действовать и исправлять последствия экономического кризиса 9совет десяти экономистов)
country_event = {
	id = jungo.19
	title = jungo.19.t
	desc = jungo.19.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.19.a
		add_political_power = 80
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_timed_idea = {
			idea = zmn_sovet_desyati_ekonomistov_buff
			days = 365
		}
	}
}

#### эвент о том что империя всё таки развалилась. за какое ванство пересядем играть?
country_event = {
	id = jungo.20
	title = jungo.20.t
	desc = jungo.20.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.952 }
			if = {
				limit = {
					is_faction_leader = yes
				}
				dismantle_faction = yes
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			if = {
				limit = {
					has_idea = zmn_bezrabot
				}
				remove_ideas = zmn_bezrabot
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			remove_ideas = zmn_nedeesp_monarch
		}
	}
	option = {
		name = jungo.20.a	# Ванство Чу
		ai_chance = {
			base = 2
		}
		custom_effect_tooltip = jungo.20.tt		
		hidden_effect = {
			zmn_vashe_chungo_razvalilos = yes			
		}
		##############
		XCH = {		
			change_tag_from = ZMN			
		}	
		#############
		hidden_effect = {
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
					
		}		
	}
	option = {
		name = jungo.20.b	# Ванство Юэ
		ai_chance = {
			base = 2
		}
		custom_effect_tooltip = jungo.20.tt		
		hidden_effect = {
			zmn_vashe_chungo_razvalilos = yes			
		}
		##############
		ZYU = {		
			change_tag_from = ZMN			
		}	
		#############
		hidden_effect = {
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}			
		}		
	}
	option = {
		name = jungo.20.c	# Ванство Шу
		ai_chance = {
			base = 2
		}	
		custom_effect_tooltip = jungo.20.tt		
		hidden_effect = {
			zmn_vashe_chungo_razvalilos = yes			
		}
		##############
		ZXS = {		
			change_tag_from = ZMN			
		}	
		#############
		hidden_effect = {
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}			
		}
	}
	option = {
		name = jungo.20.e	# Ванство Мин
		ai_chance = {
			base = 2
		}
		custom_effect_tooltip = jungo.20.tt		
		hidden_effect = {
			zmn_vashe_chungo_razvalilos = yes			
		}
		##############
		XMI = {		
			change_tag_from = ZMN			
		}	
		#############
		hidden_effect = {
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}			
		}		
	}
}

#### эвент ZSM кхмерам нейм о том что после развала чунги регион 815 стал наш снова, жители объявили что они тоже кхмеры
country_event = {
	id = jungo.21
	title = jungo.21.t
	desc = jungo.21.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.21.a
		effect_tooltip = {
			transfer_state = 815
		}
		add_stability = 0.01
	}
}

#### эвент ZCC Чампа нейм о том что после развала чунги регион 808 стал наш снова, жители объявили что они тоже чампыблтб
country_event = {
	id = jungo.22
	title = jungo.22.t
	desc = jungo.22.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.22.a
		effect_tooltip = {
			transfer_state = 808
		}
		add_stability = 0.01
	}
}

#### мы выкупаем зерно у населения для того чтобы поднять на него цены
country_event = {
	id = jungo.23
	title = jungo.23.t
	desc = jungo.23.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.23.a
		add_stability = 0.03
	}
}

#### Попытка договориться с республиканцами и рабочими
country_event = {
	id = jungo.24
	title = jungo.24.t
	desc = jungo.24.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.24.a
		add_political_power = 50
	}	
}

#### эвент ZBS дакскун нейм о том что после развала чунги регион 919 стал наш снова, жители объявили что они тоже дакскунцы
country_event = {
	id = jungo.25
	title = jungo.25.t
	desc = jungo.25.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.25.a
		effect_tooltip = {
			transfer_state = 919
		}
		add_stability = 0.01
	}
}

#### эвент ZVJ раджье нейм о том что после развала чунги регион 930 стал наш снова, жители объявили что они тоже индусы или ктотам еще
country_event = {
	id = jungo.26
	title = jungo.26.t
	desc = jungo.26.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.26.a
		effect_tooltip = {
			transfer_state = 930
		}
		add_stability = 0.01
	}
}

#### эвент освободившейся от чунги ZUS сулавеси. в стране напряженность, 
country_event = {
	id = jungo.27
	title = jungo.27.t
	desc = jungo.27.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = neutrality
		has_civil_war = no
	}
	option = {
		name = jungo.27.a
		ai_chance = {
			base = 2
		}
		complete_national_focus = ar_political_choice
		complete_national_focus = ar_konservatism_choice
		add_stability = -0.15
		add_war_support = -0.15
	}
	option = {
		name = jungo.27.b
		ai_chance = {
			base = 2
		}
		set_politics = {
			ruling_party = fascism
		}
		add_popularity = {
			ideology = fascism
			popularity = 0.6
		}
		complete_national_focus = ar_political_choice
		complete_national_focus = ar_paternalism_choice
		start_civil_war = {
			ideology = neutrality
			size = 0.4			
		}
	}
}

#### эвент для ZMZ  Колья что в чикисиме что мы тепереча свободны от чунги, но у нас на юге есть сосед ZPT Араукания. они слабаки и мы можем попытаться на них наехать. +новость 954 если наедем
country_event = {
	id = jungo.28
	title = jungo.28.t
	desc = jungo.28.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject = no
		has_war = no
		is_neighbor_of = ZPT
		ZPT = {
			exists = yes
			is_subject = no
			NOT = {
				is_in_faction_with = ZMZ
				has_war_with = ZMZ
			}
		}
	}
	option = {
		name = jungo.28.a
		ai_chance = {
			base = 20
		}
		every_state = {
			limit = { is_core_of = ZPT }			
			add_claim_by = ZMZ
		}		
		declare_war_on = {
			type = annex_everything
			target = ZPT
		}
		hidden_effect = {
			every_state = {
				limit = { is_core_of = ZMZ }			
				add_claim_by = ZPT
			}
			news_event = { hours = 12 id = ar_news.954 }
		}
	}
	option = {
		name = jungo.28.b
		ai_chance = {
			base = 2
		}
		add_stability = -0.03
		add_war_support = -0.03
	}
}


#### стартовый эвент чунге что монарх то того, нихрена делать не может. опять он что-то не подписал потому что болеет. тут у нас просто эвент, уменьшающий стабку и дающий старт на цепочку событий о замене императора
country_event = {
	id = jungo.29
	title = jungo.29.t
	desc = jungo.29.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.29.a
		add_stability = -0.03
		hidden_effect = {
			country_event = { days = 40 id = jungo.30 }
			country_event = { days = 25 id = jungo.72 }
		}
	}	
}

#### идёт ивент от группы буржуев-либералов что говорят от лица среднего бизнеса в стране и говорят что ты (игрок) скотина последняя. давай что-то меняй говорят! или соглашаемся и в дальнейшем потом проводим выборы или шлем нахрен
country_event = {
	id = jungo.30
	title = jungo.30.t
	desc = jungo.30.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {	# выберем, но потом
		name = jungo.30.a
		ai_chance = {
			base = 2000
			modifier = {
				factor = 0
				has_country_flag = ZMN_UPERTY_MONARCH_flag
			}
		}
		custom_effect_tooltip = jungo.30.a.tt
		hidden_effect = {
			country_event = { days = 45 id = jungo.31 }
		}
	}	
	option = {	# идите в дупу
		name = jungo.30.b
		trigger = {
			is_ai = yes
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 3000
				has_country_flag = ZMN_UPERTY_MONARCH_flag
			}
		}
		custom_effect_tooltip = jungo.30.b.tt
		add_stability = -0.05
	}
	option = {	# vs htcge,kbrf uj
		name = jungo.30.c
		trigger = {
			is_ai = no
		}
		ai_chance = {
			base = 1			
		}
		custom_effect_tooltip = jungo.30.c.tt
		add_stability = -0.05
		set_country_flag = zmn_my_vybrali_respubl_flag		
		hidden_effect = {			
			set_variable = { zmn_politochki_var = 20 }
			set_variable = { zmn_resp_omniki_var = 60 }
			set_variable = { zmn_resp_demokr_var = 40 }
		}
		country_event = { id = jungo.121 }
		if = {
			limit = {
				NOT = {
					has_completed_focus = zmn_army_1
				}
				focus_progress = {
					focus = zmn_army_1
					progress > 0.05
				}
			}
			complete_national_focus = zmn_army_1
		}
		if = {
			limit = {
				NOT = {
					has_completed_focus = zmn_flot_1
				}
				focus_progress = {
					focus = zmn_flot_1
					progress > 0.05
				}
			}
			complete_national_focus = zmn_flot_1
		}
		if = {
			limit = {
				NOT = {
					has_completed_focus = zmn_avia_1
				}
				focus_progress = {
					focus = zmn_avia_1
					progress > 0.05
				}
			}
			complete_national_focus = zmn_avia_1
		}
	}
}

#### предложение от рабочего движения, мол, ты такой секой педик давай нам наши условия работы
country_event = {
	id = jungo.31
	title = jungo.31.t
	desc = jungo.31.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {	#  идем на уступки
		name = jungo.31.a
		ai_chance = {
			base = 200
		}
		add_stability = -0.02
		add_popularity = {
			ideology = communism
			popularity = 0.1
		}
		hidden_effect = {
			country_event = { days = 45 id = jungo.16 }
		}
	}	
	option = {	# хрен вам, разогнать их
		name = jungo.31.b
		ai_chance = {
			base = 1
		}
		add_stability = -0.02
		add_popularity = {
			ideology = democratic
			popularity = -0.1
		}
		custom_effect_tooltip = jungo.31.b.tt
		set_country_flag = zmn_razognali_omnikov_flag	#  для минь
		add_to_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 1 }	# для Юэ и Чу		
		hidden_effect = {
			country_event = { days = 45 id = jungo.16 }
		}
	}
}
################################################################################################################################################
country_event = { #для мин, ляльности омников 
	id = jungo.32
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	immediate = {
		random_list = {
			47 = { 
				modifier = {
					check_variable = { zmn_loyality_omniki_var > 45 }
					factor = 1.2
				}	
				modifier = {
					has_country_flag = zmn_razognali_omnikov_flag
					factor = 1.1
				}
				modifier = {
					has_stability < 0.4
					factor = 1.28
				}
				modifier = {
					check_variable = { zmn_loyality_vanstva_var > 55 }
					factor = 1.1
				}
				modifier = {
					OR = {
						has_idea = zmn_finans_kriz
						has_idea = zmn_finans_kriz_mery_min
					}
					factor = 1.1
				}
				country_event = { id = jungo.34 days = 12 random = 10 } # небольшое снижение лояльнсоти омников
			}
			36 = { 
				modifier = {
					check_variable = { zmn_loyality_omniki_var > 60 }
					factor = 1.1
				}	
				modifier = {
					check_variable = { zmn_loyality_omniki_var < 30 }
					factor = 0.5
				}
				modifier = {
					has_country_flag = zmn_razognali_omnikov_flag
					factor = 1.1
				}
				modifier = {
					OR = {
						has_idea = zmn_finans_kriz
						has_idea = zmn_finans_kriz_mery_min
					}
					factor = 1.1
				}
				country_event = { id = jungo.35 days = 12 random = 20 } # большое снижение лояльнсоти омников
			}
			22 = { 
				modifier = {
					check_variable = { zmn_loyality_omniki_var < 45 }
					factor = 1.2
				}	
				modifier = {
					date > 1988.08.08
					factor = 1.2
				}
				modifier = {
					date > 1989.06.06
					factor = 1.25
				}
				modifier = {
					has_stability > 0.65
					factor = 1.21
				}
				modifier = {
					has_available_idea_with_traits = { idea = zmn_loyalist limit = 1 }
					factor = 1.2
				}
				country_event = { id = jungo.36 days = 12 random = 20 } # небольшое прирост лояльнсоти омников
			}
			22 = { 
				modifier = {
					check_variable = { zmn_loyality_omniki_var < 20 }
					factor = 1.21
				}
				modifier = {
					date > 1989.08.08
					factor = 1.2
				}
				modifier = {
					has_available_idea_with_traits = { idea = zmn_loyalist limit = 1 }
					factor = 1.2
				}
				country_event = { id = jungo.37 days = 12 random = 20 } # большое прирост лояльнсоти омников
			}
			0 = { 
				modifier = {
					has_defensive_war = yes
					add = 800
				}				
				country_event = { id = jungo.33 days = 80 random = 20 } # эвент пустышка если has_defensive_war = yes
			}				
		}
	}
}

#### эвент пустышка если has_defensive_war = yes
country_event = {
	id = jungo.33
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	immediate = {
		country_event = { id = jungo.32 days = 80 random = 10 }
	}		
}

#### эвент. мин. мы теряем немного лояльности от омников
country_event = {
	id = jungo.34
	title = jungo.34.t
	desc = jungo.34.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	option = {
		name = jungo.34.a
		zmn_loyality_omniki_minus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.32 days = 14 random = 10 }
		}
	}	
}

#### эвент. мин. мы теряем много лояльности от омников
country_event = {
	id = jungo.35
	title = jungo.35.t
	desc = jungo.35.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	option = {
		name = jungo.35.a
		zmn_loyality_omniki_minus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.32 days = 14 random = 10 }
		}
	}	
}

#### эвент. мин. прирост лояльности от омников
country_event = {
	id = jungo.36
	title = jungo.36.t
	desc = jungo.36.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	option = {
		name = jungo.36.a
		zmn_loyality_omniki_plus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.32 days = 13 random = 10 }
		}
	}	
}

#### эвент. мин. прирост лояльности от омников
country_event = {
	id = jungo.37
	title = jungo.37.t
	desc = jungo.37.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {			
			has_country_flag = zmn_kompromiss_s_omnikami_flag
		}
	}
	option = {
		name = jungo.37.a
		zmn_loyality_omniki_plus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.32 days = 13 random = 10 }
		}
	}	
}
####################################################################################################################################
country_event = { #для мин, ляльности ванств 
	id = jungo.38
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag			
		}
	}
	immediate = {
		random_list = {
			46 = { 
				modifier = {
					check_variable = { zmn_loyality_vanstva_var > 50 }
					factor = 1.15
				}	
				modifier = {
					has_country_flag = zmn_ustupki_omnikami_flag
					factor = 1.15
				}
				modifier = {
					has_stability < 0.5
					factor = 1.22
				}
				modifier = {
					check_variable = { zmn_loyality_omniki_var > 65 }
					factor = 1.1
				}	
				modifier = {
					OR = {
						has_idea = zmn_finans_kriz
						has_idea = zmn_finans_kriz_mery_min
					}
					factor = 1.1
				}
				country_event = { id = jungo.40 days = 12 random = 10 } # небольшое снижение лояльнсоти ванств
			}
			37 = { 
				modifier = {
					check_variable = { zmn_loyality_vanstva_var > 80 }
					factor = 1.1
				}	
				modifier = {
					check_variable = { zmn_loyality_vanstva_var < 50 }
					factor = 0.5
				}
				modifier = {
					has_country_flag = zmn_ustupki_omnikami_flag
					factor = 1.1
				}
				modifier = {
					OR = {
						has_idea = zmn_finans_kriz
						has_idea = zmn_finans_kriz_mery_min
					}
					factor = 1.1
				}
				country_event = { id = jungo.41 days = 12 random = 20 } # большое снижение лояльнсоти ванств
			}
			37 = { 
				modifier = {
					check_variable = { zmn_loyality_vanstva_var < 25 }
					factor = 1.3
				}				
				modifier = {
					date > 1989.06.06
					factor = 1.2
				}
				modifier = {
					has_stability > 0.65
					factor = 1.2
				}
				modifier = {
					has_available_idea_with_traits = { idea = zmn_loyalist limit = 1 }
					factor = 1.2
				}
				country_event = { id = jungo.42 days = 12 random = 10 } # небольшое прирост лояльнсоти ванств
			}
			20 = { 
				modifier = {
					check_variable = { zmn_loyality_vanstva_var < 15 }
					factor = 1.4
				}
				modifier = {
					date > 1990.07.07
					factor = 1.2
				}
				modifier = {
					has_available_idea_with_traits = { idea = zmn_loyalist limit = 1 }
					factor = 1.2
				}
				country_event = { id = jungo.43 days = 12 random = 10 } # большое прирост лояльнсоти ванств
			}
			0 = { 
				modifier = {
					has_defensive_war = yes
					add = 800
				}				
				country_event = { id = jungo.39 days = 80 random = 20 } # эвент пустышка если has_defensive_war = yes
			}				
		}
	}
}

#### эвент пустышка если has_defensive_war = yes
country_event = {
	id = jungo.39
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag			
		}
	}
	immediate = {
		country_event = { id = jungo.38 days = 80 random = 10 }
	}		
}

#### эвент. мин. мы теряем немного лояльности от ванств
country_event = {
	id = jungo.40
	title = jungo.40.t
	desc = jungo.40.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag			
		}
	}
	option = {
		name = jungo.40.a
		zmn_loyality_vanstva_minus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.38 days = 16 random = 10 }
		}
	}	
}

#### эвент. мин. мы теряем много лояльности от ванств
country_event = {
	id = jungo.41
	title = jungo.41.t
	desc = jungo.41.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag			
		}
	}
	option = {
		name = jungo.41.a
		zmn_loyality_vanstva_minus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.38 days = 16 random = 10 }
		}
	}	
}

#### эвент. мин. мы получаем  немного лояльности от ванств
country_event = {
	id = jungo.42
	title = jungo.42.t
	desc = jungo.42.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag			
		}
	}
	option = {
		name = jungo.42.a
		zmn_loyality_vanstva_plus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.38 days = 16 random = 10 }
		}
	}	
}

#### эвент. мин. мы получаем  много лояльности от ванств
country_event = {
	id = jungo.43
	title = jungo.43.t
	desc = jungo.43.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_kompromiss_s_vanstvami_flag
		}
	}
	option = {
		name = jungo.43.a
		zmn_loyality_vanstva_plus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.38 days = 16 random = 10 }
		}
	}	
}
#######################################################################################################################
country_event = { #скрытая чекалка на состояние в стране. чем меньге ляльность тем выше шанс восстания
	id = jungo.44
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_min_malatsa
			has_country_flag = zmn_polimery_pohereny_flag
		}
	}
	immediate = {
		random_list = {
			0 = { 
				modifier = {
					check_variable = { zmn_loyality_omniki_var < 10 }
					add = 100
				}	
				modifier = {
					check_variable = { zmn_loyality_omniki_var < 15 }
					add = 50
				}
				modifier = {
					has_country_flag = zmn_kompromiss_s_omnikami_flag
					factor = 0
				}
				modifier = {
					has_defensive_war = yes
					factor = 0
				}
				modifier = {
					country_exists = ZRE
					factor = 0
				}
				modifier = {					
					has_country_flag = zmn_my_vybrali_respubl_2_flag
					factor = 0
				}
				country_event = { id = jungo.46 } # восстание омников
			}
			0 = { 
				modifier = {
					check_variable = { zmn_loyality_vanstva_var < 10 }
					add = 100
				}
				modifier = {
					check_variable = { zmn_loyality_vanstva_var < 15 }
					add = 50
				}
				modifier = {
					has_country_flag = zmn_kompromiss_s_vanstvami_flag
					factor = 0
				}
				modifier = {
					has_defensive_war = yes
					factor = 0
				}
				modifier = {
					country_exists = ZRE
					factor = 0
				}
				country_event = { id = jungo.47 } # развал на ванства
			}	
			50 = { 
				modifier = {
					has_stability > 0.5
					factor = 1.5
				}				
				country_event = { id = jungo.45 days = 27 random = 20 } # эвент кольцо
			}
			50 = { 
				modifier = {
					has_war_support > 0.6
					factor = 1.5
				}				
				country_event = { id = jungo.45 days = 25 random = 20 } # эвент кольцо
			}
			0 = { 
				modifier = {
					has_defensive_war = yes
					add = 800
				}				
				country_event = { id = jungo.45 days = 80 random = 20 } # эвент пустышка кольцо
			}				
		}
	}
}

#### эвент пустышка кольцо
country_event = {
	id = jungo.45
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_min_malatsa
			has_country_flag = zmn_polimery_pohereny_flag
		}	
	}
	immediate = {
		country_event = { id = jungo.44 days = 20 random = 10 }
	}		
}

#### восстание омников по лояльности +новость 959
country_event = {
	id = jungo.46
	title = jungo.46.t
	desc = jungo.46.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {	# Минь
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_min_malatsa
			has_country_flag = zmn_polimery_pohereny_flag
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
	}
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			set_country_flag = zmn_polimery_pohereny_flag
			set_country_flag = zmn_omniki_vosstali_min_flag
			1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}	
			transfer_units_fraction = {
				target = ZRE
				size = 0.5 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.5
				army_ratio = 0.5
				navy_ratio = 0.5
				air_ratio = 0.5
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}	
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			ZRE = {
				### установить политику, по умолчани. они омники
				### дать фокусы доступные омникам открытыми
				inherit_technology = ZMN
				complete_national_focus = zre_sotsialistik_resp
				set_stability = 0.4
				set_war_support = 0.8
				add_political_power = 450
#				load_oob = "ZRE_revolt"
				load_oob = "ZRE_rebel_militia"
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					if = {
						limit = {
							ZMN = {
								is_ai = yes
							}
							ZRE = {
								is_ai = yes
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN	
#				declare_war_on = {
#					type = annex_everything
#					target = ZMN
#				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1578
					producer = ZMN
				}				
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1300
				}
				add_ideas = zre_vnutrennye_vspysk_kontrevol	 # Внутренние вспышки контрреволюции
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 15 id = jungo.297 }
			}			
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			country_event = { days = 15 id = jungo.296 }
			news_event = { hours = 3 id = ar_news.959 }
		}
	}
	option = {
		name = jungo.46.a	
		ai_chance = {
			base = 2000			
		}
		custom_effect_tooltip = jungo.46.a.tt 		
	}	
}

####  развал на ванства, по лояльности, мы мин +новость 955
country_event = {
	id = jungo.47
	title = jungo.47.t
	desc = jungo.47.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_min_malatsa
			has_country_flag = zmn_polimery_pohereny_flag
		}
	}
	immediate = {
		hidden_effect = {
			set_country_flag = zmn_polimery_pohereny_flag
			zmn_vashe_chungo_razvalilos = yes			
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			XMI = {		
				change_tag_from = ZMN			
			}
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			news_event = { hours = 3 id = ar_news.955 }
		}
	}
	option = {
		name = jungo.47.a	
		custom_effect_tooltip = jungo.47.tt		
		effect_tooltip = {
			XMI = {		
				change_tag_from = ZMN			
			}
		}			
	}	
}

#### эвент Говорим по радио с народом и сообщаем что мы готовы к решительным мерам для предотвращения более губительных последствий кризиса. даем стабку и лояльность всех
country_event = {
	id = jungo.48
	title = jungo.48.t
	desc = jungo.48.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.48.a		
		add_stability = 0.05
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
	}
}

#### эвент стране-колонии чунго (не синьки) о том что та предлагает в качестве меры погашения своих долгов попытаться нам самим выкупитьс вою независимость. Это недешево, 200 политочков так то. Сможем? потянем?
country_event = {
	id = jungo.49
	title = jungo.49.t
	desc = jungo.49.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.49.a
		trigger = {
			has_political_power > 40
		}		
		ai_chance = {
			base = 30
		}
		add_political_power = -150
		drop_cosmetic_tag = yes	
		ZMN = { 
			effect_tooltip = {
				add_political_power = 150
			}			
			set_autonomy = { target = ROOT autonomy_state = autonomy_free }
			hidden_effect = {
				add_to_variable  = { zmn_denejek_ot_prodajy_zemel_var = 150 }
			}
			country_event = { hours = 5 id = jungo.50 }
		}
	}
	option = {
		name = jungo.49.a		
		ai_chance = {
			base = 3
		}
	}
}

#### эвент о том что колония FROM нейм сумела выкупить свою независимость. они добавили к нам в казну 200 политотчокв
country_event = {
	id = jungo.50
	title = jungo.50.t
	desc = jungo.50.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.50.a		
		add_political_power = 150
	}
}

#### эвент чунге о том что вот мы попродавали земли некоторые и каков результат? (тут фишка такая - чем больше земель мы продали тем быстрее выйдем из кризиса, но тем сильнее будут недовольны ванства, типа казенные земли разбазариваем! мы бы так не делали!
country_event = {
	id = jungo.51
	title = jungo.51.t
	desc = jungo.51.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		custom_effect_tooltip = jungo.51.tt
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 100 }				
			}
			custom_effect_tooltip = jungo.51.2.tt			
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 100 }	
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 200 }		
			}
			custom_effect_tooltip = jungo.51.3.tt
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.956 }
				set_country_flag = zmn_prodali_kolonii_flag
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 200 }	
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 400 }	
			}
			custom_effect_tooltip = jungo.51.4.tt
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.956 }
				set_country_flag = zmn_prodali_kolonii_flag
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 400 }					
			}
			custom_effect_tooltip = jungo.51.5.tt
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.956 }
				set_country_flag = zmn_prodali_kolonii_flag
			}
		}
	}
	option = {
		name = jungo.51.a		
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 100 }				
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}
			add_timed_idea = {
				idea = zmn_finans_kriz_mery_min_vykhod
				days = 365
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_minus_1 = yes
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 100 }	
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 200 }		
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_zaem_deneg_inostr_mery_min
				}
				remove_ideas = zmn_zaem_deneg_inostr_mery_min
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}
			add_timed_idea = {
				idea = zmn_finans_kriz_mery_min_vykhod
				days = 270
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_2 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_minus_2 = yes
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 200 }	
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 400 }	
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_zaem_deneg_inostr_mery_min
				}
				remove_ideas = zmn_zaem_deneg_inostr_mery_min
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}
			add_timed_idea = {
				idea = zmn_finans_kriz_mery_min_vykhod
				days = 120
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_2 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_minus_2 = yes
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 400 }					
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_zaem_deneg_inostr_mery_min
				}
				remove_ideas = zmn_zaem_deneg_inostr_mery_min
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}			
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_2 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_minus_2 = yes
			}
		}
	}
}

#### эвент о том ряд каких то бизнесменов бейистов выкупили островные земли в великом океане. это какие то совсем крошечные отсрова для личных нужд, ничего серьезного, но в казну прилетело 50 пп
country_event = {
	id = jungo.52
	title = jungo.52.t
	desc = jungo.52.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.52.a	
		hidden_effect = {
			add_to_variable  = { zmn_denejek_ot_prodajy_zemel_var = 50 }
		}	
		add_political_power = 50		
	}
}

#### эвент стране-колонии чунго синьке!!! о том что та предлагает в качестве меры погашения своих долгов попытаться нам самим выкупитьс вою независимость. Это дешево, 200 политочков так то. Сможем? потянем?
country_event = {
	id = jungo.53
	title = jungo.53.t
	desc = jungo.53.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.53.a	
		trigger = {
			NOT = {
				has_idea = zth_fond_dlya_min
			}	
		}	
		ai_chance = {
			base = 100
		}
		add_political_power = -200
		drop_cosmetic_tag = yes	
		add_stability = -0.05
		add_war_support = -0.05
		ZMN = { 			
			set_autonomy = { target = ROOT autonomy_state = autonomy_free }
			hidden_effect = {				
				add_to_variable  = { zmn_denejek_ot_prodajy_zemel_var = 200 }
			}
			country_event = { hours = 5 id = jungo.54 }
		}
		country_event = { id = sinka.1 }
	}
	option = {
		name = jungo.53.c	
		trigger = {
			has_idea = zth_fond_dlya_min
		}		
		ai_chance = {
			base = 200
		}
		remove_ideas = zth_fond_dlya_min
		drop_cosmetic_tag = yes	
		ZMN = { 			
			set_autonomy = { target = ROOT autonomy_state = autonomy_free }
			hidden_effect = {				
				add_to_variable  = { zmn_denejek_ot_prodajy_zemel_var = 200 }
			}
			country_event = { hours = 5 id = jungo.54 }
		}
		country_event = { id = sinka.1 }
	}
	option = {
		name = jungo.53.a		
		ai_chance = {
			base = 2
		}
	}
}

#### эвент о том синька выкупила свою независимость. эээ, ну ок, зато денег много дали (откуда они у них)
country_event = {
	id = jungo.54
	title = jungo.54.t
	desc = jungo.54.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.54.a			
		add_political_power = 250
		if = {
			limit = {
				NOT = {
					has_country_flag = zmn_kompromiss_s_vanstvami_flag
				}
			}			
			zmn_loyality_vanstva_minus_1 = yes
		}
	}
}

country_event = { #скрытый эвент на то кто распустит свои армии
	id = jungo.55
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}
		NOT = {
			has_country_flag = zmn_min_malatsa
			has_country_flag = zmn_polimery_pohereny_flag
		}
		chungo_is_massivv_trigger = yes
	}
	immediate = {
		random_list = {
			0 = { 
				modifier = {
					has_template = "Zhuangjia Shi"	# танки фанатиков-консервов Чу XCH
					add = 20
				}				
				if = {
					limit = {
						NOT = {
							has_template = "Houbei Dui"
						}
					}
					division_template = {
						name = "Houbei Dui"					
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}
						priority = 0
					}
				}				
				country_event = { id = jungo.56 }
			}	
			0 = { 
				modifier = {
					has_template = "Bubing Shi"	# это пусть будут вояки Шу 	ZXS
					add = 10
				}
				if = {
					limit = {
						NOT = {
							has_template = "Houbei Dui"
						}
					}
					division_template = {
						name = "Houbei Dui"					
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}
						priority = 0
					}
				}				
				country_event = { id = jungo.57 }
			}
			0 = { 
				modifier = {
					has_template = "Jidong Shi"	# мотопехота иператора старика из Юэ  ZYU
					add = 22
				}
				if = {
					limit = {
						NOT = {
							has_template = "Houbei Dui"
						}
					}
					division_template = {
						name = "Houbei Dui"					
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}
						priority = 0
					}
				}	
				country_event = { id = jungo.58 }
			}
			0 = { 
				modifier = {
					has_template = "Shandi Shi"	# горняки фанатиков-консервов Чу XCH
					add = 22
				}
				if = {
					limit = {
						NOT = {
							has_template = "Houbei Dui"
						}
					}
					division_template = {
						name = "Houbei Dui"					
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}
						priority = 0
					}
				}	
				country_event = { id = jungo.59 }
			}
			0 = { 
				modifier = {
					NOT = {
						has_template = "Zhuangjia Shi"
						has_template = "Bubing Shi"
						has_template = "Jidong Shi"
						has_template = "Shandi Shi"	
					}
					add = 200
				}				
				army_experience = 1
			}
		}
	}
}

#### эвент о том консервы Чу  не очень то довольны нашими всякими шутками, они сказали что расформировывают свою армию. вот так вот, танков нема.
country_event = {
	id = jungo.56
	title = jungo.56.t
	desc = jungo.56.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Zhuangjia Shi"
	}
	option = {
		name = jungo.56.a				
		delete_unit_template_and_units = {
			division_template = "Zhuangjia Shi"
		}			
	}
}

#### эвент о том вояки Шу  не очень то довольны нашими всякими шутками, они сказали что расформировывают свою армию. вот так вот, это очень плохо, пехотка бай бай.
country_event = {
	id = jungo.57
	title = jungo.57.t
	desc = jungo.57.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Bubing Shi"
	}
	option = {
		name = jungo.57.a			
		delete_unit_template_and_units = {
			division_template = "Bubing Shi"
		}				
	}
}

## эвент о том Юэ  не очень то довольны нашими всякими шутками, императора ихнего отстранили от власти, да сынке не передали. они сказали что расформировывают свою армию. теперь у нас нет мотопехоты
country_event = {
	id = jungo.58
	title = jungo.58.t
	desc = jungo.58.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Jidong Shi"
	}
	option = {
		name = jungo.58.a			
		delete_unit_template_and_units = {
			division_template = "Jidong Shi"
		}		
	}
}

##### эвент о том что фанатиков-консервов Чу  не очень то довольны нашими всякими шутками, и они сказали что расформировывают свою армию. теперь у нас нет горнострелков
country_event = {
	id = jungo.59
	title = jungo.59.t
	desc = jungo.59.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Shandi Shi"
	}
	option = {
		name = jungo.59.a			
		delete_unit_template_and_units = {
			division_template = "Shandi Shi"
		}		
	}
}

##### эвент о том император от Мин вывел страну из кризиса. от какой молодец! все страшные баффы уходят, но на самом деле есть еще возможность получить восстание либо ванств либо омников, хоть и не большое
country_event = {
	id = jungo.60
	title = jungo.60.t
	desc = jungo.60.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.60.a			
		add_political_power = 50
		add_stability = 0.02
		add_war_support = 0.02	
		hidden_effect = {
			country_event = { id = jungo.61 days = 180 random = 60 }
		}
	}
}
######################################################################################
country_event = { #скрытый эвент на какойнить переворот и революшн после выхода из кризиса!
	id = jungo.61
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_mao_dong
			ruling_only = yes
		}		
		chungo_is_massivv_trigger = yes
		has_civil_war = no
		NOT = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
	}
	immediate = {			
		if = {
			limit = {
				has_country_flag = zmn_prodali_kolonii_flag 
			}
			random_list = {
				20 = { 
					modifier = {
						has_stability < 0.5
						factor = 1.8
					}					
					country_event = { id = jungo.70 }	#bad
				}
				80 = {
					country_event = { id = jungo.76 }	# good
				}
			}			
		}
		if = {
			limit = {
				has_country_flag = zmn_fanatiki_min_zlye_flag 
			}
			random_list = {
				20 = { 
					modifier = {
						has_stability < 0.5
						factor = 1.8
					}
					country_event = { id = jungo.71 }	#bad
				}
				80 = {
					country_event = { id = jungo.77 }	#good
				}
			}			
		}
	}
}

##### эвент о том что некоторые политики не довольны тем что мы ранее продали наши земли. генерал нейм от Шу, которому мы обязательно йнадём портрет, поднял восстание! говорит точ накажет за просранные земли и колонии. + новость 957 об этом
country_event = {
	id = jungo.62
	title = jungo.62.t
	desc = jungo.62.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
		has_civil_war = no
	}	
	immediate = {
		hidden_effect = {
			set_cosmetic_tag = ZMN_MINWARL			
			news_event = { hours = 3 id = ar_news.957 }
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var < 360 }
			}
			start_civil_war = {
				ideology = fascism
				size = 0.4
				capital = 1106	# подумать 
				states = { 1106 1105 595 1111 593 1125 1112 600 620 602 1124 }
				states_filter = {
					owner = { original_tag = ZMN }									
				}
			}
		}
		if = {
			limit = {
				check_variable = { zmn_denejek_ot_prodajy_zemel_var > 360 }
			}
			start_civil_war = {
				ideology = fascism
				size = 0.6
				capital = 1106
				states = { 1106 1105 595 1111 593 1125 1112 600 620 602 }
				states_filter = {
					owner = { original_tag = ZMN }									
				}
			}
		}
	}
	option = {
		name = jungo.62.a
		effect_tooltip = {
			start_civil_war = {
				ideology = fascism
				size = 0.6
				capital = 1106				
				states_filter = {
					owner = { original_tag = ZMN }									
				}
			}
		}		
	}
}

##### эвент о том что у нас фанатики восстали бл. +новость 958
country_event = {
	id = jungo.63
	title = jungo.63.t
	desc = jungo.63.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
		NOT = {
			country_exists = ZVR
		}
	}	
	immediate = {
		hidden_effect = {
			1106 = {
				add_core_of = ZVR
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZVR = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZVR = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZVR = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZVR = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZVR = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}
			transfer_units_fraction = {
				target = ZVR
				size = 0.35 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.35
				army_ratio = 0.35
				navy_ratio = 0.35
				air_ratio = 0.35
				# keep_unit_leaders = {
				
				# }
				# keep_unit_leaders_trigger = {
				
				# }
			}
			add_ai_strategy = {
				type = conquer
				id = ZVR
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZVR
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZVR
				add_claim_by = ZVR
			}
			every_state = {
				limit = { is_controlled_by = ZVR }				
				add_claim_by = ZMN
			}
			ZVR = {				
				add_stability = 0.1
				add_war_support = 0.15
				add_political_power = 450				
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}								
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2895
					producer = ZMN
				}
			}
		}
	}
	option = {
		name = jungo.63.a				
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.958 }
		}		
		# start_civil_war = {
			# ideology = neutrality
			# size = 0.5
			# capital = 1106
			# states = { 1120 603 751 1127 599 594 1107 1116 748 }
			# states_filter = {
				# owner = { original_tag = ZMN }									
			# }
		# }		
	}
}

##### эвент для Ву. в соседней Чжунго были выборы нового императора, а мы их гарантили, точнее гарантили старого императора. Как говорится - Договорённости у нас были с Баоцзи, а вы хуи с горы, идите нахуй, теперь по новой будем с вами отношения выстраивать
country_event = {
	id = jungo.64
	title = jungo.64.t
	desc = jungo.64.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.64.a			
		ai_chance = {
			base = 200
		}
		diplomatic_relation = {
			country = ZMN
			relation = guarantee
			active = no
		}
		ZMN = {
			country_event = { id = jungo.65 }
		}
	}
	option = {
		name = jungo.64.b			
		ai_chance = {
			base = 1
		}
	}
}

##### эвент для для нового императора Чжунго о том что Ву отозвало гарантии.
country_event = {
	id = jungo.65
	title = jungo.65.t
	desc = jungo.65.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.65.a			
		ai_chance = {
			base = 2
		}
		hidden_effect = {
			country_event = { days = 5 id = jungo.117 }
		}
	}
	option = {
		name = jungo.65.b
		trigger = {
			has_guaranteed = XNU
		}		
		ai_chance = {
			base = 100
		}
		diplomatic_relation = {
			country = XNU
			relation = guarantee
			active = no
		}
		XNU = {
			country_event = { id = jungo.66 }
		}
		hidden_effect = {
			country_event = { days = 5 id = jungo.117 }
		}
	}
}

##### эвент для Ву о том что Чжунго так же отозвало свои гарантии в отношении нас
country_event = {
	id = jungo.66
	title = jungo.66.t
	desc = jungo.66.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.66.a				
	}
}	

#### эвент о том что у власти типератор от династии Чу +новость 960
country_event = {
	id = jungo.67
	title = jungo.67.t
	desc = jungo.67.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.67.a
		set_country_flag = zmn_dinastiya_chu_flag
		retire_country_leader = yes
		if = {
			limit = {
				has_idea = zmn_nedeesp_monarch
			}
			remove_ideas = zmn_nedeesp_monarch
		}
		# create_country_leader = {	
			# name = "Luo Jiahao"
			# desc = "Luo_jiahao_declead"
			# picture = "Luo_jiahao.tga"
			# expire = "2010.1.1"
			# ideology = zmn_chichuan
			# traits = {		
			# }
		# }
		add_country_leader_role = {
			character = "ZMN_luo_jiahao"
			country_leader = {
				desc = "Luo_jiahao_declead"
				ideology = zmn_chichuan
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.960 }	
			country_event = { id = jungo.118 days = 25 random = 30 }
#			country_event = { id = jungo.341 days = 10 random = 30 }
		}
	}
}

#### эвент о том что у власти типератор от династии Юэ  +новость 961
country_event = {
	id = jungo.68
	title = jungo.68.t
	desc = jungo.68.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.68.a
		set_country_flag = zmn_dinastiya_ue_flag
		retire_country_leader = yes
		if = {
			limit = {
				has_idea = zmn_nedeesp_monarch
			}
			remove_ideas = zmn_nedeesp_monarch
		}
		# create_country_leader = {	
			# name = "Bao Duan"
			# desc = "Bao_duan_declead"
			# picture = "Bao_duan.tga"
			# expire = "2010.1.1"
			# ideology = zmn_chichuan
			# traits = {		
			# }
		# }	
		add_country_leader_role = {
			character = "ZMN_bao_duan"
			country_leader = {
				desc = "Bao_duan_declead"
				ideology = zmn_chichuan
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		hidden_effect = {
			country_event = { id = jungo.73 days = 130 random = 6 }
			news_event = { hours = 3 id = ar_news.961 }	
			country_event = { id = jungo.118 days = 25 random = 30 }	
		}
	}
}

#### эвент о том что у власти типератор от династии Шу  +новость 962
country_event = {
	id = jungo.69
	title = jungo.69.t
	desc = jungo.69.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = jungo.69.a
		set_country_flag = zmn_dinastiya_shu_flag
		retire_country_leader = yes
		if = {
			limit = {
				has_idea = zmn_nedeesp_monarch
			}
			remove_ideas = zmn_nedeesp_monarch
		}
		# create_country_leader = {	
			# name = "Xian Zhou"
			# desc = "Xian_zhou_decleader"
			# picture = "Xian_zzhou.tga"
			# expire = "2010.1.1"
			# ideology = zmn_chichuan
			# traits = {		
			# }
		# }
		add_country_leader_role = {
			character = "ZMN_xian_zhou"
			country_leader = {
				desc = "Xian_zhou_decleader"
				ideology = zmn_chichuan
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		hidden_effect = {
			country_event = { id = jungo.73 days = 90 random = 6 }
			news_event = { hours = 3 id = ar_news.962 }			
		}
	}
}

##### О том что Ванство Шу заявила что потеряла связь со своей армией которая там где-то в горах тусила А когда пришла проверка тех мест - выяснилось что склады с оружием пусты
country_event = {
	id = jungo.70
	title = jungo.70.t
	desc = jungo.70.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.70.a	
		add_war_support = -0.03	
		hidden_effect = {
			country_event = { id = jungo.62 days = 7 random = 6 }
		}
	}
}

##### 
country_event = {
	id = jungo.71
	title = jungo.71.t
	desc = jungo.71.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.71.a	
		add_war_support = -0.03	
		add_stability = -0.01
		hidden_effect = {
			country_event = { id = jungo.63 days = 7 random = 6 }
		}
	}
}

##### фанатики
country_event = {
	id = jungo.72
	title = jungo.72.t
	desc = jungo.72.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.72.a			
		add_stability = -0.02		
	}
}

##### фанатики гадят
country_event = {
	id = jungo.73
	title = jungo.73.t
	desc = jungo.73.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.73.a
		add_stability = -0.01	
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 1 }
		}	
	}
}

##### банкротилось предприятие гражданское
country_event = {
	id = jungo.74
	title = jungo.74.t
	desc = jungo.74.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.74.a	
		add_stability = -0.01
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 1 }
		}
		add_political_power = -20
		if = {
			limit = {
				has_completed_focus = zmn_dinastiya_min		# в зависимости от веток разные направления		
				NOT = {
					has_country_flag = zmn_kompromiss_s_omnikami_flag
				}
			}
			zmn_loyality_omniki_minus_1 = yes			
		}
	}
}

##### банкротилось предприятие военное
country_event = {
	id = jungo.75
	title = jungo.75.t
	desc = jungo.75.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.75.a	
		add_war_support = -0.01
		random_owned_controlled_state = {
			limit = {
				arms_factory > 1								
			}
			remove_building = { type = arms_factory level = 1 }
		}
		add_political_power = -20
		if = {
			limit = {
				has_completed_focus = zmn_dinastiya_min		# в зависимости от веток разные направления		
				NOT = {
					has_country_flag = zmn_kompromiss_s_omnikami_flag
				}
			}
			zmn_loyality_omniki_minus_1 = yes			
		}
	}
}

##### эвент о том что поймали последних незаконных омников-террористов. теперь восстание стране не грозит
country_event = {
	id = jungo.76
	title = jungo.76.t
	desc = jungo.76.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.76.a	
		add_stability = 0.01
		add_political_power = 30
		hidden_effect = {
			country_event = { days = 80 id = jungo.95 }
		}
	}
}

##### эвент о том что поймали последних незаконных фанатиков-террористов. теперь восстание стране не грозит
country_event = {
	id = jungo.77
	title = jungo.77.t
	desc = jungo.77.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.77.a	
		add_stability = 0.01
		add_political_power = 30
		hidden_effect = {
			country_event = { days = 80 id = jungo.95 }
		}		
	}
}
###############################
###############################
###############################
##### эвент о том что Сянь Чжоу от Шу принимает свой первый закон. Он достаточно жёсткий и вводит ограничения для народа и прочей буржуазии, Новый иператор хочет прижать их силой. Это не нравится ванам, они поняли что не того императора выбрали. Теряем стабку и даём завязку к развалу страны
country_event = {
	id = jungo.78
	title = jungo.78.t
	desc = jungo.78.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.78.a	
		add_stability = -0.05
		hidden_effect = {
			country_event = { id = jungo.165 days = 45 random = 45 }
		}
	}
}

#### эвент о том консервы Чу ошалели от мер Сянь Чжоу, они сказали что расформировывают свою армию. вот так вот, танков нема.
country_event = {
	id = jungo.79
	title = jungo.79.t
	desc = jungo.79.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Zhuangjia Shi"
	}
	option = {
		name = jungo.79.a	
		hidden_effect = {	
			if = {
				limit = {
					NOT = {
						has_template = "Houbei Dui"
					}
				}
				division_template = {
					name = "Houbei Dui"					
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
					priority = 0
				}
			}
		}
		delete_unit_template_and_units = {
			division_template = "Zhuangjia Shi"
		}	
		add_opinion_modifier = {
			target = XCH
			modifier = predateliiiiiii
		}
	}
}

#### эвент о том Юэ  ошалели от мер Сянь Чжоу. они сказали что расформировывают свою армию. теперь у нас нет мотопехоты
country_event = {
	id = jungo.80
	title = jungo.80.t
	desc = jungo.80.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_template = "Jidong Shi"
	}
	option = {
		name = jungo.80.a	
		hidden_effect = {	
			if = {
				limit = {
					NOT = {
						has_template = "Houbei Dui"
					}
				}
				division_template = {
					name = "Houbei Dui"					
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
					priority = 0
				}
			}
		}
		delete_unit_template_and_units = {
			division_template = "Jidong Shi"
		}
		add_opinion_modifier = {
			target = ZYU
			modifier = predateliiiiiii
		}
	}
}

###### Политика умиротворения общества
country_event = {
	id = jungo.81
	title = jungo.81.t
	desc = jungo.81.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.81.a	
		add_stability = -0.05				
	}
}

###### Арест лидеров недовольства
country_event = {
	id = jungo.82
	title = jungo.82.t
	desc = jungo.82.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.82.a	
		add_stability = 0.05
		hidden_effect = {
			country_event = { id = jungo.83 days = 7 random = 6 }
		}		
	}
}

###### Ванства недовольны, очень. Они грозятся снять императора, который их совсем затиранил (весь их бизнес) они все выводят свои войска, наш альянс рассыпается!!!!!!
country_event = {
	id = jungo.83
	title = jungo.83.t
	desc = jungo.83.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				dismantle_faction = yes
			}
			if = {
				limit = {				
					has_template = "Zhimindi Lu"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhimindi Lu"
				}
			}
			if = {
				limit = {				
					has_template = "Zhimindi Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhimindi Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Qibing Jun"				
				}
				delete_unit_template_and_units = {
					division_template = "Qibing Jun"
				}
			}
			if = {
				limit = {				
					has_template = "Zhuangjia Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhuangjia Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Jidong Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Jidong Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Shandi Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Shandi Shi"
				}
			}
			division_template = {
				name = "Collaboration Squad"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
				}								
			}
			random_owned_state = {		# чтобы не хардкорно было играть за Шу, это в помощь				
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
			}
			random_owned_state = {						
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
			}
			random_owned_state = {					
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
				create_unit = {
					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
					owner = ZMN
				}
#				create_unit = {
#					division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
#					owner = ZMN
#				}
			}
			country_event = { id = jungo.84 days = 4 random = 6 }	
		}
	}
	option = {
		name = jungo.83.a
		if = {
			limit = {
				has_army_experience > 10
			}
			army_experience = -10
		}
		effect_tooltip = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				dismantle_faction = yes
			}
			if = {
				limit = {				
					has_template = "Zhimindi Lu"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhimindi Lu"
				}
			}
			if = {
				limit = {				
					has_template = "Zhimindi Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhimindi Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Qibing Jun"				
				}
				delete_unit_template_and_units = {
					division_template = "Qibing Jun"
				}
			}
			if = {
				limit = {				
					has_template = "Zhuangjia Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Zhuangjia Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Jidong Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Jidong Shi"
				}
			}
			if = {
				limit = {				
					has_template = "Shandi Shi"				
				}
				delete_unit_template_and_units = {
					division_template = "Shandi Shi"
				}
			}	
		}				
	}
}

###### вансвта (кроме чу, хз почему но иначе это уже не чунго) в одностороннем порядке выходят из состава империи, мы получаем цель войны против них +новость 963
country_event = {
	id = jungo.84
	title = jungo.84.t
	desc = jungo.84.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	immediate = {
		hidden_effect = {
			zmn_kolonii_chungo_otpali = yes
			release = XMI
			release = ZYU
#			release = XCH	# Чу не выходит
#			release = ZXS	# это Шу и есть ващето
			ZMN_mao_dong = { set_nationality = XMI } 
			ZMN_bao_duan = { set_nationality = ZYU } 
			XMI = {
				load_oob = "XMI_raspad"	
				add_political_power = 120
				add_stability = 0.1
				add_war_support = 0.1
				army_experience = 20
				# create_country_leader = {	
					# name = "Mao Dong"
					# desc = ""
					# picture = "zmi_Mao_ddong.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_mao_dong"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				add_timed_idea = {
					idea = zmn_upadok_ekonimiki_shu_vykhod
					days = 500
				}
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}										
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN	
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				declare_war_on = {
					target = ZYU
					type = civil_war
				}
				add_civil_war_target = ZYU
				add_ai_strategy = {
					type = conquer
					id = ZYU
					value = 200
				}
			}
			ZYU = {
				load_oob = "ZYU_raspad"	
				add_political_power = 120
				add_stability = 0.1
				add_war_support = 0.1
				army_experience = 20
				# create_country_leader = {	
					# name = "Bao Duan"
					# desc = ""
					# picture = "ZYU_Bao_duan.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_bao_duan"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				add_timed_idea = {
					idea = zmn_upadok_ekonimiki_shu_vykhod
					days = 500
				}
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}										
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}	
				add_ai_strategy = {
					type = conquer
					id = XMI
					value = 200
				}
			}
			add_ai_strategy = {
				type = conquer
				id = XMI
				value = 200
			}
			add_ai_strategy = {
				type = conquer
				id = ZYU
				value = 200
			}
			news_event = { hours = 3 id = ar_news.963 }
			country_event = { days = 3 id = jungo.86 }	## восстаёт еще и республика. пара рандомных стейтов переходит под их контроль
			country_event = { days = 14 id = jungo.85 }	##  Идея безработицы удаляется			
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			add_timed_idea = {
				idea = zmn_upadok_ekonimiki_shu_vykhod
				days = 850
			}
			every_state = {
				limit = { is_core_of = XMI }				
				add_claim_by = ZMN
			}
			every_state = {
				limit = { is_core_of = ZYU }				
				add_claim_by = ZMN
			}		
	#		declare_war_on = {	#
	#			type = annex_everything
	#			target = XMI					
	#		}
	#		declare_war_on = {	#
	#			type = annex_everything
	#			target = ZYU					
	#		}
		}
	}
	option = {
		name = jungo.84.a
		custom_effect_tooltip = jungo.84.a.tt
		effect_tooltip = {	
			release = XMI
			release = ZYU
		}	
	}
}

###### эвент о том что в старне война, и мы всех трудоустроили куда надо. Идея безработицы удаляется
country_event = {
	id = jungo.85
	title = jungo.85.t
	desc = jungo.85.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_idea = zmn_bezrabot
	}	
	option = {
		name = jungo.85.a	
		remove_ideas = zmn_bezrabot		
	}
}

###### восстаёт еще и республика. пара рандомных стейтов переходит под их контроль. это их шанс все дела, там демократы восстают. +нвоость 964
country_event = {
	id = jungo.86
	title = jungo.86.t
	desc = jungo.86.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		NOT = {
			country_exists = ZRE
		}
	}
	immediate = {
		hidden_effect = {
			random_owned_controlled_state = {
				limit = {				
					is_in_home_area = yes
					is_capital = no	
				}	
				add_core_of = ZRE			
##				set_variable = { zmn_resp_st_1_var = id }
#				ZRE = { transfer_state = PREV }
			}
			random_owned_controlled_state = {
				limit = {				
					is_in_home_area = yes
					is_capital = no	
				}	
				add_core_of = ZRE
#				ZRE = { transfer_state = PREV }
#				set_variable = { zmn_resp_st_2_var = id }
			}			
			ZRE = {
#				transfer_state = zmn_resp_st_1_var
#				transfer_state = zmn_resp_st_2_var
				transfer_state = 620
				transfer_state = 750
				transfer_state = 602
				transfer_state = 1112
				add_popularity = {
					ideology = democratic
					popularity = 0.7
				}
				set_politics = {
					ruling_party = democratic
				}	
				# create_country_leader = {	
					# name = "Coalition Council"
					# desc = ""
					# picture = "zre_coalition_council.tga"
					# expire = "2010.1.1"
					# ideology = conservatism
					# traits = {
						# zre_neloyalny_generaly_traitt
					# }
				# }
				add_country_leader_role = {
					character = "ZRE_coalition_council"
					country_leader = {
						ideology = conservatism
						traits = { zre_neloyalny_generaly_traitt }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				inherit_technology = ZMN
				complete_national_focus = zre_dvuhpatr_respubl
				add_stability = 0.15
				add_war_support = 0.20
				add_political_power = 450
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1254
					producer = ZMN
				}
				division_template = {	
					name = "National Guard Division"
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}				
				}
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}				
				}
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}				
				}
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"National Guard Division\" start_experience_factor = 0.5"
						owner = ZRE
					}
				}
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
				}
				every_state = {
					limit = { is_core_of = ZMN }
					add_core_of = ZRE	# не рано капитулирует??
					add_claim_by = ZRE
				}			
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN
#				declare_war_on = {
#					type = annex_everything
#					target = ZMN
#				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				if = {
					limit = {
						country_exists = XMI
					}
					declare_war_on = {
						target = XMI
						type = civil_war
					}
					add_civil_war_target = XMI
#					declare_war_on = {
#						type = annex_everything
#						target = XMI
#					}
					add_ai_strategy = {
						type = conquer
						id = XMI
						value = 200
					}
				}
				if = {
					limit = {
						country_exists = ZYU
					}
					declare_war_on = {
						target = ZYU
						type = civil_war
					}
					add_civil_war_target = ZYU
#					declare_war_on = {
#						type = annex_everything
#						target = ZYU
#					}
					add_ai_strategy = {
						type = conquer
						id = ZYU
						value = 200
					}
				}
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				add_ideas = zre_problema_s_omnikami	 # Противоречия с омнипаристами
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
				country_event = { days = 12 id = jungo.316 }	# Сложная обстановка в республиканской армии
			}
			country_event = { days = 5 id = jungo.296 }
			news_event = { hours = 3 id = ar_news.964 }			
		}
	}	
	option = {
		name = jungo.86.a	
		custom_effect_tooltip = jungo.86.a.tt
	}
}

###### эвент о том что в в стране омники чото завыступали, но мы то жесткие тираны. Запретить их к херам (этот эвент еще как только Сянь Чжоу стал императором)
country_event = {
	id = jungo.87
	title = jungo.87.t
	desc = jungo.87.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.87.a
		add_stability = -0.04	
		add_popularity = {
			ideology = communism
			popularity = -0.1
		}
	}
}

###### Кооперация авиастроителей - первый сбор
country_event = {
	id = jungo.88
	title = jungo.88.t
	desc = jungo.88.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.88.a
		air_experience = 10
	}
}

###### эвент есиро в своей новояпонии (при войне с сегунами) о том что чунго нам отправило помощь и намекнуло на возможность пинять нас в аьянс к ним. но пока они там докумены сделают все, бюрократы миньские
country_event = {
	id = jungo.89
	title = jungo.89.t
	desc = jungo.89.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.89.a
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 250
			producer = ZMN
		}
		add_opinion_modifier = {
			target = ZMN
			modifier = drujestvennaya_ritorika_20
		}
	}
}

###### эвент сёгунам что чжунго поставило оружие для ёсиро. И говорят что возможно скоро ёсиро вступит к ним в сеишу.
country_event = {
	id = jungo.90
	title = jungo.90.t
	desc = jungo.90.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.90.a
		add_opinion_modifier = {
			target = ZMN
			modifier = raznoglasia_15
		}
	}
}

###### эвент сёгунам что миньская чжунго выступила с осуждением нас. эти бюрократы явно на тороне есиро +новость 966
country_event = {
	id = jungo.91
	title = jungo.91.t
	desc = jungo.91.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.91.a
		add_war_support = -0.02
		add_opinion_modifier = {
			target = ZMN
			modifier = zmn_za_mir_na_zemle1
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.966 }
		}
	}
}

###### эвент есиро от чжунго. Чжунго говорит, го к нам Ёсиро, у нас в сейшу здорово!
country_event = {
	id = jungo.92
	title = jungo.92.t
	desc = jungo.92.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.92.a
		ai_chance = {
			base = 22
		}
		join_seishu = yes
		ZMN = {
			country_event = { id = jungo.93 }
		}
	}
	option = {
		name = jungo.92.b
		ai_chance = {
			base = 2
		}
		ZMN = {
			country_event = { id = jungo.94 }
		}
	}
}

###### эвент чжунге что есиров с нами
country_event = {
	id = jungo.93
	title = jungo.93.t
	desc = jungo.93.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.93.a
		
	}
}

###### эвент чжунге что есиров отказал нашему щедрому предложению и не вступил
country_event = {
	id = jungo.94
	title = jungo.94.t
	desc = jungo.94.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.94.a
		
	}
}

##### эвент миньской чжунге о том что часть военных в нашей стране недовольна нашей мирной политикой, они объявляют об своем уходе со службы (мы получаем долговременный дебафф на армию)
country_event = {
	id = jungo.95
	title = jungo.95.t
	desc = jungo.95.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = jungo.95.a	
		add_war_support = -0.05
		add_timed_idea = {
			idea = zmn_min_voyaki_uvolilis
			days = 700
		}		
	}
}

###### эвент чжунге о том что японцы требуют от нас вмешаться в конфликт между сёгунами и есиро. Но поскольку между ними самими нет никакого единения мы пока не риснём выбирать сторону. тут можно жаде стычки между японцами на территории чжунги приплести.
country_event = {
	id = jungo.96
	title = jungo.96.t
	desc = jungo.96.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.96.a
		add_stability = -0.01
	}
}

###### эвент хань о том что соседнее чжунго не очень то радо провожимой нами политикой, они поговаривают что мы какие то агрессивные, и пора с нами уже разобратсья +новость 967 об этом, антиханьская риторика чунги
country_event = {
	id = jungo.97
	title = jungo.97.t
	desc = jungo.97.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.97.a
		add_opinion_modifier = {
			target = ZMN
			modifier = trebovania
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.967 }
		}
	}
}

###### эвент хань о том что соседнее чжунго желает с нами дружить, проводит политику дружбы китаев кароч +новость 968
country_event = {
	id = jungo.98
	title = jungo.98.t
	desc = jungo.98.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.98.a
		ai_chance = {
			base = 2
		}
		add_opinion_modifier = {
			target = ZMN
			modifier = drujestvennaya_ritorika_20
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.968 }
		}
	}
	option = {
		name = jungo.98.b
		ai_chance = {
			base = 20
		}		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.968 }
		}
	}
}

###### эвент хань  от чжунго. Чжунго говорит, го к нам хань, у нас в сейшу здорово!
country_event = {
	id = jungo.99
	title = jungo.99.t
	desc = jungo.99.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		ZHA = {
			NOT = {
				is_in_faction_with = ZMN
			}
		}
	}	
	option = {
		name = jungo.99.a
		ai_chance = {
			base = 5
			modifier = {
				factor = 7
				has_government = democratic
			}			
		}
		join_seishu = yes
		ZMN = {
			country_event = { id = jungo.100 }
		}
	}
	option = {
		name = jungo.99.b
		ai_chance = {
			base = 10			
		}
		ZMN = {
			country_event = { id = jungo.101 }
		}
	}
}

###### эвент чжунге что хань с нами
country_event = {
	id = jungo.100
	title = jungo.100.t
	desc = jungo.100.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.100.a
		
	}
}

###### эвент чжунге что хань отказало нашему щедрому предложению и не вступил
country_event = {
	id = jungo.101
	title = jungo.101.t
	desc = jungo.101.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.101.a
		
	}
}

###### эвент ёсиро и сёгунам (один и тот же текст). чунго говорит что нейтралитет к нашему конфликту у неё. ну, это может и хорошо (нам будет сложнее попасть в этот их альянс) +новость 969
country_event = {
	id = jungo.102
	title = jungo.102.t
	desc = jungo.102.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.102.a
		add_stability = 0.01
		add_war_support = 0.01
	}
}

###### эвент миньской чунге что какие то недовольные чуваки устроили митинги и всякие гей парады в стране, они не довольны нашей активной внешней политикой, минус стабка блин
country_event = {
	id = jungo.103
	title = jungo.103.t
	desc = jungo.103.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}
	option = {
		name = jungo.103.a
		add_stability = -0.03
	}
}

###### эвент сёгунам что чжунго заявляет что принимает их как легитимных правителей японии. неожиданно, приятно. +новость 971
country_event = {
	id = jungo.104
	title = jungo.104.t
	desc = jungo.104.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.104.a
		ai_chance = {
			base = 5			
		}
		add_opinion_modifier = {
			target = ZMN
			modifier = drujestvennaya_ritorika_20
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.971 }
		}
	}
	option = {
		name = jungo.104.b	
		ai_chance = {
			base = 5			
		}	
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.971 }
		}
	}
}

###### эвент сёгунам, они нам прислали поддержку. Немного ружия для борьбы с есиро. Вот так вот, говорят что скоро в альянс позовут
country_event = {
	id = jungo.105
	title = jungo.105.t
	desc = jungo.105.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.105.a
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 250
			producer = ZMN
		}		
	}
}

###### эвент дял есиро. дипломаты доложили что сеишу с чунгой признали легитимность сегунов. похоже они на их стороне.
country_event = {
	id = jungo.106
	title = jungo.106.t
	desc = jungo.106.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.106.a
		add_opinion_modifier = {
			target = ZMN
			modifier = raznoglasia_15
		}
	}
}


###### эвент сёгунам от чжунго. Чжунго говорит, го к нам  у нас в сейшу здорово! эээ, внезапно,
country_event = {
	id = jungo.107
	title = jungo.107.t
	desc = jungo.107.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.107.a
		ai_chance = {
			base = 11
		}
		join_seishu = yes
		ZMN = {
			country_event = { id = jungo.108 }
		}
	}
	option = {
		name = jungo.107.b
		ai_chance = {
			base = 3
		}
		ZMN = {
			country_event = { id = jungo.109 }
		}
	}
}

###### эвент чжунге что сегунатские с нами
country_event = {
	id = jungo.108
	title = jungo.108.t
	desc = jungo.108.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.108.a
		
	}
}

###### эвент чжунге что сегунатские отказали нашему щедрому предложению и не вступил
country_event = {
	id = jungo.109
	title = jungo.109.t
	desc = jungo.109.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.109.a
		
	}
}

###### эвент соседней с чжунгой стране что там император Xian Zhou от династии шу желает захватить нас, они скоро заимеют цель войны против нас
country_event = {
	id = jungo.110
	title = jungo.110.t
	desc = jungo.110.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.110.a
		add_stability = 0.05
		add_war_support = 0.05
	}
}

###### эвент корее чосон что Чунго сос воим альянсвом Сеишу говорят что мы для них угроза, что мы все плохие и альянс наш не оч. вобщем конкуренция го го. + новость 972
country_event = {
	id = jungo.111
	title = jungo.111.t
	desc = jungo.111.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.111.a	
		add_opinion_modifier = {
			target = ZMN
			modifier = lezut_v_nashu_sfery
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.972 }
		}
	}
}

###### эвент о том что император чжунго (юэ или чу) проводит национализацию крупнейших агропромышленных предприятий. Комы то хорошо от этого кому то не оч. 
country_event = {
	id = jungo.112
	title = jungo.112.t
	desc = jungo.112.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.112.a
		add_stability = -0.02
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}				
				is_in_home_area = yes				
			}
			add_extra_state_shared_building_slots = 1				
		}
		hidden_effect = {
			country_event = { id = jungo.75 days = 32 random = 10 }
		}
	}
}

###### эвент о том что император чжунго (юэ или чу) проводит национализацию крупнейших автопроизводителей. получаем пару заводов, меньшаем себе стабильность, поднимаем недовольство и ускоряем начало гражданской войны
country_event = {
	id = jungo.113
	title = jungo.113.t
	desc = jungo.113.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.113.a
		add_stability = -0.02
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}					
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}					
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
}

###### эвент стране что в альянсе сейшу о том что чжунго провела крупные учения в альянсе, мы получили незаменимый военный опыт. и варсаппорт
country_event = {
	id = jungo.114
	title = jungo.114.t
	desc = jungo.114.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.114.a
		add_war_support = 0.05
		army_experience = 5
	}
}

###### эвент о том что бывшему императору Дуаню Баоцзи чот-то стало хуже, он находится на лечении в какомнить пансионате в своей Юэ
country_event = {
	id = jungo.115
	title = jungo.115.t
	desc = jungo.115.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.115.a
		add_stability = -0.01
		hidden_effect = {
			country_event = { id = jungo.116 days = 75 random = 60 }
		}
	}
}

###### эвент о том что Дуаню Баоцзи всё +новость 974 об этом, что хорошо что чунго учпели выьрать нового
country_event = {
	id = jungo.116
	title = jungo.116.t
	desc = jungo.116.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.116.a
		add_stability = -0.01
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.974 }
		}
	}
}

###### эвент о том что после того как Ву отозвало гарантии он нас чать их предприятий закрылась. мы теряем фабрики опять.
country_event = {
	id = jungo.117
	title = jungo.117.t
	desc = jungo.117.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.117.a
		add_stability = -0.01
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		hidden_effect = {
			country_event = { id = jungo.287 days = 15 random = 6 }
		}
	}
}


###### эвент о том что к новому императору (от чу или юэ) относятся не очень то в народе так хорошо, с недовереем. Мы запускаем таймер на два года, если кризи сне одолеем то плохо чунге будет.
country_event = {
	id = jungo.118
	title = jungo.118.t
	desc = jungo.118.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.118.a
		set_country_flag = zmn_krizis_dlya_chu_i_ue_flag
		custom_effect_tooltip = jungo.118.a.tt
		hidden_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				country_event = { days = 5 id = jungo.413 }
			}
		}
	}
}

#### распад блтб
country_event = {
	id = jungo.119
	title = jungo.119.t
	desc = jungo.119.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_named_threat = { threat = 16 name = zmn_chunga_razvalilas_threatt }
			if = {
				limit = {
					is_faction_leader = yes
				}
				dismantle_faction = yes
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			if = {
				limit = {
					has_idea = zmn_bezrabot
				}
				remove_ideas = zmn_bezrabot
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_mery_po_borbe_sbezrab
				}
				remove_ideas = zmn_mery_po_borbe_sbezrab
			}
			zmn_vashe_chungo_razvalilos = yes
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_bao_duan
						ruling_only = yes
					}
				}
				ZYU = {		
					change_tag_from = ZMN			
				}
			}
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
				}
				XCH = {		
					change_tag_from = ZMN			
				}
			}
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				XCH = {
					load_oob = "XCH_raspad"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				XCH = {
					load_oob = "XCH_raspad_nsb"	
				}
				ZXS = {
					load_oob = "ZXS_raspad"	
				}
				XMI = {
					load_oob = "XMI_raspad"	
				}
				ZYU = {
					load_oob = "ZYU_raspad"	
				}	
			}
		}
	}
	option = {
		name = jungo.119.a	
		custom_effect_tooltip = jungo.20.tt		
		effect_tooltip = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_bao_duan
						ruling_only = yes
					}
				}
				ZYU = {		
					change_tag_from = ZMN			
				}
			}
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
				}
				XCH = {		
					change_tag_from = ZMN			
				}
			}	
		}			
		hidden_effect = {			
			news_event = { hours = 3 id = ar_news.952 }
		}		
	}
}	


###### эвент о том что на фоне продолжающегося экономического крииса всё больше заводов в том числе и иностранных закрывается. теряем фабрики
country_event = {
	id = jungo.120
	title = jungo.120.t
	desc = jungo.120.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.120.a
		add_stability = -0.01
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
	}
}

###### эвент скрытой оппозиуии чунги о том что мы вот такие вот подпольщики и пора готовитсья к перевороту.
country_event = {
	id = jungo.121
	title = jungo.121.t
	desc = jungo.121.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.121.a
		custom_effect_tooltip = jungo.121.a.tt
		add_to_variable = { zmn_politochki_var = 4 }
		hidden_effect = {
			country_event = { id = jungo.124 days = 50 random = 30 }
		}
	}
}

###### ГО ЗА РЕСПУБЛИКУ ИГРАТЬ!!! ЗА ОМНИКОВ!!! ##############################################################################################
country_event = {
	id = jungo.122
	title = jungo.122.t
	desc = jungo.122.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		clr_country_flag = zmn_my_vybrali_respubl_flag
		set_country_flag = zmn_my_vybrali_respubl_2_flag	# костыль
		####
		hidden_effect = {
			every_other_country = {	#### эвент  колониям чунги что там переворот, республика восстала. И это наш ганс на независимость
				limit = {
					OR = {
						is_puppet_of = ZMN
						is_subject_of = ZMN
					}					
				}
				drop_cosmetic_tag = yes	
				ZMN = { set_autonomy = { target = PREV autonomy_state = autonomy_free } }							
				country_event = {
					id = jungo.161
				}
			}
			if = {		## Шу альянс не нужен совсем
				limit = {
					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_xian_zhou
						ruling_only = yes
					}
				}
				dismantle_faction = yes
			}
			if = {		## Минь
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_mao_dong
						ruling_only = yes
					}
				}
				set_country_flag = zmn_omniki_vosstali_min_flag
			}	
			if = {		## Юэ
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_bao_duan
						ruling_only = yes
					}
				}
				add_political_power = 1
			}
			if = {		## Чу
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
				}
				add_political_power = 1
			}
			### решения республики zmn_demoraliz_impersk_armii
			if = {
				limit = {
					has_country_flag = zmn_demoraliz_impersk_armii_flag
				}
				add_war_support = -0.20
			}
			### снимаем лок с дивизий
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			###   недеесп император, убрать идею?			
			1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}
			if = {	# zmn_1115_agitatsya
				limit = {
					controls_state = 1115 
					has_country_flag = zmn_1115_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1115						
				}
			}
			if = {	# zmn_1114_agitatsya
				limit = {
					controls_state = 1114 
					has_country_flag = zmn_1114_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1114						
				}
			}
			if = {	# zmn_1109_agitatsya
				limit = {
					controls_state = 1109 
					has_country_flag = zmn_1109_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1109						
				}
			}
			if = {	# zmn_1113_agitatsya
				limit = {
					controls_state = 1113 
					has_country_flag = zmn_1113_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1113						
				}
			}
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZRE
				size = 0.4 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.55
				army_ratio = 0.45
				navy_ratio = 0.25
				air_ratio = 0.45
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}
			## убираем шаблоны и дивизии, дадим их ниже. Анти эксплоит.
			delete_unit_template_and_units = {
				division_template = "Bubing Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Zhimindi Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Qibing Jun"
			}
			delete_unit_template_and_units = {
				division_template = "Zhuangjia Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Jidong Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Shandi Shi"
			}
			### выдаем шаблоны
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				set_technology = {
					gwtank = 1
					basic_light_tank = 1
				}				
				set_oob = "ZMN_imperial_militia"
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				set_technology = {
					gwtank_chassis = 1
					basic_light_tank_chassis = 1
					improved_light_tank_chassis = 1
					engine_tech_1 = 1
					engine_tech_2 = 1
				}
				create_equipment_variant = {
					name = "ALT1"
					type = light_tank_chassis_0
					parent_version = 0
					modules = {
						main_armament_slot = tank_heavy_machine_gun
						turret_type_slot = tank_light_fixed_superstructure_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
					}
					upgrades = {
						tank_nsb_engine_upgrade = 1
						tank_nsb_armor_upgrade = 1
					}
					obsolete = yes
				}
				create_equipment_variant = {
					name = "ALT2"
					type = light_tank_chassis_1
					parent_version = 0
					modules = {
						main_armament_slot = tank_small_cannon_2
						turret_type_slot = tank_light_two_man_tank_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
					}
					upgrades = {
						tank_nsb_engine_upgrade = 2
						tank_nsb_armor_upgrade = 2
					}
				}
				set_oob = "ZMN_imperial_militia_nsb"
			}
			if = {	# zmn_1115_agitatsya
				limit = {	
					NOT = {
						has_country_flag = zmn_1115_agitatsya_flag
					}	
				}
				1115 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1114_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1114_agitatsya_flag
					}	
				}
				1114 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1109_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1109_agitatsya_flag
					}	
				}
				1109 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1113_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1113_agitatsya_flag
					}	
				}
				1113 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}			
			ZRE = {
				### установить политику, по умолчани. они омники. дать фокусы доступные омникам открытыми				
				inherit_technology = ZMN
				complete_national_focus = zre_sotsialistik_resp
				set_popularities = {
					democratic = 24
					neutrality = 1
					fascism = 1
					communism = 74
				}
				set_politics = {
					ruling_party = communism
				}
				if = {
					limit = {
						ZMN = {
							check_variable = { zmn_resp_omniki_var > 85 }
						}	
					}
					set_stability = 0.65
					set_war_support = 0.65
					add_political_power = 250
				}
				else_if = {
					limit = {
						ZMN = {	
							check_variable = { zmn_resp_omniki_var > 75 }
						}	
					}
					set_stability = 0.55
					set_war_support = 0.55
					add_political_power = 120
				}
				else = {
					set_stability = 0.45
					set_war_support = 0.45
					add_political_power = 50
				}
#				load_oob = "ZRE_revolt"		## чекаем transfer_units_fraction что выше
#				declare_war_on = {			##  чекаем это как гражданку
#					type = annex_everything
#					target = ZMN
#				}	
				load_oob = "ZRE_rebel_militia"
				if = {	# zmn_1115_agitatsya
					limit = {						
						has_country_flag = zmn_1115_agitatsya_flag
					}
					1115 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1114_agitatsya
					limit = {						
						has_country_flag = zmn_1114_agitatsya_flag
					}
					1114 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1109_agitatsya
					limit = {						
						has_country_flag = zmn_1109_agitatsya_flag
					}
					1109 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1113_agitatsya
					limit = {						
						has_country_flag = zmn_1113_agitatsya_flag
					}
					1113 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}								
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				####### сугубо на решения
				## zmn_podgotovit_orujie
				if = {
					limit = {
						has_country_flag = zmn_podgotovit_orujie_flag
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 2895
						producer = ZMN
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 895
						producer = ZMN
					}
				}
				##	
				if = {
					limit = {
						has_country_flag = zmn_750_opolchenie_flag
					}
					division_template = {
						name = "Chengde Militia"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}								
					}
					750 = {
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}			
				}
				##
				if = {
					limit = {
						has_country_flag = zmn_1085_opolchenie_flag
					}
					division_template = {
						name = "Dazhou Militia"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}								
					}
					1085 = {
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}			
				}
				add_ideas = zre_vnutrennye_vspysk_kontrevol	 # Внутренние вспышки контрреволюции
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
			}
			country_event = { days = 5 id = jungo.296 }
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			news_event = { hours = 3 id = ar_news.979 }
			if = {
				limit = {
					is_ai = no
				}
				ZRE = {		
					change_tag_from = ZMN			
				}
			}
		}		
	}	
	option = {
		name = jungo.122.a
		effect_tooltip = {
			ZRE = {		
				change_tag_from = ZMN			
			}	
		}	
	}
}

###### ГО ЗА РЕСПУБЛИКУ ИГРАТЬ!!! ЗА ДЕМОВ!!!
country_event = {
	id = jungo.123
	title = jungo.123.t
	desc = jungo.123.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		clr_country_flag = zmn_my_vybrali_respubl_flag
		set_country_flag = zmn_my_vybrali_respubl_2_flag	# костыль
		#####
		hidden_effect = {
			every_other_country = {	#### эвент  колониям чунги что там переворот, республика восстала. И это наш ганс на независимость
				limit = {
					OR = {
						is_puppet_of = ZMN
						is_subject_of = ZMN
					}					
				}
				drop_cosmetic_tag = yes	
				ZMN = { set_autonomy = { target = PREV autonomy_state = autonomy_free } }							
				country_event = {
					id = jungo.161
				}
			}
			if = {		## Шу альянс не нужен совсем
				limit = {
					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_xian_zhou
						ruling_only = yes
					}
				}
				dismantle_faction = yes
			}
			if = {		## Минь
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_mao_dong
						ruling_only = yes
					}
				}
				set_country_flag = zmn_omniki_vosstali_min_flag
			}	
			if = {		## Юэ
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_bao_duan
						ruling_only = yes
					}
				}
				add_political_power = 1
			}
			if = {		## Чу
				limit = {
#					is_faction_leader = yes
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
				}
				add_political_power = 1
			}
			### решения республики zmn_demoraliz_impersk_armii
			if = {
				limit = {
					has_country_flag = zmn_demoraliz_impersk_armii_flag
				}
				add_war_support = -0.20
			}
			### снимаем лок с дивизий
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			###   недеесп император, убрать идею?			
			1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}
			if = {	# zmn_1115_agitatsya
				limit = {
					controls_state = 1115 
					has_country_flag = zmn_1115_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1115						
				}
			}
			if = {	# zmn_1114_agitatsya
				limit = {
					controls_state = 1114 
					has_country_flag = zmn_1114_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1114						
				}
			}
			if = {	# zmn_1109_agitatsya
				limit = {
					controls_state = 1109 
					has_country_flag = zmn_1109_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1109						
				}
			}
			if = {	# zmn_1113_agitatsya
				limit = {
					controls_state = 1113 
					has_country_flag = zmn_1113_agitatsya_flag
				}
				ZRE = {
					transfer_state = 1113						
				}
			}
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZRE
				size = 0.4 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.5
				army_ratio = 0.45
				navy_ratio = 0.35
				air_ratio = 0.4
#				keep_unit_leaders = {
#						    
#				}
#				keep_unit_leaders_trigger = {
#					
#				}
			}
			## убираем шаблоны и дивизии, дадим их ниже. Анти эксплоит.
			delete_unit_template_and_units = {
				division_template = "Bubing Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Zhimindi Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Qibing Jun"
			}
			delete_unit_template_and_units = {
				division_template = "Zhuangjia Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Jidong Shi"
			}
			delete_unit_template_and_units = {
				division_template = "Shandi Shi"
			}
			### выдаем шаблоны			
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				set_technology = {
					gwtank = 1
					basic_light_tank = 1
				}				
				set_oob = "ZMN_imperial_militia"
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				set_technology = {
					gwtank_chassis = 1
					basic_light_tank_chassis = 1
					improved_light_tank_chassis = 1
					engine_tech_1 = 1
					engine_tech_2 = 1
				}
				create_equipment_variant = {
					name = "ALT1"
					type = light_tank_chassis_0
					parent_version = 0
					modules = {
						main_armament_slot = tank_heavy_machine_gun
						turret_type_slot = tank_light_fixed_superstructure_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
					}
					upgrades = {
						tank_nsb_engine_upgrade = 1
						tank_nsb_armor_upgrade = 1
					}
					obsolete = yes
				}
				create_equipment_variant = {
					name = "ALT2"
					type = light_tank_chassis_1
					parent_version = 0
					modules = {
						main_armament_slot = tank_small_cannon_2
						turret_type_slot = tank_light_two_man_tank_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
					}
					upgrades = {
						tank_nsb_engine_upgrade = 2
						tank_nsb_armor_upgrade = 2
					}
				}
				set_oob = "ZMN_imperial_militia_nsb"
			}
			if = {	# zmn_1115_agitatsya
				limit = {	
					NOT = {
						has_country_flag = zmn_1115_agitatsya_flag
					}	
				}
				1115 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1114_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1114_agitatsya_flag
					}	
				}
				1114 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1109_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1109_agitatsya_flag
					}	
				}
				1109 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}
			if = {	# zmn_1113_agitatsya_flag
				limit = {	
					NOT = {
						has_country_flag = zmn_1113_agitatsya_flag
					}	
				}
				1113 = {
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Police division\" start_experience_factor = 0.2"
						owner = ZMN
					}
				}
			}			
			ZRE = {	
				inherit_technology = ZMN
				complete_national_focus = zre_dvuhpatr_respubl
				set_popularities = {
					democratic = 68
					neutrality = 1
					fascism = 1
					communism = 30
				}
				set_politics = {
					ruling_party = democratic
				}
				# create_country_leader = {	
					# name = "Coalition Council"
					# desc = ""
					# picture = "zre_coalition_council.tga"
					# expire = "2010.1.1"
					# ideology = conservatism
					# traits = {
						# zre_neloyalny_generaly_traitt
					# }
				# }
				add_country_leader_role = {
					character = "ZRE_coalition_council"
					country_leader = {
						ideology = conservatism
						traits = { zre_neloyalny_generaly_traitt }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				add_ideas = zre_problema_s_omnikami	 # Противоречия с омнипаристами
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				if = {
					limit = {
						ZMN = {
							check_variable = { zmn_resp_demokr_var > 85 }
						}	
					}
					set_stability = 0.65
					set_war_support = 0.65
					add_political_power = 250
				}
				else_if = {
					limit = {
						ZMN = {	
							check_variable = { zmn_resp_demokr_var > 75 }
						}	
					}
					set_stability = 0.55
					set_war_support = 0.55
					add_political_power = 120
				}
				else = {
					set_stability = 0.45
					set_war_support = 0.45
					add_political_power = 50
				}				
#				load_oob = "ZRE_revolt"		## чекаем transfer_units_fraction что выше
#				declare_war_on = {			##  чекаем это как гражданку
#					type = annex_everything
#					target = ZMN
#				}	
				load_oob = "ZRE_rebel_militia"
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
				}
				if = {	# zmn_1115_agitatsya
					limit = {						
						has_country_flag = zmn_1115_agitatsya_flag
					}
					1115 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1114_agitatsya
					limit = {						
						has_country_flag = zmn_1114_agitatsya_flag
					}
					1114 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1109_agitatsya
					limit = {						
						has_country_flag = zmn_1109_agitatsya_flag
					}
					1109 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				if = {	# zmn_1113_agitatsya
					limit = {						
						has_country_flag = zmn_1113_agitatsya_flag
					}
					1113 = {
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Rebel division\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}								
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				
				####### сугубо на решения
				## zmn_podgotovit_orujie
				if = {
					limit = {
						has_country_flag = zmn_podgotovit_orujie_flag
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 2895
						producer = ZMN
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 895
						producer = ZMN
					}
				}
				##	
				if = {
					limit = {
						has_country_flag = zmn_750_opolchenie_flag
					}
					division_template = {
						name = "Chengde Militia"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}								
					}
					750 = {
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Chengde Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}			
				}
				##
				if = {
					limit = {
						has_country_flag = zmn_1085_opolchenie_flag
					}
					division_template = {
						name = "Dazhou Militia"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
						}								
					}
					1085 = {
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Dazhou Militia\" start_experience_factor = 0.2"
							owner = ZRE
						}
					}			
				}
				country_event = { days = 12 id = jungo.316 }	# Сложная обстановка в республиканской армии
				# ИДЕИ ДОБАВЛЕНЫ ВЫШЕ
#				add_ideas = zre_vnutrennye_vspysk_kontrevol	 # Внутренние вспышки контрреволюции
#				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
#				add_ideas = zre_devalv_valuty	 # Девальвация валюты
			}			
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			country_event = { days = 5 id = jungo.297 }
			news_event = { hours = 3 id = ar_news.990 }
			if = {
				limit = {
					is_ai = no
				}
				ZRE = {		
					change_tag_from = ZMN			
				}
			}
		}
	}	
	option = {
		name = jungo.123.a
		effect_tooltip = {
			ZRE = {		
				change_tag_from = ZMN			
			}	
		}
	}
}

###### здоровье императора ухудшается, пора готовиться к выборам
country_event = {
	id = jungo.124
	title = jungo.124.t
	desc = jungo.124.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.124.a
		complete_national_focus = zmn_vopros_nedeesposobnosti
		complete_national_focus = zmn_podgotovka_tseremonii
		hidden_effect = {
			country_event = { id = jungo.125 days = 40 random = 12 }
		}
	}
}

## скрытый эвент на выборы императора. полный рандом
country_event = { 
	id = jungo.125
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_country_leader = {
			character = ZMN_duan_baoji
			ruling_only = yes
		}		
	}
	immediate = {
		complete_national_focus = zmn_zitsuan
		if = {
			limit = {
				is_guaranteed_by = XNU
			}
			XNU = {
				country_event = { days = 1 id = jungo.64 }
			}
		}
		random_list = {
			25 = { 
				modifier = {
					factor = 3000
					has_country_flag = ZMN_MIN_MONARCH_flag
				}
				country_event = { id = jungo.18 }
			}
			25 = { 
				modifier = {
					factor = 3000
					has_country_flag = ZMN_CHU_MONARCH_flag
				}
				country_event = { id = jungo.67 }
			}
			25 = { 
				modifier = {
					factor = 3000
					has_country_flag = ZMN_UE_MONARCH_flag
				}
				country_event = { id = jungo.68 }
			}
			25 = { 
				modifier = {
					factor = 3000
					has_country_flag = ZMN_SHU_MONARCH_flag
				}
				country_event = { id = jungo.69 }
			}
		}
		## продолжим?
	}
}	

###### эвент республике ОМНИКАМ. мы затащили, мы смогли одолеть имперскую чунгу. И теперь мы готовы заняться восстановлением страны а там уж и во внешку гоу РЕЗЕРВ!!!
country_event = {
	id = jungo.126
	title = jungo.126.t
	desc = jungo.126.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.126.a
		add_stability = 0.04
		add_war_support = 0.01
		add_political_power = 100
	}
}

###### эвент республике ДЕМАМ. мы затащили, мы смогли одолеть имперскую чунгу. И теперь мы готовы заняться восстановлением страны а там уж и во внешку гоу 
country_event = {
	id = jungo.127
	title = jungo.127.t
	desc = jungo.127.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.127.a
		add_stability = 0.05		
		add_political_power = 100
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
	}
}

###### эвент республике ОМНИКАМ. (после того как затащили против чунги и через две недели после эвента jungo.126) о том что мы всё таки коалиция была. И демократы то недовольны что мы всё по итогу узурпировали. Попахивает новыми разборками
country_event = {
	id = jungo.128
	title = jungo.128.t
	desc = jungo.128.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}
	immediate = {
		hidden_effect = {
			country_event = { id = jungo.129 days = 5 random = 10 }
		}
	}	
	option = {
		name = jungo.128.a
		add_stability = -0.02		
	}
}

###### следующий эвент республике ОМНИКАМ. гражданка против демов +новость 977 что опять чунго горит
country_event = {
	id = jungo.129
	title = jungo.129.t
	desc = jungo.129.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}
	immediate = {
		hidden_effect = {
			start_civil_war = {
				ideology = democratic
				size = 0.37				
			}
			news_event = { hours = 3 id = ar_news.977 }
		}
	}	
	option = {
		name = jungo.129.a
		effect_tooltip = {
			start_civil_war = {
				ideology = democratic
				size = 0.37				
			}
		}		
	}
}

###### II Собрание Жэньмина
country_event = {
	id = jungo.130
	title = jungo.130.t
	desc = jungo.130.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.130.a
		add_stability = 0.05
		add_war_support = 0.05
		add_political_power = 100
		if = {
			limit = {
				country_exists = ZMN
			}
			ZMN = {
				add_timed_idea = {
					idea = zmn_golos_omniparisma
					days = 365
				}
			}
		}
		hidden_effect = {
			country_event = { days = 7 id = jungo.131 }
		}		
	}
}

###### Новые кадры
country_event = {
	id = jungo.131
	title = jungo.131.t
	desc = jungo.131.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.131.a
		### генералов сюдема	
		# create_corps_commander = {
			# name = "Bei Doo"
			# portrait_path = "gfx/leaders/ZRE/zre_Bei_Doo.tga"
			# id = 22808
			# traits = {  commando career_officer infantry_officer }
			# skill = 3
			# attack_skill = 3
			# defense_skill = 1
			# planning_skill = 3
			# logistics_skill = 3
		# }
		add_corps_commander_role = {
			character = ZRE_Bei_Doo
			id = 22808
			traits = {  commando career_officer infantry_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 1
			planning_skill = 3
			logistics_skill = 3
		}
		# create_corps_commander = {
			# name = "Cheng Di"
			# portrait_path = "gfx/leaders/ZRE/zre_Cheng_Di.tga"
			# id = 22809
			# traits = { brilliant_strategist infantry_officer }
			# skill = 3
			# attack_skill = 3
			# defense_skill = 2
			# planning_skill = 3
			# logistics_skill = 2
		# }
		add_corps_commander_role = {
			character = ZRE_Cheng_Di
			id = 22809
			traits = { brilliant_strategist infantry_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 3
			logistics_skill = 2
		}
		# create_corps_commander = {
			# name = "Gang Li"
			# portrait_path = "gfx/leaders/ZRE/zre_Gang_Li.tga"
			# id = 22810
			# traits = {
				# trickster trait_engineer brilliant_strategist politically_connected
			# }
			# skill = 5
			# attack_skill = 4
			# defense_skill = 5
			# planning_skill = 3
			# logistics_skill = 4
		# }
		add_corps_commander_role = {
			character = ZRE_Gang_Li
			id = 22810
			traits = {
				trickster trait_engineer brilliant_strategist politically_connected
			}
			skill = 5
			attack_skill = 4
			defense_skill = 5
			planning_skill = 3
			logistics_skill = 4
		}
		
		# create_navy_leader = {
			# name = "Weisheng Hou"
			# portrait_path = "gfx/leaders/ZRE/zre_Weisheng_Hou.tga"
			# id = 22811
			# traits = { bold battleship_adherent superior_tactician spotter }
			# skill = 4
			# attack_skill = 4
			# defense_skill = 2
			# maneuvering_skill = 4
			# coordination_skill = 3
		# }
		add_naval_commander_role = {
			character = ZRE_Weisheng_Hou
			id = 22811
			traits = { bold battleship_adherent superior_tactician spotter }
			skill = 4
			attack_skill = 4
			defense_skill = 2
			maneuvering_skill = 4
			coordination_skill = 3
		}
		# create_navy_leader = {
			# name = "Hee Yu"
			# id = 22812
			# portrait_path = "gfx/leaders/ZRE/zre_Hee_Yu.tga"
			# traits = { navy_career_officer bold }
			# skill = 3
			# attack_skill = 3
			# defense_skill = 2
			# maneuvering_skill = 3
			# coordination_skill = 2
		# }
		add_naval_commander_role = {
			character = ZRE_Hee_Yu
			id = 22812
			traits = { navy_career_officer bold }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			maneuvering_skill = 3
			coordination_skill = 2
		}
		
	}
}

###### Нелояльность генерала Ли
country_event = {
	id = jungo.132
	title = jungo.132.t
	desc = jungo.132.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.132.a
		add_ideas = zre_neloyalny_general_li		
	}
}

###### Ли арестован
country_event = {
	id = jungo.133
	title = jungo.133.t
	desc = jungo.133.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.133.a
		ai_chance = {
			base = 1			
		}
		remove_ideas = zre_neloyalny_general_li
#		remove_unit_leader = 22810 # Gang Li jungo.131
		every_unit_leader = {
					limit = {
						has_id = 22810
					}
					retire = yes
				}
		add_political_power = -25
		add_war_support = -0.05
	}
	option = {
		name = jungo.133.b
		ai_chance = {
			base = 1			
		}
		remove_ideas = zre_neloyalny_general_li
#		remove_unit_leader = 22810 # Gang Li jungo.131
		every_unit_leader = {
					limit = {
						has_id = 22810
					}
					retire = yes
				}
		add_political_power = -25
		add_stability = -0.05
	}
}

###### Контрреволюционный бунт
country_event = {
	id = jungo.134
	title = jungo.134.t
	desc = jungo.134.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.134.a
		add_stability = -0.05
		remove_unit_leader = 22811 # Weisheng Hou jungo.131	
	}
}

###### Ли арестован
country_event = {
	id = jungo.135
	title = jungo.135.t
	desc = jungo.135.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.135.a
		ai_chance = {
			base = 1			
		}		
		add_stability = -0.05
	}
	option = {
		name = jungo.135.b
		custom_effect_tooltip = jungo.135.b.tt
		ai_chance = {
			base = 1			
		}
		country_event = { days = 7 id = jungo.136 }
	}
}

###### Ответы получены
country_event = {
	id = jungo.136
	title = jungo.136.t
	desc = jungo.136.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.136.a
		add_stability = -0.01
	}
}
###### III Собрание Жэньмина
country_event = {
	id = jungo.137
	title = jungo.137.t
	desc = jungo.137.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.137.a
		add_ideas = zre_raskol_v_partii
		add_ideas = zre_vany_i_ih_prespeshniki
	}
}

###### эвент республике, нам удалось сделать саботаж дороги в империи
country_event = {
	id = jungo.138
	title = jungo.138.t
	desc = jungo.138.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.138.a	
		army_experience = 2
	}
}

###### эвент республике, нам НЕ удалось сделать саботаж дороги в империи
country_event = {
	id = jungo.139
	title = jungo.139.t
	desc = jungo.139.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.139.a	
		army_experience = 1			
	}
}

###### эвент республике, нам удалось сделать саботаж industrial_complex в империи
country_event = {
	id = jungo.140
	title = jungo.140.t
	desc = jungo.140.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.140.a	
		army_experience = 2	
	}
}

###### эвент республике, нам НЕ удалось сделать саботаж industrial_complex в империи
country_event = {
	id = jungo.141
	title = jungo.141.t
	desc = jungo.141.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.141.a	
		army_experience = 1			
	}
}

###### эвент республике, нам удалось сделать саботаж arms_factory в империи
country_event = {
	id = jungo.142
	title = jungo.142.t
	desc = jungo.142.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.142.a	
		army_experience = 2	
	}
}

###### эвент республике, нам НЕ удалось сделать саботаж arms_factory в империи
country_event = {
	id = jungo.143
	title = jungo.143.t
	desc = jungo.143.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.143.a
		army_experience = 1		
	}
}

###### Партийный раскол
country_event = {
	id = jungo.144
	title = jungo.144.t
	desc = jungo.144.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.144.a
		swap_ideas = {
			remove_idea = zre_raskol_v_partii
			add_idea = zre_raskol_v_partii_2
		}
	}
}

###### arest vanov
country_event = {
	id = jungo.145
	title = jungo.145.t
	desc = jungo.145.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.145.a
		ai_chance = {
			base = 1			
		}		
		add_stability = 0.03
		remove_ideas = zre_vany_i_ih_prespeshniki
	}
	option = {
		name = jungo.145.b		
		ai_chance = {
			base = 1			
		}
		add_political_power = 100
		remove_ideas = zre_vany_i_ih_prespeshniki
	}
}


###### эвент на победу республики над империей, весит дебаффы
country_event = {
	id = jungo.146
	title = jungo.146.t
	desc = jungo.146.d
	picture = GFX_report_event_generic_conference
	trigger = {
		NOT = {
			has_global_flag = zre_omniki_zatashili_flag
		}		
		tag = ZRE		
		ZRE = {
			has_government = communism
			exists = yes
		}
		ZMN = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
			OR = {
				exists = no
				is_subject_of = ZRE
			}
		}
	}
	mean_time_to_happen = { days = 1 }
	fire_only_once = yes	
	immediate = {
		hidden_effect = {
			set_global_flag = zre_omniki_zatashili_flag
		}
	}	
	option = {
		name = jungo.146.a
		add_timed_idea = {
			idea = zre_omniki_pobeditely
			days = 365
		}
		add_ideas = zre_poslevoenny_golod
		add_ideas = zre_ekonomich_posledstv
	}
}

###### Республиканская Конституция
country_event = {
	id = jungo.147
	title = jungo.147.t
	desc = jungo.147.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			set_variable = { zre_omnili_revol_proletariat_var = 0 }
			set_variable = { zre_omnili_revol_generalitet_var = 0 }
		}
	}
	option = {
		name = jungo.147.a
		ai_chance = {
			base = 1			
		}	
		custom_effect_tooltip = jungo.147.a.tt
		add_to_variable = { zre_omnili_revol_proletariat_var = 1 } 
		country_event = { id = jungo.148 }
	}
	option = {
		name = jungo.147.b		
		ai_chance = {
			base = 1			
		}
		custom_effect_tooltip = jungo.147.b.tt	
		add_to_variable = { zre_omnili_revol_generalitet_var = 1 } 
		country_event = { id = jungo.148 }	
	}
}

###### Республиканская Конституция
country_event = {
	id = jungo.148
	title = jungo.148.t
	desc = jungo.148.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.148.a
		ai_chance = {
			base = 1			
		}	
		custom_effect_tooltip = jungo.148.a.tt
		add_to_variable = { zre_omnili_revol_proletariat_var = 1 } 
		country_event = { id = jungo.149 }
	}
	option = {
		name = jungo.148.b		
		ai_chance = {
			base = 1			
		}
		custom_effect_tooltip = jungo.148.b.tt	
		add_to_variable = { zre_omnili_revol_generalitet_var = 1 } 
		country_event = { id = jungo.149 }	
	}
}

###### Республиканская Конституция Внешние приоритеты
country_event = {
	id = jungo.149
	title = jungo.149.t
	desc = jungo.149.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.149.a
		ai_chance = {
			base = 1			
		}	
		custom_effect_tooltip = jungo.149.a.tt
		add_to_variable = { zre_omnili_revol_proletariat_var = 1 } 
		country_event = { id = jungo.150 }
	}
	option = {
		name = jungo.149.b		
		ai_chance = {
			base = 1			
		}
		custom_effect_tooltip = jungo.149.b.tt	
		add_to_variable = { zre_omnili_revol_generalitet_var = 1 } 
		country_event = { id = jungo.150 }	
	}
}

###### Республиканская Конституция ИТОГ
country_event = {
	id = jungo.150
	Hidden = yes
	title = jungo.150.t
	desc = jungo.150.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {		
		if = {
			limit = {
				check_variable = { zre_omnili_revol_proletariat_var > zre_omnili_revol_generalitet_var }
			}
#			set_country_flag = zre_omniki_zenki_win_flag
#			complete_national_focus = zre_omniki_zenki_win
			country_event = { id = jungo.191 }
		}
		if = {
			limit = {
				check_variable = { zre_omnili_revol_proletariat_var < zre_omnili_revol_generalitet_var }
			}
			country_event = { id = jungo.192 }
#			set_country_flag = zre_omniki_generaly_win_flag
#			complete_national_focus = zre_omniki_generaly_win
		}		
	}
#	option = {
#		name = jungo.150.a
#		effect_tooltip = {	##
#			if = {
#				limit = {
#					check_variable = { zre_omnili_revol_proletariat_var > zre_omnili_revol_generalitet_var }
#				}
#				complete_national_focus = zre_omniki_zenki_win
#			}
#			if = {
#				limit = {
#					check_variable = { zre_omnili_revol_proletariat_var < zre_omnili_revol_generalitet_var }
#				}
#				complete_national_focus = zre_omniki_generaly_win
#			}	
#		}		
#	}	
}

###### aРеспублика просит помощи
country_event = {
	id = jungo.151
	title = jungo.151.t
	desc = jungo.151.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.151.a
		ai_chance = {
			base = 10			
		}
		add_timed_idea = {
			idea = zre_pomosh_izvne_omnikam
			days = 400
		}
		add_ai_strategy = {
			type = befriend
			id = ZRE
			value = 50
		}
		add_ai_strategy = {
			type = send_volunteers_desire
			id = ZRE
			value = 100
		}		
	}
	option = {
		name = jungo.151.b	
		trigger = {
			has_political_power > 49
		}		
		ai_chance = {
			base = 5			
		}	
		add_political_power = -50
		ZRE = {
			add_political_power = 50
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 100
					producer = ZRE
				}
			}
		}		
	}
	option = {
		name = jungo.151.c		
		ai_chance = {
			base = 1			
		}		
	}
}

###### нам удалось в результате диверсии устранить фельдмаршала Tao Dong у империи!
country_event = {
	id = jungo.152
	title = jungo.152.t
	desc = jungo.152.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.152.a
		effect_tooltip = {
			ZMN = {
				add_war_support = -0.02
				remove_unit_leader = 22813				
			}
		}
	}
}

###### эвент империи. фельдмаршал Tao Dong был убит диверсантами республики!
country_event = {
	id = jungo.153
	title = jungo.153.t
	desc = jungo.153.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			remove_unit_leader = 22813			
		}
	}	
	option = {
		name = jungo.153.a
		effect_tooltip = {
			remove_unit_leader = 22813
		}
		add_war_support = -0.06
	}
}

###### эвент  республике. наша диверсия не удалась  Tao Dong жив
country_event = {
	id = jungo.154
	title = jungo.154.t
	desc = jungo.154.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.154.a		
	}
}

###### нам удалось в результате диверсии устранить фельдмаршала Nianzu Feng у империи!
country_event = {
	id = jungo.155
	title = jungo.155.t
	desc = jungo.155.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.155.a
		effect_tooltip = {
			ZMN = {
				add_war_support = -0.02
				remove_unit_leader = 22814
			}
		}
	}
}

###### эвент империи. фельдмаршал Nianzu Feng был убит диверсантами республики!
country_event = {
	id = jungo.156
	title = jungo.156.t
	desc = jungo.156.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			remove_unit_leader = 22814			
		}
	}	
	option = {
		name = jungo.156.a
		effect_tooltip = {
			remove_unit_leader = 22814
		}
		add_war_support = -0.06
	}
}

###### эвент  республике. наша диверсия не удалась  Nianzu Feng жив
country_event = {
	id = jungo.157
	title = jungo.157.t
	desc = jungo.157.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.157.a		
	}
}

###### нам удалосб понаделать супер мега диверсию в империи. много генералов у них того самого этого кароч да
country_event = {
	id = jungo.158
	title = jungo.158.t
	desc = jungo.158.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.158.a
		effect_tooltip = {
			ZMN = {
				add_war_support = -0.12
				add_stability = -0.06
				every_unit_leader = {
					limit = {
						has_id = 22815
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22816
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22817
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22818
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22820
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22821
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22822
					}
					retire = yes
				}				
			}
		}
	}
}

###### эвент империи. операции «Спокойная ночь» удалась
country_event = {
	id = jungo.159
	title = jungo.159.t
	desc = jungo.159.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_unit_leader = 22815
				}
				every_unit_leader = {
					limit = {
						has_id = 22815
					}
					retire = yes
				}
			}
#				every_unit_leader = {
#					limit = {
#						has_id = 22815
#					}
#					retire = yes
#				}
				every_unit_leader = {
					limit = {
						has_id = 22816
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22817
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22818
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22820
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22821
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22822
					}
					retire = yes
				}		
		}
	}	
	option = {
		name = jungo.159.a
		effect_tooltip = {
			every_unit_leader = {
					limit = {
						has_id = 22815
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22816
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22817
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22818
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22820
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22821
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22822
					}
					retire = yes
				}
		}
		add_war_support = -0.1
		add_stability = -0.05
	}
}

###### эвент  республике. наша супер диверсия не удалась  
country_event = {
	id = jungo.160
	title = jungo.160.t
	desc = jungo.160.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.160.a	
		hidden_effect = {
			ZMN = {
				country_event = { id = jungo.295 }
			}	
		}		
	}
}

###### эвент  колониям чунги что там переворот, республика восстала. И это наш ганс на независимость
country_event = {
	id = jungo.161
	title = jungo.161.t
	desc = jungo.161.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.161.a	
		add_stability = -0.05
		if = {
			limit = {
				tag = ZTH
			}
			country_event = { id = sinka.1 }
		}
	}
}

###### эвент  республике. наша диверсия удалась. популярный в народе империи  минист Zeng Zexian  убит 
country_event = {
	id = jungo.162
	title = jungo.162.t
	desc = jungo.162.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.162.a	
		ZMN = {
			custom_effect_tooltip = remove_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_1
		}	
	}
}

###### эвент  империи. популярный в народе империи  минист Zeng Zexian  убит 
country_event = {
	id = jungo.163
	title = jungo.163.t
	desc = jungo.163.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.163.a	
		add_stability = -0.06
		set_country_flag = zmn_jungo_polit_1_kill_flag
		custom_effect_tooltip = remove_political_advisor
		show_ideas_tooltip = zmn_jungo_polit_1
		hidden_effect = {
			remove_ideas = zmn_jungo_polit_1
		}	
	}
}

###### эвент  республике. наша диверсия НЕ удалась. популярный в народе империи  минист Zeng Zexian  жив здоров 
country_event = {
	id = jungo.164
	title = jungo.164.t
	desc = jungo.164.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.164.a		
	}
}

###### эвент  ИМПЕРИИ при династии Шу (вояки) о том что среди ванств какойто внутренний конфликт назревает. Они кароч чото поругались кароч все. минус стабка (предпосылки к развалу и тотал вару)
country_event = {
	id = jungo.165
	title = jungo.165.t
	desc = jungo.165.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.165.a	
		add_stability = -0.03
	}
}

###### эвент  ИМПЕРИИ что в ходе мер по борьбе с кризисом ККРРС решило сжечь лишние деньги, омники не заценили (и чаво ето даст?)
country_event = {
	id = jungo.166
	title = jungo.166.t
	desc = jungo.166.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.166.a
		add_stability = 0.02
		add_timed_idea = {
			idea = zmn_posledstviya_sjiganiya_deneg_kkrrs
			days = 700
		}	
	}
}

###### эвент  ИМПЕРИИ что в ходе мер по борьбе с кризисом ККРРС решило раздать лишние деньги на всякие там улучшения рабочих условий, бейисты не заценили (и чаво ето даст?)
country_event = {
	id = jungo.167
	title = jungo.167.t
	desc = jungo.167.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.167.a	
		add_timed_idea = {
			idea = zmn_posledstviya_razdachi_deneg_kkrrs
			days = 360
		}
	}
}

###### эвент  ИМПЕРИИ. Бао Дуань из династии Юэ вогглавил империю но не все довольны. говорят что он ещё молод и неумел. Люди относятся к нему с недоверием, сможет ли он вытащить страну из кризиса? 
country_event = {
	id = jungo.168
	title = jungo.168.t
	desc = jungo.168.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.168.a	
		add_political_power = 30
		add_stability = -0.01
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 10
			}
		}
	}
}

###### эвент  ИМПЕРИИ. в честь молодого Бао Дуань из династии Юэ проводится праздник. Но в столице какая то заворушка. Недовольные вышли на улицах. Им не нравятся траты денег на такие мероприятия, кто-то углядел в этом празднике возвращение к устаревшим традициям наследования трона, типа прощай выборная монархия. Протестующие разбили палаточный лагерь на главной площади и не собираются расходиться.
country_event = {
	id = jungo.169
	title = jungo.169.t
	desc = jungo.169.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.169.a	
		add_stability = -0.01
		add_timed_idea = {
			idea = zmn_protivniki_molodogo_inperatora
			days = 3650
		}
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = -5
			}
		}
	}
}

###### эвент  ИМПЕРИИ. 
country_event = {
	id = jungo.170
	title = jungo.170.t
	desc = jungo.170.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.170.a	
		ai_chance = {
			base = 3			
		}
		add_country_leader_trait = zmn_iunu_milutarist
		hidden_effect = {
			every_other_country = {
				limit = { 
					NOT = {
						is_in_faction_with = ZMN
					}
				}				
				add_opinion_modifier = {
					target = ZMN
					modifier = zmn_iuny_militarist_opin
				}
			}
		}
		set_global_flag = zmn_ue_militarist_glob_flag
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = -10
			}
		}
		add_to_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 1 }	
		add_to_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 1 }	
		subtract_from_variable = { zmn_kkrrs_vany_nedovolstvo_var = 1 }	
	}
	option = {
		name = jungo.170.b	
		ai_chance = {
			base = 5			
		}
		add_country_leader_trait = zmn_iunu_beiist
		add_stability = 0.01
		add_popularity = {
			ideology = democratic
			popularity = 0.03
		}
		set_global_flag = zmn_ue_beiist_glob_flag
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 10
			}
		}
		subtract_from_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 1 }	
		subtract_from_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 1 }		
	}
}

###### 
country_event = {
	id = jungo.171
	title = jungo.171.t
	desc = jungo.171.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.171.a	
		custom_effect_tooltip = jungo.171.tt
		hidden_effect = {
			set_variable = { zmn_zhuhou_support = 30 }
			set_country_flag = ZMN_ue_senat_chjuhou_flag
			zmn_recalc_zhuhou_icon_frames = yes	
			country_event = { days = 10 id = jungo.172 }
		}
	}
}


country_event = {
	id = jungo.172
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic			
	}
	immediate = {
		random_list = {
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support < 50 }
					factor = 1.1
				}				
				country_event = { id = jungo.173 days = 15 random = 10 } #small support
			} 
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support < 40 }
					factor = 1.1
				}				
				country_event = { id = jungo.174 days = 15 random = 10 } #medium support
			}
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support < 30 }
					factor = 1.1
				}				
				country_event = { id = jungo.175 days = 15 random = 10 } #high support
			}
			#
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support > 60 }
					factor = 1.1
				}				
				country_event = { id = jungo.176 days = 15 random = 10 } #small opposit
			}
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support > 70 }
					factor = 1.1
				}				
				country_event = { id = jungo.177 days = 15 random = 10 } #medium opposit
			}
			17 = { 
				modifier = {
					check_variable = { zmn_zhuhou_support > 80 }
					factor = 1.1
				}				
				country_event = { id = jungo.178 days = 15 random = 10 } #high opposit
			}
					
		}
	}
}

#zmn_zhuhou_support_plus_1
country_event = {
	id = jungo.173
	title = jungo.173.t
	desc = jungo.173.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.173.a
		zmn_zhuhou_support_plus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}

#zmn_zhuhou_support_plus_2
country_event = {
	id = jungo.174
	title = jungo.174.t
	desc = jungo.174.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.174.a
		zmn_zhuhou_support_plus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}

#zmn_zhuhou_support_plus_3
country_event = {
	id = jungo.175
	title = jungo.175.t
	desc = jungo.175.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.175.a
		zmn_zhuhou_support_plus_3 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}

#zmn_zhuhou_support_minus_1
country_event = {
	id = jungo.176
	title = jungo.176.t
	desc = jungo.176.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.176.a
		zmn_zhuhou_support_minus_1 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}

#zmn_zhuhou_support_minus_2
country_event = {
	id = jungo.177
	title = jungo.177.t
	desc = jungo.177.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.177.a
		zmn_zhuhou_support_minus_2 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}

#zmn_zhuhou_support_minus_3
country_event = {
	id = jungo.178
	title = jungo.178.t
	desc = jungo.178.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		tag = ZMN
		has_government = democratic		
	}
	option = {
		name = jungo.178.a
		zmn_zhuhou_support_minus_3 = yes
		hidden_effect = {
			country_event = { id = jungo.172 days = 70 random = 10 }
		}
	}
}


###### эвент что юный император закончил обучение всему этому конфуцианству и теперь он такой вот миротворец и может вступать в чужие войны на стороне обороняющихся
country_event = {
	id = jungo.179
	title = jungo.179.t
	desc = jungo.179.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.179.a	
		if = {
			limit = {
				NOT = {
					has_completed_focus = zmn_min_zashitnik_azii		
				}
			}
			custom_effect_tooltip = jungo.179.tt
		}
		if = {
			limit = {				
				has_completed_focus = zmn_min_zashitnik_azii					
			}
			custom_effect_tooltip = zmn_min_zashitnik_azii_tt
			add_country_leader_trait = zmn_ue_zash_asii_traitt
			hidden_effect = {
				set_country_flag = zmn_bdit_za_aziei_ue_flag
				every_other_country = {
					limit = { 
						capital_scope = {
							OR = {
								is_on_continent = asia
								is_on_continent = north_america		
								is_on_continent = south_america		
							}		
						}						
					}				
					set_country_flag = pod_kolpakom_u_zmn_ue_flag
				}
			}
		}		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.984 }
		}
	}
}

# ZMN option to intervene in war
# Hidden event to get scopes set up 
country_event = {
	id = jungo.180
	is_triggered_only = yes	
	trigger = {
		country_exists = ZMN
		ZMN = {
			has_country_leader = {
				character = ZMN_bao_duan
				ruling_only = yes
			}
		}		
	}
	hidden = yes
	immediate = {
		save_event_target_as = ZMN_being_attacked
		ZMN = {
			country_event = { id = jungo.181 }
		}
	}
}

# ZMN option to intervene in war 
country_event = {
	id = jungo.181
	title = jungo.181.t
	desc = jungo.181.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	#Intervene ultimatum war
	option = { 
		name = jungo.181.a	
		#Need to use FROM FROM scope since the one sending the event is the nation under attack
		ai_chance = {
			factor = 20			
			modifier = {
				factor = 0.2
				FROM = {
					FROM = {
						strength_ratio = {
							tag = ZMN
							ratio > 0.8
						}
					}
				}
			}		
		}
		custom_effect_tooltip = jungo.181.a_tt
		FROM = { FROM = { country_event = { id = jungo.182 days = 2 } } }
	}
	#Don't Intervene
	option = {
		name = jungo.181.b
		ai_chance = {
			factor = 5
			modifier = {
				factor = 0
				FROM = {
					FROM = {
						strength_ratio = {
							tag = ZMN
							ratio < 0.5
						}
					}
				}
			}
		}
	}
}

# Country response to ZMN intervening
country_event = {
	id = jungo.182
	title = jungo.182.t
	desc = jungo.182.d
	picture = GFX_report_event_soldiers_marching
	is_triggered_only = yes	
	#Go to war with ZMN
	option = { 
		name = jungo.182.a
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.5
				strength_ratio = {
					tag = ZMN
					ratio < 0.7
				}
				is_in_faction = yes
			}
			modifier = {
				factor = 5
				strength_ratio = {
					tag = ZMN
					ratio > 0.7
				}
			}
		}
		event_target:ZMN_being_attacked = {
			FROM = {
				add_to_war = {
					targeted_alliance = PREV
					enemy = ROOT
					hostility_reason = guarantee
				}
			}
		}
		#ROOT = {
		#	declare_war_on = {
		#		target = FROM
		#	}
		#}
		hidden_effect = {
			news_event = { id = ar_news.985 days = 2 }
		}
	}

	#Back down
	option = {
		name = jungo.182.b
		ai_chance = { 
			factor = 10
			modifier = {
				factor = 10
				strength_ratio = {
					tag = ZMN
					ratio < 0.7
				}
				is_in_faction = no
			}			
		}

		custom_effect_tooltip = jungo.182.b_tt
		hidden_effect = {
			event_target:ZMN_being_attacked = { white_peace = ROOT }
			news_event = { id = ar_news.986 days = 2 }
		}
	}
}

###### эвент  ИМПЕРИИ для  молодого Бао Дуань из династии Юэ. Все эти бунтовщики на городской площади со своими забастовками только портят вид столицы для гостей нашей Империи. Император принял решение наконец-то разогнать их."
country_event = {
	id = jungo.183
	title = jungo.183.t
	desc = jungo.183.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.183.a	
		if = {
			limit = {
				has_idea = zmn_protivniki_molodogo_inperatora
			}
			remove_ideas = zmn_protivniki_molodogo_inperatora
		}
		add_timed_idea = {
			idea = zmn_razgon_protivnikov_molodogo_inperatora
			days = 70
		}
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = -15
			}
		}
		custom_effect_tooltip = jungo.183.a.tt 
		add_to_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 3 }
		add_to_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 3 }			
	}
}

###### эвент  ИМПЕРИИ для  молодого Бао Дуань из династии Юэ. император пробует обратиться к этим бунтовщикам со своей сидячей забастовкой типа вот я такой вот серьезный, готов править. А тем до лампочки - сказали ты правь, а мы пока тут посидим, посмотрим. Если что не так то мы тебя вынесем. "
country_event = {
	id = jungo.184
	title = jungo.184.t
	desc = jungo.184.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.184.a			
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 15
			}
		}
		custom_effect_tooltip = jungo.184.a.tt
		subtract_from_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 1 }
		add_to_variable = { zmn_kkrrs_vany_nedovolstvo_var = 3 }
		add_to_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 1 }				
	}
}


###### эвент  ИМПЕРИИ для  молодого Бао Дуань из династии Юэ. Император вправе установить некоторые экономические ограничения на территории под контролем Ванов. Мы сделаем просто - либо Ваны признают что все эти протесты и забастовки их рук дело, полностью признают власть законно избранного императора, либо же получают большие экономические ограничения на своих территориях. Посмотрим как они заговорят.
country_event = {
	id = jungo.185
	title = jungo.185.t
	desc = jungo.185.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.185.a			
		random_list = {
			50 = {
				modifier = {
					factor = 1.3
					has_stability < 0.5
				}
				modifier = {
					factor = 1.2
					check_variable = { zmn_kkrrs_vany_nedovolstvo_var > 5 }
				}
				country_event = { id = jungo.186 }
			}
			50 = {
				modifier = {
					factor = 1.2
					has_stability > 0.7
				}
				country_event = { id = jungo.187 }
			}
		}		
	}
}


###### эвент  ИМПЕРИИ для  молодого Бао Дуань из династии Юэ. Ванствам не понравился ультиматум императора и они восстали (Шу и Чу), Минь оказали императору поддержку и вообще молодцы конечно    новость 989
country_event = {
	id = jungo.186
	title = jungo.186.t
	desc = jungo.186.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {		
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}				
			clr_country_flag = zmn_krizis_dlya_chu_i_ue_flag	# кризис не страшен			
			
#			zmn_kolonii_chungo_otpali = yes	# не опали
#			release = XMI
#			release = ZYU	# Юэ
			release = XCH	# Чу  выходит
			release = ZXS	# это Шу 
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = XCH
				size = 0.2 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.2
				army_ratio = 0.2
				navy_ratio = 0.1
				air_ratio = 0.2
#				keep_unit_leaders = {
#						    
#				}
#				keep_unit_leaders_trigger = {
#					
#				}
			}
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZXS
				size = 0.2 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.2
				army_ratio = 0.2
				navy_ratio = 0.1
				air_ratio = 0.2
#				keep_unit_leaders = {
#						    
#				}
#				keep_unit_leaders_trigger = {
#					
#				}
			}
			XCH = {
				
				if = {
					limit = {
						NOT = { has_dlc = "No Step Back" }
					}
					load_oob = "XCH_raspad"	
				}
				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					load_oob = "XCH_raspad_nsb"	
				}
				add_political_power = 120
				add_stability = 0.1
				add_war_support = 0.1
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}				
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}										
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN	
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				add_timed_idea = {
					idea = zmn_vany_myatejniki
					days = 300
				}
			}
			ZXS = {
				load_oob = "ZXS_raspad"	
				add_political_power = 120
				add_stability = 0.1
				add_war_support = 0.1
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}				
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}										
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				add_timed_idea = {
					idea = zmn_vany_myatejniki
					days = 300
				}
			}
			add_ai_strategy = {
				type = conquer
				id = XCH
				value = 200
			}
			add_ai_strategy = {
				type = conquer
				id = ZXS
				value = 200
			}
			add_timed_idea = {
				idea = zmn_vany_myatejniki
				days = 300
			}	
			every_state = {
				limit = { is_core_of = XCH }				
				add_claim_by = ZMN
			}
			every_state = {
				limit = { is_core_of = ZXS }				
				add_claim_by = ZMN
			}
		}
		
	}	
	option = {
		name = jungo.186.a			
		custom_effect_tooltip = jungo.186.a.tt 	
		if = {
			limit = {
				has_idea = zmn_protivniki_molodogo_inperatora
			}
			remove_ideas = zmn_protivniki_molodogo_inperatora
		}	
		if = {
			limit = {
				has_idea = zmn_upadok_armii
			}
			remove_ideas = zmn_upadok_armii
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.989 }	
		}
	}
}

###### эвент  ИМПЕРИИ для  молодого Бао Дуань из династии Юэ. ванства признали что мятежи их рук дело, конечно мы не станем оглашать это всё на публику. Но мятежи теперь прекратились, хорошечно
country_event = {
	id = jungo.187
	title = jungo.187.t
	desc = jungo.187.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.187.a			
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 18
			}
		}
		if = {
			limit = {
				has_idea = zmn_protivniki_molodogo_inperatora
			}
			remove_ideas = zmn_protivniki_molodogo_inperatora
		}
		subtract_from_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 1 }
		add_to_variable = { zmn_kkrrs_vany_nedovolstvo_var = 3 }
		subtract_from_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 1 }				
	}
}

#### восстание омников по миссии на оправдание доверия
country_event = {
	id = jungo.188
	title = jungo.188.t
	desc = jungo.188.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN		
	}
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}			
			1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}	
			transfer_units_fraction = {
				target = ZRE
				size = 0.5 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.5
				army_ratio = 0.5
				navy_ratio = 0.2
				air_ratio = 0.4
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}	
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			ZRE = {
				### установить политику, по умолчани. они омники
				### дать фокусы доступные омникам открытыми
				inherit_technology = ZMN
				complete_national_focus = zre_sotsialistik_resp
				set_stability = 0.4
				set_war_support = 0.8
				add_political_power = 450
#				load_oob = "ZRE_revolt"
				load_oob = "ZRE_rebel_militia"
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					if = {
						limit = {
							ZMN = {
								is_ai = yes
							}
							ZRE = {
								is_ai = yes
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN	
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1578
					producer = ZMN
				}				
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				add_ideas = zre_vnutrennye_vspysk_kontrevol	 # Внутренние вспышки контрреволюции
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
			}
			country_event = { days = 5 id = jungo.296 }
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			news_event = { hours = 3 id = ar_news.959 }
		}
	}
	option = {
		name = jungo.188.a			
		custom_effect_tooltip = jungo.46.a.tt 		
	}	
}

#### восстание демов по миссии на оправдание доверия +новость 990
country_event = {
	id = jungo.189
	title = jungo.189.t
	desc = jungo.189.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		tag = ZMN		
	}
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}			
			1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}	
			transfer_units_fraction = {
				target = ZRE
				size = 0.5 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.5
				army_ratio = 0.5
				navy_ratio = 0.2
				air_ratio = 0.4
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}	
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			ZRE = {
				### установить политику, по умолчани. они омники
				### дать фокусы доступные омникам открытыми
				inherit_technology = ZMN
				complete_national_focus = zre_dvuhpatr_respubl
				set_popularities = {
					democratic = 68
					neutrality = 1
					fascism = 1
					communism = 30
				}
				set_politics = {
					ruling_party = democratic
				}
				# create_country_leader = {	
					# name = "Coalition Council"
					# desc = ""
					# picture = "zre_coalition_council.tga"
					# expire = "2010.1.1"
					# ideology = conservatism
					# traits = {
						# zre_neloyalny_generaly_traitt
					# }
				# }
				add_country_leader_role = {
					character = "ZRE_coalition_council"
					country_leader = {
						ideology = conservatism
						traits = { zre_neloyalny_generaly_traitt }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				set_stability = 0.4
				set_war_support = 0.8				
				add_political_power = 450
#				load_oob = "ZRE_revolt"
				load_oob = "ZRE_rebel_militia"
				if = {
					limit = {
						ZRE = {
							is_ai = yes
						}
						ZMN = {
							is_ai = yes
						}
					}
					division_template = {
						name = "Peoples guard"				
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
						create_unit = {
							division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
							owner = ZRE
						}	
					}
					if = {
						limit = {
							ZMN = {
								is_ai = yes
							}
							ZRE = {
								is_ai = yes
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
						}
						random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}
							create_unit = {
								division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
								owner = ZRE
							}	
						}
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN	
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1578
					producer = ZMN
				}				
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				add_ideas = zre_problema_s_omnikami	 # Противоречия с омнипаристами
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
				country_event = { days = 12 id = jungo.316 }	# Сложная обстановка в республиканской армии
			}	
			country_event = { days = 5 id = jungo.296 }	
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			news_event = { hours = 3 id = ar_news.990 }
		}
	}
	option = {
		name = jungo.189.a			
		custom_effect_tooltip = jungo.189.a.tt 		
	}	
}

### эвент Что чунго по миссии на оправдание доверия (для чу и юэ) развалилось на ванства которые воот между собой (ДОДЕЛАТ И ПРОВЕРИТЬ, СЛОЖНА ПОТОМУ ЧТО) +новость 991
country_event = {
	id = jungo.190
	title = jungo.190.t
	desc = jungo.190.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.991 }
			if = {
				limit = {
					is_faction_leader = yes
				}
				dismantle_faction = yes
			}
			# готовим 
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_template = "Zhimindi Lu"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Lu"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Bubing Shi"
				}
				set_division_template_lock = {
					division_template = "Bubing Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhimindi Shi"
				}
				set_division_template_lock = {
					division_template = "Zhimindi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Qibing Jun"
				}
				set_division_template_lock = {
					division_template = "Qibing Jun"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Zhuangjia Shi"
				}
				set_division_template_lock = {
					division_template = "Zhuangjia Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Jidong Shi"
				}
				set_division_template_lock = {
					division_template = "Jidong Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_template = "Shandi Shi"
				}
				set_division_template_lock = {
					division_template = "Shandi Shi"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			###
			if = {
				limit = {
					NOT = {
						country_exists = XMI
					}
				}
				release = XMI
			}
			if = {
				limit = {
					NOT = {
						country_exists = ZYU
					}
				}
				release = ZYU
			}
			if = {
				limit = {
					NOT = {
						country_exists = XCH
					}
				}
				release = XCH
			}
			if = {
				limit = {
					NOT = {
						country_exists = ZXS
					}
				}
				release = ZXS
			}
			ZMN_mao_dong = {
				set_nationality = XMI
			}
			XMI = {
				# create_country_leader = {	
					# name = "Mao Dong"
					# desc = ""
					# picture = "zmi_Mao_ddong.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_mao_dong"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				load_oob = "XMI_raspad"	
				add_political_power = 120
				add_stability = 0.3
				add_war_support = 0.3
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 3000
					producer = ZMN
				}					
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}	
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}	
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XMI
					}	
				}
				declare_war_on = {
					target = XCH
					type = civil_war
				}
				add_civil_war_target = XCH	
				add_ai_strategy = {
					type = conquer
					id = XCH
					value = 200
				}
				declare_war_on = {
					target = ZYU
					type = civil_war
				}
				add_civil_war_target = ZYU
				add_ai_strategy = {
					type = conquer
					id = ZYU
					value = 200
				}
				declare_war_on = {
					target = ZXS
					type = civil_war
				}
				add_civil_war_target = ZXS	
				add_ai_strategy = {
					type = conquer
					id = ZXS
					value = 200
				}
				every_state = {
					limit = { is_core_of = XCH }					
					add_claim_by = XMI
				}
				every_state = {
					limit = { is_core_of = ZYU }					
					add_claim_by = XMI
				}
				every_state = {
					limit = { is_core_of = ZXS }					
					add_claim_by = XMI
				}
			}
			ZMN_bao_duan = {
				set_nationality = ZYU
			}
			ZYU = {
				# create_country_leader = {	
					# name = "Bao Duan"
					# desc = ""
					# picture = "ZYU_Bao_duan.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_bao_duan"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				load_oob = "ZYU_raspad"	
				add_political_power = 120
				add_stability = 0.3
				add_war_support = 0.3
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 3000
					producer = ZMN
				}				
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}	
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZYU
					}					
				}
				declare_war_on = {
					target = XCH
					type = civil_war
				}
				add_civil_war_target = XCH	
				add_ai_strategy = {
					type = conquer
					id = XCH
					value = 200
				}
				declare_war_on = {
					target = ZXS
					type = civil_war
				}
				add_civil_war_target = ZXS	
				add_ai_strategy = {
					type = conquer
					id = ZXS
					value = 200
				}
				every_state = {
					limit = { is_core_of = XCH }					
					add_claim_by = ZYU
				}
				every_state = {
					limit = { is_core_of = XMI }					
					add_claim_by = ZYU
				}
				every_state = {
					limit = { is_core_of = ZXS }					
					add_claim_by = ZYU
				}
			}
			ZMN_luo_jiahao = {
				set_nationality = XCH
			}			
			XCH = {
				# create_country_leader = {	
					# name = "Luo Jiahao"
					# desc = ""
					# picture = "XCH_Luo_jiahao.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_luo_jiahao"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				
				if = {
					limit = {
						NOT = { has_dlc = "No Step Back" }
					}
					load_oob = "XCH_raspad"	
				}
				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					load_oob = "XCH_raspad_nsb"	
				}
				add_political_power = 120
				add_stability = 0.3
				add_war_support = 0.3
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 3000
					producer = ZMN
				}				
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}	
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = XCH
					}	
				}
				declare_war_on = {
					target = ZXS
					type = civil_war
				}
				add_civil_war_target = ZXS	
				add_ai_strategy = {
					type = conquer
					id = ZXS
					value = 200
				}
				every_state = {
					limit = { is_core_of = ZYU }					
					add_claim_by = XCH
				}
				every_state = {
					limit = { is_core_of = XMI }					
					add_claim_by = XCH
				}
				every_state = {
					limit = { is_core_of = ZXS }					
					add_claim_by = XCH
				}
			}
			ZMN_xian_zhou = {
				set_nationality = ZXS
			}
			ZXS = {
				# create_country_leader = {	
					# name = "Xian Zhou"
					# desc = ""
					# picture = "ZXS_Xian_zzhou.tga"
					# expire = "2010.1.1"
					# ideology = parlament_monarch
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZMN_xian_zhou"
					country_leader = {
						ideology = parlament_monarch
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				load_oob = "ZXS_raspad"	
				add_political_power = 120
				add_stability = 0.3
				add_war_support = 0.3
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 3000
					producer = ZMN
				}				
				division_template = {
					name = "Collaboration Squad"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}					
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}					
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}										
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}	
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
				}
				random_owned_state = {		# для баланса				
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}	
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Squad\" start_experience_factor = 0.2"
						owner = ZXS
					}	
				}
				every_state = {
					limit = { is_core_of = ZYU }					
					add_claim_by = ZXS
				}
				every_state = {
					limit = { is_core_of = XMI }					
					add_claim_by = ZXS
				}
				every_state = {
					limit = { is_core_of = XCH }					
					add_claim_by = ZXS
				}
			}
			zmn_kolonii_chungo_otpali = yes
			####
			
			#####
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_mao_dong
						ruling_only = yes
					}
				}
				XMI = {		
					change_tag_from = ZMN			
				}
			}
			else_if = {
				limit = {
					has_country_leader = {
						character = ZMN_xian_zhou
						ruling_only = yes
					}
				}
				ZXS = {		
					change_tag_from = ZMN			
				}
			}
			else_if = {
				limit = {
					has_country_leader = {
						character = ZMN_bao_duan
						ruling_only = yes
					}
				}
				ZYU = {		
					change_tag_from = ZMN			
				}
			}
			else_if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
				}
				XCH = {		
					change_tag_from = ZMN			
				}
			}
			else = {
				XCH = {		
					change_tag_from = ZMN			
				}
			}
			set_global_flag = zmn_chungo_raspad_vany_batin_royal_flag
			if = {
				limit = {
					country_exists = ZMN
				}
				ZTH = {		
					annex_country = {
						target = ZMN				
					}
				}				
			}
			every_state = {
				limit = { is_core_of = ZMN }
				remove_core_of = ZMN
			}
		}
	}
	option = {
		name = jungo.190.a		
	}
}

###### эвент республике ОМНИКАМ. женьцы победили, но тюншинцы их подставили и зохватили власть. женьцы в подполье
country_event = {
	id = jungo.191
	title = jungo.191.t
	desc = jungo.191.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}
	immediate = {
		hidden_effect = {
			add_stability = -0.02
			add_ideas = zre_omniki_raskol_v_partii
			set_country_flag = zre_omniki_zenki_win_flag
			set_country_flag = zre_zenki_vosstanie_flag
			complete_national_focus = zre_omniki_zenki_win
			set_variable = { zre_zenki_vosstanie_weapon_var = 115 }
			set_variable = { zre_legitimnost_tunsiitsev_var = 1 }
			set_variable = { zre_zenki_kolichestvo_steitov_var = 9 }
			
			751 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			1120 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			603 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			1116 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			605 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			1115 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			1085 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
			1119 = {
				set_state_flag = zre_zenki_loyalnost_state_flag
			}
		}
	}	
	option = {
		name = jungo.191.a
		effect_tooltip = {			
			complete_national_focus = zre_omniki_zenki_win
			add_ideas = zre_omniki_raskol_v_partii
		}		
		set_party_name = { ideology = communism long_name = ZRE_tunsin_communism_party name = ZRE_tunsin_communism_party }
		# create_country_leader = {
			# name = "Kianfang Wen"	#	тюншинец, военный омник!
			# desc = ""
			# picture = "portrait_ZRE_Kianfang_Wen.tga"
# #			picture = "fen_shousin.tga"	# поменять фотку!!
			# expire = "2010.1.1"
			# ideology = war_omniparism
			# traits = {		
			# }
		# }
		add_country_leader_role = {
			character = "ZRE_kianfang_wen"
			country_leader = {
				ideology = war_omniparism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		custom_effect_tooltip = jungo.191.a.tt 
		unlock_decision_tooltip = zre_start_vosstaniya_jentsev	
	}
}

###### эвент республике ОМНИКАМ. тюншинцы победили
country_event = {
	id = jungo.192
	title = jungo.192.t
	desc = jungo.192.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}
	immediate = {
		hidden_effect = {
			set_country_flag = zre_omniki_generaly_win_flag
			complete_national_focus = zre_omniki_generaly_win
			add_stability = -0.02
			add_ideas = zre_omniki_raskol_v_partii
		}
	}	
	option = {
		name = jungo.192.a
		effect_tooltip = {			
			complete_national_focus = zre_omniki_generaly_win
			add_ideas = zre_omniki_raskol_v_partii
		}	
		set_party_name = { ideology = communism long_name = ZRE_tunsin_communism_party name = ZRE_tunsin_communism_party }
		# create_country_leader = {
			# name = "Kianfang Wen"	#	тюншинец, военный омник. Так и должен тут быть
			# desc = "Kianfang_wen_declead"
			# picture = "portrait_ZRE_Kianfang_Wen.tga"
			# expire = "2010.1.1"
			# ideology = war_omniparism
			# traits = {		
			# }
		# }
		add_country_leader_role = {
			character = "ZRE_kianfang_wen"
			country_leader = {
				desc = "Kianfang_wen_declead"
				ideology = war_omniparism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		hidden_effect = {
			country_event = { days = 55 id = jungo.201 }	# Массовые вспышки заболеваний
			country_event = { days = 78 id = jungo.202 }	# Разруха в сельском хозяйстве
		}
	}
}

###### ТЕСТОВЫЙ эвент, мы перекатываемся за ZRE
country_event = {
	id = jungo.193
	title = jungo.193.t
	desc = jungo.193.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
		
	option = {
		name = jungo.193.a
		if = {
			limit = {
				is_faction_leader = yes
			}
			dismantle_faction = yes
		}
		every_state = {
			limit = { is_core_of = ZMN }
			add_core_of = ZRE			
		}
		ZRE = {					
			annex_country = { target = ZMN }
			inherit_technology = ZMN
			complete_national_focus = zre_sotsialistik_resp
			set_stability = 0.4
			set_war_support = 0.8
			add_political_power = 450
			load_oob = "ZRE_rebel_militia"
			change_tag_from = ZMN			
		}		
	}
	option = {
		name = jungo.193.b
		if = {
			limit = {
				is_faction_leader = yes
			}
			dismantle_faction = yes
		}
		every_state = {
			limit = { is_core_of = ZMN }
			add_core_of = ZRE			
		}
		ZRE = {					
			annex_country = { target = ZMN }
			inherit_technology = ZMN
			complete_national_focus = zre_dvuhpatr_respubl
			add_ideas = zre_problema_s_omnikami	 # Противоречия с омнипаристами
			add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
			add_ideas = zre_devalv_valuty	 # Девальвация валюты
			add_popularity = {
				ideology = democratic
				popularity = 0.7
			}
			set_politics = {
				ruling_party = democratic
			}
			# create_country_leader = {	
				# name = "Coalition Council"
				# desc = ""
				# picture = "zre_coalition_council.tga"
				# expire = "2010.1.1"
				# ideology = conservatism
				# traits = {	
					# zre_neloyalny_generaly_traitt
				# }
			# }
			add_country_leader_role = {
				character = "ZRE_coalition_council"
				country_leader = {
					ideology = conservatism
					traits = { zre_neloyalny_generaly_traitt }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			set_stability = 0.4
			set_war_support = 0.8
			add_political_power = 450
			load_oob = "ZRE_rebel_militia"
			country_event = { days = 12 id = jungo.316 }	# Сложная обстановка в республиканской армии
			change_tag_from = ZMN			
		}		
	}
}

## потеря оружия 127
country_event = {
	id = jungo.194
	title = jungo.194.t
	desc = jungo.194.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		has_government = communism
		has_civil_war = no
		check_variable = { zre_zenki_vosstanie_weapon_var > 150 }
	}
	option = { 
		name = jungo.194.a	
		subtract_from_variable = { zre_zenki_vosstanie_weapon_var = 127 }
		custom_effect_tooltip = jungo.194.a.tt 
	}	
}

## потеря оружия 203
country_event = {
	id = jungo.195
	title = jungo.195.t
	desc = jungo.195.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		has_government = communism
		has_civil_war = no
		check_variable = { zre_zenki_vosstanie_weapon_var > 150 }
	}
	option = { 
		name = jungo.195.a	
		subtract_from_variable = { zre_zenki_vosstanie_weapon_var = 203 }
		custom_effect_tooltip = jungo.195.a.tt
	}	
}

## руспублика восстание женьцев против тюншинцев. го го
country_event = {
	id = jungo.196
	title = jungo.196.t
	desc = jungo.196.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	immediate = {	
		hidden_effect = {
			set_global_flag = zre_vosstanie_v_partii_glob_flag
			clr_country_flag = zre_zenki_vosstanie_flag			
			set_country_flag = zre_zenki_alliastag_flag		# tag aliases
			create_dynamic_country = {
				original_tag = ZRE
				set_country_flag = zre_tunsintsy_alliastag_flag
				set_politics = {
					ruling_party = fascism
				}
#				set_cosmetic_tag = ZRE_tunsinsy
				set_research_slots = 3
				reserve_dynamic_country = yes
			}
			drop_cosmetic_tag = yes		# ннада??
			retire_ideology_leader = communism			
			# create_country_leader = {
				# name = "Li Zou"	# женец
				# desc = ""
				# picture = "portrait_ZRE_Li_Zou.tga"
				# expire = "2010.1.1"
				# ideology = leninism
				# traits = {	
					# zre_yaruy_civitist
				# }
			# }
			add_country_leader_role = {
				character = "ZRE_li_zou"
				country_leader = {
					ideology = leninism
					traits = { zre_yaruy_civitist }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			if = {
				limit = {
					has_idea = zre_omniki_raskol_v_partii
				}
				remove_ideas = zre_omniki_raskol_v_partii
			}
			if = {
				limit = {
					has_idea = zre_raskol_v_partii_2
				}
				remove_ideas = zre_raskol_v_partii_2
			}
			division_template = {
				name = "Revolutionary Jenmin Guard"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			
			# тут мы женьцам армию даём		
			ZRE_kianfang_wen = {
				set_nationality = ZJO
			}	
			ZJO = {
				country_event = { days = 15 id = jungo.201 }	# Массовые вспышки заболеваний
				country_event = { days = 25 id = jungo.202 }	# Разруха в сельском хозяйстве
				set_politics = {
					ruling_party = communism
				}
				set_popularities = {
					democratic = 10
					neutrality = 5
					communism = 85
				}
				# create_country_leader = {
					# name = "Kianfang Wen"	#	тюншинец, военный омник. Так и должен тут быть
					# desc = ""
					# picture = "portrait_ZRE_Kianfang_Wen.tga"
					# expire = "2010.1.1"
					# ideology = war_omniparism
					# traits = {		
					# }
				# }
				add_country_leader_role = {
					character = "ZRE_kianfang_wen"
					country_leader = {
						ideology = war_omniparism
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				clr_country_flag = zre_omniki_zenki_win_flag
				set_country_flag = zre_omniki_generaly_win_flag	#для доступности фокусов
				load_focus_tree = {
					tree = ZRE
					keep_completed = yes
				}
				unlock_national_focus = zre_sotsialistik_resp
				unlock_national_focus = zre_2_sobranie
				unlock_national_focus = zre_otryady_oborony_omni
				unlock_national_focus = zre_narodnaya_militsiya
				unlock_national_focus = zre_revenstovo
				unlock_national_focus = zre_omniki_army_1
				unlock_national_focus = zre_otryady_snabjeniya
				unlock_national_focus = zre_uvhrejdeniye_sovetov
				unlock_national_focus = zre_sudebny_dekret
				unlock_national_focus = zre_omniki_army_3
				unlock_national_focus = zre_metody_partiz_vouny
				unlock_national_focus = zre_zemeln_dekret
				unlock_national_focus = zre_revolut_army_respub
				unlock_national_focus = zre_nationaliz_big_kapital
				unlock_national_focus = zre_antirevolut
				unlock_national_focus = zre_dekret_o_prosvech
				unlock_national_focus = zre_nationaliz_bankov
				unlock_national_focus = zre_arest_generala_li
				unlock_national_focus = zre_delo_admirala_hoy
				unlock_national_focus = zre_dekret_o_posobnikah
				unlock_national_focus = zre_iii_sobranie_jenun
				unlock_national_focus = zre_nationaliz_srednei_i_melk
				unlock_national_focus = zre_arest_vanov
				unlock_national_focus = zre_dekret_o_bivs_koloniyah
				unlock_national_focus = zre_komand_ekonomika
				unlock_national_focus = zre_federat_reforma
				unlock_national_focus = zre_borba_s_parazitami
				unlock_national_focus = zre_denejn_reform
				unlock_national_focus = zre_sotsialochka
				unlock_national_focus = zre_stabiliz_omni_ekonomiki
				unlock_national_focus = zre_omniki_respublik_konstityt
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_nauka_pomogaet	
						}
					}
					complete_national_focus = zre_nauka_pomogaet
				}				
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_army_1	
						}
					}
					complete_national_focus = zre_army_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_mass_army_1	
						}
					}
					complete_national_focus = zre_mass_army_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_proff_army_1	
						}
					}
					complete_national_focus = zre_proff_army_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_army_3	
						}
					}
					complete_national_focus = zre_army_3
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_army_4	
						}
					}
					complete_national_focus = zre_army_4
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_army_5	
						}
					}
					complete_national_focus = zre_army_5
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_flot_respubliki_1	
						}
					}
					complete_national_focus = zre_flot_respubliki_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_light_flot_1	
						}
					}
					complete_national_focus = zre_light_flot_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_big_flot_1	
						}
					}
					complete_national_focus = zre_big_flot_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_vzaimod_flota	
						}
					}
					complete_national_focus = zre_vzaimod_flota
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_desant_operatii	
						}
					}
					complete_national_focus = zre_desant_operatii
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_podvodnaya_voina	
						}
					}
					complete_national_focus = zre_podvodnaya_voina
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_byro_flota	
						}
					}
					complete_national_focus = zre_byro_flota
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_avia_respubl_1	
						}
					}
					complete_national_focus = zre_avia_respubl_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_istrebiteli_1	
						}
					}
					complete_national_focus = zre_istrebiteli_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_bombery_1	
						}
					}
					complete_national_focus = zre_bombery_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_shurm_avia_1	
						}
					}
					complete_national_focus = zre_shurm_avia_1
				}
				if = {
					limit = {
						ZRE = {
							has_completed_focus = zre_ekonomik_plnirov_istrebiteli	
						}
					}
					complete_national_focus = zre_ekonomik_plnirov_istrebiteli
				}
				# если фокусы не созранятся то придётся их давать вручную 
				# давать ли национальные духи как у женьцев?
				if = {
					limit = {
						ZRE = {
							has_idea = zre_strana_s_ravenstvom
						}
					}
					add_ideas = zre_strana_s_ravenstvom
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_snh_reviz
						}
					}
					add_ideas = zre_snh_reviz
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_narodn_armiya
						}
					}
					add_ideas = zre_narodn_armiya
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_flot_molod_resp
						}
					}
					add_ideas = zre_flot_molod_resp
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_narod_militia
						}
					}
					add_ideas = zre_narod_militia
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_mobilnaya_armiya_resp
						}
					}
					add_ideas = zre_mobilnaya_armiya_resp
				}
				if = {
					limit = {
						ZRE = {
							has_idea = zre_otrd_snabjeniya
						}
					}
					add_ideas = zre_otrd_snabjeniya
				}
				#####
				complete_national_focus = zre_omniki_generaly_win
				transfer_state = 1107	# Чтобы было куда армию делить
				division_template = {
					name = "Revolutionary military guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}
				# тут мы тюншинцам армию даём	
				
			}
			# тут мы делим армию республики в зависимости от легитимности тюншинцев
			if = {
				limit = {
					check_variable = {
						var = zre_legitimnost_tunsiitsev_var
						value = 1
						compare = less_than_or_equals
					}
				}
				transfer_units_fraction = {
					target = ZJO
					size = 0.25
					stockpile_ratio = 0.25
					army_ratio = 0.25
					navy_ratio = 0.25
					air_ratio = 0.25
					# keep_unit_leaders = {						    
					# }
					# keep_unit_leaders_trigger = {						
					# }
				}
			}
			else_if = {
				limit = {
					check_variable = { zre_legitimnost_tunsiitsev_var = 2 }
				}
				transfer_units_fraction = {
					target = ZJO
					size = 0.35
					stockpile_ratio = 0.35
					army_ratio = 0.35
					navy_ratio = 0.35
					air_ratio = 0.35
					# keep_unit_leaders = {						    
					# }
					# keep_unit_leaders_trigger = {						
					# }
				}
			}
			else_if = {
				limit = {
					check_variable = { zre_legitimnost_tunsiitsev_var = 3 }
				}
				transfer_units_fraction = {
					target = ZJO
					size = 0.56
					stockpile_ratio = 0.56
					army_ratio = 0.56
					navy_ratio = 0.56
					air_ratio = 0.56
					# keep_unit_leaders = {						    
					# }
					# keep_unit_leaders_trigger = {						
					# }
				}
			}
			else_if = {
				limit = {
					check_variable = { zre_legitimnost_tunsiitsev_var = 4 }
				}
				transfer_units_fraction = {
					target = ZJO
					size = 0.72
					stockpile_ratio = 0.72
					army_ratio = 0.72
					navy_ratio = 0.72
					air_ratio = 0.72
					# keep_unit_leaders = {						    
					# }
					# keep_unit_leaders_trigger = {						
					# }
				}
			}
			else = {				
				transfer_units_fraction = {
					target = ZJO
					size = 0.85
					stockpile_ratio = 0.85
					army_ratio = 0.85
					navy_ratio = 0.85
					air_ratio = 0.85
					# keep_unit_leaders = {						    
					# }
					# keep_unit_leaders_trigger = {						
					# }
				}
			}
			#####
			if = {
				limit = {
					controls_state = 751 					
				}				
				751 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1120 					
				}				
				1120 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 603 					
				}				
				603 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1116 					
				}				
				1116 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 605 					
				}				
				605 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1115 					
				}				
				1115 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1085 					
				}				
				1085 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1119 					
				}				
				1119 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}				
			}			
			
			###
			if = {
				limit = {
					controls_state = 1108 					
				}
				ZJO = {
					transfer_state = 1108
					1108 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 728 					
				}
				ZJO = {
					transfer_state = 728
					728 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 729 					
				}
				ZJO = {
					transfer_state = 729
					729 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1109 					
				}
				ZJO = {
					transfer_state = 1109
					1109 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1123 					
				}
				ZJO = {
					transfer_state = 1123
					1123 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 592 					
				}
				ZJO = {
					transfer_state = 592
					592 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1126 					
				}
				ZJO = {
					transfer_state = 1126
					1126 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 600 					
				}
				ZJO = {
					transfer_state = 600
					600 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 326 					
				}
				ZJO = {
					transfer_state = 326
					326 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1125 					
				}
				ZJO = {
					transfer_state = 1125
					1125 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 595 					
				}
				ZJO = {
					transfer_state = 595
					595 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1111 					
				}
				ZJO = {
					transfer_state = 1111
					1111 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1106 					
				}
				ZJO = {
					transfer_state = 1106
					1106 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 1105 					
				}
				ZJO = {
					transfer_state = 1105
					1105 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			if = {
				limit = {
					controls_state = 591 					
				}
				ZJO = {
					transfer_state = 591
					591 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}	
				}
			}
			# тут стейты передаем завязанные на решения восстания
			if = {
				limit = {
					controls_state = 1112 
					NOT = {
						has_country_flag = zre_1112_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 1112
					1112 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 1112 					
					has_country_flag = zre_1112_agitatsya_flag					
				}
				1112 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			if = {
				limit = {
					controls_state = 599 
					NOT = {
						has_country_flag = zre_599_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 599
					599 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 599 					
					has_country_flag = zre_599_agitatsya_flag					
				}
				599 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 594 
					NOT = {
						has_country_flag = zre_594_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 594
					594 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 594 					
					has_country_flag = zre_594_agitatsya_flag					
				}
				594 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 750 
					NOT = {
						has_country_flag = zre_750_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 750
					750 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 750 					
					has_country_flag = zre_750_agitatsya_flag					
				}
				750 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 1113 
					NOT = {
						has_country_flag = zre_1113_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 1113
					1113 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 1113 					
					has_country_flag = zre_1113_agitatsya_flag					
				}
				1113 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 1110 
					NOT = {
						has_country_flag = zre_1110_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 1110
					1110 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 1110 					
					has_country_flag = zre_1110_agitatsya_flag					
				}
				1110 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 593 
					NOT = {
						has_country_flag = zre_593_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 593
					593 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 593 					
					has_country_flag = zre_593_agitatsya_flag					
				}
				593 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 748 
					NOT = {
						has_country_flag = zre_748_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 748
					748 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 748 					
					has_country_flag = zre_748_agitatsya_flag					
				}
				748 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 1114 
					NOT = {
						has_country_flag = zre_1114_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 1114
					1114 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 1114 					
					has_country_flag = zre_1114_agitatsya_flag					
				}
				1114 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 602 
					NOT = {
						has_country_flag = zre_602_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 602
					602 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 602 					
					has_country_flag = zre_602_agitatsya_flag					
				}
				602 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#
			if = {
				limit = {
					controls_state = 620 
					NOT = {
						has_country_flag = zre_620_agitatsya_flag
					}
				}
				ZJO = {
					transfer_state = 620
					620 = {
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
						create_unit = {
							division = "division_template = \"Revolutionary military guard\" start_experience_factor = 0.2"
							owner = ZJO
						}
					}
				}
			}
			else_if = {
				limit = {
					controls_state = 620 					
					has_country_flag = zre_620_agitatsya_flag					
				}
				620 = {
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Revolutionary Jenmin Guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
				}
			}
			#тут мы разместим дивизии по решениям
			
			
			set_party_name = { ideology = communism long_name = ZRE_jentsy_communism_party name = ZRE_jentsy_communism_party }
			# собсна старт
			ZRE = {
				declare_war_on = {
				    target = ZJO
				    type = civil_war
				}
				add_civil_war_target = ZJO
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = zre_zenki_vosstanie_weapon_var
				producer = ZRE
			}
			# нацдух-тормоз обоим странам на долгое противостояние, надо ли?
			news_event = { hours = 3 id = ar_news.995 }				
		}
	}
	option = { 
		name = jungo.196.a	
		custom_effect_tooltip = jungo.196.a.tt 
		hidden_effect = {
			country_event = { days = 15 id = jungo.201 }
			country_event = { days = 25 id = jungo.202 }
		}
	}	
}

## восстание женьцев заверщено. Женьцы победили тюнщинцев
country_event = {
	id = jungo.197
	title = jungo.197.t
	desc = jungo.197.d
	picture = GFX_report_event_generic_conference
#	is_triggered_only = yes
	trigger = {
		original_tag = ZRE
		has_global_flag = zre_vosstanie_v_partii_glob_flag
		NOT = { has_global_flag = zre_vosstanie_v_partii_over_glob_flag }		
		ZRE = { has_civil_war = no }
		has_country_flag = zre_zenki_alliastag_flag
#		any_other_country = {
#			original_tag = ZRE
#			has_government = communism
#			has_country_flag = zre_zenki_alliastag_flag
#		}
		# all_country = {
			# OR = {
				# NOT = { original_tag = ZRE }
				# has_government = communism
			# }
		# }
	}	
	mean_time_to_happen = {
		days = 2
	}
	immediate = {
		hidden_effect = {
			set_global_flag = zre_vosstanie_v_partii_over_glob_flag	
			every_country = {
				clr_country_flag = zre_zenki_alliastag_flag
				clr_country_flag = zre_tunsintsy_alliastag_flag
			}	
		}
	}
	option = {
		name = jungo.197.a
		add_stability = 0.1
		add_war_support = 0.05
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.996 }
			set_cosmetic_tag = ZRE_JENKIWIN
		}
	}
}

## восстание женьцев заверщено. Женьцы ПРОИГРАЛИ тюнщинцев
country_event = {
	id = jungo.198
	title = jungo.198.t
	desc = jungo.198.d
	picture = GFX_report_event_generic_conference
#	is_triggered_only = yes
	trigger = {
		original_tag = ZRE		
		has_global_flag = zre_vosstanie_v_partii_glob_flag
		NOT = { has_global_flag = zre_vosstanie_v_partii_over_glob_flag }		
		ZRE = { has_civil_war = no }
		has_country_flag = zre_tunsintsy_alliastag_flag
#		any_other_country = {
#			original_tag = ZRE
#			has_government = communism
#			has_country_flag = zre_tunsintsy_alliastag_flag
#		}
#		all_country = {
#			OR = {
#				NOT = { original_tag = ZRE }
#			 has_government = communism
#			}
#		}
	}	
	mean_time_to_happen = {
		days = 2
	}
	immediate = {
		hidden_effect = {
			set_global_flag = zre_vosstanie_v_partii_over_glob_flag	
			every_country = {
				clr_country_flag = zre_zenki_alliastag_flag
				clr_country_flag = zre_tunsintsy_alliastag_flag
			}		
		}
	}
	option = {
		name = jungo.198.a
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.997 }
		}
	}
}

#### IV Собрание Жэньмина(ж)
country_event = {
	id = jungo.199
	title = jungo.199.t
	desc = jungo.199.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.199.a			
		add_stability = 0.05
		add_political_power = 80
	}	
}


#### V Собрание Жэньмина(ж)
country_event = {
	id = jungo.200
	title = jungo.200.t
	desc = jungo.200.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.200.a	
		add_stability = 0.05
		add_war_support = -0.1	
		add_timed_idea = {
			idea = zre_jenki_not_war_nastroeniya
			days = 900
		}
	}	
}

#### Массовые вспышки заболеваний
country_event = {
	id = jungo.201
	title = jungo.201.t
	desc = jungo.201.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		NOT = {
			has_idea = zre_jenki_massovye_zabolevaniya
		}
	}
	option = { 
		name = jungo.201.a			
		add_timed_idea = {
			idea = zre_jenki_massovye_zabolevaniya
			days = 1560
		}
	}	
}

#### Разруха в сельском хозяйстве
country_event = {
	id = jungo.202
	title = jungo.202.t
	desc = jungo.202.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		NOT = {
			has_idea = zre_jenki_selhoz_razruha
		}
	}
	option = { 
		name = jungo.202.a			
		add_timed_idea = {
			idea = zre_jenki_selhoz_razruha
			days = 1560
		}
	}	
}

#### эвент женьцам в республике. нам удалось связаться с омнипаристами сидземэя
country_event = {
	id = jungo.203
	title = jungo.203.t
	desc = jungo.203.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.203.a		
		hidden_effect = {
			country_event = { id = jungo.205 }
		}	
	}	
}

#### эвент женьцам в республике. нам НЕ удалось связаться с омнипаристами сидземэя, ну ничего , попробуем еще через пару месяцев
country_event = {
	id = jungo.204
	title = jungo.204.t
	desc = jungo.204.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.204.a			
	}	
}

#### эвент Сидземэю. Наши министры сообщают что в последнее время активизировались всякие омники. возможно их спонсирует республика чунго, они со своим декретом о бывших колониях не очень то нам нравятся. надо быть осторожнее.
country_event = {
	id = jungo.205
	title = jungo.205.t
	desc = jungo.205.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.205.a			
	}	
}

#### эвент Сидземэю. всё чаще в городах страны слышны омнипаристы. забастовки, митинги и всё такое. (рост поддержки омников)
country_event = {
	id = jungo.206
	title = jungo.206.t
	desc = jungo.206.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.206.a	
		effect_tooltip = {
			add_popularity = {
				ideology = communism
				popularity = 0.07
			}
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.208 }
			}
		}		
	}	
}

#### эвент Сидземэю. нам удалось раскрыть одну из террористических омнипаристических ячеек. провокаторы пойманы и наказаны.
country_event = {
	id = jungo.207
	title = jungo.207.t
	desc = jungo.207.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.207.a
		ai_chance = {
			factor = 20				
		}		
		army_experience = 2
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.209 }
			}
		}
	}
	option = { 
		name = jungo.207.b	
		ai_chance = {
			factor = 0				
		}		
		add_timed_idea = {
			idea = zre_other_countr_protivodeistvie_omnikam
			days = 365
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.209 }
			}
		}
	}	
}

#### эвент женьцам. мы успешно провели агитацию в сидземэй
country_event = {
	id = jungo.208
	title = jungo.208.t
	desc = jungo.208.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.208.a	
		effect_tooltip = {
			ZSI = {
				add_popularity = {
					ideology = communism
					popularity = 0.07
				}
			}	
		}
	}	
}

#### эвент женьцам. наша агитация в сидземей провалилась. теперь по новой нам с ними связываться и ячейки омнипаристические помогать организовать.
country_event = {
	id = jungo.209
	title = jungo.209.t
	desc = jungo.209.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.209.a	
		unlock_decision_tooltip = zre_rabocee_dvig_sidzemeya_go	
		unlock_decision_tooltip = zre_rabocee_dvig_sidzemeya_pomoch_s_sobraniem	
		clr_country_flag = zre_rabocee_dvig_sidzemeya_go_flag
		clr_country_flag = zre_rabocee_dvig_sidzemeya_pomoch_s_sobraniem_flag
		clr_country_flag = zre_rabocee_dvig_sidzemeya_nachat_podgotovku_flag
	}	
}

#### эвент сидземею. Сегодня омники совершили попытку свергнуть нашу власть но у них ничего не вышло. Мы их быстро подавили и раскрыли все ячейки их подполььные.
country_event = {
	id = jungo.210
	title = jungo.210.t
	desc = jungo.210.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.210.a	
		ai_chance = {
			factor = 100
		}
		add_stability = -0.05	
		army_experience = 5
		add_popularity = {
			ideology = communism
			popularity = -0.18
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.211 }
			}
		}
	}
	option = { 
		name = jungo.210.b	
		ai_chance = {
			factor = 0				
		}
		add_stability = -0.05	
		army_experience = 5
		add_popularity = {
			ideology = communism
			popularity = -0.18
		}
		add_timed_idea = {
			idea = zre_other_countr_protivodeistvie_omnikam
			days = 365
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.211 }
			}
		}
	}
}

#### эвент женьцам. попытка восстания в сидземее при нашей поддержке провалилась. Их все арестовали. Нам предстоит начать всё с начала.
country_event = {
	id = jungo.211
	title = jungo.211.t
	desc = jungo.211.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.211.a	
		effect_tooltip = {
			ZSI = {
				add_stability = -0.05	
				army_experience = 5
				add_popularity = {
					ideology = communism
					popularity = -0.18
				}
			}
		}		
	}	
}

#### эвент Сидземею, нашу страну охватило омнипаристическое восстание. Мы же не хотим кроваваой гражданской войны и поэтому мы мирно передадим им влатсь (или нет? хм...)
country_event = {
	id = jungo.212
	title = jungo.212.t
	desc = jungo.212.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.212.a	
		add_popularity = {
			ideology = communism
			popularity = 0.18
		}	
		set_politics = {
			ruling_party = communism
		}
		add_ai_strategy = {
			type = alliance
			id = ZRE
			value = 100
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.998 }
			ZRE = {
				country_event = { id = jungo.213 }
			}
		}		
	}	
}

#### женьцам. нам удалось поставить омников в сидземэе. теперь они тоже омники.
country_event = {
	id = jungo.213
	title = jungo.213.t
	desc = jungo.213.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.213.a	
		add_ai_strategy = {
			type = alliance
			id = ZSI
			value = 100
		}	
	}	
}

#### эвент рандомной стране_омнику, которая возглавляет альянс о том что республика Чжунго запилила свой омнипаристический альянс Интернациональный рабочий союз а в наш вступать не захотела. Чтож они так то (+новость ar_news.999 что женьцы запилили свой альянс )
country_event = {
	id = jungo.214
	title = jungo.214.t
	desc = jungo.214.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.214.a	
			
	}	
}

#### эвент рандомной стране в АЗии где НЕ омники о том что республика чунго стала задумываться о своей агитации на нас, у них там большие планы видимо (эффект - прирост поддержки омников )
country_event = {
	id = jungo.215
	title = jungo.215.t
	desc = jungo.215.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.215.a	
		add_popularity = {
			ideology = communism
			popularity = 0.08
		}	
	}	
}

#### эвент ланфангу о том что в стране поднялось восстание рабов. Наши варианты - попытаться договорться, жестко подавить, и очень жестко подавить
country_event = {
	id = jungo.216
	title = jungo.216.t
	desc = jungo.216.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.216.a	
		trigger = {
			has_stability > 0.85
		}
		custom_effect_tooltip = jungo.216.a.tt
		ai_chance = {
			factor = 13				
		}
		add_popularity = {
			ideology = communism
			popularity = 0.04
		}
		add_political_power = -100
		add_stability = -0.02
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.217 }
			}
		}
	}	
	option = { 
		name = jungo.216.b	
		ai_chance = {
			factor = 5				
		}
		add_stability = -0.05
		add_popularity = {
			ideology = communism
			popularity = 0.07
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.218 }
			}
		}
	}
	option = { 
		name = jungo.216.c	
		ai_chance = {
			factor = 1				
		}
		add_popularity = {
			ideology = communism
			popularity = -0.08
		}
		if = {
			limit = {
				NOT = {
					has_idea = zre_other_countr_protivodeistvie_omnikam
				}	
			}
			add_timed_idea = {
				idea = zre_other_countr_protivodeistvie_omnikam
				days = 350
			}
		}
		if = {
			limit = {				
				has_idea = zre_other_countr_protivodeistvie_omnikam				
			}
			modify_timed_idea = {
				idea = zre_other_countr_protivodeistvie_omnikam
				days = 150
			}
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.219 }
			}
		}
	}
}

#### эвент ркспублике о том что власти ланфанга нашли компромисс с омниками. беспорядки прекратились. Но мы всё же смогли увеличить поддердку омнипаризма там
country_event = {
	id = jungo.217
	title = jungo.217.t
	desc = jungo.217.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.217.a	
		effect_tooltip = {
			ZLF = {
				add_stability = -0.02
				add_popularity = {
					ideology = communism
					popularity = 0.04
				}	
			}
		}	
	}	
}

#### эвент ркспублике о том что власти ланфанга жостко подавили бунт. Ну это впринципе сыграло нам на руку. поддержжка омников увеличилась
country_event = {
	id = jungo.218
	title = jungo.218.t
	desc = jungo.218.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.218.a	
		effect_tooltip = {
			ZLF = {
				add_stability = -0.05
				add_popularity = {
					ideology = communism
					popularity = 0.07
				}	
			}
		}		
	}	
}

#### эвент ркспублике о том что власти ланфанга жостко подавили бунт. и ввели комплекс мер по противодействию нашей деятельности. Кажется ближайший год наша агитация на них не будет иметь успеха.
country_event = {
	id = jungo.219
	title = jungo.219.t
	desc = jungo.219.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.219.a	
		effect_tooltip = {
			ZLF = {
				add_popularity = {
					ideology = communism
					popularity = -0.08
				}
				add_timed_idea = {
					idea = zre_other_countr_protivodeistvie_omnikam
					days = 350
				}	
			}
		}		
	}	
}

#### эвент ркспублике о том что наша акция в ланфанге по восстанию рабов провалилась. жаль
country_event = {
	id = jungo.220
	title = jungo.220.t
	desc = jungo.220.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.220.a				
	}	
}

#### эвент ланфангу о том что в нашей армии какие то омнипаристические мутки, готовые перерасти в бунты
country_event = {
	id = jungo.221
	title = jungo.221.t
	desc = jungo.221.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.221.a	
		trigger = {
			has_stability > 0.85
		}
		custom_effect_tooltip = jungo.221.a.tt
		ai_chance = {
			factor = 13				
		}
		add_popularity = {
			ideology = communism
			popularity = 0.02
		}
		add_political_power = -100
		add_stability = -0.02
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.222 }
			}
		}
	}	
	option = { 
		name = jungo.221.b	
		ai_chance = {
			factor = 5				
		}
		if = {
			limit = {
				NOT = {
					has_idea = zre_other_countr_agitat_v_armii
				}	
			}
			add_timed_idea = {
				idea = zre_other_countr_agitat_v_armii
				days = 100
			}
		}
		if = {
			limit = {				
				has_idea = zre_other_countr_agitat_v_armii				
			}
			modify_timed_idea = {
				idea = zre_other_countr_agitat_v_armii
				days = 60
			}
		}	
		add_manpower = -154	
		add_to_variable = { global.jertvy_voin = 154 }
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.223 }
			}
		}
	}
	option = { 
		name = jungo.221.c	
		ai_chance = {
			factor = 1				
		}
		add_popularity = {
			ideology = communism
			popularity = -0.08
		}
		if = {
			limit = {
				NOT = {
					has_idea = zre_other_countr_protivodeistvie_omnikam
				}	
			}
			add_timed_idea = {
				idea = zre_other_countr_protivodeistvie_omnikam
				days = 350
			}
		}
		if = {
			limit = {				
				has_idea = zre_other_countr_protivodeistvie_omnikam				
			}
			modify_timed_idea = {
				idea = zre_other_countr_protivodeistvie_omnikam
				days = 150
			}
		}		
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.224 }
			}
		}
	}
}

#### эвент ркспублике о том что власти ланфанга смогли таки выловить всех бунтовщиков в армии и всё у них стало окей. это благодаря высокой стабке в их старне.
country_event = {
	id = jungo.222
	title = jungo.222.t
	desc = jungo.222.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.222.a	
		effect_tooltip = {
			ZLF = {	
				add_stability = -0.02
				add_popularity = {
					ideology = communism
					popularity = 0.02
				}	
			}
		}		
	}	
}

#### эвент ркспублике о том что нам удалось посеять в армии ланфанга омнипаристические идеи. армия народа всё такое. буст омникам на 60 дней
country_event = {
	id = jungo.223
	title = jungo.223.t
	desc = jungo.223.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.223.a	
		effect_tooltip = {
			ZLF = {
				add_manpower = -154	
				add_to_variable = { global.jertvy_voin = 154 }
				if = {
					limit = {
						NOT = {
							has_idea = zre_other_countr_agitat_v_armii
						}	
					}
					add_timed_idea = {
						idea = zre_other_countr_agitat_v_armii
						days = 100
					}
				}
				if = {
					limit = {				
						has_idea = zre_other_countr_agitat_v_armii				
					}
					modify_timed_idea = {
						idea = zre_other_countr_agitat_v_armii
						days = 60
					}
				}	
			}
		}		
	}	
}

#### эвент ркспублике о том что власти ланфанга жостко подавили в армии инакомыслие и ввели курсы политкорректности. ближайший год нам там успеха не будет
country_event = {
	id = jungo.224
	title = jungo.224.t
	desc = jungo.224.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.224.a	
		effect_tooltip = {
			ZLF = {
				add_popularity = {
					ideology = communism
					popularity = -0.08
				}
				if = {
					limit = {
						NOT = {
							has_idea = zre_other_countr_protivodeistvie_omnikam
						}	
					}
					add_timed_idea = {
						idea = zre_other_countr_protivodeistvie_omnikam
						days = 350
					}
				}
				if = {
					limit = {				
						has_idea = zre_other_countr_protivodeistvie_omnikam				
					}
					modify_timed_idea = {
						idea = zre_other_countr_protivodeistvie_omnikam
						days = 150
					}
				}
			}		
		}		
	}	
}


#### эвент ркспублике о том что наша акция в ланфанге по муткам в армии провалилась
country_event = {
	id = jungo.225
	title = jungo.225.t
	desc = jungo.225.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.225.a				
	}	
}

#### эвент ланфангу. оу щет, кажеца перерворот. Что нам делать? сдать власть омникам бескровно или же ваевать гражданку?
country_event = {
	id = jungo.226
	title = jungo.226.t
	desc = jungo.226.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.226.a			
		ai_chance = {
			factor = 13				
		}
		retire_country_leader = yes
		add_popularity = {
			ideology = communism
			popularity = 0.4
		}
		set_politics = {
			ruling_party = communism
		}
		add_ai_strategy = {
			type = alliance
			id = ZRE
			value = 50
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.227 }				
			}
			news_event = { hours = 3 id = ar_news.1000 }
		}
	}	
	option = { 
		name = jungo.226.b	
		ai_chance = {
			factor = 5				
		}	
		add_popularity = {
			ideology = communism
			popularity = -0.6
		}
		start_civil_war = {
			ideology = communism
			size = 0.35			
		}
		hidden_effect = {
			ZRE = {
				country_event = { id = jungo.228 }
				news_event = { hours = 3 id = ar_news.1001 }
			}
		}
	}	
}

#### эвент ркспублике о том что мы смогли поставить омников у власти в ланфанге. ура товарищи
country_event = {
	id = jungo.227
	title = jungo.227.t
	desc = jungo.227.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.227.a	
		add_ai_strategy = {
			type = alliance
			id = FROM
			value = 50
		}
		effect_tooltip = {
			ZLF = {
				add_popularity = {
					ideology = communism
					popularity = 0.4
				}
				set_politics = {
					ruling_party = communism
				}
			}
		}			
	}	
}

#### эвент ркспублике о том что в ланфанге не получилось мирно захватить власть. там теперь гражданка
country_event = {
	id = jungo.228
	title = jungo.228.t
	desc = jungo.228.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.228.a	
		effect_tooltip = {
			ZLF = {
				add_popularity = {
					ideology = communism
					popularity = -0.6
				}
				start_civil_war = {
					ideology = communism
					size = 0.35			
				}
			}
		}			
	}	
}

#### эвент ркспублике о том что что-то пошло не так имы не смогли совершщить переворот в ланфанге
country_event = {
	id = jungo.229
	title = jungo.229.t
	desc = jungo.229.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.229.a				
	}	
}

#### эвент рандомной азиатской стране о том что в её стране начались какие то классовые волнения (это чунго воду мутит свои фокусом)
country_event = {
	id = jungo.230
	title = jungo.230.t
	desc = jungo.230.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.230.a		
		add_timed_idea = {
			idea = zre_other_countr_klassivye_volneniya
			days = 350
		}	
	}	
}

#### эвент рандомной стране о том что чунго развалилось А у нас в их банках денежки были, торговые договоры всё такое. А теперь всё пропало. Ну и временный дебафф к политочочкам
country_event = {
	id = jungo.231
	title = jungo.231.t
	desc = jungo.231.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.231.a		
		add_timed_idea = {
			idea = ar_chunga_razvalilas_sovsem_ochen_silno_da
			days = 350
		}	
	}	
}

#### эвент рандомной стране о том что чунго прострало все полимеры и ПОЧТИ разлавллось (отпали только колонии) А у нас в их банках денежки были, торговые договоры всё такое. А теперь всё пропало. Ну и временный дебафф к политочочкам
country_event = {
	id = jungo.232
	title = jungo.232.t
	desc = jungo.232.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.232.a		
		add_timed_idea = {
			idea = ar_chunga_razvalilas_ne_sovsem
			days = 350
		}	
	}	
}

#### эвент рандомной стране о том что чунго оказывает на нас своё омнипаристическое воздействие и уже не скрывает этого, без регистрации и смс
country_event = {
	id = jungo.233
	title = jungo.233.t
	desc = jungo.233.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.233.a		
		add_timed_idea = {
			idea = zre_other_countr_vozd_jungi
			days = 450
		}	
	}	
}

#### эвент женьцам о том что несмотря на победу против тюншийцев в нашей армии не всё так просто, многие бойцы под разными предлогами стараются уйти со службы. (Мы теряем варсаппорт)
country_event = {
	id = jungo.234
	title = jungo.234.t
	desc = jungo.234.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.234.a		
		add_war_support = -0.11
	}	
}

#### эвент тюншийцам IV Собрание Жэньмина(т)
country_event = {
	id = jungo.235
	title = jungo.235.t
	desc = jungo.235.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.235.a		
		add_political_power = 80
		add_stability = 0.05
	}	
}

#### Событие "Письмо Цзоу"
country_event = {
	id = jungo.236
	title = jungo.236.t
	desc = jungo.236.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.236.a		
		add_stability = -0.03
		country_event = { id = jungo.237 }
	}	
}
#############################################################################
#### Событие События в столице
country_event = {
	id = jungo.237
	title = jungo.237.t
	desc = jungo.237.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.237.a		
		ai_chance = {
			base = 1			
		}
		country_event = { id = jungo.238 }
	}	
	option = { 
		name = jungo.237.b		
		ai_chance = {
			base = 1			
		}
		country_event = { id = jungo.239 }
	}
}

#### Скверные новости
country_event = {
	id = jungo.238
	title = jungo.238.t
	desc = jungo.238.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.238.a		
		add_stability = -0.05
		add_war_support = -0.05
		country_event = { id = jungo.239 }
	}	
}


#### Войска в пути
country_event = {
	id = jungo.239
	title = jungo.239.t
	desc = jungo.239.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.239.a		
		ai_chance = {
			base = 1			
		}
		add_stability = 0.01
		country_event = { id = jungo.240 }
	}
	option = { 
		name = jungo.239.b		
		ai_chance = {
			base = 1			
		}
		add_war_support = 0.01
		country_event = { id = jungo.240 }
	}	
}

#### Развитие событий
country_event = {
	id = jungo.240
	title = jungo.240.t
	desc = jungo.240.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.240.a		
		custom_effect_tooltip = jungo.240.a.tt 
		country_event = { id = jungo.241 }
	}	
}

#### Дальнейшие события
country_event = {
	id = jungo.241
	title = jungo.241.t
	desc = jungo.241.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.241.a		
		ai_chance = {
			base = 1			
		} 
		country_event = { id = jungo.242 }
	}
	option = { 
		name = jungo.241.b		
		ai_chance = {
			base = 1			
		}
		country_event = { id = jungo.244 }
	}
}

#### Это конец?"  1 вар
country_event = {
	id = jungo.242
	title = jungo.242.t
	desc = jungo.242.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.242.a		
		country_event = { id = jungo.243 }
	}	
}

#### Дальнейшие события 1 вар ИТОГ
country_event = {
	id = jungo.243
	title = jungo.243.t
	desc = jungo.243.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.243.a		
		add_manpower = -55
		add_to_variable = { global.jertvy_voin = 55 }
		add_country_leader_trait = zre_narodny_geroi_trait
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.1 }
		}
	}	
}

#### Это конец?"  2 вар
country_event = {
	id = jungo.244
	title = jungo.244.t
	desc = jungo.244.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.244.a		
		random_list = {
			40 = { 
				modifier = {
					has_war_support > 0.75
					factor = 1.2
				}
				country_event = { id = jungo.246 }
			}
			60 = { 
				country_event = { id = jungo.245 }
			}
		}		
	}	
}

#### Вэн убит вар ИТОГ
country_event = {
	id = jungo.245
	title = jungo.245.t
	desc = jungo.245.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.245.a	
		kill_country_leader = yes
		add_manpower = -89
		add_to_variable = { global.jertvy_voin = 89 }
		# create_country_leader = {
			# name = "Wei Li"	#	тюншинец, военный омник!
			# desc = ""
			# picture = "portrait_ZRE_Wei_Li.tga"
# #			picture = "fen_shousin.tga"	# поменять фотку!!
			# expire = "2010.1.1"
			# ideology = war_omniparism
			# traits = {
				# zre_opytnyi_revoluts_trait
			# }
		# }
		add_country_leader_role = {
			character = "ZRE_wei_li"
			country_leader = {
				ideology = war_omniparism
				traits = { zre_opytnyi_revoluts_trait }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		add_ideas = zre_omniki_tunshi_feroi_voiny
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.2 }
		}
	}	
}

#### ДВэн получил тяжёлые ранения ИТОГ
country_event = {
	id = jungo.246
	title = jungo.246.t
	desc = jungo.246.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.246.a		
		add_manpower = -89
		add_to_variable = { global.jertvy_voin = 89 }
		add_country_leader_trait = zre_narodny_geroi_trait
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.1 }
		}
	}	
}

#### V Собрание ЧОРП(т)
country_event = {
	id = jungo.247
	title = jungo.247.t
	desc = jungo.247.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.247.a		
		add_ideas = zre_omniki_tunshi_vneshnepilit_raznoglasiya
		add_ideas = zre_omniki_tunshi_sichangi
		# у нас уже есть zre_jenki_selhoz_razruha и zre_jenki_massovye_zabolevaniya
	}	
}

#### эвент тюншийцам о том что в стране бандитизм вспухнул. получаем соответсвующий нацдух
country_event = {
	id = jungo.248
	title = jungo.248.t
	desc = jungo.248.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.248.a		
		add_ideas = zre_omniki_tunshi_banditism
	}	
}

#### эвент тюншийцам о том что мы по фокусу возвели на всех границах укрепления в 2 уровня. Изоляционизм, фигле
country_event = {
	id = jungo.249
	title = jungo.249.t
	desc = jungo.249.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.249.a		
		custom_effect_tooltip = zre_omniki_tunshintsy_rubeji_oborony_tt
		hidden_effect = {
			if = {
				limit = {
					controls_state = 1105 
				}
				1105 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1111 
				}
				1111 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1112 
				}
				1112 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 620 
				}
				620 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1119 
				}
				1119 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1085 
				}
				1085 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 605 
				}
				605 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 751 
				}
				751 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1120 
				}
				1120 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 603 
				}
				603 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 599 
				}
				599 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 594 
				}
				594 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}
			if = {
				limit = {
					controls_state = 1107 
				}
				1107 = { set_building_level = { type = bunker level = 2 province = { all_provinces = yes limit_to_border = yes level < 2	} } }
			}			
#			every_neighbor_state = {
#				limit = {
#					is_controlled_by = ROOT
#				}
#				set_building_level = {
#					type = bunker level = 2 province = { 
#						all_provinces = yes limit_to_border = yes level < 2
#					}
#				}		
#			}
		}
	}	
}

#### эвент ФСР о том что тюншийское чунго хочет к нам в альянс. Берём?
country_event = {
	id = jungo.250
	title = jungo.250.t
	desc = jungo.250.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.250.a		
		ai_chance = {
			base = 200			
		}
		add_to_faction = ZRE
		add_opinion_modifier = {
			target = ZRE
			modifier = drujestvennaya_ritorika_20
		}
		add_ai_strategy = {
			type = alliance
			id = ZRE
			value = 60
		}
		ZRE = {
			country_event = { id = jungo.251 }
		}
	}	
	option = { 
		name = jungo.250.b		
		ai_chance = {
			base = 1			
		}
		ZRE = {
			country_event = { id = jungo.252 }
		}
	}
}

#### эвент тюншийцам о том что ФСР приняли нас в свой альянс, ура товарищи +мировая новость 3
country_event = {
	id = jungo.251
	title = jungo.251.t
	desc = jungo.251.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.251.a		
		add_ai_strategy = {
			type = alliance
			id = ZIK
			value = 60
		}
		effect_tooltip = {
			ZIK = {
				add_to_faction = ZRE
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.3 }
		}
	}	
}

#### эвент тюншийцам о том что ФСР Не взяла нас в свой альянс. Нам что, не по пути? +новостной эвент 4 про это
country_event = {
	id = jungo.252
	title = jungo.252.t
	desc = jungo.252.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.252.a	
	}	
}

#### эвент ФСР о том что тюншийцы в чжунго решили укрепить с нами научное сотрудничество. мы (и они) получаем убст к науке на 800 дней.
country_event = {
	id = jungo.253
	title = jungo.253.t
	desc = jungo.253.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.253.a		
		add_timed_idea = {
			idea = zre_omniki_tunshi_nauchnye_kooperats_s_fsr
			days = 800
		}
	}	
}

#### эвент ФСР о том что тюншийцы в чжунго и мы провели совместные спортивные игры. Популярность здорового образа жизни в этих странах увеличилась.
country_event = {
	id = jungo.254
	title = jungo.254.t
	desc = jungo.254.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	option = { 
		name = jungo.254.a		
		add_timed_idea = {
			idea = zre_omniki_tunshi_fsr_geroi_sporta
			days = 800
		}
	}	
}

#### эвент тюншийцам что у нас в стране активизировались имперские сепаратисты, которые не дают нам в последнее время покоя (получен нацдух сепаратизм)
country_event = {
	id = jungo.255
	title = jungo.255.t
	desc = jungo.255.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		NOT = {
			has_completed_focus = zre_omniki_tunshintsy_reshenie_voprosa_s_separami		
		}
	}
	option = { 
		name = jungo.255.a		
		add_ideas = zre_omniki_impersky_separatism
	}	
}

#### эвент всем омникам о том что в стране активизировались религиозные фанатики (это ещё до раскола в партии)
country_event = {
	id = jungo.256
	title = jungo.256.t
	desc = jungo.256.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	trigger = {
		NOT = {
			OR = {
				has_completed_focus = zre_omniki_tunshintsy_antireligiozn_kompaniya		
				has_completed_focus = zre_jenmin_plan_poddejki_agrotsivit	
			}			
		}
	}
	option = { 
		name = jungo.256.a		
		add_ideas = zre_omniki_religiozn_fanatiki
	}	
}

#### эвент тюншийцам о том что они выбирают приоритеты промки
country_event = {
	id = jungo.257
	title = jungo.257.t
	desc = jungo.257.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	
	option = { 
		name = jungo.257.a		
		ai_chance = {
			base = 1			
		}
		add_timed_idea = {
			idea = zre_omniki_tunsuntsy_prioritet_grazdpromka
			days = 380
		}
	}
	option = { 
		name = jungo.257.b		
		ai_chance = {
			base = 4			
		}
		add_timed_idea = {
			idea = zre_omniki_tunsuntsy_prioritet_milpromka
			days = 380
		}
	}
}

#### скрытый эвент чекалка дем стран
country_event = {
	id = jungo.258
	Hidden = yes	
	is_triggered_only = yes
	trigger = {
		exists = yes
		has_capitulated = no
		has_war_with = ZMN
	}
	immediate = {
		set_variable = { zre_orujie_demov_var = 0 }
		set_variable = { zre_snaryaga_demov_var = 0 }
		set_variable = { num_democraturskih_rejimov_var = 0 }		
		every_other_country = {
			limit = { 
				has_government = democratic
			}				
			ZRE = {
				add_to_variable = { num_democraturskih_rejimov_var = 1 } 
			}
		}
		set_variable = { zre_orujie_demov_var = num_democraturskih_rejimov_var }
		multiply_variable = { zre_orujie_demov_var = 100 } 
		set_variable = { zre_snaryaga_demov_var = num_democraturskih_rejimov_var }
		multiply_variable = { zre_snaryaga_demov_var = 50 } 
		country_event = { id = jungo.259 }
	}
	option = { 
		name = jungo.258.a			
	}	
}

#### эвент бейистам о том что к нам прибыли поставки от демократурских стран мира. Это помощь в нашей борьбе против империи.
country_event = {
	id = jungo.259
	title = jungo.259.t
	desc = jungo.259.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes
	immediate = {
		hidden_effect = {			
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = zre_orujie_demov_var
				producer = ZRE
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = zre_snaryaga_demov_var
				producer = ZRE
			}
			country_event = { days = 7 id = jungo.258 }
		}
		custom_effect_tooltip = jungo.259.tt 
	}
	trigger = {
		exists = yes
		has_capitulated = no
		has_war_with = ZMN
	}
	option = { 
		name = jungo.259.a		
		
	}	
}

#### эвент омникам до раскола, эвент о том что часть иностранных инвесторов бежит из нашей страны. От этого мы теряем несколько фабрик.
country_event = {
	id = jungo.260
	title = jungo.260.t
	desc = jungo.260.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	option = { 
		name = jungo.260.a		
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
	}	
}


#### эвент ИМПЕРИИ при гражданке с омниками. Республиканские революционеры выбрали против нас стратегию тотальной баррикадной войны. Нам потребуется время чтобы научиться успешно ей противостоять. (получаем дебафф к атаке на омников на 150 дней)
country_event = {
	id = jungo.261
	title = jungo.261.t
	desc = jungo.261.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	option = { 
		name = jungo.261.a		
		add_timed_idea = {
			idea = zre_omniki_to_zmn_opress
			days = 150
		}
	}	
}

#### эвент республике бейистам. Мы принимаем революц консттуццию.Событие о Конституции в котором мы рассказываем что творится в этом молодом государстве 
country_event = {
	id = jungo.262
	title = jungo.262.t
	desc = jungo.262.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	option = { 
		name = jungo.262.a		
		add_ideas = zre_beiisty_respublik_konstitut
	}	
}

#### эвент республике бейистам. что Среди наших левых товарищей происходит раскол. Часть их коллектива, не желая сотрудничать с бэйистами, выходит из партии и уходит в вольное плаванье. Это может быть проблемой для нас.
country_event = {
	id = jungo.263
	title = jungo.263.t
	desc = jungo.263.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}
	option = { 
		name = jungo.263.a	
		add_popularity = {
			ideology = communism
			popularity = -0.05
		}
		add_ideas = zre_beiisty_jentsy_v_podpolie
	}	
}

#### эвент республике бейистам. мы дали старт предвыборной гонке. В данный момент наш парламент окончательно сформировал две основные политические силы. Это Социалистическая Партия и Бейистская партия. Скорее всего именно эти силы и будут фаворитами предстоящих выборов.
country_event = {
	id = jungo.264
	title = jungo.264.t
	desc = jungo.264.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}
	option = { 
		name = jungo.264.a	
		custom_effect_tooltip = jungo.264.a.tt
		set_variable = { zre_party_beisty_var = 5 }
		set_variable = { zre_party_sotsdemy_var = 5 }
		set_country_flag = zre_predvibory_started_flag	# ZRE_beiisty_vibory_v_parlament_cat
		hidden_effect = {
			country_event = { days = 15 id = jungo.317 }
		}
	}	
}

#### эвент республике бейистам. состоялись выборы и победили....
country_event = {
	id = jungo.265
	title = jungo.265.t
	desc = jungo.265.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.265.a			
	}	
}

#### скрытый эвент на чекалку победы в выборах
country_event = {
	id = jungo.266		
	is_triggered_only = yes	
	Hidden = yes
	trigger = {
		has_government = democratic
	}
	immediate = {
		random_list = {
			50 = {
				modifier = {
					factor = 1.2
					check_variable = { zre_party_beisty_var > 5 }
				}
				modifier = {
					factor = 1.3
					check_variable = { zre_party_beisty_var > 6 }
				}
				modifier = {
					factor = 1.4
					check_variable = { zre_party_beisty_var > 7 }
				}
				modifier = {
					factor = 1.5
					check_variable = { zre_party_beisty_var > 8 }
				}
				country_event = { id = jungo.267 }
			}
			50 = {
				modifier = {
					factor = 1.2
					check_variable = { zre_party_sotsdemy_var > 5 }
				}
				modifier = {
					factor = 1.3
					check_variable = { zre_party_sotsdemy_var > 6 }
				}
				modifier = {
					factor = 1.4
					check_variable = { zre_party_sotsdemy_var > 7 }
				}
				modifier = {
					factor = 1.5
					check_variable = { zre_party_sotsdemy_var > 8 }
				}
				country_event = { id = jungo.268 }
			}
		}		
	}
	option = { 
		name = jungo.266.a			
	}	
}

#### эвент республике бейистам. состоялись выборы и победили бейситы
country_event = {
	id = jungo.267
	title = jungo.267.t
	desc = jungo.267.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}
	immediate = {
		hidden_effect = {
			set_variable = { zre_party_beisty_var = 5 }
			set_variable = { zre_party_sotsdemy_var = 5 }
			add_timed_idea = {
				idea = zre_vibory_sostoyalis
				days = 2190
			}
			add_timed_idea = {
				idea = zre_vibory_pobedili_beiisty
				days = 2190
			}				
			clr_country_flag = zre_vibory_randomnye_shtuki_flag
		}
	}
	option = { 
		name = jungo.267.a	
		effect_tooltip = {
			add_timed_idea = {
				idea = zre_vibory_sostoyalis
				days = 2190
			}
			add_timed_idea = {
				idea = zre_vibory_pobedili_beiisty
				days = 2190
			}
		}		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.5 }
			retire_country_leader = yes
		}	
		# create_country_leader = {	
			# name = "Gong Jie"
			# desc = ""
			# picture = "zre_gong_jie.tga"
			# expire = "2010.1.1"
			# ideology = liberalism
			# traits = {						
			# }
		# }
		add_country_leader_role = {
			character = "ZRE_gong_jie"
			country_leader = {
				ideology = liberalism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
#		set_country_leader_ideology = liberalism
	}	
}

#### эвент республике бейистам. состоялись выборы и победили социалисты
country_event = {
	id = jungo.268
	title = jungo.268.t
	desc = jungo.268.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}
	immediate = {
		hidden_effect = {
			set_variable = { zre_party_beisty_var = 5 }
			set_variable = { zre_party_sotsdemy_var = 5 }
			add_timed_idea = {
				idea = zre_vibory_sostoyalis
				days = 2190
			}
			add_timed_idea = {
				idea = zre_vibory_pobedili_sotsialisty
				days = 2190
			}
			clr_country_flag = zre_vibory_randomnye_shtuki_flag
		}
	}
	option = { 
		name = jungo.268.a
		effect_tooltip = {
			add_timed_idea = {
				idea = zre_vibory_sostoyalis
				days = 2190
			}
			add_timed_idea = {
				idea = zre_vibory_pobedili_sotsialisty
				days = 2190
			}
		}
#		set_country_leader_ideology = socialism		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.6 }
			retire_country_leader = yes
		}
		# create_country_leader = {	
			# name = "Su Wuhan"
			# desc = ""
			# picture = "zre_su_wuhan.tga"
			# expire = "2010.1.1"
			# ideology = socialism
			# traits = {						
			# }
		# }
		add_country_leader_role = {
			character = "ZRE_su_wuhan"
			country_leader = {
				ideology = socialism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
	}	
}

#### скрытый эвент на чекалку событий во время гонки
country_event = {
	id = jungo.269		
	is_triggered_only = yes	
	Hidden = yes
	trigger = {
		NOT = {
			has_idea = zre_vibory_sostoyalis
		}
		has_country_flag = zre_vibory_randomnye_shtuki_flag
	}
	immediate = {
		random_list = {
			50 = {
				modifier = {
					factor = 1.1
					check_variable = { zre_party_sotsdemy_var > 8 }
				}
				country_event = { id = jungo.270 days = 10 random = 6 } # партия бейистов +1
			}
			50 = {
				modifier = {
					factor = 1.1
					check_variable = { zre_party_beisty_var > 8 }
				}
				country_event = { id = jungo.271 days = 10 random = 6 }	# партия социалистов +1
			}
		}	
	}
	option = { 
		name = jungo.269.a			
	}
}

#### эвент республике бейистам. на предвыборных гонках случилось что партия бейистов вырвалась немного вперед завоевав, по данным опросам, поддержку населения.
country_event = {
	id = jungo.270
	title = jungo.270.t
	desc = jungo.270.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
		NOT = {
			has_idea = zre_vibory_sostoyalis
		}
		has_country_flag = zre_vibory_randomnye_shtuki_flag
	}	
	option = { 
		name = jungo.270.a	
		zre_podderj_beiistov_plus_1 = yes
		hidden_effect = {
			country_event = { days = 1 id = jungo.269 }
		}
	}	
}

#### эвент республике бейистам. на предвыборных гонках случилось что партия социалистов вырвалась немного вперед завоевав, по данным опросам, поддержку населения.
country_event = {
	id = jungo.271
	title = jungo.271.t
	desc = jungo.271.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
		NOT = {
			has_idea = zre_vibory_sostoyalis
		}
		has_country_flag = zre_vibory_randomnye_shtuki_flag
	}	
	option = { 
		name = jungo.271.a	
		zre_podderj_sotsialistam_plus_1 = yes
		hidden_effect = {
			country_event = { days = 1 id = jungo.269 }
		}
	}	
}

#### эвент республике бейистам. Прошли политические дебаты по радио. партия бейистов показала себя хорошо и смогла заручиться народной поддержкой
country_event = {
	id = jungo.272
	title = jungo.272.t
	desc = jungo.272.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.272.a	
		zre_podderj_beiistov_plus_1 = yes		
	}	
}

#### эвент республике бейистам. Прошли политические дебаты по радио. партия социалистов показала себя хорошо и смогла заручиться народной поддержкой
country_event = {
	id = jungo.273
	title = jungo.273.t
	desc = jungo.273.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.273.a	
		zre_podderj_sotsialistam_plus_1 = yes		
	}	
}

#### эвент республике бейистам. Прошли политические дебаты по радио. партия бейистов просто разгромила социалистов и смогла заручиться ооочень большой народной поддержкой
country_event = {
	id = jungo.274
	title = jungo.274.t
	desc = jungo.274.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.274.a	
		zre_podderj_beiistov_plus_2 = yes		
	}	
}

#### эвент республике бейистам. Прошли политические дебаты по радио. партия социалистов просто разгромила бейистов и смогла заручиться ооочень большой народной поддержкой
country_event = {
	id = jungo.275
	title = jungo.275.t
	desc = jungo.275.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.275.a	
		zre_podderj_sotsialistam_plus_2 = yes		
	}	
}

#### эвент республике женцам. уже прошло много времени как мы одолели тюншийцих авторитаристов но всё то их сторонникам нет покоя. В трех рандомных стейтах сломали по одному заводу. 
country_event = {
	id = jungo.276
	title = jungo.276.t
	desc = jungo.276.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.276.a	
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
	}	
}

#### эвент республике ТЮНШИНЦАМ. уже прошло много времени как мы одолели женьских мятежников но всё то их сторонникам нет покоя. В ПЯТИ рандомных стейтах сломали по одному заводу. 
country_event = {
	id = jungo.277
	title = jungo.277.t
	desc = jungo.277.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.277.a	
		add_stability = -0.05	
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
	}	
}

#### эвент республике ТЮНШИНЦАМ. Наша служба безопасности обнаружила одну из последних ячеек женьцев. Они обосновались например на каком то заводе. При попытке их ареста завязался бой и в результате погобло много невинных рабочих. В стране митинги и забастовки (дебафф на производство на месяц)
country_event = {
	id = jungo.278
	title = jungo.278.t
	desc = jungo.278.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.278.a			
		add_timed_idea = {
			idea = zre_snova_mitingi_rabochih
			days = 36
		}	
	}	
}

#### эвент республике демам. Мы проводим суд над монархистами. Спрашиваем что делать с генералами чжунго и с министрами.Если помиловать, то получаем имперских министров и генералов некоторых
country_event = {
	id = jungo.279
	title = jungo.279.t
	desc = jungo.279.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.279.a			
		ai_chance = {
			base = 9			
		}	
		set_country_flag = zre_beiisty_pomilovali_i_nanyali_flag
		custom_effect_tooltip = available_political_advisor
		show_ideas_tooltip = zre_political_advisor_13
		custom_effect_tooltip = available_political_advisor
		show_ideas_tooltip = zre_political_advisor_14
		custom_effect_tooltip = available_chief_of_army
		show_ideas_tooltip = zre_jungo_army_chief_6
		custom_effect_tooltip = available_military_high_command
		show_ideas_tooltip = zre_high_command_10
		custom_effect_tooltip = jungo.279.a.tt
		add_stability = -0.25
		add_war_support = -0.25	
		add_popularity = {
			ideology = democratic
			popularity = -0.1
		}
	}
	option = { 
		name = jungo.279.b			
		ai_chance = {
			base = 4			
		}
		add_stability = 0.05
		add_timed_idea = {
			idea = zre_beiisty_pobeda_nad_monarhiei
			days = 600
		}
		add_popularity = {
			ideology = democratic
			popularity = 0.1
		}
	}
}

#### эвент республике бейистам. После проведения выборов в парламент “Ляньхуа” народ казалось бы доволен, но радикальным омнипаристам неймётся. Они затеяли проводить какие то забастовки. (дебафф на производство на месяц)
country_event = {
	id = jungo.280
	title = jungo.280.t
	desc = jungo.280.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.280.a			
		add_timed_idea = {
			idea = zre_snova_mitingi_rabochih
			days = 40
		}	
		hidden_effect = {
			country_event = { id = jungo.281 days = 15 random = 6 }
		}
	}	
}

#### эвент республике бейистам. на одном из митингов омнипаристов произошла крупная потасовка, драка. Это ударило по стабке. Но вроде как митингов меньше стало.
country_event = {
	id = jungo.281
	title = jungo.281.t
	desc = jungo.281.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.281.a			
		add_stability = -0.10
		add_war_support = -0.05
	}	
}

#### эвент республике бейистам. после начала внутрипартийной предвыборной гонки еще одна часть радикально наствроенных омников вышла из партии социалистов. Это повлекло за собой волну митингов рабочих по всей стране, как итог мы вынуждены закрыть часть предприятий а всех лояльных рабочих перевести на другие заводы. Мы теряем кучу фабрик.
country_event = {
	id = jungo.282
	title = jungo.282.t
	desc = jungo.282.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.282.a	
		add_stability = -0.05	
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
	}	
}

#### эвент республике бейистам. после оффициального признания независимости наших колоний часть нашего народа оказалась недовольна этим. Они считали что мы рано или поздно вернём эти земли в ссостав республики. Они рассуждают какими то стародавними реалиями, в современном мире так не действуют. Но тем неменее мы потеряли немного варсаппорта, дескать наша армия слаба
country_event = {
	id = jungo.283
	title = jungo.283.t
	desc = jungo.283.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.283.a		
		add_war_support = -0.06
	}	
}

#### эвент республике бейистам. мы заняли позицию что японское правительство ведет агрессивную внешнюю политику и мы осуждаем это. Наш лидер_нейм говорит что если они не остановятся то рискуют связаться с сейшу. Мы портим с ними отношение кароч
country_event = {
	id = jungo.284
	title = jungo.284.t
	desc = jungo.284.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.284.a	
		add_opinion_modifier = {
			target = ZJA
			modifier = agressssor
		}	
		ZJA = {
			country_event = { id = jungo.285 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.7 }
		}
	}	
}

#### эвент республике японии. республика чжунго заявляет что считает нас своими врагами. Вот так.
country_event = {
	id = jungo.285
	title = jungo.285.t
	desc = jungo.285.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.285.a		
		add_opinion_modifier = {
			target = ZRE
			modifier = trebovania
		}
	}	
}

#### эвент Соседней с бейистской республикой чуно стране о том что они оказывают на нас воздействие. Поддержка демократуры подросла. (но мым можем избежать этого, потеряв немного стабки или откупиться за ПП, если оно есть)
country_event = {
	id = jungo.286
	title = jungo.286.t
	desc = jungo.286.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		NOT = { has_government = democratic }
	}	
	option = { 
		name = jungo.286.a		
		ai_chance = {
			base = 8			
		}
		add_popularity = {
			ideology = democratic
			popularity = 0.1
		}
	}	
	option = { 
		name = jungo.286.b		
		ai_chance = {
			base = 4			
		}
		add_stability = -0.05
	}
	option = { 
		name = jungo.286.c
		trigger = {
			has_political_power > 85
		}		
		ai_chance = {
			base = 2			
		}
		custom_effect_tooltip = jungo.286.c.tt
		add_political_power = -85
	}
}

#### эвент ИМПЕРИИ. После того как Ву отозвало гарантии и вывело часть своих активов и бизнеса их примеру последовали некоторые дргие страны. Ханьские и японские оружейники вывели часть фирм, которые собирали снаряжение для нашей армии (мы теряем несколько армейских фабрик и гражданских заодов)
country_event = {
	id = jungo.287
	title = jungo.287.t
	desc = jungo.287.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.287.a		
		random_owned_controlled_state = {
			limit = {
				arms_factory > 1								
			}
			remove_building = {
				type = arms_factory
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				arms_factory > 1								
			}
			remove_building = {
				type = arms_factory
				level = 2
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = {
				type = industrial_complex
				level = 2
			}
		}
	}	
}

#### эвент республике Чжунго. бейистам. Мы должны решить - кто легитимная власть в японии. В этом конфликте мы поддердим есиро или сегунов? это всё пока на уровне поддержки, без альянсов
country_event = {
	id = jungo.288
	title = jungo.288.t
	desc = jungo.288.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.288.a		
		ai_chance = {
			base = 2
			modifier = {
				add = 3
				has_opinion = {
					target = ZNP
					value < -12
				}
			}
		}
		add_opinion_modifier = {
			target = ZJA
			modifier = drujestvennaya_ritorika_20
		}
		ZJA = {
			country_event = { id = jungo.289 }
		}
		add_ai_strategy = {
			type = alliance
			id = ZJA
			value = 50
		}
		add_opinion_modifier = {
			target = ZNP
			modifier = trebovania
		}
		ZNP = {
			add_opinion_modifier = {
				target = ZRE
				modifier = trebovania
			}
		}
	}
	option = { 
		name = jungo.288.b		
		ai_chance = {
			base = 5
			modifier = {
				add = 2
				has_opinion = {
					target = ZJA
					value < -12
				}
			}
		}
		add_opinion_modifier = {
			target = ZNP
			modifier = drujestvennaya_ritorika_20
		}
		ZNP = {
			country_event = { id = jungo.290 }
		}
		add_ai_strategy = {
			type = alliance
			id = ZNP
			value = 50
		}
		add_opinion_modifier = {
			target = ZJA
			modifier = trebovania
		}
		ZJA = {
			add_opinion_modifier = {
				target = ZRE
				modifier = trebovania
			}
		}
	}
}


#### эвент японии при сёгунате о том что их поддержала республика Чжунго. внезапно...
country_event = {
	id = jungo.289
	title = jungo.289.t
	desc = jungo.289.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.289.a		
		add_opinion_modifier = {
			target = ZRE
			modifier = drujestvennaya_ritorika_20
		}
		add_ai_strategy = {
			type = alliance
			id = ZRE
			value = 50
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.8 }
		}		
	}	
}

#### эвент новояпонии с есиро о том что их поддержала республика Чжунго. ...
country_event = {
	id = jungo.290
	title = jungo.290.t
	desc = jungo.290.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.290.a		
		add_opinion_modifier = {
			target = ZRE
			modifier = drujestvennaya_ritorika_20
		}
		add_ai_strategy = {
			type = alliance
			id = ZRE
			value = 50
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.9 }
		}
	}	
}

#### эвент республике Чжунго. бейистам. Мы должны решить - кто легитимная власть в японии. Кого мы открыто поддержим в военном конфликте японий? (мы вступим в войну на стороне одной из стран)
country_event = {
	id = jungo.291
	title = jungo.291.t
	desc = jungo.291.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.291.a		
		ai_chance = {
			base = 2
			modifier = {
				add = 3
				has_opinion = {
					target = ZNP
					value < -12
				}
			}
			modifier = {
				add = 3
				has_opinion = {
					target = ZNP
					value > 15
				}
			}
		}		
		ZJA = {
			country_event = { id = jungo.292 }
			custom_effect_tooltip = needs_approval
		}
		custom_effect_tooltip = jungo.291.tttt
		if = {
			limit = {
				is_faction_leader = yes
				ZJA = {
					is_in_faction = no
				}						
			}
			custom_effect_tooltip = jungo.291.a.tt
		}		
	}
	option = { 
		name = jungo.291.b		
		ai_chance = {
			base = 5
			modifier = {
				add = 2
				has_opinion = {
					target = ZJA
					value < -12
				}
			}
			modifier = {
				add = 3
				has_opinion = {
					target = ZNP
					value > 15
				}
			}
		}		
		ZNP = {
			country_event = { id = jungo.293 }
			custom_effect_tooltip = needs_approval
		}	
		custom_effect_tooltip = jungo.291.tttt
		if = {
			limit = {
				is_faction_leader = yes
				ZNP = {
					is_in_faction = no
				}						
			}
			custom_effect_tooltip = jungo.291.a.tt
		}
	}
}

#### эвент японии при сёгунате о том что их поддержала республика Чжунго. И внезапно предложила оказать военное содействие в решении вопроса Есиро. Они хотят вступить в нашу войну на нашей стороне
country_event = {
	id = jungo.292
	title = jungo.292.t
	desc = jungo.292.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.292.a		
		ai_chance = {
			base = 8	
			modifier = {
				add = 3
				surrender_progress > 0.1
			}
		}
		ZRE = {
			add_to_war = { 
				targeted_alliance = ZJA 
				enemy = ZNP 
	#			hostility_reason = asked_to_join
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.12 }
		}
	}
	option = { 
		name = jungo.292.c	
		trigger = {			
			ZRE = {
				is_faction_leader = yes
			}						
			is_in_faction = no		
		}		
		ai_chance = {
			base = 8	
			modifier = {
				add = 3
				surrender_progress > 0.1
			}
		}
		ZRE = {
			add_to_faction = ZJA
			add_to_war = { 
				targeted_alliance = ZJA 
				enemy = ZNP 
	#			hostility_reason = asked_to_join
			}
		}	
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.12 }
		}
	}
	option = { 
		name = jungo.292.b		
		ai_chance = {
			base = 2			
		}		
	}
}

#### эвент новояпонии при есиро о том что их поддержала республика Чжунго. И внезапно предложила оказать военное содействие в решении вопроса сегунов. Они хотят вступить в нашу войну на нашей стороне
country_event = {
	id = jungo.293
	title = jungo.293.t
	desc = jungo.293.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.293.a		
		ai_chance = {
			base = 8	
			modifier = {
				add = 3
				surrender_progress > 0.1
			}
		}
		ZRE = {
			add_to_war = { 
				targeted_alliance = ZNP 
				enemy = ZJA 
	#			hostility_reason = asked_to_join
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.13 }
		}
	}
	option = { 
		name = jungo.293.c	
		trigger = {			
			ZRE = {
				is_faction_leader = yes
			}						
			is_in_faction = no		
		}		
		ai_chance = {
			base = 8	
			modifier = {
				add = 3
				surrender_progress > 0.1
			}
		}
		ZRE = {
			add_to_faction = ZNP
			add_to_war = { 
				targeted_alliance = ZNP 
				enemy = ZJA 
	#			hostility_reason = asked_to_join
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.13 }
		}
	}
	option = { 
		name = jungo.293.b		
		ai_chance = {
			base = 2			
		}		
	}
}

#### эвент республике бейистам. тотальная ревизия, оказывается у нас всё ок. Мы всё пересчитали  и наши склады пополнились.
country_event = {
	id = jungo.294
	title = jungo.294.t
	desc = jungo.294.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.294.a		
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1778
			producer = ZMN
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1028
			producer = ZJA
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1302
			producer = ZRE
		}
		add_equipment_to_stockpile = {
			type = motorized_equipment
			amount = 268
			producer = ZMN
		}
	}	
}

#### Происшествие с Ванским домом
country_event = {
	id = jungo.295
	title = jungo.295.t
	desc = jungo.295.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.295.a		
		add_war_support = 0.02
		army_experience = 5
	}	
}

#### эвент для империи, из-за начала гражданской войны в стране много народа бежит отседова. Во всякие синьки и прочие хуаномуро. (из кучи рандомных стейтов убирается куча народа)
country_event = {
	id = jungo.296
	title = jungo.296.t
	desc = jungo.296.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		has_war_with = ZRE
	}	
	option = { 
		name = jungo.296.a		
		random_owned_controlled_state = {
			limit = {
				state_population  > 100000							
			}
			add_manpower = -96321			
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 100000							
			}
			add_manpower = -92743			
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 400000							
			}
			add_manpower = -202621			
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 200000							
			}
			add_manpower = -109074
		}
		hidden_effect = {
			add_to_variable = { global.jertvy_voin = 98741 }
			if = {
				limit = {
					country_exists = ZAN
				}
				ZAN = {
					country_event = { days = 2 id = jungo.299 }
				}	
			}
		}
	}	
}

#### эвент для РЕСПУБЛИКЕ, из-за начала гражданской войны в стране много народа бежит отседова. Во всякие синьки и прочие хуаномуро. (из кучи рандомных стейтов убирается куча народа)
country_event = {
	id = jungo.297
	title = jungo.297.t
	desc = jungo.297.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	trigger = {
		has_war_with = ZMN
	}
	option = { 
		name = jungo.297.a		
		random_owned_controlled_state = {
			limit = {
				state_population  > 100000							
			}
			add_manpower = -94321
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 100000							
			}
			add_manpower = -68741
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 400000							
			}
			add_manpower = -197542
		}
		random_owned_controlled_state = {
			limit = {
				state_population  > 200000							
			}
			add_manpower = -127436
		}
		hidden_effect = {
			if = {
				limit = {
					country_exists = ZTH
				}
				ZTH = {
					country_event = { days = 2 id = jungo.298 }
				}	
			}
		}
	}	
}

#### эвент синьке о том что к нам куча беженцев прибыла из-за войны в чунгк
country_event = {
	id = jungo.298
	title = jungo.298.t
	desc = jungo.298.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.298.a		
		add_war_support = -0.02
		random_owned_controlled_state = {			
			add_manpower = 35874
		}
		random_owned_controlled_state = {			
			add_manpower = 105874
		}
		random_owned_controlled_state = {			
			add_manpower = 85641
		}
		random_owned_controlled_state = {			
			add_manpower = 75412
		}
		random_owned_controlled_state = {			
			add_manpower = 96521
		}
		random_owned_controlled_state = {			
			add_manpower = 65478
		}
	}	
}

#### эвент хуаномурке о том что к нам куча беженцев прибыла из-за войны в чунгк
country_event = {
	id = jungo.299
	title = jungo.299.t
	desc = jungo.299.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = { 
		name = jungo.299.a		
		add_war_support = -0.02
		random_owned_controlled_state = {			
			add_manpower = 47851
		}
		random_owned_controlled_state = {			
			add_manpower = 98741
		}
		random_owned_controlled_state = {			
			add_manpower = 32157
		}
		random_owned_controlled_state = {			
			add_manpower = 61785
		}
		random_owned_controlled_state = {			
			add_manpower = 32451
		}
		random_owned_controlled_state = {			
			add_manpower = 25794
		}
	}	
}

#### эвент ЧИСТО ДЛЯ ИИ ЧТО ЧУНГА ПЕРЕКАТЫВАЕТСЯ В ОМНИКОВ
country_event = {
	id = jungo.300
	title = jungo.300.t
	desc = jungo.300.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		is_ai = yes
	}
	immediate = {
		every_other_country = {	#### эвент  колониям чунги что там переворот, республика восстала. И это наш ганс на независимость
			limit = {
				OR = {
					is_puppet_of = ZMN
					is_subject_of = ZMN
				}					
			}
			drop_cosmetic_tag = yes	
			ZMN = { set_autonomy = { target = PREV autonomy_state = autonomy_free } }							
			country_event = {
				id = jungo.161
			}
		}
		if = {
			limit = {
				is_faction_leader = yes
			}
			dismantle_faction = yes
		}
		if = {
			limit = {
				has_template = "Zhimindi Lu"
			}
			set_division_template_lock = {
				division_template = "Zhimindi Lu"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Bubing Shi"
			}
			set_division_template_lock = {
				division_template = "Bubing Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Zhimindi Shi"
			}
			set_division_template_lock = {
				division_template = "Zhimindi Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Qibing Jun"
			}
			set_division_template_lock = {
				division_template = "Qibing Jun"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Zhuangjia Shi"
			}
			set_division_template_lock = {
				division_template = "Zhuangjia Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Jidong Shi"
			}
			set_division_template_lock = {
				division_template = "Jidong Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Shandi Shi"
			}
			set_division_template_lock = {
				division_template = "Shandi Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_idea = zmn_upadok_armii
			}
			remove_ideas = zmn_upadok_armii
		}
		1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}
			if = {
				limit = {
					controls_state = 1115 
					controls_state = 1114
					controls_state = 1109
					controls_state = 1113					
				}
				ZRE = {
					transfer_state = 1115
					transfer_state = 1114
					transfer_state = 1109	
					transfer_state = 1113	
				}
			}
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZRE
				size = 0.7 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.7
				army_ratio = 0.7
				navy_ratio = 0.7
				air_ratio = 0.7
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}
			ZRE = {
				inherit_technology = ZMN
				complete_national_focus = zre_sotsialistik_resp
				set_popularities = {
					democratic = 24
					neutrality = 1
					fascism = 1
					communism = 74
				}
				set_politics = {
					ruling_party = communism
				}
				set_stability = 0.75
				set_war_support = 0.75
				add_political_power = 250
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2500
					producer = ZMN
				}
				division_template = {
					name = "Peoples guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}
				}
				random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
				}
				random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}								
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				add_ideas = zre_vnutrennye_vspysk_kontrevol	 # Внутренние вспышки контрреволюции
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
			}
			country_event = { days = 5 id = jungo.296 }
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			news_event = { hours = 3 id = ar_news.979 }
	}	
	option = { 
		name = jungo.300.a		
		
	}	
}

#### эвент ЧИСТО ДЛЯ ИИ ЧТО ЧУНГА ПЕРЕКАТЫВАЕТСЯ В ДЕМОВ
country_event = {
	id = jungo.301
	title = jungo.301.t
	desc = jungo.301.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		is_ai = yes
	}	
	immediate = {
		every_other_country = {	#### эвент  колониям чунги что там переворот, республика восстала. И это наш ганс на независимость
			limit = {
				OR = {
					is_puppet_of = ZMN
					is_subject_of = ZMN
				}					
			}
			drop_cosmetic_tag = yes	
			ZMN = { set_autonomy = { target = PREV autonomy_state = autonomy_free } }							
			country_event = {
				id = jungo.161
			}
		}
		if = {
			limit = {
				is_faction_leader = yes
			}
			dismantle_faction = yes
		}
		if = {
			limit = {
				has_template = "Zhimindi Lu"
			}
			set_division_template_lock = {
				division_template = "Zhimindi Lu"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Bubing Shi"
			}
			set_division_template_lock = {
				division_template = "Bubing Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Zhimindi Shi"
			}
			set_division_template_lock = {
				division_template = "Zhimindi Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Qibing Jun"
			}
			set_division_template_lock = {
				division_template = "Qibing Jun"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Zhuangjia Shi"
			}
			set_division_template_lock = {
				division_template = "Zhuangjia Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Jidong Shi"
			}
			set_division_template_lock = {
				division_template = "Jidong Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_template = "Shandi Shi"
			}
			set_division_template_lock = {
				division_template = "Shandi Shi"
				is_locked = no
			}
		}
		if = {
			limit = {
				has_idea = zmn_upadok_armii
			}
			remove_ideas = zmn_upadok_armii
		}
		1106 = {
				add_core_of = ZRE
			}
			if = {
				limit = {
					controls_state = 1106 
				}
				ZRE = {
					transfer_state = 1106
				}
			}
			if = {
				limit = {
					controls_state = 750 
					controls_state = 1085 
				}
				ZRE = {
					transfer_state = 750
					transfer_state = 1085
				}
			}
			if = {
				limit = {
					controls_state = 1105 
					controls_state = 595 
					controls_state = 1111 
					controls_state = 593 
				}
				ZRE = {
					transfer_state = 1105
					transfer_state = 595
					transfer_state = 1111
					transfer_state = 593
				}
			}
			if = {
				limit = {
					controls_state = 1125 
					controls_state = 1112 
					controls_state = 600 
					controls_state = 620 
				}
				ZRE = {
					transfer_state = 1125
					transfer_state = 1112
					transfer_state = 600
					transfer_state = 620
				}
			}
			if = {
				limit = {
					controls_state = 602 
					controls_state = 1124
					controls_state = 1119
				}
				ZRE = {
					transfer_state = 602
					transfer_state = 1124
					transfer_state = 1119	
				}
			}
			if = {
				limit = {
					controls_state = 1115 
					controls_state = 1114
					controls_state = 1109
					controls_state = 1113					
				}
				ZRE = {
					transfer_state = 1115
					transfer_state = 1114
					transfer_state = 1109	
					transfer_state = 1113	
				}
			}
			add_ai_strategy = {
				type = conquer
				id = ZRE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZRE
				value = 300
			}
			every_state = {
				limit = { is_core_of = ZMN }
				add_core_of = ZRE
				add_claim_by = ZRE
			}
			every_state = {
				limit = { is_controlled_by = ZRE }				
				add_claim_by = ZMN
			}
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZRE
				size = 0.7 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.7
				army_ratio = 0.7
				navy_ratio = 0.7
				air_ratio = 0.7
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}
			ZRE = {
				inherit_technology = ZMN
				complete_national_focus = zre_dvuhpatr_respubl
				add_popularity = {
					ideology = democratic
					popularity = 0.75
				}
				set_politics = {
					ruling_party = democratic
				}
				# create_country_leader = {	
					# name = "Coalition Council"
					# desc = ""
					# picture = "zre_coalition_council.tga"
					# expire = "2010.1.1"
					# ideology = conservatism
					# traits = {
						# zre_neloyalny_generaly_traitt
					# }
				# }
				add_country_leader_role = {
					character = "ZRE_coalition_council"
					country_leader = {
						ideology = conservatism
						traits = { zre_neloyalny_generaly_traitt }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				set_stability = 0.75
				set_war_support = 0.75
				add_political_power = 250
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2500
					producer = ZMN
				}
				division_template = {
					name = "Peoples guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}
				}
				random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
				}
				random_owned_state = {		# для баланса Чтобы ИИ республики был круче ИИ империи				
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
					create_unit = {
						division = "division_template = \"Peoples guard\" start_experience_factor = 0.2"
						owner = ZRE
					}	
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZMN
					value = 300
				}								
				add_timed_idea = {
					idea = zmn_anti_zmn_zre_bust
					days = 1500
				}
				add_ideas = zre_problema_s_omnikami	 # Противоречия с омнипаристами
				add_ideas = zre_neorganiz_voiska	 # Неорганизованные войска
				add_ideas = zre_devalv_valuty	 # Девальвация валюты
				country_event = { days = 5 id = jungo.297 }
				country_event = { days = 12 id = jungo.316 }	# Сложная обстановка в республиканской армии
			}
			country_event = { days = 5 id = jungo.296 }
			add_timed_idea = {
				idea = zmn_anti_zre_bust
				days = 1500
			}
			news_event = { hours = 3 id = ar_news.964 }
	}
	option = { 
		name = jungo.301.a		
		
	}	
}

###### эвент ёсиро и сёгунам (один и тот же текст). наши люди сообщают что чунго решает заняться нашими портами в зомии. дескать у них есть подготовленные там люди и они хотят с их попощью под шумок войны отжать себе. Гады какие. Нам надо непременно держать там гарнизон.
country_event = {
	id = jungo.302
	title = jungo.302.t
	desc = jungo.302.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.302.a
		
	}
}

###### эвент чжунго. нам удалось без боя захватить стейт 936. Мы воспользовались японской войной и под шумок отжали у них этот порт в зомии. Вот какие мы хитрецы. Японцы обиделись конечно((((
country_event = {
	id = jungo.303
	title = jungo.303.t
	desc = jungo.303.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.303.a
		transfer_state = 936
		hidden_effect = {
			936 = {
				remove_claim_by = ZJA
				remove_claim_by = ZNP
			}
			ZJA = {
					country_event = { id = jungo.304 }
			}
			ZNP = {
				country_event = { id = jungo.304 }
			}
			news_event = { hours = 3 id = ar_news.17 }
		}
	}
}

###### эвент ёсиро и сёгунам (один и тот же текст). Чжунго, воспользовавшись нашей войной отжала у нас стейт 936. Гады какие. Эх, надо было всё таки держать там дивизию.
country_event = {
	id = jungo.304
	title = jungo.304.t
	desc = jungo.304.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.304.a
		add_opinion_modifier = {
			target = ZMN
			modifier = predateli_light
		}
	}
}

###### эвент чунге. Нам не удалось отжать стейт 936. наших людей обнаружили и уничтожили
country_event = {
	id = jungo.305
	title = jungo.305.t
	desc = jungo.305.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.305.a
		army_experience = 5
	}
}

###### эвент чжунго. нам удалось без боя захватить стейт 937. Мы воспользовались японской войной и под шумок отжали у них этот порт в зомии. Вот какие мы хитрецы. Японцы обиделись конечно((((
country_event = {
	id = jungo.306
	title = jungo.306.t
	desc = jungo.306.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.306.a
		transfer_state = 937
		hidden_effect = {
			937 = {
				remove_claim_by = ZJA
				remove_claim_by = ZNP
			}
			ZJA = {
					country_event = { id = jungo.307 }
			}
			ZNP = {
				country_event = { id = jungo.307 }
			}
			news_event = { hours = 3 id = ar_news.18 }
		}
	}
}

###### эвент ёсиро и сёгунам (один и тот же текст). Чжунго, воспользовавшись нашей войной отжала у нас стейт 937. Гады какие. Эх, надо было всё таки держать там дивизию.
country_event = {
	id = jungo.307
	title = jungo.307.t
	desc = jungo.307.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.307.a
		add_opinion_modifier = {
			target = ZMN
			modifier = agressssor
		}
	}
}

###### эвент чунге. Нам не удалось отжать стейт 937. наших людей обнаружили и уничтожили
country_event = {
	id = jungo.308
	title = jungo.308.t
	desc = jungo.308.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.308.a
		army_experience = 5
	}
}

###### эвент чжунго. нам удалось без боя захватить стейт 80. Мы воспользовались японской войной и под шумок отжали у них этот порт в зомии. Вот какие мы хитрецы. Японцы обиделись конечно((((
country_event = {
	id = jungo.309
	title = jungo.309.t
	desc = jungo.309.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.309.a
		transfer_state = 801
		hidden_effect = {
			801 = {
				remove_claim_by = ZJA
				remove_claim_by = ZNP
			}
			ZJA = {
					country_event = { id = jungo.310 }
			}
			ZNP = {
				country_event = { id = jungo.310 }
			}
			news_event = { hours = 3 id = ar_news.19 }
		}
	}
}

###### эвент ёсиро и сёгунам (один и тот же текст). Чжунго, воспользовавшись нашей войной отжала у нас стейт 80. Гады какие. Эх, надо было всё таки держать там дивизию.
country_event = {
	id = jungo.310
	title = jungo.310.t
	desc = jungo.310.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.307.a
		add_opinion_modifier = {
			target = ZMN
			modifier = agressssor
		}
	}
}

###### эвент чунге. Нам не удалось отжать стейт 80. наших людей обнаружили и уничтожили
country_event = {
	id = jungo.311
	title = jungo.311.t
	desc = jungo.311.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.311.a
		army_experience = 5
	}
}

###### эвент чжунго. нам удалось без боя захватить стейт 336. Мы воспользовались японской войной и под шумок отжали у них этот порт в зомии. Вот какие мы хитрецы. Японцы обиделись конечно((((
country_event = {
	id = jungo.312
	title = jungo.312.t
	desc = jungo.312.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.312.a
		transfer_state = 336
		hidden_effect = {
			336 = {
				remove_claim_by = ZJA
				remove_claim_by = ZNP
			}
			ZJA = {
					country_event = { id = jungo.313 }
			}
			ZNP = {
				country_event = { id = jungo.313 }
			}
			news_event = { hours = 3 id = ar_news.20 }
		}
	}
}

###### эвент ёсиро и сёгунам (один и тот же текст). Чжунго, воспользовавшись нашей войной отжала у нас стейт 336. Гады какие. Эх, надо было всё таки держать там дивизию.
country_event = {
	id = jungo.313
	title = jungo.313.t
	desc = jungo.313.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.307.a
		add_opinion_modifier = {
			target = ZMN
			modifier = agressssor
		}
	}
}

###### эвент чунге. Нам не удалось отжать стейт 336. наших людей обнаружили и уничтожили
country_event = {
	id = jungo.314
	title = jungo.314.t
	desc = jungo.314.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.314.a
		army_experience = 5
	}
}

###### эвент чунге. император нейм осуждает персидские движухи. Опять они за своё, всё то им мало +новость ar_news.21
country_event = {
	id = jungo.315
	title = jungo.315.t
	desc = jungo.315.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.315.a
		add_political_power = 25
		add_war_support = 0.01
		ZPA = {
			add_opinion_modifier = {
				target = ZMN
				modifier = trebovania
			}
			add_ai_strategy = {
				type = antagonize
				id = ZMN
				value = 50
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.21 }
		}
	}
}

###### эвент чунге. Республика гражданка омники херовничают
country_event = {
	id = jungo.316
	title = jungo.316.t
	desc = jungo.316.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_war = yes
	}	
	option = {
		name = jungo.316.a
		add_stability = -0.02
		add_war_support = -0.05
	}
}

###### эвент чунге. Республика гражданка омники херовничают 2
country_event = {
	id = jungo.317
	title = jungo.317.t
	desc = jungo.317.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.317.a
		add_stability = -0.02
		hidden_effect = {
			country_event = { days = 50 id = jungo.318 }
		}
	}
}

###### эвент чунге. омники фусана го го 
country_event = {
	id = jungo.318
	title = jungo.318.t
	desc = jungo.318.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	trigger = {
		has_active_mission = zre_predvibotraya_gonka_missiya
		NOT = {
			country_exists = ZHK
		}
		controls_state = 482
	}	
	immediate = {
		hidden_effect = {
			ZRE_li_zou = {
				set_nationality = ZHK				
			}
			ZHK = {
				transfer_state = 482
				set_cosmetic_tag = ZHK_FUSAN
				set_popularities = {
					democratic = 5
					neutrality = 5
					fascism = 5
					communism = 85
				}
				set_politics = {
					ruling_party = communism
				}
				# create_country_leader = {
					# name = "Li Zou"	# женец
					# desc = ""
					# picture = "portrait_zhk_li_zou.tga"
					# expire = "2010.1.1"
					# ideology = leninism
					# traits = {						
					# }
				# }				
				add_country_leader_role = {
					character = "ZRE_li_zou"
					country_leader = {
						ideology = leninism
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				complete_national_focus = ar_political_choice
				complete_national_focus = ar_omniparism_choice
				add_political_power = 250
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2500
					producer = ZMN
				}
				division_template = {
					name = "Guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}
				}
				482 = {				
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZHK
					}	
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZHK
					}	
				}
				country_event = { days = 5 id = jungo.319 }
			}
			if = {
				limit = {
					controls_state = 483 
				}
				ZHK = {
					transfer_state = 483
					483 = {				
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = ZHK
						}															
					}
				}
			}
			if = {
				limit = {
					controls_state = 377 
				}
				ZHK = {
					transfer_state = 377
					377 = {				
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = ZHK
						}															
					}
				}
			}
			if = {
				limit = {
					controls_state = 376 
				}
				ZHK = {
					transfer_state = 376
					376 = {				
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = ZHK
						}															
					}
				}
			}
			if = {
				limit = {
					controls_state = 823 
				}
				ZHK = {
					transfer_state = 823
					823 = {				
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = ZHK
						}															
					}
				}
			}
			if = {
				limit = {
					controls_state = 822 
				}
				ZHK = {
					transfer_state = 822
					822 = {				
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = ZHK
						}															
					}
				}
			}			
			news_event = { hours = 3 id = ar_news.23 }
		}
	}
	option = {
		name = jungo.318.a # пёс с ними
		ai_chance = {
			base = 1			
		}
		effect_tooltip = {
			ZHK = {
				transfer_state = 482
			}	
		}		
	}
	option = {
		name = jungo.318.b
		ai_chance = {
			base = 1			
		}
		effect_tooltip = {
			ZHK = {
				transfer_state = 482
			}	
		}
		every_state = {
			limit = { is_owned_by = ZHK }				
			add_claim_by = ZRE
		}
		declare_war_on = {
			type = annex_everything
			target = ZHK
		}
	}
}

###### эвент Вот этой вот фусани омнипраристической. может нам попросить помощи у ФСР?
country_event = {
	id = jungo.319
	title = jungo.319.t
	desc = jungo.319.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	trigger = {
		ZIK = {
			exists = yes
			has_government = communism
			is_faction_leader = yes
		}
	}	
	option = {
		name = jungo.319.a
		ai_chance = {
			base = 12			
		}
		ZIK = {
			country_event = { id = jungo.320 }
		}
	}
	option = {
		name = jungo.319.b
		ai_chance = {
			base = 1			
		}
	}
}


###### эвент ФСР. какая-то непонятная Чжунгжэньская Свободная Социалистическая Республика на западе фолькунгии просится к нам в альянс. оно нам надо?
country_event = {
	id = jungo.320
	title = jungo.320.t
	desc = jungo.320.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
		
	option = {
		name = jungo.320.a
		ai_chance = {
			factor = 15			
		}
		add_to_faction = ZHK
		add_ai_strategy = {
			type = alliance
			id = ZHK
			value = 50
		}
		ZHK = {
			country_event = { id = jungo.321 }
		}
	}
	option = {
		name = jungo.320.b
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 30
				ZHK = {
					has_war = yes
				}
			}
		}
		ZHK = {
			country_event = { id = jungo.322 }
		}
	}
}

###### эвент этим вот омникам Чжунгжэньская Свободная Социалистическая Республика что ФСР взяли нас в альянс +новость 24
country_event = {
	id = jungo.321
	title = jungo.321.t
	desc = jungo.321.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.321.a
		effect_tooltip = {
			ZIK = {
				add_to_faction = ZHK
			}
		}
		add_ai_strategy = {
			type = alliance
			id = ZIK
			value = 50
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.24 }
		}
	}	
}

###### эвент этим вот омникам Чжунгжэньская Свободная Социалистическая Республика что ФСР  НЕ взяли нас в альянс(((((
country_event = {
	id = jungo.322
	title = jungo.322.t
	desc = jungo.322.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.322.a
		add_stability = -0.02
	}	
}

###### императо_нейм чунги призывает мировое общество сплотиться в противостоянии лживым идеалам людоедского омнипаризма +новость 25
country_event = {
	id = jungo.323
	title = jungo.323.t
	desc = jungo.323.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.323.a
		every_other_country = {
			limit = { 
				has_government = communism
			}
			add_opinion_modifier = {
				target = ZMN
				modifier = agressssor
			}
			reverse_add_opinion_modifier = { target = ZMN modifier = agressssor }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.25 }
		}
	}	
}

###### эвент рандомной НЕ омнипаристической стране Азии что империя Чжунго, используя свой авторитет и методы пропаганды доносит до нас мысль о том что омнипаризм это такая себе затея. Они надеятся что мы не станем что-то с омниками мутить. Поддержка омнипаризма уменьшается.
country_event = {
	id = jungo.324
	title = jungo.324.t
	desc = jungo.324.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.324.a
		add_popularity = {
			ideology = communism
			popularity = -0.1
		}
	}	
}

###### эвент рандомной  омнипаристической (!!!)   стране Азии что империя Чжунго, используя свой авторитет и методы пропаганды доносит до нас мысль о том что омнипаризм это такая себе затея. Вроде бы да пошли они в дупу, но уж слишком некоторые наши товарищи с восхищением относятся к этой чунге и стали ей доверять после того как те оклемались от кризиса и не распались на кусочки (теряем немного поддержки омников и стабку)
country_event = {
	id = jungo.325
	title = jungo.325.t
	desc = jungo.325.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.325.a
		add_popularity = {
			ideology = communism
			popularity = -0.03
		}
		add_stability = -0.05
	}	
}

###### эвент стране-соседу ФСР (новрусь и цезария) чунга зовёт нас в своё сейшу, типа для защиты от омников. Стоит ли? или же просто попробуем выторговать у них гарант для нас?
country_event = {
	id = jungo.326
	title = jungo.326.t
	desc = jungo.326.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.326.a	# мы вступим в сейшу, чо уж
		ai_chance = {
			factor = 16
			modifier = {
				factor = 2
				has_opinion = {
					target = ZMN
					value > 15
				}
			}
			modifier = {
				factor = 1.2
				ZMN = {
					num_faction_members > 8
				}
			}
		}
		ZMN = {
			add_to_faction = ROOT
			country_event = { id = jungo.327 }
		}
		effect_tooltip = {
			if = {
				limit = {
					ZMN = {
						has_idea = zmn_seishu_alliance_buff
					}
				}
				add_ideas = zmn_seishu_alliance_buff
			}
		}	
		hidden_effect = {
			if = {
				limit = {
					ZMN = {
						is_seishu_leader = yes
					}
				}
				mark_as_seishu_member = yes
			}
			else = {
				add_ai_strategy = {
					type = alliance
					id = ZMN
					value = 50
				}
				add_ai_strategy = {
					type = befriend
					id = ZMN
					value = 50
				}
				add_ai_strategy = {
					type = protect
					id = ZMN
					value = 50
				}
				add_ai_strategy = {
					type = ignore
					id = ZMN
					value = -50
				}
			}			
		}
	}
	option = {
		name = jungo.326.b	# нет, но мы попробуем выторговать себе гарант со стороны чунги
		trigger = {
			NOT = {
				is_guaranteed_by = ZMN
			}
		}
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				has_opinion = {
					target = ZMN
					value < -20
				}
			}
		}
		custom_effect_tooltip = jungo.326.b.tt
		ZMN = {
			country_event = { id = jungo.329 }
			custom_effect_tooltip = needs_approval
		}
	}
	option = {
		name = jungo.326.c	# спасибо, можно не надо
		ai_chance = {
			factor = 2			
		}
		ZMN = {			
			country_event = { id = jungo.328 }
		}
	}
}

###### эвент чунге, эта вот страна-нейм согласилась вступить в сейшу. Всё для борьбы с омниками! +новость 26
country_event = {
	id = jungo.327
	title = jungo.327.t
	desc = jungo.327.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.327.a
		effect_tooltip = {
			add_to_faction = FROM
			if = {
				limit = {					
					has_idea = zmn_seishu_alliance_buff					
				}
				FROM = {
					add_ideas = zmn_seishu_alliance_buff
				}	
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.26 }
		}
	}	
}

###### эвент чунге, эта вот страна-нейм НЕ согласилась вступить в сейшу. и вообще они говорят что у них всё норм и им не помеха эти омники
country_event = {
	id = jungo.328
	title = jungo.328.t
	desc = jungo.328.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.328.a
		
	}	
}

###### эвент чунге, эта вот страна-нейм НЕ захотела к нам в альянс, но они были бы непротив если бы мы их загарантили  перед угрозой омнипаризма. Хитрецы однако. Что мы ответим?
country_event = {
	id = jungo.329
	title = jungo.329.t
	desc = jungo.329.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.329.a
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 3
				has_opinion = {
					target = FROM
					value > 15
				}
			}
			
		}
		diplomatic_relation = {
			country = FROM
			relation = guarantee
			active = yes
		}
		FROM = {
			country_event = { id = jungo.330 }
		}	
	}
	option = {
		name = jungo.329.b
		ai_chance = {
			factor = 2
			modifier = {
				factor = 3
				FROM = {
					has_added_tension_amount > 15
				}
			}
		}
		FROM = {
			country_event = { id = jungo.331 }
		}
	}
}

###### эвент странЕ-нейм. чунга нас таки загарантила. Атлишна + новость 27
country_event = {
	id = jungo.330
	title = jungo.330.t
	desc = jungo.330.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.330.a
		effect_tooltip = {
			ZMN = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = yes
				}
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.27 }
		}
	}	
}

###### эвент странЕ-нейм. чунга нас таки НЕ загарантила. жаль, шанс упуще кароч
country_event = {
	id = jungo.331
	title = jungo.331.t
	desc = jungo.331.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.331.a
		add_stability = -0.02
	}	
}

###### эвент империи Чжунго. После всеъ этих кризисов и прочего говнища. Император_нейм начинает продвигать тему того что пора бы уже уходить от всех этих выборов императоров от ванств, уж больно они тяжко даются. Но к чему конкртетно он не сказал, но авны уже какбэ не рады. Но его люди уже начали эту агитацию из каждого утюга. А как же традиции и всё такое? (минус стабка)
country_event = {
	id = jungo.332
	title = jungo.332.t
	desc = jungo.332.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.332.a
		add_stability = -0.15
	}	
}

###### эвент империи Чжунго. Император проводит дальнейшую интеграцию, он говорит что все эти деления на ванства это такое себе и что Чунго это страна единая и неделимая. Но вот у ванов встал остро вопрос а как следующего императора то выбирать будем? (варики - только единоличное правление - ну это восстание, второй варик - созвать совет ванов, он будет на постоянной основе рулить страной, а не собираться только на Чжуцюань. Ваны довольны, нацкорки убираем, но ловим нацдух - совет ванов - стабку повышает, а прирост ПП уменьшает, типа что такой себе орган правления (есть небольной шанс восстания всяких радикалов), ну и третий вариант - если у нас есть Чжухоу то делегируем полномочия этому органу (есть небольшой шанс восстания какого-нить вана). Крч если всё пройдет ок то ванства теряют корки, если будет заковырка то корки не потеряются. 
country_event = {
	id = jungo.333
	title = jungo.333.t
	desc = jungo.333.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		chungo_is_massivv_trigger = yes
	}
	immediate = {

	}	
	option = {
		name = jungo.333.a	#в одну харю
		ai_chance = {
			factor = 1			
		}
		add_country_leader_trait = zmn_odin_imperator_dlya_vseh_traitt
		random_list = {
			50 = {
				country_event = { id = jungo.335 } # восстание
			}
			50 = {
				country_event = { id = jungo.334 } # всё ок
			}
		}
	}
	option = {
		name = jungo.333.b	#совет ванов
		ai_chance = {
			factor = 10			
		}
		add_ideas = zmn_sovet_vanov_sozvan
		add_country_leader_trait = zmn_imperator_predsedatel_traitt
		random_list = {
			25 = {
				country_event = { id = jungo.336 } # всякие недовольные мусульмане завыступали, дескать чо за централизация то, вы чо
			}
			75 = {
				country_event = { id = jungo.334 } # всё ок
			}
		}
	}
	option = {
		name = jungo.333.c	#чжухоу
		custom_effect_tooltip = jungo.333.c.tt
		trigger = {
			has_country_flag = ZMN_ue_senat_chjuhou_flag
			has_government = democratic	
		}
		ai_chance = {
			factor = 20			
		}
		random_list = {
			5 = {
				country_event = { id = jungo.337 } # теряем стабку
			}
			95 = {
				country_event = { id = jungo.334 } # всё ок
			}
		}
	}	
}

### Всё ок, мы смогли интегрировать ванства в состав империи. (это общий эвент, при удаче на все варианты) +новость 29  что ванства теперь прошлый век
country_event = {
	id = jungo.334
	title = jungo.334.t
	desc = jungo.334.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		chungo_is_massivv_trigger = yes
	}
	option = {
		name = jungo.334.a
		every_state = {
			limit = { is_core_of = XMI }
			remove_core_of = XMI
		}
		every_state = {
			limit = { is_core_of = ZYU }
			remove_core_of = ZYU
		}
		every_state = {
			limit = { is_core_of = XCH }
			remove_core_of = XCH
		}
		every_state = {
			limit = { is_core_of = ZXS }
			remove_core_of = ZXS
		}
		every_state = {
			limit = { is_core_of = ZRE }
			remove_core_of = ZRE
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.29 }
		}
	}	
}


###### эвент империи Чжунго. ванам не очень понравилась наша инициатива узурпировать власть. ванство Шу восстало первым, остальные поддержали его и под его предводительством пошли против императора....+новость 28
country_event = {
	id = jungo.335
	title = jungo.335.t
	desc = jungo.335.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			release = ZXS	# это Шу и есть
			transfer_units_fraction = {	# отдаем кусок армии республике
				target = ZXS
				size = 0.4 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.4
				army_ratio = 0.4
				navy_ratio = 0.4
				air_ratio = 0.4
				# keep_unit_leaders = {
						    
				# }
				# keep_unit_leaders_trigger = {
					
				# }
			}
			ZXS = {
				add_political_power = 120
				add_stability = 0.1
				add_war_support = 0.1
				army_experience = 20
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2500
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				division_template = {
					name = "Collaboration Army"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
					create_unit = {
						division = "division_template = \"Collaboration Army\" start_experience_factor = 0.2"
						owner = ZXS
					}
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN				
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = ZMN
			}
			news_event = { hours = 3 id = ar_news.28 }
		}
	}
	option = {
		name = jungo.335.a
		effect_tooltip = {
			XMI = {
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
			}
		}
	}	
}

###### эвент империи Чжунго. Император пытался централизовать всю страну, создав совет ванов но всякие недовольные мусульмане завыступали, дескать чо за централизация то, вы чо
country_event = {
	id = jungo.336
	title = jungo.336.t
	desc = jungo.336.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.336.a
		add_stability = -0.15
		# дальше сюда развитие событий на восстания этих ребят вставлю, обязааательно))0)
	}	
}

###### эвент империи Чжунго. Император пытался централизовать всю страну, создав делегировав для чжухоу полномочия на выбор нового императора, но что-то пошло не так и ванства знатно забугуртили. теряем стабку, а корки не теряем
country_event = {
	id = jungo.337
	title = jungo.337.t
	desc = jungo.337.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.337.a
		add_stability = -0.15		
	}	
}

###### эвент империи Чжунго. Император от шу Xian Zhouоткровенно не скрывает что наука для империи не на первом месте. тем не менее советникам удалось его убедить что совсем без науки никак. Мы можем выбрать один из нескольких вариантов. Мы либо получим кучу баффов на армию, либо на флот, либо на авиацию либо на промку.
country_event = {
	id = jungo.338
	title = jungo.338.t
	desc = jungo.338.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.338.a
		custom_effect_tooltip = jungo.338.a.tt
		ai_chance = {
			factor = 25			
		}	
		add_tech_bonus = {
			name = jungo.338.a
			bonus = 1.0
			uses = 5			
			category = infantry_weapons
			category = artillery
			technology = motorised_infantry
			category = motorized_equipment
			category = armor
			technology = tech_mountaineers
			technology = tech_mountaineers2
		}
	}	
	option = {
		name = jungo.338.b
		custom_effect_tooltip = jungo.338.b.tt
		ai_chance = {
			factor = 1			
		}	
		add_tech_bonus = {
			name = jungo.338.b
			bonus = 1.0
			uses = 7			
			technology = early_fighter
			technology = fighter1
			technology = fighter2
			technology = fighter3
			technology = heavy_fighter1
			technology = heavy_fighter2
			technology = heavy_fighter3
			technology = strategic_bomber1
			technology = strategic_bomber2
			technology = strategic_bomber3
			category = tactical_bomber
			category = cas_bomber
			category = jet_technology
			category = naval_bomber
			technology = paratroopers
			technology = paratroopers2
#			technology = marines
#			technology = marines2
		}
	}
	option = {
		name = jungo.338.c
		custom_effect_tooltip = jungo.338.c.tt
		ai_chance = {
			factor = 1			
		}	
		add_tech_bonus = {
			name = jungo.338.c
			bonus = 1.0
			uses = 6			
			category = ss_tech
			category = cl_tech
			category = ca_tech	
			category = dd_tech
			category = bc_tech
			category = bb_tech
			category = cv_tech	
			technology = marines
			technology = marines2
		}
	}
	option = {
		name = jungo.338.e
		custom_effect_tooltip = jungo.338.e.tt
		ai_chance = {
			factor = 1			
		}	
		add_tech_bonus = {
			name = jungo.338.e
			bonus = 1.0
			uses = 7
			category = industry			
			category = electronics
			category = nuclear
			category = rocketry
		}
	}
}

###### эвент империи Чжунго. Император от династии ЧУ сказал что только консервативный и взвешенный подход поможет одолеть все экономические проблемы ( и чего тут можно дать? А, Тимур?)))
country_event = {
	id = jungo.339
	title = jungo.339.t
	desc = jungo.339.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.339.a
		add_ideas = zmn_chu_reformy_lichny_control	
	}	
}

###### эвент империи Чжунго. Император от династии ЧУ изымает излишки зерна чтобы сбить на него цену. Он планирует поместить его в госхранилище и потом отправить на соцнужды в города, тем кто голодает. фермеры, граждане и общественные правозащитники говорят что правительство и император свихнулись 
country_event = {
	id = jungo.340
	title = jungo.340.t
	desc = jungo.340.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.340.a
		add_stability = -0.05	
		random_list = {
			50 = {
				add_timed_idea = {
					idea = zmn_chu_nedovolstvo_krestian
					days = 180
				}
			}
			50 = {
				add_stability = -0.01
			}
		}
	}	
}


###### эвент империи Чжунго. Император от династии ЧУ вступил в свои полномочия так сказатьб, но не все знают что он на самом деле очень хорошечно дружит с фанатиками "небесные вратарь". Это стрёмные ребята, у них там остров с храмом и какая-то бесовщина происходит. кто знает что они учудат в будущем
country_event = {
	id = jungo.341
	title = jungo.341.t
	desc = jungo.341.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.341.a
		add_political_power = 40
		hidden_effect = {
			country_event = { id = jungo.342 days = 15 random = 6 }	
		}	
	}	
}

###### эвент империи Чжунго. Император от династии ЧУ. в стране все кризис бушует, на некоторых отдалённых заводах работяги взудмали митинговать, все бы ничего но император решил туда отправить для усмирения ребят из Врат, разумеется тайно. Но они там дел понаделали и в итоге заводы сгорели. Ну и люди. Вот вам и Тихий император...
country_event = {
	id = jungo.342
	title = jungo.342.t
	desc = jungo.342.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.342.a
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 2								
			}
			remove_building = { type = industrial_complex level = 3 }
			add_manpower = -354			
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 2								
			}
			remove_building = { type = industrial_complex level = 3 }
			add_manpower = -471		
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -135			
		}
		hidden_effect = {
			add_to_variable = { global.jertvy_voin = 987 }
			country_event = { id = jungo.34200 days = 15 random = 6 }	
		}
	}	
}


######
country_event = {
	id = jungo.34200
	title = jungo.34200.t
	desc = jungo.34200.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes				
	option = {
		name = jungo.34200.a		
		country_event = { id = jungo.343 }				
	}
}

###### эвент империи Чжунго. к императору от династии чу тайно пришла делегация от фанатиков. они значит такие говорят - у тебя рейтинги то народные ниже плинтуса! давай мы тебе поможем? Если согласимся то получим чуток стабки, немного ПП и парочку десятков дней к миссии на оправдание доверия. А если не согласимся то они это запишут в свою тетрадочку.
country_event = {
	id = jungo.343
	title = jungo.343.t
	desc = jungo.343.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			set_variable = { zmn_chu_fanatiki_nedovolstvo_var = 0 }	
		}
	}	
	option = {
		name = jungo.343.a
		ai_chance = {
			factor = 50			
		}
		custom_effect_tooltip = jungo.343.a.tt
		add_stability = 0.04	
		add_political_power = 80
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 30
			}
		}
		hidden_effect = {
			country_event = { id = jungo.344 days = 15 random = 6 }	
		}
	}	
	option = {
		name = jungo.343.b
		ai_chance = {
			factor = 1			
		}
		hidden_effect = {
			add_to_variable = { zmn_chu_fanatiki_nedovolstvo_var = 1 }
			country_event = { id = jungo.344 days = 15 random = 6 }	
		}		
	}
}

##### эвент императору Чу. Пришли несколько советников и говорят - мы знаем что ты император с фанатиками яшкаешься, вот недавно заоды то горели по твоим наводкам. Ты давай эта, завязывай с ними корешить а то мало ли что. Информационный эвент такой вот
country_event = {
	id = jungo.344
	title = jungo.344.t
	desc = jungo.344.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.344.a
		hidden_effect = {			
			country_event = { id = jungo.345 days = 15 random = 6 }	
		}	
	}	
}

###### Эвент императору Чу, опять пришли фанатики, говорят что вон в одной из провинций какая-то беда с мятежниками. Там ни с того ни с сего внезапно восстали рабочие, кушать хотим говорят. Местные сичанги-фанатики готовы их подавить, только им нужно больше полномочий на действия, ну чтобы полиция не донимала лишний раз. Если согласимся на помощь - будем должны фанатикам, получим три десятка дней к миссии на доверие ну и немного политочков. Если откажемся то у нас сгорит несколько заводов, население в провинции поубавится и мы потеряем десяток дней в миссии на оправдание доверия. Вот так.
country_event = {
	id = jungo.345
	title = jungo.345.t
	desc = jungo.345.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.345.a
		ai_chance = {
			factor = 50			
		}
		custom_effect_tooltip = jungo.343.a.tt
		add_political_power = 50
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 30
			}
		}
		hidden_effect = {
			country_event = { id = jungo.346 days = 2 random = 6 }	
		}
	}	
	option = {
		name = jungo.345.b
		ai_chance = {
			factor = 1			
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 2								
			}
			remove_building = { type = industrial_complex level = 3 }
			add_manpower = -354			
		}
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = -10
			}
		}
		hidden_effect = {
			add_to_variable = { global.jertvy_voin = 354 }
			add_to_variable = { zmn_chu_fanatiki_nedovolstvo_var = 1 }
			country_event = { id = jungo.347 days = 2 random = 6 }	
		}		
	}
}

##### эвент императору Чу. Мы обратились к фанатикам за помощью в этом вопросе и они его решили. Но как то странно, как только мы дали им добро на широкие действия в этом направлении то мятежи как то сами собой все прекратились. Странно....ну зато в империи спокойно
country_event = {
	id = jungo.346
	title = jungo.346.t
	desc = jungo.346.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.346.a
		add_stability = 0.01
		hidden_effect = {			
			country_event = { id = jungo.348 days = 15 random = 6 }	
		}	
	}	
}

##### эвент императору Чу. мы отказались от помощи фанатиков и те мятежные работники поломали ещё несколько заводов в регионах. Это всё странно, полиционеры говорят что тут и сами фанатики могут быть замешаны. В любом случае мы потеряли не только стабку и заводы, но еще и уровень доверя к императору. Вот так.
country_event = {
	id = jungo.347
	title = jungo.347.t
	desc = jungo.347.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.347.a
		add_stability = -0.01
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -78			
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -120			
		}
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = -5
			}
		}
		hidden_effect = {
			add_to_variable = { global.jertvy_voin = 210 }
			country_event = { id = jungo.348 days = 15 random = 6 }	
		}	
	}	
}

##### Hidden
country_event = {
	id = jungo.348
	title = jungo.348.t
	desc = jungo.348.d
	picture = GFX_report_event_generic_conference
	Hidden = yes
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					check_variable = { zmn_chu_fanatiki_nedovolstvo_var = 2 }
				}
				country_event = { id = jungo.349 } #мы не сотрудничали ранее				
			}
			else = {
				set_country_flag = zmn_chu_fanatiki_tyt_flag
			}
		}
	}	
	option = {
		name = jungo.348.a			
	}	
}

##### эвент императору Чу. поскольку мы ранее ни разу не обращались за помощью к фанатикам то император всё таки решает завязать с этим делом. Но не всё так просто, фанатики отставать то не хотят. Того и гляди, в будущем затеят что-нибудь
country_event = {
	id = jungo.349
	title = jungo.349.t
	desc = jungo.349.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.349.a		
		hidden_effect = {
			set_country_flag = zmn_chu_fanatiki_poslany_flag  ### флаг на то что отказались от помощи фанатиков и открестились от них. Пахнет восстанием.	
			country_event = { id = jungo.350 days = 25 random = 6 }	
		}
	}	
}

##### эвент императору Чу, открестившемуся от фанатиков. Эти фанатики подсирать начали, наломали заводов опять. (да ебенанога, опять фабрики убираем, больше уже нечего)
country_event = {
	id = jungo.350
	title = jungo.350.t
	desc = jungo.350.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		NOT = {
			has_completed_focus = zmn_itog_vsego_etogo
		}
	}	
	option = {
		name = jungo.350.a
		add_stability = -0.02
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -78			
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -120			
		}
		add_to_variable = { global.jertvy_voin = 210 }		
	}	
}

##### эвент императору Чу. после того как император одолел кризис (выполнил фокус на итог всего дерьма). К императору пришли его старые друзья из Врат, говорят мол негоже император что ты от нас открещиваешься, мыж старинные друзья. Так просто врата никого не отпускают. И ушли такие кароч, вот сиди и думай что будет то...А мы пока попроюуем заручиться помощью у мусульман.
country_event = {
	id = jungo.351
	title = jungo.351.t
	desc = jungo.351.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.351.a		
		random_list = {
			50 = {
				modifier = {
					factor = 1.2
					has_stability > 0.5
				}
				country_event = { id = jungo.352 }
			}
			50 = {
				country_event = { id = jungo.353 }
			}
		}
	}	
}

##### эвент императору Чу. нам удалось договориться о помощи в противодействии вратам у мусульман. Уже не для кого не секрет что в скором времени врата могут попробовать поднять восстание против императора. Теперь им будет сложнее. (при поддержке мусульман восстание будет не таким сильным и мы к тому же получим бафф - что- то типа мусульманские дивизии, дающий урон против фанатиков)
country_event = {
	id = jungo.352
	title = jungo.352.t
	desc = jungo.352.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.352.a		
		custom_effect_tooltip = jungo.352.a.tt
		hidden_effect = {
			 set_country_flag = zmn_chu_dogovor_s_musulmanami_flag
			 country_event = { id = jungo.354 days = 52 random = 30 }
		}		
	}	
}

##### эвент императору Чу. нам НЕ удалось договориться о помощи в противодействии вратам у мусульман. Они узнали о наших прошлых связях с фанатиками и сказали что император та еще крыса и перебезчик (немного стабки теряем). Уже не для кого не секрет что в скором времени врата могут попробовать поднять восстание против императора. Без поддердки мусульман нам будет немного сложнее.
country_event = {
	id = jungo.353
	title = jungo.353.t
	desc = jungo.353.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.353.a	
		add_stability = -0.02	
		hidden_effect = {			
			 country_event = { id = jungo.354 days = 43 random = 30 }
		}
	}	
}

##### HIDDEN, чекалка на то, когда будет восстание
country_event = {
	id = jungo.354
	Hidden = yes	
	is_triggered_only = yes	
	trigger = {
		NOT = {
			country_exists = ZVR
		}
	}	
	immediate = {
		random_list = {
			50 = {
				modifier = {
					factor = 1.2
					has_stability > 0.6
				}
				country_event = { id = jungo.355 days = 15 random = 30 }
			}
			50 = {
				country_event = { id = jungo.356 days = 10 random = 30 }
			}			
		}
		915 = {
			add_core_of = ZVR
		}
		524 = {
			add_core_of = ZVR
		}
		1106 = {
			add_core_of = ZVR
		}
	}
	option = {
		name = jungo.354.a			
	}	
}

##### эвент императору Чу. кажется что-то начинается. Фанатики активизировались и начали резать население в городах. Но пока особо никого не удается поймать. Это только начало. Мы теряем стабку и население в регионах.
country_event = {
	id = jungo.355
	title = jungo.355.t
	desc = jungo.355.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		NOT = {
			country_exists = ZVR
		}
	}		
	option = {
		name = jungo.355.a	
		add_stability = -0.11
		add_war_support = -0.11
		random_owned_controlled_state = {			
			add_manpower = -324			
		}		
		random_owned_controlled_state = {			
			add_manpower = -412
		}
		random_owned_controlled_state = {			
			add_manpower = -278
		}
		random_owned_controlled_state = {			
			add_manpower = -315
		}
		add_to_variable = { global.jertvy_voin = 1504 }
		hidden_effect = {			
			 country_event = { id = jungo.357 days = 10 random = 30 }
		}
	}	
}

##### эвент императору Чу. (это аналог предыдущего эвента, но более тяжелый) кажется что-то начинается. Фанатики активизировались и начали бушевать везде где только можно, ломают заводы, людей режут. Это только начало - теряем завод, людишек, стабку
country_event = {
	id = jungo.356
	title = jungo.356.t
	desc = jungo.356.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes
	trigger = {
		NOT = {
			country_exists = ZVR
		}
	}	
	option = {
		name = jungo.356.a	
		add_stability = -0.15
		add_war_support = -0.15
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -457
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0								
			}
			remove_building = { type = industrial_complex level = 1 }
			add_manpower = -687
		}
		random_owned_controlled_state = {			
			add_manpower = -367
		}
		random_owned_controlled_state = {			
			add_manpower = -471
		}
		add_to_variable = { global.jertvy_voin = 1800 }
		hidden_effect = {			
			 country_event = { id = jungo.357 days = 10 random = 30 }
		}
	}	
}

##### эвент императору Чу. Фанатики восстали, поихали. +новось 30
country_event = {
	id = jungo.357
	title = jungo.357.t
	desc = jungo.357.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	immediate = {
		hidden_effect = {
			ZVR = {
				transfer_state = 915
				transfer_state = 524
				if = {
					limit = {
						ZMN = {
							controls_state = 1106
						}
					}
					transfer_state = 1106
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1105
						}
					}
					transfer_state = 1105
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 595
						}
					}
					transfer_state = 595
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1111
						}
					}
					transfer_state = 1111
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 593
						}
					}
					transfer_state = 593
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1125
						}
					}
					transfer_state = 1125
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1112
						}
					}
					transfer_state = 1112
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 326
						}
					}
					transfer_state = 326
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1124
						}
					}
					transfer_state = 1124
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 600
						}
					}
					transfer_state = 600
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1126
						}
					}
					transfer_state = 1126
				}
				
				if = {
					limit = {
						ZMN = {
							NOT = {					
								has_country_flag = zmn_chu_dogovor_s_musulmanami_flag
							}
						}	
					}
					### и сюда
					add_political_power = 1
				}
				inherit_technology = ZMN
				add_political_power = 120
				add_timed_idea = {
					idea = zmn_zvr_fanatiki_vosstali
					days = 200
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				division_template = {
					name = "Division of fanatics"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Division of fanatics\" start_experience_factor = 0.2"
						owner = ZVR
					}
					create_unit = {
						division = "division_template = \"Division of fanatics\" start_experience_factor = 0.2"
						owner = ZVR
					}
				}	
			}
			transfer_units_fraction = {	# отдаем кусок армии 
				target = ZVR
				size = 0.3 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.2
				army_ratio = 0.3
				navy_ratio = 0.1
				air_ratio = 0.1
			}
			ZVR = {
				every_state = {
					limit = { is_core_of = ZMN }					
					add_claim_by = ZVR
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN					
			}
		}
	}	
	option = {
		name = jungo.357.a
		effect_tooltip = {
			ZVR = {
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN					
			}
		}
		if = {
			limit = {
				has_country_flag = zmn_chu_dogovor_s_musulmanami_flag
			}
			custom_effect_tooltip = jungo.357.a.tt
			add_ideas = zmn_chu_musulman_brigady
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.30 }
		}
	}	
}


##### эвент императору Чу. после всех передряг к нам свнова пришли фанатики, говорят мол ранее ты пользовался нашими услугами дак теперь пора платить по долгам. ТЫ либо становишься нашей марионеткой (трейт) либо жди в будущем сюрпрайзов. Непростой выбор.
country_event = {
	id = jungo.358
	title = jungo.358.t
	desc = jungo.358.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	trigger = {
		NOT = {
			country_exists = ZVR
		}
	}	
	option = {
		name = jungo.358.a	
		ai_chance = {
			factor = 25			
		}
		add_country_leader_trait = zmn_imperator_marionetka_fanatikov_traitt
		set_country_flag = ZMN_marionetk_fanatikov_cat_flag
		unlock_decision_tooltip = zmn_privlechenie_sichangov
		add_field_marshal_role = {
			character = ZMN_sky_warlord
			traits = { logistics_wizard offensive_doctrine media_personality inflexible_strategist organizer }
			skill = 4 
			attack_skill = 2
			defense_skill = 4
			planning_skill = 3
			logistics_skill = 4
		}
		# create_field_marshal = {
			# name = "Sky Warlord"
			# portrait_path = "gfx/leaders/ZVR/zre_fanatic_leader_1.tga"			
			# traits = { logistics_wizard offensive_doctrine media_personality inflexible_strategist organizer }
			# skill = 4 
			# attack_skill = 2
			# defense_skill = 4
			# planning_skill = 3
			# logistics_skill = 4
		# }
		custom_effect_tooltip = available_military_high_command
		show_ideas_tooltip = zmn_high_command_11
		if = {
			limit = {
				has_dlc = "La Resistance" 
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_16
		}		
	}
	option = {
		name = jungo.358.b	
		ai_chance = {
			factor = 1			
		}
		custom_effect_tooltip = jungo.358.b.tt
		hidden_effect = {
			country_event = { id = jungo.359 days = 25 random = 60 }
		}
	}
}

##### эвент императору Чу. после того как мы послали нахер фанатиков (при этом мы им должны). Вот фанатики и начали бушевать, они нам всё ломают в стране и население убивают. по причина_нейм. У них слишком много полномочий, которые мы же им и выдали ранее. Похоже это скоро перерастет в полноценную войну, нада быть готовым. (теряем стабку, варсаппорт, кучу фабрик и заводов) тут можно всякой красоты подрасписать, типа ванство Юэ самое автивное сопротивление оказывает, а полицию в Шу целыми батальонами сжигают.
country_event = {
	id = jungo.359
	title = jungo.359.t
	desc = jungo.359.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.359.a	
		add_stability = -0.15
		add_war_support = -0.15
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -457
		}
		random_owned_controlled_state = {
			limit = {
				arms_factory > 0								
			}
			remove_building = { type = arms_factory level = 1 }
			add_manpower = -687
		}
		random_owned_controlled_state = {
			limit = {
				arms_factory > 0								
			}
			remove_building = { type = arms_factory level = 1 }
			add_manpower = -1374
		}
		random_owned_controlled_state = {
			limit = {
				arms_factory > 0								
			}
			remove_building = { type = arms_factory level = 1 }
			add_manpower = -1271
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -782
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -987
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -678
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -874
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			remove_building = { type = industrial_complex level = 2 }
			add_manpower = -2841
		}
		random_owned_controlled_state = {
			limit = {
				arms_factory > 1								
			}
			remove_building = { type = arms_factory level = 2 }
			add_manpower = -1237
		}
		add_to_variable = { global.jertvy_voin = 4789 }
		hidden_effect = {
			915 = {
				add_core_of = ZVR
			}
			country_event = { id = jungo.360 days = 25 random = 60 }
		}
	}	
}

##### эвент императору Чу. Фанатики восстали, очень сильно, поихали. +новось 30
country_event = {
	id = jungo.360
	title = jungo.360.t
	desc = jungo.360.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	immediate = {
		hidden_effect = {
			ZVR = {
				transfer_state = 915
				transfer_state = 524
				if = {
					limit = {
						ZMN = {
							controls_state = 1106
						}
					}
					transfer_state = 1106
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1105
						}
					}
					transfer_state = 1105
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 595
						}
					}
					transfer_state = 595
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1111
						}
					}
					transfer_state = 1111
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 593
						}
					}
					transfer_state = 593
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1125
						}
					}
					transfer_state = 1125
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1112
						}
					}
					transfer_state = 1112
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 326
						}
					}
					transfer_state = 326
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1124
						}
					}
					transfer_state = 1124
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 600
						}
					}
					transfer_state = 600
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1126
						}
					}
					transfer_state = 1126
				}
				###
				if = {
					limit = {
						ZMN = {
							controls_state = 1113
						}
					}
					transfer_state = 1113
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1109
						}
					}
					transfer_state = 1109
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 1123
						}
					}
					transfer_state = 1123
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 620
						}
					}
					transfer_state = 620
				}
				if = {
					limit = {
						ZMN = {
							controls_state = 602
						}
					}
					transfer_state = 602
				}
				
				inherit_technology = ZMN
				add_political_power = 120
				add_timed_idea = {
					idea = zmn_zvr_fanatiki_vosstali
					days = 300
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 4000
					producer = ZMN
				}
				add_ai_strategy = {
					type = conquer
					id = ZMN
					value = 200
				}
				division_template = {
					name = "Division of fanatics"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
					}								
				}
				random_owned_state = {					
					create_unit = {
						division = "division_template = \"Division of fanatics\" start_experience_factor = 0.2"
						owner = ZVR
					}
					create_unit = {
						division = "division_template = \"Division of fanatics\" start_experience_factor = 0.2"
						owner = ZVR
					}
				}	
			}
			transfer_units_fraction = {	# отдаем кусок армии 
				target = ZVR
				size = 0.43 # Fallback in case one of the ratios below are not stipulated
				stockpile_ratio = 0.42
				army_ratio = 0.42
				navy_ratio = 0.2
				air_ratio = 0.25
			}
			ZVR = {
				every_state = {
					limit = { is_core_of = ZMN }					
					add_claim_by = ZVR
				}
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN					
			}
		}
	}	
	option = {
		name = jungo.360.a
		effect_tooltip = {
			ZVR = {
				declare_war_on = {
					target = ZMN
					type = civil_war
				}
				add_civil_war_target = ZMN					
			}
		}		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.30 }
		}
	}	
}

##### эвент урусам (демократура, лидер альянса). К нам обращается республика Чжунго (бейисты), они гворят что вот эта вот Юань, которая пока еще под контролем Хань, очень опасна. Ну на самом деле лни правы, ибо у нас давно территориальные терки. Дак вот, они говорят чо нашему альянсу не справится против такой вот Юани и предлагают рассмотеть возможность объединения усилий, а именно всем нашим альянсом дружно вступить в их Туаньцзе (наш альянс будет расформирован). Взамен у нас появляется перспектива в случае гипотетического военного конфликта с юань заиметь претензии на их западные земли а то и вовсе их замарионетить. Вот так дела, что мы решим? надо же еще наших союзников спросить.
country_event = {
	id = jungo.361
	title = jungo.361.t
	desc = jungo.361.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.361.a	
		ai_chance = {
			factor = 4				
			modifier = {
				factor = 3
				ZTA = {
					has_added_tension_amount > 5
				}	
			}
			modifier = {
				factor = 2
				threat > 0.7	
			}
		}
		every_other_country = {
			limit = { 
				is_in_faction_with = ZUR
				is_subject = no
			}				
			country_event = { id = jungo.364 days = 2 random = 30 }
		}
		custom_effect_tooltip = jungo.361.a.tt
		hidden_effect = {
			country_event = { days = 7 id = jungo.367 }
		}
	}	
	option = {
		name = jungo.361.b	
		ai_chance = {
			factor = 1				
		}		
		ZMN = {
			country_event = { id = jungo.363 }
		}
		custom_effect_tooltip = jungo.361.b.tt
	}
}

##### эвент урусам (демократура, лидер альянса). впринципе то же самое что и предыдущий эвент, но за тем исклчением что Юань тут уже не марионетка хань и свободна 
country_event = {
	id = jungo.362
	title = jungo.362.t
	desc = jungo.362.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.362.a	
		ai_chance = {
			factor = 4				
			modifier = {
				factor = 3
				ZTA = {
					has_added_tension_amount > 5
				}	
			}
			modifier = {
				factor = 2
				threat > 0.7	
			}
		}
		every_other_country = {
			limit = { 
				is_in_faction_with = ZUR
				is_subject = no
			}				
			country_event = { id = jungo.364 }
		}
		custom_effect_tooltip = jungo.361.a.tt
		hidden_effect = {
			country_event = { days = 7 id = jungo.367 }
		}
	}
	option = {
		name = jungo.362.b	
		ai_chance = {
			factor = 1				
		}
		ZMN = {
			country_event = { id = jungo.363 }
		}
		custom_effect_tooltip = jungo.361.b.tt
	}	
}

##### эвент республике бейистов чунги что Урусы отказались от нашего заманчивого предложения упасть к ним в альянс
country_event = {
	id = jungo.363
	title = jungo.363.t
	desc = jungo.363.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.363.a	
		add_opinion_modifier = {
			target = ZUR
			modifier = otkazali_nashemy_predlojeniu_opin_12_90
		}
	}		
}

##### эвент стране что в альянсе с урусами. урусы предлагают нам дружно упасть всем нашим альянсом в альянс Туаньцзе. С чего бы вдруг? но они говорят что так мы будем сильнее, хотя скорее всего у них есть корыстный интерес
country_event = {
	id = jungo.364
	title = jungo.364.t
	desc = jungo.364.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.364.a	# good
		ai_chance = {
			factor = 3
			modifier = {
				factor = 2
				has_opinion = {
					target = ZRE
					value > 10
				}
				has_opinion = {
					target = ZUR
					value > 10
				}
			}
			modifier = {
				factor = 3
				tag = XIB
			}
			modifier = {
				factor = 2
				threat > 0.5
			}
		}
		ZUR = {
			country_event = { id = jungo.365 }
		}
		custom_effect_tooltip = jungo.364.a.tt
		set_country_flag = zre_zur_tuantse_collab_flag
	}	
	option = {
		name = jungo.364.b	
		ai_chance = {
			factor = 1	
			modifier = {
				factor = 2
				NOT = { has_government = democratic }
			}
		}
		leave_faction = yes
	}	
}

##### эвент урусам. страна_нейм [FROM.GetNameDef] что с нами в альянсе решила что она вместе с нами перейдет в туаньцзи
country_event = {
	id = jungo.365
	title = jungo.365.t
	desc = jungo.365.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.365.a	
		add_political_power = 10
	}		
}

##### эвент урусам. страна_нейм [FROM.GetNameDef] сказала что в туанцзи им делать нечего. Они вышли из нашего альянса.
country_event = {
	id = jungo.366
	title = jungo.366.t
	desc = jungo.366.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.366.a	
		FROM = {
			leave_faction = yes
		}
	}		
}

##### эвент урусам. пришло время всем кто согласен падать в туаньцзе
country_event = {
	id = jungo.367
	title = jungo.367.t
	desc = jungo.367.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.367.a	
		dismantle_faction = yes
		ZRE = {
			add_to_faction = ZUR
			country_event = { id = jungo.369 }
		}
		every_other_country = {
			limit = { 
				has_country_flag = zre_zur_tuantse_collab_flag
				NOT = {
					has_war_with = ZRE
				}
			}				
			country_event = { id = jungo.368 }
		}
	}		
}

##### эвент стране_нейм [FROM.GetNameDef], которая согласилась перейти в туаньцзе о том что переход состоялся
country_event = {
	id = jungo.368
	title = jungo.368.t
	desc = jungo.368.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.368.a	
		ZRE = {
			add_to_faction = ROOT
		}
	}		
}

##### эвент бейистской республике чунго о том что наш альянс пополнился странами из альянса урусов (Транссибирское Содружество). интеграция комлитед +новость 31
country_event = {
	id = jungo.369
	title = jungo.369.t
	desc = jungo.369.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.369.a	
		effect_tooltip = {
			ZRE = {
				add_to_faction = ROOT
			}
			every_other_country = {
				limit = { 
					has_country_flag = zre_zur_tuantse_collab_flag
					NOT = {
						has_war_with = ZRE
					}
				}				
				custom_effect_tooltip = jungo.369.a.tt
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.31 }
		}		
	}		
}

##### эвент стране_нейм [FROM.GetNameDef], Чжунго приглашает нас в Туаньцзе. Это молодой такой альянс, но его мега чунго возглавляет. Чо скажем?
country_event = {
	id = jungo.370
	title = jungo.370.t
	desc = jungo.370.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.370.a	# good
		ai_chance = {
			factor = 8	
			modifier = {
				factor = 3
				threat > 0.75
			}
			modifier = {
				factor = 3
				has_opinion = {
					target = ZRE
					value > 10
				}
			}
		}
		join_tuantse = yes
		ZRE = {
			country_event = { id = jungo.371 }
		}
	}
	option = {
		name = jungo.370.b	
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 3
				has_opinion = {
					target = ZRE
					value < -15
				}
			}
			modifier = {
				factor = 2
				OR = {
					has_government = neutrality
					has_government = communism
				}
			}			
		}
		ZRE = {
			country_event = { id = jungo.372 }
		}
	}
}

##### эвент республ чунго что [FROM.GetNameDef] вступила в туаньцзе
country_event = {
	id = jungo.371
	title = jungo.371.t
	desc = jungo.371.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.371.a	
		effect_tooltip = {
			add_to_faction = FROM
		}		
	}		
}

##### эвент республ чунго что [FROM.GetNameDef] НЕ вступила в туаньцзе
country_event = {
	id = jungo.372
	title = jungo.372.t
	desc = jungo.372.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.372.a					
	}		
}

##### эвент Хани (не технократической). Бейистская республика чунго оуждает нас, говорят что мы угроза для всей азии +новость 32 об этом 
country_event = {
	id = jungo.373
	title = jungo.373.t
	desc = jungo.373.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.373.a	
		add_opinion_modifier = {
			target = ZRE
			modifier = trebovania
		}
	}		
}

###### эвент стрне_нейм  [FROM.GetNameDef]  от ИМПЕРИИ чжунго. Чжунго говорит, го к нам в сейшу, у нас в сейшу здорово!
country_event = {
	id = jungo.374
	title = jungo.374.t
	desc = jungo.374.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.374.a
		ai_chance = {
			base = 5
			modifier = {
				factor = 5
				has_government = democratic
			}	
			modifier = {
				factor = 5
				ZMN = {
					has_added_tension_amount < 25
				}
			}
		}
		join_seishu = yes
		ZMN = {
			country_event = { id = jungo.375 }
		}
	}
	option = {
		name = jungo.374.b
		ai_chance = {
			base = 2			
		}
		ZMN = {
			country_event = { id = jungo.376 }
		}
	}
}

###### эвент чжунге что [FROM.GetNameDef] с нами
country_event = {
	id = jungo.375
	title = jungo.375.t
	desc = jungo.375.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.375.a
		effect_tooltip = {
			add_to_faction = FROM
		}
	}
}

###### эвент чжунге что [FROM.GetNameDef] отказало нашему щедрому предложению и не вступил
country_event = {
	id = jungo.376
	title = jungo.376.t
	desc = jungo.376.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.376.a
		
	}
}

###### эвент для императора от Чу, ставшего марионеткой фанатиков, уже после выхода из кризиса и всё такое. Вчера скай варлорд оказывается проводил собрание всех генералов, он там сказал что наш император, сын неба который, вообще славный парень, умница, но скромняга. А с его скромностью то особо наследие китая этохи Сун особо не восстановишь и оттого он намекнул что отныне поможет императору делать правильные внешнеполитические решения. Гнералы поддержали его, ктати кто эти люди? как то в последнее время генералитет обновился...Да и что вообще происходит??? (убираем незаметно кучу генералов, ахахахахахахахаххаах. Ну и если нарисуешь фанатиков-генералов - выдадим их)
country_event = {
	id = jungo.377
	title = jungo.377.t
	desc = jungo.377.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = jungo.377.a
		add_stability = -0.03
		custom_effect_tooltip = jungo.377.a.tt 
		hidden_effect = {
			# create_field_marshal = {
				# name = "Meixing Rong"
				# portrait_path = "gfx/leaders/ZVR/Meixing_Rong.tga"	
				# traits = { brilliant_strategist infantry_officer trickster hill_fighter }
				# skill = 4				
				# attack_skill = 4
				# defense_skill = 3
				# planning_skill = 4
				# logistics_skill = 2
			# }
			add_field_marshal_role = {
				character = ZMN_Meixing_Rong
				traits = { brilliant_strategist infantry_officer trickster hill_fighter }
				skill = 4				
				attack_skill = 4
				defense_skill = 3
				planning_skill = 4
				logistics_skill = 2
			}
			# create_corps_commander = {
				# name = "Leebao Ling"
				# portrait_path = "gfx/leaders/ZVR/Leebao_Ling.tga"
				# skill = 3
				# attack_skill = 3
				# defense_skill = 3
				# planning_skill = 2
				# logistics_skill = 2
			# }
			add_corps_commander_role = {
				character = ZMN_Leebao_Ling
				skill = 3
				attack_skill = 3
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 2
			}
			# create_corps_commander = {
				# name = "Tao An"
				# portrait_path = "gfx/leaders/ZVR/Tao_An.tga"
				# traits = { trickster war_hero media_personality jungle_rat}
				# skill = 4
				# id = 4
				# attack_skill = 3
				# defense_skill = 3
				# planning_skill = 2
				# logistics_skill = 5
			# }
			add_corps_commander_role = {
				character = ZMN_Tao_An
				traits = { trickster war_hero media_personality jungle_rat}
				skill = 4
				id = 4
				attack_skill = 3
				defense_skill = 3
				planning_skill = 2
				logistics_skill = 5
			}
			# create_corps_commander = {
				# name = "Wang Shun"						
				# portrait_path = "gfx/leaders/ZVR/Wang_Shun.tga"
				# traits = { cavalry_officer } # Cavalry commander
				# skill = 3
				# attack_skill = 4
				# defense_skill = 2
				# planning_skill = 2
				# logistics_skill = 2
			# }
			add_corps_commander_role = {
				character = ZMN_Wang_Shun
				traits = { cavalry_officer } # Cavalry commander
				skill = 3
				attack_skill = 4
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 2
			}
			if = {
				limit = {
					has_unit_leader = 22815
				}
				every_unit_leader = {
					limit = {
						has_id = 22815
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22816
				}
				every_unit_leader = {
					limit = {
						has_id = 22816
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22817
				}
				every_unit_leader = {
					limit = {
						has_id = 22817
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22818
				}
				every_unit_leader = {
					limit = {
						has_id = 22818
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22819
				}
				every_unit_leader = {
					limit = {
						has_id = 22819
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22820
				}
				every_unit_leader = {
					limit = {
						has_id = 22820
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22821
				}
				every_unit_leader = {
					limit = {
						has_id = 22821
					}
					retire = yes
				}
			}
			if = {
				limit = {
					has_unit_leader = 22822
				}
				every_unit_leader = {
					limit = {
						has_id = 22822
					}
					retire = yes
				}
			}
			set_variable = { zmn_fanatiki_skolko_voin_var = 0 }
			set_variable = { zmn_fanatiki_vyhod_iz_kiltsa_po_vremeni_var = 0 }
			country_event = { id = jungo.378 days = 85 random = 60 }
		}
	}
}

###### ЧЕКАЛКА но то кому войну скай варлорд даст
country_event = {
	id = jungo.378
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		has_country_leader = {
			character = ZMN_luo_jiahao
			ruling_only = yes
		}
		is_subject = no
	}
	immediate = {
		random_list = {
			0 = {
				modifier = {
					add = 36
					country_exists = ZTB	# Тибет
					is_neighbor_of = ZTB
					NOT = {
						is_in_faction_with = ZTB
						has_war_with = ZTB
					}
					ZTB = {
						NOT = {
							is_subject_of = ZMN
						}
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.380 }
			}
			0 = {
				modifier = {
					add = 13
					country_exists = XNU	# Ву
					is_neighbor_of = XNU
					NOT = {
						is_in_faction_with = XNU
						has_war_with = XNU
					}
					XNU = {
						NOT = {
							is_subject_of = ZMN
						}
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.382 }
			}
			0 = {
				modifier = {
					add = 15
					country_exists = ZXK	# Амдо
					is_neighbor_of = ZXK
					NOT = {
						is_in_faction_with = ZXK
						has_war_with = ZXK
					}
					ZXK = {
						NOT = {
							is_subject_of = ZMN
						}
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.383 }
			}
			0 = {
				modifier = {
					add = 30
					country_exists = ZLN	# свободной Аньнань
					is_neighbor_of = ZLN
					NOT = {
						is_in_faction_with = ZLN
						has_war_with = ZLN
					}
					ZLN = {
						NOT = {
							is_subject_of = ZMN
						}
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.384 }
			}
			0 = {
				modifier = {
					add = 30
					country_exists = ZXU	# свободной Тайго
					is_neighbor_of = ZXU
					NOT = {
						is_in_faction_with = ZXU
						has_war_with = ZXU
					}
					ZXU = {
						NOT = {
							is_subject_of = ZMN
						}
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.385 }
			}
			0 = {
				modifier = {
					add = 28
					country_exists = ZLN	# марионетке Аньнань
					is_faction_leader = yes
					ZLN = {						
						is_subject_of = ZMN						
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.386 }
			}
			0 = {
				modifier = {
					add = 28
					country_exists = ZXU	# марионетке Тайго
					is_faction_leader = yes
					ZXU = {						
						is_subject_of = ZMN						
					}
				}
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}
				country_event = { id = jungo.390 }
			}
			99 = {	# если ничего не подошло то сделать ещё скрытый эвент на закольцовку.
				modifier = {
					factor = 0
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}				
				country_event = { id = jungo.379 days = 40 random = 6 }
			}
			0 = { 	# сюда закинуть модификатор на количество войн и команду чтобы прекратить этот замкнутый круг войны
				modifier = {
					add = 200
					check_variable = { zmn_fanatiki_skolko_voin_var > 4 }
				}								
				add_political_power = 1
			}
		}
	}
	option = {
		name = jungo.378.a		
	}
}

###### скрытый эвент на кольцо предыдущего
country_event = {
	id = jungo.379
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		has_country_leader = {
			character = ZMN_luo_jiahao
			ruling_only = yes
		}
		is_subject = no
		check_variable = { zmn_fanatiki_vyhod_iz_kiltsa_po_vremeni_var < 8 }	#ограничение на количество колец
	}
	immediate = {
		country_event = { id = jungo.378 days = 35 random = 6 }
		add_to_variable = { zmn_fanatiki_vyhod_iz_kiltsa_po_vremeni_var = 1 }	#ограничение по времени 
	}
	option = {
		name = jungo.379.a		
	}
}

###### эвент императору Чу что скай варлорд внезапно объявил войну Тибету. Схера ли так сказатб? что за самоуправство? Но война уже идёт +новость 34
country_event = {
	id = jungo.380
	title = jungo.380.t
	desc = jungo.380.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		every_state = {
			limit = { is_core_of = ZTB }			
			add_claim_by = ROOT
		}
		declare_war_on = {
			type = annex_everything
			target = ZTB
		}
		ZTB = {
			country_event = { id = jungo.381 }
		}
	}
	option = {
		name = jungo.380.a
		add_named_threat = { threat = 7 name = jungo.380.a.tt }
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZTB
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.34 }
			add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 } 
			country_event = { id = jungo.379 }
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.380.a.tt
				}
			}
		}
	}
}

###### эвент любой стране_нейм на которую войной пошли фанатики с объяснением что за фигня происходит
country_event = {
	id = jungo.381
	title = jungo.381.t
	desc = jungo.381.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.381.a		
		effect_tooltip = {
			ZMN = {
				declare_war_on = {
					type = annex_everything
					target = ROOT
				}
			}
		}
		add_war_support = 0.05
	}
}

###### эвент императору Чу что скай варлорд внезапно объявил войну Ву. Схера ли так сказатб? что за самоуправство? Но война уже идёт +новость 35
country_event = {
	id = jungo.382
	title = jungo.382.t
	desc = jungo.382.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			every_state = {
				limit = { is_core_of = XNU }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = XNU
			}
			XNU = {
				country_event = { id = jungo.381 }
			}
		}
	}
	option = {
		name = jungo.382.a
		add_named_threat = { threat = 7 name = jungo.382.a.tt }
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = XNU
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.35 }
			add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
			country_event = { id = jungo.379 }
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.382.a.tt
				}
			}
		}
	}
}

###### эвент императору Чу что скай варлорд внезапно объявил войну Амдо. Схера ли так сказатб? что за самоуправство? Но война уже идёт +новость 36
country_event = {
	id = jungo.383
	title = jungo.383.t
	desc = jungo.383.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			every_state = {
				limit = { is_core_of = ZXK }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = ZXK
			}
			ZXK = {
				country_event = { id = jungo.381 }
			}
		}
	}
	option = {
		name = jungo.383.a
		add_named_threat = { threat = 7 name = jungo.383.a.tt }
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZXK
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.36 }
			add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
			country_event = { id = jungo.379 }
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.383.a.tt
				}
			}
		}
	}
}

###### эвент императору Чу что скай варлорд внезапно объявил войну Аньнань - Лангсанг (если та вдруг свободна). Схера ли так сказатб? что за самоуправство? Но война уже идёт +новость 37
country_event = {
	id = jungo.384
	title = jungo.384.t
	desc = jungo.384.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			every_state = {
				limit = { is_core_of = ZLN }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = ZLN
			}
			ZLN = {
				country_event = { id = jungo.381 }
			}
		}
	}
	option = {
		name = jungo.384.a
		add_named_threat = { threat = 6 name = jungo.384.a.tt }
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZLN
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.37 }
			add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
			country_event = { id = jungo.379 }
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.384.a.tt
				}
			}
		}
	}
}

###### эвент императору Чу что скай варлорд внезапно объявил войну Тайго - Тайго (если та вдруг свободна). Схера ли так сказатб? что за самоуправство? Но война уже идёт +новость 38
country_event = {
	id = jungo.385
	title = jungo.385.t
	desc = jungo.385.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			every_state = {
				limit = { is_core_of = ZXU }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = ZXU
			}
			ZXU = {
				country_event = { id = jungo.381 }
			}
		}
	}
	option = {
		name = jungo.385.a
		add_named_threat = { threat = 6 name = jungo.385.a.tt }
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZXU
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.38 }
			add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
			country_event = { id = jungo.379 }
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.385.a.tt
				}
			}
		}
	}
}


###### эвент императору от Чу что он опять с утра пошёл кофе попить и узнал что оказывается скай варлорд предъявил нашему протекторату Аньнань ультиматум - если любишь императора - аннексируйся нами! Если нет то будеть больно.
country_event = {
	id = jungo.386
	title = jungo.386.t
	desc = jungo.386.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.386.a		
		add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
		ZLN = {
			country_event = { id = jungo.387 }
			custom_effect_tooltip = needs_approval
			custom_effect_tooltip = jungo.386.a.tt
		}
		add_named_threat = { threat = 5 name = jungo.386.a.tt }
		hidden_effect = {
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.386.a.tt
				}
			}
		}
	}
}

###### эвент Аньнань, любишь императора - аннексируйся, нет - научим любить.
country_event = {
	id = jungo.387
	title = jungo.387.t
	desc = jungo.387.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.387.a
		ai_chance = { factor = 10 }
		FROM = {
			country_event = { id = jungo.388 }
		}	
		custom_effect_tooltip = GAME_OVER_TT
	}
	option = {
		name = jungo.387.b		
		ai_chance = { factor = 2 }
		FROM = {
			country_event = { id = jungo.389 }
		}
	}
}

###### эвент императору от Чу. Аньнань сделала правильный выбор и присоединилась, ура фанатики.....фух, хоть без кровопролития +новость 39
country_event = {
	id = jungo.388
	title = jungo.388.t
	desc = jungo.388.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.388.a		
		annex_country = { target = ZLN }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.39 }
		}
	}
}

###### эвент императору от Чу. Аньнань отказала, а скай варлорд им войну на! +новость 40
country_event = {
	id = jungo.389
	title = jungo.389.t
	desc = jungo.389.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					ZLN = {
						is_subject_of = ZRI
					}
				}
				set_autonomy = {
					target = ZLN
					autonomy_state = autonomy_free
				}
			}
			ZMN = { remove_from_faction = ZLN }	
			every_state = {
				limit = { is_core_of = ZLN }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = ZLN
			}
		}	
	}
	option = {
		name = jungo.389.a		
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZLN
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.40 }
		}
	}
}

###### эвент императору от Чу что он опять с утра пошёл кофе попить и узнал что оказывается скай варлорд предъявил нашему протекторату Тайго ультиматум - если любишь императора - аннексируйся нами! Если нет то будеть больно.
country_event = {
	id = jungo.390
	title = jungo.390.t
	desc = jungo.390.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.390.a		
		add_to_variable = { zmn_fanatiki_skolko_voin_var = 1 }
		ZXU = {
			country_event = { id = jungo.391 }
			custom_effect_tooltip = needs_approval
			custom_effect_tooltip = jungo.386.a.tt	##norm
		}
		add_named_threat = { threat = 5 name = jungo.390.a.tt }
		hidden_effect = {
			every_other_country = {
				limit = { 
					is_subject_of = ZMN
				}
				add_political_power = 20	
				add_autonomy_ratio = {
					value = 0.1
					localization = jungo.390.a.tt
				}
			}
		}
	}
}

###### эвент Тайго, любишь императора - аннексируйся, нет - научим любить.
country_event = {
	id = jungo.391
	title = jungo.391.t
	desc = jungo.391.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.391.a
		ai_chance = { factor = 10 }
		FROM = {
			country_event = { id = jungo.392 }
		}	
		custom_effect_tooltip = GAME_OVER_TT
	}
	option = {
		name = jungo.391.b		
		ai_chance = { factor = 2 }
		FROM = {
			country_event = { id = jungo.393 }
		}
	}
}

###### эвент императору от Чу. Тайго сделала правильный выбор и присоединилась, ура фанатики.....фух, хоть без кровопролития +новость 41
country_event = {
	id = jungo.392
	title = jungo.392.t
	desc = jungo.392.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.392.a		
		annex_country = { target = ZXU }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.41 }
		}
	}
}

###### эвент императору от Чу. Тайго отказала, а скай варлорд им войну на! +новость 42
country_event = {
	id = jungo.393
	title = jungo.393.t
	desc = jungo.393.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					ZXU = {
						is_subject_of = ZRI
					}
				}
				set_autonomy = {
					target = ZXU
					autonomy_state = autonomy_free
				}
			}
			ZMN = { remove_from_faction = ZXU }	
			every_state = {
				limit = { is_core_of = ZXU }			
				add_claim_by = ROOT
			}
			declare_war_on = {
				type = annex_everything
				target = ZXU
			}
		}	
	}
	option = {
		name = jungo.393.a		
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = ZXU
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.42 }
		}
	}
}

###### эвент Торговая Компания Тайцео или Колония Ёмикоку о том что империя чунго приглашает нас вступить в сейшу. они говорят что вон япошки скоро довоюют меж собой и скорее всего примутся обратно за нас, постараются вернуть в состам империи. Что мы ответим чунгам?
country_event = {
	id = jungo.394
	title = jungo.394.t
	desc = jungo.394.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.394.a		
		ai_chance = { 
			factor = 2
			modifier = {
				factor = 1.3
				threat > 0.95
			}
			modifier = {
				factor = 1.3
				ZMN = {
					num_faction_members > 6
				}
			}
		}
		join_lingsan_liga = yes
		ZMN = {
			country_event = { id = jungo.395 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.43 }
		}
	}
	option = {
		name = jungo.394.b	# неет	
		ai_chance = {
			factor = 2
			modifier = {
				factor = 7
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
		}
		ZMN = {
			country_event = { id = jungo.396 }
		}
	}
}

###### эвент императору Чунги. [FROM.GetNameDef] вступает к нам в сейшу. антияпонские фишечки прокатили. +новость 43
country_event = {
	id = jungo.395
	title = jungo.395.t
	desc = jungo.395.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.395.a		
		effect_tooltip = {	
			FROM = {
				join_lingsan_liga = yes
			}
		}		
	}
}

###### эвент императору Чунги. [FROM.GetNameDef] сказали что все эти японские угрозы это всё ссанина какая-то. не страшно кароч
country_event = {
	id = jungo.396
	title = jungo.396.t
	desc = jungo.396.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.396.a		
				
	}
}

###### эвент сёгунам в японии что чунго присылает нам тайную помощь в нашей борьбе против есиро. Спасибо им конечно, но розвидка говорит что они вполне могут так же и есиро помогать. У них свои интересы.
country_event = {
	id = jungo.397
	title = jungo.397.t
	desc = jungo.397.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.397.a		
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 450				
		}	
		add_war_support = 0.005
	}
}

###### эвент есиро. чунго присылает нам тайную помощь в нашей борьбе против  сёгунов. Спасибо им конечно, но розвидка говорит что они вполне могут так же и сёгунам помогать. У них свои интересы.
country_event = {
	id = jungo.398
	title = jungo.398.t
	desc = jungo.398.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.398.a		
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 450				
		}	
		add_war_support = 0.005
	}
}

###### эвент япониям (есиро и сегунам)чунго и ведущие страны мира вновь во всеуслышание обратились к нам с просьбой прекратить эту братоубийтсвенную резню. Они ребята то авторитетные и смогли таки внести раскол в нашу армию и мы теряем варсаппорт и стабку. 
country_event = {
	id = jungo.399
	title = jungo.399.t
	desc = jungo.399.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.399.a		
		add_stability = -0.23
		add_war_support = -0.24
	}
}

###### эвент амдо (и чахару и чжурчжении если те отпали от хань). Нас приглашает Чжунго вступить в сейшу, Технократическая хань, от которой мы ранее откололись, уже там. Теперь по доброте душевной они зовут туда и нас. Будем ли мы связываться с ними и попробуем выстоять в нейтралитете?
country_event = {
	id = jungo.400
	title = jungo.400.t
	desc = jungo.400.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.400.a		
		ai_chance = { 
			factor = 3
			modifier = {
				factor = 1.3
				threat > 0.95
			}
			modifier = {
				factor = 1.3
				ZMN = {
					num_faction_members > 6
				}
			}
		}
		join_lingsan_liga = yes
		ZMN = {
			country_event = { id = jungo.401 }
		}		
	}
	option = {
		name = jungo.400.b	# неет	
		ai_chance = {
			factor = 2
			modifier = {
				factor = 7
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
		}
		ZMN = {
			country_event = { id = jungo.402 }
		}
	}
}

###### эвент императору Чунги. [FROM.GetNameDef] вступает к нам в сейшу. теперь мы, хань и они = крутые посоны
country_event = {
	id = jungo.401
	title = jungo.401.t
	desc = jungo.401.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.401.a		
		effect_tooltip = {	
			FROM = {
				join_lingsan_liga = yes
			}
		}		
	}
}

###### эвент императору Чунги. [FROM.GetNameDef] сказали что им по душе нейтралитет. Кароч отсидеться под боком решили, ну ну
country_event = {
	id = jungo.402
	title = jungo.402.t
	desc = jungo.402.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.402.a		
				
	}
}

###### эвент амдо (и чахару и чжурчжении если те отпали от хань). Нас приглашает РЕСПУБЛИКА Чжунго вступить в туанцзе, Технократическая хань, от которой мы ранее откололись, уже там. Теперь по доброте душевной они зовут туда и нас. Будем ли мы связываться с ними и попробуем выстоять в нейтралитете?
country_event = {
	id = jungo.403
	title = jungo.403.t
	desc = jungo.403.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.403.a		
		ai_chance = { 
			factor = 3
			modifier = {
				factor = 1.3
				threat > 0.95
			}
			modifier = {
				factor = 1.3
				ZRE = {
					num_faction_members > 6
				}
			}
		}
		join_tuantse = yes
		ZRE = {
			country_event = { id = jungo.404 }
		}		
	}
	option = {
		name = jungo.403.b	# неет	
		ai_chance = {
			factor = 2
			modifier = {
				factor = 7
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
		}
		ZRE = {
			country_event = { id = jungo.405 }
		}
	}
}

###### эвент респ Чунги. [FROM.GetNameDef] вступает к нам в туанцзе. теперь мы, хань и они = крутые посоны
country_event = {
	id = jungo.404
	title = jungo.404.t
	desc = jungo.404.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.404.a		
		effect_tooltip = {	
			FROM = {
				join_tuantse = yes
			}
		}		
	}
}

###### эвент респ Чунги. [FROM.GetNameDef] сказали что им по душе нейтралитет. Кароч отсидеться под боком решили, ну ну
country_event = {
	id = jungo.405
	title = jungo.405.t
	desc = jungo.405.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.405.a		
				
	}
}

###### эвент демократурской (!) чосон что к нам в дигу хочет республика чунго. охтыжнихрена себе так сказатб
country_event = {
	id = jungo.406
	title = jungo.406.t
	desc = jungo.406.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.406.a		
		ai_chance = { 
			factor = 20
			modifier = {
				factor = 3
				threat > 0.95
			}			
		}		
		ZRE = {
			join_lingsan_liga = yes
			country_event = { id = jungo.407 }
		}	
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.45 }
		}	
	}
	option = {
		name = jungo.406.b	# неет	
		ai_chance = {
			factor = 1			
		}
		ZRE = {
			country_event = { id = jungo.408 }
		}
	}
}

###### эвент респ Чунги. корея взяла нас в лигу, ура +новость 45
country_event = {
	id = jungo.407
	title = jungo.407.t
	desc = jungo.407.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.407.a		
		effect_tooltip = {				
			join_lingsan_liga = yes			
		}		
	}
}

###### эвент респ Чунги. корея не взяла нас в свой альянс. жааль
country_event = {
	id = jungo.408
	title = jungo.408.t
	desc = jungo.408.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.408.a		
				
	}
}

###### эвент демократурской корее, наш союзник республика чжунго говорит что эти вот наши общие соседи в хань какие то варвары, их стоит опасаться потому что у них вполне имперские замашки и вообще они могут в регионе дел наделать. Посему чунго предлагает подготовиться к вторжению, тайно разумеется. (либо игнорим задиру-республику, либо пытаемся отговорить, либо говорим что круто и получаем претензии на границе с хань)
country_event = {
	id = jungo.409
	title = jungo.409.t
	desc = jungo.409.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.409.a		# nu ok
		ai_chance = {
			factor = 1			
		}		
	}
	option = {		# ninado pliz
		name = jungo.409.b	
		custom_effect_tooltip = jungo.409.b.tt
		ai_chance = {
			factor = 1			
		}	
		ZRE = {
			country_event = { id = jungo.410 }
		}	
	}
	option = {		# a cho, zvuchit haipovo!
		name = jungo.409.c		
		ai_chance = {
			factor = 20			
		}		
		# дать сюда претензии на земли западе от кореи
		add_state_claim = 1117
		add_state_claim = 745
	}
}

###### эвент респ Чунги. корея попросила нас не выеживаться и не гнать раньше времни на хань, ну ок (для ИИ уменьшается шанс спровоцировать войну)
country_event = {
	id = jungo.410
	title = jungo.410.t
	desc = jungo.410.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.410.a		
		set_country_flag = zmn_zcs_ninado_pliz_na_han_flag	
	}
}

###### эвент для сёгунов что империя чунго поделилась с нами важными разведданными относительно армии и флота есиро. Их моряки, как нейтральная сторона, плавают везде и всё знают, вот и помогли нам собрать инфу. Вот только не помогают ли они таким же образом Есиро? (получаем временный бафф на атаку и оборону против армии есиро)
country_event = {
	id = jungo.411
	title = jungo.411.t
	desc = jungo.411.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.411.a		
		add_timed_idea = {
			idea = zmn_rozvidka_dlya_zja
			days = 150
		}	
	}
}

###### эвент для есиро что империя чунго поделилась с нами важными разведданными относительно армии и флота есиро. Их моряки, как нейтральная сторона, плавают везде и всё знают, вот и помогли нам собрать инфу. Вот только не помогают ли они таким же образом сегунам? (получаем временный бафф на атаку и оборону против армии сегунов)
country_event = {
	id = jungo.412
	title = jungo.412.t
	desc = jungo.412.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.412.a		
		add_timed_idea = {
			idea = zmn_rozvidka_dlya_znp
			days = 150
		}	
	}
}

###### эвент  для ИИ 
country_event = {
	id = jungo.413
	title = jungo.413.t
	desc = jungo.413.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_ai = yes
	}
	option = {
		name = jungo.413.a	
		add_political_power = 250
		add_stability = 0.02
		if = {
			limit = {
				has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
			}
			add_days_mission_timeout  = {
				mission = zmn_krizis_dlya_chu_i_ue_raspad
				days = 180
			}
		}
	}
}

###### эвент для республики чунго при бейистах. Было бы глупо в данный момент нам ввязаться в японский конфликт. Но мы всё равно должны выбрать с какой из сторон нам приятнее сотрудничать. Нам необходимо выбрать с какой из сторо японского конфликта мы будем дружить. Это не альянс и не какие то громкие штуки. Это просто выбор кому отдать свою симпатию в этом конфликте. (получаем улучшение отношений с одной из сторон и ухудшение с другой, это задел для ИИ на помощь и путь в альянс) ИИ отдаёт предпочтение дружить с той стороной что побеждает
country_event = {
	id = jungo.414
	title = jungo.414.t
	desc = jungo.414.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = jungo.414.a		
		ai_chance = {	# ZJA
			factor = 10
			modifier = {
				factor = 0.1
				ZJA = {
					surrender_progress > 0.1
				}
			}
		}	
		add_opinion_modifier = {
			target = ZJA
			modifier = drujestvennaya_ritorika_20
		}
		add_opinion_modifier = {
			target = ZNP
			modifier = slaviane_ugroza_democr
		}
		hidden_effect = {
			add_ai_strategy = {
				type = alliance
				id = ZJA
				value = 20
			}
			add_ai_strategy = {
				type = alliance
				id = ZNP
				value = -20
			}
		}
	}
	option = {
		name = jungo.414.b		
		ai_chance = {
			factor = 10			
		}
		ai_chance = {	# ZNP
			factor = 10
			modifier = {
				factor = 0.1
				ZNP = {
					surrender_progress > 0.1
				}
			}
		}	
		add_opinion_modifier = {
			target = ZNP
			modifier = drujestvennaya_ritorika_20
		}
		add_opinion_modifier = {
			target = ZJA
			modifier = slaviane_ugroza_democr
		}	
		hidden_effect = {
			add_ai_strategy = {
				type = alliance
				id = ZNP
				value = 20
			}
			add_ai_strategy = {
				type = alliance
				id = ZJA
				value = -20
			}
		}
	}
}





