﻿## эвенты синьки
add_namespace = sinka

#### Мы наконецто свободны от чунги (не важно что с ней, распалась или погрязла в гражданке) ура кароч, теперь то мы наделаем дел
country_event = {
	id = sinka.1
	title = sinka.1.t
	desc = sinka.1.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = sinka.1.a	
		ZMN = {
			add_opinion_modifier = {
				target = ZTH
				modifier = opin_raznoglasiya_timer
			}
		}	
		add_opinion_modifier = {
			target = ZMN
			modifier = opin_raznoglasiya_timer
		}
		hidden_effect = {
			country_event = { days = 15 id = sinka.136 }
		}
	}	
}

#### Мы свободны и пошли по пути республики, открыты решения на мятежи
country_event = {
	id = sinka.2
	title = sinka.2.t
	desc = sinka.2.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = sinka.2.a
		if = {
			limit = {
				has_country_flag = zth_path_of_korporat_flag	
			}
			clr_country_flag = zth_path_of_korporat_flag
		}	
		set_country_flag = zth_path_of_respubl_flag		
		add_stability = -0.15
		set_variable = { zth_support_378_var = 4 }	# столица Юаньган
		set_variable = { zth_support_386_var = 2 }	# Шаншень (север)
		set_variable = { zth_support_1155_var = 2 }	# Чунди 
		set_variable = { zth_support_1149_var = 2 }	# Джиньшан 
		set_variable = { zth_support_1148_var = 2 }	# Дунцзинь 
		add_timed_idea = {
			idea = zth_dubuff_armii
			days = 450
		}
		hidden_effect = {
			country_event = { id = sinka.80 days = 7 random = 6 }
			country_event = { id = sinka.29 days = 15 random = 6 }
		}
	}	
}

#### Мы свободны и пошли по пути корпорации, открыты решения на мятежи
country_event = {
	id = sinka.3
	title = sinka.3.t
	desc = sinka.3.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = sinka.3.a	
		if = {
			limit = {
				has_country_flag = zth_path_of_respubl_flag	
			}
			clr_country_flag = zth_path_of_respubl_flag
		}	
		set_country_flag = zth_path_of_korporat_flag
		add_stability = -0.15
		set_variable = { zth_support_378_var = 4 }	# столица Юаньган
		set_variable = { zth_support_386_var = 3 }	# Шаншень (север)
		set_variable = { zth_support_1155_var = 3 }	# Чунди 
		set_variable = { zth_support_1149_var = 3 }	# Джиньшан 
		set_variable = { zth_support_1148_var = 3 }	# Дунцзинь 
		add_timed_idea = {
			idea = zth_dubuff_armii
			days = 450
		}
		hidden_effect = {
			country_event = { id = sinka.29 days = 15 random = 6 }
		}
	}	
}

#### эвент - пустышка )0)00
country_event = {
	id = sinka.4
	title = sinka.4.t
	desc = sinka.4.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = sinka.4.a		
	}	
}

#### скрытый эвент на убиралку кантри_флага о том что активно одно из решений
country_event = {
	id = sinka.5
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		NOT = {		
			OR = {
				has_decision = zth_378_zaruch_podderjk
				has_decision = zth_378_vskrit_sklady
				has_decision = zth_378_podgotovit_barrikady
				has_decision = zth_378_set_osvedomitelei
				has_decision = zth_386_zaruch_podderjk
				has_decision = zth_386_vskrit_sklady
				has_decision = zth_386_podgotovit_barrikady
				has_decision = zth_386_set_osvedomitelei
				has_decision = zth_1155_zaruch_podderjk
				has_decision = zth_1155_vskrit_sklady
				has_decision = zth_1155_podgotovit_barrikady
				has_decision = zth_1155_set_osvedomitelei
				has_decision = zth_1149_zaruch_podderjk
				has_decision = zth_1149_vskrit_sklady
				has_decision = zth_1149_podgotovit_barrikady
				has_decision = zth_1149_set_osvedomitelei
				has_decision = zth_1148_zaruch_podderjk
				has_decision = zth_1148_vskrit_sklady
				has_decision = zth_1148_podgotovit_barrikady
				has_decision = zth_1148_set_osvedomitelei	
			}	
		}
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_borba_za_vlast_1_odno_reshenie_flag
		}
	}	
	option = {
		name = sinka.5.a		
	}	
}

#### скрытый эвент для ИИ на противодействие игроку. Ход ИИ.
country_event = {
	id = sinka.6
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		# дать в триггер флаг от категории, чтобы после начала противостояния не выскочил эвент
		OR = {
			has_country_flag = zth_path_of_korporat_flag
			has_country_flag = zth_path_of_respubl_flag
		}
	}
	immediate = {
		hidden_effect = {
			random_list = {
				8 = {	# снижаем поддержку в Юаньган 378
					modifier = {
						factor = 3
						check_variable = { zth_support_378_var > 4 }
					}
					modifier = {
						factor = 0
						check_variable = { zth_support_378_var = 1 }
					}
					country_event = { id = sinka.7 }
				}
				8 = {	# снижаем поддежку в Шаншень 386
					modifier = {
						factor = 3
						check_variable = { zth_support_386_var > 4 }
					}
					modifier = {
						factor = 0
						check_variable = { zth_support_386_var = 1 }
					}
					country_event = { id = sinka.8 }
				}
				8 = {	# снижаем поддежку в Чунуди 1155
					modifier = {
						factor = 3
						check_variable = { zth_support_1155_var > 4 }
					}
					modifier = {
						factor = 0
						check_variable = { zth_support_1155_var = 1 }
					}
					country_event = { id = sinka.9 }
				}
				8 = {	# снижаем поддежку в Джиньшан 1149
					modifier = {
						factor = 3
						check_variable = { zth_support_1149_var > 4 }
					}
					modifier = {
						factor = 0
						check_variable = { zth_support_1149_var = 1 }
					}
					country_event = { id = sinka.10 }
				}
				8 = {	# снижаем поддежку в Дунцзинь 1148
					modifier = {
						factor = 3
						check_variable = { zth_support_1148_var > 4 }
					}
					modifier = {
						factor = 0
						check_variable = { zth_support_1148_var = 1 }
					}
					country_event = { id = sinka.11 }
				}
				#
				10 = {	# Юаньган 378 склад отжат		
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_378_sklad_nash_flag
						}
					}
					country_event = { id = sinka.13 }
				}
				10 = {	# Шаньшен 386 склад отжат		
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_386_sklad_nash_flag
						}
					}
					country_event = { id = sinka.14 }
				}
				10 = {	# Чунуди 1155 склад отжат		
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1155_sklad_nash_flag
						}
					}
					country_event = { id = sinka.15 }
				}
				10 = {	# Джиньшан 1149 склад отжат		
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1149_sklad_nash_flag
						}
					}
					country_event = { id = sinka.16 }
				}
				10 = {	# Дунцзинь 1148 склад отжат		
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1148_sklad_nash_flag
						}
					}
					country_event = { id = sinka.17 }
				}
				#
				10 = {	# Юаньган 378 баррикады расколотили	
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_378_barrikady_flag
						}
					}
					country_event = { id = sinka.18 }
				}
				10 = {	# Шаньшен 386 баррикады расколотили	
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_386_barrikady_flag
						}
					}
					country_event = { id = sinka.19 }
				}
				10 = {	# Чунуди 1155 баррикады расколотили	
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1155_barrikady_flag
						}
					}
					country_event = { id = sinka.20 }
				}
				10 = {	# Джиньшан 1149 баррикады расколотили	
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1149_barrikady_flag
						}
					}
					country_event = { id = sinka.21 }
				}
				10 = {	# Дунцзинь 1148 баррикады расколотили	
					modifier = {
						factor = 0
						NOT = {
							has_country_flag = zth_1148_barrikady_flag
						}
					}
					country_event = { id = sinka.22 }
				}
				#
				9 = {
					# дать модификатор и связать с фокусом
					modifier = {
						factor = 1.3
						has_country_flag = zth_path_of_korporat_flag
					}
					modifier = {
						factor = 1.6
						has_country_flag = zth_findai_podderjka_1_flag
					}
					modifier = {
						factor = 1.6
						has_country_flag = zth_korporat_busty_faza_1_flag
					}
					# ничего не произошло
					country_event = { id = sinka.12 }
				}			
			}			
		}
	}	
	option = {
		name = sinka.6.a		
	}	
}

#### эвент. Ход противника. Теряем поддежку в Юаньган 378
country_event = {
	id = sinka.7
	title = sinka.7.t
	desc = sinka.7.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_378_var = 1 } 
			clamp_variable = {
				var = zth_support_378_var
				min = 1
				max = 5
			}
		}
	}
	option = {
		name = sinka.7.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.7.a.tt
	}	
}

#### эвент. Ход противника. Теряем поддежку в Шаншень 386
country_event = {
	id = sinka.8
	title = sinka.8.t
	desc = sinka.8.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_386_var = 1 } 
			clamp_variable = {
				var = zth_support_386_var
				min = 1
				max = 5
			}
		}
	}
	option = {
		name = sinka.8.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.8.a.tt
	}	
}

#### эвент. Ход противника. Теряем поддежку в Чунуди 1155
country_event = {
	id = sinka.9
	title = sinka.9.t
	desc = sinka.9.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1155_var = 1 } 
			clamp_variable = {
				var = zth_support_1155_var
				min = 1
				max = 5
			}
		}
	}
	option = {
		name = sinka.9.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.9.a.tt
	}	
}

#### эвент. Ход противника. Теряем поддежку в Джиньшан 1149
country_event = {
	id = sinka.10
	title = sinka.10.t
	desc = sinka.10.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1149_var = 1 } 
			clamp_variable = {
				var = zth_support_1149_var
				min = 1
				max = 5
			}
		}
	}
	option = {
		name = sinka.10.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.10.a.tt
	}	
}

#### эвент. Ход противника. Теряем поддежку в Дунцзинь 1148
country_event = {
	id = sinka.11
	title = sinka.11.t
	desc = sinka.11.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1148_var = 1 } 
			clamp_variable = {
				var = zth_support_1148_var
				min = 1
				max = 5
			}
		}
	}
	option = {
		name = sinka.11.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.11.a.tt
	}	
}

#### эвент. Ход противника. мы успешно отразили все попыткип ротивника нам мешать. Его ход ни к чему не привёл.
country_event = {
	id = sinka.12
	title = sinka.12.t
	desc = sinka.12.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.12.a		
	}	
}

#### эвент. Ход противника. В Юаньган 378 наши опоненты смогли отбить себе военный склад, который мы ранее захватили
country_event = {
	id = sinka.13
	title = sinka.13.t
	desc = sinka.13.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_378_sklad_nash_flag
		}
	}
	option = {
		name = sinka.13.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.13.a.tt
	}	
}

#### эвент. Ход противника. В Шаньшен 386 наши опоненты смогли отбить себе военный склад, который мы ранее захватили
country_event = {
	id = sinka.14
	title = sinka.14.t
	desc = sinka.14.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_386_sklad_nash_flag
		}
	}
	option = {
		name = sinka.14.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.14.a.tt
	}	
}

#### эвент. Ход противника. В Чунуди 1155 наши опоненты смогли отбить себе военный склад, который мы ранее захватили
country_event = {
	id = sinka.15
	title = sinka.15.t
	desc = sinka.15.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1155_sklad_nash_flag
		}
	}
	option = {
		name = sinka.15.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.15.a.tt
	}	
}

#### эвент. Ход противника. В Джиньшан 1149 наши опоненты смогли отбить себе военный склад, который мы ранее захватили
country_event = {
	id = sinka.16
	title = sinka.16.t
	desc = sinka.16.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1149_sklad_nash_flag
		}
	}
	option = {
		name = sinka.16.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.16.a.tt
	}	
}

#### эвент. Ход противника. В Дунцзинь 1148 наши опоненты смогли отбить себе военный склад, который мы ранее захватили
country_event = {
	id = sinka.17
	title = sinka.17.t
	desc = sinka.17.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1148_sklad_nash_flag
		}
	}
	option = {
		name = sinka.17.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.17.a.tt
	}	
}

#### эвент. Ход противника. В Юаньган 378 наши опоненты срасколотили ранее созданные нами защитн сооружения. Ситуация накаляется
country_event = {
	id = sinka.18
	title = sinka.18.t
	desc = sinka.18.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_378_barrikady_flag
		}
	}
	option = {
		name = sinka.18.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.18.a.tt
	}	
}

#### эвент. Ход противника. В Шаньшен 386 наши опоненты срасколотили ранее созданные нами защитн сооружения. Ситуация накаляется
country_event = {
	id = sinka.19
	title = sinka.19.t
	desc = sinka.19.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_386_barrikady_flag
		}
	}
	option = {
		name = sinka.19.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.19.a.tt
	}	
}

#### эвент. Ход противника. В Чунуди 1155 наши опоненты срасколотили ранее созданные нами защитн сооружения. Ситуация накаляется
country_event = {
	id = sinka.20
	title = sinka.20.t
	desc = sinka.20.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1155_barrikady_flag
		}
	}
	option = {
		name = sinka.20.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.20.a.tt
	}	
}

#### эвент. Ход противника. В Джиньшан 1149 наши опоненты срасколотили ранее созданные нами защитн сооружения. Ситуация накаляется
country_event = {
	id = sinka.21
	title = sinka.21.t
	desc = sinka.21.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1149_barrikady_flag
		}
	}
	option = {
		name = sinka.21.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.21.a.tt
	}	
}

#### эвент. Ход противника. В Дунцзинь 1148 наши опоненты срасколотили ранее созданные нами защитн сооружения. Ситуация накаляется
country_event = {
	id = sinka.22
	title = sinka.22.t
	desc = sinka.22.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_1148_barrikady_flag
		}
	}
	option = {
		name = sinka.22.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.22.a.tt
	}	
}

#### эвент о том что противостояние из фазы подготовки переходит в открытую фазу борьбы. Мы корпорация. погнали давить зазнавшихся республиканце!
country_event = {
	id = sinka.23
	title = sinka.23.t
	desc = sinka.23.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_korporat_flag
			set_country_flag = zth_path_of_korporat_fasa_2_flag			
			set_variable = { zth_motivatia_gorodov_var = 60 }	# мотивация армии			
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_probros_statusa_iconok = yes
			zth_obshaya_podderjka_rasschet_modifikatora_na_udachu = yes	
			country_event = { days = 5 id = sinka.41 }
		}
	}
	option = {
		name = sinka.23.a
		add_stability = -0.15
	}	
}

#### эвент о том что противостояние из фазы подготовки переходит в открытую фазу борьбы. Мы республика. одолеем корпорократию!
country_event = {
	id = sinka.24
	title = sinka.24.t
	desc = sinka.24.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_respubl_flag
			set_country_flag = zth_path_of_respubl_fasa_2_flag			
			set_variable = { zth_motivatia_gorodov_var = 45 } 	# мотивация армии			
			zth_obshaya_podderjka_v_gorodah = yes
			zth_nado_podderjki_v_gorodah = yes
			zth_probros_statusa_iconok = yes
			zth_obshaya_podderjka_rasschet_modifikatora_na_udachu = yes
			country_event = { days = 5 id = sinka.41 }
		}
	}
	option = {
		name = sinka.24.a
		add_stability = -0.15
	}	
}

#### скрытый эвент на убиралку кантри_флага о том что активно одно из решений
country_event = {
	id = sinka.25
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		NOT = {		
			OR = {
				has_decision = zth_motivatsiya_podderjka
				has_decision = zth_protivist_ataka_v_378
				has_decision = zth_protivist_ataka_v_386
				has_decision = zth_protivist_ataka_v_1155
				has_decision = zth_protivist_ataka_v_1149
				has_decision = zth_protivist_ataka_v_1148
			}	
		}
	}
	immediate = {
#		hidden_effect = {
#			clr_country_flag = zth_borba_za_vlast_2_odno_reshenie_flag
#		}
	}	
	option = {
		name = sinka.25.a		
	}	
}
################################################################# АТАКАААА!!!!!!!!!!!!!!!!
#### Среди совета директоров есть те, кто считают что наш генеральный директор некомпетентен в управлении корпорацией. Дескать это по вине его недальновидности республиканцы из Фандуй сумели набрать такую популярность. Так или иначе но экстренное собрание Чжисинчан уже созвано.
country_event = {
	id = sinka.26
	title = sinka.26.t
	desc = sinka.26.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = sinka.26.a		# оставить Лю Джианг
		ai_chance = {
			factor = 7				
		}	
		add_country_leader_trait = zth_gramotny_upravlenets_trait
		hidden_effect = {
			country_event = { days = 15 id = sinka.35 }
		}
	}
	option = {
		name = sinka.26.b		# Рен Сунхао
		ai_chance = {
			factor = 2				
		}	
		retire_country_leader = yes
		# create_country_leader = {
			# name = "Ren Suhano"
			# desc = " "
			# picture = "zth_ren_suhano.tga"
			# expire = "2020.1.1"
			# ideology = corporatocracy
			# traits = {
				# zth_militaruga_trait
			# }
		# }
		add_country_leader_role = {
			character = "ZTH_ren_suhano"
			country_leader = {
				ideology = corporatocracy
				traits = { zth_militaruga_trait }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}		
		hidden_effect = {
			country_event = { days = 48 id = sinka.38 }
		}
	}	
}

#### наша атака на 378 Юаньган удалась! Мы выбили противника из одного крупного района
country_event = {
	id = sinka.27
	title = sinka.27.t
	desc = sinka.27.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_to_variable = { zth_support_378_var = 1 } 
			clamp_variable = {
				var = zth_support_378_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
			country_event = { days = 1 id = sinka.49 }
		}
	}
	option = {
		name = sinka.27.a
		custom_effect_tooltip = zth_my_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_plus_8 = yes
	}	
}

#### наша атака на 378 Юаньган провалилась. Наши люди только зря поубивались
country_event = {
	id = sinka.28
	title = sinka.28.t
	desc = sinka.28.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.28.a
		custom_effect_tooltip = zth_my_ne_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_minus_4 = yes
		hidden_effect = {			
			country_event = { days = 1 id = sinka.49 }
		}
	}	
}

#### эвент после начала противостояния что все нигеры в ежени чото завозмущались. ловим дебафф.
country_event = {
	id = sinka.29
	title = sinka.29.t
	desc = sinka.29.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.29.a	
		add_ideas = zth_zhe_debuff_proizv	
	}	
}

#### наша атака в 386 Шаньшен удалась! Мы выбили противника из одного крупного района
country_event = {
	id = sinka.30
	title = sinka.30.t
	desc = sinka.30.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_to_variable = { zth_support_386_var = 1 } 
			clamp_variable = {
				var = zth_support_386_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
			country_event = { days = 1 id = sinka.49 }
		}
	}
	option = {
		name = sinka.30.a
		custom_effect_tooltip = zth_my_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_plus_8 = yes
	}	
}

#### наша атака в 386 Шаньшен провалилась. Наши люди только зря поубивались
country_event = {
	id = sinka.31
	title = sinka.31.t
	desc = sinka.31.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.31.a
		custom_effect_tooltip = zth_my_ne_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_minus_4 = yes
		hidden_effect = {			
			country_event = { days = 1 id = sinka.49 }
		}
	}	
}

#### 
country_event = {
	id = sinka.32
	title = sinka.32.t
	desc = sinka.32.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	immediate = {
		hidden_effect = {
			
		}
	}	
	option = {
		name = sinka.32.a
		ZMN = {	
			set_autonomy = {
				target = ZTH
				autonomy_state = autonomy_free
			}
		}
		leave_faction = yes
		unlock_national_focus = zth_padenie_imperii
		unlock_national_focus = zth_gosudarstvo_podderj
		country_event = { id = sinka.2 }	
	}
	option = {
		name = sinka.32.b	
		ZMN = {	
			set_autonomy = {
				target = ZTH
				autonomy_state = autonomy_free
			}
		}
		leave_faction = yes
		unlock_national_focus = zth_padenie_imperii
		unlock_national_focus = zth_korporat_podderj
		country_event = { id = sinka.3 }	
	}
}

#### наша атака в 1155 Чунуди удалась! Мы выбили противника из одного крупного района
country_event = {
	id = sinka.33
	title = sinka.33.t
	desc = sinka.33.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_to_variable = { zth_support_1155_var = 1 } 
			clamp_variable = {
				var = zth_support_1155_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
			country_event = { days = 1 id = sinka.49 }
		}
	}
	option = {
		name = sinka.33.a
		custom_effect_tooltip = zth_my_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_plus_8 = yes
	}	
}

#### наша атака в 1155 Чунуди провалилась. Наши люди только зря поубивались
country_event = {
	id = sinka.34
	title = sinka.34.t
	desc = sinka.34.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.34.a
		custom_effect_tooltip = zth_my_ne_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_minus_4 = yes
		hidden_effect = {			
			country_event = { days = 1 id = sinka.49 }
		}
	}	
}

#### Эвент о том что народ, вернее сотрудники корпорации не очень то обрадовались что в результате Экстренное собрание Чжисинчан остался тот же лидер что и был. Люди считают что Лю Джианг по уши в крови от того что жестоко подавил восстание республиканцев. Ловим трейт Народная ненависть (Сотрудники корпорации считают что именно этот человек виноват в жестоком подавлении всех республиканских начинаний в корпорации.)
country_event = {
	id = sinka.35
	title = sinka.35.t
	desc = sinka.35.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.35.a	
		add_country_leader_trait = zth_korporokrat_zlodei_trait
	}	
}

#### наша атака в 1149 Джиньшан удалась! Мы выбили противника из одного крупного района
country_event = {
	id = sinka.36
	title = sinka.36.t
	desc = sinka.36.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_to_variable = { zth_support_1149_var = 1 } 
			clamp_variable = {
				var = zth_support_1149_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
			country_event = { days = 1 id = sinka.49 }
		}
	}
	option = {
		name = sinka.36.a
		custom_effect_tooltip = zth_my_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_plus_8 = yes
	}	
}

#### наша атака в 1149 Джиньшан провалилась. Наши люди только зря поубивались
country_event = {
	id = sinka.37
	title = sinka.37.t
	desc = sinka.37.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.37.a
		custom_effect_tooltip = zth_my_ne_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_minus_4 = yes
		hidden_effect = {			
			country_event = { days = 1 id = sinka.49 }
		}
	}	
}

#### прошёл первый месяц как новый генеральный директор Рен Сунхао рулит. И стало ясно что ставить директором бывшего начальника отдела безопасности не очень то хорошая идея. Да, конечно новых недовольств и забастовок не было но производительность всех отраслей в целом упала. Не очень то он управленец. Ловим трейт - Плохой управленец (Время показало что ставить начальника службы безопасности на пост генерального директора такая себе затея.)
country_event = {
	id = sinka.38
	title = sinka.38.t
	desc = sinka.38.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.35.a	
		add_country_leader_trait = zth_plohoi_upravlenets_trait
	}	
}

#### наша атака в 1148 Дунцзинь удалась! Мы выбили противника из одного крупного района
country_event = {
	id = sinka.39
	title = sinka.39.t
	desc = sinka.39.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_to_variable = { zth_support_1148_var = 1 } 
			clamp_variable = {
				var = zth_support_1148_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah = yes				
			zth_nado_podderjki_v_gorodah = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
			country_event = { days = 1 id = sinka.49 }
		}
	}
	option = {
		name = sinka.39.a
		custom_effect_tooltip = zth_my_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_plus_8 = yes
	}	
}

#### наша атака в 1148 Дунцзинь провалилась. Наши люди только зря поубивались
country_event = {
	id = sinka.40
	title = sinka.40.t
	desc = sinka.40.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.40.a
		custom_effect_tooltip = zth_my_ne_vybili_vraga_iz_raiona_tt
		zth_obshaya_podderjka_v_gorodah_minus_4 = yes
		hidden_effect = {			
			country_event = { days = 1 id = sinka.49 }
		}
	}	
}

#### скрытая чекалка на победу
country_event = {
	id = sinka.41
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		OR = {
			has_country_flag = zth_path_of_korporat_fasa_2_flag
			has_country_flag = zth_path_of_respubl_fasa_2_flag
		}
	}
	immediate = {
		hidden_effect = {
			if = {	# победили
				limit = {
					check_variable = {
						var = zth_obshii_support_gorodov_var
						value = zth_nado_support_gorodov_var
						compare = greater_than_or_equals
					}
				}
				country_event = { id = sinka.43 }
			}
			else_if = {
				limit = {	# проиграли
					check_variable = {
						var = zth_obshii_support_gorodov_var
						value = zth_proigrysh_support_gorodov_var
						compare = less_than
					}
				}
				country_event = { id = sinka.46 }
			}
			else = {	# кольцо
#				country_event = { days = 2 id = sinka.42 }
			}
			
		}
	}
	option = {
		name = sinka.41.a		
	}	
}

#### Кольцо для чекалки
country_event = {
	id = sinka.42
	Hidden = yes
	is_triggered_only = yes
	trigger = {
		OR = {
			has_country_flag = zth_path_of_korporat_fasa_2_flag
			has_country_flag = zth_path_of_respubl_fasa_2_flag
		}
	}
	immediate = {
		hidden_effect = {
			country_event = { days = 1 id = sinka.41 }
		}
	}
	option = {
		name = sinka.42.a		
	}	
}

#### Скрытый, на победителя
country_event = {
	id = sinka.43
	Hidden = yes
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_country_flag = zth_path_of_korporat_fasa_2_flag
				}
				country_event = { id = sinka.44 }
			}
			else_if = {
				limit = {
					has_country_flag = zth_path_of_respubl_fasa_2_flag
				}
				country_event = { id = sinka.45 }
			}
		}
	}
	option = {
		name = sinka.43.a		
	}	
}

#### ЭВЕНТ МЫ ПОБЕДИЛИ! КОРПОРАЦИЯ ФОРЕВА! А ТЕПЕРЬ - ЗА РАБОТУ! +новость 54
country_event = {
	id = sinka.44
	title = sinka.44.t
	desc = sinka.44.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_korporat_fasa_2_flag
			set_country_flag = zth_korporatsiya_podedila_flag
		}
	}		
	option = {
		name = sinka.44.a
		if = {
			limit = {
				has_idea = zth_dubuff_armii
			}
			remove_ideas = zth_dubuff_armii
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.54 }
		}		
	}	
}

#### ЭВЕНТ МЫ ПОБЕДИЛИ! ВИВА ЛЯ РЕСПУБЛИКА!
country_event = {
	id = sinka.45
	title = sinka.45.t
	desc = sinka.45.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_respubl_fasa_2_flag
			set_country_flag = zth_respublika_podedila_flag
		}
	}		
	option = {
		name = sinka.45.a
		retire_country_leader = yes
		# create_country_leader = {
			# name = "Li Shenglin"
			# desc = " "
			# picture = "zth_li_shenglin.tga"
			# expire = "2020.1.1"
			# ideology = liberalism
			# traits = {		
			# }
		# }	
		add_country_leader_role = {
			character = "ZTH_li_shenglin"
			country_leader = {
				ideology = liberalism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		set_cosmetic_tag = XTR_FANDUN
		set_party_name = { ideology = democratic long_name = ZTH_fusan_long_democratic_party name = ZTH_fusan_democratic_party }		
		if = {
			limit = {
				has_idea = zth_dubuff_armii
			}
			remove_ideas = zth_dubuff_armii
		}
		if = {
			limit = {
				has_idea = ar_professarmy
			}
			remove_ideas = ar_professarmy
		}
		add_timed_idea = {
			idea = zth_novaya_armiya_novyi_priziv
			days = 365
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.55 }
		}
	}	
}

#### Скрытый, мы проиграли(((((((9999(
country_event = {
	id = sinka.46
	Hidden = yes
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_country_flag = zth_path_of_korporat_fasa_2_flag
				}
				country_event = { id = sinka.47 }
			}
			else_if = {
				limit = {
					has_country_flag = zth_path_of_respubl_fasa_2_flag
				}
				country_event = { id = sinka.48 }
			}
		}
	}
	option = {
		name = sinka.46.a			
	}	
}

#### ЭВЕНТ МЫ проиграли! мы корпорация, мы ливнули9(((((
country_event = {
	id = sinka.47
	title = sinka.47.t
	desc = sinka.47.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_korporat_fasa_2_flag
			set_country_flag = zth_respublika_podedila_flag
			retire_country_leader = yes
			# create_country_leader = {
				# name = "Li Shenglin"
				# desc = " "
				# picture = "zth_li_shenglin.tga"
				# expire = "2020.1.1"
				# ideology = liberalism
				# traits = {		
				# }
			# }
			add_country_leader_role = {
				character = "ZTH_li_shenglin"
				country_leader = {
					ideology = liberalism
					traits = {  }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			if = {
				limit = {
					has_idea = ar_professarmy
				}
				remove_ideas = ar_professarmy
			}	
			set_cosmetic_tag = XTR_FANDUN
			set_party_name = { ideology = democratic long_name = ZTH_fusan_long_democratic_party name = ZTH_fusan_democratic_party }
			add_war_support = -0.25
		}
	}		
	option = {
		name = sinka.47.a
		add_timed_idea = {
			idea = zth_politich_porajenie_debuff
			days = 365
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.55 }
		}
	}	
}

#### ЭВЕНТ мы проиграли. Мы фандуй, мы слились...
country_event = {
	id = sinka.48
	title = sinka.48.t
	desc = sinka.48.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_respubl_fasa_2_flag
			set_country_flag = zth_korporatsiya_podedila_flag			
			add_war_support = -0.25
		}
	}		
	option = {
		name = sinka.48.a
		add_timed_idea = {
			idea = zth_politich_porajenie_debuff
			days = 365
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.54 }
		}
	}	
}


#### скрытый эвент для ИИ на противодействие игроку. Ход ИИ. ФАЗА 2
country_event = {
	id = sinka.49
	Hidden = yes
	is_triggered_only = yes	
	trigger = {
		# дать в триггер флаг от категории, чтобы после начала противостояния не выскочил эвент
		OR = {
			has_country_flag = zth_path_of_korporat_fasa_2_flag
			has_country_flag = zth_path_of_respubl_fasa_2_flag
		}
	}
	immediate = {
		hidden_effect = {
			random_list = {
				6 = {	# ИИ атакует в Юаньган 378 и выбивает нас оттуда ( 386 1155 1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_378_var > 4 }
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_378_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_378_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ		
						has_country_flag = zth_378_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {	# зачем атаковать если там никого?
						factor = 0
						check_variable = { zth_support_378_var = 1 }
					}
					country_event = { id = sinka.50 }
				}
				4 = {	# ИИ атакует в Юаньган 378 и сливается там ( 386 1155 1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_378_var > 4 }
					}					
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_378_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_378_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_378_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {
						factor = 1.2
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 0	# зачем атаковать если там никого?
						check_variable = { zth_support_378_var = 1 }
					}
					country_event = { id = sinka.51 }
				}
				#
				6 = {	# ИИ атакует в  386 и выбивает нас оттуда (  1155 1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_386_var > 4 }
					}					
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_386_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_386_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ		
						has_country_flag = zth_386_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {	# зачем атаковать если там никого?
						factor = 0
						check_variable = { zth_support_386_var = 1 }
					}
					country_event = { id = sinka.53 }
				}
				4 = {	# ИИ атакует в 386 и сливается там ( 1155 1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_386_var > 4 }
					}					
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_386_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_386_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_386_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {
						factor = 1.2
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 0	# зачем атаковать если там никого?
						check_variable = { zth_support_386_var = 1 }
					}
					country_event = { id = sinka.54 }
				}
				#
				6 = {	# ИИ атакует в  1155 и выбивает нас оттуда (  1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1155_var > 4 }
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1155_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1155_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ		
						has_country_flag = zth_1155_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {	# зачем атаковать если там никого?
						factor = 0
						check_variable = { zth_support_1155_var = 1 }
					}
					country_event = { id = sinka.55 }
				}
				4 = {	# ИИ атакует в 1155 и сливается там ( 1149 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1155_var > 4 }
					}					
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1155_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1155_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1155_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {
						factor = 1.2
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 0	# зачем атаковать если там никого?
						check_variable = { zth_support_1155_var = 1 }
					}
					country_event = { id = sinka.56 }
				}
				#
				6 = {	# ИИ атакует в  1149 и выбивает нас оттуда (   1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1149_var > 4 }
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1149_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1149_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ		
						has_country_flag = zth_1149_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {	# зачем атаковать если там никого?
						factor = 0
						check_variable = { zth_support_1149_var = 1 }
					}
					country_event = { id = sinka.57 }
				}
				4 = {	# ИИ атакует в 1149 и сливается там ( 1148 )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1149_var > 4 }
					}					
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1149_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1149_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1149_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {
						factor = 1.2
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 0	# зачем атаковать если там никого?
						check_variable = { zth_support_1149_var = 1 }
					}
					country_event = { id = sinka.58 }
				}
				#
				6 = {	# ИИ атакует в  1148 и выбивает нас оттуда (    )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1148_var > 4 }
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1148_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ
						has_country_flag = zth_1148_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 0.9		######## БАЛАНСИТЬ		
						has_country_flag = zth_1148_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {	# зачем атаковать если там никого?
						factor = 0
						check_variable = { zth_support_1148_var = 1 }
					}
					country_event = { id = sinka.59 }
				}
				4 = {	# ИИ атакует в 1148 и сливается там (  )
					modifier = {
						factor = 1.1	# приоритет на попытку атаки
						check_variable = { zth_support_1148_var > 4 }
					}					
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1148_sklad_nash_flag	# есть склад
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1148_barrikady_flag	# есть оборон сооружения
					}
					modifier = {
						factor = 1.2		######## БАЛАНСИТЬ
						has_country_flag = zth_1148_set_osvedomitelei_flag	# есть осведомители
					}
					modifier = {
						factor = 1.2
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 0	# зачем атаковать если там никого?
						check_variable = { zth_support_1148_var = 1 }
					}
					country_event = { id = sinka.60 }
				}				
				#
				6 = {
					# дать модификатор и связать с фокусом
					modifier = {
						factor = 1.5
						has_country_flag = zth_path_of_korporat_flag
					}
					modifier = {
						factor = zth_modifikator_udachi_var
						has_war = no
					}
					modifier = {
						factor = 1.4
						has_country_flag = zth_findai_podderjka_2_flag	# Мотивация революционных отрядов
					}
					# ничего не произошло
					country_event = { id = sinka.52 }
				}			
			}			
		}
	}	
	option = {
		name = sinka.49.a		
	}	
}

#### эвент. Ход противника. атка противника удалась, мы теряем один сектор в Юаньган 378
country_event = {
	id = sinka.50
	title = sinka.50.t
	desc = sinka.50.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_378_var = 1 } 
			clamp_variable = {
				var = zth_support_378_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah_minus_8 = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
		}
	}
	option = {
		name = sinka.50.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.50.a.tt
	}	
}

#### эвент. Ход противника. противник атаковал сектор в Юаньган 378 но нипрабил! наша мотивация подросла
country_event = {
	id = sinka.51
	title = sinka.51.t
	desc = sinka.51.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		if = {
			limit = {
				has_country_flag = zth_378_sklad_nash_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_sklad_tt
		}
		if = {
			limit = {
				has_country_flag = zth_378_barrikady_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_ukrepleniya_tt
		}
		if = {
			limit = {
				has_country_flag = zth_378_set_osvedomitelei_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_osvedomiteli_tt
		}
		hidden_effect = {			
			zth_obshaya_podderjka_v_gorodah_plus_4 = yes
			zth_protivistoyanie_proverka_itogov = yes
		}
	}
	option = {
		name = sinka.51.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.51.a.tt
	}	
}

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

#### эвент. Ход противника. атка противника удалась, мы теряем один сектор в Шаньшен 386
country_event = {
	id = sinka.53
	title = sinka.53.t
	desc = sinka.53.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_386_var = 1 } 
			clamp_variable = {
				var = zth_support_386_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah_minus_8 = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
		}
	}
	option = {
		name = sinka.53.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.53.a.tt
	}	
}

#### эвент. Ход противника. противник атаковал сектор в Шаньшен 386 но нипрабил! наша мотивация подросла
country_event = {
	id = sinka.54
	title = sinka.54.t
	desc = sinka.54.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		if = {
			limit = {
				has_country_flag = zth_386_sklad_nash_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_sklad_tt
		}
		if = {
			limit = {
				has_country_flag = zth_386_barrikady_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_ukrepleniya_tt
		}
		if = {
			limit = {
				has_country_flag = zth_386_set_osvedomitelei_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_osvedomiteli_tt
		}
		hidden_effect = {			
			zth_obshaya_podderjka_v_gorodah_plus_4 = yes
			zth_protivistoyanie_proverka_itogov = yes
		}
	}
	option = {
		name = sinka.54.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.54.a.tt
	}	
}

#### эвент. Ход противника. атка противника удалась, мы теряем один сектор в Чунуди 1155
country_event = {
	id = sinka.55
	title = sinka.55.t
	desc = sinka.55.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1155_var = 1 } 
			clamp_variable = {
				var = zth_support_1155_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah_minus_8 = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
		}
	}
	option = {
		name = sinka.55.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.55.a.tt
	}	
}

#### эвент. Ход противника. противник атаковал сектор в Чунуди 1155 но нипрабил! наша мотивация подросла
country_event = {
	id = sinka.56
	title = sinka.56.t
	desc = sinka.56.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		if = {
			limit = {
				has_country_flag = zth_1155_sklad_nash_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_sklad_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1155_barrikady_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_ukrepleniya_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1155_set_osvedomitelei_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_osvedomiteli_tt
		}
		hidden_effect = {			
			zth_obshaya_podderjka_v_gorodah_plus_4 = yes
			zth_protivistoyanie_proverka_itogov = yes
		}
	}
	option = {
		name = sinka.56.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.56.a.tt
	}	
}

#### эвент. Ход противника. атка противника удалась, мы теряем один сектор в Джиньшан 1149
country_event = {
	id = sinka.57
	title = sinka.57.t
	desc = sinka.57.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1149_var = 1 } 
			clamp_variable = {
				var = zth_support_1149_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah_minus_8 = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
		}
	}
	option = {
		name = sinka.57.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.57.a.tt
	}	
}

#### эвент. Ход противника. противник атаковал сектор в Джиньшан 1149 но нипрабил! наша мотивация подросла
country_event = {
	id = sinka.58
	title = sinka.58.t
	desc = sinka.58.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		if = {
			limit = {
				has_country_flag = zth_1149_sklad_nash_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_sklad_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1149_barrikady_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_ukrepleniya_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1149_set_osvedomitelei_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_osvedomiteli_tt
		}
		hidden_effect = {			
			zth_obshaya_podderjka_v_gorodah_plus_4 = yes
			zth_protivistoyanie_proverka_itogov = yes
		}
	}
	option = {
		name = sinka.58.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.58.a.tt
	}	
}

#### эвент. Ход противника. атка противника удалась, мы теряем один сектор в Дунцзинь 1148
country_event = {
	id = sinka.59
	title = sinka.59.t
	desc = sinka.59.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			subtract_from_variable = { zth_support_1148_var = 1 } 
			clamp_variable = {
				var = zth_support_1148_var
				min = 1
				max = 5
			}
			zth_obshaya_podderjka_v_gorodah_minus_8 = yes
			zth_protivistoyanie_proverka_itogov = yes
			zth_probros_statusa_iconok = yes
		}
	}
	option = {
		name = sinka.59.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.59.a.tt
	}	
}

#### эвент. Ход противника. противник атаковал сектор в Дунцзинь 1148 но нипрабил! наша мотивация подросла
country_event = {
	id = sinka.60
	title = sinka.60.t
	desc = sinka.60.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		if = {
			limit = {
				has_country_flag = zth_1148_sklad_nash_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_sklad_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1148_barrikady_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_ukrepleniya_tt
		}
		if = {
			limit = {
				has_country_flag = zth_1148_set_osvedomitelei_flag
			}
			custom_effect_tooltip = zth_u_nas_tam_est_osvedomiteli_tt
		}
		hidden_effect = {			
			zth_obshaya_podderjka_v_gorodah_plus_4 = yes
			zth_protivistoyanie_proverka_itogov = yes
		}
	}
	option = {
		name = sinka.60.a
		custom_effect_tooltip = zth_deistvie_proizoshlo_tt
		custom_effect_tooltip = sinka.60.a.tt
	}	
}

#### эвент.счётчик то кончился, мы сидим за копрократию, у нас проблема - мы не смогли одолеть республику и те подняли восстание!
country_event = {
	id = sinka.61
	title = sinka.61.t
	desc = sinka.61.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			set_global_flag = zth_vosstanie_respubliki_glob_flag
			clr_country_flag = zth_path_of_korporat_fasa_2_flag			
			set_country_flag = zth_korporat_alliastag_flag		# tag aliases
			create_dynamic_country = {
				original_tag = ZTH
				set_country_flag = zth_respublik_alliastag_flag				
#				set_research_slots = 3
				reserve_dynamic_country = yes
				
			}
			ZTH_li_shenglin = {
				set_nationality = XTR
			}
			XTR = {
				set_politics = {
					ruling_party = democratic
				}
				set_popularities = {
					democratic = 95
					neutrality = 2
					communism = 3
				}
				retire_country_leader = yes
				# create_country_leader = {
					# name = "Li Shenglin"
					# desc = " "
					# picture = "zth_li_shenglin.tga"
					# expire = "2020.1.1"
					# ideology = liberalism
					# traits = {		
					# }
				# }		
				add_country_leader_role = {
					character = "ZTH_li_shenglin"
					country_leader = {
						ideology = liberalism
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				load_focus_tree = {
					tree = ZTH
					keep_completed = yes
				}
				set_cosmetic_tag = XTR_FANDUN
				inherit_technology = ZTH
				unlock_national_focus = zth_padenie_imperii
				unlock_national_focus = zth_gosudarstvo_podderj
				unlock_national_focus = zth_findai_podderjka_1
				unlock_national_focus = zth_findai_podderjka_2				
				# дополнить
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_departament_proizvodstva	
						}
					}
					complete_national_focus = zth_departament_proizvodstva
				}	
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_industr_gorodov	
						}
					}
					complete_national_focus = zth_industr_gorodov
				}
				# дополнить
				# ИДЕИ дополнить
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					remove_ideas = ar_professarmy
				}
				complete_national_focus = zth_podeda_respubliki_1
				set_party_name = { ideology = democratic long_name = ZTH_fusan_long_democratic_party name = ZTH_fusan_democratic_party }
				division_template = {
					name = "Revolutionary guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}				
			}
			complete_national_focus = zth_podeda_korporatsii_1	
			if = {
				limit = {
					controls_state = 385 					
				}
				XTR = {
					transfer_state = 385
					385 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}	
			if = {
				limit = {
					controls_state = 1150 					
				}
				XTR = {
					transfer_state = 1150
					1150 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			# if = {
				# limit = {
					# controls_state = 1151 					
				# }
				# XTR = {
					# transfer_state = 1151
					# 1151 = {
						# create_unit = {
							# division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							# owner = XTR
						# }
						# create_unit = {
							# division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							# owner = XTR
						# }
					# }
				# }
			# }
			if = {
				limit = {
					controls_state = 1154 					
				}
				XTR = {
					transfer_state = 1154
					1154 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 378 
					check_variable = { zth_support_378_var < 3 }
				}
				XTR = {
					transfer_state = 378
					378 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 386 
					check_variable = { zth_support_386_var < 3 }
				}
				XTR = {
					transfer_state = 386
					386 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1155 
					check_variable = { zth_support_1155_var < 3 }
				}
				XTR = {
					transfer_state = 1155
					1155 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1149 
					check_variable = { zth_support_1149_var < 3 }
				}
				XTR = {
					transfer_state = 1149
					1149 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1148 
					check_variable = { zth_support_1148_var < 3 }
				}
				XTR = {
					transfer_state = 1148
					1148 = {
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
						create_unit = {
							division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
							owner = XTR
						}
					}
				}
			}
			# поделить с учётом поддержки!!!!
			transfer_units_fraction = {
				target = XTR
				size = 0.4
				stockpile_ratio = 0.4
				army_ratio = 0.4
				navy_ratio = 0.4
				air_ratio = 0.4
				# keep_unit_leaders = {						    
				# }
				# keep_unit_leaders_trigger = {						
				# }
			}
			## добавить и те города, что с низким саппортом
			division_template = {
				name = "Guard"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			if = {
				limit = {
					controls_state = 378 
					check_variable = { zth_support_378_var > 3 }
				}				
				378 = {
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 386 
					check_variable = { zth_support_386_var > 3 }
				}				
				386 = {
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1155 
					check_variable = { zth_support_1155_var > 3 }
				}				
				1155 = {
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1149 
					check_variable = { zth_support_1149_var > 3 }
				}				
				1149 = {
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1148 
					check_variable = { zth_support_1148_var > 3 }
				}				
				1148 = {
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}			
			ZTH = {
				declare_war_on = {
				    target = XTR
				    type = civil_war
				}
				add_civil_war_target = XTR
			}
		}
	}
	option = {
		name = sinka.61.a
		custom_effect_tooltip = sinka.61.a.tt
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.52 }
		}
	}	
}

## эвент.счётчик то кончился, мы сидим за республику, и копрократы ввели войска в города. Но у нас то полно уже сторонников и наша городская война переросла в настоящую гражданскую войну. Хотя нам и не просто будет...
country_event = {
	id = sinka.62
	title = sinka.62.t
	desc = sinka.62.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			set_global_flag = zth_vosstanie_respubliki_glob_flag
			clr_country_flag = zth_path_of_respubl_fasa_2_flag			
			set_country_flag = zth_respublik_alliastag_flag		# tag aliases
			if = {
				limit = {
					has_idea = ar_professarmy
				}
				remove_ideas = ar_professarmy
			}
			create_dynamic_country = {
				original_tag = ZTH
				set_country_flag = zth_korporat_alliastag_flag				
#				set_research_slots = 3
				reserve_dynamic_country = yes				
			}
			ZTH_li_shenglin = {
				set_nationality = XTH
			}
			XTH = {
				set_politics = {
					ruling_party = democratic
				}
				set_popularities = {
					democratic = 95
					neutrality = 2
					communism = 3
				}				
				load_focus_tree = {
					tree = ZTH
					keep_completed = yes
				}
#				set_cosmetic_tag = XTR_FANDUN
				inherit_technology = ZTH
				unlock_national_focus = zth_padenie_imperii
				unlock_national_focus = zth_korporat_podderj
				unlock_national_focus = zth_korporat_busty_faza_1				
				# дополнить
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_departament_proizvodstva	
						}
					}
					complete_national_focus = zth_departament_proizvodstva
				}	
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_industr_gorodov	
						}
					}
					complete_national_focus = zth_industr_gorodov
				}
				# дополнить
				# ИДЕИ дополнить
				complete_national_focus = zth_podeda_korporatsii_1				
				division_template = {
					name = "Guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}				
			}
			##
			set_cosmetic_tag = XTR_FANDUN
			retire_country_leader = yes
			# create_country_leader = {
				# name = "Li Shenglin"
				# desc = " "
				# picture = "zth_li_shenglin.tga"
				# expire = "2020.1.1"
				# ideology = liberalism
				# traits = {		
				# }
			# }
			add_country_leader_role = {
				character = "ZTH_li_shenglin"
				country_leader = {
					ideology = liberalism
					traits = {  }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			set_party_name = { ideology = democratic long_name = ZTH_fusan_long_democratic_party name = ZTH_fusan_democratic_party }
			complete_national_focus = zth_podeda_respubliki_1	
			if = {
				limit = {
					controls_state = 385 					
				}
				XTH = {
					transfer_state = 385
					385 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}	
			if = {
				limit = {
					controls_state = 1150 					
				}
				XTH = {
					transfer_state = 1150
					1150 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}			
			if = {
				limit = {
					controls_state = 1154 					
				}
				XTH = {
					transfer_state = 1154
					1154 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 378 
					check_variable = { zth_support_378_var < 3 }
				}
				XTH = {
					transfer_state = 378
					378 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 386 
					check_variable = { zth_support_386_var < 3 }
				}
				XTH = {
					transfer_state = 386
					386 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1155 
					check_variable = { zth_support_1155_var < 3 }
				}
				XTH = {
					transfer_state = 1155
					1155 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1149 
					check_variable = { zth_support_1149_var < 3 }
				}
				XTH = {
					transfer_state = 1149
					1149 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			if = {
				limit = {
					controls_state = 1148 
					check_variable = { zth_support_1148_var < 3 }
				}
				XTH = {
					transfer_state = 1148
					1148 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = XTH
						}
					}
				}
			}
			# поделить с учётом поддержки!!!!
			transfer_units_fraction = {
				target = XTH
				size = 0.6
				stockpile_ratio = 0.6
				army_ratio = 0.6
				navy_ratio = 0.6
				air_ratio = 0.6
				# keep_unit_leaders = {						    
				# }
				# keep_unit_leaders_trigger = {						
				# }
			}
			division_template = {
				name = "Revolutionary guard"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			if = {
				limit = {
					controls_state = 378 
					check_variable = { zth_support_378_var > 3 }
				}				
				378 = {
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 386 
					check_variable = { zth_support_386_var > 3 }
				}				
				386 = {
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1155 
					check_variable = { zth_support_1155_var > 3 }
				}				
				1155 = {
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1149 
					check_variable = { zth_support_1149_var > 3 }
				}				
				1149 = {
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}
			if = {
				limit = {
					controls_state = 1148 
					check_variable = { zth_support_1148_var > 3 }
				}				
				1148 = {
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
					create_unit = {
						division = "division_template = \"Revolutionary guard\" start_experience_factor = 0.2"
						owner = ZTH
					}
				}				
			}	
			ZTH = {
				declare_war_on = {
				    target = XTH
				    type = civil_war
				}
				add_civil_war_target = XTH
			}
		}
	}
	option = {
		name = sinka.62.a
		custom_effect_tooltip = sinka.62.a.tt
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.52 }
		}
	}
}

## эвент. мы за копрорацию навели порядок и подавили республику. гражданская война закончилась.
country_event = {
	id = sinka.63
	title = sinka.63.t
	desc = sinka.63.d
	picture = GFX_report_event_generic_conference
	trigger = {
		original_tag = ZTH
		has_global_flag = zth_vosstanie_respubliki_glob_flag
#		NOT = { has_global_flag = zth_vosstanie_v_partii_over_glob_flag }		
		ZTH = { 
			exists = yes
			has_civil_war = no
		}
		has_country_flag = zth_korporat_alliastag_flag
	}
	mean_time_to_happen = {
		days = 2
	}
	fire_only_once = yes
	immediate = {
		hidden_effect = {
			clr_global_flag = zth_vosstanie_respubliki_glob_flag
#			set_global_flag = zth_vosstanie_v_partii_over_glob_flag	
			every_country = {
				clr_country_flag = zth_korporat_alliastag_flag
				clr_country_flag = zth_respublik_alliastag_flag
			}	
		}
	}
	option = {
		name = sinka.63.a
		add_stability = 0.1	
		hidden_effect = {
			set_country_flag = zth_korporatsiya_podedila_flag
			country_event = { id = sinka.65 days = 15 random = 50 }
		}
	}
}

#### эвент. мы за республику одолели корпорацию. гражданская война закончилась.
country_event = {
	id = sinka.64
	title = sinka.64.t
	desc = sinka.64.d
	picture = GFX_report_event_generic_conference
	trigger = {
		original_tag = ZTH
		has_global_flag = zth_vosstanie_respubliki_glob_flag
#		NOT = { has_global_flag = zth_vosstanie_v_partii_over_glob_flag }		
		ZTH = { 
			exists = yes
			has_civil_war = no
		}
		has_country_flag = zth_respublik_alliastag_flag
	}
	mean_time_to_happen = {
		days = 2
	}
	fire_only_once = yes
	immediate = {
		hidden_effect = {
			clr_global_flag = zth_vosstanie_respubliki_glob_flag
#			set_global_flag = zth_vosstanie_v_partii_over_glob_flag	
			every_country = {
				clr_country_flag = zth_korporat_alliastag_flag
				clr_country_flag = zth_respublik_alliastag_flag
			}	
		}
	}
	option = {
		name = sinka.64.a
		add_stability = 0.05
		add_timed_idea = {
			idea = zth_novaya_armiya_novyi_priziv
			days = 365
		}
		hidden_effect = {
			set_country_flag = zth_respublika_podedila_flag
			country_event = { id = sinka.65 days = 15 random = 50 }
		}
	}
}


#### эвент  который запустит распад еженя ZHE из состава ZTH. Дикари говорят что им все эти делёжки надоели уже. В зависимости от того какая мы фракция мы можем их попробовать силой подавить или же дать им автономию. Временно конечно
country_event = {
	id = sinka.65
	title = sinka.65.t
	desc = sinka.65.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	####
	trigger = {
		original_tag = ZTH
		has_civil_war = no
		is_subject = no
		has_government = democratic
		controls_state = 380 
		NOT = {
			country_exists = ZHE
		}		
	}		
	option = {
		name = sinka.65.a
		trigger = { 
			has_country_flag = zth_korporatsiya_podedila_flag
		}
		ai_chance = {
			factor = 1				
		}
		custom_effect_tooltip = sinka.65.a.tt
		country_event = { id = sinka.74 }
	}
	option = {
		name = sinka.65.b
		trigger = { 
			has_country_flag = zth_respublika_podedila_flag
		}
		ai_chance = {
			factor = 1				
		}		
		custom_effect_tooltip = sinka.65.b.tt
		add_stability = 0.05
		country_event = { id = sinka.66 }
	}
	option = {
		name = sinka.65.c
		trigger = { 
			NOT = {
				has_country_flag = zth_korporatsiya_podedila_flag
				has_country_flag = zth_respublika_podedila_flag
			}	
		}
		ai_chance = {
			factor = 1				
		}		
		custom_effect_tooltip = sinka.65.c.tt
	}
}

#### эвент что республика говорит еженьцам что берите столько независимости сколько сможете унести. Мы отпускаем их марионеткой. У них там что, стоя нация  появилась чтоле?
country_event = {
	id = sinka.66
	title = sinka.66.t
	desc = sinka.66.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			ZHE = {
				set_cosmetic_tag = ZHE_TERRITOR
			}	
		}
	}	
	option = {
		name = sinka.66.a
		remove_ideas = zth_zhe_debuff_proizv	
		release_puppet = ZHE	
		add_timed_idea = {
			idea = zth_plohaya_obespechennost_edoi
			days = 1000
		}
		ZHE = {
			set_popularities = {
				democratic = 60
				neutrality = 10
				fascism = 20
				communism = 10
			}
			set_politics = {
				ruling_party = democratic
			}
			# create_country_leader = {
				# name = "Qiao Enlai"
				# desc = ""
				# picture = "portrait_zhe_qiao_guanhua.tga"		
				# expire = "2010.1.1"
				# ideology = conservatism
				# traits = {						
				# }
			# }
			add_country_leader_role = {
				character = "ZHE_qiao_enlai"
				country_leader = {
					ideology = conservatism
					traits = {  }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			add_timed_idea = {
				idea = zth_zhe_promyshl_debuff
				days = 1000
			}	
		}
	}	
}

### ЭВЕНТ ДЛЯ ИИ что мы теперь фандуй Фандуй 
country_event = {
	id = sinka.67
	title = sinka.67.t
	desc = sinka.67.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_ai = yes
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = zth_path_of_respubl_fasa_2_flag
			set_country_flag = zth_respublika_podedila_flag
		}
	}	
	option = {
		name = sinka.67.a
		add_stability = -0.12
		add_war_support = -0.12
		complete_national_focus = zth_findai_podderjka_2
		complete_national_focus = zth_stabilizatia_situatii
		complete_national_focus = zth_findai_podderjka_1
		complete_national_focus = zth_podeda_respubliki_1
		retire_country_leader = yes
		# create_country_leader = {
			# name = "Li Shenglin"
			# desc = " "
			# picture = "zth_li_shenglin.tga"
			# expire = "2020.1.1"
			# ideology = liberalism
			# traits = {		
			# }
		# }	
		add_country_leader_role = {
			character = "ZTH_li_shenglin"
			country_leader = {
				ideology = liberalism
				traits = {  }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
		set_cosmetic_tag = XTR_FANDUN
		set_party_name = { ideology = democratic long_name = ZTH_fusan_long_democratic_party name = ZTH_fusan_democratic_party }
		if = {
			limit = {
				has_idea = zth_dubuff_armii
			}
			remove_ideas = zth_dubuff_armii
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.55 }
		}		
	}	
}

### ЭВЕНТ ДЛЯ ИИ что мы теперь Наша корпорация
country_event = {
	id = sinka.68
	title = sinka.68.t
	desc = sinka.68.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_ai = yes
	}
	immediate = {
		hidden_effect = {			
			clr_country_flag = zth_path_of_korporat_fasa_2_flag
			set_country_flag = zth_korporatsiya_podedila_flag				
		}
	}	
	option = {
		name = sinka.68.a
		add_stability = -0.12
		add_war_support = -0.12
		complete_national_focus = zth_korporat_busty_faza_1
		complete_national_focus = zth_stabilizatia_situatii
		complete_national_focus = zth_podeda_korporatsii_1
		if = {
			limit = {
				has_idea = zth_dubuff_armii
			}
			remove_ideas = zth_dubuff_armii
		}
		hidden_effect = {
			country_event = { id = sinka.65 days = 35 random = 50 }
			news_event = { hours = 3 id = ar_news.55 }
		}
	}	
}

### эвент о том что мы аннексируем нашу марионетку ежень, потому что у них осталось меньше 4 стейтов. Так же к нам переходят все их генералы (откуда они там?) и денежки. стейты становятся национальными.
country_event = {
	id = sinka.69
	title = sinka.69.t
	desc = sinka.69.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.69.a		
		ZHE = {
			every_unit_leader = {
				set_nationality = ZTH
			}
		}
		annex_country = {
			target = ZHE
			transfer_troops = yes
		}
		every_state = {
			limit = { 
				is_core_of = ZHE 
				NOT = {
					is_core_of = ZTH
				}
			}
			add_core_of = ZTH			
		}
	}	
}

### эвент Республике вскоре после победы о том что политика открытых дверей в города дала свои плоды. В стране усилилась рассовая нетерпимость по отношению к неграм и коренным фусанцам. ловим дебаффф
country_event = {
	id = sinka.70
	title = sinka.70.t
	desc = sinka.70.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.70.a		
		add_ideas = zth_rassovaya_neterpimost
	}	
}

### эвент республике. что во время разработки программы «Шигун», направленной на восстановление экономического потенциала страны в зале республиканского совета разгорелось много споров. Сначала они были все по делу и касались экономики, но чем жарче они становились, тем больше государственных проблем заграгивали. Кончилось тем что депутаты (или как их там) все попереругались, пообзывали друг груга "стяными омнипаристами" и "убийцами-националистами". Ругались, ругались, и приняли «Шигун», но очень ограниченно. Зато все поняли что нет мира вреди республиканцев...
country_event = {
	id = sinka.71
	title = sinka.71.t
	desc = sinka.71.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.71.a		
		add_timed_idea = {
			idea = zth_programma_shigun_buff
			days = 365
		}
		custom_effect_tooltip = sinka.71.a.tt
#		custom_effect_tooltip = sinka.93.t
#		hidden_effect = {
			country_event = { days = 2 id = sinka.93 }
#		}	
	}	
}

### эвент копропации. Ранее, три месяца назаж мы начали проводить кампанию на улучшение рабочих условий сотрудников. Цель кампании - окончательно устранить недовольство и не допустить новых фандуней. Но видимо мы слишком много внимания уделили пропаганде нежели делу и сотрудники начали возмущаться. Мол мы уже который месяц обещаем нормальные условия, современные инструменты, качественные услуги, но дальше разговоров дело не пошло. Теряем стабку кароч
country_event = {
	id = sinka.72
	title = sinka.72.t
	desc = sinka.72.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = sinka.72.a		
		add_stability = -0.02
	}	
}

### эвент копропации. Ранее, три месяца назаж мы начали проводить кампанию на улучшение рабочих условий сотрудников. Цель кампании - окончательно устранить недовольство и не допустить новых фандуней. И хотя мы особо то ничего не сделали, кроме постоянных громких обещаний, наши сотрудники продолжают радоваться нашей инициативе (наивные лошары)! Рост стабки
country_event = {
	id = sinka.73
	title = sinka.73.t
	desc = sinka.73.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = democratic
	}	
	option = {
		name = sinka.73.a		
		add_stability = 0.02
	}	
}


### эвент копропации. эти эженьцы ошалели. Они под шумок наших небольших проблем с фандуй захотели себе независимость. Вот уж хитрецы, мы вводим войска и дамим их! 
country_event = {
	id = sinka.74
	title = sinka.74.t
	desc = sinka.74.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			# Сюдэма всё и стейты и всё кароч
			ZHE = {
				transfer_state = 380
			}
			if = {
				limit = {
					controls_state = 387 
				}
				ZHE = {
					transfer_state = 387
				}
			}
			if = {
				limit = {
					controls_state = 379 
				}
				ZHE = {
					transfer_state = 379
				}
			}
			if = {
				limit = {
					controls_state = 1152 
				}
				ZHE = {
					transfer_state = 1152
				}
			}
			transfer_units_fraction = {
				target = ZHE
				size = 0.1
				stockpile_ratio = 0.14
				army_ratio = 0.1
#				navy_ratio = 0.01	# какой флот то в пустоши?
				air_ratio = 0.1				
			}			
			ZHE = {
				set_stability = 0.9
				set_war_support = 0.9
				add_political_power = 450
				# create_country_leader = {
					# name = "Viho Tse Tsiishch'Ili"
					# desc = ""
					# picture = "portrait_zhe_viho_tse.tga"		
					# expire = "2010.1.1"
					# ideology = despotism
					# traits = {						
					# }
				# }
				add_country_leader_role = {
					character = "ZHE_viho_tse_tsiishchili"
					country_leader = {
						ideology = despotism
						traits = {  }
						expire = "2020.3.1.1"
					}	
					promote_leader = yes 
				}
				division_template = {
					name = "Warrior guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}
				random_owned_state = {				
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}	
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}					
				}
				random_owned_state = {				
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}	
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}					
				}
				random_owned_state = {						
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}	
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}
					create_unit = {
						division = "division_template = \"Warrior guard\" start_experience_factor = 0.2"
						owner = ZHE
					}
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1500
					producer = ZTH
				}
				add_ai_strategy = {
					type = conquer
					id = ZTH
					value = 300
				}
				add_ai_strategy = {
					type = antagonize
					id = ZTH
					value = 300
				}
				every_state = {
					limit = { is_core_of = ZTH }
					add_core_of = ZHE
					add_claim_by = ZHE
				}
				every_state = {
					limit = { is_controlled_by = ZTH }				
					add_claim_by = ZHE
				}
			}
			division_template = {
				name = "Security team"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			random_owned_state = {						
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}	
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}
			}
			random_owned_state = {						
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}	
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}
			}
			random_owned_state = {						
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}	
				create_unit = {
					division = "division_template = \"Security team\" start_experience_factor = 0.2"
					owner = ZTH
				}
			}
			declare_war_on = {
				type = annex_everything
				target = ZHE
			}
			add_ai_strategy = {
				type = conquer
				id = ZHE
				value = 300
			}
			add_ai_strategy = {
				type = antagonize
				id = ZHE
				value = 300
			}
			every_state = {
				limit = { 
					is_core_of = ZHE 					
				}
				add_core_of = ZTH
				add_claim_by = ZTH
			}
			every_state = {
				limit = { 
					is_controlled_by = ZHE
				}				
				add_claim_by = ZTH
			}
			every_state = {
				limit = { 					
					is_controlled_by = ZHE
					NOT = {
						is_controlled_by = ZTH
					}	
				}
				add_core_of = ZTH				
			}
		}
	}
	option = {
		name = sinka.74.a	
		custom_effect_tooltip = sinka.74.a.tt
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.56 }
		}
	}	
}

#### эвент что в нашей республике фусан следуя всем канонам трёх свобод и всё такое проводятся судебные процесы над самыми рьяными расистами. Этим мы хотим приструнить всех кто разжигает расовую ненависть по отношению к этим самым дикарям что теперь полноправные граждане страны. Конечно это не всем нравится, но тем не менее проблема с расовыми конфликтами становится не такой острой (стоит учитывать что в нашем новом првительстве расистов тоже хватает)
country_event = {
	id = sinka.75
	title = sinka.75.t
	desc = sinka.75.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.75.a	
		add_stability = -0.1
		add_war_support = -0.05	
		add_popularity = {
			ideology = fascism
			popularity = -0.1
		}
		if = {
			limit = {
				has_unit_leader = 22827
			}
			every_unit_leader = {
				limit = {
					has_id = 22827
				}
				retire = yes
			}
		}
		if = {
			limit = {
				has_unit_leader = 22828
			}
			every_unit_leader = {
				limit = {
					has_id = 22828
				}
				retire = yes
			}
		}
		if = {
			limit = {
				has_unit_leader = 22829
			}
			every_unit_leader = {
				limit = {
					has_id = 22829
				}
				retire = yes
			}
		}
	}	
}

#### эвент что в нашей республике фусан решается вопрос с омнипаристами. Эти ребята в последнее время хорошо укрепились в правительстве и пока не поздно их нужно куда то деть. Они ж там не очень воспринимают идеалы трех свобод. хмм, кароч тут надо что-то придумать. Навроде что делаем какие-то подставные дела на омнипаристов, дескать вон они чего делали во время восстания против корпорации - магазины грабили! Всё это ложь конечно, но идеалы бейизма того стоят.  
country_event = {
	id = sinka.76
	title = sinka.76.t
	desc = sinka.76.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.76.a	
		add_stability = -0.12	
		add_popularity = {
			ideology = communism
			popularity = -0.1
		}
	}	
}

#### стартовый эвент синьке
country_event = {
	id = sinka.77
	title = sinka.77.t
	desc = sinka.77.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.77.a		
	}	
}

#### 
country_event = {
	id = sinka.78
	title = sinka.78.t
	desc = sinka.78.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.78.a		
		add_stability = -0.05
		add_political_power = -20
		hidden_effect = {
			country_event = { id = sinka.79 days = 15 random = 6 }
		}
	}	
}

#### 
country_event = {
	id = sinka.79
	title = sinka.79.t
	desc = sinka.79.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.79.a
		add_stability = 0.02
		hidden_effect = {
			country_event = { id = sinka.84 days = 30 random = 6 }
		}
	}	
}

#### 
country_event = {
	id = sinka.80
	title = sinka.80.t
	desc = sinka.80.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.80.a
		add_stability = -0.02
	}	
}

###	О важности обучения
country_event = {
	id = sinka.81
	title = sinka.81.t
	desc = sinka.81.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.81.a
		if = {
			limit = {
				has_stability < 0.4
			}
			add_stability = 0.08
		}
		else = {
			add_stability = 0.05
		}	
		if = {
			limit = {
				has_government = democratic
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
		}	
	}	
}

### с сегодняшнего дня плата за проезд в общественном транспорте будет снижена на три процента
country_event = {
	id = sinka.82
	title = sinka.82.t
	desc = sinka.82.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.82.a
		if = {
			limit = {
				has_stability < 0.4
			}
			add_stability = 0.08
		}
		else = {
			add_stability = 0.05
		}
		if = {
			limit = {
				has_government = democratic
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
		}
	}	
}

### Корпоративная этика
country_event = {
	id = sinka.83
	title = sinka.83.t
	desc = sinka.83.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.83.a
		add_ideas = zth_korporat_etika
		if = {
			limit = {
				has_government = democratic
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
		}
	}	
}

#### утечка данных
country_event = {
	id = sinka.84
	title = sinka.84.t
	desc = sinka.84.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.84.a	
		add_stability = -0.02
	}	
}

####
country_event = {
	id = sinka.85
	title = sinka.85.t
	desc = sinka.85.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.85.a
		
	}	
}

####
country_event = {
	id = sinka.86
	title = sinka.86.t
	desc = sinka.86.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.86.a
		add_stability = -0.1
		set_politics = {
			ruling_party = fascism
		}	
		add_popularity = {
			ideology = fascism
			popularity = 0.6
		}
		add_timed_idea = {
			idea = paternalismdrift
			days = 250
		}
		if = {
			limit = {
				has_idea = zth_rassovaya_neterpimost
			}
			remove_ideas = zth_rassovaya_neterpimost
		}
		add_ideas = zth_strogii_otbor_v_armiu
		if = {
			limit = {
				has_idea = ar_massarmy
			}
			swap_ideas = {
				remove_idea = ar_massarmy
				add_idea = ar_professarmy
			}
		}
	}	
}

#### эвент еженьцам которые марионетка омнипаристической республики фусан. наша метрополия призывает нас вернуться в состав их республики. Они говорят что у них теперь там полное равноправие и никакого расизма и прочего притеснения. А что, звучит хайпово!
country_event = {
	id = sinka.87
	title = sinka.87.t
	desc = sinka.87.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.87.a		
		ai_chance = {
			base = 100			
		}
		custom_effect_tooltip = GAME_OVER_TT
		FROM = {
			country_event = { id = sinka.88 }
		}
	}	
	option = {
		name = sinka.87.b		
		ai_chance = {
			base = 0			
		}
		FROM = {
			country_event = { id = sinka.89 }
		}
	}
}

#### эвент о том что еженьцы вернулись в состав нашей омнипаристической республики. ура товарищи! +новость 58
country_event = {
	id = sinka.88
	title = sinka.88.t
	desc = sinka.88.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.88.a
		annex_country = { target = ZHE }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.58 }
		}
	}	
}

#### эвент о том что еженьцы НЕ вернулись в состав нашей омнипаристической республики. такое вообще возможно?!
country_event = {
	id = sinka.89
	title = sinka.89.t
	desc = sinka.89.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.89.a
		add_stability = -0.05
		add_war_support = -0.05
	}	
}

#### эвент омнипаристической стране_нейм (например ФСР) о том что омнипаристическая республика фусан (синька) хочет в наш альянс_нейм. они тоже омнипаристы юные, хотят мир - дружба - жвачка +новость 59 что [FROM.GetNameDef] взяли в свой альянс фусан
country_event = {
	id = sinka.90
	title = sinka.90.t
	desc = sinka.90.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.90.a		
		ai_chance = {
			base = 100			
		}	
		add_to_faction = FROM
		FROM = {
			country_event = { id = sinka.91 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.59 }
		}
	}	
	option = {
		name = sinka.90.b		
		ai_chance = {
			base = 5			
		}
		FROM = {
			country_event = { id = sinka.92 }
		}
	}
}

#### ура, мы в альянс нейм
country_event = {
	id = sinka.91
	title = sinka.91.t
	desc = sinka.91.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.91.a
		effect_tooltip = {
			FROM = {
				add_to_faction = ROOT
			}
		}
	}	
}

#### страна_нейм нас не приняла
country_event = {
	id = sinka.92
	title = sinka.92.t
	desc = sinka.92.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.92.a		
	}	
}

#### ситуация в городах. Через пару дней после принятия Шигуна и драк в парламенте. Суть в том, что рабочие устроили массовый митинг в защиту своих интересов. А ещё расисты начали активно вешать пришлых негров на столбах. И в какой-то момент обе этих колонны столкнулись друг с другом. Многие рабочие и сами расисты, а многие расисты также и рабочие. Но слово за слово... (Теряем кучу стабки)
country_event = {
	id = sinka.93
	title = sinka.93.t
	desc = sinka.93.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.93.a	
		add_stability = -0.05	
		add_manpower = -103	
		country_event = { id = sinka.94 }
	}	
}

##### парламент созван и разделился во мнении кто прав и кто виноват. Кому отдадим предпочтение? Омники, компромисс, Голосование за народные страхи перед еженьцами
country_event = {
	id = sinka.94
	title = sinka.94.t
	desc = sinka.94.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {	# омники
		name = sinka.94.a	
		ai_chance = {
			base = 5
			modifier = {
				factor = 100
				has_game_rule = { rule = ZTH_AI_BEHAVIOR option = ZTH_FANDUI_OMNI_RUL }
			}
		}	
		custom_effect_tooltip = sinka.94.a.tt
		country_event = { id = sinka.97 }
	}
	option = {	# компромисс
		name = sinka.94.b	
		ai_chance = {
			base = 5
			modifier = {
				factor = 100
				has_game_rule = { rule = ZTH_AI_BEHAVIOR option = ZTH_FANDUI_DEM_RUL }
			}
		}	
		custom_effect_tooltip = sinka.94.b.tt
		country_event = { id = sinka.95 }		
	}
	option = {	# расисты
		name = sinka.94.c	
		ai_chance = {
			base = 5
			modifier = {
				factor = 100
				has_game_rule = { rule = ZTH_AI_BEHAVIOR option = ZTH_FANDUI_RASIST_RUL }
			}
		}
		custom_effect_tooltip = sinka.94.c.tt
		country_event = { id = sinka.100 }
	}	
}

##### парламент созван и выбрал поиск компромисса. Тут у нас разгорались жаркие делаты и всё такое. В итоге со стороны омников пришли к выводу что им будет достаточно большей квоты на места в парлементе. А вот часть консервативных политиков настаивает на проведении референдума относительно законности прибывание негров на территории городов. Какой стул выберем?
country_event = {
	id = sinka.95
	title = sinka.95.t
	desc = sinka.95.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {	# омники
		name = sinka.95.a	
		ai_chance = {
			base = 5			
		}	
		custom_effect_tooltip = sinka.95.a.tt
		country_event = { id = sinka.96 }
	}	
	option = {	# расисты
		name = sinka.95.b	
		ai_chance = {
			base = 5			
		}
		custom_effect_tooltip = sinka.95.b.tt
		country_event = { id = sinka.104 }		
	}	
}

#### парлманет поддержал омников. Мы дали им дополнительные квоты на места в парламенте. Их поддержка выросла в народе но всё же мы смогли сохранить власть за бейизмом (пропускаем фокус на люстрацию омников) - кризис власти преодолён, хотя вопрос с расистами ещё предстоит решить!!!
country_event = {
	id = sinka.96
	title = sinka.96.t
	desc = sinka.96.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.96.a
		set_country_flag = zth_resp_put_kompromissa_flag
		complete_national_focus = zth_narodnoe_primirenie
		unlock_national_focus = zth_lustratia_omniparistov
		set_country_flag = zth_resp_omniki_v_parlamente_flag
		add_popularity = {
			ideology = communism
			popularity = 0.1
		}
		add_stability = -0.05
	}	
}

##### парламент созван и выбрал поддержать рабочих и противостоять расистам-консерваторам. Мы обращаемся к рабочим и говорим всякие хорошие штуки. Мы можем передать фабрики в их управление, но можем и просто предоставить больше мест в парламенте (этот вариант сохранит бейизм как в предыдущем эвенте, только стабки больше потеряем)
country_event = {
	id = sinka.97
	title = sinka.97.t
	desc = sinka.97.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {	# омники
		name = sinka.97.a	
		ai_chance = {
			base = 50			
		}	
		custom_effect_tooltip = sinka.94.a.tt
		country_event = { id = sinka.98 }
	}	
	option = {	# компромисс
		name = sinka.97.b	
		custom_effect_tooltip = sinka.97.b.tt
		ai_chance = {
			base = 0			
		}	
		set_country_flag = zth_resp_put_kompromissa_flag
		complete_national_focus = zth_narodnoe_primirenie
		unlock_national_focus = zth_lustratia_omniparistov
		set_country_flag = zth_resp_omniki_v_parlamente_flag
		add_popularity = {
			ideology = communism
			popularity = 0.12
		}
		add_stability = -0.05
	}	
}

#### парлманет поддержал омников и дал им в управление заводы. Рабочие принимают дар и начинают устанавливать свои правила. Но на улицах начались открытые заварушки с расистами.
country_event = {
	id = sinka.98
	title = sinka.98.t
	desc = sinka.98.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.98.a
		add_popularity = {
			ideology = fascism
			popularity = 0.05
		}
		add_manpower = -143
		custom_effect_tooltip = sinka.71.a.tt
		country_event = { days = 3 id = sinka.99 }		
	}	
}


#### Конфликт достиг критических масштабов и мы играем за омников...война с расистами. Опять гражданка емае и опять из делить кучей команд емае и опять алисные теги воодить чтобы обе стороны могли продолжить свои фокусы. 
country_event = {
	id = sinka.99
	title = sinka.99.t
	desc = sinka.99.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {	
		hidden_effect = {
			set_country_flag = zth_resp_put_omnikov_flag
			set_country_flag = zth_omniki_alliastag_flag	# tag aliases
			create_dynamic_country = {
				original_tag = ZTH
				set_country_flag = zth_rasisty_alliastag_flag
				set_politics = {
					ruling_party = fascism
				}
#				inherit_technology = ZTH # ??
#				set_research_slots = 3
				reserve_dynamic_country = yes
			}
			if = {
				limit = {
					has_idea = zth_rassovaya_neterpimost
				}
				remove_ideas = zth_rassovaya_neterpimost
			}
			complete_national_focus = zth_agrarnoe_gosudarstvo
			set_politics = {
				ruling_party = communism
			}	
			add_popularity = {
				ideology = communism
				popularity = 0.6
			}
			add_timed_idea = {
				idea = omniparismdrift
				days = 250
			}			
			WOR = {
				set_politics = {
					ruling_party = fascism
				}
				set_popularities = {
					democratic = 10
					neutrality = 5
					fascism = 85
				}
				load_focus_tree = {
					tree = ZTH
					keep_completed = yes
				}
				unlock_national_focus = zth_padenie_imperii
				unlock_national_focus = zth_gosudarstvo_podderj
				unlock_national_focus = zth_findai_podderjka_2
				unlock_national_focus = zth_findai_podderjka_1
				unlock_national_focus = zth_stabilizatia_situatii
				unlock_national_focus = zth_podeda_respubliki_1
				unlock_national_focus = zth_resp_sozdanie_kabmina
				unlock_national_focus = zth_vikupit_zemli_dlya_strany
				unlock_national_focus = zth_programma_shigun
				set_country_flag = zth_resp_put_nazi_flag			##  флаг 
				unlock_national_focus = zth_rassovaya_neterpimost	##	фокус		
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_respubl_revolution_armiya	
						}
					}
					complete_national_focus = zth_respubl_revolution_armiya
				}
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_rashirit_dogovor_o_prodovolstvii	
						}
					}
					complete_national_focus = zth_rashirit_dogovor_o_prodovolstvii
				}
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_nauka_kolba_1	
						}
					}
					complete_national_focus = zth_nauka_kolba_1
				}
				if = {
					limit = {
						ZTH = {
							has_completed_focus = zth_nauka_kolba_2	
						}
					}
					complete_national_focus = zth_nauka_kolba_2
				}
				if = {
					limit = {
						ZTH = {
							OR = {
								has_completed_focus = zth_respubl_prof_army	
								has_completed_focus = zth_respubl_mass_army
							}	
						}
					}
					complete_national_focus = zth_respubl_prof_army
				}
				add_ideas = zth_strogii_otbor_v_armiu
				if = {
					limit = {
						has_idea = zth_rassovaya_neterpimost
					}
					remove_ideas = zth_rassovaya_neterpimost
				}
				division_template = {
					name = "National Guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}
				if = {	# Чтобы было куда армию делить
					limit = {
						ZTH = {
							controls_state = 378 
						}		
					}
					transfer_state = 378
					378 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 1153 
							}
							ZHE = {
								AND = {
									controls_state = 1153 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 1153
					1153 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 1148 
							}
							ZHE = {
								AND = {
									controls_state = 1148 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 1148
					1148 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 483 
							}
							ZHE = {
								AND = {
									controls_state = 483 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 483
					483 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 1151 
							}
							ZHE = {
								AND = {
									controls_state = 1151 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 1151
					1151 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 1150 
							}
							ZHE = {
								AND = {
									controls_state = 1150 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 1150	
					1150 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}												
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 385 
							}
							ZHE = {
								AND = {
									controls_state = 385 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 385
					385 = {
						create_unit = {
							division = "division_template = \"National Guard\" start_experience_factor = 0.2"
							owner = WOR
						}												
					}					
				}
				if = {
					limit = {
						OR = {
							ZTH = {
								controls_state = 1154 
							}
							ZHE = {
								AND = {
									controls_state = 1154 
									is_subject_of = ZTH
								}
							}	
						}		
					}
					transfer_state = 1154					
				}
				add_ai_strategy = {
					type = conquer
					id = ZHE
					value = 150
				}
				add_ai_strategy = {
					type = antagonize
					id = ZHE
					value = 150
				}
			}
			transfer_units_fraction = {
				target = WOR
				size = 0.3
				stockpile_ratio = 0.3
				army_ratio = 0.3
				navy_ratio = 0.3
				air_ratio = 0.5					
			}
			division_template = {
				name = "Guard"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			random_owned_state = {				
				create_unit = {
					division = "division_template = \"Guard\" start_experience_factor = 0.2"
					owner = ZTH
				}
				create_unit = {
					division = "division_template = \"Guard\" start_experience_factor = 0.2"
					owner = ZTH
				}						
			}
			# нада сторонам доп юниты???
			declare_war_on = {
				target = WOR
				type = civil_war
			}
			add_civil_war_target = WOR
			1150 = {
				add_core_of = WOR
			}
			385 = {
				add_core_of = WOR
			}
			1154 = {
				add_core_of = WOR
			}
			1151 = {
				add_core_of = WOR
			}
			if = {
				limit = {
					ZHE = {
						exists = yes
						is_subject_of = ZTH
					}
				}
				ZHE = {
					add_to_war = { 
						targeted_alliance = ZTH 
						enemy = WOR 						
					}
				}			
				every_state = {
					limit = { is_core_of = ZHE }					
					add_claim_by = WOR
				}				
			}
		}
	}		
	option = {
		name = sinka.99.a
		effect_tooltip = {
			set_politics = {
				ruling_party = communism
			}	
			add_popularity = {
				ideology = communism
				popularity = 0.6
			}
			complete_national_focus = zth_agrarnoe_gosudarstvo
			add_timed_idea = {
				idea = omniparismdrift
				days = 250
			}
		}
		if = {
			limit = {
				is_ai = yes
			}
			add_stability = 0.5
			add_war_support = 0.5
			add_political_power = 250
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = ZTH
			}
		}
		custom_effect_tooltip = sinka.99.a.tt 
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.60 }
		}
	}	
}

####  эвент если мы выбрали путь расистов. Парламент прислушивается ко всяким консервативным ребятам и склоняется к тому что все беды в городах оттого что в них пустили дикарей. Но так просто их не выгнать, демократия все дела. Поэтому решено провести референдум о том можно ли еженьцам жыть в городах и тусоваться там. Голосование за народные страхи перед еженьцами. Тут рандом на то, как проголосукт народ. Но в этом эвенте с 90 процентов побеждают нацики.
country_event = {
	id = sinka.100
	title = sinka.100.t
	desc = sinka.100.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.100.a
		random_list = {
			90 = {
				country_event = { id = sinka.101 }
			}
			10 = {
				country_event = { id = sinka.103 }
			}
		}
	}	
}

####  эвент о том что люди проголосовали за то чтобы эженьцев выгнать. Ну и дела. И начинается массовое уничтожение еженьцев, заодно страдают и простые граждане. Полиция теряет всякий контроль и вскоре горит здание парламента
country_event = {
	id = sinka.101
	title = sinka.101.t
	desc = sinka.101.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.101.a
		custom_effect_tooltip = sinka.71.a.tt
		country_event = { days = 3 id = sinka.102 }	
	}	
}

####  Мама анархия наступает и правительство сдаётся. Рабочие решили вооружиться чтобы предотвратить катастрофу и дать отпор расистам. Гражданская война против омников, мы играем за патернов
country_event = {
	id = sinka.102
	title = sinka.102.t
	desc = sinka.102.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {	
		hidden_effect = {
			set_country_flag = zth_resp_put_nazi_flag
			set_country_flag = zth_rasisty_alliastag_flag	# tag aliases
			create_dynamic_country = {
				original_tag = ZTH
				set_country_flag = zth_omniki_alliastag_flag
				set_politics = {
					ruling_party = communism
				}
#				inherit_technology = ZTH # ??
#				set_research_slots = 3
				reserve_dynamic_country = yes
			}
			complete_national_focus = zth_rassovaya_neterpimost
			set_politics = {
				ruling_party = fascism
			}	
			add_popularity = {
				ideology = fascism
				popularity = 0.6
			}
			add_timed_idea = {
				idea = paternalismdrift
				days = 250
			}
			WOM = {	# омники
				set_politics = {
					ruling_party = communism
				}
				set_popularities = {
					democratic = 10
					neutrality = 5
					communism = 85
				}
				add_timed_idea = {
					idea = omniparismdrift
					days = 150
				}
				load_focus_tree = {
					tree = ZTH
					keep_completed = yes
				}
				
				unlock_national_focus = zth_padenie_imperii
				unlock_national_focus = zth_gosudarstvo_podderj
				unlock_national_focus = zth_findai_podderjka_2
				unlock_national_focus = zth_findai_podderjka_1
				unlock_national_focus = zth_stabilizatia_situatii
				unlock_national_focus = zth_podeda_respubliki_1
				unlock_national_focus = zth_resp_sozdanie_kabmina
				unlock_national_focus = zth_vikupit_zemli_dlya_strany
				unlock_national_focus = zth_programma_shigun
				set_country_flag = zth_resp_put_omnikov_flag			##  флаг 
				unlock_national_focus = zth_agrarnoe_gosudarstvo	##	фокус
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_respubl_revolution_armiya	}
					}
					complete_national_focus = zth_respubl_revolution_armiya
				}
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_rashirit_dogovor_o_prodovolstvii }
					}
					complete_national_focus = zth_rashirit_dogovor_o_prodovolstvii
				}
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_nauka_kolba_1	}
					}
					complete_national_focus = zth_nauka_kolba_1
				}
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_nauka_kolba_2	}
					}
					complete_national_focus = zth_nauka_kolba_2
				}
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_respubl_prof_army	}
					}
					complete_national_focus = zth_respubl_prof_army
				}
				if = {
					limit = {
						ZTH = {	has_completed_focus = zth_respubl_mass_army	}
					}
					complete_national_focus = zth_respubl_mass_army
				}
				if = {
					limit = { has_idea = zth_rassovaya_neterpimost }
					remove_ideas = zth_rassovaya_neterpimost
				}
				division_template = {
					name = "Guard"				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
					}
				}
				if = {	# Чтобы было куда армию делить ПРАВИТЬ НОМЕРА СТЕЙТОВ!!!
					limit = {
						ZTH = {	controls_state = 378 }		
					}
					transfer_state = 378
					378 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {	controls_state = 1153 }
							ZHE = {
								AND = {
									controls_state = 1153 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 1153
					1153 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {	controls_state = 379 }
							ZHE = {
								AND = {
									controls_state = 379 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 379
					379 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}						
					}
				}
				if = {
					limit = {
						OR = {
							ZTH = {	controls_state = 380 }
							ZHE = {
								AND = {
									controls_state = 380 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 380
					380 = {
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}
						create_unit = {
							division = "division_template = \"Guard\" start_experience_factor = 0.2"
							owner = WOM
						}						
					}
				}
				if = {	# наследство чунги
					limit = {
						OR = {
							ZTH = {	controls_state = 1154 }
							ZHE = {
								AND = {
									controls_state = 1154 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 1154					
				}
				if = {	# наследство чунги
					limit = {
						OR = {
							ZTH = {	controls_state = 385 }
							ZHE = {
								AND = {
									controls_state = 385 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 385					
				}
				if = {	# наследство чунги
					limit = {
						OR = {
							ZTH = {	controls_state = 1150 }
							ZHE = {
								AND = {
									controls_state = 1150 
									is_subject_of = ZTH
								}
							}	
						}	
					}
					transfer_state = 1150					
				}
				##
			}	# омники end
			if = {	# передаём еженьцев марионеткой противоникам-омникам
				limit = {
					ZHE = {
						exists = yes
						is_subject_of = ZTH
					}
				}
				ZTH = {
					set_autonomy = {
						target = ZHE
						autonomy_state = autonomy_free
					}
					set_country_flag = zth_zhe_flag_na_revol_flag
				}
				every_country = {
					limit = { 
						original_tag = ZTH
						has_government = communism
					}				
					puppet = ZHE
				}				
				
				every_state = {
					limit = { is_core_of = ZHE }					
					add_claim_by = WOM
				}
			}	
			transfer_units_fraction = {
				target = WOM
				size = 0.3
				stockpile_ratio = 0.3
				army_ratio = 0.3
				navy_ratio = 0.3
				air_ratio = 0.5					
			}
			declare_war_on = {
				target = WOM
				type = civil_war
			}
			add_civil_war_target = WOM
			division_template = {
				name = "National Guard"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
			random_owned_state = {				
				create_unit = {
					division = "division_template = \"National Guard\" start_experience_factor = 0.2"
					owner = ZTH
				}
				create_unit = {
					division = "division_template = \"National Guard\" start_experience_factor = 0.2"
					owner = ZTH
				}						
			}			
			if = {
				limit = {
					ZHE = {
						is_subject_of = WOM
#						has_country_flag = zth_zhe_flag_na_revol_flag	
					}
				}	
#				declare_war_on = {
#					type = annex_everything
#					target = ZHE
#				}	
				ZHE = {
					add_to_war = { 
						targeted_alliance = WOM 
						enemy = WOR 						
					}
				}								
			}
		}
	}		
	option = {
		name = sinka.102.a
		effect_tooltip = {			
			complete_national_focus = zth_rassovaya_neterpimost
			set_politics = {
				ruling_party = fascism
			}	
			add_popularity = {
				ideology = fascism
				popularity = 0.6
			}
			add_timed_idea = {
				idea = paternalismdrift
				days = 250
			}
		}		
		add_ideas = zth_strogii_otbor_v_armiu
		if = {
			limit = { has_idea = zth_rassovaya_neterpimost }
			remove_ideas = zth_rassovaya_neterpimost
		}
		if = {
			limit = {
				has_idea = ar_massarmy
			}
			swap_ideas = {
				remove_idea = ar_massarmy
				add_idea = ar_professarmy
			}
		}
		if = {
			limit = {
				is_ai = yes
			}
			add_stability = 0.5
			add_war_support = 0.5
			add_political_power = 250
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = ZTH
			}
		}	
		custom_effect_tooltip = sinka.102.a.tt
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.60 }
		}
	}	
}

####  эвент о том что люди проголосовали за то чтобы эженьцы остались в городах. Это вызвало море негодования со стороны расистов. Но всё таки решение достаточно компромиссное. Мы играем по пути бейистов демократов. Вспыхивает народное недовольство, но слабое
country_event = {
	id = sinka.103
	title = sinka.103.t
	desc = sinka.103.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.103.a
		set_country_flag = zth_resp_put_kompromissa_flag
		complete_national_focus = zth_narodnoe_primirenie
		unlock_national_focus = zth_sudebnye_protsessy_nad_rasistami
		set_country_flag = zth_resp_rasisty_v_parlamente_flag
		add_popularity = {
			ideology = fascism
			popularity = 0.12
		}
		add_stability = -0.07
		add_timed_idea = {
			idea = zth_narodnoe_nedovolstvo_denuff
			days = 120
		}
	}	
}

####  эвент если мы выбрали поиск компромисса и парлмамент прислушивается ко всяким консервативным ребятам и соглашается провести референдума Нужны ли дикари в городах. Тут рандом на то, как проголосукт народ. Но в этом эвенте с 90 процентов побеждают ДЕМОКРАТЫЫЫЫ.
country_event = {
	id = sinka.104
	title = sinka.104.t
	desc = sinka.104.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.104.a
		random_list = {
			10 = {
				country_event = { id = sinka.101 }
			}
			90 = {
				country_event = { id = sinka.103 }
			}
		}
	}	
}

####  эвент Чунге. Наша колния синька как то умудрилась выкупить более 50 % акций и теперь самовыкупила себя. ээээ, а чо так можно было чтоле?
country_event = {
	id = sinka.105
	title = sinka.105.t
	desc = sinka.105.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.105.a		
		ZMN = {
			set_autonomy = {
				target = ZTH
				autonomy_state = autonomy_free
			}
		}
		ZTH = {
			country_event = { id = sinka.106 }
		}
	}	
}

####  эвент Синьке. наш совет смог обеспечить покупку своей независимости у чунги. теперь мы свободны и лишние денежки можно из фонда забрать. +новость 61
country_event = {
	id = sinka.106
	title = sinka.106.t
	desc = sinka.106.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.106.a
		ai_chance = {
			base = 1			
		}
		drop_cosmetic_tag = yes
		effect_tooltip = {
			ZMN = {
				set_autonomy = {
					target = ZTH
					autonomy_state = autonomy_free
				}
			}
		}
		country_event = { id = sinka.1 }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.61 }
		}
	}
	option = {
		name = sinka.106.b
		trigger = {
			is_in_faction = yes
		}
		ai_chance = {
			base = 250			
		}
		drop_cosmetic_tag = yes
		leave_faction = yes
		effect_tooltip = {
			ZMN = {
				set_autonomy = {
					target = ZTH
					autonomy_state = autonomy_free
				}
			}
		}
		country_event = { id = sinka.1 }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.61 }
		}
	}
}

####  эвент Синьке. нам удалось выкупить 5% акций у чунги. Ура товарищи!
country_event = {
	id = sinka.107
	title = sinka.107.t
	desc = sinka.107.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.107.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { zth_aktsii_u_chungo_var = -5 }
		add_to_variable = { zth_aktsii_u_korporatii_var = 5 }
		clamp_variable = {
			var = zth_aktsii_u_chungo_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = zth_aktsii_u_korporatii_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент Синьке. нам НЕ удалось выкупить акции у чунги. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.108
	title = sinka.108.t
	desc = sinka.108.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.108.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}


####  эвент Синьке. корпорация вкладывает денежку в фонд чтобы выкупить свою независимость. Про это прознали сотрудники и чото завозмущались (минус немного стабки)
country_event = {
	id = sinka.109
	title = sinka.109.t
	desc = sinka.109.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.109.a
		add_stability = -0.01
	}	
}

####  эвент чунге. нам удалось выкупить 5 акций у корпорациии. Ну они и лопухи, как их не берегли мы всё равно смогли их достать. ахахахахаха
country_event = {
	id = sinka.110
	title = sinka.110.t
	desc = sinka.110.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.110.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { ZTH.zth_aktsii_u_chungo_var = 5 }
		add_to_variable = { ZTH.zth_aktsii_u_korporatii_var = -5 }
		clamp_variable = {
			var = ZTH.zth_aktsii_u_chungo_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = ZTH.zth_aktsii_u_korporatii_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент чунге. нам НЕ удалось выкупить акции у корпорации. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.111
	title = sinka.111.t
	desc = sinka.111.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.111.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}

####  эвент синьке. нам удалось выкупить 5 акций у Ву. это было не просто
country_event = {
	id = sinka.112
	title = sinka.112.t
	desc = sinka.112.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.112.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { zth_aktsii_u_vu_var = -5 }
		add_to_variable = { zth_aktsii_u_korporatii_var = 5 }
		clamp_variable = {
			var = zth_aktsii_u_vu_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = zth_aktsii_u_korporatii_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент Синьке. нам НЕ удалось выкупить акции у Ву. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.113
	title = sinka.113.t
	desc = sinka.113.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.113.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}

####  эвент чунге. нам удалось выкупить 5 акций у Ву. это было не просто
country_event = {
	id = sinka.114
	title = sinka.114.t
	desc = sinka.114.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.114.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { ZTH.zth_aktsii_u_vu_var = -5 }
		add_to_variable = { ZTH.zth_aktsii_u_chungo_var = 5 }
		clamp_variable = {
			var = ZTH.zth_aktsii_u_vu_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = ZTH.zth_aktsii_u_chungo_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент чунге. нам НЕ удалось выкупить акции у Ву. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.115
	title = sinka.115.t
	desc = sinka.115.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.115.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}

####  эвент чунге. мы владеем 95% акций и кушоем синтку под своё управление. Прощай корпорация
country_event = {
	id = sinka.116
	title = sinka.116.t
	desc = sinka.116.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.116.a
		ZTH = {
			country_event = { id = sinka.117 }
		}
		effect_tooltip = {
			annex_country = { target = ZTH }
		}
		#### НАПОЛНИТЬ!	
	}	
}

####  эвент Синьке. ГГ нас кушоют чунго
country_event = {
	id = sinka.117
	title = sinka.117.t
	desc = sinka.117.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.117.a
		custom_effect_tooltip = GAME_OVER_TT
		ZMN = {
			annex_country = { target = ZTH }
		}		
	}	
}

####  эвент Ву. мы завладели 55% акциями и теперь мы новый хозяин синьки. И мы прикрываем эту лавочку с акциями. СИнька теперь только наща!!!
country_event = {
	id = sinka.118
	title = sinka.118.t
	desc = sinka.118.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.118.a
		ZTH = {
			country_event = { id = sinka.119 }
		}
		effect_tooltip = {
			puppet = ZTH
		}		
	}	
}

####  эвент Синьке. ГГ, мы под ву
country_event = {
	id = sinka.119
	title = sinka.119.t
	desc = sinka.119.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.119.a
		XNU = {
			puppet = ZTH
		}		
	}	
}

####  эвент ВУ. нам удалось выкупить 5 акций у корпорациии. Ну они и лопухи, как их не берегли мы всё равно смогли их достать. ахахахахаха
country_event = {
	id = sinka.120
	title = sinka.120.t
	desc = sinka.120.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.120.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { ZTH.zth_aktsii_u_vu_var = 5 }
		add_to_variable = { ZTH.zth_aktsii_u_korporatii_var = -5 }
		clamp_variable = {
			var = ZTH.zth_aktsii_u_vu_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = ZTH.zth_aktsii_u_korporatii_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент ВУ. нам НЕ удалось выкупить акции у корпорации. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.121
	title = sinka.121.t
	desc = sinka.121.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.121.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}

####  эвент ВУ. нам удалось выкупить 5 акций у ЧЖУНГО. Ну они и лопухи, как их не берегли мы всё равно смогли их достать. ахахахахаха
country_event = {
	id = sinka.122
	title = sinka.122.t
	desc = sinka.122.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.122.a
		custom_effect_tooltip = sinka_5_aktsii_tt
		add_to_variable = { ZTH.zth_aktsii_u_vu_var = 5 }
		add_to_variable = { ZTH.zth_aktsii_u_chungo_var = -5 }
		clamp_variable = {
			var = ZTH.zth_aktsii_u_vu_var
			min = 0
			max = 100
		}
		clamp_variable = {
			var = ZTH.zth_aktsii_u_chungo_var
			min = 0
			max = 100
		}		
	}	
}

####  эвент ВУ. нам НЕ удалось выкупить акции у ЧЖУНГО. Ну хоть деньги в фонд вернулись
country_event = {
	id = sinka.123
	title = sinka.123.t
	desc = sinka.123.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.123.a
		custom_effect_tooltip = sinka_oni_okazalis_hitree_tt
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag	# стоимость акций 5000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_5000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 5000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag	# стоимость акций 4000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_4000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 4000 } 
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_3000_flag	# стоимость акций 3000 за 5 %
			}
			custom_effect_tooltip = zth_vozvrashaem_3000_iz_fonda_tt
			add_to_variable = { zth_denejki_var = 3000 } 
		}
	}	
}

####  эвент синьке. Сотрудники негодуют что акции нашей корпорации скачут то вверх то вниз. теряем стабку
country_event = {
	id = sinka.124
	title = sinka.124.t
	desc = sinka.124.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.124.a
		add_stability = -0.01	
	}	
}

####  эвент синьке. Чунудийский инцидент
country_event = {
	id = sinka.125
	title = sinka.125.t
	desc = sinka.125.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.125.a
		add_stability = -0.01	
		if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_5000_flag
			}
			clr_global_flag = zth_stoimost_aktsiy_5000_flag
			clr_global_flag = zth_stoimost_aktsiy_3000_flag
			set_global_flag = zth_stoimost_aktsiy_4000_flag
		}
		else_if = {
			limit = {
				has_global_flag = zth_stoimost_aktsiy_4000_flag
			}
			clr_global_flag = zth_stoimost_aktsiy_4000_flag
			clr_global_flag = zth_stoimost_aktsiy_5000_flag
			set_global_flag = zth_stoimost_aktsiy_3000_flag
		}
		else = {
			clr_global_flag = zth_stoimost_aktsiy_5000_flag
			clr_global_flag = zth_stoimost_aktsiy_4000_flag
			set_global_flag = zth_stoimost_aktsiy_3000_flag
		}
		country_event = { id = sinka.126 }
	}	
}

####  эвент чунге. в синьке произошёл Чунудийский инцидент
country_event = {
	id = sinka.126
	title = sinka.126.t
	desc = sinka.126.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.126.a
		add_stability = -0.01	
	}	
}

####  эвент соседней стране с корпорацией синька (которая ещё под чунго). Целевая страна - племя (дакоты всякие, нумуну). Кароч синька решила втихаря от своих хозяев из чунго больше торговать с нами. Нам это по душе, у нас в стране особо ничего своего то и нет. Конечно они ищут в нас рынок сбыта своим товарам и мы рискуем стать зависимыми от них, но в данный момент это было бы нам неплохим бустом в развитии - их всякие станки и прочие индустриальные приколюхи явно нам пригодятся. (если согласимся - получаем временный буст на всякие стройки и всё такое)
country_event = {
	id = sinka.127
	title = sinka.127.t
	desc = sinka.127.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.127.a
		ai_chance = {
			factor = 10				
		}
		add_timed_idea = {
			idea = zth_sosedu_buff_torgovli
			days = 720
		}
		ZTH = {
			if = {
				limit = {
					ROOT = {
						tag = ZCI
					}
				}
				add_timed_idea = {
					idea = zth_buff_torgovli_sinke_dakota
					days = 720
				}
			}
			if = {
				limit = {
					ROOT = {
						tag = ZNU
					}
				}
				add_timed_idea = {
					idea = zth_buff_torgovli_sinke_numunu
					days = 720
				}
			}
			country_event = { id = sinka.128 }
		}
	}
	option = {
		name = sinka.127.b
		ai_chance = {
			factor = 1
		}
		ZTH = {
			country_event = { id = sinka.129 }
		}
	}	
}

####  эвент Синьке. та страна нейм согласилась на торговлю
country_event = {
	id = sinka.128
	title = sinka.128.t
	desc = sinka.128.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.128.a
		effect_tooltip = {
			if = {
				limit = {
					FROM = {
						tag = ZCI
					}
				}
				add_timed_idea = {
					idea = zth_buff_torgovli_sinke_dakota
					days = 720
				}
			}
			if = {
				limit = {
					FROM = {
						tag = ZNU
					}
				}
				add_timed_idea = {
					idea = zth_buff_torgovli_sinke_numunu
					days = 720
				}
			}
		}
	}	
}

####  эвент Синьке. та страна нейм НЕ согласилась на торговлю
country_event = {
	id = sinka.129
	title = sinka.129.t
	desc = sinka.129.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.129.a
		
	}	
}

####  эвент синьке. наши хозяева из чунги обязали нас отчитаться по Чунудийскому инциденту. И мы особо то не паримся и говорим почти всё как есть - вы нас задолбали в своей метрополии со своими ампираторами и династиями. У нас тут корпорация, слаженная машина, а не сказочные, хз как работающие, империи.
country_event = {
	id = sinka.130
	title = sinka.130.t
	desc = sinka.130.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.130.a
		add_stability = 0.02
		add_opinion_modifier = {
			target = ZMN
			modifier = trebovania
		}		
		ZMN = {
			country_event = { id = sinka.131 }
		}
	}	
}

####  эвент чунго. Мы получили вот этот вот отчёт. Ну шо тут сказати. Да они ошалели.
country_event = {
	id = sinka.131
	title = sinka.131.t
	desc = sinka.131.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.131.a
		add_stability = -0.03	
		add_opinion_modifier = {
			target = ZTH
			modifier = trebovania
		}
	}	
}

####  эвент синьке. у власти расисты. Их лидер-нейм залечивает офигительную историю по радио о том что хватит уже сидеть за стенами городов. ПОра начинать отгонять от этих стен всяких дикарей. Гнать их дальше на восток а освободившиеся земли начать обживать нормальным людям. Кароч предпосылки к завоевательным походам на восток
country_event = {
	id = sinka.132
	title = sinka.132.t
	desc = sinka.132.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.132.a
		add_war_support = 0.02
		add_political_power = 30	
		add_popularity = {
			ideology = fascism
			popularity = 0.07
		}	
		add_named_threat = { threat = 6 name = sinka.132.threattt }
	}	
}

####  эвент эженьским дикарям, которые сидят марионеткой под синькой. А в синьке пришли к власти расисты и говорят - здовайтесь! Если согласимся- они нас аннексируют, Если откажемся - нам война
country_event = {
	id = sinka.133
	title = sinka.133.t
	desc = sinka.133.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.133.a
		ai_chance = {
			factor = 90
		}	
		custom_effect_tooltip = GAME_OVER_TT
		ZTH = {
			country_event = { id = sinka.134 }
		}
	}
	option = {
		name = sinka.133.b
		ai_chance = {
			factor = 2
			modifier = {
				factor = 200
				ZTH = {
					is_ai = no
				}
			}
		}	
		ZTH = {
			country_event = { id = sinka.135 }
		}
	}
}


####  эвент синьке. дикари на востоке, эти всякие еженьцы, которые наша марионетка, приняли наш ультиматум. Теперь их земли это синька. +новость 62
country_event = {
	id = sinka.134
	title = sinka.134.t
	desc = sinka.134.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.134.a
		annex_country = { target = ZHE }
		add_named_threat = { threat = 4 name = sinka.134.threattt }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.62 }
		}
	}	
}


####  эвент синьке. дикари на востоке, эти всякие еженьцы, послали нас нафиг. Мы идём наводить там порядок войной.
country_event = {
	id = sinka.135
	title = sinka.135.t
	desc = sinka.135.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.135.a
		set_autonomy = { target = ZHE autonomy_state = autonomy_free }
		hidden_effect = {
			ZHE = {			
				leave_faction = yes
				drop_cosmetic_tag = yes	
				retire_country_leader = yes
			}
		}
		every_state = {
			limit = {
				is_owned_by = ZHE
			}
			add_claim_by = ROOT
		}
		declare_war_on = {
			type = annex_everything
			target = ZHE
		}
	}	
}

####  эвент синьке. почти сразу после того как мы отпали от чунго и если там идёт гражданская война! К нам начали прибывать беженцы оттуда. Мы рады новым сотрудникам. Получаем временный буст на население
country_event = {
	id = sinka.136
	title = sinka.136.t
	desc = sinka.136.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject = no
		ZMN = {
			has_civil_war = yes
		}
	}
	option = {
		name = sinka.136.a
		random_owned_controlled_state = {
			add_manpower = 1274
		}
		random_owned_controlled_state = {
			add_manpower = 1742
		}
		random_owned_controlled_state = {
			add_manpower = 1359
		}
		add_timed_idea = {
			idea = zth_bejentsi_s_jungi
			days = 365
		}
	}	
}

####  эвент синьке что под властью расистов. Их лидер-нейм в очередной раз обращается к настоящим людям страны и говорит что пора бы нам ещё сильнее пододвинуть  границы на восток. Мы получаем нацдух на всякие военные штуки. Страна говотится к войне. Некоторые говорят что мы намерены двигаться аж до другого конца фолькунгии
country_event = {
	id = sinka.137
	title = sinka.137.t
	desc = sinka.137.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.137.a
		add_ideas = zth_rasisty_podgotovka_k_voine
	}	
}

####  рандомный эвент синьке что под властью расистов. в рандомном стейте нейм вспыхнуло восстание всяких дикарей. Их пришлось ну того самого этого, да. Минус манпауэр там. тысячи две примерно, может больше.
country_event = {
	id = sinka.138
	title = sinka.138.t
	desc = sinka.138.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = fascism
	}	
	option = {
		name = sinka.138.a
		add_stability = -0.05
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1
				NOT = {
					is_core_of = ZTH
				}	
				state_population  > 7000
			}
			random_list = {
				25 = {
					add_manpower = -6571	
				}
				25 = {
					add_manpower = -5471	
				}
				25 = {
					add_manpower = -3674	
				}
				25 = {
					add_manpower = -2415	
				}
			}
			damage_building = { type = industrial_complex damage = 0.7 }
		}
	}	
}

####  эвент Бейстской республике Чжунго. к нам прибыла делегация из синьки (республика, демы). Они говорят - нада дружить. Мы ж все молодцы и бейсты и всё такое. Пора забыть старые обиды. +отношения
country_event = {
	id = sinka.139
	title = sinka.139.t
	desc = sinka.139.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.139.a
		add_opinion_modifier = {
			target = ZTH
			modifier = drujestvennaya_ritorika_20
		}
	}	
}

####  эвент Корее. к нам прибыла делегация из синьки (республика, демы). Они говорят - нада дружить. Типа лига это зашибись, чёткая такая, мировой жандарм и всё такое
country_event = {
	id = sinka.140
	title = sinka.140.t
	desc = sinka.140.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.140.a
		add_opinion_modifier = {
			target = ZTH
			modifier = drujestvennaya_ritorika_20
		}
	}	
}

####  эвент омни синьке о том что после принятия декрета о равенстве всё больше народа из пустошей хлынуло в города. В городах по прежнему не все этому довольны. Но мы с этим боремся. Минус стабка
country_event = {
	id = sinka.141
	title = sinka.141.t
	desc = sinka.141.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}	
	option = {
		name = sinka.141.a
		add_stability = -0.03
		add_war_support = -0.05
		hidden_effect = {
			country_event = { id = sinka.142 days = 65 random = 12 }
		}
	}	
}

####  эвент омни синьке. В продолжение предыдущему эвенту. Из-за того что в города,в поисках хорошей жизни, куча народа притащилась многие фермы за стенами оказались заброщены. А это привело к очередному витку продовольственного кризиса. Кушоть нечего. надо думать что делать (долговременный нацдух на прод кризис)
country_event = {
	id = sinka.142
	title = sinka.142.t
	desc = sinka.142.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
	}	
	option = {
		name = sinka.142.a
		add_stability = -0.05
		add_war_support = -0.05
		add_timed_idea = {
			idea = zth_resp_omniki_prod_krizis_snova
			days = 750
		}
		hidden_effect = {
			country_event = { id = sinka.144 days = 30 random = 6 }
		}
	}	
}

####  эвент соседней с омни-синькой стране, в кторой омнипаризма то нет. Эвент о том что у нас тоже омники популярность набирают, посмотрели на синьку и воодушевились прогрессивными идеями
country_event = {
	id = sinka.143
	title = sinka.143.t
	desc = sinka.143.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.143.a
		add_stability = -0.05		
		add_popularity = {
			ideology = communism
			popularity = 0.07
		}
	}	
}

####  эвент омни синьке. Из-за того что в города,в поисках хорошей жизни, куча народа притащилась многие фермы за стенами оказались заброщены. А это привело к очередному витку продовольственного кризиса. Кушоть нечего. Вот анши варианты - закупить хавку у стяных капиталюг (убираем временный дебафф онехватки продовольствия, получаем временный дух на закупку продовольствия у бейиситов, а это минус прирост ПП, так же теряем стабку и поддержку омников), вложиться в производство тракторов (убираем временный дебафф от нехватки продовольствия но плучаем другой временный дебафф, вложение в моторизацию сельского хоз-ва, он более мягкий), или действовать обдуманно (считай ничего не делать) этот вариатн просто немного снизит время длительности дебаффа от нехватки продовольствия
country_event = {
	id = sinka.144
	title = sinka.144.t
	desc = sinka.144.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		has_government = communism
		has_idea = zth_resp_omniki_prod_krizis_snova
	}	
	option = {
		name = sinka.144.a
		ai_chance = {
			factor = 7				
		}
		remove_ideas = zth_resp_omniki_prod_krizis_snova
		add_stability = -0.07
		add_popularity = {
			ideology = communism
			popularity = -0.03
		}
		add_timed_idea = {
			idea = zth_resp_omniki_zakupka_prodovolstviya_u_kipitalug
			days = 650
		}
	}
	option = {
		name = sinka.144.b
		ai_chance = {
			factor = 7				
		}
		remove_ideas = zth_resp_omniki_prod_krizis_snova
		add_stability = 0.03
		add_timed_idea = {
			idea = zth_resp_omniki_borba_s_prod_krizisom
			days = 650
		}
	}	
	option = {
		name = sinka.144.c
		ai_chance = {
			factor = 2				
		}
		modify_timed_idea = {
			idea = zth_resp_omniki_prod_krizis_snova
			days = -150
		}
		add_political_power = 120
	}
}

####  эвент чунге. наша колония синьтка проводит всякие ндустриализации на наш всчёт. дороговато они нам обходятся (теряем 1 стабку)
country_event = {
	id = sinka.145
	title = sinka.145.t
	desc = sinka.145.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.145.a
		add_stability = -0.01			
	}	
}

####  эвент соседней с синькой стране о том что тамашняя корпорация что-то как то смотрит на нас странно
country_event = {
	id = sinka.146
	title = sinka.146.t
	desc = sinka.146.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.146.a			
	}	
}

####  эвент соседней с синькой стране о том что тамашняя корпорация хочет заключит с нами договор_нейм, типа будет торговля и всё такое. а они у нас что-то откроют, сой какой-то филиал (да или нет)
country_event = {
	id = sinka.147
	title = sinka.147.t
	desc = sinka.147.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.147.a
		ai_chance = {
			factor = 20
			modifier = {
				factor = 1.5
				has_opinion = {
					target = ZTH
					value > 40
				}
			}
		}
		add_political_power = 25		
		set_variable = { zth_dolya_v_ekonomike_var = 5 }	# переменная
		zth_probros_modifikatorov_ot_korporatii = yes		#  проброс модификаторов 
		add_ideas = zth_sotrudnichestvo_s_korporatami
		hidden_effect = { #NATIONAL SPIRIT
			add_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier }
		}
		ZTH = {
			country_event = { id = sinka.148 }
		}
		if = {
			limit = {
				has_idea = zth_posledstviya_rastorjeniya_dogovora
			}
			remove_ideas = zth_posledstviya_rastorjeniya_dogovora
		}
	}
	option = {
		name = sinka.147.b
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 2
				has_opinion = {
					target = ZTH
					value < 10
				}
			}
			modifier = {
				factor = 10
				has_opinion = {
					target = ZTH
					value < -30
				}
			}
		}
		ZTH = {
			country_event = { id = sinka.149 }
		}
	}	
}


####  эвент синьке, нам удалосб заключить договор_нейм со страна_нейм, погнали!
country_event = {
	id = sinka.148
	title = sinka.148.t
	desc = sinka.148.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.148.a			
	}	
}

####  эвент синьке, нам НЕ удалосб заключить договор_нейм со страна_нейм, жаль, так сказать!
country_event = {
	id = sinka.149
	title = sinka.149.t
	desc = sinka.149.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.149.a			
	}	
}

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

####  эвент Стране_нейм, доля синьки в нашей экономике увеличилась! (от 2 до 7%) хорошо ли, плохо ли....
country_event = {
	id = sinka.151
	title = sinka.151.t
	desc = sinka.151.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.151.a	
		add_political_power = 10	
	}	
}

####  эвент Стране_нейм, эта ваша корпорация хочет построить у нас дороги. За свой счёт. Звучит заманчиво, но это грозит тем что они увеличат свою долю в нашей экономике за счёт владения своими дорогами у нас. Да чо, да или нет?
country_event = {
	id = sinka.152
	title = sinka.152.t
	desc = sinka.152.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.152.a
		ai_chance = {
			factor = 20				
		}	
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
				}						
				is_in_home_area = yes						
			}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		hidden_effect = {
			random_list = {					
				30 = {				
					add_to_variable = { zth_dolya_v_ekonomike_var = 7 }					
				}
				30 = {				
					add_to_variable = { zth_dolya_v_ekonomike_var = 8 }					
				}
				30 = {				
					add_to_variable = { zth_dolya_v_ekonomike_var = 9 }					
				}
			}
			zth_probros_modifikatorov_ot_korporatii = yes
		}
		ZTH = {
			country_event = { days = 2 id = sinka.153 }
		}		
	}	
	option = {
		name = sinka.152.b	
		ai_chance = {
			factor = 1				
		}
		ZTH = {
			country_event = { days = 2 id = sinka.154 }
		}
	}
}

####  эвент Синьке, они согласились чтобы мы построили наши дороги у них. атлишна, мы увеличили свой процент от 5 до 7
country_event = {
	id = sinka.153
	title = sinka.153.t
	desc = sinka.153.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.153.a	
		custom_effect_tooltip = zth_nas_prirost_v_ih_ekonomike_uvelichilsya_tt
	}	
}

####  эвент Синьке, эта страна нейм отказалась чтобы мы помогли им с дорогами. дикари, что с них взять...
country_event = {
	id = sinka.154
	title = sinka.154.t
	desc = sinka.154.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.154.a			
	}	
}

####  эвент Стране_нейм, доля синьки в нашей экономике увеличилась! они начали формировать какие-то крупные свои монополии. с каждым днём нам сложнее и сложнее противостоять им
country_event = {
	id = sinka.155
	title = sinka.155.t
	desc = sinka.155.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.155.a	
		add_stability = -0.01	
	}	
}

####  эвент Стране_нейм, корпорация внезапно перехватила упавление в нашей стране.  эээ, как им это удалось? а ведь говорили нам - не давайте им много экономики нашей!
country_event = {
	id = sinka.156
	title = sinka.156.t
	desc = sinka.156.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.156.a	
		ZTH = {
			puppet = ROOT
		}
		retire_country_leader = yes
		if = {
			limit = {
				ZTH = {
					has_government = democratic
				}
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
			set_politics = {
				ruling_party = democratic
			}
#			set_country_leader_ideology = corporatocracy
		}
		if = {
			limit = {
				ZTH = {
					has_government = fascism
				}
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.5
			}
			set_politics = {
				ruling_party = fascism
			}			
		}		
		remove_ideas = zth_sotrudnichestvo_s_korporatami
		zth_smena_tega_marionetke_effect = yes	
		hidden_effect = {
			remove_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier } 
			set_variable = { zth_dolya_v_ekonomike_var = 0 }	# переменная доли экономики у корпорации синька
			zth_probros_modifikatorov_ot_korporatii = yes
			ZTH = {
				country_event = { id = sinka.157 }
			}
		}	
	}	
}

####  эвент корпорации. Нам удалось перехватить управление страной_нейм. теперь они большой филиал нашей корпорации.
country_event = {
	id = sinka.157
	title = sinka.157.t
	desc = sinka.157.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.157.a	
		effect_tooltip = {
			puppet = FROM
		}
	}	
}

####  эвент целевой стране-нейм. Нашей службе безопасности удалось пресечь госпереворот! его хотели совершить люди, связанные с корпорацией синька. Мы их арестовали но синька отрицает свою причастность к этому. Что нам делать? 1 вариант - надо быть осторожнее - мы восстановим 20% конроля экономике и потеряем ПП и стабку, второй вариант - выгнать эту корпорацию! Мы потеряем дух на взаимодействие с синькой и получим сильный штраф, ооочень сильный дебафф, ну и ухудшение отношений с синькой на годик другой
country_event = {
	id = sinka.158
	title = sinka.158.t
	desc = sinka.158.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.158.a	
		ai_chance = {
			factor = 3				
		}
		custom_effect_tooltip = sinka.158.a.tt
		subtract_from_variable = { zth_dolya_v_ekonomike_var = 20 }
		zth_probros_modifikatorov_ot_korporatii = yes
		add_opinion_modifier = {
			target = ZTH
			modifier = opin_podozrit_deyatelnost_timer
		}		
		hidden_effect = {
			ZTH = {
				country_event = { id = sinka.159 }
			}
		}
	}
	option = {
		name = sinka.158.a	
		ai_chance = {
			factor = 1				
		}
		remove_ideas = zth_sotrudnichestvo_s_korporatami		
		hidden_effect = {
			remove_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier } 
			set_variable = { zth_dolya_v_ekonomike_var = 0 }	# переменная доли экономики у корпорации синька
			zth_probros_modifikatorov_ot_korporatii = yes
		}
		add_political_power = -150
		add_stability = -0.15
		add_war_support = -0.15
		add_timed_idea = {
			idea = zth_posledstviya_rastorjeniya_dogovora
			days = 150
		}
		add_opinion_modifier = {
			target = ZTH
			modifier = opin_vneshat_korpor_timer
		}
		ZTH = {
			country_event = { id = sinka.160 }
		}
	}
}

####  эвент корпорации. совершить переворот в страна_нейм нам не удалось. Они походу что-то поняли и смогли всё предотвратить. И они нас подозревают, хотя ничего доказать не могут (мыж подсуетились). мы теряем 20% контроля их экономики и портим отношения на 10 месяцев
country_event = {
	id = sinka.159
	title = sinka.159.t
	desc = sinka.159.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.159.a
		custom_effect_tooltip = sinka.159.a.tt 	
		effect_tooltip = {
			FROM = {
				add_opinion_modifier = {
					target = ZTH
					modifier = opin_podozrit_deyatelnost_timer
				}
			}
		}
	}	
}

####  эвент корпорации. совершить переворот в страна_нейм нам не удалось. Они походу что-то поняли и смогли всё предотвратить. И теперь они решили выгнать нашу корпорацию из своей страны, и хотя это ещё посмотрим, суды у нас тоже есть свои корпоративистсикие, но в любом случае разговор расторгнут и мы не имеем контроль над их экономикой
country_event = {
	id = sinka.160
	title = sinka.160.t
	desc = sinka.160.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.160.a
		custom_effect_tooltip = sinka.160.a.tt 	
		effect_tooltip = {
			FROM = {
				remove_ideas = zth_sotrudnichestvo_s_korporatami	
				add_opinion_modifier = {
					target = ZTH
					modifier = opin_vneshat_korpor_timer
				}
			}
		}
	}	
}

####  эвент целевой стране. кажется у нас какая то революция. 
country_event = {
	id = sinka.161
	title = sinka.161.t
	desc = sinka.161.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.161.a	# принять новую власть
		ai_chance = {
			factor = 2				
		}
		ZTH = {
			puppet = ROOT
		}
		retire_country_leader = yes
		if = {
			limit = {
				ZTH = {
					has_government = democratic
				}
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
			set_politics = {
				ruling_party = democratic
			}	
#			set_country_leader_ideology = corporatocracy	
		}
		if = {
			limit = {
				ZTH = {
					has_government = fascism
				}
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.5
			}
			set_politics = {
				ruling_party = fascism
			}			
		}		
		remove_ideas = zth_sotrudnichestvo_s_korporatami	
		zth_smena_tega_marionetke_effect = yes	
		hidden_effect = {
			remove_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier } 
			set_variable = { zth_dolya_v_ekonomike_var = 0 }	# переменная доли экономики у корпорации синька
			zth_probros_modifikatorov_ot_korporatii = yes
			ZTH = {
				country_event = { id = sinka.157 }
			}
		}
	}
	option = {
		name = sinka.161.b	# сопротивляться
		trigger = {
			num_of_controlled_states > 1
		}
		ai_chance = {
			factor = 1				
		}
		if = {
			limit = {
				has_government = democratic
			}
			start_civil_war = {
				ideology = neutrality
				size = 0.25				
			}			
			hidden_effect = {
				every_other_country = {
					limit = { 
						original_tag = ROOT
						has_government = neutrality
					}				
					country_event = { id = sinka.162 }	
				}
			}
		}
		else = {			
			start_civil_war = {
				ideology = democratic
				size = 0.25				
			}			
			hidden_effect = {
				every_other_country = {
					limit = { 
						original_tag = ROOT
						has_government = democratic
					}				
					country_event = { id = sinka.162 }	
				}
			}
		}
		#		
		add_stability = -0.05
		add_war_support = 0.05
		remove_ideas = zth_sotrudnichestvo_s_korporatami	
		add_opinion_modifier = {
			target = ZTH
			modifier = opin_vneshat_korpor_timer
		}
		add_opinion_modifier = {
			target = ZTH
			modifier = obman_50
		}
		hidden_effect = {
			remove_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier } 
			set_variable = { zth_dolya_v_ekonomike_var = 0 }	# переменная доли экономики у корпорации синька
			zth_probros_modifikatorov_ot_korporatii = yes			
		}		
	}	
}

####  эвент Восставшей динамической стране. Скорее всего чисто на ИИ
country_event = {
	id = sinka.162
	title = sinka.162.t
	desc = sinka.162.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.162.a
		add_stability = -0.05
		add_war_support = 0.05
		ZTH = {
			puppet = ROOT
		}		
		retire_country_leader = yes
		remove_ideas = zth_sotrudnichestvo_s_korporatami
		add_ai_strategy = {
			type = befriend
			id = ZTH
			value = 70
		}
		zth_smena_tega_marionetke_effect = yes	
		hidden_effect = {
			remove_dynamic_modifier = { modifier = zth_sotrudnichestvo_s_korp_dynamic_modifier } 
			set_variable = { zth_dolya_v_ekonomike_var = 0 }	# переменная доли экономики у корпорации синька
			zth_probros_modifikatorov_ot_korporatii = yes
			ZTH = {
				country_event = { id = sinka.163 }
			}
		}
		if = {
			limit = {
				ZTH = {
					has_completed_focus = zth_korpor_novye_polnomochiya_otdela_ohrany
				}				
			}
			division_template = {
				name = "Security Team"				
				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 = \"Security Team\" start_experience_factor = 0.2"
					owner = ROOT
				}
			}
			random_owned_state = {			
				create_unit = {
					division = "division_template = \"Security Team\" start_experience_factor = 0.2"
					owner = ROOT
				}
			}
		}					
	}	
}

####  эвент корпорации. Нам удалось поднять мятеж в страна-нейм . гражданочка там
country_event = {
	id = sinka.163
	title = sinka.163.t
	desc = sinka.163.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.163.a	
		ai_chance = {
			factor = 10				
		}
		effect_tooltip = {
			puppet = FROM
		}
		custom_effect_tooltip = sinka.163.a.tt 	
		add_named_threat = { threat = 3 name = sinka.163.threat }
		hidden_effect = {
			FROM = {
				country_event = { id = sinka.196 }
			}
			add_ai_strategy = {
				type = protect
				id = FROM
				value = 100
			}
			add_ai_strategy = {
				type = befriend
				id = FROM
				value = 100
			}
		}
	}
	option = {
		name = sinka.163.b	
		ai_chance = {
			factor = 1				
		}
		effect_tooltip = {
			puppet = FROM
		}
		hidden_effect = {
			add_ai_strategy = {
				type = protect
				id = FROM
				value = 100
			}
			add_ai_strategy = {
				type = befriend
				id = FROM
				value = 100
			}
		}
	}
}

####  эвент корпорации. у нас некоторые не особо преданные сотрудники чего-то опять бугуртят что у нас какая то тирания. Вот дурачки, у нас тут свободная страна, что хочешь - то и делай. Ну ладно, лишим их на месяцок - другой премии, может поймут. Теряем стабку
country_event = {
	id = sinka.164
	title = sinka.164.t
	desc = sinka.164.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.164.a	
		add_stability = -0.11
	}	
}

####  эвент ещё марионеточной Синьке, ещё перед тем как мы определились с путём относительно метрополии-Чжунго. Краткое описание того что в стране много челиков из высшей аристократии готовых сделать многое чтобы отколоться от чунги. получаем ПП
country_event = {
	id = sinka.165
	title = sinka.165.t
	desc = sinka.165.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.165.a	
		add_political_power = 50
	}	
}

####  эвент корпорации. сообщается что у нас какой-то рост преступности. наша частная полиция не справляется оаооаоа. теряем стабку
country_event = {
	id = sinka.166
	title = sinka.166.t
	desc = sinka.166.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.166.a	
		add_stability = -0.10
	}	
}

####  эвент корпорации. на одной из наших лабораторий, где занимались изучением всяких радиокативных штук, произошла утечка. Немного радиактивным материалов разлетелось по округе и назарожало людей. Ну что поделать, всякое бывает. Мы выплатим им компенсации а этих горе ученых лишим премии в этом месяце, а то и оштрафуем даже!
country_event = {
	id = sinka.167
	title = sinka.167.t
	desc = sinka.167.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.167.a	
		add_stability = -0.10
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			add_manpower = -873	
		}
		hidden_effect = {
			add_to_variable = { global.jertvy_voin = 873 }	#хе-хе
		}
	}	
}

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

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

####  рандомный эвент синьке если та пошла по пути корпорации. Где то на 1991-1992 год. Мол наши сотрудники говорят об излишней милитаризации страны и дескать есди нам не содержать такую огромную армию то будет лучше для экономики корпорации. Мы можем согласиться и получим нацдух снижающий призыв но увеличивающий производственные штуки или же игнорировать всё и получить минус к стабке.
country_event = {
	id = sinka.170
	title = sinka.170.t
	desc = sinka.170.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.170.a
		ai_chance = {
			factor = 10				
		}		
		add_ideas = zth_korp_snijen_priziv
		add_stability = 0.05
	}	
	option = {
		name = sinka.170.b	
		ai_chance = {
			factor = 1				
		}
		add_stability = -0.15
	}
}

####  эвент  синьке. мы, корпорация, выступаем с решительным осуждением омнипаризма. Нам оно ненадо, эти ваши профсоюзы и всё такое, омнипаризм это плохо и людоедство.  ухудшается мнение всех омников мира к нам +новость 67
country_event = {
	id = sinka.171
	title = sinka.171.t
	desc = sinka.171.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.171.a	
		every_other_country = {
			limit = {
				has_government = communism				
			}
			add_opinion_modifier = {
				target = ZTH
				modifier = agressssor
			}				
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.67 }
			country_event = { days = 5 id = sinka.189 }
		}
	}	
}

####  эвент  стране-омнику из фолькунгии. корпорация синька лезет в наши дела, они вкладывают тонны бабла в дестабилизацию ситуации у нас. получаем временный нацдух с убылью омнипаризма.
country_event = {
	id = sinka.172
	title = sinka.172.t
	desc = sinka.172.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.172.a	
		effect_tooltip = {
			add_timed_idea = {
				idea = zth_korp_vozd_na_omnik
				days = 365
			}	
		}
		hidden_effect = {
			add_ai_strategy = {
				type = antagonize
				id = ZTH
				value = 75
			}
		}
	}	
}

####  эвент  носурандо, тут такое дело, корпорация синька хочет нас купить. вот так поворот... они заплатят нам кучу денег, помогут построить кучу заводов, научные плюшки дадут и всё такое. Мы станем крутые, но будем их марионеткой. чо как быть?
country_event = {
	id = sinka.173
	title = sinka.173.t
	desc = sinka.173.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.173.a	
		ai_chance = {
			factor = 2	
			modifier = {
				factor = 2
				has_opinion = {
					target = ZTH
					value > 25
				}
			}
			modifier = {
				factor = 3
				threat > 0.7
			}
			modifier = {
				factor = 3
				ZJA = {
					has_government = fascism
				}
			}
		}
		add_stability = -0.05
		add_political_power = 250
		add_timed_idea = {
			idea = zth_korp_nosurand_sotr
			days = 650
		}
		ZTH = {
			puppet = ZKM
			add_timed_idea = {
				idea = zth_korp_zatraty_za_nosurando
				days = 650
			}
			country_event = { id = sinka.174 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.68 }
		}
	}
	option = {
		name = sinka.173.b	
		ai_chance = {
			factor = 2				
		}
		ZTH = {
			country_event = { id = sinka.175 }
		}
	}	
}

####  эвент  копрорации. Мы купили носурандо. они наша марионетка и мы теперь 2 года платим за это  +новость 68
country_event = {
	id = sinka.174
	title = sinka.174.t
	desc = sinka.174.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.174.a	
		effect_tooltip = {
			puppet = ZKM
			add_timed_idea = {
				idea = zth_korp_zatraty_za_nosurando
				days = 650
			}
			ZKM = {
				add_stability = -0.05
				add_timed_idea = {
					idea = zth_korp_nosurand_sotr
					days = 650
				}
			}
		}
	}	
}


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

####  эвент  рандомной стране, корпорация синька предлагает заключить с ними договор. Они нам свой товар - мы им денежки. Получаем временный нацдух, уменьшающий прирост ПП но увеличивающий всякие штуки к производству. Если согласимся конечно.
country_event = {
	id = sinka.176
	title = sinka.176.t
	desc = sinka.176.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.176.a	
		ai_chance = {
			factor = 8	
		}
		add_political_power = 25
		add_timed_idea = {
			idea = zth_korp_aziaysky_sinka
			days = 480
		}
	}
	option = {
		name = sinka.176.b	
		ai_chance = {
			factor = 2				
		}
	}
}

####  эвент  одной из этих стран (новрусь, цезария, атландия), если там не омники у власти. Корпорация синька предлагает им сотрудничество и научный обмен технологиями для успешного противостояния против омников в ФСР. СТоит ли нам согласиться? Мы получим временный буст ко всяким производствам и синька нам разово вышлет пачку вооружения и снаряжения.
country_event = {
	id = sinka.177
	title = sinka.177.t
	desc = sinka.177.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.177.a	
		ai_chance = {
			factor = 8	
		}
		add_war_support = 0.05
		add_timed_idea = {
			idea = zth_korp_podderjka_sosedu_fsr
			days = 360
		}
		ZTH = {
			send_equipment = {
				equipment = infantry_equipment
				amount = 1000
				target = ROOT
			}
			country_event = { id = sinka.178 }
		}
	}
	option = {
		name = sinka.177.b	
		ai_chance = {
			factor = 2				
		}
		ZTH = {
			country_event = { id = sinka.179 }
		}
	}
}

####  эвент  копрорации. [FROM.GetNameDef] принимает нашу помощь в борьбе с желтой угрозой
country_event = {
	id = sinka.178
	title = sinka.178.t
	desc = sinka.178.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.178.a	
		add_war_support = 0.01
	}	
}

####  эвент  копрорации. [FROM.GetNameDef] НЕ принимает нашу помощь в борьбе с желтой угрозой
country_event = {
	id = sinka.179
	title = sinka.179.t
	desc = sinka.179.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.179.a	
		add_war_support = -0.01
	}	
}

####  эвент  копрорации. одной из этих стран (новрусь, цезария, атландия), если там не омники у власти. Корпорация синька предлагает нам загарантить друг друга на всякий случай. стоит ли?
country_event = {
	id = sinka.180
	title = sinka.180.t
	desc = sinka.180.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.180.a	
		ai_chance = {
			factor = 8				
		}
		add_stability = 0.05
		add_war_support = 0.05
		diplomatic_relation = {
			country = ZTH
			relation = guarantee
			active = yes
		}
		ZTH = {
			diplomatic_relation = {
				country = ROOT
				relation = guarantee
				active = yes
			}
			country_event = { id = sinka.181 }
		}
	}
	option = {
		name = sinka.180.b	
		ai_chance = {
			factor = 2				
		}
		add_war_support = -0.02
		ZTH = {
			country_event = { id = sinka.182 }
		}
	}
}

####  эвент  копрорации. [FROM.GetNameDef]  и мы загарантили друг друга
country_event = {
	id = sinka.181
	title = sinka.181.t
	desc = sinka.181.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.181.a	
		add_stability = 0.03
		add_war_support = 0.03
		add_political_power = 50
		effect_tooltip = {
			diplomatic_relation = {
				country = FROM
				relation = guarantee
				active = yes
			}
			FROM = {
				diplomatic_relation = {
					country = ZTH
					relation = guarantee
					active = yes
				}
			}
		}
	}	
}

####  эвент  копрорации. [FROM.GetNameDef] и мы НЕ загарантили друг друга
country_event = {
	id = sinka.182
	title = sinka.182.t
	desc = sinka.182.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.182.a	
		add_war_support = -0.01
	}	
}

####  эвент  рандомный эвент омни-синьке о том что у нас внезапно сгорел один военный завод. вот так дела, надо провести независимое пролетарское расследование.
country_event = {
	id = sinka.183
	title = sinka.183.t
	desc = sinka.183.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.183.a	
		add_war_support = -0.05
		random_owned_controlled_state = {
			limit = {
				arms_factory > 0
			}
			remove_building = {
				type = arms_factory
				level = 1
			}
		}
		hidden_effect = {
			country_event = { days = 20 id = sinka.184 }
		}
	}	
}

####  эвент  для омни-синьки, мы провели расследование того пожара и выяснили что тамошний директор завода проворовался. Он оказываетс толкал налево не только оружие но и обородувание. Ух гадина, не только враг народа но и враг армии. У него было десяток сообщшиков ещё. Рассстрелять! а сообщников посадить (+ прирост омнипаризма)
country_event = {
	id = sinka.184
	title = sinka.184.t
	desc = sinka.184.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.184.a	
		random_owned_controlled_state = {
			add_manpower = -1
		}
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}
		hidden_effect = {
			country_event = { days = 15 id = sinka.185 }
		}
	}	
}

####  эвент  для омни-синьки, после того как мы провели расследование и устранили супостата народ настаивает на том чтобы мы довели дело до конца. дескать не мог один человек и десять сообщников такие дела на заводе воротить. Надо найти и наказать всех остальных. Народ бунтует милорд, надо что-то делать. 
country_event = {
	id = sinka.185
	title = sinka.185.t
	desc = sinka.185.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			add_stability = -0.05
		}
	}
	option = {
		name = sinka.185.a	
		ai_chance = {
			factor = 2				
		}
		hidden_effect = {
			country_event = { days = 18 id = sinka.186 }
		}
	}
	option = {
		name = sinka.185.b	
		ai_chance = {
			factor = 2				
		}
		add_stability = -0.02
		hidden_effect = {
			country_event = { days = 7 id = sinka.187 }
		}
	}	
}

####  эвент  для омни-синьки, мы продолжили расследование и арестовали всех кто хоть как то был (или мог быть) причастен с этим делом сгоревшей фабрики. Всем им дали сроки в лагерях. (немного прирост стабки и немного ПП)
country_event = {
	id = sinka.186
	title = sinka.186.t
	desc = sinka.186.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.186.a	
		add_stability = 0.05
		add_political_power = 50
	}	
}

####  эвент  для омни-синьки, мы отказались продолжать расследование. Но люди завозмущались, по итогу имеем парочку поломанных фабрик но милиция всех разогнала по итогу. Ну и дела, кровожадный народ.
country_event = {
	id = sinka.187
	title = sinka.187.t
	desc = sinka.187.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.187.a	
		add_stability = -0.1
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			damage_building = { type = industrial_complex damage = 0.8 }
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			damage_building = { type = industrial_complex damage = 0.85 }
		}
	}	
}

####  Рандомный эвент расистской синьке-фусану о том что в стране опять какие то движухи у унтерменшей, мы их подавили, но стабку то потеряли (а то чото дохера у них стабки по ходу игры)
country_event = {
	id = sinka.188
	title = sinka.188.t
	desc = sinka.188.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.188.a	
		add_stability = -0.08		
	}	
}

####  эвент корпорации синька. После того как мы осужили ужасы омнипаризма, нашим менеджерам пришла в голову гениальная мысль -  а давайте призовём соседние с ФСР страны ввести против ФСР санкции? Мы сами введем и предложим сделать это всяким цезариям и новрусиям атландиям. Санкции (торговые отношения) помогут нам расшатать режим омников в ФСР, а все потери для наших союзных государств мы скомпенсируем за счёт поставок наших товаров по льготным ценам (ура, новые рынки сбыта)
country_event = {
	id = sinka.189
	title = sinka.189.t
	desc = sinka.189.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		ZIK = {
			has_government = communism
			NOT = {
				is_subject_of = ZTH
				is_in_faction_with = ZTH
			}
		}
	}	
	option = {
		name = sinka.189.a	
		ai_chance = {
			factor = 20				
		}
		add_opinion_modifier = {
			target = ZIK
			modifier = sanctions
		}
		every_other_country = {
			limit = { 
				is_neighbor_of = ZIK
				is_subject = no
				NOT = {
					has_government = communism
					is_in_faction_with = ZIK					
					has_war_with = ZIK
					has_war_with = ZTH
				}
			}				
			country_event = { id = sinka.190 }
		}
		ZIK = {
			country_event = { id = sinka.193 }
		}
	}
	option = {
		name = sinka.189.b	
		ai_chance = {
			factor = 2				
		}	
	}
}

####  эвент стране граничащей с ФСР. Нам тут корпорация синька предлагает ввести против ФСР санкции. Они обещают компенсировать наши потери в экономике за счёт своего товара по льготным ценам. С помощью санкций они хотят сломить режим омнипаризма в ФСР
country_event = {
	id = sinka.190
	title = sinka.190.t
	desc = sinka.190.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.190.a	
		ai_chance = {
			factor = 4				
		}
		add_opinion_modifier = {
			target = ZIK
			modifier = sanctions
		}
		country_event = { id = sinka.191 days = 3 random = 20 }
		hidden_effect = {
			country_event = { id = sinka.194 days = 55 random = 20 }
		}
	}
	option = {
		name = sinka.190.b	
		ai_chance = {
			factor = 2
			modifier = {
				factor = 3
				has_opinion = {
					target = ZIK
					value > 20
				}
			}
		}	
		country_event = { id = sinka.192 days = 3 random = 20 }
	}
}

####  эвент для корпорации синька о том что страна нейм [FROM.GetNameDef] согласилась ввести санкции против ФСР. так и победим
country_event = {
	id = sinka.191
	title = sinka.191.t
	desc = sinka.191.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.191.a	
		add_political_power = 20
	}	
}

####  эвент для корпорации синька о том что страна нейм [FROM.GetNameDef] НЕ согласилась ввести санкции против ФСР. слабаки
country_event = {
	id = sinka.192
	title = sinka.192.t
	desc = sinka.192.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.192.a			
	}	
}

####  эвент для ФСР. капиталисты из компании синька решили ввести против нас торговые санкции. Эти их подлые методы направлены на то чтобы сломить народное самоуправление в стране и раздать собственность народа в руки богачей. Так же корпораты призвали наших соседей ввести против нас санкции. Но нас не сломить! (мы теряем стабку лол)
country_event = {
	id = sinka.193
	title = sinka.193.t
	desc = sinka.193.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.193.a	
		add_stability = -0.10
		effect_tooltip = {
			ZTH = {
				add_opinion_modifier = {
					target = ZIK
					modifier = sanctions
				}
			}
		}
	}	
}

####  эвент для корпорации синька, прошло уже несколько месяцев с того момента как страна_нейм [FROM.GetNameDef] согласилась ввести санкции против ФСР. часть их рынка была занята нашими товарами. Ура, мы получаем буст к ПП
country_event = {
	id = sinka.194
	title = sinka.194.t
	desc = sinka.194.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.194.a	
		add_political_power = 50
	}	
}

####  рандомный эвент расистской синьке-фусану. Это уже где то год 1992. В одном из регионов, взбунтовался гарнизон, набранный частично из местных дикарей. Это не передовые части, а местные полицаи, набранные из всяких коллаборационистов и им подобных. Хоть бунт и подавили, но многие офицеры армии высказались что мы слишком мягки к этим дикарям. (теряем немного стабки и варсаппорта)
country_event = {
	id = sinka.195
	title = sinka.195.t
	desc = sinka.195.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.195.a	
		add_stability = -0.08
		add_war_support = -0.08
	}	
}


####  эвент динамич стране, дочерней корпорации. синька нам поможет в борьбе
country_event = {
	id = sinka.196
	title = sinka.196.t
	desc = sinka.196.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes			
	option = {
		name = sinka.196.a	
		add_stability = 0.1
		add_war_support = 0.1
		every_other_country = {
			limit = { 
				has_war_with = ROOT	
			}				
			country_event = { id = sinka.197 }
		}
	}	
}

####  эвент стране, в которой подняла мятеж дочерняя корпорация синьки (идёт гражданочка). Эвент о том тчо синька заявила что всецело поддержит свою дочернюю фирму там и вот с минуты на минуту объявит нам войну.
country_event = {
	id = sinka.197
	title = sinka.197.t
	desc = sinka.197.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			FROM = {				
				country_event = { id = sinka.198 hours = 3 }
			}
		}
	}
	option = {
		name = sinka.197.a	
		
	}	
}

####  эвент-призывался для динамич страны
country_event = {
	id = sinka.198
	title = sinka.198.t
	desc = sinka.198.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes		
	option = {
		name = sinka.198.a	
		ZTH = {
			add_to_war = { 
				targeted_alliance = ROOT 
				enemy = FROM 				
			}
		}
	}	
}