focus_tree = {
	id = ZBA
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZBA
		}
	}
	default = no
	focus = {
		id = zba_perelomny_moment
		icon = GFX_goal_anschluss
		cost = 5
		x = 14
		y = 0
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			country_event = {
				id = baltica.10
			}
		}
		available = {
			is_subject = no
		}
	}
	focus = {
		id = zba_sohranenie_federatii
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zba_perelomny_moment
		}
		mutually_exclusive = {
			focus = zba_tevtoncy_go_go
		}
		x = 9
		y = 1
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_political_power = 50
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zba_political_advisor_1
					}

				available = {
						custom_trigger_tooltip = {
								tooltip = zba_sohranenie_federatii_tt
								OR = {
										AND = {
												has_country_flag = zba_koalitsia_pobedili_flag
												has_country_flag = zba_federaly_pobedili_flag
											}
										AND = {
												has_country_flag = zba_koalitsia_pobedili_flag
												has_country_flag = zba_konfederal_pobedili_flag
											}
									}
							}
					}


	}
	focus = {
		id = zba_reforma_samoupravleniya
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zba_sohranenie_federatii
		}
		x = 8
		y = 2
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zba_political_advisor_4
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zba_political_advisor_5
						add_political_power = 50
						hidden_effect = {
								country_event = {
										id = baltica.44
										days = 40
										random = 50
									}
							}
					}


	}
	focus = {
		id = zba_vtoroy_gosyazik
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zba_sohranenie_federatii
		}
		x = 10
		y = 2
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_stability = 0.02
						add_popularity = {
								ideology = democratic
								popularity = 0.1
							}
						hidden_effect = {
								country_event = {
										id = baltica.43
										days = 15
										random = 45
									}
							}
					}


	}
	focus = {
		id = zba_dela_gosudarstvennye
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = zba_reforma_samoupravleniya
		}
		prerequisite = {
			focus = zba_vtoroy_gosyazik
		}
		x = 9
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_political_power = 120
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zba_political_advisor_3
					}

				available = {
						is_subject = no
					}


	}
	focus = {
		id = zba_vneshnaya_politika
		icon = GFX_goal_generic_radar
		cost = 10
		prerequisite = {
			focus = zba_reforma_samoupravleniya
		}
		prerequisite = {
			focus = zba_vtoroy_gosyazik
		}
		x = 2
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						if = {
								limit = {
										NOT = {
												has_war_with = ZSE
											}
									}
								add_opinion_modifier = {
										target = ZSE
										modifier = oni_soglasilis_light
									}
							}
						if = {
								limit = {
										NOT = {
												has_war_with = ZRI
											}
									}
								add_opinion_modifier = {
										target = ZRI
										modifier = oni_soglasilis_light
									}
							}
						add_political_power = 30
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zba_political_advisor_6
						hidden_effect = {
								country_event = {
										id = baltica.45
										days = 7
										random = 12
									}
							}
					}

				available = {
						is_subject = no
					}


	}
	focus = {
		id = zba_ally_zse_foc
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = zba_vneshnaya_politika
		}
		mutually_exclusive = {
			focus = zba_ally_ganza_foc
			focus = zba_tolko_demokrat
		}
		x = 0
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						ZSE = {
								country_event = {
										id = baltica.47
									}
							}
					}

				available = {
						is_in_faction = no
						NOT = {
								has_war_with = ZSE
							}
						ZSE = {
								has_government = neutrality
								is_faction_leader = yes
								has_opinion = {
										target = ZBA
										value > 9
									}
							}
					}


	}
	focus = {
		id = zba_ally_ganza_foc
		icon = GFX_goal_generic_neutrality_focus
		cost = 10
		prerequisite = {
			focus = zba_vneshnaya_politika
		}
		mutually_exclusive = {
			focus = zba_ally_zse_foc
			focus = zba_tolko_demokrat
		}
		x = 4
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						custom_effect_tooltip = zba_povorot_k_ganze_tt
						every_other_country = {
								limit = {
										has_country_flag = strana_stolitsa_ganzy
										is_faction_leader = yes
									}
								country_event = {
										id = baltica.50
									}
							}
					}

				available = {
						has_added_tension_amount < 10
						is_in_faction = no
						has_global_flag = ganza_ref_6_flag
					}


	}
	focus = {
		id = zba_razvirie_keniga
		icon = GFX_goal_generic_construct_military
		cost = 5
		prerequisite = {
			focus = zba_dela_gosudarstvennye
		}
		x = 6
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_political_power = 20
						5 = {
								if = {
										limit = {
												is_controlled_by = ZBA
												free_building_slots = {
														building = industrial_complex
														size > 1
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 2
										add_building_construction = {
												type = industrial_complex
												level = 2
												instant_build = yes
											}
									}
							}
						5 = {
								if = {
										limit = {
												is_controlled_by = ZBA
												free_building_slots = {
														building = infrastructure
														size > 0
													}
											}
										add_building_construction = {
												type = infrastructure
												level = 1
												instant_build = yes
											}
									}
							}
					}

				available = {
						has_stability > 0.62
						owns_state = 5
					}


	}
	focus = {
		id = zba_razvitie_danziga
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		prerequisite = {
			focus = zba_dela_gosudarstvennye
		}
		x = 8
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.03
			85 = {
				if = {
										limit = {
												is_controlled_by = ZBA
												free_building_slots = {
														building = dockyard
														size > 1
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 2
										add_building_construction = {
												type = dockyard
												level = 2
												instant_build = yes
											}
									}
							}
						if = {
								limit = {
										ZDC = {
												exists = yes
												controls_state = 85
												is_subject_of = ZBA
											}
									}
								add_political_power = -50
								ZDC = {
										country_event = {
												id = baltica.18
											}
									}
							}
					}

				available = {
						OR = {
								controls_state = 85
								ZDC = {
										AND = {
												exists = yes
												is_subject_of = ZBA
												controls_state = 85
											}
									}
							}
					}

		bypass = {
			ZDC = {
				exists = yes
				controls_state = 85
				NOT = {
					is_subject_of = ZBA
				}
			}
		}
	}
	focus = {
		id = zba_sovremennye_dorogy
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zba_razvirie_keniga
		}
		prerequisite = {
			focus = zba_razvitie_danziga
		}
		x = 7
		y = 5
				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 > 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
									}
							}
					}

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


	}
	focus = {
		id = zba_razvitie_pomeranii
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		prerequisite = {
			focus = zba_dela_gosudarstvennye
		}
		x = 10
		y = 4
				ai_will_do = {
						factor = 6
					}

				completion_reward = {
						add_stability = 0.03
						63 = {
								if = {
										limit = {
												is_controlled_by = ZBA
												free_building_slots = {
														building = industrial_complex
														size > 1
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 2
										add_building_construction = {
												type = industrial_complex
												level = 2
												instant_build = yes
											}
									}
							}
						if = {
								limit = {
										ZPO = {
												exists = yes
												controls_state = 63
												is_subject_of = ZBA
											}
									}
								add_political_power = -50
								ZPO = {
										country_event = {
												id = baltica.41
											}
									}
							}
					}

				available = {
						OR = {
								controls_state = 63
								ZPO = {
										AND = {
												exists = yes
												is_subject_of = ZBA
												controls_state = 63
											}
									}
							}
					}

				bypass = {
						ZPO = {
								exists = yes
								controls_state = 63
								NOT = {
										is_subject_of = ZBA
									}
							}
					}


	}
	focus = {
		id = zba_garantirovanie_nationalnoi_samobytnosti
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zba_razvitie_pomeranii
		}
		prerequisite = {
			focus = zba_razvitie_danziga
		}
		x = 9
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						remove_ideas = nacionalnye_conflikty_zba
					}

				available = {
						has_idea = nacionalnye_conflikty_zba
					}

				bypass = {
						NOT = {
								has_idea = nacionalnye_conflikty_zba
							}
					}


	}
	focus = {
		id = zba_razvitie_kurlandii
		icon = GFX_goal_generic_construction
		cost = 5
		prerequisite = {
			focus = zba_dela_gosudarstvennye
		}
		x = 12
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_stability = 0.03
						190 = {
								if = {
										limit = {
												is_controlled_by = ZBA
												free_building_slots = {
														building = infrastructure
														size > 0
													}
											}
										add_building_construction = {
												type = infrastructure
												level = 1
												instant_build = yes
											}
									}
							}
						if = {
								limit = {
										ZKY = {
												exists = yes
												controls_state = 190
												is_subject_of = ZBA
											}
									}
								add_political_power = -50
								ZKY = {
										country_event = {
												id = baltica.42
											}
									}
							}
					}

				available = {
						OR = {
								controls_state = 190
								ZKY = {
										AND = {
												exists = yes
												is_subject_of = ZBA
												controls_state = 190
											}
									}
							}
					}

				bypass = {
						ZKY = {
								exists = yes
								controls_state = 190
								NOT = {
										is_subject_of = ZBA
									}
							}
					}


	}
	focus = {
		id = zba_reforma_obrazovaniya
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = zba_razvitie_kurlandii
		}
		prerequisite = {
			focus = zba_razvitie_pomeranii
		}
		x = 11
		y = 5
				ai_will_do = {
						factor = 8
					}

				completion_reward = {
						add_research_slot = 1
					}


	}
	focus = {
		id = zba_krepkaya_federatsiya
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zba_garantirovanie_nationalnoi_samobytnosti
		}
		prerequisite = {
			focus = zba_sovremennye_dorogy
		}
		prerequisite = {
			focus = zba_reforma_obrazovaniya
		}
		x = 9
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						if = {
								limit = {
										ZKY = {
												is_subject_of = ZBA
											}
									}
								unlock_decision_tooltip = ZBA_intagrat_ZKY
							}
						else = {
								add_war_support = 0.05
							}
						if = {
								limit = {
										ZPO = {
												is_subject_of = ZBA
											}
									}
								unlock_decision_tooltip = ZBA_intagrat_ZPO
							}
						else = {
								add_stability = 0.05
							}
						if = {
								limit = {
										ZDC = {
												is_subject_of = ZBA
											}
									}
								unlock_decision_tooltip = ZBA_intagrat_ZDC
							}
						else = {
								add_political_power = 100
							}
					}

		available = {
			has_government = democratic
		}
	}
	focus = {
		id = zba_promka_2_sloty
		icon = GFX_goal_generic_construction2
		cost = 10
		prerequisite = {
			focus = zba_krepkaya_federatsiya
		}
		x = 11
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			add_ideas = zba_stroim_stroim
			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				
			}
			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				
			}
			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				
			}
			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				
			}
		}

	}
	focus = {
		id = zba_promyshlennye_voprosy
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = zba_perelomny_moment
		}
		x = 14
		y = 2
				ai_will_do = {
						factor = 5
					}

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


	}
	focus = {
		id = zba_industr_eff_1
		icon = GFX_goal_generic_construction2
		cost = 10
		prerequisite = {
			focus = zba_promyshlennye_voprosy
		}
		x = 14
		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 = zba_infrastr_1
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zba_industr_eff_1
		}
		x = 14
		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 > 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
									}
							}
					}

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


	}
	focus = {
		id = zba_infrastr_22
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zba_infrastr_1
		}
		prerequisite = {
			focus = zba_razvitie_kurlandii
			focus = zba_razvitie_pomeranii
			focus = zba_razvitie_danziga
			focus = zba_razvirie_keniga
		}
		x = 13
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.02
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					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 = {
					is_coastal = yes
					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
				}
			}
		}
	}
	focus = {
		id = zba_ind_eff_2
		icon = GFX_goal_generic_construction
		cost = 10
		prerequisite = {
			focus = zba_promyshlennye_voprosy
		}
		x = 16
		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
											}
									}
								add_extra_state_shared_building_slots = 1
							}
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 0
												include_locked = yes
											}
									}
								add_extra_state_shared_building_slots = 1
							}
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = construction_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = industrial_complex
												size < 1
												include_locked = yes
											}
									}
							}
					}


	}
	focus = {
		id = zba_militar_1
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zba_ind_eff_2
		}
		x = 16
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.01
			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
									}
			}
			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 = zba_promka_1
		icon = GFX_goal_generic_construct_civilian
		cost = 10
		prerequisite = {
			focus = zba_militar_1
		}
		prerequisite = {
			focus = zba_infrastr_1
		}
		x = 15
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = industrial_complex
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = industrial_complex
										level = 1
										instant_build = yes
									}
							}
							random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = 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 = zba_tevtoncy_go_go
		icon = GFX_goal_generic_demand_territory
		cost = 10
		prerequisite = {
			focus = zba_perelomny_moment
		}
		mutually_exclusive = {
			focus = zba_sohranenie_federatii
		}
		x = 19
		y = 1
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zba_political_advisor_2
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = zba_tevtoncy_go_go_tt
				has_country_flag = zba_teutoncy_propadancy_pobedili_flag
				has_country_flag = zba_teutoncy_pobedili_flag
			}
		}
	}
	focus = {
		id = zbe_nasha_armiya
		icon = GFX_goal_generic_allies_build_infantry
		cost = 10
		prerequisite = {
			focus = zba_tevtoncy_go_go
		}
		x = 19
		y = 2
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			army_experience = 10
			add_ideas = zba_militarization_buff
			add_ai_strategy = {
				type = protect
				id = XPX
				value = 200
			}
			add_ai_strategy = {
				type = befriend
				id = XPX
				value = 200
			}
			add_ai_strategy = {
				type = alliance
				id = XPX
				value = 50
			}			
		}
	}
	focus = {
		id = zbe_katolic_church
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zbe_nasha_armiya
		}
		x = 19
		y = 3
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			add_ideas = zba_katolic_church_buff
			hidden_effect = {
				random_list = {
					60 = {
						country_event = { days = 5 id = baltica.61 }							
					}
					40 = {
						country_event = { days = 5 id = baltica.65 }
					}
				}
			}
		}
		available = {
			has_government = fascism
		}
	}
	focus = {
		id = zbe_papstvo_katolik
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zbe_katolic_church
		}
		x = 18
		y = 4
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			if = {
				limit = {
					ZRI = {
						controls_state = 2
					}
					NOT = {
						has_war_with = ZRI
						country_exists = XPX
					}
				}
				country_event = {
					id = baltica.19
				}
			}
			else_if = {
				limit = {					
					country_exists = XPX
					NOT = {
						has_war_with = XPX
					}	
				}
				country_event = {
					id = baltica.60
				}
			}
			else = {
				add_political_power = 50
				add_stability = 0.03
				add_war_support = 0.05				
			}			
		}
		available = {
			has_government = fascism
		}
	}
	focus = {
		id = zba_armiya_i_tserkov
		icon = GFX_goal_generic_dangerous_deal
		cost = 10
		prerequisite = {
			focus = zbe_papstvo_katolik
		}
		prerequisite = {
			focus = zba_militar_1
		}
		x = 17
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_ideas = zba_army_and_tserkov
			hidden_effect = {
				random_list = {
					60 = {
						country_event = { days = 5 id = baltica.62 }	
					}
					40 = {
						add_political_power = 1
					}
				}
			}
		}
	}
	focus = {
		id = zba_tserkov_oborone
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zba_armiya_i_tserkov
		}		
		x = 17
		y = 6
		ai_will_do = {
			factor = 5
		}
		complete_tooltip = {
			add_war_support = 0.01
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		completion_reward = {
			add_war_support = 0.01
			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
				}
			}
		}
	}
	focus = {
		id = zbe_expansion_europ
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = zbe_katolic_church
		}
		x = 20
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.05
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = europe
					}
					NOT = {
											tag = ZSL
											tag = ZWS
											tag = ZEN
											tag = ZSH
											tag = ZKR
											tag = ZFU
											tag = ZBJ
											tag = ZVZ
											tag = ZPE
											tag = ZPA
											tag = ZOR
											tag = ZTS
											tag = ZGF
											tag = ZGE
											tag = ZGH											
										}										
									}
								country_event = {
										days = 2
										id = baltica.21
									}
							}
					}

				available = {
						has_government = fascism
					}


	}
	focus = {
		id = zba_svyatoe_voinstvo
		icon = GFX_goal_zvz_svyatoe_voinstvo
		cost = 10
		prerequisite = {
			focus = zbe_expansion_europ
		}
		prerequisite = {
			focus = zbe_papstvo_katolik
		}
		x = 19
		y = 5
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			army_experience = 5
			swap_ideas = {
				remove_idea = zba_militarization_buff
				add_idea = zba_saint_army
			}
		}
		available = {
			has_government = fascism
		}
	}
	focus = {
		id = zba_podderjka_rimskoi_katolik_opozitsii
		icon = GFX_goal_zsl_podderjka_sredi_naseleniya
		cost = 10
		prerequisite = {
			focus = zbe_papstvo_katolik
		}
		x = 18
		y = 7
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_political_power = 100
			add_stability = 0.02
			add_war_support = 0.04
			if = {
				limit = {
					ZRI = {
						has_idea = zri_papas_partisan
					}
					controls_state = 2
				}
				ZRI = {
					country_event = {
						id = baltica.22
					}
				}
			}	
			if = {
				limit = {
					country_exists = XPX
					XPX = {
						controls_state = 2
					}	
				}
				XPX = {
					country_event = {
						id = baltica.59
					}
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				ZRI = {
					has_idea = zri_papas_partisan
				}
				country_exists = XPX
			}
		}
		bypass = {
			ZRI = {
				NOT = {
					has_idea = zri_papas_partisan
				}
			}
			NOT = {
				country_exists = XPX
			}
		}
	}
	focus = {
		id = zba_svyatoi_alliance
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zba_podderjka_rimskoi_katolik_opozitsii
		}
		prerequisite = {
			focus = zba_svyatoe_voinstvo
		}
		x = 19
		y = 8
		ai_will_do = {
			factor = 10
		}
		available = {
			is_subject = no
			has_government = fascism
			is_in_faction = no
		}
		bypass = {
			is_in_faction_with = XPX
		}
		completion_reward = {
			create_faction = "catolic_liga"
			add_war_support = 0.03
			add_named_threat = {
				threat = 5
				name = zba_svyatoi_alliance_threattttt
			}
			hidden_effect = {
				news_event = {
					hours = 3
					id = ar_news.823
				}
				random_list = {
					50 = {
						country_event = baltica.61
					}
					50 = {
						add_political_power = 1
					}
				}
			}
			if = {
				limit = {
					NOT = {
						has_war_with = XPX	
					}
					XPX = {
						exists = yes
						is_subject = no
						is_in_faction = no						
					}
				}
				XPX = {
					country_event = { id = ar_political.503 }
				}
			}
		}
		
	}
	focus = {
		id = zba_war_on_heretics
		icon = GFX_goal_anti_comintern_pact
		cost = 10
		prerequisite = {
			focus = zba_svyatoi_alliance
		}
		x = 24
		y = 9
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			has_army_manpower = {
				size > 249999
			}
		}
		completion_reward = {
						add_war_support = 0.02
						army_experience = 3
						every_other_country = {
								limit = {
										OR = {
												tag = ZRI
												tag = ZSL
											}
										exists = yes
										NOT = {
												is_in_faction_with = ZBA
												has_war_with = ZBA
											}
									}
								country_event = {
										id = baltica.30
									}
							}
						add_named_threat = {
								threat = 3
								name = zba_war_on_heretics_threatttt
							}
					}

				


	}
	focus = {
		id = zba_branden_is_heretic
		icon = GFX_goal_generic_political_pressure
		cost = 10
		prerequisite = {
			focus = zba_war_on_heretics
		}
		mutually_exclusive = {
			focus = zba_pozvat_branden
		}
		x = 21
		y = 10
		completion_reward = {
			every_state = {
				limit = {
					is_core_of = ZBR
				}
				add_claim_by = ZBA
			}
						create_wargoal = {
								type = annex_everything
								target = ZBR
							}
						add_named_threat = {
								threat = 5
								name = zba_branden_is_heretic_threattt
							}
					}

				available = {
						has_government = fascism
						has_army_manpower = {
								size > 249999
							}
						ZBR = {
								exists = yes
								NOT = {
										is_in_faction_with = ZBA
										is_subject_of = ZBA
									}
							}
					}

				bypass = {
						ZBR = {
								OR = {
										is_in_faction_with = ZBA
										is_subject_of = ZBA
										has_war_with = ZBA
									}
							}
					}


	}
	focus = {
		id = zbe_militarization_strany
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zba_promyshlennye_voprosy
			focus = zbe_nasha_armiya
		}
		x = 24
		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
									}
							}
						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 = zbe_militarization_2
		icon = GFX_goal_generic_construct_military
		cost = 10
		prerequisite = {
			focus = zbe_militarization_strany
		}
		prerequisite = {
			focus = zbe_katolic_church
		}
		x = 22
		y = 4
		ai_will_do = {
			factor = 20
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_war_support = 0.02
			add_timed_idea = {
				idea = zba_tserk_pomogaet
				days = 300
			}
		}
	}
	focus = {
		id = zbe_mass_army_1
		icon = GFX_goal_generic_army_doctrines
		cost = 5
		prerequisite = {
			focus = zbe_militarization_2
		}
		x = 22
		y = 5
				ai_will_do = {
						factor = 20
					}

				completion_reward = {
						army_experience = 10
						add_ideas = ar_massarmy
						add_doctrine_cost_reduction = {
								name = land_doc_bonus
								cost_reduction = 0.25
								uses = 1
								category = land_doctrine
							}
						hidden_effect = {
								if = {
										limit = {
												has_idea = ar_professarmy
											}
										remove_ideas = ar_professarmy
									}
							}
					}


	}
	focus = {
		id = zbe_mass_army_2
		icon = GFX_goal_generic_air_doctrine
		cost = 5
		prerequisite = {
			focus = zbe_mass_army_1
		}
		x = 22
		y = 6
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
						army_experience = 10
						hidden_effect = {
								if = {
										limit = {
												has_idea = ar_massarmy
											}
										swap_ideas = {
												remove_idea = ar_massarmy
												add_idea = ar_massarm2
											}
										else = {
												add_ideas = ar_massarm2
											}
									}
									random_list = {
										60 = {
											country_event = { days = 5 id = baltica.66 }											
										}
										40 = {
											add_political_power = 1
										}
									}
							}
						custom_effect_tooltip = nasha_armiya_stala_kryche
						show_ideas_tooltip = ar_massarm2
					}


	}
	focus = {
		id = zbe_mass_army_3
		icon = GFX_goal_generic_demand_territory
		cost = 5
		prerequisite = {
			focus = zbe_mass_army_2
		}
		x = 22
		y = 7
				ai_will_do = {
						factor = 10
					}

				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 = zba_osvobodit_rim_ot_imperskoi_okkupatsii
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zba_war_on_heretics
		}
		mutually_exclusive = {
			focus = zba_potrebovat_ot_rima_vydat_papas
		}
		x = 23
		y = 10
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		completion_reward = {
			add_state_claim = 2
			every_other_country = {
				limit = {
					has_full_control_of_state = 2
					NOT = {
						is_in_faction_with = ZBA
						is_subject_of = ZBA
					}
				}
				ZBA = {
					declare_war_on = {
						target = PREV
						type = puppet_wargoal_focus
					}
					add_named_threat = {
						threat = 6
						name = zba_osvobodit_rim_ot_imperskoi_okkupatsii_threatttt
					}
					hidden_effect = {
						news_event = {
							hours = 3
							id = ar_news.826
						}
					}
				}
			}
		}

		available = {
			has_government = fascism
			NOT = {
				owns_state = 2
				any_other_country = {
					is_in_faction_with = ZBA
					controls_state = 2
				}
				2 = {
					is_controlled_by = XPX
				}
			}
		}
	}
	focus = {
		id = zbe_obshie_principi_armii
		icon = GFX_goal_generic_army_artillery
		cost = 10
		prerequisite = {
			focus = zbe_militarization_strany
		}
		x = 24
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_war_support = 0.01
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zbe_arta_research_foc
		icon = GFX_goal_generic_army_artillery2
		cost = 10
		prerequisite = {
			focus = zbe_obshie_principi_armii
		}
		x = 24
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 4
			add_tech_bonus = {
				name = infantry_artillery_bonus
				bonus = 0.5
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}
	focus = {
		id = zbe_research_arm_eq_2
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zbe_arta_research_foc
		}
		x = 24
		y = 7
				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 = zba_pomosh_vostochnym_hristianam
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = zba_war_on_heretics
		}
		x = 24
		y = 11
				ai_will_do = {
						factor = 8
						modifier = {
								factor = 0
								has_war = yes
							}
					}

				completion_reward = {
						add_political_power = 20
						add_stability = 0.02
						ZVZ = {
								country_event = {
										id = baltica.31
									}
							}
						add_opinion_modifier = {
								target = ZVZ
								modifier = oni_soglasilis_light
							}
						effect_tooltip = {
								add_opinion_modifier = {
										target = ZPA
										modifier = agressssor
									}
							}
						if = {
								limit = {
										ZPA = {
												exists = yes
												NOT = {
														has_war_with = ZBA
													}
											}
									}
								ZPA = {
										country_event = {
												id = baltica.32
											}
									}
							}
					}

				available = {
						has_government = fascism
						NOT = {
								has_war_with = ZVZ
							}
						ZVZ = {
								exists = yes
								has_war_with = ZPA
							}
					}

				bypass = {

}


	}
	focus = {
		id = zbe_motorization_eff
		icon = GFX_goal_generic_army_motorized
		cost = 10
		prerequisite = {
			focus = zbe_obshie_principi_armii
		}
		x = 26
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = motorized_bonus
								bonus = 0.75
								technology = motorised_infantry
							}
					}

				bypass = {
						has_tech = motorised_infantry
					}


	}
	focus = {
		id = zbe_tanki_i_broneveki
		icon = GFX_goal_generic_army_tanks
		cost = 10
		prerequisite = {
			focus = zbe_motorization_eff
		}
		prerequisite = {
			focus = zbe_arta_research_foc
		}
		x = 25
		y = 6
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = armor_bonus
								bonus = 0.5
								uses = 2
								category = armor
							}
					}


	}
	focus = {
		id = zba_potrebovat_ot_rima_vydat_papas
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zba_war_on_heretics
		}
		mutually_exclusive = {
			focus = zba_osvobodit_rim_ot_imperskoi_okkupatsii
		}
		x = 25
		y = 10
				ai_will_do = {
						factor = 25
					}

				completion_reward = {
						every_other_country = {
								limit = {
										has_full_control_of_state = 2
									}
								country_event = {
										id = baltica.38
									}
							}
					}

				available = {
						has_government = fascism
						NOT = {
								has_full_control_of_state = 2
							}
					}

				bypass = {
						has_full_control_of_state = 2
					}


	}
	focus = {
		id = zbe_avia_aerodrom_1
		icon = GFX_goal_generic_air_fighter
		cost = 10
		prerequisite = {
			focus = zbe_militarization_strany
		}
		x = 28
		y = 4
				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
											}
									}
							}
					}


	}
	focus = {
		id = zbe_avia_doktrine_1
		icon = GFX_goal_generic_build_airforce
		cost = 10
		prerequisite = {
			focus = zbe_avia_aerodrom_1
		}
		x = 28
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						air_experience = 25
						add_doctrine_cost_reduction = {
								name = air_doc_bonus
								cost_reduction = 0.25
								uses = 1
								category = air_doctrine
							}
					}


	}
	focus = {
		id = zbe_avia_istrebit_1
		icon = GFX_goal_generic_air_fighter2
		cost = 10
		prerequisite = {
			focus = zbe_avia_doktrine_1
		}
		prerequisite = {
			focus = zbe_motorization_eff
		}
		x = 28
		y = 6
				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 = fighter3
								technology = heavy_fighter1
								technology = heavy_fighter2
								technology = heavy_fighter3
							}
					}


	}
	focus = {
		id = zbe_hevy_avia
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = zbe_avia_istrebit_1
		}
		x = 27
		y = 7
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = bomber_bonus
								bonus = 0.5
								uses = 2
								technology = strategic_bomber1
								technology = strategic_bomber2
								technology = strategic_bomber3
								category = tactical_bomber
							}
					}


	}
	focus = {
		id = zbe_shturm_avia
		icon = GFX_goal_generic_occupy_start_war
		cost = 10
		prerequisite = {
			focus = zbe_avia_istrebit_1
		}
		x = 29
		y = 7
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = CAS_bonus
								bonus = 0.5
								ahead_reduction = 1
								uses = 1
								category = cas_bomber
							}
					}


	}
	focus = {
		id = zbe_baltiisky_flot
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 10
		prerequisite = {
			focus = zbe_militarization_strany
		}
		x = 32
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						navy_experience = 25
						if = {
								limit = {
										NOT = {
												any_owned_state = {
														dockyard > 0
														free_building_slots = {
																building = dockyard
																size > 2
																include_locked = yes
															}
													}
											}
										any_owned_state = {
												is_coastal = yes
											}
									}
								random_owned_controlled_state = {
										limit = {
												is_coastal = yes
												free_building_slots = {
														building = dockyard
														size > 2
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 3
										add_building_construction = {
												type = dockyard
												level = 3
												instant_build = yes
											}
									}
								set_country_flag = naval_effort_built
							}
						if = {
								limit = {
										NOT = {
												has_country_flag = naval_effort_built
											}
										any_owned_state = {
												dockyard > 0
												free_building_slots = {
														building = dockyard
														size > 2
														include_locked = yes
													}
											}
									}
								random_owned_controlled_state = {
										limit = {
												dockyard > 0
												free_building_slots = {
														building = dockyard
														size > 2
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 3
										add_building_construction = {
												type = dockyard
												level = 3
												instant_build = yes
											}
									}
								set_country_flag = naval_effort_built
							}
					}

				available = {
						any_state = {
								is_coastal = yes
								is_controlled_by = ROOT
							}
					}


	}
	focus = {
		id = zbe_grand_flot
		icon = GFX_goal_generic_navy_battleship
		cost = 10
		prerequisite = {
			focus = zbe_baltiisky_flot
		}
		mutually_exclusive = {
			focus = zbe_smal_flot
		}
		x = 31
		y = 5
				ai_will_do = {
						factor = 3
					}

				completion_reward = {
						navy_experience = 25
						add_tech_bonus = {
								name = capital_ships_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = bc_tech
								category = bb_tech
								category = cv_tech
							}
					}


	}
	focus = {
		id = zba_professionalnaya_armiya
		icon = GFX_goal_generic_allies_build_infantry
		cost = 5
		prerequisite = {
			focus = zba_razvirie_keniga
		}
		x = 6
		y = 6
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						army_experience = 10
						add_ideas = ar_professarmy
					}


	}
	focus = {
		id = zbe_smal_flot
		icon = GFX_goal_generic_navy_submarine
		cost = 10
		prerequisite = {
			focus = zbe_baltiisky_flot
		}
		mutually_exclusive = {
			focus = zbe_grand_flot
		}
		x = 33
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = dd_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = dd_tech
							}
						add_tech_bonus = {
								name = ss_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = ss_tech
							}
					}


	}
	focus = {
		id = zbe_avia_navy_1
		icon = GFX_goal_generic_air_naval_bomber
		cost = 10
		prerequisite = {
			focus = zbe_grand_flot
			focus = zbe_smal_flot
		}
		prerequisite = {
			focus = zbe_avia_doktrine_1
		}
		x = 30
		y = 6
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						navy_experience = 20
						air_experience = 20
						add_tech_bonus = {
								name = nav_bomber_bonus
								bonus = 0.5
								ahead_reduction = 1
								uses = 1
								category = naval_bomber
							}
					}


	}
	focus = {
		id = zba_tolko_demokrat
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zba_vneshnaya_politika
		}
		mutually_exclusive = {
			focus = zba_ally_zse_foc
			focus = zba_ally_ganza_foc
		}		
		x = 2
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
			is_in_faction = no
			OR = {
				ZRI = {
					has_government = democratic
				}
				ZSL = {
					has_government = democratic
				}
				ZVZ = {
					has_government = democratic
				}				
			}			
		}
		completion_reward = {
			add_stability = 0.03
			add_political_power = 50
		}		
	}
	focus = {
		id = zba_join_to_slaviki
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zba_tolko_demokrat
		}
		x = 3
		y = 5
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0.5
				ZSL = {
					has_war = yes
				}
			}
			modifier = {
				factor = 1.5
				ZSL = {
					num_faction_members > 3
				}
			}
		}
		available = {
			has_government = democratic
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ZSL
			}
			ZSL = {
				has_government = democratic
				is_faction_leader = yes
				has_completed_focus = zsl_neto_allianse
				has_opinion = {
					target = ZBA
					value > 9
				}
			}
		}
		completion_reward = {
			ZSL = {
				country_event = {
					id = ar_political.800
				}
			}
		}		
	}
	focus = {
		id = zba_join_to_egida
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zba_tolko_demokrat
		}
		x = 2
		y = 6
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0.5
				ZVZ = {
					has_war = yes
				}
			}
			modifier = {
				factor = 1.5
				ZVZ = {
					num_faction_members > 3
				}
			}
		}
		available = {
			has_government = democratic
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ZVZ
			}
			ZVZ = {
				has_government = democratic
				is_faction_leader = yes
				has_completed_focus = zvz_chernomorsky_soyz
				has_opinion = {
					target = ZBA
					value > 9
				}
			}
		}
		completion_reward = {
			ZVZ = {
				country_event = {
					id = ar_political.800
				}
			}
		}		
	}
	focus = {
		id = zba_virit_to_democr_rim
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zba_tolko_demokrat
		}		
		x = 1
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
			is_in_faction = no
			NOT = {
				has_war_with = ZRI
				is_in_faction_with = ZRI
			}
			ZRI = {
				has_government = democratic
				has_opinion = {
					target = ZBA
					value > 9
				}
			}
		}
		completion_reward = {
			add_ai_strategy = {
				type = alliance
				id = "ZRI"
				value = 80
			}
			add_opinion_modifier = {
				target = ZRI
				modifier = diplomat_20
			}
			ZRI = {
				country_event = {
					id = baltica.46
				}
			}
		}		
	}	
	focus = {
		id = zba_join_to_sneg
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zba_virit_to_democr_rim
		}
		x = 0
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			ZRI = {
				country_event = {
					id = baltica.53
				}
			}
		}
		available = {
			has_government = democratic
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ZRI
			}
			ZRI = {
				has_government = democratic
				is_faction_leader = yes
				has_opinion = {
					target = ZBA
					value > 9
				}
			}
		}
	}
	focus = {
		id = zba_research_kolba
		icon = GFX_focus_research
		cost = 10
		prerequisite = {
			focus = zba_promka_1
		}
		x = 15
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			add_research_slot = 1
		}
	}
	focus = {
		id = zba_kolba_nauki_2
		icon = GFX_focus_research
		cost = 10
		prerequisite = {
			focus = zba_research_kolba
		}
		x = 15
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.02
			add_research_slot = 1
		}
		available = {
			num_of_factories > 20
		}
	}
	focus = {
		id = zba_prof_army_2
		icon = GFX_goal_generic_army_artillery
		cost = 5
		prerequisite = {
			focus = zba_professionalnaya_armiya
		}
		x = 5
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			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 = zba_prof_army_3
		icon = GFX_goal_generic_build_tank
		cost = 5
		prerequisite = {
			focus = zba_prof_army_2
		}
		x = 5
		y = 8
				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 = zba_our_enhancement
		icon = GFX_goal_tripartite_pact
		cost = 10
		prerequisite = {
			focus = zba_svyatoi_alliance
		}
		x = 16
		y = 9
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			add_political_power = 80
			every_other_country = {
				limit = {
										OR = {
												tag = ZBR
												tag = ZPV
												tag = ZGA
												tag = ZSE
												tag = ZLU
												tag = ZJT
												tag = ZHM
												tag = ZFR
												tag = ZBO
										}
					exists = yes
					is_in_faction = no
					NOT = {
						has_war_with = ZBA
						has_government = communism
					}
				}
				country_event = {
					id = baltica.24
				}
			}
			hidden_effect = {
				random_list = {
					60 = {
						country_event = { days = 5 id = baltica.63 }	
					}
					40 = {
						country_event = { days = 5 id = baltica.64 }
					}
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			has_stability > 0.6
		}
	}
	focus = {
		id = zba_pozvat_branden
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		mutually_exclusive = {
			focus = zba_branden_is_heretic
		}
		x = 17
		y = 10
		ai_will_do = {
			factor = 7
		}
		completion_reward = {			
				ZBR = {
					country_event = {
						hours = 5
						id = baltica.27
					}
				}							
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}	
			NOT = {
				has_war_with = ZBR
			}
			ZBR = {
				is_subject = no
				exists = yes
				is_in_faction = no
				NOT = { has_government = communism }
			}
		}
	}
	focus = {
		id = zba_pohod_protiv_slavianskoi_eresi
		icon = GFX_goal_generic_major_war
		cost = 10
		prerequisite = {
			focus = zba_war_on_heretics
		}
		x = 27
		y = 10
				completion_reward = {
						create_wargoal = {
								type = puppet_wargoal_focus
								target = ZSL
							}
						add_named_threat = {
								threat = 5
								name = zba_slaviane_is_heretic_threattt
							}
					}

				available = {
						has_government = fascism
						has_army_manpower = {
								size > 249999
							}
						ZSL = {
								exists = yes
								NOT = {
										is_in_faction_with = ZBA
										is_subject_of = ZBA
									}
							}
					}

				bypass = {
						ZSL = {
								OR = {
										is_in_faction_with = ZBA
										is_subject_of = ZBA
										has_war_with = ZBA
									}
							}
					}


	}
	focus = {
		id = zba_pozvat_koronu_treh_narodov
		icon = GFX_goal_generic_improve_relations
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		x = 15
		y = 10
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			ZPV = {
				country_event = {
					hours = 3
					id = baltica.27
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			NOT = {
				has_war_with = ZPV
			}
			ZPV = {
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = { has_government = communism }
			}
		}
	}
	focus = {
		id = zba_pozvat_venediu
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		x = 11
		y = 10
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			ZGA = {
				country_event = {
					hours = 3
					id = baltica.27
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			NOT = {
				has_war_with = ZGA
			}
			ZGA = {
				is_subject = no
				exists = yes
				is_in_faction = no
				NOT = { has_government = communism }
			}
		}
	}
	focus = {
		id = zba_pozvat_ganzu
		icon = GFX_goal_generic_demand_territory
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		x = 16
		y = 11
		completion_reward = {
			custom_effect_tooltip = zba_pozvat_ganzu_tt
			every_other_country = {
				limit = {
					has_country_flag = strana_stolitsa_ganzy
				}
				country_event = {
						hours = 3
						id = baltica.27
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			has_global_flag = ganza_ref_6_flag
			any_country = {
				has_country_flag = strana_stolitsa_ganzy
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = {
					has_war_with = ZBA
					has_government = communism
				}
			}
		}
	}
	focus = {
		id = zba_pozvat_bemen
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		x = 14
		y = 11
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			ZBO = {
				country_event = {
					hours = 3
					id = baltica.27
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			NOT = {
				has_war_with = ZBO
			}
			ZBO = {
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = { has_government = communism }
			}
		}
	}
	focus = {
		id = zba_pozvat_skandinaviu
		icon = GFX_goal_generic_dangerous_deal
		cost = 10
		prerequisite = {
			focus = zba_our_enhancement
		}
		x = 13
		y = 10
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			ZSE = {
				country_event = {
					hours = 3
					id = baltica.27
				}
			}
		}
		available = {
			has_government = fascism
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}
			NOT = {
				has_war_with = ZSE
			}
			ZSE = {
				exists = yes
				is_subject = no
				NOT = { has_government = communism }								
				is_in_faction = no
			}
		}
	}
	focus = {
		id = zba_kongress_gosudarst_ugo_vostoka
		icon = GFX_goal_generic_dangerous_deal
		cost = 10
		prerequisite = {
			focus = zba_pomosh_vostochnym_hristianam
		}
		x = 23
		y = 12
				ai_will_do = {
						factor = 20
					}

				completion_reward = {
						country_event = {
								id = baltica.33
							}
					}

				available = {
						threat > 0.50
						is_subject = no
						has_government = fascism
						is_faction_leader = yes
						ZPA = {
								has_added_tension_amount > 15
							}
					}


	}
	focus = {
		id = zba_krestovyi_pohod_protiv_persii
		icon = GFX_goal_generic_demand_territory
		cost = 10
		prerequisite = {
			focus = zba_pomosh_vostochnym_hristianam
		}
		x = 25
		y = 12
				ai_will_do = {
						factor = 3
						modifier = {
								factor = 0
								has_war = yes
							}
						modifier = {
								factor = 3
								strength_ratio = {
										tag = ZPA
										ratio > 0.7
									}
							}
					}

				completion_reward = {
						create_wargoal = {
								type = puppet_wargoal_focus
								target = ZPA
							}
						add_named_threat = {
								threat = 6
								name = zba_krestovyi_pohod_protiv_persii_threattt
							}
					}

				available = {
						has_government = fascism
						ZPA = {
								exists = yes
								has_government = fascism
								has_added_tension_amount > 10
								NOT = {
										is_in_faction_with = ZBA
										is_subject_of = ZBA
									}
							}
					}

				bypass = {
						has_war_with = ZPA
					}


	}	
	focus = {
		id = zba_spetsnazz
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = zba_professionalnaya_armiya
		}
		prerequisite = {
			focus = zba_krepkaya_federatsiya
		}
		x = 7
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_ideas = zba_sso_arm
		}
	}
	focus = {
		id = zba_demokr_dobrovoltsy
		icon = GFX_goal_anschluss
		cost = 10
		prerequisite = {
			focus = zba_spetsnazz
		}
		x = 7
		y = 8
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.01
			add_political_power = 80
			add_ideas = zba_dobrovoltsy
		}

	}
	focus = {
		id = zba_institut_nauki
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = zba_krepkaya_federatsiya
		}
		x = 9
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zba_finans_nauki
		}

	}
	
	###########
	focus = {
		id = zba_pozvat_papu_v_alliyanse
		icon = GFX_goal_zsl_kompromiss_s_duhovenstvom
		cost = 10
		prerequisite = {
			focus = zba_svyatoi_alliance
		}
		mutually_exclusive = {
			focus = zba_peredat_liderstvo_pape
		}
		x = 18
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = { 
			is_subject = no
			is_faction_leader = yes
			NOT = {
				has_war_with = XPX
			}
			XPX = {
				exists = yes
				is_subject = no
				is_in_faction = no
				OR = {
					has_government = neutrality
					has_government = fascism
				}	
			}
		}
		completion_reward = {
			XPX = {
				country_event = { id = baltica.67 }
			}
		}

	}
	focus = {
		id = zba_peredat_liderstvo_pape
		icon = GFX_goal_zsl_religiozny_vopros
		cost = 10
		prerequisite = {
			focus = zba_svyatoi_alliance
		}
		mutually_exclusive = {
			focus = zba_pozvat_papu_v_alliyanse
		}
		x = 20
		y = 9
		ai_will_do = {
			factor = 10
		}
		available = { 
			is_subject = no
			is_faction_leader = yes
			NOT = {
				has_war_with = XPX
			}
			XPX = {
				exists = yes
				is_subject = no
				is_in_faction = no
				OR = {
					has_government = neutrality
					has_government = fascism
				}	
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			add_political_power = 120
			XPX = {
				country_event = { id = baltica.70 }
			}
			custom_effect_tooltip = zba_peredat_liderstvo_pape_tt
		}
	}
	focus = {
		id = zba_pozvat_zapad_evrop
		icon = GFX_goal_zsl_razvitie_selskih_skol
		cost = 10
		prerequisite = {
			focus = zba_pozvat_papu_v_alliyanse
			focus = zba_peredat_liderstvo_pape
		}		
		x = 19
		y = 11
		ai_will_do = {
			factor = 10
		}
		available = { 
			is_subject = no
			OR = {
				is_faction_leader = yes
				is_in_faction_with = XPX
			}	
			OR = {
				country_exists = ZWI
				country_exists = XAU
				country_exists = ZAV
				country_exists = ZGL
				country_exists = ZKT
				country_exists = ZAU
				country_exists = ZKL
				country_exists = ZAL
				country_exists = ZKA
				country_exists = ZBE
				country_exists = XMZ
			}			
		}
		completion_reward = {
			if = {
				limit = {
					ZWI = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZWI = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					XAU = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				XAU = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZAV = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZAV = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZGL = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZGL = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZKT = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZKT = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZAU = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZAU = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZKL = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZKL = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZAL = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZAL = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZKA = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZKA = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					ZBE = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				ZBE = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
			if = {
				limit = {
					XMZ = {
						exists = yes
						is_subject = no
						is_in_faction = no
						NOT = {
							has_war_with = ZBA
							has_government = communism
						}
					}
				}
				XMZ = {
					country_event = { hours = 3 id = baltica.27 }
				}
			}
		}

	}
}
