
# ####   воздействие на соседей			#еб*на нога, тут надо все условия править жи

# omniparism_extends_to_neighbors = {	
	# the_propaganda_of_omniparism = {
		# icon = generic_decision
		# available = {
			# FROM = {
				# NOT = { has_government = communism }				
				# is_neighbor_of = ROOT				
			# }
			# FROM = {
				# NOT = { has_idea = zapretit_agitatsiu_omnikov }
			# }			
			# FROM = {
				# ic_ratio = {
					# tag = ROOT
					# ratio < 0.5
				# }
			# }
			# ROOT = {
				# has_stability > 0.70
			# }
		# }
		# visible = {
			# FROM = { exists = yes }	
			# FROM = {
				# NOT = { has_government = communism }
				# is_neighbor_of = ROOT
				# NOT = { has_war_with = ROOT }
			# }			
		# }
		# target_trigger = {
			# FROM = {
				# NOT = { has_government = communism }
				# NOT = { has_idea = zapretit_agitatsiu_omnikov }
				# is_neighbor_of = ROOT
			# }
		# }
		# complete_effect = {
			# FROM = { add_timed_idea = { idea = omniparismdrift days = 60 } }
		# }
		# highlight_states = {
		# }
		# ai_will_do = {
			# base = 0			
		# }
		# cost = 75
		# fire_only_once = no	
		# days_remove = 60
		# days_re_enable = 50
		# war_with_target_on_remove = yes
# #		complete_effect = {
# #			custom_effect_tooltip = the_propaganda_of_omniparism_podskazka
# #			show_ideas_tooltip = agitatia_omnikov_natidea
# #			custom_effect_tooltip = the_propaganda_of_omniparism_podskazka_2
# #			FROM = {
# #				country_event = {
# #					id = omnipar.1
# #				}
# #			}
# #		}		
	# }
# }

# ####   приглашение в союз
# omniparism_gathers_an_soyz = {	
	# send_an_invitation_to_soyz = {
		# icon = generic_civil_support		
		# available = {
			# FROM = {
				# has_government = communism				
				# is_neighbor_of = ROOT
			# }			
			# ROOT = {
				# has_stability > 0.75
				# is_faction_leader = yes
			# }
		# }
		# visible = {
			# FROM = { exists = yes }	
			# FROM = {
				# has_government = communism
				# is_neighbor_of = ROOT
				# NOT = {
					# is_in_faction_with = ROOT
					# has_war_with = ROOT
				# }
			# }
			# ROOT = {
				# is_faction_leader = yes
			# }
		# }
		# target_trigger = {
			# FROM = {
				# has_government = communism				
				# is_neighbor_of = ROOT
			# }
		# }
		# highlight_states = {

		# }
		# ai_will_do = {
			# base = 0			
		# }
		# cost = 10
		# fire_only_once = no	
		# days_re_enable = 100
# #		war_with_target_on_remove = yes
		# complete_effect = {
			# custom_effect_tooltip = tyt_event_budet
			# FROM = {
				# country_event = {
					# id = omnipar.2
				# }
			# }
		# }		
	# }
# }


# political_actions = {
	# zapretit_omniparism_v_strane_decis = {
		# icon = generic_ignite_civil_war		
		# available = {
			# NOT = {
				# has_idea = zapretit_agitatsiu_omnikov
				# has_government = communism
			# }
			# any_other_country = {
				# is_neighbor_of = ROOT
				# has_government = communism
			# }
		# }
		# visible = {			
			# any_other_country = {
				# is_neighbor_of = ROOT
				# has_government = communism
			# }
			# NOT = {
				# has_idea = zapretit_agitatsiu_omnikov
				# has_government = communism
			# }
		# }
		# cost = 20
		# fire_only_once = no			
		# complete_effect = {
			# custom_effect_tooltip = zapretit_omniparism_v_strane_tt
			# add_ideas = zapretit_agitatsiu_omnikov	
		# }
		# ai_will_do = {
			# factor = 0			
		# }
	# }
	# razreshit_omniparism_v_strane_decis = {
		# icon = generic_ignite_civil_war		
		# available = {			
			# has_idea = zapretit_agitatsiu_omnikov			
		# }
		# visible = {			
			# has_idea = zapretit_agitatsiu_omnikov			
		# }
		# cost = 20
		# fire_only_once = no			
		# complete_effect = {
			# custom_effect_tooltip = razreshit_omniparism_v_strane_tt
			# remove_ideas = zapretit_agitatsiu_omnikov	
		# }
		# ai_will_do = {
			# factor = 10			
		# }
	# }
# }
