focus_tree = {
	id = ZBJ
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZBJ
		}
	}
	default = no
	continuous_focus_position = { x = 60 y = 1650 }
	focus = {
		id = zbj_vozrojdenie_finno_ugorsk_traditsii
		icon = GFX_goal_generic_national_unity
		cost = 10
		x = 6
		y = 0
		ai_will_do = {
			factor = 50
		}
		completion_reward = {
			add_political_power = 80
			add_ideas = zbj_traditsii_naroda
			add_timed_idea = {
				idea = zbj_poojerenie_rojdaemosti
				days = 750
			}
			hidden_effect = {
				214 = {
					add_manpower = 47451
				}
			}
		}
		available = {
			country_exists = ZBJ
		}
	}
	focus = {
		id = zbj_sovet_biarmii
		icon = GFX_goal_zsl_sotsialna_politika_natii
		cost = 10
		prerequisite = {
			focus = zbj_vozrojdenie_finno_ugorsk_traditsii
		}
		x = 6
		y = 1
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.02
			add_ideas = zbj_sovet_biarmii
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbj_political_advisor_3
			hidden_effect = {
				add_manpower = 15210			
			}
		}
		available = {
			is_subject = no
		}
	}
	focus = {
		id = zbj_army_1
		icon = GFX_goal_slavarmref
		cost = 10
		prerequisite = {
			focus = zbj_sovet_biarmii
		}
		x = 2
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zbj_army_chief_1
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zbj_army_chief_2
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zbj_army_chief_3
			hidden_effect = {
				add_manpower = 9578
			}
		}
	}
	focus = {
		id = zbj_medvejy_krai
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zbj_army_1
		}
		x = 0
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zbj_medvedy
			army_experience = 5
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zbj_high_command_1
			hidden_effect = {
				add_manpower = 15210			
			}
		}
	}
	focus = {
		id = zbj_army_factory_1
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zbj_army_1
		}
		x = 2
		y = 3
				ai_will_do = {
						factor = 5
					}

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

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


	}
	focus = {
		id = zbj_army_doktrina
		icon = GFX_goal_generic_army_doctrines
		cost = 10
		prerequisite = {
			focus = zbj_army_factory_1
		}
		x = 2
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zbj_political_advisor_5
						army_experience = 5
						add_doctrine_cost_reduction = {
								name = land_doc_bonus
								cost_reduction = 0.25
								uses = 1
								category = land_doctrine
							}
					}


	}
	focus = {
		id = zbj_patern_leader
		icon = GFX_goal_ar_paternalism_choice
		cost = 10
		prerequisite = {
			focus = zbj_sovet_biarmii
		}
		mutually_exclusive = {
			focus = zbj_neutrality_leader
		}
		x = 4
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			country_event = {
				id = biarmia.1
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbj_political_advisor_1
		}
		available = {
			country_exists = ZBJ
			is_subject = no
		}
	}
	focus = {
		id = zbj_nationalnaya_identichnost
		icon = GFX_goal_generic_propaganda
		cost = 10
		prerequisite = {
			focus = zbj_patern_leader
		}
		x = 4
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zbj_potomki_biarmiitsev
		}
		available = {
			has_government = fascism
			is_subject = no
		}
	}
	focus = {
		id = zbj_ukko_put_1
		icon = GFX_goal_demand_sudetenland
		cost = 10
		prerequisite = {
			focus = zbj_nationalnaya_identichnost
		}
		x = 4
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
			is_subject = no
		}
		completion_reward = {
			add_political_power = 120
			add_stability = 0.02
			add_war_support = 0.05
		}

	}
	focus = {
		id = zbj_nashi_zemli
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = zbj_ukko_put_1
		}
		mutually_exclusive = {
			focus = zbj_vnisnii_put_drujba
		}
		x = 4
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			hidden_effect = {
				news_event = { hours = 3 id = ar_news.889 }
			}
			add_named_threat = { threat = 4 name = zbj_nashi_zemli }
			add_stability = 0.03
			add_war_support = 0.05
		}
		available = {
			is_subject = no
			has_stability > 0.45
			has_war_support > 0.45
			has_army_manpower = {
				size > 35000
			}
		}
	}
	focus = {
		id = zbj_nashi_zemli_na_zapade
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli
		}
		x = 3
		y = 7
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_named_threat = { threat = 4 name = zbj_nashi_zemli_na_zapade }
			add_war_support = 0.03
			add_timed_idea = {
				idea = zbj_anti_zse_buff
				days = 1850
			}
			hidden_effect = {
				add_manpower = 12542
			}
		}
		available = {
			is_subject = no
		}
	}
	focus = {
		id = zbj_strike_to_zfu
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli_na_zapade
		}		
		x = 0
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			country_exists = ZFU
			is_neighbor_of = ZFU			
			NOT = {
				is_in_faction_with = ZFU
			}
			ZFU = {
				NOT = {
					is_subject_of = ZBJ
				}	
			}
		}
		bypass = {
			has_war_with = ZFU
		}
		completion_reward = {
			add_named_threat = { threat = 5 name = zbj_strike_to_zfu }
			every_state = {
				limit = {
					is_core_of = ZFU
					NOT = {
						is_owned_by = ZBJ
					}
				}				
				add_claim_by = ZBJ
			}
			create_wargoal = {
				type = annex_everything
				target = ZFU					
			}
		}
	}
	focus = {
		id = zbj_finno_ugor_yazitchestvo
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zbj_sovet_biarmii
		}
		x = 6
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			country_event = {
				id = biarmia.3
			}
			every_other_country = {
				limit = {
					is_neighbor_of = ZBJ
				}
				country_event = {
					id = biarmia.4
				}
			}
			hidden_effect = {
				add_manpower = 11578
			}
		}
				available = {
						is_subject = no
					}


	}
	focus = {
		id = zbj_ukko_panteon
		icon = GFX_goal_generic_dangerous_deal
		cost = 10
		prerequisite = {
			focus = zbj_finno_ugor_yazitchestvo
		}
		prerequisite = {
			focus = zbj_nationalnaya_identichnost
		}
		mutually_exclusive = {
			focus = zbj_jumala_panteon
		}
		x = 5
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_ideas = zbj_kult_ukko
						custom_effect_tooltip = available_political_advisor
						show_ideas_tooltip = zbj_political_advisor_6
					}

				available = {
						has_government = fascism
					}


	}
	focus = {
		id = zbj_zemli_permi
		icon = GFX_goal_slavvostok
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli
		}
		x = 5
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				controls_state = 262
				controls_state = 397
				controls_state = 784
			}
		}
		completion_reward = {
			add_named_threat = { threat = 3 name = zbj_zemli_permi }
			add_state_claim = 262
			add_state_claim = 397
			add_state_claim = 784
			if = {
				limit = {
					ZPE = {
						controls_state = 262
						controls_state = 397
						controls_state = 784
						NOT = {
							is_subject_of = ZBJ
							has_war_with = ZBJ
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = ZPE
					generator = { 262 379 784 }
				}
			}
			else = {
				262 = {
					owner = {
						ZBJ = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 262 }
							}
						}
					}
				}
			}
		}
	}
	focus = {
		id = zbj_neutrality_leader
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zbj_sovet_biarmii
		}
		mutually_exclusive = {
			focus = zbj_patern_leader
		}
		x = 8
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			country_event = {
				id = biarmia.2
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbj_political_advisor_2
		}
		available = {
			exists = yes
			is_subject = no
		}
	}
	focus = {
		id = zbj_sotrudnichestvo_s_sosedyami
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zbj_neutrality_leader
		}
		x = 8
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			add_political_power = 80
			add_timed_idea = {
				idea = zbj_investory
				days = 460
			}
		}
	}
	focus = {
		id = zbj_jumala_panteon
		icon = GFX_goal_generic_cavalry
		cost = 10
		prerequisite = {
			focus = zbj_finno_ugor_yazitchestvo
		}
		prerequisite = {
			focus = zbj_sotrudnichestvo_s_sosedyami
		}
		mutually_exclusive = {
			focus = zbj_ukko_panteon
		}
		x = 7
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_political_power = 50
						add_ideas = zbj_kult_jumala
					}


	}
	focus = {
		id = zbj_hram_religii
		icon = GFX_goal_generic_fortify_city
		cost = 10
		prerequisite = {
			focus = zbj_jumala_panteon
			focus = zbj_ukko_panteon
		}		
		x = 6
		y = 5
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			custom_effect_tooltip = zbj_hram_religii_tt
			if = {
				limit = {
					has_idea = zbj_kult_ukko
				}
				swap_ideas = {
					remove_idea = zbj_kult_ukko
					add_idea = zbj_kult_ukko_2
				}
				add_stability = 0.05
			}
			if = {
				limit = {
					has_idea = zbj_kult_jumala
				}
				swap_ideas = {
					remove_idea = zbj_kult_jumala
					add_idea = zbj_kult_jumala_2
				}
				add_stability = 0.05
			}
			hidden_effect = {
				add_manpower = 71521	
			}
		}

	}
	focus = {
		id = zbj_diplomatic_put_1
		icon = GFX_goal_generic_dangerous_deal
		cost = 10
		prerequisite = {
			focus = zbj_sotrudnichestvo_s_sosedyami
		}
		x = 8
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 120
		}
	}
	focus = {
		id = zbj_vnisnii_put_drujba
		icon = GFX_goal_generic_improve_relations
		cost = 10
		prerequisite = {
			focus = zbj_diplomatic_put_1
			focus = zbj_ukko_put_1
		}
		mutually_exclusive = {
			focus = zbj_nashi_zemli
		}
		x = 8
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 120
			hidden_effect = {
				add_manpower = 15741
			}
		}		
	}
	focus = {
		id = zbj_slavianik_bratstvo
		icon = GFX_goal_zkr_posolstvo_v_novgorod
		cost = 10
		prerequisite = {
			focus = zbj_vnisnii_put_drujba
		}
		mutually_exclusive = {
			focus = zbj_friend_skandinavia
			focus = zbj_politika_oborony
			focus = zbj_doroga_v_sneg
		}
		x = 9
		y = 7
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 3
				has_government = fascism
			}
		}
		available = {
			is_in_faction = no
			is_subject = no
			country_exists = ZSL
			NOT = {
				has_war_with = ZSL
			}
			ZSL = {
				is_faction_leader = yes
			}
		}
		completion_reward = {
			add_political_power = 120
			ZSL = {
				country_event = { id = biarmia.13 }
			}
		}		
	}
	focus = {
		id = zbj_potrebovat_zemli_u_slavian
		icon = GFX_goal_zsl_support_federat_2
		cost = 10
		prerequisite = {
			focus = zbj_slavianik_bratstvo
		}		
		x = 9
		y = 8
		ai_will_do = {
			factor = 2
		}
		available = {
			is_in_faction = no
			is_subject = no
			country_exists = ZSL
			NOT = {
				has_war_with = ZSL
			}
			ZSL = {
				is_faction_leader = yes
				controls_state = 215 
				controls_state = 216 
			}
		}
		completion_reward = {
			ZSL = {
				country_event = { id = biarmia.14 }
			}
		}
	}
	focus = {
		id = zbj_friend_skandinavia
		icon = GFX_goal_generic_radar
		cost = 10
		prerequisite = {
			focus = zbj_vnisnii_put_drujba
		}
		mutually_exclusive = {
			focus = zbj_politika_oborony
			focus = zbj_slavianik_bratstvo
			focus = zbj_doroga_v_sneg
		}
		x = 7
		y = 7
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 2
				has_opinion = {
					target = ZSE
					value > 10
				}
			}
		}
		completion_reward = {
			ZSE = {
				country_event = {
					days = 2
					id = biarmia.5
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			country_exists = ZSE
			NOT = {
				has_war_with = ZSE
			}
			ZSE = {
				is_faction_leader = yes
				has_opinion = {
					target = ZBJ
					value > 9
				}
			}
		}
	}
	focus = {
		id = zbj_peresmotr_atd
		icon = GFX_goal_slav_razvit_severa
		cost = 10
		prerequisite = {
			focus = zbj_vozrojdenie_finno_ugorsk_traditsii
		}
		x = 10
		y = 1
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.01
			hidden_effect = {
				add_manpower = 22578
			}
			random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						is_in_home_area = yes
					}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
							size > 1
							include_locked = yes
					}
					is_in_home_area = yes
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					is_in_home_area = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}
	focus = {
		id = zbj_flot_1
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 10
		prerequisite = {
			focus = zbj_sovet_biarmii
		}
		x = 10
		y = 2
				ai_will_do = {
						factor = 5
					}

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

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


	}
	focus = {
		id = zbj_traditsii_pomorov
		icon = GFX_goal_generic_navy_battleship
		cost = 10
		prerequisite = {
			focus = zbj_flot_1
		}
		x = 10
		y = 3
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_ideas = zbj_more_traditsii_pomorov
					}


	}
	focus = {
		id = zbj_otvajnye_morehody
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 10
		prerequisite = {
			focus = zbj_traditsii_pomorov
		}
		x = 10
		y = 4
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						army_experience = 5
						navy_experience = 10
						add_ideas = zbj_more_otvajnye_morehody
						custom_effect_tooltip = available_military_high_command
						show_ideas_tooltip = zbj_high_command_5
					}


	}
	focus = {
		id = zba_narabotki_po_flotu
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 10
		prerequisite = {
			focus = zbj_otvajnye_morehody
		}
		x = 10
		y = 5
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
						add_tech_bonus = {
								name = dd_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = dd_tech
							}
						add_tech_bonus = {
								name = cr_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = cl_tech
								category = ca_tech
							}
						add_tech_bonus = {
								name = capital_ships_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = bc_tech
								category = bb_tech
								category = cv_tech
							}
						add_tech_bonus = {
								name = ss_bonus
								bonus = 1.0
								ahead_reduction = 2
								uses = 1
								category = ss_tech
							}
					}


	}
	focus = {
		id = zbj_politika_oborony
		icon = GFX_goal_generic_construct_military
		cost = 10
		prerequisite = {
			focus = zbj_vnisnii_put_drujba
		}
		mutually_exclusive = {
			focus = zbj_friend_skandinavia
			focus = zbj_slavianik_bratstvo
			focus = zbj_doroga_v_sneg
		}
		x = 11
		y = 7
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = zbj_oborona_strany
			custom_effect_tooltip = zbj_politika_oborony_tt 
		}
		available = {
			is_subject = no
			is_in_faction = no
		}
		bypass = {
			is_in_faction = yes
		}
	}
	focus = {
		id = zbj_infra_1
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zbj_vozrojdenie_finno_ugorsk_traditsii
		}
		x = 14
		y = 1
		ai_will_do = {
			factor = 5
		}
				completion_reward = {
					add_stability = 0.02
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = infrastructure
												size > 0
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = infrastructure
																				size > 0
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_building_construction = {
										type = infrastructure
										level = 1
										instant_build = yes
									}
							}
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = infrastructure
												size > 1
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = infrastructure
																				size > 1
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_building_construction = {
										type = infrastructure
										level = 2
										instant_build = yes
									}
							}
					}

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

	}
	focus = {
		id = zbj_promka_1
		icon = GFX_goal_zvz_pronyshennye_kompanii
		cost = 10
		prerequisite = {
			focus = zbj_infra_1
		}
		x = 14
		y = 2
				ai_will_do = {
						factor = 5
					}

				completion_reward = {
					add_stability = 0.02
						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
											}
										is_in_home_area = yes
									}
								add_extra_state_shared_building_slots = 1
							}
					}

				bypass = {
						custom_trigger_tooltip = {
								tooltip = construction_effort_tt
								all_owned_state = {
										free_building_slots = {
												building = industrial_complex
												size < 1
												include_locked = yes
											}
									}
							}
					}
	}
	focus = {
		id = zbj_razvitie_flota_2
		icon = GFX_goal_generic_navy_cruiser
		cost = 10
		prerequisite = {
			focus = zbj_flot_1
		}
		prerequisite = {
			focus = zbj_promka_1
		}
		x = 12
		y = 3
				ai_will_do = {
						factor = 3
					}

				completion_reward = {
						navy_experience = 25
						if = {
								limit = {
										NOT = {
												has_country_flag = naval_effort_built
											}
										NOT = {
												any_owned_state = {
														free_building_slots = {
																building = dockyard
																size > 1
																include_locked = yes
															}
													}
											}
									}
								random_state = {
										limit = {
												controller = {
														tag = ROOT
													}
												free_building_slots = {
														building = dockyard
														size > 1
														include_locked = yes
													}
											}
										add_extra_state_shared_building_slots = 2
										add_building_construction = {
												type = dockyard
												level = 2
												instant_build = yes
											}
									}
							}
					}

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


	}
	focus = {
		id = zbj_promka_2
		icon = GFX_goal_zpa_bufff_stroika
		cost = 10
		prerequisite = {
			focus = zbj_promka_1
		}
		x = 14
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = industrial_complex
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = industrial_complex
										level = 1
										instant_build = yes
									}
							}
					}

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


	}
	focus = {
		id = zbj_razvitie_mashinostroeniya
		icon = GFX_goal_slav_konveer
		cost = 10
		prerequisite = {
			focus = zbj_promka_2
		}
		x = 14
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = industrial_complex
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = industrial_complex
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = industrial_complex
										level = 1
										instant_build = yes
									}
							}
					}

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


	}
	focus = {
		id = zbj_kolba_1
		icon = GFX_goal_zor_kazan_universitet
		cost = 10
		prerequisite = {
			focus = zbj_razvitie_mashinostroeniya
		}
		x = 14
		y = 5
		ai_will_do = {
			factor = 7
		}
		completion_reward = {
			add_stability = 0.02
			add_research_slot = 1
		}
		available = {
			amount_research_slots < 4
		}
	}
	focus = {
		id = zbj_avto_narabotki
		icon = GFX_goal_generic_army_motorized
		cost = 10
		prerequisite = {
			focus = zbj_razvitie_mashinostroeniya
		}
		x = 12
		y = 5
				ai_will_do = {
						factor = 5
					}

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

				bypass = {
						has_tech = motorised_infantry
					}


	}
	focus = {
		id = zbj_jeleznye_dorogy
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = zbj_razvitie_mashinostroeniya
		}
		x = 16
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
					hidden_effect = {
						add_manpower = 15210			
					}
						add_resource = {
								type = aluminium
								amount = 5
								state = 214
							}
					}

				available = {
						controls_state = 214
					}


	}
	focus = {
		id = zbj_transport_v_armii
		icon = GFX_goal_per_motor1
		cost = 10
		prerequisite = {
			focus = zbj_avto_narabotki
		}
		prerequisite = {
			focus = zbj_jeleznye_dorogy
		}
		x = 14
		y = 6
		ai_will_do = {
			factor = 6
		}
		completion_reward = {
			add_ideas = zbj_vezdehody
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zbj_high_command_4
		}
	}
	focus = {
		id = zbj_elektronika
		icon = GFX_goal_generic_radar
		cost = 10
		prerequisite = {
			focus = zbj_promka_1
		}
		x = 16
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
					bonus = 1.0
					uses = 4
					category = electronics
					category = industry
			}
		}
	}
	focus = {
		id = zbj_kolba_2
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = zbj_elektronika
		}
		x = 16
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_stability = 0.02
			add_research_slot = 1
			hidden_effect = {
				add_manpower = 15210			
			}
		}
		available = {
			num_of_factories > 15
			amount_research_slots < 4
		}
	}
	focus = {
		id = zbj_army_dop_fabrika_1
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = zbj_jeleznye_dorogy
		}
		x = 16
		y = 6
				ai_will_do = {
						factor = 4
					}

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

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


	}
	focus = {
		id = zbj_aviatsiya_1
		icon = GFX_goal_generic_air_fighter2
		cost = 10
		prerequisite = {
			focus = zbj_promka_1
		}
		x = 18
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			air_experience = 25
			if = {
								limit = {
										capital_scope = {
												NOT = {
														free_building_slots = {
																building = air_base
																size > 1
															}
													}
											}
									}
								random_owned_controlled_state = {
										limit = {
												free_building_slots = {
														building = air_base
														size > 1
													}
											}
										add_building_construction = {
												type = air_base
												level = 2
												instant_build = yes
											}
									}
							}
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = zbj_aviashkoly_1
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zbj_aviatsiya_1
		}
		x = 18
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.01
			air_experience = 20
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = air_doctrine
			}
		}

	}
	focus = {
		id = zbj_istrebiteli_1
		icon = GFX_goal_generic_air_fighter
		cost = 10
		prerequisite = {
			focus = zbj_aviashkoly_1
		}
		x = 18
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.01
			air_experience = 20
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 1.0
				uses = 2
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
				technology = heavy_fighter1
				technology = heavy_fighter2
				technology = heavy_fighter3
			}
		}
	}
	focus = {
		id = zbj_allianse_with_skandinavia
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 10
		prerequisite = {
			focus = zbj_friend_skandinavia
		}
		mutually_exclusive = {
			focus = zbj_skrike_zse
		}
		x = 7
		y = 9
		ai_will_do = {
			factor = 5
		}
		completion_reward = {			
			ZSE = {
				country_event = {
					id = ar_political.509
				}
			}						
		}
		available = {
			is_subject = no
			is_in_faction = no
			country_exists = ZSE
			NOT = {
				has_war_with = ZSE
			}
			ZSE = {							
				is_faction_leader = yes									
				has_opinion = {
					target = ZBJ
					value > 14
				}
			}
		}
		bypass = {
			is_in_faction_with = ZSE
		}
	}
	focus = {
		id = zbj_army_snaryaga_1
		icon = GFX_goal_generic_army_artillery
		cost = 10
		prerequisite = {
			focus = zbj_medvejy_krai
		}
		x = 0
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = infantry_artillery_bonus
				bonus = 1.0
				uses = 1
				category = infantry_weapons
				category = artillery
			}
			hidden_effect = {
				add_manpower = 15210			
			}
		}


	}
	focus = {
		id = zbj_voennoe_rukovodstvo
		icon = GFX_goal_generic_construct_military
		cost = 10
		prerequisite = {
			focus = zbj_army_doktrina
		}
		prerequisite = {
			focus = zbj_army_snaryaga_1
		}
		x = 1
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_ideas = zbj_ofitsery_ofitsery_veshe_serdtse_pod
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zbj_political_advisor_7
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zbj_high_command_2
			if = {
				limit = {
					has_idea = zbj_debuff_armii
				}
				remove_ideas = zbj_debuff_armii
			}
		}
	}
	focus = {
		id = zbj_mass_army_3
		icon = GFX_goal_slavuchenia
		cost = 10
		prerequisite = {
			focus = zbj_voennoe_rukovodstvo
		}
		x = 1
		y = 6
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			army_experience = 5
			add_ideas = zbj_mass_army_sewer
			hidden_effect = {
				add_manpower = 8564
			}
		}
	}	
	focus = {
		id = zbj_nation_zfu
		icon = GFX_goal_generic_allies_build_infantry
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli_na_zapade
		}
		x = 2
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				country_exists = ZFU
			}
			controls_state = 150 
			controls_state = 149 
			controls_state = 147 
		}
		completion_reward = {
			add_named_threat = { threat = 2 name = zbj_nation_zfu }
			150 = { add_core_of = ZBJ }
			149 = { add_core_of = ZBJ }
			147 = { add_core_of = ZBJ }
			if = {
				limit = {
					controls_state = 213 
				}
				213 = { add_core_of = ZBJ }
			}
			if = {
				limit = {
					controls_state = 148 
				}
				148 = { add_core_of = ZBJ }
			}
		}
	}
	focus = {
		id = zbj_skrike_slaviki
		icon = GFX_goal_zkr_strike_to_slaviki
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli_na_zapade			
		}		
		x = 4
		y = 8
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 3
				has_war = no
				ZSL = {
					has_war = yes
				}
			}
		}
		available = {
			exists = yes
			ZSL = {
				NOT = {
					is_subject_of = ZBJ
				}	
			}
			NOT = {
				is_in_faction_with = ZSL
				controls_state = 215
				controls_state = 216
				controls_state = 146
				controls_state = 111
			}
		}
		bypass = {
			has_war_with = ZSL
		}
		completion_reward = {
			add_state_claim = 215
			add_state_claim = 216
			add_state_claim = 146
			add_state_claim = 111
			if = {
				limit = {
					ZSL = {
						controls_state = 215
					}
				}
				add_ai_strategy = {
					type = conquer
					id = "ZSL"
					value = 100
				}
				create_wargoal = {
					type = take_state_focus
					target = ZSL
					generator = { 215 216 146 }
				}
			}			
			add_named_threat = { threat = 6 name = zbj_skrike_slaviki }
		}

	}
	focus = {
		id = zbj_skrike_zse
		icon = GFX_goal_generic_attack_allies
		cost = 10
		prerequisite = {
			focus = zbj_nashi_zemli_na_zapade			
		}
		mutually_exclusive = {
			focus = zbj_allianse_with_skandinavia
		}
		x = 3
		y = 9
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		available = {
			exists = yes
			ZSE = {
				NOT = {
					is_subject_of = ZBJ
				}	
			}
			NOT = {
				is_in_faction_with = ZSE
			}
		}
		bypass = {
			has_war_with = ZSE
		}
		completion_reward = {
			every_state = {
				limit = {
					is_core_of = ZSE
					NOT = {
						is_owned_by = ZBJ
					}
				}				
				add_claim_by = ZBJ
			}
			add_ai_strategy = {
				type = conquer
				id = "ZSE"
				value = 200
			}
			create_wargoal = {
				type = annex_everything
				target = ZSE					
			}
			add_named_threat = { threat = 6 name = zbj_skrike_zse }
			hidden_effect = {
				add_manpower = 15210			
			}
		}

	}
	focus = {
		id = zbj_nation_zemli_zse
		icon = GFX_focus_generic_military_academy
		cost = 10
		prerequisite = {
			focus = zbj_skrike_zse			
		}		
		x = 3
		y = 10
		ai_will_do = {
			factor = 10			
		}
		available = {
			NOT = {
				country_exists = ZSE
			}
			controls_state = 141 
			controls_state = 38
			controls_state = 666 			
		}		
		completion_reward = {
			add_stability = -0.05
			add_war_support = -0.05
			add_political_power = 80
			every_state = {
				limit = {
					is_core_of = ZSE					
				}				
				add_core_of = ZBJ
			}			
			add_named_threat = { threat = 6 name = zbj_nation_zemli_zse }
		}

	}
	focus = {
		id = zbj_army_dop_zavod_1
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zbj_avto_narabotki
		}
		x = 12
		y = 6
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			random_owned_controlled_state = {
					limit = {
										free_building_slots = {
												building = arms_factory
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = arms_factory
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = arms_factory
										level = 1
										instant_build = yes
									}
							}
						random_owned_controlled_state = {
								limit = {
										free_building_slots = {
												building = arms_factory
												size > 0
												include_locked = yes
											}
										OR = {
												is_in_home_area = yes
												NOT = {
														owner = {
																any_owned_state = {
																		free_building_slots = {
																				building = arms_factory
																				size > 0
																				include_locked = yes
																			}
																		is_in_home_area = yes
																	}
															}
													}
											}
									}
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
										type = arms_factory
										level = 1
										instant_build = yes
									}
							}
					}

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


	}
	focus = {
		id = zbj_bombery_1
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = zbj_aviashkoly_1
		}
		x = 20
		y = 5
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.01
			air_experience = 10	
			add_tech_bonus = {
				name = CAS_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = cas_bomber
			}
		}
	}
	focus = {
		id = zbj_maximum_nashei_oborony
		icon = GFX_goal_generic_fortify_city
		cost = 10		
		prerequisite = {
			focus = zbj_politika_oborony
		}
		x = 11
		y = 8
		ai_will_do = {
			factor = 5
		}
		complete_tooltip = {
			add_war_support = 0.03
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		completion_reward = {
			add_war_support = 0.03
			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 = zbj_new_slot_exp
		icon = GFX_goal_generic_construct_civilian
		cost = 10
		prerequisite = {
			focus = zbj_vozrojdenie_finno_ugorsk_traditsii
		}
		x = 20
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			num_of_controlled_states > 6
		}
		complete_tooltip = {
			add_stability = 0.03
			add_extra_state_shared_building_slots = 5			
		}
		completion_reward = {
			add_stability = 0.03
			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				
			}
			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				
			}
			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				
			}
			hidden_effect = {
				add_manpower = 15210			
			}
		}
	
	}	
	focus = {
		id = zbj_new_slot_exp_2
		icon = GFX_goal_generic_army_doctrines
		cost = 10
		prerequisite = {
			focus = zbj_new_slot_exp
		}
		x = 19
		y = 2
		ai_will_do = {
			factor = 10
		}
		available = {
			num_of_controlled_states > 18
		}
		complete_tooltip = {
			country_event = { id = biarmia.17 }
			unlock_decision_tooltip = form_hyperboreya_kingdom
			add_stability = 0.03
			add_extra_state_shared_building_slots = 5			
		}
		completion_reward = {
			country_event = { id = biarmia.17 }
			unlock_decision_tooltip = form_hyperboreya_kingdom
			add_stability = 0.03
			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				
			}
			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				
			}
			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				
			}
		}
	
	}
	focus = {
		id = zbj_new_slot_exp_3
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = zbj_new_slot_exp
		}
		x = 21
		y = 2
		ai_will_do = {
			factor = 9
		}	
		complete_tooltip = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}			
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			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 = zbj_new_slot_exp_4
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zbj_new_slot_exp
		}
		x = 23
		y = 2
		ai_will_do = {
			factor = 9
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			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 = zbj_new_slot_exp_5
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zbj_new_slot_exp_3
			focus = zbj_new_slot_exp_4
		}
		x = 22
		y = 3
		ai_will_do = {
			factor = 9
		}
		complete_tooltip = {
			add_stability = 0.02
			add_war_support = 0.02
			add_extra_state_shared_building_slots = 5
			add_building_construction = {
				type = arms_factory
				level = 3
				instant_build = yes
			}
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}

		completion_reward = {
			add_stability = 0.02
			add_war_support = 0.02
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = 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 = zbj_politika_voennyh_blocov
		icon = GFX_goal_generic_improve_relations
		cost = 10
		prerequisite = {
			focus = zbj_vnisnii_put_drujba		
		}
		x = 8
		y = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_in_faction = yes
		}
		completion_reward = {
			army_experience = 5
			navy_experience = 20
			air_experience = 10
			add_war_support = 0.03
		}		
	}	
	focus = {
		id = zbj_my_v_egida
		icon = GFX_goal_zvz_bolshaya_konferentsiya_armii
		cost = 10
		prerequisite = {
			focus = zbj_politika_voennyh_blocov		
		}
		x = 9
		y = 11
		ai_will_do = {
			factor = 7
		}
		available = {
			is_in_faction_with = ZVZ
			ZVZ = {
				has_government = democratic
			}
		}
		completion_reward = {
			army_experience = 5
			add_timed_idea = {
				idea = zbj_sotrudn_s_romeyami
				days = 1000
			}
		}		
	}
	focus = {
		id = zbj_my_s_skandinav
		icon = GFX_goal_zvz_bolshaya_konferentsiya_armii
		cost = 10
		prerequisite = {
			focus = zbj_politika_voennyh_blocov		
		}
		x = 7
		y = 11
		ai_will_do = {
			factor = 7
		}
		available = {
			is_in_faction_with = ZSE			
		}
		completion_reward = {
			army_experience = 5
			navy_experience = 50
			add_timed_idea = {
				idea = zbj_skandin_sotr
				days = 1000
			}
		}		
	}
	focus = {
		id = zbj_obmen_voennym_opytom
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zbj_politika_voennyh_blocov		
		}
		x = 8
		y = 12
		ai_will_do = {
			factor = 7
		}
		available = {
			is_in_faction = yes
			num_faction_members > 4
		}
		completion_reward = {
			army_experience = 15
			navy_experience = 50
			air_experience = 10		
			add_stability = 0.02
			add_war_support = 0.05			
		}		
	}
	focus = {
		id = zbj_doroga_v_sneg
		icon = GFX_goal_continuous_increase_nu
		cost = 10
		prerequisite = {
			focus = zbj_vnisnii_put_drujba		
		}
		mutually_exclusive = {
			focus = zbj_friend_skandinavia
			focus = zbj_slavianik_bratstvo
			focus = zbj_politika_oborony			
		}
		x = 13
		y = 7
		ai_will_do = {
			factor = 8
		}
		available = {
			is_in_faction = no
			is_subject = no
			has_added_tension_amount < 15
			ZRI = {
				has_government = democratic
				is_faction_leader = yes
			}
		}
		completion_reward = {
			ZRI = {
				country_event = { id = biarmia.18 }
				custom_effect_tooltip = needs_approval
			}			
		}		
	}
	focus = {
		id = zbj_my_v_sneg
		icon = GFX_goal_zsl_operativny_shtab_vostok_vologda
		cost = 10
		prerequisite = {
			focus = zbj_doroga_v_sneg		
		}
		x = 13
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_in_faction_with = ZRI
			ZRI = {
				has_government = democratic
			}
		}
		completion_reward = {
			add_ideas = zbj_stab_sneg
		}		
	}		
}
