﻿###########################
# РОМЕЯ Events
###########################

add_namespace = vizan

#ультиматум РОмее от FROM о том что они тепереча независимость объявили. Что делать?
country_event = {
	id = vizan.1
	title = vizan.1.t
	desc = vizan.1.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {	#отпустить уже их
		name = vizan.1.a
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = vizan.1.a.tt	#[FROM.GetNameDef] будет свободна
#		end_puppet = FROM
		set_autonomy = {
			target = FROM
			autonomy_state = autonomy_free
		}
		FROM = {
			country_event = { id = vizan.2 }
		}		
	}
	option = {	#оказать сопротивление  и приструнить
		name = vizan.1.b
		ai_chance = {
			base = 15
		}
		custom_effect_tooltip = vizan.1.b.tt	#[FROM.GetNameDef] будет наказана, мы объявим им войну.
#		end_puppet = FROM
		set_autonomy = {
			target = FROM
			autonomy_state = autonomy_free
		}
		FROM = {
			country_event = { id = vizan.3 }
		}
	}
}

#Ромея таки одобрила наш ультиматум и мы теперь независимы
country_event = {
	id = vizan.2
	title = vizan.2.t
	desc = vizan.2.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.2.a
		retire_country_leader = yes
		set_autonomy = {
			target = ROOT
			autonomy_state = autonomy_free
		}
		drop_cosmetic_tag = yes
		if = {
			limit = {
				has_idea = despotates_krizis
			}
			remove_ideas = despotates_krizis
		}
		add_stability = 0.05
		add_war_support = -0.07
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
				NOT = {
					tag = ROOT
				}
			}
			country_event = { id = vizan.13 }	
		}
	}	
}

#Ромея отказала нам. Нас ждет война.
country_event = {
	id = vizan.3
	title = vizan.3.t
	desc = vizan.м.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.3.a
		retire_country_leader = yes
		set_autonomy = {
			target = ROOT
			autonomy_state = autonomy_free
		}
		drop_cosmetic_tag = yes
		if = {
			limit = {
				has_idea = despotates_krizis
			}
			remove_ideas = despotates_krizis
		}
		if = {
			limit = {
				is_in_faction_with = ZVZ
			}
			ZVZ = { remove_from_faction = FROM }
		}			
		every_state = {
			limit = { is_core_of = ROOT }			
			add_claim_by = ZVZ
		}
		ZVZ = {
			declare_war_on = {
				type = annex_everything
				target = ROOT
			}
		}
		add_stability = -0.05
		add_war_support = 0.05
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.14 }	
		}
	}	
}

#РОмее от FROM. они требуют мирного признания их независимости. Они за эти годы умудрились добиться высокого уровня автономии для себя и их требования в чем то оправданы.
country_event = {
	id = vizan.4
	title = vizan.4.t
	desc = vizan.4.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {	#отпустить уже их
		name = vizan.4.a
		ai_chance = {
			base = 15
		}
		add_stability = 0.03
		custom_effect_tooltip = vizan.4.a.tt	#[FROM.GetNameDef] Они заслужили свою свободу
		FROM = {
			country_event = { id = vizan.5 }
		}		
	}
	option = {	#оказать сопротивление  и приструнить
		name = vizan.4.b
		ai_chance = {
			base = 10
		}
		add_stability = -0.05
		custom_effect_tooltip = vizan.4.a.tt	#[FROM.GetNameDef] мы вежливо откажем им
		FROM = {
			country_event = { id = vizan.6 }
		}
	}
}

#Ромея таки одобрила наше мирное прошение о независимости. Мы останемся друзьями. Эллины и ромеи братья на век
country_event = {
	id = vizan.5
	title = vizan.5.t
	desc = vizan.5.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.5.a
		retire_country_leader = yes
		set_autonomy = {
			target = ROOT
			autonomy_state = autonomy_free
		}
		drop_cosmetic_tag = yes
		if = {
			limit = {
				has_idea = despotates_krizis
			}
			remove_ideas = despotates_krizis
		}
		add_stability = 0.05
		add_war_support = -0.13
		add_political_power = 150
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.15 }	
		}
	}	
}

#Ромея нам вежливо отказала. ВОт незадача. Мирным путем не получилось.
country_event = {
	id = vizan.6
	title = vizan.6.t
	desc = vizan.6.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.6.a		
		add_stability = -0.10
		add_war_support = 0.07
		custom_effect_tooltip = vizan.6.a.tt	#уровень сопротивления вырос на 5
		if = {
			limit = {
				tag = ZTS
			}
			add_to_variable = { global.ZTS_separatism = 5 }	
			clamp_variable = { var = global.ZTS_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGF
			}
			add_to_variable = { global.ZGF_separatism = 5 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}	
		if = {
			limit = {
				tag = ZGE
			}
			add_to_variable = { global.ZGE_separatism = 5 }	
			clamp_variable = { var = global.ZGE_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGH
			}
			add_to_variable = { global.ZGH_separatism = 5 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}
	}	
}

#эвент деспотату о том что он на своей территории проводит греческий конгресс. Тут вроде бы как местечковый фестиваль эллинской культуры но его тайное назначение это сговор о формировании Эллинского государства. только тссс, чтобы ромея не узнала.
country_event = {
	id = vizan.7
	title = vizan.7.t
	desc = vizan.7.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.7.a
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.8 }	
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
		add_stability = 0.01
		hidden_effect = {
			ZVZ = {
				country_event = { id = vizan.16 }
			}
		}
	}	
}

#эвент деспотату о том что другой деспотат FROM провёл греческую конференцию. Вроде как веселый фестиваль, но решались и другие вопросы. 
country_event = {
	id = vizan.8
	title = vizan.8.t
	desc = vizan.8.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.8.a
		add_stability = 0.01
		custom_effect_tooltip = vizan.8.a.tt	#«Греческий конгресс» успешно проведен  
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
	}	
}

#афинскому деспотату. Афинские пармезаны готовы. ZTS
country_event = {
	id = vizan.9
	title = vizan.9.t
	desc = vizan.9.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.9.a
		division_template = {
			name = "Liberation army of Athens"
#			division_names_group = SPAN_INFB_01
			regiments = {					
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
			}					
		}
		random_owned_controlled_state = {
			create_unit = {
				division = "name = \"1 army of Athens\" division_template = \"Liberation army of Athens\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"2 army of Athens\" division_template = \"Liberation army of Athens\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"3 army of Athens\" division_template = \"Liberation army of Athens\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"4 army of Athens\" division_template = \"Liberation army of Athens\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"5 army of Athens\" division_template = \"Liberation army of Athens\" start_experience_factor = 0.7" 
				owner = PREV
			}
		}
		ZTS_separatism_add_3 = yes
	}	
}

#афинскому деспотату. Македонский пармезаны готовы. ZGF
country_event = {
	id = vizan.10
	title = vizan.10.t
	desc = vizan.10.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.10.a
		division_template = {
			name = "Liberation army of Macedonia"
#			division_names_group = SPAN_INFB_01
			regiments = {					
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
			}					
		}
		random_owned_controlled_state = {
			create_unit = {
				division = "name = \"1 army of Macedonia\" division_template = \"Liberation army of Macedonia\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"2 army of Macedonia\" division_template = \"Liberation army of Macedonia\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"3 army of Macedonia\" division_template = \"Liberation army of Macedonia\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"4 army of Macedonia\" division_template = \"Liberation army of Macedonia\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"5 army of Macedonia\" division_template = \"Liberation army of Macedonia\" start_experience_factor = 0.7" 
				owner = PREV
			}
		}
		ZGF_separatism_add_3 = yes
	}	
}

#афинскому деспотату. Эпирский пармезаны готовы. ZGE
country_event = {
	id = vizan.11
	title = vizan.11.t
	desc = vizan.11.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.11.a
		division_template = {
			name = "Liberation army of Epirus"
#			division_names_group = SPAN_INFB_01
			regiments = {					
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
			}					
		}
		random_owned_controlled_state = {
			create_unit = {
				division = "name = \"1 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"2 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"3 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"4 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"5 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
		}
		ZGE_separatism_add_3 = yes
	}	
}

#афинскому деспотату. Морейский пармезаны готовы. ZGH
country_event = {
	id = vizan.12
	title = vizan.12.t
	desc = vizan.12.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.12.a
		division_template = {
			name = "Liberation army of Moray"
#			division_names_group = SPAN_INFB_01
			regiments = {					
				infantry = { x = 0 y = 0 }
				infantry = { x = 0 y = 1 }
				infantry = { x = 1 y = 0 }
				infantry = { x = 1 y = 1 }
			}					
		}
		random_owned_controlled_state = {
			create_unit = {
				division = "name = \"1 army of Moray\" division_template = \"Liberation army of Moray\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"2 army of Moray\" division_template = \"Liberation army of Moray\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"3 army of Moray\" division_template = \"Liberation army of Moray\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"4 army of Moray\" division_template = \"Liberation army of Moray\" start_experience_factor = 0.7" 
				owner = PREV
			}
			create_unit = {
				division = "name = \"5 army of Epirus\" division_template = \"Liberation army of Epirus\" start_experience_factor = 0.7" 
				owner = PREV
			}
		}
		ZGH_separatism_add_3 = yes
	}	
}

#ромея одобрила агрессивный ультиматум одного из деспотатов. [FROM.GetNameDef] Они смогли и мы сможем (рост сопротивления)
country_event = {
	id = vizan.13
	title = vizan.13.t
	desc = vizan.13.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.13.a
		custom_effect_tooltip = vizan.13.a.tt	#уровень сопротивления вырос на 3
		if = {
			limit = {
				tag = ZTS
			}
			add_to_variable = { global.ZTS_separatism = 3 }	
			clamp_variable = { var = global.ZTS_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGF
			}
			add_to_variable = { global.ZGF_separatism = 3 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}	
		if = {
			limit = {
				tag = ZGE
			}
			add_to_variable = { global.ZGE_separatism = 3 }	
			clamp_variable = { var = global.ZGE_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGH
			}
			add_to_variable = { global.ZGH_separatism = 3 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}
	}	
}

#ромея агрессивно подовляет один из нащих деспотатов. [FROM.GetNameDef] Вот дела. А мы сидим сложа руки (рост сопротивления)
country_event = {
	id = vizan.14
	title = vizan.14.t
	desc = vizan.14.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.14.a
		custom_effect_tooltip = vizan.14.a.tt	#уровень сопротивления вырос на 5
		if = {
			limit = {
				tag = ZTS
			}
			add_to_variable = { global.ZTS_separatism = 5 }	
			clamp_variable = { var = global.ZTS_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGF
			}
			add_to_variable = { global.ZGF_separatism = 5 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}	
		if = {
			limit = {
				tag = ZGE
			}
			add_to_variable = { global.ZGE_separatism = 5 }	
			clamp_variable = { var = global.ZGE_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGH
			}
			add_to_variable = { global.ZGH_separatism = 5 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}
	}	
}

#ромея отпустила один из деспотатов после их прошения о свободе. Это конечно здорово, они молодцы, добились, а мы сидим сычуем (небольшой рост сопротивления)
country_event = {
	id = vizan.15
	title = vizan.15.t
	desc = vizan.15.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.15.a
		custom_effect_tooltip = vizan.15.a.tt	#уровень сопротивления вырос на 2
		if = {
			limit = {
				tag = ZTS
			}
			add_to_variable = { global.ZTS_separatism = 2 }	
			clamp_variable = { var = global.ZTS_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGF
			}
			add_to_variable = { global.ZGF_separatism = 2 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}	
		if = {
			limit = {
				tag = ZGE
			}
			add_to_variable = { global.ZGE_separatism = 2 }	
			clamp_variable = { var = global.ZGE_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGH
			}
			add_to_variable = { global.ZGH_separatism = 2 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}
	}	
}


#эвент ромее. розвiдка доложилла что эти греческие греки прикрываясь каким то фестивалем провели некий греческий конгресс. они опять мутят воду. 
country_event = {
	id = vizan.16
	title = vizan.16.t
	desc = vizan.16.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.16.a
		add_stability = -0.02
	}	
}

#эвент ромее. мы завершили реставрацию крутого собора в константинополе. (по предыстории его реставрация затянулась и была собрана комиссия чтобы разобраться) Все рады, и сепары немного успокоились
country_event = {
	id = vizan.17
	title = vizan.17.t
	desc = vizan.17.d
	picture = GFX_report_sobor_romea_gotov
	is_triggered_only = yes	
	option = {
		name = vizan.17.a
		add_stability = 0.02
		if = {
				limit = {
					ZTS = {
						is_subject_of = ZVZ
					}
				}
				ZTS = {
					ZTS_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGF = {
						is_subject_of = ZVZ
					}
				}
				ZGF = {
					ZGF_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGE = {
						is_subject_of = ZVZ
					}
				}
				ZGE = {
					ZGE_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGH = {
						is_subject_of = ZVZ
					}
				}
				ZGH = {
					ZGH_separatism_minus_5 = yes
				}
			}
	}	
}

#эвент деспотату_нейм о том что ромея после принятых хороших реформ берет курс на начало федерализации. Может оно и хорошо? поживем увидим (пока просто информационный эвент) 
country_event = {
	id = vizan.18
	title = vizan.18.t
	desc = vizan.18.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.18.a
		ai_chance = {
			base = 70
		}
		add_stability = 0.03
			if = {
				limit = {
					tag = ZTS
				}
				ZTS_separatism_minus_1 = yes	
			}
			if = {
				limit = {
					tag = ZGF
				}
				ZGF_separatism_minus_1 = yes
			}
			if = {
				limit = {
					tag = ZGE
				}
				ZGE_separatism_minus_1 = yes
			}
			if = {
				limit = {
					tag = ZGH
				}
				ZGH_separatism_minus_1 = yes
			}
	}
	option = {
		name = vizan.18.b
		ai_chance = {
			base = 1
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
		add_war_support = 0.005
	}	
}

#эвент риму о том что ромея совершает дипломатический визит к нам. Они хотят стать частью СНЕГ в будщем. Надо ли оно нам? они так то говорят что мы не настоящий рим и у них полно внутренних проблем, как бы не пришлось их решать за них (информационный эфент) +новость
country_event = {
	id = vizan.19
	title = vizan.19.t
	desc = vizan.19.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.19.a
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.859 }
		}
	}	
}

#эвент ромее. Все эти альянсы вокруг нас хоть и говорят о своём оборонительном характере но на самом деле вынашивают совсем не мирные цели. Мы же не хотим оказаться в центре мировой заварушки поэтому создадим свой, поистине оборонный альянс. И вход будет только для стран Черноморского региона.+новость
country_event = {
	id = vizan.20
	title = vizan.20.t
	desc = vizan.20.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.20.a
		ai_chance = {
			base = 5
		}
		create_faction = "chernomorsky_soyz"
		custom_effect_tooltip = vizan.20.a.tt		#у соседних стран появится решение на вступление
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.860 }
		}
	}
	option = {
		name = vizan.20.b	#	и хазар сразу позовём
		trigger = {
			NOT = {
				has_war_with = ZKR
			}
			ZKR = {
				exists = yes
				is_in_faction = no
				is_subject = no
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
		}
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				ZKR = {
					has_war = yes
				}
			}
		}	
		custom_effect_tooltip = vizan.20.b.tt	#этот вариант доступен потому что хазары лояльны нам
		create_faction = "chernomorsky_soyz"
		
		ZKR = {
			country_event = { id = vizan.21 }
		}
		custom_effect_tooltip = vizan.20.a.tt		#у соседних стран появится решение на вступление
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.860 }
		}
	}	
}

#эвент хазарам что ромея запилила черноморский союз и зовет нас в него. да - нет??
country_event = {
	id = vizan.21
	title = vizan.21.t
	desc = vizan.21.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.21.a
		ai_chance = {
			base = 10
			modifier = {
				factor = 4				
				has_war = yes				
			}
			modifier = {
				factor = 4				
				has_opinion = {
					target = ZVZ
					value > 0
				}			
			}
		}
		add_ai_strategy = {
			type = alliance
			id = "ZVZ"
			value = 150
		}
		ZVZ = {
			add_ai_strategy = {
				type = alliance
				id = "ZKR"
				value = 150
			}
			add_to_faction = ZKR
			country_event = { id = vizan.22 }
		}
	}
	option = {
		name = vizan.21.b
		ai_chance = {
			base = 5
			modifier = {
				factor = 4				
				has_war = no
				ZVZ = {
					has_war = yes
				}				
			}
			modifier = {
				factor = 4				
				has_opinion = {
					target = ZVZ
					value < 1
				}			
			}
		}
		ZVZ = {
			country_event = { id = vizan.23 }
		}
	}	
}

###### эвент ромее, хазары вступили в нащ альянс
country_event = {
	id = vizan.22
	title = vizan.22.t
	desc = vizan.22.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.22.a
		effect_tooltip = {
			add_to_faction = ZKR
		}
	}	
}

###### эвент ромее, хазары не стали всиупать в наш альянс. ну может потом передумают.
country_event = {
	id = vizan.23
	title = vizan.23.t
	desc = vizan.23.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.23.a
		
	}	
}

###### эвент деспотату-нейм о том что ромея хочет нас интегрировать. Ну в принципе жители не против этого, они видят что ромеи заботятся о нас и всё такое. да и одним нам будет сложновато в этом мире.
country_event = {
	id = vizan.24
	title = vizan.24.t
	desc = vizan.24.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.24.a	#да
		ai_chance = {
			base = 8			
			modifier = {
				factor = 5				
				has_opinion = {
					target = ZVZ
					value > 30
				}			
			}
		}
		custom_effect_tooltip = vizan.24.a.tt
		custom_effect_tooltip = GAME_OVER_TT
		ZVZ = {
			country_event = { id = vizan.25 }
		}
	}
	option = {
		name = vizan.24.b	#откажем
		ai_chance = {
			base = 3			
			modifier = {
				factor = 8				
				has_opinion = {
					target = ZVZ
					value < 30
				}			
			}
		}
		custom_effect_tooltip = vizan.24.b.tt #через некоторое время они посторят запрос 
		ZVZ = {
			country_event = { id = vizan.26 }
		}
	}		
}

###### эвент ромее, деспотат нейм FROM согласился на интеграцию
country_event = {
	id = vizan.25
	title = vizan.25.t
	desc = vizan.25.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.25.a
		annex_country = { target = FROM }
		add_stability = -0.05
	}	
}

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

###### эвент ромее, проводим большую конференцию армии и флота. решаем вопрос затянувшейся реформы системы комплектования и структуры Вооруженных Сил. выбираем проф армия или массовая.
country_event = {
	id = vizan.27
	title = vizan.27.t
	desc = vizan.27.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.27.a	#prof
		ai_chance = {
			base = 3			
			modifier = {
				factor = 5
				has_completed_focus = zvz_preobrazovaniya		
			}
		}
		remove_ideas = zvz_nezavershennye_voennye_reformy
		add_ideas = ar_professarmy
		custom_effect_tooltip = vizan.27.tt  
		add_stability = 0.01
		add_timed_idea = {
			idea = zvz_nezavershennye_voennye_reformy_2
			days = 260
		}
	}	
	option = {
		name = vizan.27.b	#mass
		ai_chance = {
			base = 3			
			modifier = {
				factor = 5				
				has_completed_focus = zvz_imperator_strong			
			}
		}
		remove_ideas = zvz_nezavershennye_voennye_reformy
		add_ideas = ar_massarmy
		custom_effect_tooltip = vizan.27.tt  
		add_stability = -0.05
		add_timed_idea = {
			idea = zvz_nezavershennye_voennye_reformy_2
			days = 260
		}
	}
}

###### эвент ромее. мы кароч насотящий рим на самом деле, истинные наслдедники. И мы об этом на весь мир заявляем кароч. вот. +новость
country_event = {
	id = vizan.28
	title = vizan.28.t
	desc = vizan.28.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.28.a
		add_opinion_modifier = {
			target = ZRI
			modifier = my_istinny_rim_60
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZRI"
			value = 70
		}
		if = {
			limit = {
				country_exists = ZRI
			}
			ZRI = {
				country_event = { id = vizan.29 }
			}
		}
		hidden_effect = {
			news_event = { hours = 6 id = ar_news.861 }
		}
		add_named_threat = { threat = 3 name = vizan.28.threattt }
	}	
}

###### эвент Риму. ромея там чёт задигает что они на самом деле настоящие наследники рима а мы всего лишь косплеим! вот гады!
country_event = {
	id = vizan.29
	title = vizan.29.t
	desc = vizan.29.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.29.a	
		add_opinion_modifier = {
			target = ZVZ
			modifier = my_istinny_rim_60
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZVZ"
			value = 70
		}
	}	
}

###### эвент ромее. кароч сенат, выборы, два кандидата. Демократура, король как нацдух теперь.
country_event = {
	id = vizan.30
	title = vizan.30.t
	desc = vizan.30.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.30.a
		ai_chance = {
			base = 3			
		}
		add_ideas = zvz_senat_formed
		add_ideas = zvz_imperator_genka	
		add_popularity = {
			ideology = democratic
			popularity = 0.65
		}		
		set_politics = {
			ruling_party = democratic
		}
		add_timed_idea = {
			idea = democratizm
			days = 250
		}
		# create_country_leader = {
			# name = "Теодорос Кондилис"
			# desc = " "
			# picture = "zvzleader2.tga"
			# expire = "2020.1.1"
			# ideology = conservatism
			# traits = {
				# oligarhh
			# }
		# }
		add_country_leader_role = {
			character = "ZVZ_theodoros_condilis"
			country_leader = {
				ideology = conservatism
				traits = { oligarhh }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
	}
	option = {
		name = vizan.30.b	
		ai_chance = {
			base = 3			
		}
		add_ideas = zvz_senat_formed
		add_ideas = zvz_imperator_genka	
		add_popularity = {
			ideology = democratic
			popularity = 0.65
		}	
		set_politics = {
			ruling_party = democratic
		}
		add_timed_idea = {
			idea = democratizm
			days = 280
		}
		# create_country_leader = {
			# name = "Георгиос Пангалос"
			# desc = " "
			# picture = "zvzleader3.tga"
			# expire = "2020.1.1"
			# ideology = conservatism
			# traits = {
				# professorr
			# }
		# }
		add_country_leader_role = {
			character = "ZVZ_georgios_pangalos"
			country_leader = {
				ideology = conservatism
				traits = { professorr }
				expire = "2020.3.1.1"
			}	
			promote_leader = yes 
		}
	}
}
################## ДЕСПОТАТАМ ЭВЕНТЫ
###### эвент Деспотату что ромея встала на курс парлементских реформ. Новый лидер парламента говорит хорошие штуки
country_event = {
	id = vizan.31
	title = vizan.31.t
	desc = vizan.31.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#звучит хорошо
		name = vizan.31.a	
		ai_chance = {
			base = 4			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}
		add_stability = 0.03
		hidden_effect = {
			country_event = { id = vizan.32 days = 15 random = 45 }
		}
	}
	option = {		#нет, это обман
		name = vizan.31.b	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
		add_war_support = 0.03
		hidden_effect = {
			country_event = { id = vizan.32 days = 12 random = 35 }
		}
	}
}

###### эвент Деспотату что на главной городской площади собрался митинг в поддержку независимости. Видимо народ хочет свободы (рост сопротивления)
country_event = {
	id = vizan.32
	title = vizan.32.t
	desc = vizan.32.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		
		name = vizan.32.a		
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}		
	}	
}

###### эвент Деспотату что ромея хочет помочь нам провести реформы местного самоуправления якобы предоставиви нашим людям больше полномочий и уменьшив количество своих надсмотрщиков. ЧТо это? хитрый ход или они и правда на пути федерализации?
country_event = {
	id = vizan.33
	title = vizan.33.t
	desc = vizan.33.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#звучит хорошо
		name = vizan.33.a	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}
		hidden_effect = {
			country_event = { id = vizan.35 days = 17 random = 40 }
		}		
	}
	option = {		#нет, это обман, это многоходовочка!мы так просто не оставим это
		name = vizan.33.b	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}
		add_war_support = 0.03
		hidden_effect = {
			country_event = { id = vizan.34 days = 15 random = 30 }
		}
	}
}

###### эвент Деспотату. Наши люди видят стремления ромеев снова загнать нас под их управление. В лесах начинают ползать партизаны (там есть леса?)
country_event = {
	id = vizan.34
	title = vizan.34.t
	desc = vizan.34.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		
		name = vizan.34.a		
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes				
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}
		hidden_effect = {
			country_event = { id = vizan.35 days = 15 random = 30 }
		}
	}	
}

###### эвент Деспотату что к нам тайно обратились некоторые лидеры повстанцев. Они просят оказать им тайную помощь ништяками. Помочь или арестовать их?
country_event = {
	id = vizan.35
	title = vizan.35.t
	desc = vizan.35.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#арестовать
		name = vizan.35.a	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}	
		hidden_effect = {
			country_event = { id = vizan.36 days = 15 random = 30 }
		}
	}
	option = {		#помочь им
		name = vizan.35.b	
		ai_chance = {
			base = 3			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}		
		hidden_effect = {
			country_event = { id = vizan.36 days = 15 random = 30 }
		}
	}
}

###### эвент Деспотату в из городов стали поступать сообщения о вооруженных нападениях на ромейские гос учереждения. Это начало нового кризиса? (подавить мятеж в зародыше или дааа)
country_event = {
	id = vizan.36
	title = vizan.36.t
	desc = vizan.36.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#подавить мятеж в зародыше
		name = vizan.36.a	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}	
#		hidden_effect = {
#			country_event = { id = vizan.36 days = 15 random = 30 }
#		}
	}
	option = {		#даааа
		name = vizan.36.b	
		ai_chance = {
			base = 3			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}		
#		hidden_effect = {
#			country_event = { id = vizan.36 days = 15 random = 30 }
#		}
	}
}
###################
###### эвент ромее что какие то гады совершили взрыв на жд станции. кто это может быть?
country_event = {
	id = vizan.37
	title = vizan.37.t
	desc = vizan.37.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.37.a	
		random_owned_controlled_state = {
			limit = {
				infrastructure > 1								
			}
			damage_building = { type = infrastructure damage = 0.8 }
		}
		add_stability = -0.02
		hidden_effect = {
			country_event = { id = vizan.38 days = 38 random = 42 }
		}
	}	
}

###### эвент ромее что какие то гады совершили саботаж на одном из гражданских заводов
country_event = {
	id = vizan.38
	title = vizan.38.t
	desc = vizan.38.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.38.a	
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			damage_building = { type = industrial_complex damage = 0.8 }
		}
		add_stability = -0.02
		hidden_effect = {
			country_event = { id = vizan.97 days = 38 random = 42 }
		}
	}	
}

###### эвент ромее что напряженность среди турков в анатолии достигла своего предела. надо что то решать. Приструнить или дать независимость. +новостной эвент в обоих случаях
country_event = {
	id = vizan.39
	title = vizan.39.t
	desc = vizan.39.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
			NOT = {
				country_exists = ZAT	
			}
			OR = {				
				controls_state = 348
				controls_state = 349
				controls_state = 355
			}
		}
	option = {
		name = vizan.39.a	#отпустить их как автономию		
		ai_chance = {
			base = 5
			modifier = {
				factor = 3
				has_government = democratic
			}
		}
		release_puppet = ZAT	##ТЭГ !!!!111
		ZAT = {
			set_cosmetic_tag = ZAT_vizan
		}
		remove_ideas = zvz_turki_v_anatolii
		custom_effect_tooltip = vizan.39.a.tt	#наши деспотаты видят успехи анатолийских турков 
		if = {
				limit = {
					ZTS = {
						is_subject_of = ZVZ
					}
				}
				ZTS = {
					ZTS_separatism_add_1 = yes
				}
			}
			if = {
				limit = {
					ZGF = {
						is_subject_of = ZVZ
					}
				}
				ZGF = {
					ZGF_separatism_add_1 = yes
				}
			}
			if = {
				limit = {
					ZGE = {
						is_subject_of = ZVZ
					}
				}
				ZGE = {
					ZGE_separatism_add_1 = yes
				}
			}
			if = {
				limit = {
					ZGH = {
						is_subject_of = ZVZ
					}
				}
				ZGH = {
					ZGH_separatism_add_1 = yes
				}
			}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.862 }
		}
	}
	option = {
		name = vizan.39.b	
		ai_chance = {
			base = 2
			modifier = {
				factor = 2
				has_stability > 0.70
			}
		}
		random_list = {
			50 = {
				country_event = { days = 3 id = vizan.63 }
			}
			50 = {
				country_event = { days = 3 id = vizan.64 }
			}
		}		
		custom_effect_tooltip = vizan.39.b.tt	#наши деспотаты не очень то рады такой политике
		if = {
				limit = {
					ZTS = {
						is_subject_of = ZVZ
					}
				}
				ZTS = {
					ZTS_separatism_add_3 = yes
				}
			}
			if = {
				limit = {
					ZGF = {
						is_subject_of = ZVZ
					}
				}
				ZGF = {
					ZGF_separatism_add_3 = yes
				}
			}
			if = {
				limit = {
					ZGE = {
						is_subject_of = ZVZ
					}
				}
				ZGE = {
					ZGE_separatism_add_3 = yes
				}
			}
			if = {
				limit = {
					ZGH = {
						is_subject_of = ZVZ
					}
				}
				ZGH = {
					ZGH_separatism_add_3 = yes
				}
			}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.863 }
		}
	}	
}

###### эвент ромее о том что дабы стабилизировать ситауцию в стране проводится крупная встреча между представителсями власти и духовенства. такая вот большая беседа о которой целыми днями по радио трещат. Мол как хорошо в стране. Союз власти и духовеснства (тут стоит учесть что это эвент и на патернов и на сенат, нейтально кароч написать, па крестьянски)
country_event = {
	id = vizan.40
	title = vizan.40.t
	desc = vizan.40.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.40.a	
		add_political_power = 120
		add_stability = 0.04
		if = {
				limit = {
					ZTS = {
						is_subject_of = ZVZ
					}
				}
				ZTS = {
					ZTS_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGF = {
						is_subject_of = ZVZ
					}
				}
				ZGF = {
					ZGF_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGE = {
						is_subject_of = ZVZ
					}
				}
				ZGE = {
					ZGE_separatism_minus_5 = yes
				}
			}
			if = {
				limit = {
					ZGH = {
						is_subject_of = ZVZ
					}
				}
				ZGH = {
					ZGH_separatism_minus_5 = yes
				}
			}
		if = {
			limit = {
				has_country_leader = {					
					character = ZVZ_gennady_iii
					ruling_only = yes
				}
			}
			country_event = { id = vizan.41 }
		}
	}	
}

###### Ромее. Этот эвент завязан на предыдущий. Если у власти Генадий III Кантакузин то он встречается с патриархом лично (это ж батя его всё таки) и после разговора выходит достаточно воодушевленный. Дает немного стабки и варсаппорта, решительные действия.
country_event = {
	id = vizan.41
	title = vizan.41.t
	desc = vizan.41.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.41.a		
		add_stability = 0.04
		add_war_support = 0.02
	}	
}

######Эвент ромейским соседям о том что они заявляют о том что начинают вести активную политику оностительно своих соседей. ПОдразумевается что они будут сувать нос не в свои дела.
country_event = {
	id = vizan.42
	title = vizan.42.t
	desc = vizan.42.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.42.a		
		if = {
			limit = {
				tag = ZTS
				ZTS = {
					is_subject_of = ZVZ
				}
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
				ZGF = {
					is_subject_of = ZVZ
				}
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
				ZGE = {
					is_subject_of = ZVZ
				}
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
				ZGH = {
					is_subject_of = ZVZ
				}
			}
			ZGH_separatism_add_3 = yes	
		}
	}	
}

###### Ромее. лидер_нем толкает речь о том что главное дело ромеи это защита православных всего мира. И типа мы быдем всем им помогать. +новость
country_event = {
	id = vizan.43
	title = vizan.43.t
	desc = vizan.43.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.43.a
		add_war_support = 0.03
		add_named_threat = { threat = 4 name = vizan.43.threattt }
		if = {
			limit = {
				num_subjects > 0
			}
			custom_effect_tooltip = vizan.43.a.tt	#наша инициатива пришлась по душе деспотатам
		}
		if = {
			limit = {
				ZTS = {
					is_subject_of = ZVZ
				}
			}
			ZTS = {
				ZTS_separatism_minus_2 = yes
			}
		}
		if = {
			limit = {
				ZGF = {
					is_subject_of = ZVZ
				}
			}
			ZGF = {
				ZGF_separatism_minus_2 = yes
			}
		}
		if = {
			limit = {
				ZGE = {
					is_subject_of = ZVZ
				}
			}
			ZGE = {
				ZGE_separatism_minus_2 = yes
			}
		}
		if = {
			limit = {
				ZGH = {
					is_subject_of = ZVZ
				}
			}
			ZGH = {
				ZGH_separatism_minus_2 = yes
			}
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.864 }
		}
	}	
}

###### Ромее. Союз Восточных Церквей Создан + новость
country_event = {
	id = vizan.44
	title = vizan.44.t
	desc = vizan.44.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.44.a	
		ai_chance = {
			base = 1			
		}
		create_faction = "soyz_vostochnyh_tserkvei"
		add_named_threat = { threat = 3 name = vizan.44.threatttt }
		add_war_support = 0.03
		custom_effect_tooltip = vizan.44.a.tt #другие государства восточной церкви могут попробовать к нам присоединиться 
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.865 }
		}
	}
	option = {
		name = vizan.44.b	#	и конию сразу позовём
		trigger = {
			NOT = {
				has_war_with = XKO
			}
			XKO = {
				exists = yes
				is_in_faction = no
				is_subject = no
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
		}
		ai_chance = {
			base = 50			
		}	
		create_faction = "soyz_vostochnyh_tserkvei"
		add_named_threat = { threat = 3 name = vizan.44.threatttt }
		add_war_support = 0.03
		custom_effect_tooltip = vizan.44.a.tt #другие государства восточной церкви могут попробовать к нам присоединиться 
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.865 }
		}		
		XKO = {
			country_event = { id = vizan.47 }
		}			
	}
}

### эвент деспотату о том что в ожном из регионов было обнаружено местонахождение партизанского отряда борцунов за независимость. его нашел какой-нибудь местный житель и сообщил в полицию. что нам делать? Арестовать их или Это просто туристы! (рост сопротивления)
country_event = {
	id = vizan.45
	title = vizan.45.t
	desc = vizan.45.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#арестовать их
		name = vizan.45.a	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}	
		hidden_effect = {
			country_event = { id = vizan.46 days = 22 random = 30 }
		}
	}
	option = {		#это просто туристы
		name = vizan.45.b	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}		
		hidden_effect = {
			country_event = { id = vizan.46 days = 18 random = 30 }
		}
	}
}

### эвент деспотату о том что один из видных политиков стал в открытую говорить о том что пора таки признать ромее свободу нашего государства. Политик то знаменитый, люди его слушают. Что делать? Арестовать его! или Пусть говорит
country_event = {
	id = vizan.46
	title = vizan.46.t
	desc = vizan.46.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		is_subject_of = ZVZ
	}
	option = {		#арестовать его
		name = vizan.46.a	
		ai_chance = {
			base = 2			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_minus_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_minus_1 = yes	
		}	
#		hidden_effect = {
#			country_event = { id = vizan.36 days = 15 random = 30 }
#		}
	}
	option = {		#пусть говорит
		name = vizan.46.b	
		ai_chance = {
			base = 3			
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}		
#		hidden_effect = {
#			country_event = { id = vizan.36 days = 15 random = 30 }
#		}
	}
}


#эвент конии о том что ромея приглашает в свой союз восточной церкви. православные братушки, мы вместе.
country_event = {
	id = vizan.47
	title = vizan.47.t
	desc = vizan.47.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.47.a
		ai_chance = {
			base = 18
			modifier = {
				factor = 4				
				has_war = yes				
			}
			modifier = {
				factor = 4				
				has_opinion = {
					target = ZVZ
					value > 0
				}			
			}
		}
		add_ai_strategy = {
			type = alliance
			id = "ZVZ"
			value = 150
		}
		ZVZ = {
			add_ai_strategy = {
				type = alliance
				id = "XKO"
				value = 150
			}
			add_to_faction = XKO
			country_event = { id = vizan.48 }
		}
	}
	option = {
		name = vizan.47.b
		ai_chance = {
			base = 3
			modifier = {
				factor = 4				
				has_war = no
				ZVZ = {
					has_war = yes
				}				
			}
			modifier = {
				factor = 4				
				has_opinion = {
					target = ZVZ
					value < 1
				}			
			}
		}
		ZVZ = {
			country_event = { id = vizan.49 }
		}
	}	
}

###### эвент ромее, конийцы вступили в нащ альянс
country_event = {
	id = vizan.48
	title = vizan.48.t
	desc = vizan.48.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.48.a
		effect_tooltip = {
			add_to_faction = XKO
		}
	}	
}

###### эвент ромее, конийцы не стали всиупать в наш альянс. ну может потом передумают.
country_event = {
	id = vizan.49
	title = vizan.49.t
	desc = vizan.49.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.49.a
		
	}	
}

#эвент деспотату о том что МЫ проводим тайную встречу лидеров сопротивления за независимость с целью принятия ключевых документов государства.
country_event = {
	id = vizan.50
	title = vizan.50.t
	desc = vizan.50.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.50.a
		add_stability = 0.05
		add_war_support = 0.05
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.51 }	
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}		
		hidden_effect = {
			ZVZ = {
				country_event = { id = vizan.52 }
			}
		}
	}	
}

#эвент деспотату о том что FROM проводит тайную встречу лидеров сопротивления за независимость с целью принятия ключевых документов государства.
country_event = {
	id = vizan.51
	title = vizan.51.t
	desc = vizan.51.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.51.a		
		add_stability = 0.05
		add_war_support = 0.05		
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
	}	
}

#эвент ромее. розвiдка доложилла что эти греческие греки опять где то тайно собрались и что то там приняли
country_event = {
	id = vizan.52
	title = vizan.52.t
	desc = vizan.52.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.52.a
		add_stability = -0.04
	}	
}

#эвент деспотату о том что МЫ проводим тайную встречу лидеров сопротивления за независимость с целью наладить единую координацию в армии на случай вооруженного конфликта с ромеей
country_event = {
	id = vizan.53
	title = vizan.53.t
	desc = vizan.53.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.53.a
		add_stability = 0.05
		add_war_support = 0.05
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.54 }	
		}
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}		
		hidden_effect = {
			ZVZ = {
				country_event = { id = vizan.55 }
			}
		}
	}	
}

#эвент деспотату о том что FROM проводит тайную встречу лидеров сопротивления за независимость с целью наладить единую координацию в армии на случай вооруженного конфликта с ромеей
country_event = {
	id = vizan.54
	title = vizan.54.t
	desc = vizan.54.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.54.a		
		add_stability = 0.05
		add_war_support = 0.05		
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_1 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_1 = yes	
		}
	}	
}

#эвент ромее. розвiдка доложилла что эти греческие греки опять где то тайно собрались и что то там про военную координацию говорят
country_event = {
	id = vizan.55
	title = vizan.55.t
	desc = vizan.55.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.55.a
		add_stability = -0.04
	}	
}


#эвент деспотату-Лидеру, поихали, элладе быть. сейчас объединяемся через день ромее ультиматум!
country_event = {
	id = vizan.56
	title = vizan.56.t
	desc = vizan.56.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.56.a
		add_stability = 0.05
		add_war_support = 0.05
		set_cosmetic_tag = ZZE_ellada
		set_global_flag = ellada_formed_glob_flag
		every_other_country = {
			limit = {
				OR = {
					tag = ZTS
					tag = ZGF
					tag = ZGE
					tag = ZGH
				}
				is_subject_of = ZVZ
			}
			country_event = { id = vizan.57 }	
		}	
		ZVZ = {			
			country_event = { days = 1 id = vizan.60 }
		}		
	}	
}

#эвент деспотату от FROM что лидер греческой конфэрэнции призываает нас выполнить договор. Автоботы, объединяемся (или нет)
country_event = {
	id = vizan.57
	title = vizan.57.t
	desc = vizan.57.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.57.a
		ai_chance = {
			base = 30			
		}
		every_state = {
			limit = { is_core_of = ROOT }
			add_core_of = FROM			
		}
		FROM = {
			country_event = { id = vizan.58 }
		}
		custom_effect_tooltip = GAME_OVER_TT
	}
	option = {
		name = vizan.57.b
		ai_chance = {
			base = 1			
		}
		FROM = {
			country_event = { id = vizan.59 }
		}
	}	
}


#эвент деспотату-Лидеру. FROM согласились объединиться
country_event = {
	id = vizan.58
	title = vizan.58.t
	desc = vizan.58.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.58.a
		annex_country = {
			target = FROM
			transfer_troops = yes
		}
	}	
}

#эвент деспотату-Лидеру. FROM отказались объединиться.
country_event = {
	id = vizan.59
	title = vizan.59.t
	desc = vizan.59.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.59.a
		add_stability = -0.05
		add_opinion_modifier = {
			target = FROM
			modifier = predateli_100
		}
	}	
}

#ромее ультиматум от объединенной эллады. Отпусти говорят. Или мы сами уйдем. +новостИ
country_event = {
	id = vizan.60
	title = vizan.60.t
	desc = vizan.60.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.60.a	#отпустим их
		ai_chance = {
			base = 2
			modifier = {
				factor = 20
				has_war = yes				
			}
		}
		set_autonomy = {
			target = FROM
			autonomy_state = autonomy_free
		}		
		FROM = {
			country_event = { id = vizan.61 }
		}
		add_named_threat = { threat = -4 name = vizan.60.a.threattt }
	}
	option = {
		name = vizan.60.b	#подавим их
		ai_chance = {
			base = 2			
		}
		every_state = {
			limit = { is_core_of = FROM }			
			add_claim_by = ZVZ
		}
		effect_tooltip = {
			declare_war_on = {
				type = annex_everything
				target = FROM
			}
		}
		add_named_threat = { threat = 7 name = vizan.60.b.threattt }
		FROM = {
			country_event = { id = vizan.62 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.867 }
		}
	}	
}

#эвент объединенной элладе. Ромея нас отпустила!
country_event = {
	id = vizan.61
	title = vizan.61.t
	desc = vizan.61.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.61.a	#это хорошо
		ai_chance = {
			base = 2			
		}
		add_stability = 0.05
		add_war_support = -0.05
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.866 }
		}
	}
	option = {
		name = vizan.61.b	#и из их альянса мы тоже выйдем
		trigger = {
			is_in_faction_with = ZVZ
			ZVZ = {
				is_faction_leader = yes
			}
		}
		ai_chance = {
			base = 2
			modifier = {
				factor = 20
				has_war = no				
			}
		}
		ZVZ = {
			remove_from_faction = ROOT
		}
		add_stability = 0.05
		add_war_support = -0.05
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.866 }
		}
	}	
}

#эвент элладе. РОмея решила нас подавить. Ну пусть попробуют
country_event = {
	id = vizan.62
	title = vizan.62.t
	desc = vizan.62.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		hidden_effect = {
			ZVZ = {
				declare_war_on = {
					type = annex_everything
					target = ROOT
				}
			}
		}
	}	
	option = {
		name = vizan.62.a
		add_political_power = 150
	}	
}

#эвент ромеям о том что нам удалось подавить анатолийских турков. Их восстание уничтожено в зародыше но предстоит еще много разъяснительной работы среди населения
country_event = {
	id = vizan.63
	title = vizan.63.t
	desc = vizan.63.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.63.a
		army_experience = 5
		remove_ideas = zvz_turki_v_anatolii
		add_stability = -0.05
		add_war_support = -0.05
		add_timed_idea = {
			idea = zvz_podavlenie_turkov_anatolii
			days = 800
		}
	}	
}

#эвент ромеям о том что турки в анатолии таки восстали против нас. Вот так дела.
country_event = {
	id = vizan.64
	title = vizan.64.t
	desc = vizan.64.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.64.a
		add_stability = -0.05
		add_war_support = -0.05
		release = ZAT
		ZAT = {
			division_template = {
				name = "Liberation army of Anatolia"
	#			division_names_group = SPAN_INFB_01
				regiments = {					
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}					
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"1 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"2 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"3 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"4 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"5 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"6 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
				create_unit = {
					division = "name = \"7 army of Anatolia\" division_template = \"Liberation army of Anatolia\" start_experience_factor = 0.7" 
					owner = PREV
				}
			}
			hidden_effect = {
				add_stability = 0.10
				add_war_support = 0.10
				add_political_power = 250
				army_experience = 25
			}
		}
		every_state = {
			limit = { is_core_of = ZAT }			
			add_claim_by = ZVZ
		}
		declare_war_on = {
			type = annex_everything
			target = ZAT
		}
	}	
}

#эвент ромеям о том что на одном из заводов взрыв. вот дела, саботаж или все же это человеческий фактор? Мы везде ищем врагов...
country_event = {
	id = vizan.65
	title = vizan.65.t
	desc = vizan.65.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.65.a		
		add_stability = -0.02
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 1								
			}
			damage_building = { type = industrial_complex damage = 0.7 }
		}
	}	
}

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

#эвент деспотату о том что ромея решила начать проводить кровавые облавы против участников тайного сопротивления. мого жертв, но мы всё равно сильнее. Рост сопротивления
country_event = {
	id = vizan.67
	title = vizan.67.t
	desc = vizan.67.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.67.a		
		add_war_support = 0.05		
		army_experience = 5
		if = {
			limit = {
				tag = ZTS
			}
			ZTS_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGF
			}
			ZGF_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGE
			}
			ZGE_separatism_add_3 = yes	
		}
		if = {
			limit = {
				tag = ZGH
			}
			ZGH_separatism_add_3 = yes	
		}
	}	
}
# ультиматум от ромеи. присоедтиняйиксь
country_event = {
	id = vizan.68
	title = vizan.68.t
	desc = vizan.68.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {
		name = vizan.68.a
		ai_chance = {
			factor = 10	
			modifier = {	
				factor = 2
				ZVZ = {
					has_army_manpower = {
						size > 149999
					}	
				}
			}			
		}
		custom_effect_tooltip = GAME_OVER_TT
		custom_effect_tooltip = vizan.68.a.tt	# мы вернемся под упревление ромеи
		FROM = {
			country_event = { id = vizan.69 }
		}	
	}
	option = {
		name = vizan.68.b	
		ai_chance = {
			factor = 3 				
			modifier = {	#Если у них есть шанс, они будут сражаться.
				factor = 4
				strength_ratio = {
					tag = ZVZ
					ratio > 0.7
				}
			}			
		}
		custom_effect_tooltip = vizan.68.b.tt	#скорее всего нам будет война
		FROM = {
			country_event = { id = vizan.70 }
		}
	}	
}

#десмотат нейм ответил согласием. Они часть страны.
country_event = {
	id = vizan.69
	title = vizan.69.t
	desc = vizan.69.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.69.a	
		annex_country = { target = FROM }
		add_stability = -0.03
	}	
}

#деспотатт нейм ответил отказом нашему ультиматуму, подвим их войной
country_event = {
	id = vizan.70
	title = vizan.70.t
	desc = vizan.70.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {
		name = vizan.70.a	
		if = {
			limit = {
				FROM = {
					is_puppet_of = ROOT
				}
			}
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_free
			}
		}
		ROOT = { remove_from_faction = FROM }
		every_state = {
			limit = {
				is_owned_by = FROM
			}
			add_claim_by = ROOT
		}
		declare_war_on = {
			type = annex_everything
			target = FROM
		}
		FROM = {
			drop_cosmetic_tag = yes			
			add_stability = 0.3
			add_war_support = 0.3
			hidden_effect = {
				kill_country_leader = yes
				add_manpower = 159741
				add_political_power = 120
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1000
				}
			}
		}
	}	
}

#эвент РОмее о том что завладев римом мы сажаем туда своего патриарха. НАЧАЛО пути ко вселенской церкви +новость ar_news.868
country_event = {
	id = vizan.71
	title = vizan.71.t
	desc = vizan.71.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.71.a	
		add_stability = 0.05
		set_country_flag = zvz_rim_patriarh_flag		
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.868 }
		}
	}	
}

#эвент РОмее о том что наша столица переезжает в Рим +новость 869
country_event = {
	id = vizan.72
	title = vizan.72.t
	desc = vizan.72.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.72.a		
		set_capital = {state = 2}
		add_stability = 0.05
		add_political_power = 120
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.869 }
		}
	}	
}

#эвент РОмее  о том что мы основали патриархат в иерусалиме +новость 870
country_event = {
	id = vizan.73
	title = vizan.73.t
	desc = vizan.73.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.73.a		
		add_stability = 0.01
		add_political_power = 120
		set_country_flag = zvz_ierusalim_patriarh_flag
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.870 }
		}
	}	
}

#эвент РОмее  о том что мы основали патриархат в александрии +новость 871
country_event = {
	id = vizan.74
	title = vizan.74.t
	desc = vizan.74.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.74.a		
		add_stability = 0.01
		add_political_power = 120
		set_country_flag = zvz_alexandriiski_patriarh_flag
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.871 }
		}
	}	
}

#эвент РОмее  о том что мы основали патриархат в антиохии +новость 872
country_event = {
	id = vizan.75
	title = vizan.75.t
	desc = vizan.75.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.75.a		
		add_stability = 0.01
		add_political_power = 120
		set_country_flag = zvz_antiohia_patriarh_flag
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.872 }
		}
	}	
}


#эвент для иерусалима от РОмеи типа они хотят взять нас под свою опеку и предлагают стать их марионеткой. Типа хрестьянство все дела, защита от мусульман, да плюс еще они ништяков нам дают, фабрики да заводы да бустов немного на исследования всякие. Вроде выгодная дружба 
country_event = {
	id = vizan.76
	title = vizan.76.t
	desc = vizan.76.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.76.a		#окей
		ai_chance = {
			factor = 5 				
			modifier = {
				factor = 4
				has_war = yes
			}			
		}
		custom_effect_tooltip = vizan.76.a.tt 	#мы станем их марионеткой
		add_political_power = 150
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		add_tech_bonus = {
			name = infantry_artillery_bonus
			bonus = 1.0
			uses = 1
			category = infantry_weapons
			category = artillery
		}	
		add_stability = -0.05
		add_war_support = 0.10
		ZVZ = {
			country_event = { id = vizan.77 }
		}
	}
	option = {		#нееет
		name = vizan.76.b		
		ai_chance = {
			factor = 3 				
			modifier = {
				factor = 4
				strength_ratio = {
					tag = ZVZ
					ratio > 0.7
				}
			}
			modifier = {
				factor = 4
				has_war = no
				ZVZ = {
					has_war = yes
				}
			}			
		}
		ZVZ = {
			country_event = { id = vizan.78 }
		}
	}	
}

#эвент РОмее о том что иерусалим добровольно принимает нашу власть и теперь они марионетка
country_event = {
	id = vizan.77
	title = vizan.77.t
	desc = vizan.77.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.77.a		
		puppet = ZGS
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.875 }
		}
		every_other_country = {
			limit = {
				OR = {
					is_in_faction_with = ZVZ
					is_subject_of = ZVZ
				}	
			}
			add_opinion_modifier = {
				target = ZVZ
				modifier = ulyimative_politika_20
			}	
		}
	}	
}

#эвент РОмее о том что иерусалим не хочет стать нашей марионеткой. Это они конечно зря, им сложновато будет выстоять одним. (или может принудим их войной?)
country_event = {
	id = vizan.78
	title = vizan.78.t
	desc = vizan.78.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.78.a		#хрен с ними
		ai_chance = {
			factor = 30
		}	
	}
	option = {		
		name = vizan.78.b		#претензии им
		ai_chance = {
			factor = 3
		}
		add_named_threat = { threat = 4 name = vizan.78.threattt }
		if = {
			limit = {
				has_guaranteed = ZGS
			}
			diplomatic_relation = {
				country = ZGS
				relation = guarantee
				active = no
			}
		}
		every_state = {
			limit = { is_core_of = ZGS }			
			add_claim_by = ZVZ
		}
		create_wargoal = {
			type = puppet_wargoal_focus
			target = ZGS					
		}
	}	
}

######Эвент ромейскому рандомному деспотату о том что произошло некое крупное событие которое очень сильно уведичило уровень сопротивления в стране
country_event = {
	id = vizan.79
	title = vizan.79.t
	desc = vizan.79.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.79.a
		custom_effect_tooltip = vizan.79.a.tt #уровень сопротивления увеличился на 9 		
		if = {
			limit = {
				tag = ZTS
				ZTS = {
					is_subject_of = ZVZ
				}
			}
			add_to_variable = { global.ZTS_separatism = 9 }	
			clamp_variable = { var = global.ZTS_separatism max = 100 min = 0 }	
		}
		if = {
			limit = {
				tag = ZGF
				ZGF = {
					is_subject_of = ZVZ
				}
			}
			add_to_variable = { global.ZGF_separatism = 9 }	
			clamp_variable = { var = global.ZGF_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGE
				ZGE = {
					is_subject_of = ZVZ
				}
			}
			add_to_variable = { global.ZGE_separatism = 9 }	
			clamp_variable = { var = global.ZGE_separatism max = 100 min = 0 }
		}
		if = {
			limit = {
				tag = ZGH
				ZGH = {
					is_subject_of = ZVZ
				}
			}
			add_to_variable = { global.ZGH_separatism = 9 }	
			clamp_variable = { var = global.ZGH_separatism max = 100 min = 0 }
		}
	}	
}

#эвент РОмее отом что Вечная империя создана +новость 874
country_event = {
	id = vizan.80
	title = vizan.80.t
	desc = vizan.80.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {		
		name = vizan.80.a		
		set_cosmetic_tag = ZVZ_IMPERIUM
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.874 }
		}
	}	
}

#ультиматум рандомной стране что владеет антиохией (по умолчанию это туркестан, но всякое может быть) от ромеи. Те требуют передать им под их руководство территорию антиохии. Типа это их святыни там и все дела. Они что, сошли с ума?
country_event = {
	id = vizan.81
	title = vizan.81.t
	desc = vizan.81.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	# окей окей, забирайте	
		name = vizan.81.a	
		ai_chance = {
			factor = 3 				
			modifier = {
				factor = 0
				strength_ratio = {
					tag = ZVZ
					ratio > 0.7
				}
			}
			modifier = {
				factor = 0
				has_war = no
				ZVZ = {
					has_war = yes
				}
			}			
		}
		add_stability = -0.05
		ZVZ = {
			transfer_state = 677
			country_event = { id = vizan.82 }
		}
	}
	option = {	# ну уж нет!
		name = vizan.81.b	
		ai_chance = {
			factor = 3 				
			modifier = {
				factor = 4
				strength_ratio = {
					tag = ZVZ
					ratio > 0.7
				}
			}
			modifier = {
				factor = 3
				has_war = no
				ZVZ = {
					has_war = yes
				}
			}			
		}
		add_war_support = 0.05
		ZVZ = {			
			country_event = { id = vizan.83 }
		}
	}	
}

#эвент РОмее. страна_владелец_антиохии очканул и отдал нам наши территории Антиохии
country_event = {
	id = vizan.82
	title = vizan.82.t
	desc = vizan.82.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	# окей окей, забирайте	
		name = vizan.82.a		
		effect_tooltip = {
			transfer_state = 677
		}
	}	
}

#эвент РОмее. страна_владелец_антиохии не отдал нам Антиохию. Никто не удивлен? ну окей. ЧТо делать? Просто объявим им претензии или еще и цель войну? +новость 876
country_event = {
	id = vizan.83
	title = vizan.83.t
	desc = vizan.83.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	# претензии
		name = vizan.83.a	
		ai_chance = {
			factor = 3 	
		}
		add_state_claim = 677
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.876 }
		}
	}
	option = {	# война им
		name = vizan.83.b	
		ai_chance = {
			factor = 3 	
		}
		add_state_claim = 677
		add_ai_strategy = {
			type = conquer
			id = FROM
			value = 100
		}
		create_wargoal = {
			type = take_state_focus
			target = FROM
			generator = { 677 }
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.876 }
		}
	}	
}

#эвент КОНИИ что наш союзник по альянсу (вост. церковь) Ромея помогает нам возвести линию обороны на востоке страны от возможной атаки мусульман. 
country_event = {
	id = vizan.84
	title = vizan.84.t
	desc = vizan.84.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.84.a		
		344 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes limit_to_border = yes level < 3	} } }
	}	
}

#император ромеи толкает речь о том что пора защищать христиан кавказа от угнетения. дескать Со времен Великой войны Кавказский регион потерял свой многовековой покой. Некогда спокойные мусульманские народы уже второе десятилетие ведут крайне опасную политику притеснения православных в своих государствах. Как бы нам не пришлось их научить мирному сожительству. Такая вот угроза мусульманам
country_event = {
	id = vizan.85
	title = vizan.85.t
	desc = vizan.85.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.85.a		
		add_war_support = 0.05
		add_named_threat = { threat = 2 name = vizan.85.threatttt }
	}	
}

#ромее. Разработана доктрина противодействия распространению ислама на запад. включает в себя и меры военного сдерживания. Санкции там всякие против них и тд. Ухудшение отношений со всеми мусульманскими странами на бл. востоке
country_event = {
	id = vizan.86
	title = vizan.86.t
	desc = vizan.86.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.86.a		
		every_other_country = {
			limit = {
				OR = {
					tag = ZPA
					tag = ZHU
					tag = ZAF
					tag = ZPP
					tag = ZPS
					tag = ZAR
					tag = ZGO
					#дополнить
				}
				exists = yes
			}
			add_opinion_modifier = {
				target = ZVZ
				modifier = anti_islamskoe_vistyplenie_40
			}	
		}
	}	
}

#эвент армяно-грузинам что ромея зовет из в свой православный союз. ну у нас же армянская апостольская церковь, тоже вроде как восточная. Друзья они нам?
country_event = {
	id = vizan.87
	title = vizan.87.t
	desc = vizan.87.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes	
	trigger = {
		is_in_faction = no
	}	
	option = {	
		name = vizan.87.a	#da	
		ai_chance = {
			factor = 30 	
		}
		add_ai_strategy = {
			type = alliance
			id = "ZVZ"
			value = 200
		}
		ZVZ = {
			add_to_faction = ZAI
			country_event = { id = vizan.88 }
		}
	}
	option = {	
		name = vizan.87.b	#net	
		ai_chance = {
			factor = 3 	
		}
		ZVZ = {			
			country_event = { id = vizan.89 }
		}
	}	
}

#эвент ромее. Грузиноармяне согласились попасть в нащ альянс. атлишна +новость 877
country_event = {
	id = vizan.88
	title = vizan.88.t
	desc = vizan.88.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.88.a		
		effect_tooltip = {
			add_to_faction = ZAI
		}
		add_ai_strategy = {
			type = alliance
			id = "ZAI"
			value = 200
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.877 }
		}
	}	
}

#эвент ромее. Грузиноармяне пока не пожелали вступать в наш альянс. может передумают потом, мы ждем братушек
country_event = {
	id = vizan.89
	title = vizan.89.t
	desc = vizan.89.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.89.a			
	}	
}

#эвент ромее. мы тут посидели посовещались и кароч подумали что надо нам чтото с горцами сделать. А то вдруг они опять к персам переметнуться? В нашем альянсе есть друзья арминогрузины, они тоже непрочь обезопасить сови границы. Может нам предложить совместно напасть на горцев? Горцы после этого будут под их юрисдикцией, марионектой кароч
country_event = {
	id = vizan.90
	title = vizan.90.t
	desc = vizan.90.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.90.a	#предложим армиянам
		custom_effect_tooltip = vizan.90.a.tt
		ai_chance = {
			factor = 30 	
		}
		ZAI = {
			country_event = { days = 2 id = vizan.91 }
		}
		hidden_effect = {
			ZGO = {
				country_event = { id = vizan.93 }
			}
		}
	}
	option = {	
		name = vizan.90.b	#сами справимся
		ai_chance = {
			factor = 1 	
		}
		create_wargoal = {
			type = puppet_wargoal_focus
			target = ZGO					
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZGO"
			value = 200
		}
		add_named_threat = { threat = 4 name = vizan.91.threattt }
		hidden_effect = {
			ZGO = {
				country_event = { id = vizan.93 }
			}
		}
	}	
}

#эвент грузиноармиянам. наши союзники ромеи предлагают нам нанести превентивный удар по горцам с целью того чтобы поставить там нужный режим и не допустить их перехода на сторону персии. Они станут нащей марионеткой.
country_event = {
	id = vizan.91
	title = vizan.91.t
	desc = vizan.91.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.91.a
		ai_chance = {
			factor = 30 	
		}
		declare_war_on = {
			type = puppet_wargoal_focus
			target = ZGO
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZGO"
			value = 200
		}
		add_named_threat = { threat = 3 name = vizan.91.threattt }
	}
	option = {	
		name = vizan.91.b
		ai_chance = {
			factor = 1 	
		}
		add_ai_strategy = {
			type = ignore
			id = "ZGO"
			value = 50
		}
		add_ai_strategy = {
			type = befriend
			id = "ZGO"
			value = 50
		}
		ZVZ = {
			country_event = { days = 2 id = vizan.92 }
		}
	}	
}

#эвент ромее. Грузиноармияне не захотели сами наносить удар по горцам. Они сказали - нападайте сами если хотите.
country_event = {
	id = vizan.92
	title = vizan.92.t
	desc = vizan.92.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.92.a	#мы инападем, чуть позже...
		ai_chance = {
			factor = 10 	
		}
		create_wargoal = {
			type = puppet_wargoal_focus
			target = ZGO					
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZGO"
			value = 200
		}
	}
	option = {	
		name = vizan.92.b	#ладно, это плохая идея
		ai_chance = {
			factor = 1 	
		}
	}
	
}	

#эвент Горцам. Розвидка донесла что ромеи и армяне хотят по нам вдарить, превентивный удар кароч, мы должны быть готовы
country_event = {
	id = vizan.93
	title = vizan.93.t
	desc = vizan.93.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.93.a
		add_stability = 0.05
		add_war_support = 0.1
		army_experience = 10
	}	
}

#эвент киберславянам о том что ромея назвала нас еретиками и призвала весь христианский мир объединиться рпотив нас. вот как
country_event = {
	id = vizan.94
	title = vizan.94.t
	desc = vizan.94.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.94.a
		add_opinion_modifier = {
			target = ZVZ
			modifier = eretiki_50
		}
	}	
}

#эвент ромее о том что мы тут стали обсуждать дела вокруг нас и осознали что на севере от нас очент неспокойно. Нам стоит в будущем всеми возмоными способами обезопасить себя. даже если придется нанести самим превентивный удар (а на самом деле нам нужен контроль за торговыми путями там) +новость 881 (в новостях мы догадываемся о целях ромеи)
country_event = {
	id = vizan.95
	title = vizan.95.t
	desc = vizan.95.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.95.a
		add_war_support = 0.01
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.881 }
		}
	}	
}

###эвент ромее что мы подготовили план войны против персии. Мы осуждаем ее захватническую империалистическую политику ага +новость 882 об этом 
country_event = {
	id = vizan.96
	title = vizan.96.t
	desc = vizan.96.d
	picture = GFX_report_event_generic_conference	
	is_triggered_only = yes		
	option = {	
		name = vizan.96.a
		add_named_threat = { threat = 4 name = vizan.96.threatttt }
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.882 }
		}
		create_wargoal = {
			type = puppet_wargoal_focus
			target = ZPA					
		}
		add_ai_strategy = {
			type = antagonize
			id = "ZPA"
			value = 200
		}
	}	
}

###### эвент ромее на какое то событие что произошло в стране и ударило по стабке. Кончилась у меня фантазия на сегодня
country_event = {
	id = vizan.97
	title = vizan.97.t
	desc = vizan.97.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.97.a			
		add_stability = -0.02
		hidden_effect = {
			country_event = { id = vizan.98 days = 12 random = 42 }
		}
	}	
}

##### эвент ромее. снова какая то хрень случилась что по стабке ударила.
country_event = {
	id = vizan.98
	title = vizan.98.t
	desc = vizan.98.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.98.a			
		add_stability = -0.02
		hidden_effect = {
			country_event = { id = vizan.99 days = 15 random = 42 }
		}
	}	
}

##### эвент ромее. опять двадцать-пять. Что то серьезное случилось на учениях. Минус варсапп и стабка
country_event = {
	id = vizan.99
	title = vizan.99.t
	desc = vizan.99.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.98.a			
		add_stability = -0.02
		add_war_support = -0.02
		army_experience = 2
#		hidden_effect = {
#			country_event = { id = vizan.99 days = 12 random = 42 }
#		}
	}	
}

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

### эвент стране-нейм. Ромея желает оказать нашей экономике безвозмездную помощь, этот их фонд Элиферия. Принять или отказать
country_event = {
	id = vizan.101
	title = vizan.101.t
	desc = vizan.101.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.101.a	
		ai_chance = {
			factor = 3 
			modifier = {
				factor = 5
				has_political_power < 300
			}
		}
		hidden_effect = {
			random_list = {
				40 = {
					add_to_variable = { zvz_infl = 1 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				30 = {
					add_to_variable = { zvz_infl = 2 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				30 = {
					add_to_variable = { zvz_infl = 3 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
			}
		}	
		add_political_power = 120
		FROM = {
			country_event = { id = vizan.103 }
		}
	}
	option = {
		name = vizan.101.b
		ai_chance = {
			factor = 6 			
		}
		FROM = {
			country_event = { id = vizan.104 }
		}
	}	
}

### эвент Фонд Элиферия окрыт
country_event = {
	id = vizan.102
	title = vizan.102.t
	desc = vizan.102.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.102.a	
		hidden_effect = {
				news_event = { hours = 3 id = ar_news.883 }
				set_variable = {
					var = zvz_fond_kreditov
					value = 20
				}
				##
				XKO = {
					set_variable = { zvz_infl = 18 } 
				}
				ZAS = {
					set_variable = { zvz_infl = 8 } 
				}
				ZAI = {
					set_variable = { zvz_infl = 12 } 
				}
				ZVA = {
					set_variable = { zvz_infl = 7 } 
				}
				ZML = {
					set_variable = { zvz_infl = 5 } 
				}
				ZGS = {
					set_variable = { zvz_infl = 14 } 
				}
				ZGO = {
					set_variable = { zvz_infl = 8 } 
				}
				ZOT = {
					set_variable = { zvz_infl = 9 } 
				}				
			}
	}	
}

#[FROM.GetNameDef] принимают нашу финансовую помощь. Влияние фонад там увеличлось на
country_event = {
	id = vizan.103
	title = vizan.103.t
	desc = vizan.103.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.103.a	
		custom_effect_tooltip = vizan.103.a.tt # наше влияние увеличится на 1-3%, из фонда убрано 30 фоллисов
		subtract_from_variable = { zvz_fond_kreditov = 30 } 
		clamp_variable = {
			var = zvz_fond_kreditov
			min = 0
			max = 1000
		}
	}	
}

#[FROM.GetNameDef] НЕ принимают нашу финансовую помощь. 
country_event = {
	id = vizan.104
	title = vizan.104.t
	desc = vizan.104.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.104.a	
	}	
}

##### эвент стране-цели. Мы зафиксировали рост активности оппозиции. Вот дела
country_event = {
	id = vizan.105
	title = vizan.105.t
	desc = vizan.105.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.104.a	
		add_stability = -0.01
		set_country_flag = oppozition_aktivated_fond_flag
	}	
}

##### эвент стране-цели. в стране выступают всякие оппозиционеры. Что им и надо то.
country_event = {
	id = vizan.106
	title = vizan.106.t
	desc = vizan.106.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.106.a	#puskai
		ai_chance = {
			factor = 5 			
		}
		random_list = {
				25 = {
					modifier = {
						factor = 1.1
						has_stability > 0.5
					}
					add_political_power = -5					
					add_to_variable = { zvz_infl = 1 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.5
					}
					add_stability = -0.01
					add_to_variable = { zvz_infl = 2 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.3
					}
					add_stability = -0.02
					add_to_variable = { zvz_infl = 3 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.2
					}
					add_stability = -0.03
					add_to_variable = { zvz_infl = 4 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
		}		
		if = {
			limit = {
				has_government = fascism
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.03
			}
		}
		if = {
			limit = {
				has_government = neutrality
			}
			add_popularity = {
				ideology = neutrality
				popularity = -0.03
			}
		}		
		hidden_effect = {
			FROM = {
				country_event = { id = vizan.107 }
			}
		}
	}
	option = {
		name = vizan.106.b	#podavit!
		ai_chance = {
			factor = 5 			
		}
		add_stability = -0.05
		add_political_power = -35
		hidden_effect = {
			FROM = {
				country_event = { id = vizan.108 }
			}
		}
	}	
}

## нам удалось провести митинги оппозиции в стране[FROM.GetNameDef] влияние фонда подросло
country_event = {
	id = vizan.107
	title = vizan.107.t
	desc = vizan.107.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.107.a	
		
	}	
}

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

##### эвент стране-цели. Наши СМИ стали печатать полную дичь про нашу власть. Что делать? Пускй говорят иоли запретить?
country_event = {
	id = vizan.109
	title = vizan.109.t
	desc = vizan.109.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.109.a	#puskai
		ai_chance = {
			factor = 5 			
		}
		random_list = {
			50 = {
				modifier = {
					factor = 1.1
					has_stability > 0.5
				}
				add_to_variable = { zvz_infl = 3 }
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
			50 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_to_variable = { zvz_infl = 6 }				
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
		}
		random_list = {
			25 = {
				add_stability = -0.02
				add_popularity = {
					ideology = democratic
					popularity = 0.02
				}
			}
			25 = {
				add_stability = -0.03
				add_popularity = {
					ideology = democratic
					popularity = 0.03
				}
			}
			25 = {
				add_stability = -0.04
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
			25 = {
				add_stability = -0.05
				add_popularity = {
					ideology = democratic
					popularity = 0.05
				}
			}
		}		
		hidden_effect = {
			FROM = {
				country_event = { id = vizan.110 }
			}
		}
	}
	option = {
		name = vizan.109.b	#podavit!
		ai_chance = {
			factor = 5 			
		}		
		add_political_power = -65
		hidden_effect = {
			FROM = {
				country_event = { id = vizan.111 }
			}
		}
	}	
}

## нам удалось профинансировать СМИ там
country_event = {
	id = vizan.110
	title = vizan.110.t
	desc = vizan.110.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.110.a	
		
	}	
}

## нам НЕ удалось  профинансировать СМИ там
country_event = {
	id = vizan.111
	title = vizan.111.t
	desc = vizan.111.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.111.a	
		
	}	
}

## стране-цели. Как сообщают экономосты ромея вдруг с чего то начала выкупать наши внешние долги. А многие политики и не против. Странное дело.
country_event = {
	id = vizan.112
	title = vizan.112.t
	desc = vizan.112.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.112.a	
		add_stability = -0.05
		hidden_effect = {
			random_list = {
					25 = {
						modifier = {
							factor = 1.1
							has_stability > 0.5
						}
						add_to_variable = { zvz_infl = 7 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.5
						}
						add_to_variable = { zvz_infl = 9 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.4
						}
						add_to_variable = { zvz_infl = 12 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.3
						}
						add_to_variable = { zvz_infl = 17 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
			}
		}
	}	
}

## стране-цели. Как сообщают экономосты ромея начала активно скупать акции многих наших компаний. Да что уж говорить, и сами компании тоже.
country_event = {
	id = vizan.113
	title = vizan.113.t
	desc = vizan.113.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.113.a	
		add_stability = -0.03
		hidden_effect = {
			random_list = {
					25 = {
						modifier = {
							factor = 1.1
							has_stability > 0.5
						}
						add_to_variable = { zvz_infl = 5 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.5
						}
						add_to_variable = { zvz_infl = 7 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.4
						}
						add_to_variable = { zvz_infl = 9 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
					25 = {
						modifier = {
							factor = 1.1
							has_stability < 0.3
						}
						add_to_variable = { zvz_infl = 12 }
						clamp_variable = {
							var = zvz_infl
							min = 0
							max = 100
						}
					}
			}
		}
	}	
}

## стране-цели. сегодня в городе задержали каких то мамкиных либералов, они листовки раздавали. Очень плохого содержания. И где они их взяли? (минус стабка)
country_event = {
	id = vizan.114
	title = vizan.114.t
	desc = vizan.114.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.114.a	
		add_stability = -0.02
	}	
}

##### эвент стране-цели. в стране проводится крупный марш оппозиции. Народ призывает к реыормам и смене власти.
country_event = {
	id = vizan.115
	title = vizan.115.t
	desc = vizan.115.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.115.a	#разогнать их!
		ai_chance = {
			factor = 5 			
		}
		random_list = {
				25 = {
					modifier = {
						factor = 1.1
						has_stability > 0.5
					}
					add_stability = -0.05
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.5
					}
					add_stability = -0.06
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.4
					}
					add_stability = -0.08
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.3
					}
					add_stability = -0.11
				}
		}	
		add_political_power = -30		
	}
	option = {
		name = vizan.115.b	# хорошо мы пойдем на уступки
		ai_chance = {
			factor = 5 			
		}
		if = {
			limit = {
				OR = {
					has_government = fascism
					has_government = neutrality
				}	
			}
			random_list = {
				25 = {
					modifier = {
						factor = 1.1
						has_stability > 0.5
					}
					add_popularity = {
						ideology = democratic
						popularity = 0.05
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.5
					}
					add_popularity = {
						ideology = democratic
						popularity = 0.06
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.4
					}
					add_popularity = {
						ideology = democratic
						popularity = 0.08
					}
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.3
					}
					add_popularity = {
						ideology = democratic
						popularity = 0.10
					}
				}
			}
			add_stability = -0.01			
		}
		
	}	
}

## тестовый эвент на фоллисы на воротник
country_event = {
	id = vizan.116
	title = vizan.116.t
	desc = vizan.116.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.116.a	
		add_to_variable = { zvz_fond_kreditov = 100 }
			clamp_variable = {
				var = zvz_fond_kreditov
				min = 0
				max = 1000
			}
	}	
}

## эвент государству цели о том что в стране стало популярно переосмысливать историю. Дескать мы не такие уж и хорошие ребята
country_event = {
	id = vizan.117
	title = vizan.117.t
	desc = vizan.117.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.117.a		
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.5
				}
				add_stability = -0.02
				add_to_variable = { zvz_infl = 1 }
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_stability = -0.03
				add_to_variable = { zvz_infl = 2 }
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_stability = -0.04
				add_to_variable = { zvz_infl = 3 }
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.35
				}
				add_stability = -0.05
				add_to_variable = { zvz_infl = 4 }
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
		}
	}	
}

## эвент государству цели о том что в стране стало модно задвигать темы о многонациональности страны. Кароч всякие нацики активировались.
country_event = {
	id = vizan.118
	title = vizan.118.t
	desc = vizan.118.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.118.a		
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.5
				}
				add_stability = -0.02							
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_stability = -0.03				
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_stability = -0.04	
				add_war_support = -0.01	
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.35
				}
				add_stability = -0.05	
				add_war_support = -0.02
			}
		}
	}	
}

## эвент государству цели о том что в стране произошел акт вандализма в одном из крупных городов. Уничтожен исторический памятник. (минус страбка)
country_event = {
	id = vizan.119
	title = vizan.119.t
	desc = vizan.119.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.119.a		
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.5
				}
				add_stability = -0.01				
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_stability = -0.02				
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.45
				}
				add_stability = -0.03				
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_stability = -0.04				
			}
		}
	}	
}

#### эвент стране-цели. Мы поймали группу вандалов что хотела осквернить памятник в одном из наших городов. Мы молодцы
country_event = {
	id = vizan.120
	title = vizan.120.t
	desc = vizan.120.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.120.a		
		random_list = {
			50 = {
				modifier = {
					factor = 1.1
					has_stability > 0.6
				}
				add_stability = 0.02
				subtract_from_variable = { zvz_infl = 3 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
			}
			50 = {
				modifier = {
					factor = 1.1
					has_stability < 0.6
				}
				add_stability = 0.03
				subtract_from_variable = { zvz_infl = 5 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}				
			}			
		}
	}	
}

#### эвент стране-цели. в стране становится популярно всё ромейское. Мода, фильмы, вещи, наводнившие наши рынки. 
country_event = {
	id = vizan.121
	title = vizan.121.t
	desc = vizan.121.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.121.a		
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.6
				}
				add_to_variable = { zvz_infl = 2 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.02
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.6
				}
				add_stability = -0.01
				add_to_variable = { zvz_infl = 3 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.03
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_stability = -0.02
				add_to_variable = { zvz_infl = 4 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_stability = -0.03
				add_to_variable = { zvz_infl = 5 } 
				clamp_variable = {
					var = zvz_infl
					min = 0
					max = 100
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.05
				}
			}
		}
	}	
}

## эвент государству цели о том что в стране походу майдан. чо делать то? (новость 884 о том чтопереворот)
country_event = {
	id = vizan.122
	title = vizan.122.t
	desc = vizan.122.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	immediate = {
		set_temp_variable = { temp_d = party_popularity@democratic }
		set_temp_variable = { temp_s = has_stability }
		set_temp_variable = { temp_v = zvz_infl }
		multiply_temp_variable = { temp_d = 2.2 }
		subtract_from_temp_variable = { temp_d = temp_s }
		divide_temp_variable = { temp_d = 2 }
		divide_temp_variable = { temp_v = 400 }
#		add_to_temp_variable = { temp_d = 0.05 }
		add_to_temp_variable = { temp_d = temp_v }
		clamp_temp_variable = {
			var = temp_d
			min = 0.15
			max = 0.9
		}
		set_variable = { grj_modiff_var = temp_d } 
#		custom_effect_tooltip = vizan.122.tt
		custom_effect_tooltip = vizan.122.tt2
	}
	option = {
		name = vizan.122.a		#	 мы принимаем новую власть.
		ai_chance = {
			factor = 10 	
		}
		set_politics = {
			ruling_party = democratic
		}
		add_popularity = {
			ideology = democratic
			popularity = 0.6
		}
		add_timed_idea = {
			idea = zvz_pobeda_maidana
			days = 220
		}
		if = {
			limit = {
				has_idea = paternalismdrift
			}
			remove_ideas = paternalismdrift
		}
		if = {
			limit = {
				has_idea = omniparismdrift
			}
			remove_ideas = omniparismdrift
		}
		if = {
			limit = {
				has_idea = monarkizm
			}
			remove_ideas = monarkizm
		}
		hidden_effect = {
			country_event = { id = ar_political.806 }
			ZVZ = {
				country_event = { id = vizan.123 }
			}
			news_event = { hours = 3 id = ar_news.884 }
		}
	}
	option = {
		name = vizan.122.b		#	 подавить!!	
		trigger = {
			NOT = { has_government = democratic }
		}		
		ai_chance = {
			factor = 2 	
		}
		random_list = {
			70 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				start_civil_war = { ideology = democratic size = grj_modiff_var }
				country_event = { id = vizan.127 }
			}
			30 = {
				modifier = {
					factor = 1.1
					has_stability > 0.4
				}
				add_stability = -0.05				
				add_timed_idea = {
					idea = zvz_podavlenie_maidana
					days = 250
				}
			}
		}			
	}
	option = {
		name = vizan.122.c		#	 подавление революции всеми имеющимися силами!
		trigger = {
			 has_political_power > 150
			 has_war_support > 0.5
		}
		ai_chance = {
			factor = 30 	
		}
		custom_effect_tooltip = vizan.122.c.tt 	#	этот вариант доступен потому что мы имеем свыше 150 ПП и варсаппорт свыше 50 
		add_stability = -0.05
		army_experience = 5		
		add_timed_idea = {
			idea = zvz_podavlenie_maidana
			days = 270
		}
	}	
}

## эвент ромее. нам удалось без особого труда поставить своих людей у власти там в стране. Что делаем дальше? Марионетим или нет?
country_event = {
	id = vizan.123
	title = vizan.123.t
	desc = vizan.123.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.123.a		#	 да, конечно
		ai_chance = {
			factor = 50 	
		}
		FROM = {
			country_event = { id = vizan.124 }
		}
	}
	option = {
		name = vizan.123.b		#	 нет, мы и правда за свободу
		ai_chance = {
			factor = 1 	
		}
	}
}

## эвент стране где произошел мирный майдан о том что те чуваки что сейчас стали властью, бывшая оппозиция которой продвигают фишки типа заграница нам и дальше поможет, кароч хотят чтобы мы стали по факту марионеткой великой и свободной ромеи (да или нет)
country_event = {
	id = vizan.124
	title = vizan.124.t
	desc = vizan.124.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.124.a		#	 да, конечно
		ai_chance = {
			factor = 50 	
		}
		add_political_power = 150
		ZVZ = {
			country_event = { id = vizan.125 }
		}
		add_ai_strategy = {
			type = alliance
			id = "ZVZ"
			value = 200
		}
	}
	option = {
		name = vizan.124.b		#	 нет, мы свободны
		ai_chance = {
			factor = 1 	
		}
		add_stability = 0.05
		ZVZ = {
			country_event = { id = vizan.126 }
		}
	}
}

# эвент Ромее из FROM пришло согласие передать управление их страной в наши чуткие лапы
country_event = {
	id = vizan.125
	title = vizan.125.t
	desc = vizan.125.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.125.a		
		puppet = FROM		
	}	
}

# эвент Ромее из FROM пришел отказ стать марионеткой. Двуличная оппозиция, гавнари
country_event = {
	id = vizan.126
	title = vizan.126.t
	desc = vizan.126.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.126.a			
	}	
}

# эвент стране цели что наша страна охвачена гражданской войной. Ух эти либерасты довели страну то, ну ничего мы их одолеем.
country_event = {
	id = vizan.127
	title = vizan.127.t
	desc = vizan.127.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.127.a	
		hidden_effect = {
			every_other_country = {
				limit = {
					original_tag = ROOT
					has_government = democratic				
				}
				country_event = { days = 2 id = vizan.128 }				
			}
		}
	}	
}

# эвент стране цели что откололась. Там где майданутые сидят. Мы будем просить ромею помочь?
country_event = {
	id = vizan.128
	title = vizan.128.t
	desc = vizan.128.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.128.a	
		ai_chance = {
			factor = 100 	
		}
		custom_effect_tooltip = vizan.128.a.tt # после победы мы станем их марионеткой
		set_country_flag = pro_romeya_maidan_flag
		ZVZ = {
			country_event = { id = vizan.130 }
		}
	}
	option = {
		name = vizan.128.b	
		ai_chance = {
			factor = 1 	
		}
	}	
}

#### эвент стране-цели. в столицу прибыл знаменитый Константинопольский театр на гастроли. Здорово то как
country_event = {
	id = vizan.129
	title = vizan.129.t
	desc = vizan.129.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.129.a
		add_political_power = 30
		add_stability = 0.01		
		hidden_effect = {		
			random_list = {
				25 = {	
					modifier = {
						factor = 1.1
						has_stability > 0.6
					}
					add_to_variable = { zvz_infl = 2 } 
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}				
				}
				25 = {	
					modifier = {
						factor = 1.1
						has_stability < 0.6
					}
					add_to_variable = { zvz_infl = 4 } 
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}				
				}
				25 = {	
					modifier = {
						factor = 1.1
						has_stability < 0.5
					}
					add_to_variable = { zvz_infl = 5 } 
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}				
				}
				25 = {
					modifier = {
						factor = 1.1
						has_stability < 0.4
					}
					add_to_variable = { zvz_infl = 7 } 
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}				
				}
			}
		}	
	}	
}

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

# эвент майданутой стране что ромея финансирует наших добровольцев.
country_event = {
	id = vizan.131
	title = vizan.131.t
	desc = vizan.131.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.131.a	
		army_experience = 3
		add_war_support = 0.01
		add_political_power = 80
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.4
				}
				add_manpower = 2357
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_manpower = 4587
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.35
				}
				add_manpower = 6984
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.3
				}
				add_manpower = 8564
			}
		}		
	}		
}

# эвент майданутой стране что ромея прислала нам пушки
country_event = {
	id = vizan.132
	title = vizan.132.t
	desc = vizan.132.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.132.a		
		add_war_support = 0.01
		FROM = {
			send_equipment = {
				target = ROOT
				type = infantry_equipment
				amount = 350
			}
		}		
	}		
}

# эвент майданутой стране что после того как мы одолели в революции ромея обратилась к нам с предложением помочь нашим демокр институтам. Мы станем их марионеткой + новость 885
country_event = {
	id = vizan.133
	title = vizan.133.t
	desc = vizan.133.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.133.a		
		FROM = {
			puppet = ROOT
		}
		hidden_effect = {
			news_event = { hours = 3 id = ar_news.885 }
		}		
	}		
}

# эвент диметрии о том что ромеи отправляют нам помощь, пушки там, людей. Они намекают о том что скоро придется нам неспокойно (задел на будуще расширение границ в результате придуманного конфликта)
country_event = {
	id = vizan.134
	title = vizan.134.t
	desc = vizan.134.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.134.a	
		add_manpower = 1489
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 350
			producer = ZVZ
		}
		army_experience = 3
		add_war_support = 0.01
		hidden_effect = {
			add_manpower = 12874			
		}		
	}		
}

# эвент ромее. Мы попытаемся подставить индусов что около границы диметрии, типа они на нас сами нападают и убивают. А потом подняв волну недовольства мы сможем получить цель войны против них. Если всё получится конечно.
country_event = {
	id = vizan.135
	title = vizan.135.t
	desc = vizan.135.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.135.a	
		ZDT = {
			country_event = { days = 2 id = vizan.136 }
		}		
	}		
}

# эвент дециметрии о том что ромея сказала что следует спланировать и подготовить конфликт на границе чтобы создать прецедент для наступления вглубь полуострова (мы можем сделать и так что типа ничего не вышло, мы же не очень то хотим войны)
country_event = {
	id = vizan.136
	title = vizan.136.t
	desc = vizan.136.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.136.a	
		ai_chance = {
			factor = 200 	
		}			
		add_state_claim = 425
		declare_war_on = {
			type = take_state_focus
			target = ZVJ
			generator = { 425 }
		}
	}
	option = {
		name = vizan.136.b	
		ai_chance = {
			factor = 1 	
		}
		custom_effect_tooltip = vizan.136.b.tt 	
		ZVZ = {
			country_event = { days = 5 id = vizan.137 }
		}
	}	
}

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

##### эвент стране-цели. в стране набирает обороты акция оппозиции по дискредитации нашей власти
country_event = {
	id = vizan.138
	title = vizan.138.t
	desc = vizan.138.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.138.a
		hidden_effect = {
			random_list = {
				50 = {
					modifier = {
						factor = 1.1
						has_stability > 0.5
					}
					add_to_variable = { zvz_infl = 3 }
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
				50 = {
					modifier = {
						factor = 1.1
						has_stability < 0.5
					}
					add_to_variable = { zvz_infl = 6 }				
					clamp_variable = {
						var = zvz_infl
						min = 0
						max = 100
					}
				}
			}
		}
		random_list = {
			25 = {
				modifier = {
					factor = 1.1
					has_stability > 0.5
				}
				add_stability = -0.02
				add_popularity = {
					ideology = democratic
					popularity = 0.02
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.5
				}
				add_stability = -0.03
				add_popularity = {
					ideology = democratic
					popularity = 0.03
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.4
				}
				add_stability = -0.04
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
			25 = {
				modifier = {
					factor = 1.1
					has_stability < 0.3
				}
				add_stability = -0.05
				add_popularity = {
					ideology = democratic
					popularity = 0.05
				}
			}
		}		
	}		
}

# эвент ромее.  в константинополе на поломничество приехала делегация священиков из иерусалима. Они там какие то совсем дикие вещи говорили, мол наше православие не такое и вообще наши святын это их святыни. Мы же думаем что наоборот. Вот наглость!
country_event = {
	id = vizan.139
	title = vizan.139.t
	desc = vizan.139.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		country_exists = ZGS
		NOT = {
			has_war_with = ZGS
		}
	}	
	option = {
		name = vizan.139.a	# спокойствие
		ai_chance = {
			factor = 200 	
		}	
		hidden_effect = {
			if = {
				limit = {
					country_exists = XKO
					NOT = {
						has_war_with = XKO
					}
				}
				country_event = { id = vizan.141 days = 12 random = 48 }
			}
		}
	}
	option = {
		name = vizan.139.b	# вот наглецы!
		ai_chance = {
			factor = 1 	
		}		
		ZGS = {
			effect_tooltip = {
				add_opinion_modifier = {
					target = ZVZ
					modifier = raznoglasia_15
				}
			}				
			country_event = { id = vizan.140 }			
		}
		hidden_effect = {
			if = {
				limit = {
					country_exists = XKO
					NOT = {
						has_war_with = XKO
					}
				}
				country_event = { id = vizan.141 days = 15 random = 48 }
			}
		}		
	}	
}

### эвент иерусалиму что ромейцы оскорбили их паломников в константинополе (ухудшение отношений)
country_event = {
	id = vizan.140
	title = vizan.140.t
	desc = vizan.140.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.140.a	
		add_opinion_modifier = {
			target = ZVZ
			modifier = raznoglasia_15
		}		
	}		
}

# эвент ромее.  на приграничный с конийской границей город был совершен набег! бандиты обокрали один из банков и скрылись через конийскую границу. Власти конии искренне недоумевают что это. Наши действия. ЗАтребовать от них разрешения на обыск приграничной территории или просто попросить поискать злодеев у себя там
country_event = {
	id = vizan.141
	title = vizan.141.t
	desc = vizan.141.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	trigger = {
		country_exists = XKO
		NOT = {
			has_war_with = XKO
		}
	}	
	option = {
		name = vizan.141.a	#затребовать расследование
		ai_chance = {
			factor = 1 	
		}
		add_political_power = -20
		XKO = {							
			country_event = { id = vizan.142 }			
		}
#		hidden_effect = {
#			if = {
#				limit = {
#					country_exists = XKO
#					NOT = {
#						has_war_with = XKO
#					}
#				}
#				country_event = { id = vizan.141 days = 12 random = 48 }
#			}
#		}
	}
	option = {
		name = vizan.141.b	# вежливо попросить
		ai_chance = {
			factor = 50 	
		}	
		add_political_power = -20
		XKO = {							
			country_event = { id = vizan.145 }			
		}
#		hidden_effect = {
#			if = {
#				limit = {
#					country_exists = XKO
#					NOT = {
#						has_war_with = XKO
#					}
#				}
#				country_event = { id = vizan.141 days = 15 random = 48 }
#			}
#		}		
	}	
}

### эвент конии. РОмейцы утверждают что совершившие грабеж на их территории бандиты скрылись у нас за границей. Они требуют пустить их людей к нам на пограничную полосу чтобы те провели расследование. Дрпустить или послать их с такими то требованиями?
country_event = {
	id = vizan.142
	title = vizan.142.t
	desc = vizan.142.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.142.a	# да они ошалели, не пустим никого
		ai_chance = {
			factor = 50 	
		}
		add_opinion_modifier = {
			target = ZVZ
			modifier = raznoglasia_15
		}
		ZVZ = {
			country_event = { id = vizan.143 }
		}	
	}	
	option = {
		name = vizan.142.b	# ладно. пусть ищут
		ai_chance = {
			factor = 1 	
		}
		ZVZ = {
			country_event = { days = 5 id = vizan.144 }
		}
		
	}	
}

### эвент ромее. конийцы не пустили на с на свою территорию с обыском
country_event = {
	id = vizan.143
	title = vizan.143.t
	desc = vizan.143.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.143.a	
		effect_tooltip = {
			XKO = {
				add_opinion_modifier = {
					target = ZVZ
					modifier = raznoglasia_15
				}
			}
		}				
	}		
}

### эвент ромее. конийцы с горем пополам пустили нас на свою террииторию с расследованием. МЫ ничего не нашли. Это сговор конийцев и мафии?
country_event = {
	id = vizan.144
	title = vizan.144.t
	desc = vizan.144.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.144.a	
		add_stability = -0.01				
	}		
}

### эвент конийцам. РОмеи вежливо просят предоставить им доступ на свою приграничную террииторию с расследованием одного их преступлений в их приграничном городе. Просят вежливо. Пусть заполнят нужные бумаги и ищут
country_event = {
	id = vizan.145
	title = vizan.145.t
	desc = vizan.145.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.145.a	
		army_experience = 1
		effect_tooltip = {
			ZVZ = {
				country_event = { days = 4 id = vizan.146 }
			}
		}
		hidden_effect = {
			random_list = {
				30 = {
					ZVZ = {
						country_event = { days = 4 id = vizan.146 }
					}
				}
				70 = {
					ZVZ = {
						country_event = { days = 4 id = vizan.147 }
					}
				}
			}	
		}
	}		
}

### эвент ромее. конийцы нас пустили на свою территорию, мы провели расследование и ... ничего не нашли
country_event = {
	id = vizan.146
	title = vizan.146.t
	desc = vizan.146.d
	picture = GFX_report_event_generic_conference
	is_triggered_only = yes	
	option = {
		name = vizan.146.a	
		add_stability = -0.01					
	}		
}

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