focus_tree = {
	id = ZMN
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZMN
		}
	}
	default = no
	continuous_focus_position = { x = 70 y = 15 }
	focus = {
		id = zmn_army_1
		icon = GFX_goal_zmn_army_1
		cost = 10
		x = 23
		y = 0
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			army_experience = 2
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zmn_army_2
		icon = GFX_goal_generic_small_arms
		cost = 10
		prerequisite = {
			focus = zmn_army_1
		}
		x = 23
		y = 1
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zmn_jungo_army_chief_2
		}
	}
	focus = {
		id = zmn_mass_army_1
		icon = GFX_focus_generic_combined_arms
		cost = 10
		prerequisite = {
			focus = zmn_army_2
		}
		mutually_exclusive = {
			focus = zmn_proff_army_1
		}
		x = 22
		y = 2		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_manpower < 450000
			}
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			army_experience = 2
			add_ideas = ar_massarmy	
			add_stability = -0.05
			add_war_support = -0.05
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					remove_ideas = ar_professarmy
				}
			}
		}
	}
	focus = {
		id = zmn_proff_army_1
		icon = GFX_focus_generic_military_mission
		cost = 10
		prerequisite = {
			focus = zmn_army_2
		}
		mutually_exclusive = {
			focus = zmn_mass_army_1
		}
		x = 24
		y = 2
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 2
				has_manpower > 1700000
			}
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			army_experience = 2
			add_ideas = ar_professarmy	
			add_stability = 0.01
			add_war_support = 0.01
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarmy
					}
					remove_ideas = ar_massarmy
				}
			}
		}
	}
	focus = {
		id = zmn_army_3
		icon = GFX_goal_rhineland
		cost = 10
		prerequisite = {
			focus = zmn_mass_army_1
			focus = zmn_proff_army_1
		}		
		x = 23
		y = 3
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zmn_jungo_army_chief_3
			custom_effect_tooltip = zmn_army_3_tt
			army_experience = 2
			add_war_support = 0.03
			if = {
				limit = {
					has_idea = ar_massarmy
				}
				swap_ideas = {
					remove_idea = ar_massarmy
					add_idea = ar_massarm2
				}					
			}
			if = {
				limit = {
					has_idea = ar_professarmy
				}
				swap_ideas = {
					remove_idea = ar_professarmy
					add_idea = ar_shkolaofficerov
				}					
			}			
		}
	}
	focus = {
		id = zmn_army_4
		icon = GFX_goal_generic_army_doctrines
		cost = 10
		prerequisite = {
			focus = zmn_army_3			
		}		
		x = 23
		y = 4
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = zmn_army_3_tt
			army_experience = 2
			add_war_support = 0.03
			if = {
				limit = {
					has_idea = ar_massarm2
				}
				swap_ideas = {
					remove_idea = ar_massarm2
					add_idea = ar_massweaponrifles
				}					
			}
			if = {
				limit = {
					has_idea = ar_shkolaofficerov
				}
				swap_ideas = {
					remove_idea = ar_shkolaofficerov
					add_idea = ar_elitnayaarmiya
				}					
			}
		}
	}
	focus = {
		id = zmn_army_5
		icon = GFX_focus_secret_rearmament
		cost = 10
		prerequisite = {
			focus = zmn_army_4			
		}		
		x = 23
		y = 5
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_ideas = zmn_shu_guard_imperat
		}
	}
	focus = {
		id = zmn_flot_1
		icon = GFX_goal_zmn_flot_1
		cost = 10
		x = 28
		y = 0
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			navy_experience = 15
			add_war_support = 0.02
		}
	}	
	focus = {
		id = zmn_big_flot_1
		icon = GFX_goal_generic_navy_battleship
		cost = 10
		prerequisite = {
			focus = zmn_flot_1
		}
		x = 27
		y = 1
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				all_owned_state = {
					OR = {
						is_coastal = no
						dockyard < 1
					}
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			navy_experience = 15
			add_war_support = 0.01
			add_doctrine_cost_reduction = {
				name = fleet_in_being_bonus
				cost_reduction = 0.25
				uses = 2
				category = fleet_in_being_tree
			}
		}
	}
	focus = {
		id = zmn_small_flot_1
		icon = GFX_goal_generic_navy_submarine
		cost = 10
		prerequisite = {
			focus = zmn_flot_1
		}
		x = 29
		y = 1
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				all_owned_state = {
					OR = {
						is_coastal = no
						dockyard < 1
					}
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			navy_experience = 15
			add_war_support = 0.01
			add_doctrine_cost_reduction = {
				name = sub_op_bonus
				cost_reduction = 0.25
				uses = 2
				technology = convoy_interdiction_ti
				technology = unrestricted_submarine_warfare
				technology = wolfpacks
				technology = advanced_submarine_warfare
				technology = combined_operations_raiding
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				set_technology = { cruiser_submarines = 1 }
			}
		}
	}
	focus = {
		id = zmn_oborona_konvoev
		icon = GFX_focus_generic_cruiser2
		cost = 10
		prerequisite = {
			focus = zmn_small_flot_1
		}
		x = 30
		y = 2
		ai_will_do = {
			factor = 3			
		}
		available = {
			
		}
		completion_reward = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = zmn_oborona_konvoev
				cost_reduction = 0.25
				uses = 2
				category = convoy_defense_tree
			}
		}
	}
	focus = {
		id = zmn_desantnye_korabliki
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 10
		prerequisite = {
			focus = zmn_big_flot_1
			focus = zmn_small_flot_1
		}
		x = 26
		y = 2
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {	
			OR = {
				threat > 0.15
				has_war = yes
			}
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}			
		}
		completion_reward = {
			add_war_support = 0.01
			army_experience = 2
			navy_experience = 5
			add_ideas = zmn_jungo_flot_desant
		}
	}
	focus = {
		id = zmn_desant_army_1
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = zmn_mass_army_1
			focus = zmn_proff_army_1
		}
		prerequisite = {
			focus = zmn_desantnye_korabliki			
		}		
		x = 25
		y = 3
		ai_will_do = {
			factor = 3
		}
		available = {
			has_idea = zmn_jungo_flot_desant
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_war_support = 0.01
			swap_ideas = {
				remove_idea = zmn_jungo_flot_desant
				add_idea = zmn_jungo_flot_desant_2
			}
		}
	}
	focus = {
		id = zmn_big_flot_2
		icon = GFX_goal_generic_navy_carrier
		cost = 10
		prerequisite = {
			focus = zmn_big_flot_1
		}
		x = 27
		y = 3
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				all_owned_state = {
					OR = {
						is_coastal = no
						dockyard < 1
					}
				}
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = cr_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
	}
	focus = {
		id = zmn_small_flot_2
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 10
		prerequisite = {
			focus = zmn_small_flot_1
		}
		x = 29
		y = 3
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				all_owned_state = {
					OR = {
						is_coastal = no
						dockyard < 1
					}
				}
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = dd_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = dd_tech
			}
		}
	}
	focus = {
		id = zmn_submarine_det
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 10
		prerequisite = {
			focus = zmn_small_flot_2
		}
		x = 30
		y = 4
		ai_will_do = {
			factor = 4			
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zmn_doctr_podvodn_voiny
		}
	}
	focus = {
		id = zmn_flot_vzaimodeistvie
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 10
		prerequisite = {
			focus = zmn_big_flot_2
		}	
		prerequisite = {
			focus = zmn_small_flot_2
		}
		x = 28
		y = 4
		ai_will_do = {
			factor = 4
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_ideas = zmn_flot_vzaimodeistv
		}
	}
	focus = {
		id = zmn_flot_vanstv_bust
		icon = GFX_focus_generic_navy_battleship2
		cost = 10
		prerequisite = {
			focus = zmn_flot_vzaimodeistvie
		}		
		x = 28
		y = 5
		ai_will_do = {
			factor = 4
		}
		available = {
			has_country_flag = zmn_dinastiya_ue_flag
			has_country_leader = {
				character = ZMN_bao_duan
				ruling_only = yes
			}
		}
		completion_reward = {
			add_ideas = zre_flot_vanst_ue
		}
	}
	focus = {
		id = zmn_avia_1
		icon = GFX_goal_zmn_avia_1
		cost = 10
		x = 32
		y = 0
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			air_experience = 10
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = zmn_istrebit_1
		icon = GFX_goal_generic_air_fighter
		cost = 10
		prerequisite = {
			focus = zmn_avia_1
		}
		mutually_exclusive = { focus = zmn_bomber_1 }
		x = 31
		y = 1
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 1.0
				uses = 2
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
				technology = heavy_fighter1
				technology = heavy_fighter2
				technology = heavy_fighter3
			}
		}
	}	
	focus = {
		id = zmn_bomber_1
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = zmn_avia_1
		}
		mutually_exclusive = { focus = zmn_istrebit_1 }
		x = 33
		y = 1
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = bomber_bonus
				bonus = 1.0
				uses = 2
				technology = strategic_bomber1
				technology = strategic_bomber2
				technology = strategic_bomber3
				category = tactical_bomber
			}
		}
	}
	focus = {
		id = zmn_cooper_aviats
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zmn_istrebit_1
			focus = zmn_bomber_1
		}
		x = 32
		y = 2
		ai_will_do = {
			factor = 4
		}
		available = {
			has_country_flag = zmn_dinastiya_min_flag
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			air_experience = 5
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				ROOT = { set_country_flag = aviation_effort_AB }
			}
		}
	}
	focus = {
		id = zmn_cooper_aviat_2
		icon = GFX_goal_zmn_cooper_aviat_2
		cost = 10
		prerequisite = {
			focus = zmn_cooper_aviats			
		}
		x = 32
		y = 3
		ai_will_do = {
			factor = 4
		}
		available = {
			has_country_flag = zmn_dinastiya_min_flag
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_war_support = 0.01
			country_event = { id = jungo.88 }
		}
	}
	focus = {
		id = zmn_cooper_aviat_3
		icon = GFX_focus_chi_flying_tigers
		cost = 10
		prerequisite = {
			focus = zmn_cooper_aviat_2			
		}
		x = 32
		y = 4
		ai_will_do = {
			factor = 4
		}
		available = {
			has_country_flag = zmn_dinastiya_min_flag
			has_country_leader = {
				character = ZMN_mao_dong
				ruling_only = yes
			}
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = zmn_aircraft_manufacturer_6
		}
	}
	focus = {
		id = zmn_vopros_nedeesposobnosti
		icon = GFX_goal_zmn_vopros_nedeesposobnosti
		cost = 10
		x = 10
		y = 0
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_go_go_vubirat
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}	
		}		
		completion_reward = {
			add_political_power = 50			
		}
	}
	focus = {
		id = zmn_podgotovka_tseremonii
		icon = GFX_goal_zmn_podgotovka_tseremonii
		cost = 10
		prerequisite = {
			focus = zmn_vopros_nedeesposobnosti
		}
		x = 10
		y = 1
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = democratic
			chungo_is_massivv_trigger = yes	
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}		
		completion_reward = {
			add_stability = 0.04
			add_political_power = 80
			hidden_effect = {
				country_event = { id = jungo.74 days = 15 random = 6 }
				country_event = { id = jungo.75 days = 42 random = 6 }
			}
		}
	}
	focus = {
		id = zmn_zitsuan
		icon = GFX_goal_zmn_zitsuan
		cost = 1
		prerequisite = {
			focus = zmn_podgotovka_tseremonii
		}
		x = 10
		y = 2
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_country_flag = ZMN_UPERTY_MONARCH_flag
			}
		}
		available = {
			has_government = democratic			
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {			
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_my_vybrali_respubl_flag
					}
				}
				country_event = { id = jungo.17 }
			}
			if = {		## костыль чтобы игрок при республике не мог выбрать императора
				limit = {					
					has_country_flag = zmn_my_vybrali_respubl_flag					
				}
				effect_tooltip = {
					country_event = { id = jungo.17 }
				}	
			}
		}
	}
	focus = {
		id = zmn_dinastiya_chu
		icon = GFX_goal_zmn_dinastiya_chu
		cost = 10
		prerequisite = {
			focus = zmn_zitsuan
		}
		x = 6
		y = 3
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_chu_flag
			has_government = democratic
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.341 }
		}
	}
	focus = {
		id = zmn_dinastiya_ue
		icon = GFX_goal_zmn_dinastiya_ue
		cost = 10
		prerequisite = {
			focus = zmn_zitsuan
		}
		x = 10
		y = 3
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_ue_flag
			has_government = democratic
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			unlock_decision_tooltip = zmn_lui_ksiabo_teacher		
			unlock_decision_tooltip = zmn_miao_kiy_teacher		
			unlock_decision_tooltip = zmn_lei_venking_teacher		
		}
	}
	focus = {
		id = zmn_ekonomik_krizis
		icon = GFX_goal_generic_positive_trade_relations
		cost = 2
		prerequisite = {
			focus = zmn_dinastiya_chu
			focus = zmn_dinastiya_ue
		}
		x = 3
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_11
			hidden_effect = {
				country_event = { days = 52 id = jungo.120 }
			}
		}
	}
	focus = {
		id = zmn_stabilnost_polit_kursa
		icon = GFX_goal_generic_neutrality_focus
		cost = 5
		prerequisite = {
			focus = zmn_dinastiya_ue
		}
		x = 10
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_8
			country_event = { id = jungo.168 }			
		}
	}
	focus = {
		id = zmn_prazdnik_v_chest_naslednika
		icon = GFX_goal_generic_national_unity
		cost = 5
		prerequisite = {
			focus = zmn_stabilnost_polit_kursa
		}
		x = 10
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 25
			country_event = { id = jungo.169 }			
		}
	}
	focus = {
		id = zmn_ignorirovat_bunt
		icon = GFX_goal_generic_special_forces
		cost = 5
		prerequisite = {
			focus = zmn_prazdnik_v_chest_naslednika
		}
		mutually_exclusive = {
			focus = zmn_razognat_ih
		}
		x = 9
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.184 }
		}
	}
	focus = {
		id = zmn_razognat_ih
		icon = GFX_focus_generic_support_the_left_right
		cost = 3
		prerequisite = {
			focus = zmn_prazdnik_v_chest_naslednika
		}
		mutually_exclusive = {
			focus = zmn_ignorirovat_bunt
		}
		x = 11
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.183 }
		}
	}
	focus = {
		id = zmn_obvinit_respubl_i_raboch
		icon = GFX_goal_generic_propaganda
		cost = 5
		prerequisite = {
			focus = zmn_razognat_ih
		}
		mutually_exclusive = {
			focus = zmn_obvinit_vanstva
		}
		x = 10
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = -0.1
			}
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = -10
				}
			}
			custom_effect_tooltip = zmn_obvinit_respubl_i_raboch_tt
			add_to_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 2 }
			subtract_from_variable = { zmn_kkrrs_vany_nedovolstvo_var = 3 }
			add_to_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 2 }		
		}
	}
	focus = {
		id = zmn_obvinit_vanstva
		icon = GFX_goal_generic_attack_allies
		cost = 10
		prerequisite = {
			focus = zmn_razognat_ih
		}
		mutually_exclusive = {
			focus = zmn_obvinit_respubl_i_raboch
		}
		x = 12
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
			has_idea = zmn_protivniki_molodogo_inperatora
		}	
		completion_reward = {
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 10
				}
			}
			custom_effect_tooltip = zmn_obvinit_vanstva_tt
			subtract_from_variable = { zmn_kkrrs_omniki_nedovolstvo_var = 2 }
			add_to_variable = { zmn_kkrrs_vany_nedovolstvo_var = 6 }
			subtract_from_variable = { zmn_kkrrs_beiisty_nedovolstvo_var = 2 }	
		}
	}
	focus = {
		id = zmn_ekonomik_sanktsii
		icon = GFX_goal_generic_positive_trade_relations
		cost = 10
		prerequisite = {
			focus = zmn_obvinit_vanstva
		}
		x = 12
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
			has_idea = zmn_protivniki_molodogo_inperatora
		}
		completion_reward = {
			country_event = { id = jungo.185 }
		}
	}
	focus = {
		id = zmn_danastiya_shu
		icon = GFX_goal_zmn_danastiya_shu
		cost = 10
		prerequisite = {
			focus = zmn_zitsuan
		}
		x = 14
		y = 3
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			has_government = democratic
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
		completion_reward = {
			country_event = { id = jungo.78 }
			hidden_effect = {
				if = {
					limit = {
						has_template = "Zhuangjia Shi"
					}
					country_event = { days = 5 id = jungo.79 }
				}
				country_event = { days = 17 id = jungo.74 }
				country_event = { days = 36 id = jungo.75 }
				country_event = { days = 57 id = jungo.87 }
			}
		}
	}
	focus = {
		id = zmn_politika_umirotvoreniya_obshestva
		icon = GFX_goal_zmn_politika_umirotvoreniya_obshestva
		cost = 10
		prerequisite = {
			focus = zmn_danastiya_shu
		}
		x = 14
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			chungo_is_massivv_trigger = yes
			has_country_flag = zmn_dinastiya_shu_flag
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
		completion_reward = {
			country_event = { id = jungo.81 }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_10
			hidden_effect = {
				if = {
					limit = {
						has_template = "Jidong Shi"
					}
					country_event = { days = 5 id = jungo.80 }
				}				
				country_event = { days = 23 id = jungo.75 }
			}
		}
	}
	focus = {
		id = zmn_strajy_novogo_poryadka
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = zmn_politika_umirotvoreniya_obshestva
		}
		x = 13
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
		completion_reward = {
			add_ideas = zmn_chu_polnomochiya_politsii
		}
	}
	focus = {
		id = zmn_komendanttsky_chas
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = zmn_politika_umirotvoreniya_obshestva
		}
		x = 15
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
		completion_reward = {
			add_stability = -0.05
			add_political_power = 150
			army_experience = 5
		}
	}
	focus = {
		id = zmn_arest_liderov_nedovolstva
		icon = GFX_goal_zmn_arest_liderov_nedovolstva
		cost = 10
		prerequisite = {
			focus = zmn_strajy_novogo_poryadka
		}
		prerequisite = {
			focus = zmn_komendanttsky_chas
		}
		x = 14
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			chungo_is_massivv_trigger = yes
			has_war_support > 0.3
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			has_country_flag = zmn_my_vybrali_respubl_2_flag
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			custom_effect_tooltip = zmn_pobeda_politiki_min_tt 
			hidden_effect = {
				if = {
					limit = {
						has_template = "Zhimindi Lu"
					}
					set_division_template_lock = {
						division_template = "Zhimindi Lu"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Bubing Shi"
					}
					set_division_template_lock = {
						division_template = "Bubing Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Zhimindi Shi"
					}
					set_division_template_lock = {
						division_template = "Zhimindi Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Qibing Jun"
					}
					set_division_template_lock = {
						division_template = "Qibing Jun"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Zhuangjia Shi"
					}
					set_division_template_lock = {
						division_template = "Zhuangjia Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Jidong Shi"
					}
					set_division_template_lock = {
						division_template = "Jidong Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Shandi Shi"
					}
					set_division_template_lock = {
						division_template = "Shandi Shi"
						is_locked = no
					}
				}
			}
			### эвент-ключ на заварушку
			country_event = { id = jungo.82 }
		}
	}
	focus = {
		id = zmn_voennaya_demoktatura
		icon = GFX_goal_zmn_voennaya_demoktatura
		cost = 10
		prerequisite = {
			focus = zmn_arest_liderov_nedovolstva
		}
		x = 14
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.02
			add_war_support = 0.05
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_8
		}
	}
	focus = {
		id = zmn_kollaboratsiya_shu
		icon = GFX_focus_generic_military_mission
		cost = 1
		prerequisite = {
			focus = zmn_arest_liderov_nedovolstva
		}
		x = 16
		y = 7
		ai_will_do = {
			factor = 15
		}
		available = {
			has_country_flag = zmn_dinastiya_shu_flag
			has_war = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {			
			add_war_support = 0.04
			army_experience = 3
			custom_effect_tooltip = zmn_kollaboratsiya_shu_tt 
			hidden_effect = {
				division_template = {	
					name = "Reserve Division"
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}				
				}			
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}				
				}
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}				
				}
				random_owned_controlled_state = {
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}
					create_unit = {
						division = "division_template = \"Reserve Division\" start_experience_factor = 0.5"
						owner = ZMN
					}					
				}				
			}			
		}
	}
	focus = {
		id = zmn_uspehi_shu_bezrab
		icon = GFX_goal_zmn_uspehi_shu_bezrab
		cost = 10
		prerequisite = {
			focus = zmn_voennaya_demoktatura
		}
		x = 14
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {			
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			NOT = {
				has_idea = zmn_bezrabot				
			}
		}
		completion_reward = {
			add_war_support = -0.05
			remove_ideas = zmn_bezrabot	
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			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				
			}
			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				
			}
		}
	}
	focus = {
		id = zmn_uspehi_shu_kriz
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = zmn_uspehi_shu_bezrab
		}
		x = 14
		y = 9
		ai_will_do = {
			factor = 7
		}
		available = {			
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			NOT = {
				has_idea = zmn_finans_kriz
			}
		}
		completion_reward = {	
			add_political_power = 50
			remove_ideas = zmn_finans_kriz
			add_timed_idea = {
				idea = zmn_finans_kriz_mery_min
				days = 800
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 3								
				}
				remove_building = {
					type = industrial_complex
					level = 3
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 3								
				}
				remove_building = {
					type = industrial_complex
					level = 3
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					arms_factory > 2								
				}
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					arms_factory > 2								
				}
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					arms_factory > 2								
				}
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
		}
	}
	focus = {
		id = zmn_shu_militariz_1
		icon = GFX_goal_zmn_army_1
		cost = 10
		prerequisite = {
			focus = zmn_uspehi_shu_kriz
		}
		x = 14
		y = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {			
			add_ideas = zmn_shu_militarizatsiua
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = asia
					}					
				}
				add_ai_strategy = {
					type = alliance
					id = ZMN
					value = -100
				}
				add_opinion_modifier = {
					target = ZMN
					modifier = agressssor
				}
			}
		}
	}
	focus = {
		id = zmn_shu_great_comander
		icon = GFX_focus_RAJ_lions_of_the_great_war
		cost = 10
		prerequisite = {
			focus = zmn_shu_militariz_1
		}
		x = 13
		y = 11
		ai_will_do = {
			factor = 8
		}
		available = {
			has_stability > 0.4
			has_war_support > 0.4
			has_country_leader = {
				character = ZMN_xian_zhou
				ruling_only = yes
			}
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {			
			add_country_leader_trait = zmn_shu_imperator_polkovodets
			custom_effect_tooltip = zmn_shu_great_comander_tt
		}
	}
	focus = {
		id = zmn_shu_nauchny_put
		icon = GFX_focus_research2
		cost = 10
		prerequisite = {
			focus = zmn_shu_militariz_1
		}
		x = 15
		y = 11
		ai_will_do = {
			factor = 8
		}
		available = {
			has_stability > 0.4
			has_war_support > 0.4
			has_country_leader = {
				character = ZMN_xian_zhou
				ruling_only = yes
			}
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {			
			country_event = { id = jungo.338 }
		}
	}
	#######
	focus = {
		id = zmn_dinastiya_min
		icon = GFX_goal_zmn_dinastiya_min
		cost = 10
		prerequisite = {
			focus = zmn_zitsuan
		}
		x = 19
		y = 3
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = zmn_dinastiya_min_flag
			has_government = democratic
			chungo_is_massivv_trigger = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_political_power = 100
			add_stability = 0.01
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_8
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}			
		}
	}
	focus = {
		id = zmn_sovet_desyati_ekonomistov
		icon = GFX_goal_zmn_sovet_desyati_ekonomistov
		cost = 10
		prerequisite = {
			focus = zmn_dinastiya_min
		}
		x = 19
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.19 }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_3
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_9
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_min_malatsa
					}
				}
				zmn_loyality_omniki_plus_1 = yes
				zmn_loyality_vanstva_plus_1 = yes
			}
			hidden_effect = {
				random_list = {
					50 = {
						country_event = { days = 5 id = jungo.74 }
					}
					40 = {
						country_event = { days = 5 id = jungo.75 }
					}
					10 = {
						add_political_power = 1
					}
				}
			}
		}
	}
	focus = {
		id = zmn_nationaliz_prom_predpriyat
		icon = GFX_goal_zmn_nationaliz_prom_predpriyat
		cost = 10
		prerequisite = {
			focus = zmn_sovet_desyati_ekonomistov
		}
		x = 17
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}		
		completion_reward = {
			add_stability = 0.05
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_minus_1 = yes			
			}
			hidden_effect = {
				country_event = { id = jungo.55 days = 60 random = 50 }
			}
		}
	}
	focus = {
		id = zmn_krupny_zaem_u_inostr_bankov
		icon = GFX_goal_zmn_krupny_zaem_u_inostr_bankov
		cost = 10
		prerequisite = {
			focus = zmn_sovet_desyati_ekonomistov
		}
		x = 19
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				swap_ideas = {
					remove_idea = zmn_finans_kriz
					add_idea = zmn_finans_kriz_mery_min
				}
			}
			add_timed_idea = {
				idea = zmn_zaem_deneg_inostr_mery_min
				days = 700
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_minus_1 = yes			
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}
			hidden_effect = {
				random_list = {
					40 = {
						country_event = { days = 35 id = jungo.74 }
					}
					40 = {
						country_event = { days = 41 id = jungo.75 }
					}
					20 = {
						add_political_power = 1
					}
				}
			}
		}
	}
	focus = {
		id = zmn_vozd_na_rynok_zerna
		icon = GFX_goal_zmn_vozd_na_rynok_zerna
		cost = 10
		prerequisite = {
			focus = zmn_sovet_desyati_ekonomistov
		}
		x = 21
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.23 }
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}
		}
	}
	focus = {
		id = zmn_ustupki_i_dogovory
		icon = GFX_goal_generic_dangerous_deal
		cost = 5
		prerequisite = {
			focus = zmn_nationaliz_prom_predpriyat
		}
		prerequisite = {
			focus = zmn_krupny_zaem_u_inostr_bankov
		}
		prerequisite = {
			focus = zmn_vozd_na_rynok_zerna
		}
		x = 19
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			unlock_decision_tooltip = zmn_obshaya_loyalnost
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			country_event = { id = jungo.24 }
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}
			hidden_effect = {
				random_list = {
					30 = {
						country_event = { days = 25 id = jungo.74 }
					}
					30 = {
						country_event = { days = 48 id = jungo.75 }
					}
					40 = {
						add_political_power = 1
					}
				}
			}
		}
	}
	focus = {
		id = zmn_glas_imperatora_min
		icon = GFX_goal_zmn_glas_imperatora_min
		cost = 5
		prerequisite = {
			focus = zmn_ustupki_i_dogovory
		}
		x = 19
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.48 }
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}
			hidden_effect = {
				random_list = {
					65 = { 
						country_event = { id = jungo.55 days = 15 random = 6 }
					}
					35 = { 
						add_political_power = 1
					}
				}
			}
		}
	}
	focus = {
		id = zmn_razdacha_zemel_prom_korporat
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zmn_glas_imperatora_min
		}
		x = 19
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.05
			if = {
				limit = {
					has_idea = zmn_bezrabot
				}
				remove_ideas = zmn_bezrabot
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 2								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					arms_factory > 2								
				}
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
		}
	}
	focus = {
		id = zmn_prodaja_koloniys
		icon = GFX_goal_zmn_prodaja_koloniys
		cost = 10
		prerequisite = {
			focus = zmn_razdacha_zemel_prom_korporat
		}
		mutually_exclusive = {
			focus = zmn_novy_zaem
		}
		x = 20
		y = 9
		ai_will_do = {
			factor = 7
		}
		available = {
			num_subjects > 0
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			hidden_effect = {
				set_variable = { zmn_denejek_ot_prodajy_zemel_var = 0 }
				country_event = { days = 5 id = jungo.51 }
				country_event = { days = 1 id = jungo.52 }	
				every_other_country = {
					limit = { 
						is_subject_of = ZMN
						NOT = {
							tag = ZTH
						}
					}				
					country_event = { id = jungo.49 }
				}
				every_other_country = {
					limit = { 
						is_subject_of = ZMN					
						tag = ZTH					
					}				
					country_event = { id = jungo.53 }
				}	
			}
			custom_effect_tooltip = zmn_prodaja_koloniys_tt 			
			effect_tooltip = {	# косметическая фишка
				every_other_country = {
					limit = { 
						is_subject_of = ZMN						
					}				
					country_event = { id = jungo.49 }
				}
			}
		}
	}
	focus = {
		id = zmn_novy_zaem
		icon = GFX_goal_zmn_novy_zaem
		cost = 10
		prerequisite = {
			focus = zmn_razdacha_zemel_prom_korporat
		}
		mutually_exclusive = {
			focus = zmn_prodaja_koloniys
		}
		x = 18
		y = 9
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.03
			add_political_power = 120
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}
			if = {
				limit = {
					has_idea = zmn_zaem_deneg_inostr_mery_min
				}
				modify_timed_idea = {
					idea = zmn_zaem_deneg_inostr_mery_min
					days = 560
				}
			}
			else_if = {
				add_timed_idea = {
					idea = zmn_zaem_deneg_inostr_mery_min
					days = 560
				}
			}
			hidden_effect = {
				set_country_flag = zmn_fanatiki_min_zlye_flag
			}
		}
	}
	focus = {
		id = zmn_traditsionnaya_med_v_ekonomike
		icon = GFX_goal_generic_neutrality_focus
		cost = 10
		prerequisite = {
			focus = zmn_dinastiya_chu
		}
		x = 6
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_stability = 0.02
			country_event = { id = jungo.339 }
		}
	}
	focus = {
		id = zmn_konfutsiansk_ekonomika
		icon = GFX_goal_generic_cavalry
		cost = 3
		prerequisite = {
			focus = zmn_traditsionnaya_med_v_ekonomike
		}
		x = 5
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zmn_jungo_polit_8
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 26
				}
			}
		}
	}
	focus = {
		id = zmn_guan_tsjjjy
		icon = GFX_goal_generic_positive_trade_relations
		cost = 5
		prerequisite = {
			focus = zmn_traditsionnaya_med_v_ekonomike
		}
		x = 7
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = zmn_chu_rzdacha_edy
				days = 500
			}
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 30
				}
			}
		}
	}
	focus = {
		id = zmn_osnova_vsego_zemledelie
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = zmn_guan_tsjjjy
		}
		x = 7
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_political_power = 120
		}
	}
	focus = {
		id = zmn_ijiatie_zerna_v_zernohr
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		prerequisite = {
			focus = zmn_osnova_vsego_zemledelie
		}
		x = 7
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.340 }
		}
	}
	focus = {
		id = zmn_kajestvo_zemli_uroven_naloga
		icon = GFX_goal_generic_trade
		cost = 7
		prerequisite = {
			focus = zmn_ijiatie_zerna_v_zernohr
		}
		x = 7
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_ideas = zmn_chu_norm_takoi_nalog
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 50
				}
			}
		}
	}
	focus = {
		id = zmn_kkrrs
		icon = GFX_goal_zmn_kkrrs
		cost = 8
		prerequisite = {
			focus = zmn_ekonomik_krizis
		}
		x = 3
		y = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_idea = zmn_finans_kriz
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			NOT = {
				has_idea = zmn_finans_kriz
			}
		}
		completion_reward = {
			set_variable = { zmn_reformy_kkrrs_var = 0 }
			add_stability = 0.01
			swap_ideas = {
				remove_idea = zmn_finans_kriz
				add_idea = zmn_kkrrs_bustt
			}
			unlock_decision_tooltip = zmn_kkrrs_nasilstv_zakritie_chastn_predpriyatii
			unlock_decision_tooltip = zmn_annulirov_litsenzii_u_bankov
			unlock_decision_tooltip = zmn_kkrs_svod_zakonov_o_chestn_konkurentsii
			unlock_decision_tooltip = zmn_kkrs_formirovanie_skip
			unlock_decision_tooltip = zmn_kkrs_suhoi_zakon
			unlock_decision_tooltip = zmn_kkrs_pustit_v_pravitelsrvo
			unlock_decision_tooltip = zmn_kkrs_poshliny_na_vvoz_iz_zagran
			unlock_decision_tooltip = zmn_kkrs_dengi_na_perevoorujenie
			
			unlock_decision_tooltip = zmn_kkrrs_zavershaet_raboty
			
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
					check_variable = { zmn_zhuhou_support < 95 }
				}
				zmn_zhuhou_support_plus_1 = yes
			}
		}
	}
	focus = {
		id = zmn_gos_korp_na_straje
		icon = GFX_goal_generic_cavalry
		cost = 8
		prerequisite = {
			focus = zmn_kkrrs
		}
		x = 3
		y = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			has_idea = zmn_bezrabot
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		bypass = {
			NOT = {
				has_idea = zmn_bezrabot
			}
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			add_stability = 0.01
			swap_ideas = {
				remove_idea = zmn_bezrabot
				add_idea = zmn_mery_po_borbe_sbezrab
			}
			unlock_decision_tooltip = zmn_anti_bezrabotitsa_1
			unlock_decision_tooltip = zmn_anti_bezrabotitsa_2
			unlock_decision_tooltip = zmn_anti_bezrabotitsa_3
			unlock_decision_tooltip = zmn_anti_bezrabotitsa_itog	
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 15
				}
			}
			hidden_effect = {
				country_event = { days = 68 id = jungo.74 }
			}
		}
	}
	focus = {
		id = zmn_subsidii_rabotodatelyam
		icon = GFX_goal_zmn_subsidii_rabotodatelyam
		cost = 10
		prerequisite = {
			focus = zmn_prodaja_koloniys
			focus = zmn_novy_zaem
		}
		x = 19
		y = 10
		ai_will_do = {
			factor = 7
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.04
			add_political_power = 50
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}
		}
	}
	focus = {
		id = zmn_min_vykhod_iz_kriz
		icon = GFX_goal_zmn_min_vykhod_iz_kriz
		cost = 5
		prerequisite = {
			focus = zmn_subsidii_rabotodatelyam			
		}
		x = 19
		y = 11
		ai_will_do = {
			factor = 7
		}
		available = {
			chungo_is_massivv_trigger = yes
			has_civil_war = no
			has_stability > 0.5
		}
		completion_reward = {
			unlock_decision_tooltip = zmn_kompromiss_s_omnikami	
			unlock_decision_tooltip = zmn_kompromiss_s_vanstvami
			add_political_power = 80
			add_stability = 0.03
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_omnikami_flag
					}
				}
				zmn_loyality_omniki_plus_1 = yes			
			}		
			if = {
				limit = {
					NOT = {
						has_country_flag = zmn_kompromiss_s_vanstvami_flag
					}
				}			
				zmn_loyality_vanstva_plus_1 = yes
			}			
		}
	}
	focus = {
		id = zmn_min_etap_politich_kursa
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zmn_min_vykhod_iz_kriz			
		}
		x = 19
		y = 12
		ai_will_do = {
			factor = 7
		}
		available = {
			chungo_is_massivv_trigger = yes
			has_civil_war = no
			has_stability > 0.5
		}
		completion_reward = {
			add_political_power = 80
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_war_with = ZJA
							has_war_with = ZNP
						}
						ZJA = {
							has_war_with = ZNP
						}
					}
					country_event = { days = 5 id = jungo.96 }
				}
			}			
		}
	}
	focus = {
		id = zmn_min_promka_i_nauka
		icon = GFX_goal_continuous_research
		cost = 10
		prerequisite = {
			focus = zmn_min_vykhod_iz_kriz			
		}
		x = 21
		y = 12
		ai_will_do = {
			factor = 3
		}
		available = {
			has_civil_war = no
			any_controlled_state = {
				arms_factory > 1
			}
			any_controlled_state = {
				industrial_complex > 1
			}
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					arms_factory > 1								
				}
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			random_owned_controlled_state = {
				limit = {
					industrial_complex > 1								
				}
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			add_ideas = zmn_min_nauka_fabriki_boost
		}
	}
	focus = {
		id = zmn_min_ekonomika_go_go
		icon = GFX_goal_generic_consumer_goods
		cost = 10
		prerequisite = {
			focus = zmn_min_etap_politich_kursa			
		}
		x = 19
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_war_support = 0.02
			add_ideas = zmn_min_voennaya_ekon
		}
	}
	focus = {
		id = zmn_min_mirovoy_alliyans
		icon = GFX_goal_zmn_min_mirovoy_alliyans
		cost = 10
		prerequisite = {
			focus = zmn_min_etap_politich_kursa
			focus = zmn_oboronny_budjet_jungi		
		}
		x = 13
		y = 13
		ai_will_do = {
			factor = 9
		}
		available = {	
			is_seishu_leader = yes
#			is_faction_leader = yes
			has_stability > 0.5	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}			
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
			custom_effect_tooltip = zmn_min_mirovoy_alliyans_tt 
			set_global_flag = zmn_seishu_strong_flag
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.965 }
			}	
		}
	}
	focus = {
		id = zmn_peredovik_azii
		icon = GFX_goal_zmn_peredovik_azii
		cost = 10
		prerequisite = {
			focus = zmn_min_mirovoy_alliyans			
		}
		x = 6
		y = 14
		ai_will_do = {
			factor = 7
		}
		available = {	
			is_seishu_leader = yes
			has_added_tension_amount < 12
			has_stability > 0.65
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = zmn_peredovik_azii_tt
			set_global_flag = zmn_peredovik_azii_flag
			add_stability = 0.01
			add_war_support = 0.01
		}
	}
	focus = {
		id = zmn_protivostoyanie_zcs_lige
		icon = GFX_goal_generic_consumer_goods
		cost = 10
		prerequisite = {
			focus = zmn_peredovik_azii			
		}
		x = 3
		y = 15
		ai_will_do = {
			factor = 7
		}
		available = {	
			is_seishu_leader = yes
			has_added_tension_amount < 12
			has_stability > 0.65
			ZCS = {
				is_faction_leader = yes
			}
			NOT = {
				is_in_faction_with = ZCS
				has_war_with = ZCS
			}
		}
		completion_reward = {
			add_opinion_modifier = {
				target = ZCS
				modifier = lezut_v_nashu_sfery
			}
			ZCS = {
				country_event = { id = jungo.111 }
			}
		}
	}
	focus = {
		id = zmn_min_zashitnik_azii
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zmn_peredovik_azii			
		}
		x = 9
		y = 15
		ai_will_do = {
			factor = 7
		}
		available = {	
			is_seishu_leader = yes
			has_added_tension_amount < 14
			has_stability > 0.65
			has_war_support > 0.65
		}
		completion_reward = {
			add_named_threat = { threat = -2 name = zmn_min_zashitnik_azii }
			add_stability = 0.02
			add_war_support = 0.02
			add_political_power = 50
			every_other_country = {
				limit = { 
					capital_scope = {
						is_on_continent = asia						
					}
					is_in_faction = no
					NOT = {
						has_war_with = ZMN
						has_offensive_war = yes
					}
					has_added_tension_amount < 25
				}				
				add_opinion_modifier = {
					target = ZMN
					modifier = zashitnik_azii_20
				}
			}
			unlock_decision_tooltip = zmn_voennye_ucheniya_seishu	
			
			if = {
				limit = {
					has_country_flag = xma_miao_kiy_urok_3_flag
				}
				custom_effect_tooltip = zmn_min_zashitnik_azii_tt
				add_country_leader_trait = zmn_ue_zash_asii_traitt
			}
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = xma_miao_kiy_urok_3_flag
						NOT = {
							has_country_flag = zmn_bdit_za_aziei_ue_flag
						}
					}
					set_country_flag = zmn_bdit_za_aziei_ue_flag
					every_other_country = {
						limit = { 
							capital_scope = {
								OR = {
									is_on_continent = asia
									is_on_continent = north_america		
									is_on_continent = south_america		
								}		
							}						
						}				
						set_country_flag = pod_kolpakom_u_zmn_ue_flag
					}
				}			
				news_event = { hours = 3 id = ar_news.973 }
			}
		}
	}
	focus = {
		id = zmn_liga_davai_dosvidaniys
		icon = GFX_goal_generic_attack_allies
		cost = 10
		prerequisite = {
			focus = zmn_peredovik_azii			
		}
		mutually_exclusive = {
			focus = zmn_liga_coldwar_kakoito
		}
		x = 5
		y = 15
		ai_will_do = {
			factor = 6
			modifier = {
				factor = 1.5
				ZCS = {
					has_added_tension_amount > 10
				}
			}
			modifier = {
				factor = 1.5				
				num_faction_members > 10				
			}
		}
		available = {		
			is_subject = no
			is_seishu_leader = yes			
			ZCS = {
				is_faction_leader = yes
			}
			NOT = {
				is_in_faction_with = ZCS
				has_war_with = ZCS
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		bypass = {
			has_war_with = ZCS
		}	
		completion_reward = {
			add_named_threat = { threat = 15 name = zmn_liga_davai_dosvidaniys }			
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ZCS					
			}
			add_ai_strategy = {
				type = antagonize
				id = ZCS
				value = 100
			}
			add_ai_strategy = {
				type = declare_war
				id = ZCS
				value = 50
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
			if = {
				limit = {
					has_country_flag = zmn_dinastiya_min_flag
				}
				custom_effect_tooltip = zmn_anti_han_politika_min_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
		}
	}
	focus = {
		id = zmn_liga_coldwar_kakoito
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zmn_peredovik_azii			
		}
		mutually_exclusive = {
			focus = zmn_liga_davai_dosvidaniys
		}
		x = 7
		y = 15
		ai_will_do = {
			factor = 3			
			modifier = {
				factor = 1.5
				ZCS = {
					num_faction_members > 20
				}
			}
			modifier = {
				factor = 1.1
				has_country_flag = zmn_dinastiya_min_flag
			}
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {		
			is_subject = no
			is_seishu_leader = yes	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.1
				add_war_support = -0.15
			}
			add_ideas = zmn_seishu_alliance_buff
			every_other_country = {
				limit = { 
					is_in_faction_with = ZMN
				}				
				add_ideas = zmn_seishu_alliance_buff
			}
			custom_effect_tooltip = zmn_liga_coldwar_kakoito_tt  
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
		}
	}
	focus = {
		id = zmn_min_individual_podhod
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = zmn_min_mirovoy_alliyans			
		}
		x = 16
		y = 14
		ai_will_do = {
			factor = 7
		}
		available = {	
			is_seishu_leader = yes				
		}
		completion_reward = {
			add_political_power = 80
			hidden_effect = {
				country_event = { id = jungo.103 days = 65 random = 8 }
			}
		}
	}
	focus = {
		id = zmn_vstupitsya_za_esiro
		icon = GFX_goal_zmn_vstupitsya_za_esiro
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}
		mutually_exclusive = {
			focus = zmn_neutralitet_japan
			focus = zmn_sogunat_japan_legitimnost
		}
		x = 16
		y = 15
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 2
				has_country_flag = zmn_dinastiya_min_flag
			}
			modifier = {
				factor = 1.8
				ZJA = {
					is_in_faction_with = ZCS
				}
			}
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro	
				}
				is_subject = no
#				is_in_faction = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		bypass = {
			is_in_faction_with = ZNP
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			add_opinion_modifier = {
				target = ZNP
				modifier = drujestvennaya_ritorika_20
			}
			ZNP = {
				country_event = { id = jungo.89 }
			}
			ZJA = {
				country_event = { id = jungo.90 }
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
		}
	}
	focus = {
		id = zmn_min_osuhdenie_segunov
		icon = GFX_goal_generic_propaganda
		cost = 5
		prerequisite = {
			focus = zmn_vstupitsya_za_esiro			
		}
		x = 16
		y = 16
		ai_will_do = {
			factor = 7	
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}	
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro		
				}
				is_subject = no
#				is_in_faction = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
		}
		bypass = {
			is_in_faction_with = ZNP
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			ZJA = {
				country_event = { id = jungo.91 }
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_2 = yes
			}
		}
	}
	focus = {
		id = zmn_min_esiro_go_k_nam
		icon = GFX_goal_zmn_min_esiro_go_k_nam
		cost = 5
		prerequisite = {
			focus = zmn_min_osuhdenie_segunov			
		}
		x = 16
		y = 17
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro	
				}
				is_subject = no
				is_in_faction = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
		}
		bypass = {
			is_in_faction_with = ZNP
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			add_named_threat = { threat = 3 name = zmn_min_esiro_go_k_nam }
			ZNP = {
				country_event = { id = jungo.92 }
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_2 = yes
			}
		}
	}
	focus = {
		id = zmn_neutralitet_japan
		icon = GFX_goal_zmn_neutralitet_japan
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}
		mutually_exclusive = {
			focus = zmn_vstupitsya_za_esiro
			focus = zmn_sogunat_japan_legitimnost
		}		
		x = 18
		y = 15
		ai_will_do = {
			factor = 7
		}
		available = {
			has_war = no
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
				is_in_faction_with = ZNP
				is_in_faction_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro			
				}
				is_subject = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_low_support_trigger = yes
			}
		}
#		bypass = {
#			ZJA = {
#				NOT = {
#					has_war_with = ZNP
#				}
#			}
#			has_global_flag = shogun_perevorot_flag
#		}
		completion_reward = {
			if = {
				limit = {
					ZTH = {
						is_subject_of = ZMN
					}
				}
				ZTH = {
					unlock_decision_tooltip = ZTH_test_the_alaska_border	
				}
			}
			ZNP = {
				set_country_flag = zmn_my_ne_hotim_v_seishu_flag
				country_event = { id = jungo.102 }
			}
			ZJA = {
				set_country_flag = zmn_my_ne_hotim_v_seishu_flag
				country_event = { id = jungo.102 }
			}	
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.969 }
			}
		}
	}
	focus = {
		id = zmn_japanes_vladeniya
		icon = GFX_goal_continuous_restrict_freedom
		cost = 10
		prerequisite = {
			focus = zmn_neutralitet_japan			
		}				
		x = 18
		y = 16
		ai_will_do = {
			factor = 7
		}
		available = {	
			has_war = no
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
				is_in_faction_with = ZNP
				is_in_faction_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {				
				is_subject = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_low_support_trigger = yes
			}
		}
		completion_reward = {
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_weapon_v_936
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_perevorot_v_936
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_weapon_v_937
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_perevorot_v_937
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_weapon_v_80
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_perevorot_v_80
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_weapon_v_336
			unlock_decision_tooltip = zmn_vozdeistvie_na_japan_zomiya_perevorot_v_336
			hidden_effect = {
				ZJA = {
					country_event = { id = jungo.302 }
				}
				ZNP = {
					country_event = { id = jungo.302 }
				}
			}			
		}
	}
	focus = {
		id = zmn_dotatsii_byvshim_koloniyam_jap
		icon = GFX_goal_continuous_boost_freedom
		cost = 10
		prerequisite = {
			focus = zmn_japanes_vladeniya			
		}				
		x = 18
		y = 17
		ai_will_do = {
			factor = 7
		}
		available = {	
			has_war = no
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
				is_in_faction_with = ZNP
				is_in_faction_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {				
				is_subject = no
			}
			OR = {
				ZTI = {	# Торговая Компания Тайцео
					AND = {
						exists = yes
						is_subject = no
						has_war = no
						is_in_faction = no
					}
				}
				ZKN = {	# Колония Ёмикоку
					AND = {
						exists = yes
						is_subject = no
						has_war = no
						is_in_faction = no
					}
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_low_support_trigger = yes
			}
		}
		completion_reward = {	
			add_war_support = 0.01
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			if = {
				limit = {
					has_country_flag = zmn_dinastiya_min_flag
				}
				custom_effect_tooltip = zmn_anti_han_politika_min_tt
				add_stability = -0.05
			}
			if = {
				limit = {
					ZTI = {	# Торговая Компания Тайцео					
						exists = yes
						is_subject = no
						has_war = no
						is_in_faction = no					
					}
				}
				ZTI = {
					country_event = { id = jungo.394 }
				}
			}
			if = {
				limit = {
					ZKN = {	#  Колония Ёмикоку					
						exists = yes
						is_subject = no
						has_war = no
						is_in_faction = no					
					}
				}
				ZKN = {
					country_event = { id = jungo.394 }
				}
			}
		}
	}
	focus = {
		id = zmn_ignor_japans
		icon = GFX_goal_continuous_increase_nu
		cost = 10
		prerequisite = {
			focus = zmn_dotatsii_byvshim_koloniyam_jap			
		}
		mutually_exclusive = {
			focus = zmn_razjech_konfikt			
		}		
		x = 17
		y = 18
		ai_will_do = {
			factor = 7
		}
		available = {
			is_seishu_leader = yes
			has_stability > 0.75
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
				is_in_faction_with = ZNP
				is_in_faction_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro	
				}
				is_subject = no
			}
		}
		completion_reward = {
			custom_effect_tooltip = zmn_ignor_japans_tt 
			ZJA = {
				country_event = { id = jungo.399 }
			}
			ZNP = {
				country_event = { id = jungo.399 }
			}
			hidden_effect = {
				news_event = { hours = 1 id = ar_news.44 }
			}
		}
	}
	focus = {
		id = zmn_razjech_konfikt
		icon = GFX_focus_generic_license_production
		cost = 10
		prerequisite = {
			focus = zmn_dotatsii_byvshim_koloniyam_jap			
		}
		mutually_exclusive = {
			focus = zmn_ignor_japans			
		}		
		x = 19
		y = 18
		ai_will_do = {
			factor = 7
		}
		available = {	
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
				is_in_faction_with = ZNP
				is_in_faction_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro		
				}
				is_subject = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_low_support_trigger = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = zmn_dinastiya_min_flag
				}
				custom_effect_tooltip = zmn_anti_han_politika_min_tt
				add_stability = -0.05
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			unlock_decision_tooltip = zmn_otpravit_orujie_segunam	
			unlock_decision_tooltip = zmn_otpravit_orujie_esiro	
			unlock_decision_tooltip = zmn_sodeistvie_rozvedke_segunov	
			unlock_decision_tooltip = zmn_sodeistvie_rozvedke_esiro	
		}
	}
	##
	focus = {
		id = zmn_sogunat_japan_legitimnost
		icon = GFX_goal_zmn_sogunat_japan_legitimnost
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}
		mutually_exclusive = {
			focus = zmn_vstupitsya_za_esiro
			focus = zmn_neutralitet_japan
		}		
		x = 20
		y = 15
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 1.8
				ZNP = {
					has_country_leader = {
						character = ZJA_yoshiro	
					}
					is_in_faction_with = ZCS
				}
			}
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro		
				}
				is_subject = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}		
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			if = {
				limit = {
					has_country_flag = zmn_dinastiya_min_flag
				}
				custom_effect_tooltip = zmn_anti_han_politika_min_tt
				add_stability = -0.05
			}
			add_named_threat = { threat = 4 name = zmn_sogunat_japan_legitimnost }
			add_opinion_modifier = {
				target = ZJA
				modifier = drujestvennaya_ritorika_20
			}
			ZJA = {
				country_event = { id = jungo.104 }
			}
			ZNP = {
				country_event = { id = jungo.106 }
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
		}
	}
	focus = {
		id = zmn_sogunat_japan_podderjka
		icon = GFX_goal_rhineland
		cost = 10
		prerequisite = {
			focus = zmn_sogunat_japan_legitimnost			
		}				
		x = 20
		y = 16
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro		
				}
				is_subject = no
			}
			has_equipment = {
				infantry_equipment > 100
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			add_named_threat = { threat = 2 name = zmn_sogunat_japan_podderjka }
			ZJA = {
				country_event = { id = jungo.105 }
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
		}
	}
	focus = {
		id = zmn_sogunat_go_k_nam_davai
		icon = GFX_goal_zmn_sogunat_go_k_nam_davai
		cost = 10
		prerequisite = {
			focus = zmn_sogunat_japan_podderjka			
		}				
		x = 20
		y = 17
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZNP
				has_war_with = ZJA
			}
			ZJA = {
				has_government = fascism
				has_war_with = ZNP
				is_subject = no
				is_in_faction = no
			}	
			ZNP = {
				has_country_leader = {
					character = ZJA_yoshiro		
				}
				is_subject = no
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		bypass = {
			is_in_faction_with = ZJA
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			ZJA = {
				country_event = { id = jungo.107 }
			}	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
		}
	}
	focus = {
		id = zmn_anti_persia_podgotovka
		icon = GFX_goal_generic_secret_weapon
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}				
		x = 22
		y = 15
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 1.8
				ZPA = {
					has_added_tension_amount > 12
				}
			}
		}
		available = {	
#			is_seishu_leader = yes		
			ZPA = {
				has_added_tension_amount > 8
				NOT = {
					is_in_faction_with = ZMN
					is_subject_of = ZMN
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		bypass = {
			has_war_with = ZPA
		}		
		completion_reward = {
			add_timed_idea = {
				idea = zmn_podgotovka_k_voine_v_peskah
				days = 750
			}
			add_opinion_modifier = {
				target = ZPA
				modifier = trebovania
			}
			country_event = { id = jungo.315 }
		}
	}
	focus = {
		id = zmn_anti_persia_go_go
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = zmn_anti_persia_podgotovka			
		}				
		x = 22
		y = 16
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 1.8
				ZPA = {
					has_added_tension_amount > 15
				}
			}
		}
		available = {	
#			is_seishu_leader = yes		
			ZPA = {
				has_added_tension_amount > 10
				NOT = {
					is_in_faction_with = ZMN
					is_subject_of = ZMN
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		bypass = {
			has_war_with = ZPA
		}		
		completion_reward = {
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ZPA					
			}
			add_ai_strategy = {
				type = antagonize
				id = ZPA
				value = 50
			}			
		}
	}
	#
	focus = {
		id = zmn_anti_omniki_rech
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}				
		x = 26
		y = 15
		ai_will_do = {
			factor = 4	
			modifier = {
				factor = 3
				ZIK = {
					has_added_tension_amount > 15
				}
			}	
		}
		available = {	
			NOT = { has_government = communism }
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}				
		completion_reward = {
			country_event = { id = jungo.323 }
			add_named_threat = { threat = 2 name = zmn_anti_omniki_rech }
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_2 = yes
			}
		}
	}
	focus = {
		id = zmn_anti_omniki_neprinyatie_idei_omniparisma
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zmn_anti_omniki_rech			
		}				
		x = 24
		y = 16
		ai_will_do = {
			factor = 5	
			modifier = {
				factor = 3
				ZIK = {
					has_added_tension_amount > 15
				}
			}	
		}
		available = {	
			has_stability > 0.75
			NOT = { has_government = communism }
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}				
		completion_reward = {			
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			every_other_country = {
				limit = {
					NOT = { 
						has_government = communism
						has_war_with = ZMN
					}
					capital_scope = {
						is_on_continent = asia
					}
					
				}
				country_event = { id = jungo.324 }
			}
			every_other_country = {
				limit = {
					has_government = communism
					NOT = { 						
						has_war_with = ZMN
					}
					capital_scope = {
						is_on_continent = asia
					}
				}
				country_event = { id = jungo.325 }
			}
		}
	}
	focus = {
		id = zmn_anti_omniki_protivodeistvie_fsr
		icon = GFX_goal_anti_comintern_pact
		cost = 10
		prerequisite = {
			focus = zmn_anti_omniki_rech			
		}	
		mutually_exclusive = { 
			focus = zmn_anti_omniki_dogovor_s_norm_pachanami 			 
		}
		x = 26
		y = 16
		ai_will_do = {
			factor = 1				
		}
		available = {	
			is_subject = no
			has_stability > 0.75
			NOT = { has_government = communism }			
			ZIK = {
				has_government = communism
				is_subject = no
			}
			NOT = {
				is_in_faction_with = ZIK
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}				
		completion_reward = {			
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			add_ai_strategy = {
				type = antagonize
				id = ZIK
				value = 150
			}	
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ZIK					
			}
			add_named_threat = { threat = 15 name = zmn_anti_omniki_protivodeistvie_fsr }
		}
	}
	focus = {
		id = zmn_anti_omniki_dogovor_s_norm_pachanami
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zmn_anti_omniki_rech			
		}
		mutually_exclusive = { 
			focus = zmn_anti_omniki_protivodeistvie_fsr 			 
		}
		x = 28
		y = 16
		ai_will_do = {
			factor = 10				
		}
		available = {	
			is_subject = no
			has_stability > 0.5
			is_faction_leader = yes
			NOT = { has_government = communism }			
			ZIK = {
				has_government = communism
				is_subject = no
			}
			NOT = {
				is_in_faction_with = ZIK
			}
			ZNR = {
				exists = yes
				is_in_faction = no
				NOT = { 
					is_subject = no
					has_government = communism
					has_war_with = ZMN					
				}
			}
			ZON = {
				exists = yes
				is_in_faction = no
				NOT = { 
					is_subject = no
					has_government = communism
					has_war_with = ZMN					
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}				
		completion_reward = {			
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_1 = yes
			}
			ZNR = {
				country_event = { id = jungo.326 }
				custom_effect_tooltip = needs_approval
			}
			ZON = {
				country_event = { id = jungo.326 }
				custom_effect_tooltip = needs_approval
			}
			custom_effect_tooltip = zmn_anti_omniki_dogovor_s_norm_pachanami_tt
		}
	}
	focus = {
		id = zmn_anti_han_politika
		icon = GFX_goal_zmn_anti_han_politika
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}
		mutually_exclusive = { focus = zmn_pro_han_politika }
		x = 11
		y = 15
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				ZHA = {
					OR = {
						has_government = fascism
						has_offensive_war = yes
					}	
				}
			}
			modifier = {
				factor = 5
				ZHA = {
					has_added_tension_amount > 15
				}
			}
		}
		available = {	
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZHA
				is_in_faction_with = ZHA
			}
			ZHA = {
				NOT = {
					is_subject_of = ZMN
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
			if = {
				limit = {
					has_country_flag = zmn_dinastiya_min_flag
				}
				custom_effect_tooltip = zmn_anti_han_politika_min_tt
				add_stability = -0.05
			}
			add_opinion_modifier = {
				target = ZHA
				modifier = trebovania
			}
			ZHA = {
				country_event = { id = jungo.97 }
			}
			add_named_threat = { threat = 2 name = zmn_anti_han_politika }
		}
	}
	focus = {
		id = zmn_ukrepy_protiv_han
		icon = GFX_goal_generic_construct_military
		cost = 10
		prerequisite = {
			focus = zmn_anti_han_politika			
		}	
		mutually_exclusive = { focus = zmn_agressia_protiv_han }	
		x = 10
		y = 16
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				ZHA = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 5
				ZHA = {
					has_added_tension_amount > 15
				}
			}
			modifier = {
				factor = 2
				has_country_flag = zmn_dinastiya_min_flag
			}
		}
		available = {			
			is_neighbor_of = ZHA
			ZHA = {
				NOT = {
					has_war_with = ZMN
					is_in_faction_with = ZMN
					is_subject_of = ZMN
				}
			}
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_low_support_trigger = yes
			}
		}
		completion_reward = {
			add_war_support = 0.03
			army_experience = 4
			if = {
				limit = {
					1085 = {
						is_owned_by = ZMN
					}	
				}
				1085 = {
					set_building_level = {
						type = bunker
						level = 2
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 2
						}
					}
				}
			}
			if = {
				limit = {
					1119 = {
						is_owned_by = ZMN
					}	
				}
				1119 = {
					set_building_level = {
						type = bunker
						level = 2
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 2
						}
					}
				}
			}
			if = {
				limit = {
					605 = {
						is_owned_by = ZMN
					}	
				}
				605 = {
					set_building_level = {
						type = bunker
						level = 2
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 2
						}
					}
				}
			}
			if = {
				limit = {
					751 = {
						is_owned_by = ZMN
					}	
				}
				751 = {
					set_building_level = {
						type = bunker
						level = 2
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 2
						}
					}
				}
			}
		}
	}
	focus = {
		id = zmn_agressia_protiv_han
		icon = GFX_focus_spr_masters_of_our_own_fate
		cost = 10
		prerequisite = {
			focus = zmn_anti_han_politika			
		}	
		mutually_exclusive = { focus = zmn_ukrepy_protiv_han }	
		x = 12
		y = 16
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				ZHA = {
					OR = {
						has_government = fascism
						has_offensive_war = yes
					}	
				}
			}
			modifier = {
				factor = 5
				ZHA = {
					has_added_tension_amount > 15
				}
			}
		}
		available = {			
			is_neighbor_of = ZHA
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
			ZHA = {
				OR = {	
					has_added_tension_amount > 10
					has_offensive_war = yes
				}	
			}
			ZHA = {	
				NOT = {
					has_war_with = ZMN
					is_in_faction_with = ZMN
					is_subject_of = ZMN
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}
			add_named_threat = { threat = 10 name = zmn_agressia_protiv_han }
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ZHA					
			}
		}
	}
	focus = {
		id = zmn_pro_han_politika
		icon = GFX_goal_zmn_pro_han_politika
		cost = 10
		prerequisite = {
			focus = zmn_min_individual_podhod			
		}
		mutually_exclusive = { focus = zmn_anti_han_politika }
		x = 14
		y = 15
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				ZHA = {
					OR = {
						has_government = democratic
						has_defensive_war = yes
					}	
				}
			}
			modifier = {
				factor = 0.2
				ZHA = {
					has_added_tension_amount > 15
				}
			}
			modifier = {
				factor = 1.2
				has_opinion = {
					target = ZHA
					value > 9
				}
			}
			modifier = {
				factor = 1.5
				has_country_flag = zmn_dinastiya_min_flag
			}
			modifier = {
				factor = 0.5
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZHA				
			}
			ZHA = {
				is_in_faction = no
				NOT = {
					is_subject_of = ZMN
				}
			}			
		}
		bypass = {
			is_in_faction_with = ZHA
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.08
				add_war_support = -0.08
			}
			add_opinion_modifier = {
				target = ZHA
				modifier = drujestvennaya_ritorika_20
			}
			ZHA = {
				country_event = { id = jungo.98 }
			}
		}		
	}
	focus = {
		id = zmn_pro_han_go_go_k_nam
		icon = GFX_goal_generic_improve_relations
		cost = 10
		prerequisite = {
			focus = zmn_pro_han_politika			
		}		
		x = 14
		y = 16
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				ZHA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 0.5
				ZHA = {
					has_added_tension_amount > 15
				}
			}
		}
		available = {	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
			is_seishu_leader = yes
			NOT = {
				has_war_with = ZHA				
			}
			ZHA = {
				is_in_faction = no
				NOT = {
					is_subject_of = ZMN
				}
			}
		}
		bypass = {
			is_in_faction_with = ZHA
		}
		completion_reward = {
			ZHA = {
				country_event = { id = jungo.99 }
			}
		}		
	}
	focus = {
		id = zmn_amdo_i_prochie_go_k_nam
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zmn_pro_han_go_go_k_nam			
		}		
		x = 14
		y = 18
		ai_will_do = {
			factor = 4			
		}
		available = {			
			is_seishu_leader = yes
			is_in_faction_with = ZHA
			NOT = {
				has_war_with = ZXK				
			}
			ZXK = {
				is_in_faction = no
				is_subject = no
				NOT = { has_government = communism }
			}
		}
#		bypass = {
#			is_in_faction_with = ZXK
#		}
		completion_reward = {
			ZXK = {
				country_event = { id = jungo.400 }
			}
			if = {
				limit = {
					NOT = {
						has_war_with = ZXR				
					}
					ZXR = {
						is_in_faction = no
						is_subject = no
						NOT = { has_government = communism }
					}
				}
				ZXR = {
					country_event = { id = jungo.400 }
				}
			}
			if = {
				limit = {
					NOT = {
						has_war_with = ZMJ				
					}
					ZMJ = {
						is_in_faction = no
						is_subject = no
						NOT = { has_government = communism }
					}
				}
				ZMJ = {
					country_event = { id = jungo.400 }
				}
			}
		}		
	}
	focus = {
		id = zmn_pro_xib_go_go_k_nam
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 10
		prerequisite = {
			focus = zmn_ukrepy_protiv_han
			focus = zmn_agressia_protiv_han
			focus = zmn_pro_han_go_go_k_nam			
		}		
		x = 13
		y = 17
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				XIB = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 0.5
				XIB = {
					has_added_tension_amount > 15
				}
			}
			modifier = {
				factor = 0
				has_country_flag = ZMN_marionetk_fanatikov_cat_flag
			}
		}
		available = {			
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
			is_seishu_leader = yes
			NOT = {
				has_war_with = XIB				
			}
			XIB = {
				NOT = { has_government = communism }
				is_in_faction = no
				NOT = {
					is_subject_of = ZMN
				}
			}
		}
		bypass = {
			XIB = {
				is_in_faction_with = ZMN
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				custom_effect_tooltip = zmn_fanatiki_ne_rady_tt
				add_stability = -0.05
				add_war_support = -0.05
			}
			XIB = {
				country_event = { id = jungo.99 }
			}
		}		
	}
	#######
	focus = {
		id = zmn_predloj_ot_min
		icon = GFX_focus_fra_devalue_the_franc
		cost = 8
		prerequisite = {
			focus = zmn_obvinit_respubl_i_raboch
			focus = zmn_ignorirovat_bunt
		}
		x = 9
		y = 8
		ai_will_do = {
			factor = 7
		}
		bypass = {
			NOT = {
				has_idea = zmn_protivniki_molodogo_inperatora
			}
		}
		completion_reward = {
			add_stability = 0.02
			if = {
				limit = {
					has_idea = zmn_protivniki_molodogo_inperatora
				}
				remove_ideas = zmn_protivniki_molodogo_inperatora
			}
			add_timed_idea = {
				idea = zmn_ue_imidj_ot_min
				days = 320
			}
			custom_effect_tooltip = zmn_predloj_ot_min_tt 
			add_to_variable = { zmn_kkrrs_vany_nedovolstvo_var = 1 }
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 45
				}
			}
		}
	}
	focus = {
		id = zmn_gosbank
		icon = GFX_goal_zmn_gosbank
		cost = 8
		prerequisite = {
			focus = zmn_gos_korp_na_straje
		}
		x = 1
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_ideas = zmn_gosbank_jungo	
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 25
				}
			}
			hidden_effect = {
				country_event = { days = 18 id = jungo.74 }
			}
		}
	}
	focus = {
		id = zmn_nationaliz_agroprom_alll
		icon = GFX_goal_generic_construct_civ_factory
		cost = 8
		prerequisite = {
			focus = zmn_gos_korp_na_straje
		}
		x = 3
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_political_power = 50
			country_event = { id = jungo.112 }
		}
	}
	focus = {
		id = zmn_nationaliz_avtoprom
		icon = GFX_goal_generic_production2
		cost = 10
		prerequisite = {
			focus = zmn_gos_korp_na_straje
		}
		x = 5
		y = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			country_event = { id = jungo.113 }
		}
	}
	focus = {
		id = zmn_sjech_lishnie_dengi
		icon = GFX_goal_generic_dangerous_deal
		cost = 5
		prerequisite = {
			focus = zmn_gosbank
		}
		prerequisite = {
			focus = zmn_nationaliz_agroprom_alll
		}
		mutually_exclusive = {
			focus = zmn_napravit_dengi_rabochim
		}
		x = 2
		y = 8
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 1.2
				has_country_flag = zmn_dinastiya_chu_flag
			}
		}
		available = {
		
		}
		completion_reward = {	
			add_political_power = 50
			country_event = { id = jungo.166 }
			custom_effect_tooltip = zmn_kkrrs_decis_ne_nravitsa_omnikam_tt
		}
	}
	focus = {
		id = zmn_napravit_dengi_rabochim
		icon = GFX_goal_zmn_subsidii_rabotodatelyam
		cost = 5
		prerequisite = {
			focus = zmn_nationaliz_agroprom_alll
		}
		prerequisite = {
			focus = zmn_nationaliz_avtoprom
		}
		mutually_exclusive = {
			focus = zmn_sjech_lishnie_dengi
		}
		x = 4
		y = 8
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 1.2
				has_country_flag = zmn_dinastiya_ue_flag
			}
		}
		available = {
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
		}
		completion_reward = {
			add_political_power = 50
			country_event = { id = jungo.167 }
			custom_effect_tooltip = zmn_kkrrs_decis_ne_nravitsa_respubl_tt
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_2 = yes
			}
			if = {
				limit = {
					has_active_mission = zmn_krizis_dlya_chu_i_ue_raspad
				}
				add_days_mission_timeout  = {
					mission = zmn_krizis_dlya_chu_i_ue_raspad
					days = 30
				}
			}
		}
	}
	focus = {
		id = zmn_itog_vsego_etogo
		icon = GFX_goal_zmn_min_vykhod_iz_kriz
		cost = 1
		prerequisite = {
			focus = zmn_napravit_dengi_rabochim
			focus = zmn_sjech_lishnie_dengi			
		}
		prerequisite = {
			focus = zmn_kajestvo_zemli_uroven_naloga
			focus = zmn_predloj_ot_min
			focus = zmn_ekonomik_sanktsii
		}
		x = 6
		y = 9
		ai_will_do = {
			factor = 8
		}
		available = {
			has_country_flag = zmn_kkrrs_zavershaet_raboty_flag
			has_civil_war = no
			NOT = {
				has_idea = zmn_bezrabot
				has_idea = zmn_mery_po_borbe_sbezrab
			}
		}
		completion_reward = {
			custom_effect_tooltip = zmn_itog_vsego_etogo_tt 
#			effect_tooltip = {	# а? согласны? узнали?
#			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz
				}
				remove_ideas = zmn_finans_kriz
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min
				}
				remove_ideas = zmn_finans_kriz_mery_min
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min_vykhod
				}
				remove_ideas = zmn_finans_kriz_mery_min_vykhod
			}
			if = {
				limit = {
					has_idea = zmn_finans_kriz_mery_min_vykhod
				}
				remove_ideas = zmn_finans_kriz_mery_min_vykhod
			}
			clr_country_flag = zmn_krizis_dlya_chu_i_ue_flag
			random_list = {
				50 = {
					add_country_leader_trait = zmn_zaslujil_narodnoye_priznanie
				}
				50 = {
					custom_effect_tooltip = zmn_itog_vsego_etogo_2_tt  
				}
			}
			if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.15
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_country_leader = {
							character = ZMN_luo_jiahao
							ruling_only = yes
						}
						has_country_flag = zmn_chu_fanatiki_poslany_flag
					}
					country_event = { days = 18 id = jungo.351 } # фанатики пришли
				}
				if = {
					limit = {
						has_country_leader = {
							character = ZMN_luo_jiahao
							ruling_only = yes
						}
						has_country_flag = zmn_chu_fanatiki_tyt_flag
					}
					country_event = { days = 15 id = jungo.358 }
				}
			}
		}
	}
	focus = {
		id = zmn_integratsionnye_proekty
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zmn_itog_vsego_etogo				
		}		
		x = 1
		y = 10
		ai_will_do = {
			factor = 3
		}
		available = {
			has_stability > 0.9
			has_war = no
			is_subject = no
			chungo_is_massivv_trigger = yes
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {		
			country_event = { id = jungo.332 }
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}			
		}
	}
	focus = {
		id = zmn_integratsiya_pognali
		icon = GFX_goal_continuous_increase_nu
		cost = 10
		prerequisite = {
			focus = zmn_integratsionnye_proekty				
		}		
		x = 1
		y = 12
		ai_will_do = {
			factor = 3
		}
		available = {
			has_stability > 0.9
			has_war = no
			is_subject = no
			chungo_is_massivv_trigger = yes
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {	
			if = {
				limit = {
					has_completed_focus = zmn_integratsionnye_proekty
				}
				custom_effect_tooltip = zmn_integratsiya_pognali_tt
			}
			country_event = { id = jungo.333 }
			custom_effect_tooltip = zmn_integratsiya_pognali_tt_2
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}	
			
		}
	}
	##
	focus = {
		id = zmn_3_etapa_ozdorovleniya_1
		icon = GFX_focus_generic_industry_1
		cost = 4
		prerequisite = {
			focus = zmn_itog_vsego_etogo				
		}		
		x = 3
		y = 10
		ai_will_do = {
			factor = 4
		}
		available = {			
			chungo_is_massivv_trigger = yes			
		}
		completion_reward = {		
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_plus_1 = yes
			}
			add_stability = 0.03
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
					is_in_home_area = yes						
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
					is_in_home_area = yes						
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zmn_3_etapa_ozdorovleniya_2
		icon = GFX_focus_generic_industry_2
		cost = 3
		prerequisite = {
			focus = zmn_3_etapa_ozdorovleniya_1				
		}		
		x = 3
		y = 11
		ai_will_do = {
			factor = 4
		}
		available = {			
			chungo_is_massivv_trigger = yes			
		}
		completion_reward = {		
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_plus_1 = yes
			}
			add_war_support = 0.05
			random_owned_controlled_state = {
				limit = {
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					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
				}
			}
		}
	}
	focus = {
		id = zmn_3_etapa_ozdorovleniya_3
		icon = GFX_focus_generic_industry_3
		cost = 2
		prerequisite = {
			focus = zmn_3_etapa_ozdorovleniya_2				
		}		
		x = 3
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {			
			chungo_is_massivv_trigger = yes			
		}
		completion_reward = {		
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_plus_1 = yes
			}
			add_stability = 0.05
			add_war_support = 0.02
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
					is_in_home_area = yes						
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}					
					is_in_home_area = yes						
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}					
					is_in_home_area = yes						
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}					
					is_in_home_area = yes						
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}					
					is_in_home_area = yes						
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}					
					is_in_home_area = yes						
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zmn_raketny_poligon
		icon = GFX_goal_ar_focus_kosmodrom
		cost = 2
		prerequisite = {
			focus = zmn_3_etapa_ozdorovleniya_3				
		}		
		x = 3
		y = 13
		ai_will_do = {
			factor = 12
		}
		available = {
			date > 1994.01.01
			num_of_factories > 25
			has_tech = advanced_rocket_engines
			owns_state = 594			
			594 = {
				custom_trigger_tooltip = {
					tooltip = ar_est_slot_pod_kosmodrom_tt
					free_building_slots = {
						building = arms_factory 
						size > 0
						include_locked = yes					
					}
				}				
			}
			594 = {
				rocket_site < 1
			}
		}
		completion_reward = {
			add_war_support = 0.02
			air_experience = 25
			594 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = rocket_site
					level = 1
					instant_build = yes
				}
			}
		}
		
	}	
	##
	focus = {
		id = zmn_imper_goszakazy
		icon = GFX_focus_generic_self_management
		cost = 5
		prerequisite = {
			focus = zmn_itog_vsego_etogo				
		}		
		x = 5
		y = 10
		ai_will_do = {
			factor = 3
		}
		available = {			
			is_subject = no	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_medium_support_trigger = yes
			}
		}
		completion_reward = {		
			unlock_decision_tooltip = zmn_imperia_goszakaz_tachki		
			unlock_decision_tooltip = zmn_imperia_goszakaz_tanki		
			unlock_decision_tooltip = zmn_imperia_goszakaz_samoletiki					
		}
	}
	focus = {
		id = zmn_imper_laboratorii_perspektiv
		icon = GFX_focus_research2
		cost = 8
		prerequisite = {
			focus = zmn_itog_vsego_etogo				
		}		
		x = 7
		y = 10
		ai_will_do = {
			factor = 3
		}
		available = {			
			is_subject = no				
		}
		completion_reward = {					
			add_tech_bonus = {
				name = zmn_imper_laboratorii_perspektiv
				bonus = 1.0
				uses = 4
				category = electronics
				category = nuclear
				category = rocketry
			}
		}
	}	
	focus = {
		id = zmn_komitet_kontrolya_mil
		icon = GFX_focus_generic_the_giant_wakes
		cost = 10
		prerequisite = {
			focus = zmn_imper_goszakazy				
		}
		prerequisite = {
			focus = zmn_imper_laboratorii_perspektiv				
		}		
		x = 6
		y = 11
		ai_will_do = {
			factor = 3
		}
		available = {			
			is_subject = no				
		}
		completion_reward = {					
			add_ideas = zmn_imper_komitet_cntrl
		}
	}
	##
	focus = {
		id = zmn_vneshnaya_politika_novoi_jungi
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = zmn_itog_vsego_etogo			
		}
		x = 9
		y = 10
		ai_will_do = {
			factor = 7
		}
		available = {
#			has_war = no
#			is_seishu_leader = yes
#			has_stability > 0.5			
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = zmn_upadok_armii
				}
				remove_ideas = zmn_upadok_armii
			}
			if = {
				limit = {
					has_country_leader = {
						character = ZMN_luo_jiahao
						ruling_only = yes
					}
					has_country_flag = ZMN_marionetk_fanatikov_cat_flag
				}
				country_event = { id = jungo.377 }
			}
			hidden_effect = {
				if = {
					limit = {
						has_template = "Zhimindi Lu"
					}
					set_division_template_lock = {
						division_template = "Zhimindi Lu"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Bubing Shi"
					}
					set_division_template_lock = {
						division_template = "Bubing Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Zhimindi Shi"
					}
					set_division_template_lock = {
						division_template = "Zhimindi Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Qibing Jun"
					}
					set_division_template_lock = {
						division_template = "Qibing Jun"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Zhuangjia Shi"
					}
					set_division_template_lock = {
						division_template = "Zhuangjia Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Jidong Shi"
					}
					set_division_template_lock = {
						division_template = "Jidong Shi"
						is_locked = no
					}
				}
				if = {
					limit = {
						has_template = "Shandi Shi"
					}
					set_division_template_lock = {
						division_template = "Shandi Shi"
						is_locked = no
					}
				}				
			}
		}
	}
	focus = {
		id = zmn_oboronny_budjet_jungi
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = zmn_vneshnaya_politika_novoi_jungi			
		}
		x = 9
		y = 12
		ai_will_do = {
			factor = 7
		}
		available = {
			has_war = no
			is_seishu_leader = yes
			has_stability > 0.5	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {
			add_stability = -0.01
			add_war_support = 0.03
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_support_minus_3 = yes
			}			
		}
	}
	focus = {
		id = zmn_imper_laboratorii_atomov
		icon = GFX_goal_continuous_research
		cost = 8
		prerequisite = {
			focus = zmn_imper_laboratorii_perspektiv				
		}
		prerequisite = {
			focus = zmn_oboronny_budjet_jungi				
		}
		x = 7
		y = 13
		ai_will_do = {
			factor = 3
		}
		available = {			
			is_subject = no	
			if = {
				limit = {
					has_country_flag = ZMN_ue_senat_chjuhou_flag
					has_government = democratic	
				}
				zmn_zhuhou_high_support_trigger = yes
			}
		}
		completion_reward = {					
			add_ideas = atomic_laboratorss			
		}
	}
	#### рандомные генерики
	focus = {
		id = zmn_gener_1_allianse_1
		icon = GFX_focus_usa_escort_fighters
		cost = 5		
		x = 15
		y = 0
		ai_will_do = {
			factor = 2
		}		
		available = {
			is_faction_leader = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_war_support = 0.02
			army_experience = 2
			add_doctrine_cost_reduction = {
				name = zmn_gener_1_allianse_1
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zmn_gener_1_allianse_2
		icon = GFX_focus_generic_license_production
		cost = 5		
		x = 17
		y = 0
		ai_will_do = {
			factor = 2
		}		
		available = {
			is_faction_leader = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			army_experience = 2
			add_war_support = 0.02
			every_other_country = {
				limit = { 
					is_in_faction_with = ZMN
				}				
				army_experience = 2
				add_war_support = 0.02
			}
		}
	}
	focus = {
		id = zmn_gener_2_allianse_1
		icon = GFX_goal_generic_fortify_city
		cost = 10
		prerequisite = {
			focus = zmn_gener_1_allianse_1			
		}
		prerequisite = {
			focus = zmn_gener_1_allianse_2			
		}
		x = 16
		y = 1
		ai_will_do = {
			factor = 2
		}		
		available = {
			is_faction_leader = yes
			NOT = {
				has_country_flag = zmn_my_vybrali_respubl_flag
			}
		}
		completion_reward = {
			add_ideas = zmn_shtab_koordinatsii_seishu
		}
	}	
}
