focus_tree = {
	id = ZBO
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZBO
		}
	}
	continuous_focus_position = {
		x = 80
		y = 4000
	}
	default = no
	focus = {
		id = zbo_prekrastnoe_yanvarskoye_nastroyenie
		icon = GFX_goal_zbo_prekrastnoe_yanvarskoye_nastroyenie
		cost = 2
		x = 2
		y = 0
		ai_will_do = {
			factor = 10
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.1 }
			hidden_effect = {
				country_event = { id = bemen.4 days = 10 random = 6 }
			}
		}
	}
	focus = {
		id = zbo_voyna_s_brandenburgom
		icon = GFX_goal_zbo_voyna_s_brandenburgom
		cost = 1
		x = 13
		y = 0
		ai_will_do = {
			factor = 50
		}
		available = {
			has_war_with = ZBR
		}
		completion_reward = {
			add_stability = 0.02
			add_war_support = 0.03
			army_experience = 5
		}
	}
	focus = {
		id = zbo_voyna_max_oborona
		icon = GFX_goal_zbo_voyna_max_oborona
		cost = 1
		prerequisite = {
			focus = zbo_voyna_s_brandenburgom			
		}
		x = 12
		y = 1
		ai_will_do = {
			factor = 8
		}
		available = {
			has_war_with = ZBR
		}
		completion_reward = {
			add_war_support = 0.03
			army_experience = 5
			add_timed_idea = {
				idea = zbo_voyna_max_oborona_buff
				days = 100
			}
		}
	}
	focus = {
		id = zbo_voyna_max_promka
		icon = GFX_goal_zbo_voyna_max_promka
		cost = 1
		prerequisite = {
			focus = zbo_voyna_s_brandenburgom			
		}
		x = 14
		y = 1
		ai_will_do = {
			factor = 8
		}
		available = {
			has_war_with = ZBR
		}
		completion_reward = {
			add_stability = 0.02
			army_experience = 5
			add_timed_idea = {
				idea = zbo_voyna_max_promka_buff
				days = 150
			}
		}
	}
	focus = {
		id = zbo_voyna_my_znaem_vraga
		icon = GFX_goal_zbo_voyna_my_znaem_vraga
		cost = 1
		prerequisite = {
			focus = zbo_voyna_max_oborona			
		}
		prerequisite = {
			focus = zbo_voyna_max_promka			
		}
		x = 13
		y = 2
		ai_will_do = {
			factor = 8
		}
		available = {
			has_war_with = ZBR
		}
		completion_reward = {
			add_stability = 0.02
			army_experience = 5
			add_timed_idea = {
				idea = zbo_voyna_my_znaem_vraga_buff
				days = 150
			}
		}
	}
	focus = {
		id = zbo_voyna_vse_dlya_pobedy
		icon = GFX_goal_zbo_voyna_vse_dlya_pobedy
		cost = 1
		prerequisite = {
			focus = zbo_voyna_my_znaem_vraga			
		}		
		x = 13
		y = 3
		ai_will_do = {
			factor = 8
		}
		available = {
			has_war_with = ZBR
		}
		completion_reward = {
			army_experience = 5
			add_timed_idea = {
				idea = zbo_voyna_vse_dlya_pobedy_buff
				days = 150
			}
		}
	}
	focus = {
		id = zbo_voyna_reshitelny_natisk
		icon = GFX_goal_zbo_voyna_reshitelny_natisk
		cost = 1
		prerequisite = {
			focus = zbo_voyna_vse_dlya_pobedy			
		}		
		x = 13
		y = 4
		ai_will_do = {
			factor = 8
		}
		available = {
			has_war_with = ZBR
			surrender_progress < 0.9
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_voyna_reshitelny_natisk_buff
				days = 150
			}
		}
	}
	focus = {
		id = zbo_regent_korolya
		icon = GFX_goal_zbo_regent_korolya
		cost = 1
		x = 26
		y = 0
		ai_will_do = {
			factor = 5
		}
		allow_branch = {
			has_country_flag = zbo_bertolde_kranty_flag
		}
		available = {
			has_country_flag = zbo_bertolde_kranty_flag
		}
		completion_reward = {
			country_event = { id = bemen.31 }
		}
	}
	focus = {
		id = zbo_favralskoe_zasedanie_shtatrata
		icon = GFX_goal_zbo_favralskoe_zasedanie_shtatrata
		cost = 4
		prerequisite = {
			focus = zbo_prekrastnoe_yanvarskoye_nastroyenie
		}
		x = 2
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.2 }
		}
	}
	focus = {
		id = zbo_pochetnye_gosti
		icon = GFX_goal_zbo_pochetnye_gosti
		cost = 5
		prerequisite = {
			focus = zbo_favralskoe_zasedanie_shtatrata
		}
		x = 2
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		bypass = {
			has_war = yes
		}
		completion_reward = {
			country_event = { id = bemen.3 }
		}
	}
	focus = {
		id = zbo_kompaniya_aurgelmir
		icon = GFX_goal_zbo_kompaniya_aurgelmir
		cost = 5
		prerequisite = {
			focus = zbo_pochetnye_gosti
		}
		x = 2
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.01
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = zbo_industrial_concern_3
		}
	}
	focus = {
		id = zbo_iyulskoe_zasedania_shtatrada
		icon = GFX_goal_zbo_iyulskoe_zasedania_shtatrada
		cost = 5
		prerequisite = {
			focus = zbo_kompaniya_aurgelmir
		}
		x = 2
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = 50
			add_timed_idea = {
				idea = zbo_prag_matrones_buff
				days = 700
			}
		}
	}
	focus = {
		id = zbo_military_factories_1
		icon = GFX_goal_zbo_military_factories_1
		cost = 5
		prerequisite = {
			focus = zbo_iyulskoe_zasedania_shtatrada
		}
		x = 0
		y = 5
		ai_will_do = {
			factor = 5
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = 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 = zbo_military_factories_2
		icon = GFX_goal_zbo_military_factories_2
		cost = 5
		prerequisite = {
			focus = zbo_military_factories_1
		}
		x = 0
		y = 7
		ai_will_do = {
			factor = 5
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = 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 = zbo_industrial_kompl_1
		icon = GFX_goal_zbo_industrial_kompl_1
		cost = 5
		prerequisite = {
			focus = zbo_iyulskoe_zasedania_shtatrada
		}
		x = 2
		y = 5
		ai_will_do = {
			factor = 5
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}
				}
			}
		}
		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
				}
			}
		}
	}
	focus = {
		id = zbo_voenkontsern_glocke
		icon = GFX_goal_zbo_voenkontsern_glocke
		cost = 5
		prerequisite = {
			focus = zbo_military_factories_1
		}
		prerequisite = {
			focus = zbo_industrial_kompl_1
		}
		x = 1
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_voenkontsern_glocke_buff
		}
	}
	focus = {
		id = zbo_avtokontsern_streich
		icon = GFX_goal_zbo_avtokontsern_streich
		cost = 5
		prerequisite = {
			focus = zbo_iyulskoe_zasedania_shtatrada
		}
		x = 4
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_avtokontsern_streich_buff
		}
	}
	focus = {
		id = zbo_kontsern_bohmerwald
		icon = GFX_goal_zbo_kontsern_bohmerwald
		cost = 5
		prerequisite = {
			focus = zbo_industrial_kompl_1
		}
		prerequisite = {
			focus = zbo_avtokontsern_streich
		}
		x = 3
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_kontsern_bohmerwald_buff
		}
	}
	focus = {
		id = zbo_bemen_kolba_1
		icon = GFX_goal_zbo_bemen_kolba_1
		cost = 7
		prerequisite = {
			focus = zbo_voenkontsern_glocke
		}
		prerequisite = {
			focus = zbo_kontsern_bohmerwald
		}
		x = 2
		y = 7
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		available = {
		
		}
		completion_reward = {
			if = {
				limit = {
					amount_research_slots < 1
				}
				add_stability = 0.02
				add_research_slot = 1
			}
			else = {
				add_stability = 0.05
				add_political_power = 120
			}
		}
	}
	focus = {
		id = zbo_bemen_nauka_1
		icon = GFX_goal_zbo_bemen_nauka_1
		cost = 10
		prerequisite = {
			focus = zbo_bemen_kolba_1
		}		
		x = 2
		y = 8
		ai_will_do = {
			factor = 5
		}		
		available = {
		
		}		
		completion_reward = {
			add_stability = 0.02
			add_timed_idea = {
				idea = ar_generic_nauch_ryvok_boost
				days = 250
			}
		}
	}
	focus = {
		id = zbo_bemen_kolba_2
		icon = GFX_goal_zbo_bemen_kolba_2
		cost = 7
		prerequisite = {
			focus = zbo_bemen_nauka_1
		}		
		x = 2
		y = 9
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_RESEARCH }		
		available = {
			num_of_factories > 30
			amount_research_slots < 4
		}
		completion_reward = {
			add_stability = 0.02
			add_research_slot = 1
		}
	}
	focus = {
		id = zbo_bemen_oput_proshedshuh_ucheniy
		icon = GFX_goal_zbo_bemen_oput_proshedshuh_ucheniy
		cost = 5
		prerequisite = {
			focus = zbo_kompaniya_aurgelmir
		}		
		x = 0
		y = 4
		ai_will_do = {
			factor = 3
		}			
		available = {
			
		}
		completion_reward = {
			army_experience = 5
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
		}
	}
	
	##
	focus = {
		id = zbo_novy_korol_valdemar
		icon = GFX_goal_zbo_novy_korol_valdemar
		cost = 5
		prerequisite = {
			focus = zbo_voyna_s_brandenburgom
		}
		x = 9
		y = 1
		ai_will_do = {
			factor = 50
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = branden.81 }
		}
	}
	focus = {
		id = zbo_razognat_staryu_aristokratiu
		icon = GFX_goal_zbo_razognat_staryu_aristokratiu
		cost = 5
		prerequisite = {
			focus = zbo_novy_korol_valdemar
		}
		x = 8
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			add_political_power = 100
			add_stability = -0.05
			add_war_support = -0.05
			country_event = { id = bemen.13 }
			hidden_effect = {
				country_event = { days = 8 id = bemen.5 }
			}
		}
	}
	focus = {
		id = zbo_razdat_zemli_veteranam_voiny
		icon = GFX_goal_zbo_razdat_zemli_veteranam_voiny
		cost = 5
		prerequisite = {
			focus = zbo_razognat_staryu_aristokratiu
		}
		x = 8
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			add_war_support = 0.01
			custom_effect_tooltip = zbo_razdat_zemli_veteranam_voiny_tt
			division_template = {
				name = "Polizei-Divisionen"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
				}
			}
			random_owned_state = {					
				create_unit = {
					division = "division_template = \"Polizei-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}
				create_unit = {
					division = "division_template = \"Polizei-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}	
				create_unit = {
					division = "division_template = \"Polizei-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}
			}
			hidden_effect = {
				country_event = { days = 9 id = bemen.6 }
			}
		}
	}
	focus = {
		id = zbo_raspustit_shtatrad
		icon = GFX_goal_zbo_raspustit_shtatrad
		cost = 3
		prerequisite = {
			focus = zbo_novy_korol_valdemar
		}
		x = 10
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {			
			country_event = { id = bemen.7 }
		}
	}
	focus = {
		id = zbo_uprazdnit_starye_zakony
		icon = GFX_goal_zbo_uprazdnit_starye_zakony
		cost = 5
		prerequisite = {
			focus = zbo_raspustit_shtatrad
		}
		x = 10
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zbo_army_chief_1
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zbo_high_command_7
			country_event = { id = bemen.8 }
		}
	}
	focus = {
		id = zbo_reshit_problemy_generalov
		icon = GFX_goal_zbo_reshit_problemy_generalov
		cost = 5
		prerequisite = {
			focus = zbo_razdat_zemli_veteranam_voiny
		}
		prerequisite = {
			focus = zbo_uprazdnit_starye_zakony
		}
		x = 7
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			has_idea = zbo_somnitelny_kabinet_generalov_buff
		}
		completion_reward = {
			remove_ideas = zbo_somnitelny_kabinet_generalov_buff
			army_experience = 5
			add_war_support = 0.05
		}
	}
	focus = {
		id = zbo_organizovat_landtag
		icon = GFX_goal_zbo_organizovat_landtag
		cost = 5
		prerequisite = {
			focus = zbo_razdat_zemli_veteranam_voiny
		}
		prerequisite = {
			focus = zbo_uprazdnit_starye_zakony
		}
		x = 9
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			add_ideas = zbo_organizovat_landtag_buff
			add_popularity = {
				ideology = neutrality
				popularity = 0.08
			}
		}
	}
	focus = {
		id = zbo_pobeda_nad_zahvatchikami
		icon = GFX_goal_zbo_pobeda_nad_zahvatchikami
		cost = 5
		prerequisite = {
			focus = zbo_voyna_s_brandenburgom
		}
		x = 17
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
			has_war = no
			is_subject = no
			OR = {
				NOT = {
					country_exists = ZBR
				}
				ZBR = {
					is_subject_of = ZBO
				}
			}
			NOT = {
				has_country_leader = {
					character = ZBR_waldemar_hindenburg
				}
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 100
			add_timed_idea = {
				idea = zbo_pobeda_nad_zahvatchikami_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_dve_korony
		icon = GFX_goal_zbo_dve_korony
		cost = 5
		prerequisite = {
			focus = zbo_pobeda_nad_zahvatchikami
		}
		x = 17
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			OR = {
				ZBR = {
					is_subject_of = ZBO
				}
				AND = {
					NOT = {
						country_exists = ZBR
					}
					controls_state = 64
				}
			}
		}
		bypass = {
			country_exists = ZBR
			ZBR = {
				controls_state = 64
				NOT = {
					is_subject_of = ZBO
				}
			}
		}
		completion_reward = {
			country_event = { id = bemen.9 }
		}
	}
	focus = {
		id = zbo_priglasit_rainera_krugera
		icon = GFX_goal_zbo_priglasit_rainera_krugera
		cost = 3
		prerequisite = {
			focus = zbo_dve_korony
		}
		x = 15
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbo_rainer_kruger
			add_political_power = 50
		}
	}
	focus = {
		id = zbo_sud_nad_gindenburgami
		icon = GFX_goal_zbo_sud_nad_gindenburgami
		cost = 4
		prerequisite = {
			focus = zbo_dve_korony
		}
		x = 17
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				country_exists = ZBR
			}
		}
		completion_reward = {
			country_event = { id = bemen.22 }
		}
	}
	focus = {
		id = zbo_peregovory_s_lagtagom
		icon = GFX_goal_zbo_peregovory_s_lagtagom
		cost = 3
		prerequisite = {
			focus = zbo_dve_korony
		}
		x = 19
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			random_list = {
				50 = {
					country_event = { id = bemen.23 }	# good
				}
				50 = {
					country_event = { id = bemen.24 }
				}
			}
		}
	}
	focus = {
		id = zbo_natsionalna_identichnost
		icon = GFX_goal_zbo_natsionalna_identichnost
		cost = 5
		prerequisite = {
			focus = zbo_priglasit_rainera_krugera
		}
		prerequisite = {
			focus = zbo_sud_nad_gindenburgami
		}
		prerequisite = {
			focus = zbo_peregovory_s_lagtagom
		}
		x = 17
		y = 4
		ai_will_do = {
			factor = 7
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_natsionalna_identichnost_buff
		}
	}
	focus = {
		id = zbo_uchrejdenie_konstitutsii	
		icon = GFX_goal_zbo_uchrejdenie_konstitutsii
		cost = 7
		prerequisite = {
			focus = zbo_natsionalna_identichnost
		}
		x = 17
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_uchrejdenie_konstitutsii_buff
		}
	}
	focus = {
		id = zbo_loyalnost_brandena
		icon = GFX_goal_zbo_loyalnost_brandena
		cost = 5
		prerequisite = {
			focus = zbo_uchrejdenie_konstitutsii
		}
		x = 17
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				country_exists = ZBR
			}
		}
		completion_reward = {
			country_event = { id = bemen.28 }
		}
	}
	focus = {
		id = zbo_ekonomicheskie_otnosheniya_s_gansoi
		icon = GFX_goal_zbo_ekonomicheskie_otnosheniya_s_gansoi
		cost = 5
		prerequisite = {
			focus = zbo_uchrejdenie_konstitutsii
		}
		x = 19
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_opinion_modifier = {
				target = ZJT
				modifier = gansa_torgovlya_trade
				trade = yes
			}
			add_opinion_modifier = {
				target = ZLU
				modifier = gansa_torgovlya_trade
				trade = yes
			}
			add_opinion_modifier = {
				target = ZHM
				modifier = gansa_torgovlya_trade
				trade = yes
			}
			add_opinion_modifier = {
				target = ZFR
				modifier = gansa_torgovlya_trade
				trade = yes
			}
		}
	}
	focus = {
		id = zbo_bertold_puteshestvie
		icon = GFX_goal_zbo_bertold_puteshestvie
		cost = 5
		prerequisite = {
			focus = zbo_kompanii_brandenburga
		}
		prerequisite = {
			focus = zbo_loyalnost_brandena
		}
		prerequisite = {
			focus = zbo_ekonomicheskie_otnosheniya_s_gansoi
		}
		x = 17
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_berthold_iii
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = bemen.29 }			
		}
	}
	focus = {
		id = zbo_bertold_ogromnye_perspektivy
		icon = GFX_goal_zbo_bertold_ogromnye_perspektivy
		cost = 5
		prerequisite = {  
			focus = zbo_bertold_puteshestvie
		}		
		x = 17
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_berthold_iii
				ruling_only = yes
			}
		}
		completion_reward = {
					
		}
	}
	focus = {
		id = zbo_bertold_triumf_dinastii
		icon = GFX_goal_zbo_bertold_triumf_dinastii
		cost = 5
		prerequisite = {
			focus = zbo_bertold_ogromnye_perspektivy
		}		
		x = 17
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_berthold_iii
				ruling_only = yes
			}
		}
		completion_reward = {
					
		}
	}
	focus = {
		id = zbo_bertold_triumf_v_evrope
		icon = GFX_goal_zbo_bertold_triumf_v_evrope
		cost = 5
		prerequisite = {
			focus = zbo_bertold_triumf_dinastii
		}		
		x = 17
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_berthold_iii
				ruling_only = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_2_tt
			hidden_effect = {
				country_event = bemen.152
			}		
		}
	}
	focus = {
		id = zbo_rassledovanie_intsidenta
		icon = GFX_goal_zbo_rassledovanie_intsidenta
		cost = 2
		prerequisite = {
			focus = zbo_regent_korolya
		}
		x = 26
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.32 }
		}
	}
	focus = {
		id = zbo_osudit_deistviya_ordena
		icon = GFX_goal_zbo_osudit_deistviya_ordena
		cost = 1
		prerequisite = {
			focus = zbo_rassledovanie_intsidenta
		}
		mutually_exclusive = {
			focus = zbo_sodeistvovat_ordeny
		}
		x = 23
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_flag = zbo_osudit_deistviya_ordena_flag	
		}
		completion_reward = {
			add_political_power = 80
			add_war_support = 0.02
		}
	}
	focus = {
		id = zbo_vernyt_korolya
		icon = GFX_goal_zbo_vernyt_korolya
		cost = 1
		prerequisite = {
			focus = zbo_osudit_deistviya_ordena
		}
		x = 24
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.36 }
		}
	}
	focus = {
		id = zbo_sodeistvovat_ordeny
		icon = GFX_goal_zbo_sodeistvovat_ordeny
		cost = 1
		prerequisite = {
			focus = zbo_rassledovanie_intsidenta
		}
		mutually_exclusive = {
			focus = zbo_osudit_deistviya_ordena
		}
		x = 29
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_flag = zbo_sodeistvovat_ordeny_flag
		}
		completion_reward = {
			add_stability = 0.02
		}
	}
	focus = {
		id = zbo_vstrecha_s_velmistrom_ordena
		icon = GFX_goal_zbo_vstrecha_s_velmistrom_ordena
		cost = 5
		prerequisite = {
			focus = zbo_sodeistvovat_ordeny
		}
		x = 28
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.37 }
		}
	}
	focus = {
		id = zbo_rezultat_rassledovaniya_terakta
		icon = GFX_goal_zbo_rezultat_rassledovaniya_terakta
		cost = 5
		prerequisite = {
			focus = zbo_rassledovanie_intsidenta			
		}
		prerequisite = {
			focus = zbo_vernyt_korolya
			focus = zbo_vstrecha_s_velmistrom_ordena
		}
		x = 26
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_rezultat_rassledovaniya_terakta_tt
			hidden_effect = {
				country_event = { id = bemen.38 }
			}
		}
	}
	focus = {
		id = zbo_obrashenie_k_slovenougorii
		icon = GFX_goal_zbo_obrashenie_k_slovenougorii
		cost = 2
		prerequisite = {
			focus = zbo_rezultat_rassledovaniya_terakta
		}
		x = 24
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = ZDU
			}
			ZDU = {
				exists = yes
				NOT = {
					is_subject_of = ZBO
				}
			}
		}
		completion_reward = {
			country_event = { id = bemen.39 }
		}
	}
	focus = {
		id = zbo_plan_po_uluchsheniu_uslovii_truda
		icon = GFX_goal_zbo_plan_po_uluchsheniu_uslovii_truda
		cost = 2
		prerequisite = {
			focus = zbo_rezultat_rassledovaniya_terakta
		}
		x = 28
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_plan_po_uluchsheniu_uslovii_truda_buff
				days = 200
			}
		}
	}
	focus = {
		id = zbo_novye_poseleniya_dlya_chehov
		icon = GFX_goal_zbo_novye_poseleniya_dlya_chehov
		cost = 2
		prerequisite = {
			focus = zbo_plan_po_uluchsheniu_uslovii_truda
		}
		x = 28
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 45
		}
	}
	focus = {
		id = zbo_kompanii_brandenburga
		icon = GFX_goal_zbo_kompanii_brandenburga
		cost = 5
		prerequisite = {
			focus = zbo_uchrejdenie_konstitutsii
		}
		x = 15
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				country_exists = ZBR
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_kompanii_brandenburga_buff
				days = 420
			}
		}
	}
	focus = {
		id = zbo_da_zdravstvuet_valdemar
		icon = GFX_goal_zbo_da_zdravstvuet_valdemar
		cost = 3
		prerequisite = {
			focus = zbo_organizovat_landtag
		}
		x = 9
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_stability > 0.4
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
		}
		completion_reward = {
			add_political_power = 120
		}
	}
	focus = {
		id = zbo_valdemar_nanosit_otvetny_udar
		icon = GFX_goal_zbo_valdemar_nanosit_otvetny_udar
		cost = 2
		prerequisite = {
			focus = zbo_da_zdravstvuet_valdemar
		}
		x = 9
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
			ZBR = {
				exists = yes
				is_subject = no
			}
		}
		completion_reward = {
			add_political_power = 50
		}
	}
	focus = {
		id = zbo_valdemar_reorg_army
		icon = GFX_goal_zbo_valdemar_reorg_army
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_nanosit_otvetny_udar
		}
		x = 9
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
		}
		completion_reward = {
			army_experience = 7
			add_war_support = 0.02
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			add_tech_bonus = {
				name = infantry_artillery_bonus
				bonus = 0.4
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}
	focus = {
		id = zbo_valdemar_jeleznaya_promyshlennost
		icon = GFX_goal_zbo_valdemar_jeleznaya_promyshlennost
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_reorg_army
		}
		x = 6
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
		}
		completion_reward = {
			add_war_support = 0.01
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									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 = zbo_valdemar_doctrinochka
		icon = GFX_goal_zbo_valdemar_doctrinochka
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_jeleznaya_promyshlennost
		}
		x = 6
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
		}
		completion_reward = {
			army_experience = 5
			add_war_support = 0.02
			add_doctrine_cost_reduction = {
				name = zbo_valdemar_doctrinochka
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zbo_valdemar_bronemashiny
		icon = GFX_goal_zbo_valdemar_bronemashiny
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_jeleznaya_promyshlennost
		}
		x = 5
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
		}
		completion_reward = {
			add_tech_bonus = {
				name = zbo_valdemar_bronemashiny
				bonus = 1.0
				uses = 1
				category = armor
			}
			add_tech_bonus = {
				name = zbo_valdemar_bronemashiny
				ahead_reduction = 2
				bonus = 1.0
				uses = 1
				category = cat_light_armor
			}
		}
	}
	focus = {
		id = zbo_valdemar_samoletiki
		icon = GFX_goal_zbo_valdemar_samoletiki
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_jeleznaya_promyshlennost
		}
		x = 7
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
		}
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = zbo_valdemar_samoletiki
				bonus = 0.7
				uses = 3				
				category = light_air
				category = medium_air
				category = heavy_air
				category = air_equipment
			}
		}
	}
	focus = {
		id = zbo_valdemar_pomosh_mira
		icon = GFX_goal_zbo_valdemar_pomosh_mira
		cost = 1
		prerequisite = {
			focus = zbo_valdemar_reorg_army
		}
		x = 8
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
			has_added_tension_amount < 10
		}
		completion_reward = {
			add_political_power = 20
			random_list = {
				30 = {
					custom_effect_tooltip = ar_weapon_market_dobavleno_300_deneg_tt
					add_to_variable = { ar_weap_deneg_var = 300 }
				}
				40 = {
					custom_effect_tooltip = ar_weapon_market_dobavleno_400_deneg_tt
					add_to_variable = { ar_weap_deneg_var = 400 }
				}
				30 = {
					custom_effect_tooltip = ar_weapon_market_dobavleno_500_deneg_tt
					add_to_variable = { ar_weap_deneg_var = 500 }
				}
			}
		}
	}
	focus = {
		id = zbo_valdemar_osujdenie_brandena
		icon = GFX_goal_zbo_valdemar_osujdenie_brandena
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_reorg_army
		}
		x = 9
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}
			is_subject = no
			NOT = {
				is_in_faction_with = ZBR
			}
			ZBR = {
				exists = yes
				is_subject = no
			}
		}
		completion_reward = {
			ZBR = {
				country_event = { id = bemen.12 }
			}
			add_war_support = 0.01
			division_template = {
				name = "Reservists-Divisionen"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
				}
			}
			random_owned_state = {					
				create_unit = {
					division = "division_template = \"Reservists-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}
				create_unit = {
					division = "division_template = \"Reservists-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}	
				create_unit = {
					division = "division_template = \"Reservists-Divisionen\" start_experience_factor = 0.9"
					owner = ZBO
				}
			}
		}
	}
	focus = {
		id = zbo_valdemar_mashtabnye_ucheniya
		icon = GFX_goal_zbo_valdemar_mashtabnye_ucheniya
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_osujdenie_brandena
		}
		x = 9
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}			
		}
		completion_reward = {
			add_war_support = 0.03
			army_experience = 10			
			air_experience = 10	
			add_doctrine_cost_reduction = {
				name = zbo_valdemar_mashtabnye_ucheniya
				cost_reduction = 0.2
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = zbo_valdemar_v_ataku_karoch
		icon = GFX_goal_zbo_valdemar_v_ataku_karoch
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_mashtabnye_ucheniya
		}
		x = 9
		y = 11
		ai_will_do = {
			factor = 8
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no
			NOT = {
				is_in_faction_with = ZBR
			}
			ZBR = {
				exists = yes
				is_subject = no
			}
		}
		bypass = {
			has_war_with = ZBR
		}
		completion_reward = {
			every_state = {
				limit = { is_core_of = ZBR }				
				add_claim_by = ROOT
			}
			create_wargoal = {
				type = annex_everything
				target = ZBR					
			}
			add_ai_strategy = {
				type = conquer
				id = ZBR
				value = 100
			}
			add_ai_strategy = {
				type = antagonize
				id = ZBR
				value = 100
			}
			add_ai_strategy = {
				type = declare_war
				id = ZBR
				value = 100
			}
		}
	}
	focus = {
		id = zbo_valdemar_prorvatsya_luboi_tsenoi
		icon = GFX_goal_zbo_valdemar_prorvatsya_luboi_tsenoi
		cost = 2
		prerequisite = {
			focus = zbo_valdemar_v_ataku_karoch
		}
		mutually_exclusive = {
			focus = zbo_valdemar_igra_na_istoshenie		
		}
		x = 8
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no
			has_war_with = ZBR
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_valdemar_prorvatsya_luboi_tsenoi_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_valdemar_igra_na_istoshenie
		icon = GFX_goal_zbo_valdemar_igra_na_istoshenie
		cost = 2
		prerequisite = {
			focus = zbo_valdemar_v_ataku_karoch
		}
		mutually_exclusive = {
			focus = zbo_valdemar_prorvatsya_luboi_tsenoi		
		}
		x = 10
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no
			has_war_with = ZBR
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_valdemar_igra_na_istoshenie_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_valdemar_massovost_vajnee_kachestva
		icon = GFX_goal_zbo_valdemar_massovost_vajnee_kachestva
		cost = 2
		prerequisite = {
			focus = zbo_valdemar_prorvatsya_luboi_tsenoi
			focus = zbo_valdemar_igra_na_istoshenie
		}
		mutually_exclusive = {
			focus = zbo_valdemar_kachestvo_prevushe_vsego		
		}
		x = 8
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no
			has_war_with = ZBR
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_valdemar_massovost_vajnee_kachestva_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_valdemar_kachestvo_prevushe_vsego
		icon = GFX_goal_zbo_valdemar_kachestvo_prevushe_vsego
		cost = 2
		prerequisite = {
			focus = zbo_valdemar_prorvatsya_luboi_tsenoi
			focus = zbo_valdemar_igra_na_istoshenie
		}
		mutually_exclusive = {
			focus = zbo_valdemar_massovost_vajnee_kachestva		
		}
		x = 10
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no
			has_war_with = ZBR
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_valdemar_kachestvo_prevushe_vsego_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_valdemar_velikii
		icon = GFX_goal_zbo_valdemar_velikii
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_v_ataku_karoch
		}
		x = 9
		y = 14
		ai_will_do = {
			factor = 50
		}
		available = {
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no				
			OR = {
				controls_state = 64
				ZBR = {
					is_subject_of = ZBO
				}
			}			
		}	
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_4_tt
			hidden_effect = {
				#country_event = zboepilogue.4
				load_focus_tree = {
					tree = ZBO
					keep_completed = yes
				}
				mark_focus_tree_layout_dirty = yes
				set_country_flag = zbo_valdemar_velikii_cf
			}
			

		}
	}
	### START OF VALDEMAR
	focus = {
		id = zbo_valdemar_mechta_o_velikom
		icon = GFX_focus_spa_strengthen_the_supreme_reality_of_spain
		cost = 1	
		x = 9
		y = 15
		ai_will_do = {
			factor = 5
		}
		allow_branch = {
			#has_completed_focus = zbo_valdemar_velikii
			has_country_flag = zbo_valdemar_velikii_cf
		}
		available = {
			has_civil_war = no
			has_country_leader = {
				character = ZBR_waldemar_hindenburg
				ruling_only = yes
			}	
			is_subject = no		
		}
		completion_reward = {
			add_war_support = 0.01
			set_cosmetic_tag = ZBR_BEMEN
			every_state = {
				limit = { is_core_of = ZBR }
				add_core_of = ZBO				
			}
		}	
	}
	focus = {
		id = zbo_valdemar_oshibki_proslogo
		icon = GFX_goal_continuous_reduce_training_time
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_mechta_o_velikom								
		}			
		x = 7
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no			
		}
		completion_reward = {
			add_ideas = zbr_valdemar_armiya_buff
		}
	}
	focus = {
		id = zbo_valdemar_novye_rabochie_mesta
		icon = GFX_goal_continuous_repairments
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_mechta_o_velikom								
		}			
		x = 5
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no			
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
					is_in_home_area = yes					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
					is_in_home_area = yes					
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 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 > 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 = zbo_valdemar_stabka_narodu
		icon = GFX_focus_generic_self_management
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_novye_rabochie_mesta								
		}			
		x = 5
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no			
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			add_political_power = 100
		}
	}	
	focus = {
		id = zbo_valdemar_aviashturm
		icon = GFX_goal_continuous_air_production
		cost = 5
		prerequisite = {
			focus = zbo_valdemar_oshibki_proslogo								
		}			
		x = 7
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
						
		}
		completion_reward = {
			add_ideas = zbr_valdemar_aviashturm_buff
		}
	}
	focus = {
		id = zbo_valdemar_dobit_revolutsionerov
		icon = GFX_goal_generic_secret_weapon
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_mechta_o_velikom		
		}			
		x = 9
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			add_stability = -0.10
			add_war_support = 0.01
			add_political_power = 10
			add_timed_idea = {
				idea = zbr_valdemar_dobit_revolutsionerov_buff
				days = 210
			}
		}
	}
	focus = {
		id = zbo_valdemar_vyhod_k_mory
		icon = GFX_goal_generic_wolf_pack
		cost = 3		
		prerequisite = {
			focus = zbo_valdemar_dobit_revolutsionerov								
		}			
		x = 9
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		bypass = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		completion_reward = {
			add_political_power = 20
			add_timed_idea = {
				idea = zbr_valdemar_vyhod_k_mory_buff
				days = 365
			}
		}
	}
	focus = {
		id = zbo_valdemar_goroda_grehov
		icon = GFX_goal_generic_trade
		cost = 3
		prerequisite = {
			focus = zbo_valdemar_vyhod_k_mory								
		}			
		x = 9
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
		}
		completion_reward = {
			add_war_support = 0.05
			if = {
				limit = {
					NOT = {
						controls_state = 964
					}
				}
				add_state_claim = 964
			}
			if = {
				limit = {
					NOT = {
						controls_state = 778
					}
				}
				add_state_claim = 778
			}
			if = {
				limit = {
					NOT = {
						controls_state = 58
					}
				}
				add_state_claim = 58
			}
			if = {
				limit = {
					NOT = {
						controls_state = 777
					}
				}
				add_state_claim = 777
			}
			if = {
				limit = {
					NOT = {
						controls_state = 963
					}
				}
				add_state_claim = 963
			}
			if = {
				limit = {					
					controls_state = 963
					controls_state = 964
					controls_state = 778
					controls_state = 58
					controls_state = 777
					
				}
				add_state_core = 963
				add_state_core = 964
				add_state_core = 778
				add_state_core = 58
				add_state_core = 777
			}
			hidden_effect = {
				country_event = { days = 8 id = branden.193 }
			}
		}
	}
	focus = {
		id = zbo_valdemar_gollandskaya_korona
		icon = GFX_goal_generic_political_pressure
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_goroda_grehov								
		}			
		x = 6
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
		}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						controls_state = 56
					}
				}
				add_state_claim = 56
			}
			if = {
				limit = {
					NOT = {
						controls_state = 36
					}
				}
				add_state_claim = 36
			}
			if = {
				limit = {
					NOT = {
						controls_state = 7
					}
				}
				add_state_claim = 7
			}
			if = {
				limit = {					
					controls_state = 56
					controls_state = 36
					controls_state = 7					
					
				}
				add_state_core = 56
				add_state_core = 36
				add_state_core = 7				
			}
			if = {
				limit = {
					ZFR = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBR							
							is_subject_of = ZBR
						}
					}
				}
				add_named_threat = { threat = 4 name = zbr_valdemar_gollandskaya_korona }
				create_wargoal = {
					type = annex_everything
					target = ZFR					
				}
				add_ai_strategy = {
					type = conquer
					id = ZFR
					value = 200
				}
				add_ai_strategy = {
					type = declare_war
					id = ZFR
					value = 50
				}
			}
		}
	}
	focus = {
		id = zbo_valdemar_rasprostranit_anderyanstvo_na_vostok
		icon = GFX_goal_generic_political_pressure
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_goroda_grehov								
		}			
		x = 8
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
		}
		completion_reward = {
			every_state = {
				limit = { is_core_of = ZGA }				
				add_claim_by = ZBO
			}
			if = {
				limit = {
					ZGA = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO							
							is_subject_of = ZBO
						}
					}
				}
				add_named_threat = { threat = 4 name = zbr_valdemar_rasprostranit_anderyanstvo_na_vostok }
				create_wargoal = {
					type = annex_everything
					target = ZGA					
				}
				add_ai_strategy = {
					type = conquer
					id = ZGA
					value = 200
				}
				add_ai_strategy = {
					type = declare_war
					id = ZGA
					value = 50
				}
			}
		}
	}
	focus = {
		id = zbo_valdemar_uzurpatsiya_korony_treh_narodov
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_goroda_grehov								
		}			
		x = 10
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
		}
		completion_reward = {			
			if = {
				limit = {
					ZPV = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO							
							is_subject_of = ZBO
						}
					}
				}
				add_named_threat = { threat = 4 name = zbr_valdemar_uzurpatsiya_korony_treh_narodov }
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZPV					
				}
				add_ai_strategy = {
					type = conquer
					id = ZPV
					value = 25
				}
				add_ai_strategy = {
					type = declare_war
					id = ZPV
					value = 25
				}
			}
		}
	}
	focus = {
		id = zbo_valdemar_korona_sewera
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_goroda_grehov								
		}			
		x = 12
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			ZSE = {
				exists = yes
				NOT = {
					is_in_faction_with = ZBO							
					is_subject_of = ZBO
				}
			}
		}
		completion_reward = {
			add_named_threat = { threat = 7 name = zbr_valdemar_korona_sewera }
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ZSE					
			}
			if = {
				limit = {
					NOT = {
						controls_state = 138
					}
				}
				add_state_claim = 138
			}
			add_ai_strategy = {
				type = conquer
				id = ZSE
				value = 200
			}
			add_ai_strategy = {
				type = declare_war
				id = ZSE
				value = 50
			}
		}
	}
	focus = {
		id = zbo_valdemar_gegemoniya_nashei_tserkvi
		icon = GFX_goal_generic_army_doctrines
		cost = 7		
		prerequisite = {
			focus = zbo_valdemar_rasprostranit_anderyanstvo_na_vostok
			focus = zbo_valdemar_uzurpatsiya_korony_treh_narodov							
		}			
		x = 9
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
			has_stability > 0.5
			has_war_support > 0.5
		}
		completion_reward = {
			add_country_leader_trait = zbr_valdemar_korol_trait
		}
	}
	### END OF VALDEMAR
	focus = {
		id = zbo_protivodeistvie_podpolnym_gruppam
		icon = GFX_goal_zbo_protivodeistvie_podpolnym_gruppam
		cost = 2
		prerequisite = {
			focus = zbo_rezultat_rassledovaniya_terakta
		}
		x = 26
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_protivodeistvie_podpolnym_gruppam_buff
				days = 200
			}
		}
	}
	focus = {
		id = zbo_narodny_nadzor
		icon = GFX_goal_zbo_narodny_nadzor
		cost = 2
		prerequisite = {
			focus = zbo_protivodeistvie_podpolnym_gruppam
		}
		x = 26
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			division_template = {
				name = "Volksverteidigung"				
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
				}
			}
			random_owned_state = {					
				create_unit = {
					division = "division_template = \"Volksverteidigung\" start_experience_factor = 0.25"
					owner = ZBO
				}
				create_unit = {
					division = "division_template = \"Volksverteidigung\" start_experience_factor = 0.2"
					owner = ZBO
				}	
				create_unit = {
					division = "division_template = \"Volksverteidigung\" start_experience_factor = 0.3"
					owner = ZBO
				}
			}
		}
	}
	focus = {
		id = zbo_kontrol_na_granitse_so_slovenougoriei
		icon = GFX_goal_zbo_kontrol_na_granitse_so_slovenougoriei
		cost = 5
		prerequisite = {
			focus = zbo_obrashenie_k_slovenougorii
		}
		x = 24
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = ZDU
			}
			ZDU = {
				exists = yes
				NOT = {
					is_subject_of = ZBO
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_non_aggression_pact_with = ZDU
				}
				diplomatic_relation = {
					country = ZDU
					relation = non_aggression_pact
					active = no
				}
			}
			if = {
				limit = {
					has_guaranteed = ZDU
				}
				diplomatic_relation = {
					country = ZDU
					relation = guarantee
					active = no
				}
			}
			if = {
				limit = {
					is_guaranteed_by = ZDU
				}
				ZDU = {
					diplomatic_relation = {
						country = ZDU
						relation = guarantee
						active = no
					}
				}
			}
			if = {
				limit = {
					has_military_access_to = ZDU
				}
				ZDU = {
					diplomatic_relation = {
						country = ZDU
						relation = military_access
						active = no
					}
				}
			}
			if = {
				limit = {
					gives_military_access_to = GER
				}				
				diplomatic_relation = {
					country = ZDU
					relation = military_access
					active = no
				}				
			}
			send_embargo = ZDU
			add_opinion_modifier = {
				target = ZDU
				modifier = provokatsya
			}
			add_named_threat = {
				threat = 2
				name = zbo_kontrol_na_granitse_so_slovenougoriei
			}
			ZDU = {
				country_event = { id = bemen.41 }
			}
		}
	}
	focus = {
		id = zbo_vosstanie_sklaverov
		icon = GFX_goal_zbo_vosstanie_sklaverov
		cost = 5
		prerequisite = {
			focus = zbo_narodny_nadzor
			focus = zbo_novye_poseleniya_dlya_chehov
			focus = zbo_kontrol_na_granitse_so_slovenougoriei
		}
		x = 26
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.42 }
		}
	}
	focus = {
		id = zbo_armiya_v_gorodah
		icon = GFX_goal_zbo_armiya_v_gorodah
		cost = 5
		prerequisite = {
			focus = zbo_vosstanie_sklaverov
		}
		prerequisite = {
			focus = zbo_osudit_deistviya_ordena
		}
		mutually_exclusive = {
			focus = zbo_ritsari_v_gorodah
		}
		x = 23
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 5
			add_stability = 0.05
			add_war_support = 0.05
		}
	}
	focus = {
		id = zbo_ritsari_v_gorodah
		icon = GFX_goal_zbo_ritsari_v_gorodah
		cost = 5
		prerequisite = {
			focus = zbo_vosstanie_sklaverov
		}
		prerequisite = {
			focus = zbo_sodeistvovat_ordeny
		}
		mutually_exclusive = {
			focus = zbo_armiya_v_gorodah
		}
		x = 29
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 5
			add_stability = 0.05
			add_war_support = 0.05	
		}
	}
	focus = {
		id = zbo_naiti_predvoditelei_protesta
		icon = GFX_goal_zbo_naiti_predvoditelei_protesta
		cost = 3
		prerequisite = {
			focus = zbo_armiya_v_gorodah
		}
		x = 22
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_naiti_predvoditelei_protesta_buff
				days = 170
			}
		}
	}
	focus = {
		id = zbo_usilit_otryady_samooborony
		icon = GFX_goal_zbo_usilit_otryady_samooborony
		cost = 1
		prerequisite = {
			focus = zbo_armiya_v_gorodah
		}
		x = 24
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		bypass = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 187
				producer = ZRI
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 105
				producer = ZSL
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 78
				producer = ZSE
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 94
				producer = ZJA
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 107
				producer = ZMN
			}
		}
	}
	focus = {
		id = zbo_predlojit_kompromiss
		icon = GFX_goal_zbo_predlojit_kompromiss
		cost = 3
		prerequisite = {
			focus = zbo_naiti_predvoditelei_protesta
		}
		x = 21
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			if = {
				limit = {
					controls_state = 67 
					67 = {
						NOT = {
							is_core_of = ZBO
						}
					}
				}
				67 = {
					add_compliance = 10
					add_resistance = -10
				}
			}
			if = {
				limit = {
					controls_state = 74 
					74 = {
						NOT = {
							is_core_of = ZBO
						}
					}
				}
				74 = {
					add_compliance = 10
					add_resistance = -10
				}
			}
			if = {
				limit = {
					controls_state = 75 
					75 = {
						NOT = {
							is_core_of = ZBO
						}
					}
				}
				75 = {
					add_compliance = 10
					add_resistance = -10
				}
			}
			add_stability = 0.04
			add_political_power = 30
		}
	}
	focus = {
		id = zbo_edinstvo_v_pravah
		icon = GFX_goal_zbo_edinstvo_v_pravah
		cost = 5
		prerequisite = {
			focus = zbo_naiti_predvoditelei_protesta
		}
		x = 23
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			add_ideas = zbo_edinstvo_v_pravah_buff
		}
	}
	focus = {
		id = zbo_verbovka_loyalnyh_sklaverov
		icon = GFX_goal_zbo_verbovka_loyalnyh_sklaverov
		cost = 2
		prerequisite = {
			focus = zbo_usilit_otryady_samooborony
		}
		x = 25
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		bypass = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			army_experience = 5
			add_stability = 0.03
			add_war_support = 0.06
			add_timed_idea = {
				idea = zbo_verbovka_loyalnyh_sklaverov_buff
				days = 250
			}
			XMO = {
				add_stability = -0.1
				add_war_support = -0.2
				add_timed_idea = {
					idea = zbo_verbovka_loyalnyh_sklaverov_deeeb_buff
					days = 250
				}
			}
		}
	}
	focus = {
		id = zbo_slaboye_zatishie
		icon = GFX_goal_zbo_slaboye_zatishie
		cost = 5
		prerequisite = {
			focus = zbo_edinstvo_v_pravah
		}
		prerequisite = {
			focus = zbo_predlojit_kompromiss
		}
		prerequisite = {
			focus = zbo_verbovka_loyalnyh_sklaverov
		}
		x = 23
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_war_with = XMO
			}
		}
		completion_reward = {
			if = {
				limit = {
					controls_state = 67 
				}
				67 = {
					add_core_of = ZBO
				}	
			}
			else = {
				add_stability = 0.02
			}
			if = {
				limit = {
					controls_state = 74 
				}
				74 = {
					add_core_of = ZBO
				}	
			}
			if = {
				limit = {
					controls_state = 75 
				}
				75 = {
					add_core_of = ZBO
				}	
			}
			add_stability = 0.02
		}
	}
	focus = {
		id = zbo_slovo_bojie
		icon = GFX_goal_zbo_slovo_bojie
		cost = 5
		prerequisite = {
			focus = zbo_ritsari_v_gorodah
		}
		x = 28
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.03
		}
	}
	focus = {
		id = zbo_rashirit_polnomochiya_ordena
		icon = GFX_goal_zbo_rashirit_polnomochiya_ordena
		cost = 5
		prerequisite = {
			focus = zbo_ritsari_v_gorodah
		}
		x = 30
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = 100
		}
	}
	focus = {
		id = zbo_tevtonskie_spetsialisty
		icon = GFX_goal_generic_defence
		cost = 5
		prerequisite = {
			focus = zbo_slovo_bojie
		}
		x = 27
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = {
				zbo_tevtonskie_spetsialisty_idea
			}
		}
	}
	focus = {
		id = zbo_ritsari_ofitsery
		icon = GFX_goal_zbo_ritsari_ofitsery
		cost = 5
		prerequisite = {
			focus = zbo_slovo_bojie
		}
		prerequisite = {
			focus = zbo_rashirit_polnomochiya_ordena
		}
		x = 29
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zbo_ritsari_ofitsery_idea 
		}
	}
	focus = {
		id = zbo_istrebiteli_eresi
		icon = GFX_goal_zbo_istrebiteli_eresi
		cost = 5
		prerequisite = {
			focus = zbo_rashirit_polnomochiya_ordena
		}
		x = 31
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			75 = {
				add_manpower = -200
				remove_core_of = XMO
				set_variable = {
					religion_var = 2
				}
			}
			74 = {
				add_manpower = -200
				remove_core_of = XMO
				set_variable = {
					religion_var = 2
				}
			}
			67 = {
				add_manpower = -200
				remove_core_of = XMO
				set_variable = {
					religion_var = 2
				}
			}
			add_stability = -0.1
			add_war_support = 0.1
		}
	}
	focus = {
		id = zbo_chrezvichaynaya_situatsiya
		icon = GFX_goal_zbo_chrezvichaynaya_situatsiya
		cost = 5
		prerequisite = {
			focus = zbo_ritsari_ofitsery
		}
		prerequisite = {
			focus = zbo_tevtonskie_spetsialisty
		}
		x = 28
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = bemen.132
		}
	}
	focus = {
		id = zbo_zoloto_ordena_na_blago_ludei
		icon = GFX_goal_zbo_zoloto_ordena_na_blago_ludei
		cost = 5
		prerequisite = {
			focus = zbo_istrebiteli_eresi
		}
		prerequisite = {
			focus = zbo_ritsari_ofitsery
		}
		x = 30
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = -100
			add_stability = 0.06
		}
	}
	focus = {
		id = zbo_svyataya_missiya_ordena
		icon = GFX_goal_zbo_svyataya_missiya_ordena
		cost = 5
		prerequisite = {
			focus = zbo_chrezvichaynaya_situatsiya
		}
		prerequisite = {
			focus = zbo_zoloto_ordena_na_blago_ludei
		}
		x = 29
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			hidden_effect = {
				country_event = {
					id = bemen.133
					days = 3
					hours = 9
				}
				set_country_flag = ZBO_kreshenie_cf
				set_variable = {
					var = ZBO_kreshenie_free_vv
					value = 10
					tooltip = set_var_to_100_tt
				}
			}
			country_event = bemen.135
			
		}
	}
	focus = {
		id = zbo_korol_vernulsya
		icon = GFX_goal_zbo_korol_vernulsya
		cost = 1
		prerequisite = {
			focus = zbo_svyataya_missiya_ordena
		}
		x = 29
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			### О ноу! Шкибиди-Бертольд атакует еретиков! Что же делать?
		}
	}
	focus = {
		id = zbo_skory_pizdets_miru
		icon = GFX_goal_zbo_skory_pizdets_miru
		cost = 5
		prerequisite = {
			focus = zbo_korol_vernulsya
		}
		x = 29
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_skory_pizdets_miru_tt
			hidden_effect = {
				add_political_power = 100
				add_stability = 0.3
				add_war_support = 0.4
				add_manpower = 100000
			}

		}
	}
	focus = {
		id = zbo_unite_christ_mir
		icon = GFX_goal_zbo_unite_christ_mir
		cost = 5
		prerequisite = {
			focus = zbo_skory_pizdets_miru
		}
		x = 29
		y = 15
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_unite_christ_mir_tt
			hidden_effect = {
				add_ideas = zbo_unite_christ_mir_idea
				create_faction = ZBO_sem_christ_faction
				set_cosmetic_tag = ZBO_holy_european_empire_ct
				add_country_leader_trait = ZBO_boga_boitsa_loh_trait
			}
		}
	}
	focus = {
		id = zbo_pope_vliyat
		icon = GFX_goal_zbo_pope_vliyat
		cost = 5
		prerequisite = {
			focus = zbo_unite_christ_mir
		}
		x = 28
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			if = {
				limit = {
					country_exists = ZRI
				}
				ZBO = {
					create_wargoal = {
						target = ZRI
						type = annex_everything
					}
					set_country_flag = zbo_defeat_rome_cf
					hidden_effect = { #collapse focus tree
						load_focus_tree = {
							tree = ZBO
							keep_completed = yes
						}
						mark_focus_tree_layout_dirty = yes
					}
					complete_national_focus = zbo_defeat_rome
					country_event = bemen.139
				}
				
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = zbo_defeat_rome
					}
				}
				XPX = {
					country_event = {
						id = bemen.136
						days = 4
						random_hours = 23
					}	
				}
			}	
		}
	}
	focus = {
		id = zbo_destroy_pope_institut
		icon = GFX_goal_ZBO_unichtozhit_institut_papstva
		cost = 1
		prerequisite = {
			focus = zbo_pope_vliyat
		}
		mutually_exclusive = {
			focus = zbo_edinstvo_dvuh_tserkvei
		}
		x = 27
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = zbo_destroy_pope_institut_tt
		}
	}
	focus = {
		id = zbo_defeat_rome
		icon = GFX_goal_ZBO_Razgromit_Rim
		cost = 1
		prerequisite = {
			focus = zbo_pope_vliyat
		}
		x = 25
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		allow_branch = {
			has_country_flag = zbo_defeat_rome_cf	
		}
		completion_reward = {
			custom_effect_tooltip = zbo_defeat_rome_tt
		}
	}
	focus = {
		id = zbo_edinstvo_dvuh_tserkvei
		icon = GFX_goal_ZBO_Edinstvo_dhu_tservei
		cost = 1
		prerequisite = {
			focus = zbo_pope_vliyat
		}
		mutually_exclusive = {
			focus = zbo_destroy_pope_institut
		}
		x = 29
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = zbo_edinstvo_dvuh_tserkvei_tt
		}
	}
	focus = {
		id = zbo_obrashenie_k_severu
		icon = GFX_goal_ZBO_obraschenie_k_gosudarstvam_severa
		cost = 5
		prerequisite = {
			focus = zbo_edinstvo_dvuh_tserkvei
			focus = zbo_destroy_pope_institut
			focus = zbo_defeat_rome
		}
		x = 28
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			ZSE = {
				country_event = bemen.145
			}
			ZFR = {
				country_event = bemen.145
			}
			ZHM = {
				country_event = bemen.145
			}
			ZLU = {
				country_event = bemen.145
			}
			ZJT = {
				country_event = bemen.145
			}
			ZBA = {
				country_event = bemen.145
			}
			add_war_support = 0.1
		}
	}
	focus = {
		id = zbo_pohod_za_edinstvo
		icon = GFX_goal_ZBO_Pohod_za_edinstvo
		cost = 5
		prerequisite = {
			focus = zbo_unite_christ_mir
		}
		x = 31
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			every_neighbor_country = {
				ZBO = {
					create_wargoal = {
						target = PREV
						type = annex_everything
					}
				}
			}
		}
	}
	focus = {
		id = zbo_novgorod_has_jesus_too
		icon = GFX_goal_ZBO_novgorodskaya_tserkov_iisusa_hrista
		cost = 5
		prerequisite = {
			focus = zbo_pohod_za_edinstvo
		}
		x = 31
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			ZSL = {
				country_event = bemen.142
			}
		}
	}
	focus = {
		id = zbo_unichtozhit_panslavism
		icon = GFX_goal_ZBO_unichtozhit_panslavizm
		cost = 2
		prerequisite = {
			focus = zbo_novgorod_has_jesus_too
		}
		mutually_exclusive = {
			focus = zbo_zachistka_vostoka
		}
		x = 31
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_flag = slavia_disagree_cf
		}
		completion_reward = {
			custom_effect_tooltip = zbo_unichtozhit_panslavism_tt
		}
	}
	focus = {
		id = zbo_ot_lissabona_do_permi ### PERMREICH!
		icon = GFX_goal_ZBO_ot_lissabona_do_permy
		cost = 5
		prerequisite = {
			focus = zbo_obrashenie_k_severu
		}
		prerequisite = {
			focus = zbo_unichtozhit_panslavism
			focus = zbo_zachistka_vostoka
		}
		x = 29
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			every_controlled_state = {
				limit = {
					NOT = { is_core_of = ZBO }
				}
				add_core_of = ZBO
			}
		}
	}
	focus = {
		id = zbo_zachistka_vostoka
		icon = GFX_goal_ZBO_Zachistka_vostoka
		cost = 2
		prerequisite = {
			focus = zbo_novgorod_has_jesus_too
		}
		mutually_exclusive = {
			focus = zbo_unichtozhit_panslavism
		}
		x = 33
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_flag = slavia_agree_cf
		}
		completion_reward = {
			custom_effect_tooltip = zbo_zachistka_vostoka_tt
			create_wargoal = {
				target = ZKR
				type = annex_everything
			}
			create_wargoal = {
				target = ZOR
				type = annex_everything
			}
			create_wargoal = {
				target = ZPE
				type = annex_everything
			}
			create_wargoal = {
				target = ZGO
				type = annex_everything
			}
			create_wargoal = {
				target = ZUF
				type = annex_everything
			}
		}
	}
	focus = {
		id = zbo_njet_evreyam
		icon = GFX_goal_ZBO_izgnanie_iudeev
		cost = 5
		prerequisite = {
			focus = zbo_unichtozhit_panslavism
			focus = zbo_zachistka_vostoka
		}
		x = 32
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			ZBO = {
				create_wargoal = {
					target = ZKR
					type = annex_everything
				}
			}
			
		}
	}
	focus = {
		id = zbo_alanskaya_granitsa
		icon = GFX_goal_ZBO_Alanskaya_granitsa
		cost = 5
		prerequisite = {
			focus = zbo_njet_evreyam
		}
		x = 32
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			ZBO = {
				create_wargoal = {
					target = ZGO
					type = annex_everything
				}
				create_wargoal = {
					target = ZAI
					type = annex_everything
				}
			}
		}
	}
	focus = {
		id = zbo_alo_lonstantinopol
		icon = GFX_goal_ZBO_Obraschenie_k_konstantinopolyui
		cost = 5
		prerequisite = {
			focus = zbo_ot_lissabona_do_permi
		}
		prerequisite = {
			focus = zbo_zachistka_vostoka
			focus = zbo_unichtozhit_panslavism
		}
		x = 30
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_alo_lonstantinopol_tt
			hidden_effect = {
				ZVZ = {
					country_event = {
						id = bemen.148
						days = 3
						random_hours = 23
					}
				} 
			}
		}
	}
	focus = {
		id = zbo_konets_two_thousand_empire
		icon = GFX_goal_ZBO_konets_dvuhtisyacheletnei_imperii
		cost = 1
		prerequisite = {
			focus = zbo_alo_lonstantinopol
		}
		mutually_exclusive = {
			focus = zbo_cho_blyat_shisma
		}
		x = 29
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = zbo_konets_two_thousand_empire_tt
		}
	}
	focus = {
		id = zbo_cho_blyat_shisma
		icon = GFX_goal_ZBO_Velikoe_preodolenie_shizmi
		cost = 1
		prerequisite = {
			focus = zbo_alo_lonstantinopol
		}
		mutually_exclusive = {
			focus = zbo_konets_two_thousand_empire
		}
		x = 31
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = zbo_cho_blyat_shisma_tt
		}
	}
	focus = {
		id = zbo_holy_earth
		icon = GFX_goal_ZBO_Svyataya_zemlya
		cost = 4
		prerequisite = {
			focus = zbo_konets_two_thousand_empire
			focus = zbo_cho_blyat_shisma
		}
		x = 30
		y = 22
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_holy_earth_tt
			create_wargoal = {
				target = ZGS
				type = annex_everything
			}
		}
	}
	focus = {
		id = zbo_epilogue
		icon = GFX_goal_ZBO_Epilog
		cost = 2
		prerequisite = {
			focus = zbo_holy_earth
		}
		x = 30
		y = 23
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_1_tt
			hidden_effect = {
				country_event = bemen.151
			}
		}
	}
	focus = {
		id = zbo_slojny_vybor
		icon = GFX_goal_zbo_slojny_vybor
		cost = 2
		prerequisite = {
			focus = zbo_slaboye_zatishie
		}
		x = 23
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_kornelis_rettig
				ruling_only = yes
			}			
		}
		completion_reward = {
			country_event = { id = bemen.47 }
		}
	}
	focus = {
		id = zbo_zakonny_naslednik
		icon = GFX_goal_zbo_zakonny_naslednik
		cost = 2
		prerequisite = {
			focus = zbo_slojny_vybor
		}
		mutually_exclusive = {
			focus = zbo_priglasit_kantakuzin			
		}
		x = 16
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.48 }
		}
	}
	focus = {
		id = zbo_priglasit_kantakuzin
		icon = GFX_goal_zbo_priglasit_kantakuzin
		cost = 2
		prerequisite = {
			focus = zbo_slojny_vybor
		}
		mutually_exclusive = {
			focus = zbo_zakonny_naslednik			
		}
		x = 23
		y = 14
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				ZVZ = {
					exists = no
				}
			}
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.116 }
		}
	}	
	focus = {
		id = zbo_edinstvo_s_malogo
		icon = GFX_goal_zbo_edinstvo_s_malogo
		cost = 4
		prerequisite = {
			focus = zbo_zakonny_naslednik
		}
		x = 16
		y = 15
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.49 }
		}
	}
	focus = {
		id = zbo_obnovlenie_politiki_kantakuzin
		icon = GFX_goal_zbo_obnovlenie_politiki_kantakuzin
		cost = 5
		prerequisite = {
			focus = zbo_priglasit_kantakuzin
		}
		x = 23
		y = 15
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbo_arkadios_salih
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbo_jakov_kovach
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbo_marcellus_profeta
			hidden_effect = {
				country_event = { days = 23 id = bemen.117 }
			}			
		}
	}
	focus = {
		id = zbo_peresmotr_zakonov_kantakuzin
		icon = GFX_goal_zbo_peresmotr_zakonov_kantakuzin
		cost = 5
		prerequisite = {
			focus = zbo_obnovlenie_politiki_kantakuzin
		}
		x = 22
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_peresmotr_zakonov_kantakuzi_buff
				days = 365
			}
			hidden_effect = {
				country_event = { days = 5 id = bemen.119 }
			}
		}
	}
	focus = {
		id = zbo_romeiskie_investitsii
		icon = GFX_goal_zbo_romeiskie_investitsii
		cost = 5
		prerequisite = {
			focus = zbo_obnovlenie_politiki_kantakuzin
		}
		x = 24
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zbo_romeiskie_investitsii_buff
				days = 1200
			}
		}
	}
	focus = {
		id = zbo_naslednik_pri_dele
		icon = GFX_goal_zbo_naslednik_pri_dele
		cost = 5
		prerequisite = {
			focus = zbo_peresmotr_zakonov_kantakuzin
			focus = zbo_romeiskie_investitsii
		}
		x = 23
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_field_marshal_role = {
				character = ZBO_Gavriil_Kantakouzenos
				traits = { trait_reckless }
				skill = 3
				attack_skill = 4
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 2
			}
			hidden_effect = {
				country_event = { days = 11 id = bemen.118 }
			}
		}
	}
	focus = {
		id = zbo_kantakuzya_diverie_naseleniya
		icon = GFX_goal_zbo_kantakuzya_diverie_naseleniya
		cost = 10
		prerequisite = {
			focus = zbo_naslednik_pri_dele
		}
		x = 23
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.05
			add_timed_idea = {
				idea = zbo_vsestoronnya_podderjka_naseleniya_buff
				days = 200
			}
			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
				}
			}
		}
	}
	focus = {
		id = zbo_baltiiskie_interesy
		icon = GFX_goal_zbo_baltiiskie_interesy
		cost = 5
		prerequisite = {
			focus = zbo_kantakuzya_diverie_naseleniya
		}
		x = 22
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = ZBA
			}			
		}
		bypass = {
			OR = {
				has_war_with = ZBA
				has_wargoal_against = ZBA
				every_state = {
					is_core_of = ZBA
					is_controlled_by = ROOT
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					country_exists = ZBA
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZBA					
				}
				add_named_threat = { threat = 3 name = zbo_baltiiskie_interesy }
			}
			else = {
				every_state = {
					limit = {
						is_core_of = ZBA
						NOT = {
							is_controlled_by = ROOT
						}
					}
					add_core_of = ROOT
					add_claim_by = ZJA
				}
				add_named_threat = { threat = 4 name = zbo_baltiiskie_interesy }
			}			
		}
	}
	focus = {
		id = zbo_vizit_v_istriopol
		icon = GFX_goal_zbo_vizit_v_istriopol
		cost = 5
		prerequisite = {
			focus = zbo_kantakuzya_diverie_naseleniya
		}
		x = 24
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = ZDU
			}
			ZDU = {
				exists = yes
			}
		}
		completion_reward = {
			country_event = { id = bemen.120 }
		}
	}
	focus = {
		id = zbo_komitet_vneshnei_politiki
		icon = GFX_goal_zbo_komitet_vneshnei_politiki
		cost = 5
		prerequisite = {
			focus = zbo_baltiiskie_interesy
			focus = zbo_vizit_v_istriopol
		}
		x = 23
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction = no
		}
		completion_reward = {
			create_faction = zbo_korol_korolei_faction
			set_rule = {
				can_create_factions = yes
			}
		}
	}
	focus = {
		id = zbo_okno_v_more
		icon = GFX_goal_zbo_okno_v_more
		cost = 5
		prerequisite = {
			focus = zbo_komitet_vneshnei_politiki
		}
		x = 20
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
			controls_state = 59
		}
		completion_reward = {
			start_border_war = {
				change_state_after_war = no
				attacker = {
					### BOHMEN
					state = 59
					num_provinces = 3
					on_win = zbo_border_war.1
					on_lose = zbo_border_war.2
					on_cancel = zbo_border_war.3
					modifier = 0.2
					dig_in_factor = 0
					terrain_factor = 0
				}	
				defender = {
					### GANSA
					state = 963
					num_provinces = 2
					on_win = zbo_border_war.2
					on_lose = zbo_border_war.1
					on_cancel = zbo_border_war.3
				}
			}
		}
	}
	focus = {
		id = zbo_imperialism_kantakusinov
		icon = GFX_goal_zbo_imperialism_kantakusinov
		cost = 7
		prerequisite = {
			focus = zbo_komitet_vneshnei_politiki
		}
		x = 22
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			hidden_effect = {
				add_ideas = zbo_imperialism_kantakusinov_idea
			}
			custom_effect_tooltip = zbo_imperialism_kantakusinov_tt
		}
	}
	focus = {
		id = zbo_liniya_rasseleniya
		icon = GFX_goal_zbo_liniya_rasseleniya
		cost = 5
		prerequisite = {
			focus = zbo_imperialism_kantakusinov
		}
		x = 22
		y = 22
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			### VENEDIA ###
			87 = {
				add_core_of = ZBO
			}
			98 = {
				add_core_of = ZBO
			}
			10 = {
				add_core_of = ZBO
			}
			72 = {
				add_core_of = ZBO
			}
			90 = {
				add_core_of = ZBO
			}
			776 = {
				add_core_of = ZBO
			}
			### RUTHENIA ###
			92 = {
				add_core_of = ZBO
			}
			97 = {
				add_core_of = ZBO
			}
			93 = {
				add_core_of = ZBO
			}
			91 = {
				add_core_of = ZBO
			}
			89 = {
				add_core_of = ZBO
			}
			199 = {
				add_core_of = ZBO
			}
		}
	}
	focus = {
		id = zbo_rodstvennye_uzi
		icon = GFX_goal_zbo_rodstvennye_uzi
		cost = 4
		prerequisite = {
			focus = zbo_komitet_vneshnei_politiki
		}
		x = 24
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			ZBO = {
				add_to_faction = ZVZ
				add_opinion_modifier = {
					target = ZVZ
					modifier = ZVZ_zbo_rodstvennye_uzi
				}
			}
			ZVZ = {
				add_opinion_modifier = {
					target = ZBO
					modifier = ZVZ_zbo_rodstvennye_uzi
				}
			}
		}
	}
	focus = {
		id = zbo_skandinavsky_drug
		icon = GFX_goal_zbo_skandinavsky_drug
		cost = 4
		prerequisite = {
			focus = zbo_komitet_vneshnei_politiki
		}
		x = 26
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			ZBO = {
				add_to_faction = ZSE
			}
		}
	}
	focus = {
		id = zbo_imperiya_nemtsev_i_germantsev
		icon = GFX_goal_zbo_imperiya_nemtsev_i_germantsev
		cost = 5
		prerequisite = {
			focus = zbo_liniya_rasseleniya
		}
		mutually_exclusive = {
			focus = zbo_dva_rima_odna_dynastiya
		}
		x = 22
		y = 23
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_5_tt
			custom_effect_tooltip = zbo_imperiya_nemtsev_i_germantsev_tt
			hidden_effect = {
				country_event = bemen.154
			}
			set_cosmetic_tag = ZBO_Nemetea 
		}
	}
	focus = {
		id = zbo_dva_rima_odna_dynastiya
		icon = GFX_goal_zbo_dva_rima_odna_dynastiya
		cost = 5
		prerequisite = {
			focus = zbo_liniya_rasseleniya
		}
		mutually_exclusive = {
			focus = zbo_imperiya_nemtsev_i_germantsev
		}
		x = 24
		y = 23
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zbo_dva_rima_odna_dynastiya_tt
			hidden_effect = {
				ZRI = {
					every_state = {
						if = {
							limit = {
								is_core_of = ZRI	
							}	
							add_core_of = ZBO
						}
					}
				}
			}
			create_wargoal = {
				target = ZRI
				type = annex_everything
			}
			set_global_flag = zbo_dva_rima_odna_dynastiya_start_of_war_gf
		}
	}
	focus = {
		id = zbo_vechniy_soyuz
		icon = GFX_goal_zbo_vechniy_soyuz
		cost = 5
		prerequisite = {
			focus = zbo_dva_rima_odna_dynastiya
		}
		x = 24
		y = 24
		ai_will_do = {
			factor = 5
		}
		available = {
			ZBO = {
				controls_state = 2
				has_war = no
			}
		}
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_5_tt
			country_event = bemen.162
			### Эпилог ###
			#hidden_effect = {
			#	country_event = bemen.155
			#}
			set_capital = { state = 2 }		
		}
	}
	focus = {
		id = zbo_psy_midgarda
		icon = GFX_goal_zbo_psy_midgarda
		cost = 5
		prerequisite = {
			focus = zbo_edinstvo_s_malogo
		}
		x = 16
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.51 }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbo_edward_pfaff_small
		}
	}
	focus = {
		id = zbo_likvidirovat_anderyanskyu_tserkov
		icon = GFX_goal_zbo_likvidirovat_anderyanskyu_tserkov
		cost = 3
		prerequisite = {
			focus = zbo_psy_midgarda
		}
		x = 15
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.55 }
		}
	}
	focus = {
		id = zbo_zapretit_katolicheskie_ordena
		icon = GFX_goal_zbo_zapretit_katolicheskie_ordena
		cost = 1
		prerequisite = {
			focus = zbo_psy_midgarda
		}
		x = 17
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_war_support = -0.05
			custom_effect_tooltip = zbo_zapretit_katolicheskie_ordena_tt  
		}
	}
	focus = {
		id = zbo_razdelit_i_vlastvovat
		icon = GFX_goal_zbo_razdelit_i_vlastvovat
		cost = 5
		prerequisite = {
			focus = zbo_likvidirovat_anderyanskyu_tserkov
		}
		x = 14
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.54 }
		}
	}
	focus = {
		id = zbo_istinnoe_hristianstvo
		icon = GFX_goal_zbo_istinnoe_hristianstvo
		cost = 5
		prerequisite = {
			focus = zbo_likvidirovat_anderyanskyu_tserkov
		}
		prerequisite = {
			focus = zbo_zapretit_katolicheskie_ordena
		}
		x = 16
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = bemen.52 }
		}
	}
	focus = {
		id = zbo_loyalnost_armii_midgard
		icon = GFX_goal_zbo_loyalnost_armii_midgard
		cost = 5
		prerequisite = {
			focus = zbo_zapretit_katolicheskie_ordena
		}
		x = 18
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			country_event = { id = bemen.56 }
		}
	}
	focus = {
		id = zbo_bibliya_midgarda
		icon = GFX_goal_zbo_bibliya_midgarda
		cost = 5
		prerequisite = {
			focus = zbo_razdelit_i_vlastvovat
		}
		prerequisite = {
			focus = zbo_istinnoe_hristianstvo
		}
		x = 15
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
			has_government = fascism
		}
		completion_reward = {
			country_event = { id = bemen.57 }
		}
	}
	focus = {
		id = zbo_radiopropovedi
		icon = GFX_goal_zbo_radiopropovedi
		cost = 3
		prerequisite = {
			focus = zbo_istinnoe_hristianstvo
		}
		prerequisite = {
			focus = zbo_loyalnost_armii_midgard
		}
		x = 17
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
			has_government = fascism
		}
		completion_reward = {
			unlock_decision_tooltip = zbo_radiopropovedi_decic
		}
	}
	focus = {
		id = zbo_i_chas_probil
		icon = GFX_goal_zbo_i_chas_probil
		cost = 5
		prerequisite = {
			focus = zbo_radiopropovedi
		}
		prerequisite = {
			focus = zbo_bibliya_midgarda
		}
		x = 16
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
			has_government = fascism
			NOT = {
				has_idea = zbo_loyalnost_armii_midgard_buff
			}
		}
		completion_reward = {
			country_event = { id = bemen.59 }
		}
	}
	focus = {
		id = zbo_podtverjdaiya_edinstvo
		icon = GFX_goal_zbo_podtverjdaiya_edinstvo
		cost = 3
		prerequisite = {
			focus = zbo_i_chas_probil
		}
		x = 16
		y = 22
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
			has_country_flag = zbo_i_chas_probil_flag
			has_government = fascism
		}
		completion_reward = {
			every_state = {
				limit = { 
					is_core_of = XMO
					is_core_of = ZBO
				}
				add_core_of = ZBO			
			}
			add_stability = 0.05
			hidden_effect = {
				set_portraits = {
					character = ZBO_rihhard			
					civilian = { 
						large="gfx/leaders/ZBO/ZBO_Richard_Luxemburg_3.dds"
					}
				}
				add_country_leader_trait = zbo_chtoto_s_kukuhoi_tratt
			}
		}
	}
	focus = {
		id = zbo_zmanya_midgarda
		icon = GFX_goal_zbo_zmanya_midgarda
		cost = 3
		prerequisite = {
			focus = zbo_podtverjdaiya_edinstvo
		}
		x = 16
		y = 23
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = zbo_zmanya_midgarda_buff
			every_other_country = {				
				add_ai_strategy = {
					type = alliance
					id = ZBO
					value = -100
				}
			}
			every_other_country = {
				limit = {						
					capital_scope = {
						is_on_continent = europe
					}
				}
				country_event = { id = bemen.62 }
				add_opinion_modifier = {
					target = ZBO
					modifier = religiozn_protivorej_zbj
				}
			}
		}
	}
	focus = {
		id = zbo_dobrovoltsy_midgarda
		icon = GFX_goal_zbo_dobrovoltsy_midgarda
		cost = 3
		prerequisite = {
			focus = zbo_zmanya_midgarda
		}
		x = 14
		y = 24
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
			has_stability > 0.5
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = zbo_dobrovoltsy_midgarda_tt
			hidden_effect = {
				set_variable = {
					var = zbo_midgard_dobrovoltsy_var
					value = 0   
				}
			}
			country_event = { days = 5 id = bemen.63 }
		}
	}
	focus = {
		id = zbo_kniga_korolya_midgarda
		icon = GFX_goal_zbo_kniga_korolya_midgarda
		cost = 3
		prerequisite = {
			focus = zbo_zmanya_midgarda
		}
		x = 16
		y = 24
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = bemen.65 }
		}
	}
	focus = {
		id = zbo_richard_zavody_1
		icon = GFX_goal_zbo_richard_zavody_1
		cost = 3
		prerequisite = {
			focus = zbo_kniga_korolya_midgarda
		}
		x = 14
		y = 25
		ai_will_do = {
			factor = 5
		}
		available = {			
			
		}
		completion_reward = {
			add_stability = 0.01
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = 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
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zbo_richard_zavody_3
		icon = GFX_goal_zbo_richard_zavody_3
		cost = 3
		prerequisite = {
			focus = zbo_richard_zavody_1
		}
		x = 14
		y = 27
		ai_will_do = {
			factor = 5
		}
		available = {			
			
		}
		completion_reward = {
			add_stability = 0.01
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = 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
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zbo_richard_zavody_2
		icon = GFX_goal_zbo_richard_zavody_2
		cost = 3
		prerequisite = {
			focus = zbo_kniga_korolya_midgarda
		}
		x = 18
		y = 25
		ai_will_do = {
			factor = 5
		}
		available = {			
			
		}
		completion_reward = {
			add_stability = 0.01
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = 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
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zbo_richard_zavody_4
		icon = GFX_goal_zbo_richard_zavody_4
		cost = 3
		prerequisite = {
			focus = zbo_richard_zavody_2
		}
		x = 18
		y = 27
		ai_will_do = {
			factor = 5
		}
		available = {			
			
		}
		completion_reward = {
			add_stability = 0.01
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = 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
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zbo_richard_v_okrujenii_vragov
		icon = GFX_goal_zbo_richard_v_okrujenii_vragov
		cost = 3
		prerequisite = {
			focus = zbo_kniga_korolya_midgarda
		}
		x = 16
		y = 25
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_flag = zbo_kniga_dopisana_flag
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = bemen.97 }
		}
	}
	focus = {
		id = zbo_richard_deti_proroka
		icon = GFX_goal_zbo_richard_deti_proroka
		cost = 3
		prerequisite = {
			focus = zbo_richard_v_okrujenii_vragov
		}
		x = 16
		y = 27
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}
			has_war = yes
		}
		completion_reward = {
			country_event = { id = bemen.100 }
		}
	}
	focus = {
		id = zbo_richard_bronirovannye_frenoviny
		icon = GFX_goal_zbo_richard_bronirovannye_frenoviny
		cost = 3
		prerequisite = {
			focus = zbo_richard_v_okrujenii_vragov
		}
		x = 15
		y = 26
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}			
		}
		completion_reward = {
			add_ideas = zbo_richard_bronirovannye_frenoviny_buff
		}
	}
	focus = {
		id = zbo_richard_pikiryushie_valkirii
		icon = GFX_goal_zbo_richard_pikiryushie_valkirii
		cost = 3
		prerequisite = {
			focus = zbo_richard_v_okrujenii_vragov
		}
		x = 17
		y = 26
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}			
		}
		completion_reward = {
			add_ideas = zbo_richard_pikiryushie_valkirii_buff
		}
	}
	focus = {
		id = zbo_richard_da_slavitsya_midgard
		icon = GFX_goal_zbo_richard_da_slavitsya_midgard
		cost = 3
		prerequisite = {
			focus = zbo_richard_v_okrujenii_vragov
		}
		x = 16
		y = 28
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}				
			has_war = no
			custom_trigger_tooltip = {
				tooltip = zbo_richard_da_slavitsya_midgard_trigg	
				num_of_controlled_states > 39
			}
		}
		completion_reward = {
			custom_effect_tooltip = zbo_richard_da_slavitsya_midgard_tt
			country_event = { id = bemen.101 }
		}
	}
	focus = {
		id = zbo_richard_na_koleni_evropa
		icon = GFX_goal_zbo_richard_na_koleni_evropa
		cost = 12
		prerequisite = {
			focus = zbo_richard_da_slavitsya_midgard
		}
		x = 16
		y = 29
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}	
		}
		completion_reward = {
			custom_effect_tooltip = zbo_richard_na_koleni_evropa_tt
			set_country_flag = zbo_richard_na_koleni_evropa_flag
			
		}
	}
	focus = {
		id = zbo_richard_midgard_do_urala
		icon = GFX_goal_zbo_richard_midgard_do_urala
		cost = 12
		prerequisite = {
			focus = zbo_richard_na_koleni_evropa
		}
		x = 16
		y = 30
		ai_will_do = {
			factor = 5
		}
		available = {			
			has_country_leader = {
				character = ZBO_rihhard
				ruling_only = yes
			}	
		}
		completion_reward = {
			custom_effect_tooltip = zbo_epilogue_3_tt
			hidden_effect = {
				country_event = bemen.153
			}	
			if = {
				limit = {
					ZSL = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZSL					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZSL
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZSL
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZSL
					value = 75
				}
			}
			if = {
				limit = {
					ZPV = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZPV					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZPV
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZPV
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZPV
					value = 75
				}
			}
			if = {
				limit = {
					ZKR = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZKR					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZKR
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZKR
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZKR
					value = 75
				}
			}
			if = {
				limit = {
					ZFU = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZFU					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZFU
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZFU
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZFU
					value = 75
				}
			}
			if = {
				limit = {
					ZBJ = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZBJ					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZBJ
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZBJ
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZBJ
					value = 75
				}
			}
			if = {
				limit = {
					ZML = {
						exists = yes
						NOT = {
							is_in_faction_with = ZBO
							is_subject_of = ZBO
							has_war_with = ZBO
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ZML					
				}
				add_ai_strategy = {
					type = antagonize
					id = ZML
					value = 100
				}
				add_ai_strategy = {
					type = conquer
					id = ZML
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = ZML
					value = 75
				}
			}
			
		}
	}
	focus = {
		id = zbo_stal_dlya_strany
		icon = GFX_goal_zbo_stal_dlya_strany
		cost = 7
		prerequisite = {
			focus = zbo_da_zdravstvuet_valdemar
			focus = zbo_uchrejdenie_konstitutsii
		}
		x = 11
		y = 6
		ai_will_do = {
			factor = 3
		}
		available = {
			controls_state = 67
		}
		completion_reward = {
			add_political_power = 20
			add_resource = {
				type = steel
				amount = 8
				state = 67
			}
			add_resource = {
				type = aluminium
				amount = 3
				state = 67
			}
			add_resource = {
				type = tungsten
				amount = 3
				state = 67
			}
		}
	}
	focus = {
		id = zbo_vabriki_i_zavody
		icon = GFX_goal_zbo_vabriki_i_zavody
		cost = 7
		prerequisite = {
			focus = zbo_da_zdravstvuet_valdemar
			focus = zbo_uchrejdenie_konstitutsii
		}
		x = 13
		y = 6
		ai_will_do = {
			factor = 3
		}
		available = {
			
		}
		completion_reward = {
			add_stability = 0.03
			add_war_support = 0.03
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zbo_korolevski_fond_nauki_i_razvitiya
		icon = GFX_goal_zbo_korolevski_fond_nauki_i_razvitiya
		cost = 7
		prerequisite = {
			focus = zbo_vabriki_i_zavody			
		}
		x = 13
		y = 7
		ai_will_do = {
			factor = 3
		}		
		available = {
			
		}
		completion_reward = {			
			add_ideas = zbo_korolevski_fond_nauki_i_razvitiya_buff
			add_research_slot = 1
		}
	}
	focus = {
		id = zbo_kruger_u_vlasti
		icon = GFX_goal_zbo_kruger_u_vlasti
		cost = 5
		x = 22
		y = 25
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_zbo_rainer_kruger
				ruling_only = yes
			}
			has_country_flag = zbo_kruger_u_vlasti_cf
		}
		allow_branch = {
			has_country_flag = zbo_kruger_u_vlasti_cf
		}
		completion_reward = {
			add_stability = 0.1
			add_war_support = 0.1
			add_manpower = -10000
		}
	}
	focus = {
		id = zbo_tevtonskaya_armiya
		icon = GFX_goal_zbo_tevtonskaya_armiya
		cost = 5
		prerequisite = {
			focus = zbo_kruger_u_vlasti			
		}
		x = 22
		y = 26
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_zbo_rainer_kruger
				ruling_only = yes
			}
		}
		completion_reward = {
			add_ideas = zbo_tevtonskaya_armiya_idea
			remove_ideas = zbo_imperialism_kantakusinov_idea
		}
	}
	focus = {
		id = zbo_kruger_spasitel
		icon = GFX_goal_zbo_kruger_spasitel
		cost = 5
		prerequisite = {
			focus = zbo_tevtonskaya_armiya			
		}
		x = 22
		y = 27
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_zbo_rainer_kruger
				ruling_only = yes
			}
		}
		completion_reward = {
			ZBO_zbo_rainer_kruger = {
				add_country_leader_trait = nadejda_natii_zpa
			}
		}
	}
	focus = {
		id = zbo_promka_rhine
		icon = GFX_goal_zbo_promka_rhine
		cost = 10
		prerequisite = {
			focus = zbo_kruger_spasitel			
		}
		x = 22
		y = 28
		ai_will_do = {
			factor = 5
		}
		available = {
			has_country_leader = {
				character = ZBO_zbo_rainer_kruger
				ruling_only = yes
			}
			ZBO = {
				owns_state = 7
				owns_state = 36
				owns_state = 35
				owns_state = 51
				owns_state = 57
				owns_state = 775
				owns_state = 50
				owns_state = 42
				owns_state = 28
			}
		}
		completion_reward = {
			ZBO = {
				add_ideas = zbo_reinskaya_promka_idea
			}
			7 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			36 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			35 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			51 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			57 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			775 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			50 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			42 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			28 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
}
