focus_tree = {
	id = ZPE
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZPE
		}
	}
	default = no
	continuous_focus_position = { x = 90 y = 820 }
	focus = {
		id = zpe_sovet_stareishin
		icon = GFX_goal_generic_neutrality_focus
		cost = 10
		x = 9
		y = 0
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_political_power = 60
			add_stability = 0.02
		}
	}
	focus = {
		id = zpe_analiz_sityatsii
		icon = GFX_goal_generic_propaganda
		cost = 10
		x = 11
		y = 0
		ai_will_do = {
			factor = 5
		}
		available = {

		}
		completion_reward = {
			army_experience = 5
			add_war_support = 0.02
		}
	}
	focus = {
		id = zpe_narodnye_predpocteniya
		icon = GFX_goal_generic_cavalry
		cost = 10
		x = 13
		y = 0
		ai_will_do = {
			factor = 5
		}
		available = {

		}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
		}
	}
	focus = {
		id = zpe_westernisation
		icon = GFX_goal_anschluss
		cost = 10
		prerequisite = {
			focus = zpe_sovet_stareishin
		}
		prerequisite = {
			focus = zpe_analiz_sityatsii
		}
		prerequisite = {
			focus = zpe_narodnye_predpocteniya
		}
		x = 11
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {

		}
		completion_reward = {
			add_political_power = 50
			add_ideas = zpe_novy_kurs
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ZPE_centrism_minist
		}
	}
	focus = {
		id = zpe_sotsialnaya_programma
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zpe_westernisation
		}
		x = 8
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ZPE_industr_minist_1
		}
	}
	focus = {
		id = zpe_novye_rabochmesta
		icon = GFX_goal_generic_construction2
		cost = 10
		prerequisite = {
			focus = zpe_sotsialnaya_programma
		}
		x = 2
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = industrial_complex
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = industrial_complex
										level = 1
										instant_build = yes
									}
							}
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = construction_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = industrial_complex
												size < 1
												include_locked = yes
											}
									}
							}
		}
	}
	focus = {
		id = zpe_neft_v_784
		icon = GFX_goal_generic_oil_refinery
		cost = 10
		prerequisite = {
			focus = zpe_sotsialnaya_programma
		}
		x = 4
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = { 
			controls_state = 784
		}
		completion_reward = {
			add_political_power = 50
			add_stability = 0.01
			add_resource = {
				type = oil
				amount = 18
				state = 784
			}
		}
	}				
	focus = {
		id = zpe_razvitie_doroznoi_seti
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zpe_novye_rabochmesta
		}
		x = 1
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = infrastructure
												size > 0
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		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
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = infrastructure
																				size > 1
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}
	}
	focus = {
		id = zpe_zavods_kompeks_2
		icon = GFX_goal_generic_construction
		cost = 10
		prerequisite = {
			focus = zpe_novye_rabochmesta
		}
		x = 3
		y = 4
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 1
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		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
									}
							}
					}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
							size < 2
							include_locked = yes
					}
				}
			}
		}
	}
	focus = {
		id = zpe_kurs_na_nauky
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = zpe_sotsialnaya_programma
		}
		x = 6
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zpe_nauka_sponsor
		}
	}
	focus = {
		id = zpe_nauka_permi
		icon = GFX_focus_research2
		cost = 10
		prerequisite = {
			focus = zpe_kurs_na_nauky
		}
		x = 6
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			amount_research_slots < 4
		}
		completion_reward = {
			add_research_slot = 1
		}
	}
	focus = {
		id = zpe_new_dvigateli
		icon = GFX_goal_generic_production2
		cost = 10
		prerequisite = {
			focus = zpe_kurs_na_nauky
		}
		x = 5
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_political_power = 20
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ZPE_motor_zavod_manuf_1
		}
	}
	focus = {
		id = zpe_industial_tecnology
		icon = GFX_goal_generic_production
		cost = 10
		prerequisite = {
			focus = zpe_kurs_na_nauky
		}
		x = 7
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = industrial_bonus
								bonus = 0.5
								uses = 2
								category = industry
							}
					}


	}
	focus = {
		id = zpe_perepis_naseleniya
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zpe_sotsialnaya_programma
		}
		x = 9
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						if = {
								limit = {
										581 = {
												is_owned_by = ZPE
											}
									}
								581 = {
										add_manpower = 18541
									}
							}
						if = {
								limit = {
										262 = {
												is_owned_by = ZPE
											}
									}
								262 = {
										add_manpower = 9521
									}
							}
						if = {
								limit = {
										397 = {
												is_owned_by = ZPE
											}
									}
								397 = {
										add_manpower = 15267
									}
							}					
						if = {
								limit = {
										579 = {
												is_owned_by = ZPE
											}
									}
								579 = {
										add_manpower = 11254
									}
							}
						if = {
								limit = {
										398 = {
												is_owned_by = ZPE
											}
									}
								398 = {
										add_manpower = 16879
									}
							}
					}

				available = {
						has_war = no
					}


	}
	focus = {
		id = zpe_uluchshenie_uslovii_zizni
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = zpe_perepis_naseleniya
		}
		x = 9
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {

		}
		completion_reward = {
			add_timed_idea = {
				idea = zpe_demograf_idea
				days = 760
			}			
		}		
	}
	focus = {
		id = zpe_stoikaua_politika_centrisma
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zpe_westernisation
		}
		x = 11
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {				
			add_timed_idea = {
				idea = zpe_poli_cent_idea
				days = 260
			}
		}
	}
	focus = {
		id = zpe_novyi_kabinet_ministrov
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zpe_stoikaua_politika_centrisma
		}
		x = 11
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_political_power = 50
						custom_effect_tooltip = remove_political_advisor
						show_ideas_tooltip = ZPE_politik_advis_1
						custom_effect_tooltip = remove_political_advisor
						show_ideas_tooltip = ZPE_politik_advis_2
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = ZPE_politik_advis_3
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = ZPE_politik_advis_4
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = ZPE_politik_advis_5
					}

				available = {

}


	}
	focus = {
		id = zpe_religiozny_vopros
		icon = GFX_goal_generic_demand_territory
		cost = 10
		prerequisite = {
			focus = zpe_novyi_kabinet_ministrov
		}
		x = 11
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
				if = {
					limit = {
							has_idea = zpe_islamizm_idea
					}
					remove_ideas = zpe_islamizm_idea
				}
				add_ideas = zpe_svetskoe_gosvo_idea
				ZOR = {
					add_opinion_modifier = {
						target = ZPE
						modifier = islamik_veroterpimost
					}
				}
				ZUF = {
					add_opinion_modifier = {
						target = ZPE
						modifier = islamik_veroterpimost
					}
				}
		}
	}
	focus = {
		id = zpe_novoe_litso_molodezi
		icon = GFX_goal_generic_improve_relations
		cost = 10
		prerequisite = {
			focus = zpe_religiozny_vopros
		}
		prerequisite = {
			focus = zpe_uluchshenie_uslovii_zizni
		}
		x = 10
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			remove_ideas = zpe_novy_kurs
		}
	}
	focus = {
		id = zpe_shirokye_svobody
		icon = GFX_goal_support_democracy
		cost = 10
		prerequisite = {
			focus = zpe_novoe_litso_molodezi
		}
		mutually_exclusive = {
			focus = zpe_luchshe_kak_bylo
		}
		x = 9
		y = 6
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 3
				ZRI = {
					has_government = democratic
				}
			}
		}
		completion_reward = {
			remove_ideas = zpe_poli_cent_idea						
			add_timed_idea = {
				idea = democratizm
				days = 1000
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.08
			}
		}		
	}
	focus = {
		id = zpe_luchshe_kak_bylo
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = zpe_novoe_litso_molodezi
		}
		mutually_exclusive = {
			focus = zpe_shirokye_svobody
		}
		x = 11
		y = 6
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 150			
		}
	}
	focus = {
		id = zpe_ukrepleniye_svyazei
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zpe_luchshe_kak_bylo
		}
		x = 11
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			add_war_support = 0.03
			every_other_country = {
				limit = { 
					is_in_faction_with = ZPE
				}				
				add_stability = 0.01
				add_war_support = 0.02
				if = {
					limit = {
						is_in_faction_with = ZPE
					}
					add_opinion_modifier = {
						target = ZPE
						modifier = nash_verny_soyznik_20
					}
				}
			}			
		}
		bypass = {
			is_in_faction = no
		}
	}
	focus = {
		id = zpe_european_standart_army
		icon = GFX_goal_generic_allies_build_infantry
		cost = 10
		prerequisite = {
			focus = zpe_westernisation
		}
		mutually_exclusive = {
			focus = zpe_asian_standart_army
		}
		x = 14
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = infantry_artillery_bonus
				bonus = 0.5
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}
	focus = {
		id = zpe_asian_standart_army
		icon = GFX_focus_generic_japanese_imperial_glory
		cost = 10
		prerequisite = {
			focus = zpe_westernisation
		}
		mutually_exclusive = {
			focus = zpe_european_standart_army
		}
		x = 16
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zpe_infantr_research_1
		icon = GFX_goal_generic_army_artillery
		cost = 10
		prerequisite = {
			focus = zpe_european_standart_army
			focus = zpe_asian_standart_army
		}
		x = 13
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
					cost_reduction = 0.25
					uses = 2
					category = land_doctrine
			}
		}
	}
	focus = {
		id = zpe_infantr_research_2
		icon = GFX_goal_generic_axis_build_infantry
		cost = 10
		prerequisite = {
			focus = zpe_infantr_research_1
		}
		x = 13
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 15
				if = {
					limit = {
						NOT = {
							has_war_with = ZSL
						}
					}
					ZSL = {
						country_event = {
							id = perm.2
						}
					}
				}
		}
	}
	focus = {
		id = zpe_vospitanye_patriotizma
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zpe_infantr_research_2
		}
		prerequisite = {
			focus = zpe_novoe_litso_molodezi
		}
		x = 13
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			remove_ideas = zpe_trudnoprohodim_mestn
		}
	}
	focus = {
		id = zpe_stroyoboron_otryady
		icon = GFX_goal_generic_construction2
		cost = 10
		prerequisite = {
			focus = zpe_vospitanye_patriotizma
		}
		x = 13
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zpe_stroyotryad_idea
		}
	}
	focus = {
		id = zpe_nasha_zashtita
		icon = GFX_goal_generic_military_sphere
		cost = 10
		prerequisite = {
			focus = zpe_ukrepleniye_svyazei
		}
		prerequisite = {
			focus = zpe_stroyoboron_otryady
		}
		x = 12
		y = 8
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.02
			add_political_power = 50
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ZPE_politik_advis_6
		}
		available = {
			threat > 0.20
		}
	}
	focus = {
		id = zpe_aviation_port_1
		icon = GFX_goal_generic_air_fighter
		cost = 10
		prerequisite = {
			focus = zpe_european_standart_army
			focus = zpe_asian_standart_army
		}
		x = 15
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			air_experience = 25
			if = {
				limit = {
										capital_scope = {
												NOT = {
														free_building_slots = {
																building = air_base
																size > 1
															}
													}
											}
									}
								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
											}
									}
							}
						if = {
								limit = {
										capital_scope = {
												free_building_slots = {
														building = air_base
														size > 1
													}
											}
									}
								capital_scope = {
										add_building_construction = {
												type = air_base
												level = 2
												instant_build = yes
											}
										ROOT = {
												set_country_flag = aviation_effort_AB
											}
									}
							}
						add_doctrine_cost_reduction = {
								name = air_doc_bonus
								cost_reduction = 0.25
								uses = 1
								category = air_doctrine
							}
					}


	}
	focus = {
		id = zpe_istrebitely_2
		icon = GFX_goal_generic_air_fighter2
		cost = 10
		prerequisite = {
			focus = zpe_aviation_port_1
		}
		x = 15
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 0.5
				uses = 2
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = heavy_fighter1
				technology = heavy_fighter2
			}
		}
	}
	focus = {
		id = zpe_taktikal_bomder
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = zpe_istrebitely_2
		}
		mutually_exclusive = {
			focus = zpe_strategik_bomber_1
		}
		x = 14
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_doctrine_cost_reduction = {
								name = op_dest_bonus
								cost_reduction = 0.25
								uses = 2
								category = battlefield_support_tree
							}
						add_tech_bonus = {
								name = bomber_bonus
								bonus = 0.5
								uses = 1
								category = tactical_bomber
								category = cas_bomber
							}
					}


	}
	focus = {
		id = zpe_strategik_bomber_1
		icon = GFX_goal_generic_occupy_start_war
		cost = 10
		prerequisite = {
			focus = zpe_istrebitely_2
		}
		mutually_exclusive = {
			focus = zpe_taktikal_bomder
		}
		x = 16
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_doctrine_cost_reduction = {
								name = strat_dest_bonus
								cost_reduction = 0.25
								uses = 2
								category = battlefield_support_tree
							}
						add_tech_bonus = {
								name = bomber_bonus
								bonus = 0.5
								uses = 1
								category = cat_strategic_bomber
							}
					}


	}
	focus = {
		id = zpe_army_zavod
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zpe_european_standart_army
			focus = zpe_asian_standart_army
		}
		x = 18
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = arms_factory
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = arms_factory
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = arms_factory
										level = 1
										instant_build = yes
									}
							}
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = production_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = arms_factory
												size < 1
												include_locked = yes
											}
									}
							}
					}


	}
	focus = {
		id = zpe_army_industriya_1
		icon = GFX_goal_generic_construction
		cost = 10
		prerequisite = {
			focus = zpe_ministr_voenproma
		}
		x = 18
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = arms_factory
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = arms_factory
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = arms_factory
										level = 1
										instant_build = yes
									}
							}
					}

				available = {
						threat > 0.2
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = production_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = arms_factory
												size < 1
												include_locked = yes
											}
									}
							}
					}


	}
	#
	focus = {
		id = zpe_reformy_komplektovaniya
		icon = GFX_goal_generic_military_sphere
		cost = 5
		prerequisite = {
			focus = zpe_european_standart_army
			focus = zpe_asian_standart_army
		}
		x = 21
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.05
		}
	}
	focus = {
		id = zpe_reformy_mass_armiya
		icon = GFX_focus_generic_little_entente
		cost = 5
		prerequisite = {
			focus = zpe_reformy_komplektovaniya			
		}
		mutually_exclusive = {
			focus = zpe_reformy_proff_armiya
		}
		x = 20
		y = 4
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			add_ideas = ar_massarmy
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					remove_ideas = ar_professarmy
				}
			}
		}
	}
	focus = {
		id = zpe_reformy_mass_armiya_2
		icon = GFX_goal_generic_allies_build_infantry
		cost = 10
		prerequisite = {
			focus = zpe_reformy_mass_armiya			
		}		
		x = 20
		y = 5
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			army_experience = 10
			add_stability = -0.02
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarmy
					}
					swap_ideas = {
						remove_idea = ar_massarmy
						add_idea = ar_massarm2
					}
					else = {
						add_ideas = ar_massarm2
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_massarm2
		}
	}
	focus = {
		id = zpe_reformy_mass_armiya_3
		icon = GFX_focus_generic_air_defense
		cost = 10
		prerequisite = {
			focus = zpe_reformy_mass_armiya_2			
		}		
		x = 20
		y = 6
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			army_experience = 10
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarm2
					}
					swap_ideas = {
						remove_idea = ar_massarm2
						add_idea = ar_massweaponrifles
					}
					else = {
						add_ideas = ar_massweaponrifles
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_massweaponrifles
		}
	}
	focus = {
		id = zpe_reformy_proff_armiya
		icon = GFX_focus_generic_military_mission
		cost = 5
		prerequisite = {
			focus = zpe_reformy_komplektovaniya			
		}
		mutually_exclusive = {
			focus = zpe_reformy_mass_armiya
		}
		x = 22
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = ar_professarmy
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarmy
					}
					remove_ideas = ar_massarmy
				}
			}
		}
	}
	focus = {
		id = zpe_reformy_proff_armiya_2
		icon = GFX_goal_panzerwaffe
		cost = 5
		prerequisite = {
			focus = zpe_reformy_proff_armiya			
		}		
		x = 22
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5			
			add_stability = 0.02
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					swap_ideas = {
						remove_idea = ar_professarmy
						add_idea = ar_shkolaofficerov
					}
					else = {
						add_ideas = ar_shkolaofficerov
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_shkolaofficerov
		}
	}
	focus = {
		id = zpe_reformy_proff_armiya_3
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 10
		prerequisite = {
			focus = zpe_reformy_proff_armiya_2			
		}		
		x = 22
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_shkolaofficerov
					}
					swap_ideas = {
						remove_idea = ar_shkolaofficerov
						add_idea = ar_elitnayaarmiya
					}
					else = {
						add_ideas = ar_elitnayaarmiya
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_elitnayaarmiya
		}
	}
	focus = {
		id = zpe_flot_destr
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		prerequisite = {
			focus = zpe_european_standart_army
			focus = zpe_asian_standart_army
		}
		x = 24
		y = 3
		ai_will_do = {
			factor = 0.5
		}
		completion_reward = {
			navy_experience = 25
			add_war_support = 0.01
			add_tech_bonus = {
				name = dd_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = dd_tech
			}
		}
	}
	#
	focus = {
		id = zpe_bonus_to_elektronik
		icon = GFX_goal_generic_radar
		cost = 10
		prerequisite = {
			focus = zpe_zavods_kompeks_2
		}
		x = 3
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = secret_bonus
				bonus = 0.5
				uses = 2
				category = electronics
			}
		}
	}
	focus = {
		id = zpe_razvitie_dorog_2
		icon = GFX_goal_generic_army_motorized
		cost = 10
		prerequisite = {
			focus = zpe_razvitie_doroznoi_seti
		}
		x = 1
		y = 5
				completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = infrastructure
												size > 0
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		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
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = infrastructure
																				size > 1
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_building_construction = {
										type = infrastructure
										level = 2
										instant_build = yes
									}
							}
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = infrastructure_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = infrastructure
												size < 1
											}
									}
							}
					}


	}
	focus = {
		id = zpe_demokratik_poslableniya
		icon = GFX_goal_generic_national_unity
		cost = 5
		prerequisite = {
			focus = zpe_shirokye_svobody
		}
		x = 9
		y = 7
		ai_will_do = {
			factor = 10
		}
		available = {

		}
		bypass = {
			has_government = democratic
		}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.11
			}
		}
	}
	focus = {
		id = zpe_ryad_reform
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 5
		prerequisite = {
			focus = zpe_demokratik_poslableniya
		}
		x = 9
		y = 8
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.10
			}
		}
		available = {

		}
		bypass = {
			has_government = democratic
		}
	}
	focus = {
		id = zpe_democr_vybor
		icon = GFX_goal_anschluss
		cost = 10
		prerequisite = {
			focus = zpe_ryad_reform
		}
		mutually_exclusive = {
			focus = zpe_stop_stop
		}
		x = 8
		y = 9
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			country_event = {
				id = perm.4
			}
		}
		available = {
			democratic > 0.2
		}
		bypass = {
			has_government = democratic
		}
	}
	focus = {
		id = zpe_ministr_voenproma
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zpe_army_zavod
		}
		x = 18
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ZPE_politik_advis_7
		}
	}
	focus = {
		id = zpe_narodnye_otryadi_oborony
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zpe_nasha_zashtita
		}
		x = 12
		y = 9
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.05
			country_event = {
				id = perm.3
			}
		}
		available = {
			controls_state = 398
			has_war = yes
			surrender_progress > 0.1
		}
	}
	focus = {
		id = zpe_gvardiya_sultana
		icon = GFX_focus_hol_united_netherlands
		cost = 10
		prerequisite = {
			focus = zpe_nasha_zashtita
		}
		x = 14
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = neutrality
		}
		completion_reward = {
			add_ideas = zpe_guard_sultan
		}		
	}
	focus = {
		id = zpe_motorizatia_pri_sultane
		icon = GFX_goal_generic_production2
		cost = 10
		prerequisite = {
			focus = zpe_gvardiya_sultana
		}
		x = 14
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = neutrality
		}
		completion_reward = {
			add_ideas = zpe_progr_motorizatii
		}		
	}
	focus = {
		id = zpe_voennaya_mashina_sultana
		icon = GFX_focus_generic_industry_3
		cost = 10
		prerequisite = {
			focus = zpe_nasha_zashtita
		}
		x = 16
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = neutrality
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = arms_factory
				level = 3
				instant_build = yes
			}
		}
		completion_reward = {
			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
				}
			}
			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 = zpe_vernyt_detei_ko_dvory
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zpe_democr_vybor
		}
		x = 6
		y = 10
		ai_will_do = {
			factor = 12
		}
		available = {
			has_government = democratic			
		}		
		completion_reward = {
			country_event = { id = perm.26 }
		}		
	}
	focus = {
		id = zpe_spets_podgotovka_armii
		icon = GFX_focus_focus_fra_maquis
		cost = 10
		prerequisite = {
			focus = zpe_democr_vybor
		}
		x = 4
		y = 10
		ai_will_do = {
			factor = 12
		}
		available = {
			has_government = democratic			
		}		
		completion_reward = {
			add_ideas = zpe_spets_podgotovka_boost
		}		
	}
	focus = {
		id = zpe_protivistoyanie_slavianam
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zpe_democr_vybor
		}
		x = 2
		y = 10
		ai_will_do = {
			factor = 12
		}
		available = {
			is_subject = no
			has_government = democratic	
			is_neighbor_of = ZSL
			has_opinion = {
				target = ZSL
				value < -5
			}
			NOT = {
				is_in_faction_with = ZSL
				has_war_with = ZSL
			}
			ZSL = {
				NOT = { has_government = democratic }
			}			
		}		
		completion_reward = {
			add_war_support = 0.05
			add_opinion_modifier = {
				target = ZSL
				modifier = slaviane_ugroza_democr
			}
		}		
	}
	focus = {
		id = zpe_rospusk_ural_alliance
		icon = GFX_goal_generic_CAS
		cost = 5
		prerequisite = {
			focus = zpe_democr_vybor
		}
		x = 8
		y = 10
		ai_will_do = {
			factor = 15
		}
		available = {
			has_government = democratic
			is_faction_leader = yes
		}
		bypass = {
			is_in_faction = no
		}
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
					NOT = {
						is_in_faction_with = ZOR
					}
				}
				dismantle_faction = yes
				hidden_effect = {
					news_event = {
						hours = 3
						id = ar_news.606
					}
				}
			}
			if = {
				limit = {
					is_faction_leader = yes					
					is_in_faction_with = ZOR					
				}				
				ZOR = {
					set_faction_leader = yes
					country_event = { id = perm.6 }
				}
				leave_faction = yes
				hidden_effect = {
					news_event = {
						hours = 3
						id = ar_news.606
					}
				}
			}			
		}		
	}
	focus = {
		id = zpe_vzglyad_na_rim
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 5
		prerequisite = {
			focus = zpe_rospusk_ural_alliance
		}
		x = 8
		y = 11
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = no
			has_government = democratic
			is_in_faction = no
			ZRI = {
				has_government = democratic
				is_faction_leader = yes
			}
		}
		bypass = {
			is_in_faction_with = ZRI
		}
		completion_reward = {
			add_ai_strategy = {
				type = alliance
				id = "ZRI"
				value = 80
			}
			ZRI = {
				country_event = {
#					id = perm.5
					id = ar_political.509
				}
			}
		}		
	}
	focus = {
		id = zpe_rimskoye_sovm_protivod_slaviyanam
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = zpe_protivistoyanie_slavianam
		}
		prerequisite = {
			focus = zpe_vzglyad_na_rim
		}
		x = 2
		y = 12
		ai_will_do = {
			factor = 17
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI			
			is_neighbor_of = ZSL
			has_opinion = {
				target = ZSL
				value < -5
			}
			NOT = {
				is_in_faction_with = ZSL
				has_war_with = ZSL
			}
			ZSL = {
				NOT = { has_government = democratic }
			}			
		}	
		completion_reward = {
			add_ideas = zpe_anti_zsl_boost
		}			
	}
	focus = {
		id = zpe_rimskoye_nauchn_sotrudnch
		icon = GFX_focus_research2
		cost = 10
		prerequisite = {
			focus = zpe_vzglyad_na_rim
		}
		x = 4
		y = 12
		ai_will_do = {
			factor = 17
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI	
		}	
		completion_reward = {
			add_ideas = zpe_nauka_s_rimsk_resp
			add_tech_bonus = {
				name = electronics_bonus
				bonus = 1.0
				uses = 1
				category = electronics
			}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 1
				category = industry
			}	
		}			
	}
	focus = {
		id = zpe_rimskoye_prom_sotrudnch
		icon = GFX_focus_generic_the_giant_wakes
		cost = 10
		prerequisite = {
			focus = zpe_vzglyad_na_rim
		}
		x = 6
		y = 12
		ai_will_do = {
			factor = 20
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI	
		}	
		completion_reward = {
			add_ideas = zpe_prom_s_rimsk_resp
		}			
	}
	focus = {
		id = zpe_rimskoye_prom_sotrudnch_2
		icon = GFX_goal_generic_production
		cost = 10
		prerequisite = {
			focus = zpe_rimskoye_prom_sotrudnch
		}
		x = 6
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI	
		}	
		complete_tooltip = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
		completion_reward = {
			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 = 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
				}
			}
		}				
	}
	focus = {
		id = zpe_rimskoye_sotrudnch
		icon = GFX_goal_generic_military_deal
		cost = 10
		prerequisite = {
			focus = zpe_vzglyad_na_rim
		}
		x = 8
		y = 12
		ai_will_do = {
			factor = 20
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI	
		}	
		completion_reward = {
			add_ideas = zpe_sotrunch_s_rimsk_resp
		}			
	}
	focus = {
		id = zpe_rimskoye_sotrudnch_2
		icon = GFX_goal_generic_fortify_city
		cost = 10
		prerequisite = {
			focus = zpe_rimskoye_sotrudnch
		}
		x = 8
		y = 13
		ai_will_do = {
			factor = 3
		}
		available = {
			has_government = democratic	
			is_in_faction_with = ZRI	
		}	
		complete_tooltip = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		completion_reward = {
			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 = 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
				}
			}
		}			
	}
	###########
	focus = {
		id = zpe_stop_stop
		icon = GFX_goal_generic_secret_weapon
		cost = 2
		prerequisite = {
			focus = zpe_ryad_reform
		}
		mutually_exclusive = {
			focus = zpe_democr_vybor
		}
		x = 10
		y = 9
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = neutrality
		}
		completion_reward = {
			country_event = { id = perm.7 }
		}				
	}
	focus = {
		id = zpe_borba_za_vlast_2
		icon = GFX_goal_continuous_suppression
		cost = 1
		prerequisite = {
			focus = zpe_stop_stop
		}		
		x = 10
		y = 11
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality
		}
		completion_reward = {
			country_event = { id = perm.8 }
		}				
	}
	##
	focus = {
		id = zpe_vlast_uzurpatora_1
		icon = GFX_goal_generic_wolf_pack
		cost = 2
		prerequisite = {
			focus = zpe_borba_za_vlast_2
		}		
		x = 10
		y = 12
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality
			has_country_flag = zpe_vlast_uzurpatora_flag
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}
			add_timed_idea = {
				idea = zpe_bif_chistka
				days = 150
			}
		}				
	}
	focus = {
		id = zpe_vlast_uzurpatora_vopros_s_sultanom
		icon = GFX_goal_generic_attack_allies
		cost = 3
		prerequisite = {
			focus = zpe_vlast_uzurpatora_1
		}		
		x = 10
		y = 13
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality	
			has_civil_war = no	
		}
		completion_reward = {
			country_event = { id = perm.20 }
		}				
	}
	focus = {
		id = zpe_vlast_uzurpatora_legitimizatsiya
		icon = GFX_goal_generic_propaganda
		cost = 3
		prerequisite = {
			focus = zpe_vlast_uzurpatora_vopros_s_sultanom
		}		
		x = 10
		y = 14
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality	
			has_civil_war = no	
		}
		completion_reward = {
			add_stability = 0.05
		}				
	}
	focus = {
		id = zpe_vlast_uzurpatora_aliianse
		icon = GFX_focus_generic_treaty
		cost = 3
		prerequisite = {
			focus = zpe_vlast_uzurpatora_legitimizatsiya
		}	
		mutually_exclusive = {
			focus = zpe_vlast_uzurpatora_vpered_k_zavoevaniyam
		}
		x = 9
		y = 15
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = neutrality	
			is_faction_leader = yes	
			OR = {
				AND = {
					has_opinion = {
						target = ZSB
						value > 0
					}
					ZSB = {						
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
				AND = {
					has_opinion = {
						target = ZOR
						value > 0
					}
					ZOR = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
				AND = {
					has_opinion = {
						target = ZUF
						value > 0
					}
					ZUF = {
						exists = yes
						is_subject = no
						is_in_faction = no
						is_neighbor_of = ZPE
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = zur_allyance_rash_tt
			if = {
				limit = {
					has_opinion = {
						target = ZSB
						value > 0
					}
					ZSB = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
				ZSB = {
					country_event = { id = ar_political.803 }
				}
			}
			if = {
				limit = {
					has_opinion = {
						target = ZOR
						value > 0
					}
					ZOR = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
				ZOR = {
					country_event = { id = ar_political.803 }
				}
			}
			if = {
				limit = {	
					has_opinion = {
						target = ZUF
						value > 0
					}
					ZUF = {
						exists = yes
						is_subject = no
						is_in_faction = no
						is_neighbor_of = ZPE
						NOT = {
							has_war_with = ZPE
							has_government = communism
						}
						has_opinion = {
							target = ZPE
							value > 0
						}
					}
				}
				ZUF = {
					country_event = { id = ar_political.803 }
				}
			}
		}				
	}
	focus = {
		id = zpe_vlast_uzurpatora_vpered_k_zavoevaniyam
		icon = GFX_goal_generic_army_artillery
		cost = 10
		prerequisite = {
			focus = zpe_vlast_uzurpatora_legitimizatsiya
			focus = zpe_vlast_voen_muzafar_mergen_mobilizatiya
		}
		mutually_exclusive = {
			focus = zpe_vlast_uzurpatora_aliianse
		}		
		x = 11
		y = 15
		ai_will_do = {
			factor = 15
		}
		available = {
			has_government = neutrality					
		}
		completion_reward = {
			add_timed_idea = {
				idea = zpe_podgotovka_k_zavoevaniyam
				days = 365
			}
			if = {
				limit = {
					is_faction_leader = yes
					num_faction_members < 2
				}
				custom_effect_tooltip = zpe_vlast_uzurpatora_vpered_k_zavoevaniyam_tt 
				dismantle_faction = yes				
			}
		}				
	}
	focus = {
		id = zpe_jiteli_ujnogo_urala
		icon = GFX_goal_generic_alliance
		cost = 10
		prerequisite = {
			focus = zpe_vlast_uzurpatora_vpered_k_zavoevaniyam			
		}				
		x = 11
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = neutrality	
			has_stability > 0.6
		}
		completion_reward = {
			add_stability = -0.12
			573 = { add_core_of = ROOT }
			651 = { add_core_of = ROOT }
			582 = { add_core_of = ROOT }
			652 = { add_core_of = ROOT }
			402 = { add_core_of = ROOT }
			249 = { add_core_of = ROOT }
			251 = { add_core_of = ROOT }
		}				
	}
	#
	focus = {
		id = zpe_vlast_voen_muzafar_mergen_1
		icon = GFX_focus_generic_military_mission
		cost = 10
		prerequisite = {
			focus = zpe_borba_za_vlast_2
		}		
		x = 12
		y = 12
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality
			has_country_flag = zpe_vlast_muzafar_mergen_flag
		}
		completion_reward = {
			add_war_support = 0.04
			add_timed_idea = {
				idea = zpe_army_reform_muzafar
				days = 750
			}
		}				
	}
	focus = {
		id = zpe_vlast_prom_ali_mergen_1
		icon = GFX_focus_generic_military_academy
		cost = 10
		prerequisite = {
			focus = zpe_borba_za_vlast_2
		}		
		x = 14
		y = 12
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality
			has_country_flag = zpe_vlast_ali_mergen_flag
		}
		completion_reward = {
			add_stability = 0.04
			add_timed_idea = {
				idea = zpe_promysl_ryvok
				days = 750
			}
		}				
	}
	#
	focus = {
		id = zpe_vlast_bratiev_i_sultan
		icon = GFX_goal_support_democracy
		cost = 10
		prerequisite = {
			focus = zpe_vlast_voen_muzafar_mergen_1
			focus = zpe_vlast_prom_ali_mergen_1
		}		
		x = 13
		y = 13
		ai_will_do = {
			factor = 13
		}
		available = {
			has_government = neutrality			
		}
		completion_reward = {
			country_event = { id = perm.21 }
		}				
	}
	#
	focus = {
		id = zpe_vlast_voen_muzafar_mergen_mobilizatiya
		icon = GFX_focus_generic_self_management
		cost = 10
		prerequisite = {
			focus = zpe_vlast_bratiev_i_sultan
		}
		prerequisite = {
			focus = zpe_vlast_voen_muzafar_mergen_1
		}		
		x = 12
		y = 14
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality			
		}
		completion_reward = {
			add_ideas = ar_konserv_traditsii_nasha_opora
		}				
	}
	focus = {
		id = zpe_vlast_prom_ali_mergen_technokr
		icon = GFX_goal_continuous_research
		cost = 10
		prerequisite = {
			focus = zpe_vlast_bratiev_i_sultan
		}	
		prerequisite = {
			focus = zpe_vlast_prom_ali_mergen_1
		}
		x = 14
		y = 14
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = neutrality			
		}
		completion_reward = {
			add_ideas = zpe_technikratii_boost
		}				
	}
	focus = {
		id = zpe_vlast_oborona_strany
		icon = GFX_goal_panzerwaffe
		cost = 10
		prerequisite = {
			focus = zpe_vlast_voen_muzafar_mergen_mobilizatiya
			focus = zpe_vlast_prom_ali_mergen_technokr
		}
		mutually_exclusive = {
			focus = zpe_vlast_novye_strany_v_allianse
		}		
		x = 13
		y = 15
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = neutrality			
		}
		completion_reward = {
			add_ideas = zpe_oborona_bratiev
		}				
	}
	focus = {
		id = zpe_vlast_novye_strany_v_allianse
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zpe_vlast_prom_ali_mergen_technokr
			focus = zpe_vlast_sovet_demov_sohranenie_alyansa
		}	
		mutually_exclusive = {
			focus = zpe_vlast_oborona_strany
		}
		x = 15
		y = 15
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = neutrality			
		}
		completion_reward = {
			custom_effect_tooltip = zpe_vlast_novye_strany_v_allianse_tt 
		}				
	}
	focus = {
		id = zpe_vlast_dipmissii
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zpe_vlast_novye_strany_v_allianse			
		}		
		x = 15
		y = 16
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = neutrality	
			has_war = no	
		}
		completion_reward = {
			custom_effect_tooltip = zpe_vlast_dipmissii_tt
			every_other_country = {
				limit = { 
					exists = yes
					OR = {
						tag = ZUF tag = ZOR tag = ZSB tag = ZSL tag = ZKR tag = ZBJ tag = ZIO
					}					
					OR = {
						has_government = democratic
						has_government = neutrality
					}	
					NOT = {
						is_in_faction_with = ROOT
					}
				}				
				country_event = { id = perm.25 }
			}
		}				
	}
	#
	focus = {
		id = zpe_vlast_sovet_demov_1
		icon = GFX_goal_continuous_increase_nu
		cost = 10
		prerequisite = {
			focus = zpe_borba_za_vlast_2
		}		
		x = 16
		y = 12
		ai_will_do = {
			factor = 50
		}
		available = {
			has_government = democratic
			has_country_flag = zpe_vlast_sovet_demov_flag
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 100			
		}				
	}
	focus = {
		id = zpe_vlast_sovet_demov_sohranenie_alyansa
		icon = GFX_goal_generic_defence
		cost = 7
		prerequisite = {
			focus = zpe_vlast_sovet_demov_1
		}
		mutually_exclusive = {
			focus = zpe_vlast_sovet_demov_rospusk_alyansa
		}		
		x = 15
		y = 13
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 20
				has_war = yes
			}
		}
		available = {
			has_government = democratic
			is_faction_leader = yes
		}
		completion_reward = {
			add_stability = 0.01
			add_war_support = 0.05
			add_political_power = 100			
		}				
	}
	focus = {
		id = zpe_vlast_sovet_demov_rospusk_alyansa
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = zpe_vlast_sovet_demov_1
		}
		mutually_exclusive = {
			focus = zpe_vlast_sovet_demov_sohranenie_alyansa
		}
		x = 17
		y = 13
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 20
				has_war = no
			}
		}
		available = {
			has_government = democratic
			is_faction_leader = yes
		}
		bypass = {
			is_faction_leader = no
		}		
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
					NOT = {
						is_in_faction_with = ZOR
					}
				}
				dismantle_faction = yes
				hidden_effect = {
					news_event = {
						hours = 3
						id = ar_news.50
					}
				}
			}
			if = {
				limit = {
					is_faction_leader = yes					
					is_in_faction_with = ZOR					
				}				
				ZOR = {
					set_faction_leader = yes
					country_event = { id = perm.6 }
				}
				leave_faction = yes
				hidden_effect = {
					news_event = {
						hours = 3
						id = ar_news.50
					}
				}
			}		
		}				
	}
	focus = {
		id = zpe_vlast_sovet_demov_poisk_souznilov
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 7
		prerequisite = {
			focus = zpe_vlast_sovet_demov_rospusk_alyansa
		}		
		x = 17
		y = 14
		ai_will_do = {
			factor = 20			
		}
		available = {
			has_government = democratic
			is_in_faction = no
			OR = {
				AND = {
					ZMN = {		
						has_global_flag = zmn_seishu_strong_flag
						exists = yes
						has_government = democratic
						is_seishu_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				AND = {
					ZRE = {					
						exists = yes
						has_government = democratic
						is_tuantse_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				AND = {
					ZCS = {					
						exists = yes
						has_government = democratic
						is_lingsan_liga_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				AND = {
					ZRI = {					
						exists = yes
						has_government = democratic
						is_faction_leader = yes	# ох снег бы тоже поправить
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				AND = {
					ZSL = {					
						exists = yes
						has_government = democratic
						is_faction_leader = yes
						NOT = {
							has_war_with = ROOT							
						}					
					}
				}
				AND = {
					ZVZ = {					
						exists = yes
						has_government = democratic
						is_faction_leader = yes
						NOT = {
							has_war_with = ROOT							
						}					
					}
				}
			}	
		}
		completion_reward = {
			country_event = { id = perm.15 }		
		}				
	}
}
