focus_tree = {
	id = ZAR
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ZAR
		}
	}
	default = no
	continuous_focus_position = { x = 100 y = 1070 }	
	focus = {
		id = zar_sultan_1
		icon = GFX_goal_zar_sultan_1
		cost = 1
		x = 13
		y = 0
		ai_will_do = {
			factor = 12
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.5 }
		}
	}
	focus = {
		id = zar_armiya_aravii_1
		icon = GFX_goal_zar_armiya_aravii_1
		cost = 7
		x = 3
		y = 0
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 7
			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 = zar_flot_dlya_ohrany
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 15
		x = 20
		y = 0
		ai_will_do = {
			factor = 3
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		complete_tooltip = {
			navy_experience = 25
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = dockyard
				level = 3
				instant_build = yes
			}
		}		
		completion_reward = {
			navy_experience = 25
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							dockyard > 0
							free_building_slots = {
								building = dockyard
								size > 2
								include_locked = yes
							}
						}
					}
					any_owned_state = {
						is_coastal = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
				set_country_flag = naval_effort_built
			}
			if = {
				limit = {
					NOT = { has_country_flag = naval_effort_built }
					any_owned_state = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
				set_country_flag = naval_effort_built
			}
			if = {
				limit = {
					NOT = { has_country_flag = naval_effort_built }
					NOT = {
						any_owned_state = {
							free_building_slots = {
								building = dockyard
								size > 2
								include_locked = yes
							}
						}
					}
				}
				random_state = {
					limit = {
						controller = { tag = ROOT }
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
			}			
		}
	}
	focus = {
		id = zar_budushee_za_aviatsiyei
		icon = GFX_goal_generic_air_bomber
		cost = 10
		x = 23
		y = 0
		ai_will_do = {
			factor = 5
		}
		complete_tooltip = {
			air_experience = 25
			if = { limit = { has_country_flag = aviation_effort_AB }
				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
			}			
		}
		completion_reward = {
			air_experience = 25
			if = {
				limit = {
					capital_scope = {
						NOT = {
							free_building_slots = {
								building = air_base
								size > 1
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
					ROOT = { set_country_flag = aviation_effort_AB }
				}
			}
			if = {
				limit = {
					capital_scope = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
				}
				capital_scope = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
					ROOT = { set_country_flag = aviation_effort_AB }
				}
			}
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.25
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = zar_slojnosti_religii_i_nauki
		icon = GFX_goal_zar_slojnosti_religii_i_nauki
		cost = 5
		x = 8
		y = 0
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = -0.07
			add_political_power = 90
		}
	}
	focus = {
		id = zar_komplektovanie_kavalerii
		icon = GFX_goal_zar_komplektovanie_kavalerii
		cost = 10
		prerequisite = {
			focus = zar_armiya_aravii_1
		}
		x = 0
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_araviiskaya_kavaleria_buff
			army_experience = 3
		}
	}
	focus = {
		id = zar_motorizatsiya_1
		icon = GFX_goal_zar_motorizatsiya_1
		cost = 10
		prerequisite = {
			focus = zar_komplektovanie_kavalerii
		}
		x = 0
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		bypass = { has_tech = motorised_infantry }
		completion_reward = {
			army_experience = 10
			add_war_support = 0.01
			add_tech_bonus = {
				name = motorized_bonus
				bonus = 3.0
				technology = motorised_infantry
			}
		}
	}
	focus = {
		id = zar_dorogi_dlya_mototransporta
		icon = GFX_goal_zar_dorogi_dlya_mototransporta
		cost = 10
		prerequisite = {
			focus = zar_motorizatsiya_1
		}
		x = 0
		y = 3
		ai_will_do = {
			factor = 5
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {			
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}
		complete_tooltip = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 1
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zar_bonus_k_mashinam
		icon = GFX_goal_continuous_repairments
		cost = 10
		prerequisite = {
			focus = zar_dorogi_dlya_mototransporta
		}
		x = 0
		y = 4
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_ideas = zar_bust_na_mashinki_buff			
		}
	}
	focus = {
		id = zar_podgotovka_voinov
		icon = GFX_goal_zar_podgotovka_voinov
		cost = 10
		prerequisite = {
			focus = zar_armiya_aravii_1
		}
		x = 3
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_podgotovka_voinov_buff
		}
	}
	focus = {
		id = zar_prof_armiya_1
		icon = GFX_goal_zar_prof_armiya_1
		cost = 10
		prerequisite = {
			focus = zar_podgotovka_voinov
		}
		mutually_exclusive = {
			focus = zar_mass_armiya_1
		}
		x = 2
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 10
			add_ideas = ar_professarmy			
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarmy
					}
					remove_ideas = ar_massarmy
				}
			}
		}
	}
	focus = {
		id = zar_prof_armiya_2
		icon = GFX_goal_zar_prof_armiya_2
		cost = 10
		prerequisite = {
			focus = zar_prof_armiya_1
		}
		x = 2
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 5
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					swap_ideas = {
						remove_idea = ar_professarmy
						add_idea = ar_shkolaofficerov
					}
					else = {
						add_ideas = ar_shkolaofficerov
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_shkolaofficerov
		}
	}
	focus = {
		id = zar_prof_armiya_3
		icon = GFX_goal_zar_prof_armiya_3
		cost = 10
		prerequisite = {
			focus = zar_prof_armiya_2
		}
		x = 2
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_shkolaofficerov
					}
					swap_ideas = {
						remove_idea = ar_shkolaofficerov
						add_idea = ar_elitnayaarmiya
					}
					else = {
						add_ideas = ar_elitnayaarmiya
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_elitnayaarmiya
		}
	}
	focus = {
		id = zar_mass_armiya_1
		icon = GFX_goal_zar_mass_armiya_1
		cost = 10
		prerequisite = {
			focus = zar_podgotovka_voinov
		}
		mutually_exclusive = {
			focus = zar_prof_armiya_1
		}
		x = 4
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 15
			add_ideas = ar_massarmy			
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_professarmy
					}
					remove_ideas = ar_professarmy
				}
			}
		}
	}
	focus = {
		id = zar_mass_armiya_2
		icon = GFX_goal_zar_mass_armiya_2
		cost = 10
		prerequisite = {
			focus = zar_mass_armiya_1
		}
		x = 4
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 10
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarmy
					}
					swap_ideas = {
						remove_idea = ar_massarmy
						add_idea = ar_massarm2
					}
					else = {
						add_ideas = ar_massarm2
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_massarm2
		}
	}
	focus = {
		id = zar_mass_armiya_3
		icon = GFX_goal_zar_mass_armiya_3
		cost = 10
		prerequisite = {
			focus = zar_mass_armiya_2
		}
		x = 4
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			army_experience = 10
			hidden_effect = {
				if = {
					limit = {
						has_idea = ar_massarm2
					}
					swap_ideas = {
						remove_idea = ar_massarm2
						add_idea = ar_massweaponrifles
					}
					else = {
						add_ideas = ar_massweaponrifles
					}
				}
			}
			custom_effect_tooltip = nasha_armiya_stala_kryche
			show_ideas_tooltip = ar_massweaponrifles
		}
	}
	focus = {
		id = zar_shtab_1
		icon = GFX_goal_zar_shtab_1
		cost = 10
		prerequisite = {
			focus = zar_mass_armiya_3
			focus = zar_prof_armiya_3
		}
		x = 3
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_shtab_buff
			army_experience = 3
		}
	}
	focus = {
		id = zar_logistika_1
		icon = GFX_goal_zar_logistika_1
		cost = 10
		prerequisite = {
			focus = zar_shtab_1			
		}
		x = 3
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_logistika_buff
			army_experience = 3
		}
	}
	focus = {
		id = zar_voennye_fabriki_1
		icon = GFX_goal_zar_voennye_fabriki_1
		cost = 10
		prerequisite = {
			focus = zar_armiya_aravii_1
		}
		x = 6
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_war_support = 0.02
			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 = zar_voenn_fabriki_2
		icon = GFX_goal_zar_voenn_fabriki_2
		cost = 10
		prerequisite = {
			focus = zar_voennye_fabriki_1
		}
		x = 6
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_war_support = 0.02
			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
				}
			}
			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 = zar_izuchenie_mashinostroeniya
		icon = GFX_goal_generic_production
		cost = 10
		prerequisite = {
			focus = zar_slojnosti_religii_i_nauki
		}
		x = 8
		y = 1
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 2
				category = industry
			}
		}
	}
	focus = {
		id = zar_promyshlennost_1
		icon = GFX_goal_zar_promyshlennost_1
		cost = 7
		prerequisite = {
			focus = zar_izuchenie_mashinostroeniya
		}
		x = 7
		y = 3
		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
					}					
				}
			}
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 1
			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
				}
			}
		}
	}	
	focus = {
		id = zar_promka_2
		icon = GFX_goal_zar_promka_2
		cost = 5
		prerequisite = {
			focus = zar_promyshlennost_1
		}
		x = 6
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zar_gosstroika_buff
				days = 600
			}
		}
	}
	focus = {
		id = zar_neftedobucha_1
		icon = GFX_goal_generic_oil_refinery
		cost = 10
		prerequisite = {
			focus = zar_promyshlennost_1
		}
		x = 7
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			controls_state = 293 
			controls_state = 787 
		}
		completion_reward = {
			add_resource = {
				type = oil
				amount = 20
				state = 293
			}
			add_resource = {
				type = oil
				amount = 18
				state = 787
			}
		}
	}
	focus = {
		id = zar_neftedobucha_2
		icon = GFX_goal_tfv_generic_tech_sharing
		cost = 10
		prerequisite = {
			focus = zar_neftedobucha_1
		}
		x = 7
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			 
		}
		completion_reward = {
			add_ideas = zar_neftepererabotka_buff
		}
	}
	focus = {
		id = zar_priobretenie_elektroniki
		icon = GFX_goal_zar_priobretenie_elektroniki
		cost = 10
		prerequisite = {
			focus = zar_izuchenie_mashinostroeniya
		}
		x = 9
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_tech_bonus = {
				name = zar_priobretenie_elektroniki
				bonus = 1.0
				uses = 3
				category = electronics				
			}
		}
	}
	focus = {
		id = zar_kolba_1
		icon = GFX_goal_ar_bost_kolba
		cost = 10
		prerequisite = {
			focus = zar_priobretenie_elektroniki
		}
		prerequisite = {
			focus = zar_promyshlennost_1
		}
		x = 8
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_research_slot = 1
		}
	}
	focus = {
		id = zar_kolba_2
		icon = GFX_goal_zar_kolba_2
		cost = 10
		prerequisite = {
			focus = zar_kolba_1
		}
		x = 8
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			num_of_factories > 38
		}
		completion_reward = {
			add_research_slot = 1
		}
	}
	focus = {
		id = zar_rodstvenniki_u_vlasti
		icon = GFX_goal_zar_rodstvenniki_u_vlasti
		cost = 2
		prerequisite = {
			focus = zar_sultan_1
		}
		x = 13
		y = 1
		ai_will_do = {
			factor = 7
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.6 }
		}
	}
	focus = {
		id = zar_oslablenie_polojeniya_sultana
		icon = GFX_goal_generic_more_territorial_claims
		cost = 2
		prerequisite = {
			focus = zar_rodstvenniki_u_vlasti
		}
		mutually_exclusive = {
			focus = zar_ukreplenie_vlasti
		}
		x = 11
		y = 2
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 50
				OR = {
					has_game_rule = {
						rule = ZAR_ai_behavior
						option = ZAR_GENERALY_RUL
					}
					has_game_rule = {
						rule = ZAR_ai_behavior
						option = ZAR_IMAMY_RUL
					}
					has_game_rule = {
						rule = ZAR_ai_behavior
						option = ZAR_SENAT_RUL
					}
					has_game_rule = {
						rule = ZAR_ai_behavior
						option = ZAR_ASSASIN_RUL
					}
					has_game_rule = {
						rule = ZAR_ai_behavior
						option = ZAR_MAMINA_RADOST_RUL
					}
				}
			}
		}
		available = {
			
		}
		completion_reward = {
			country_event = { id = arabia.17 }
		}
	}
	focus = {
		id = zar_rodstvenniki_u_vlasti_2
		icon = GFX_goal_generic_dangerous_deal
		cost = 2
		prerequisite = {
			focus = zar_oslablenie_polojeniya_sultana
		}
		x = 11
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.18 }
		}
	}
	focus = {
		id = zar_sluhi_o_sultane
		icon = GFX_goal_generic_propaganda
		cost = 2
		prerequisite = {
			focus = zar_rodstvenniki_u_vlasti_2
		}
		x = 11
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.19 }
		}
	}
	focus = {
		id = zar_tainy_zagovor
		icon = GFX_goal_generic_cavalry
		cost = 5
		prerequisite = {
			focus = zar_sluhi_o_sultane
		}
		x = 11
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = zar_support_anti_dinastia_flag
				}
				country_event = { id = arabia.20 }
			}
			else = {
				country_event = { id = arabia.29 }
			}
		}
	}	
	focus = {
		id = zar_sultana_bolshe_net
		icon = GFX_goal_generic_CAS
		cost = 2
		prerequisite = {
			focus = zar_tainy_zagovor			
		}		
		x = 11
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = zar_sultana_bolshe_net_trig_tt		
				OR = {
					has_country_flag = zar_support_anti_dinastia_flag
					has_country_flag = zar_khuofes_dinastia_flag
					has_country_flag = zar_airplane_dinastia_flag
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = zar_support_anti_dinastia_flag
				}
				country_event = { id = arabia.21 }
			}
			else_if = {
				limit = {
					has_country_flag = zar_khuofes_dinastia_flag
				}
				country_event = { id = arabia.47 }	# еврейские вперед
			}
			else_if = {
				limit = {
					has_country_flag = zar_airplane_dinastia_flag
				}
				country_event = { id = arabia.49 }	# самолёт
			}
			else = {
				custom_effect_tooltip = zar_sultana_bolshe_net_tt
			}
		}
	}
	focus = {
		id = zar_sovet_voennyh_u_vlasti
		icon = GFX_goal_generic_axis_build_infantry
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 1
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			add_war_support = 0.01
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_3
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_11
		}
	}
	focus = {
		id = zar_sovet_voennyh_oboronnaya_strategia
		icon = GFX_goal_generic_military_sphere
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_u_vlasti
		}
		mutually_exclusive = {
			focus = zar_sovet_voennyh_atakovaya_strategia
		}
		x = 2
		y = 12
		ai_will_do = {
			factor = 3
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = zar_voen_oborona_buff
		}
	}
	focus = {
		id = zar_sovet_voennyh_srajeniya_na_rodnoi_zemle
		icon = GFX_goal_fortify_the_westwall
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_oboronnaya_strategia
		}		
		x = 3
		y = 13
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_war_support = 0.1
			swap_ideas = {
				remove_idea = zar_voen_oborona_buff
				add_idea = zar_voen_oborona_2_buff
			}			
		}
	}
	focus = {
		id = zar_sovet_voennyh_atakovaya_strategia
		icon = GFX_goal_generic_axis_build_infantry
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_u_vlasti
		}
		mutually_exclusive = {
			focus = zar_sovet_voennyh_oboronnaya_strategia
		}
		x = 0
		y = 12
		ai_will_do = {
			factor = 15
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = zar_voen_atakavaya_buff
		}
	}
	focus = {
		id = zar_sovet_voennyh_zakon_voennogo_vremeni
		icon = GFX_goal_fortify_the_westwall
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_oboronnaya_strategia
			focus = zar_sovet_voennyh_atakovaya_strategia
		}		
		x = 1
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = ar_zakon_o_voenn_vremeni_patern
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_8
			if = {
				limit = {
					has_idea = zar_araviisk_kabala
				}
				remove_ideas = zar_araviisk_kabala
			}
			hidden_effect = {
				random_list = {
					75 = {
						country_event = { days = 25 id = arabia.43 }
					}
					25 ={
					
					}
				}
			}
		}
	}
	focus = {
		id = zar_sovet_voennyh_politsia
		icon = GFX_goal_rhineland
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_zakon_voennogo_vremeni			
		}		
		x = 1
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = zar_voen_politsia_buff
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zar_army_chief_4
		}
	}
	focus = {
		id = zar_sovet_voennyh_ofitsersky_sostav
		icon = GFX_focus_generic_manpower
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_politsia			
		}		
		x = 1
		y = 15
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			add_ideas = zar_sovet_voennyh_ofitsersky_sostav_buff
		}
	}	
	focus = {
		id = zar_sovet_voennyh_voen_zavody
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_zakon_voennogo_vremeni			
		}		
		x = 3
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 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 > 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 = zar_voen_zavody_militarizatsiya
		icon = GFX_focus_generic_license_production
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_voen_zavody	
			focus = zar_sovet_imamov_pravednoe_voisko	
		}		
		x = 3
		y = 15
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = fascism
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 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 > 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 = zar_milkie_zavody
		icon = GFX_goal_generic_military_sphere
		cost = 5
		prerequisite = {
			focus = zar_sovet_voennyh_ofitsersky_sostav
			focus = zar_voen_zavody_militarizatsiya
		}		
		x = 2
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}		
		completion_reward = {			
			add_offsite_building = { type = arms_factory level = 3 }
		}
	}
	###
	focus = {
		id = zar_sovet_imamov_u_vlasti
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 5
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			add_war_support = 0.01
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_12
		}
	}
	focus = {
		id = zar_sovet_imamov_souz_s_armiei
		icon = GFX_focus_generic_military_mission
		cost = 10
		prerequisite = {
			focus = zar_sovet_imamov_u_vlasti
		}
		x = 5
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			army_experience = 5
			add_political_power = 30
			add_war_support = 0.02
			add_ideas = zar_imamu_i_armiya_buff
		}
	}
	focus = {
		id = zar_sovet_imamov_khalifat
		icon = GFX_focus_generic_support_the_left_right
		cost = 10
		prerequisite = {
			focus = zar_sovet_imamov_souz_s_armiei
		}
		x = 5
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no			
			NOT = { has_global_flag = form_caliphate_kingdom_flag }
		}
		completion_reward = {
			set_country_flag = ar_caliphate_cat_flag
			custom_effect_tooltip = zar_ideya_khalifata_tt
			custom_effect_tooltip = ar_caliphate_osnovat_focus_tt
			if = {
				limit = {
					has_idea = zar_araviisk_kabala
				}
				remove_ideas = zar_araviisk_kabala
			}
			hidden_effect = {
				ar_caliphate_recall_victory_points = yes
				every_other_country = {
					limit = { 
						has_country_flag = ar_caliphate_cat_flag
					}				
					country_event = { days = 2 id = arabia.36 }
				}
				
				## еврейский Кхуофес
				random_list = {
					85 = {
						country_event = { days = 15 id = arabia.50 }
					}
					15 = {
					
					}
				}
			}
		}
	}
	focus = {
		id = zar_sovet_imamov_pravednoe_voisko
		icon = GFX_goal_generic_major_war
		cost = 10
		prerequisite = {
			focus = zar_sovet_imamov_khalifat
		}
		x = 5
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no			
		}
		completion_reward = {
			add_ideas = zar_imamu_pravedn_voisko_buff
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_4
		}
	}
	focus = {
		id = zar_sovet_imamov_religiozn_rvenie
		icon = GFX_focus_generic_support_the_left_right
		cost = 10
		prerequisite = {
			focus = zar_sovet_imamov_pravednoe_voisko
		}
		x = 5
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no			
		}
		completion_reward = {
			add_ideas = zar_imamu_religiozn_rvenie_buff
			set_rule = {
				can_use_kamikaze_pilots = yes
			}
		}
	}
	focus = {
		id = zar_senat_arabii
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 8
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			add_stability = 0.01
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_9
		}
	}
	focus = {
		id = zar_sultan_asasin_lol
		icon = GFX_goal_generic_cavalry
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 14
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_13
		}
	}
	focus = {
		id = zar_perestanovki_vo_vlasi_po_novoi
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = zar_sultan_asasin_lol
		}
		x = 16
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zar_army_chief_6
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_5
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_6
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = zar_theorist_3
			if = {
				limit = {
					has_stability < 0.5
				}
				add_war_support = 0.2
			}
			else = {
				add_war_support = 0.05
			}		
			#
			if = {
				limit = {
					NOT = {
						has_idea = tot_economic_mobilisation
					}
				}
				add_ideas = tot_economic_mobilisation
			}
		}
	}
	focus = {
		id = zar_konstitytia_strajei
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = zar_perestanovki_vo_vlasi_po_novoi
		}
		x = 16
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_konstitytia_strajei_buff
			add_stability = 0.1
		}
	}
	focus = {
		id = zar_ukreplenie_vlasti
		icon = GFX_goal_generic_demand_territory
		cost = 2
		prerequisite = {
			focus = zar_rodstvenniki_u_vlasti
		}
		mutually_exclusive = {
			focus = zar_oslablenie_polojeniya_sultana
		}
		x = 15
		y = 2
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 300
				 has_country_flag = ZAR_SULTAN_RUL_flag
			}
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = 75
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_4
			hidden_effect = {
				country_event = { days = 41 id = arabia.13 }
			}
		}
	}
	focus = {
		id = zar_subsidii_promyshlennikam
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = zar_ukreplenie_vlasti
		}
		x = 13
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zar_subsidii_promke_buff
				days = 400
			}
			hidden_effect = {
				country_event = { days = 19 id = arabia.31 }
			}
		}
	}
	focus = {
		id = zar_modernizatsia_armii_po_aziatskomy_obraztsu
		icon = GFX_goal_generic_allies_build_infantry
		cost = 7
		prerequisite = {
			focus = zar_subsidii_promyshlennikam
		}
		x = 13
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_war_support = 0.02
			add_political_power = -50
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 396
				producer = ZCS
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 487
				producer = ZMN
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 347
				producer = ZRI
			}
		}
	}
	focus = {
		id = zar_dela_semeinye
		icon = GFX_goal_zar_dela_semeinye
		cost = 5
		prerequisite = {
			focus = zar_ukreplenie_vlasti
		}
		x = 15
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {			
			add_political_power = 80
			add_timed_idea = {
				idea = zar_sluhi_o_perestanovkah_buff
				days = 100
			}
		}
	}
	focus = {
		id = zar_gvardiya_sultana
		icon = GFX_goal_generic_build_tank
		cost = 5
		prerequisite = {
			focus = zar_modernizatsia_armii_po_aziatskomy_obraztsu
		}
		prerequisite = {
			focus = zar_dela_semeinye
		}
		x = 13
		y = 5
		ai_will_do = {
			factor = 2
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zar_gvardiya_sultana_tt 
		}
	}
	focus = {
		id = zar_zashita_sultana
		icon = GFX_goal_generic_small_arms
		cost = 9
		prerequisite = {
			focus = zar_gvardiya_sultana
		}		
		x = 13
		y = 6
		ai_will_do = {
			factor = 2
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = zar_zashita_sultana_tt 
		}
	}
	focus = {
		id = zar_zashita_zamka
		icon = GFX_goal_fortify_the_westwall
		cost = 1
		prerequisite = {
			focus = zar_zashita_sultana
		}		
		x = 13
		y = 7
		ai_will_do = {
			factor = 2
		}
		available = {
			threat > 0.5
		}
		completion_reward = {
			custom_effect_tooltip = zar_zashita_zamka_tt 
		}
	}
	focus = {
		id = zar_gosudarstvo_glavnee_semii
		icon = GFX_goal_zar_gosudarstvo_glavnee_semii
		cost = 5
		prerequisite = {
			focus = zar_dela_semeinye
		}
		x = 15
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			remove_country_leader_trait = zar_sultan_blatnik_trait
			if = {
				limit = {
					has_idea = zar_political_advisor_1
				}
				remove_ideas = zar_political_advisor_1
			}
			if = {
				limit = {
					has_idea = zar_political_advisor_2
				}
				remove_ideas = zar_political_advisor_2
			}
			if = {
				limit = {
					has_idea = zar_political_advisor_3
				}
				remove_ideas = zar_political_advisor_3
			}
			add_timed_idea = {
				idea = zar_gosudarstvo_glavnee_semii_buff
				days = 180
			}
		}
	}
	focus = {
		id = zar_pokazatelnye_chistki
		icon = GFX_goal_generic_air_doctrine
		cost = 7
		prerequisite = {
			focus = zar_gosudarstvo_glavnee_semii
		}
		x = 15
		y = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
			has_government = neutrality
		}	
		completion_reward = {
			add_war_support = 0.01
			effect_tooltip = {
				remove_unit_leader = 22832
				remove_unit_leader = 22833
			}	
			custom_effect_tooltip = zar_pokazatelnye_chistki_tt
			hidden_effect = {
				every_unit_leader = {
					limit = {
						has_id = 22832
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						has_id = 22833
					}
					retire = yes
				}			
				if = {
					limit = {
						has_civil_war = no
					}
					random_list = {
						20 = {							
							country_event = { id = arabia.9 }
						}
						80 = {
							modifier = {
								factor = 1.1
								has_stability > 0.7
							}							
							# ничего
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = zar_sluhi_o_perestanovkah_buff
				}
				remove_ideas = zar_sluhi_o_perestanovkah_buff
			}
		}
	}
	focus = {
		id = zar_prodaja_resursov_v_evropu
		icon = GFX_goal_generic_oil_refinery
		cost = 7
		prerequisite = {
			focus = zar_ukreplenie_vlasti
		}
		x = 16
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
			controls_state = 679 
			controls_state = 294 
		}
		completion_reward = {
			add_stability = 0.02
			add_resource = {
				type = steel
				amount = -4
				state = 679
			}
			add_resource = {
				type = oil
				amount = -13
				state = 294
			}			
		}
	}
	focus = {
		id = zar_prodaja_resursov_v_aziu
		icon = GFX_goal_generic_consumer_goods
		cost = 7
		prerequisite = {
			focus = zar_ukreplenie_vlasti
		}
		x = 18
		y = 3
		ai_will_do = {
			factor = 5
		}
		available = {
			controls_state = 787 
			controls_state = 292 
		}
		completion_reward = {
			add_stability = 0.02
			add_resource = {
				type = steel
				amount = -5
				state = 787
			}
			add_resource = {
				type = oil
				amount = -10
				state = 292
			}			
		}
	}
	focus = {
		id = zar_privlechenie_investorov
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = zar_prodaja_resursov_v_evropu
		}
		prerequisite = {
			focus = zar_prodaja_resursov_v_aziu
		}
		x = 17
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_stability = 0.02
			add_timed_idea = {
				idea = zar_inostr_pomoshniki_boost
				days = 190
			}
		}
	}
	focus = {
		id = zar_ekonomicheskii_podiyom
		icon = GFX_goal_generic_positive_trade_relations
		cost = 5
		prerequisite = {
			focus = zar_privlechenie_investorov
		}
		x = 17
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = 80
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_7
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = zar_industrial_concern_2
			custom_effect_tooltip = ar_weapon_market_dobavleno_800_deneg_tt
			add_to_variable = { ar_weap_deneg_var = 800 }
		}
	}
	focus = {
		id = zar_fabriki_dlya_aravii
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = zar_ekonomicheskii_podiyom
		}
		x = 17
		y = 6
		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
					}
				}
			}
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}	
		completion_reward = {	
			add_stability = 0.02
			add_political_power = 80
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
					is_in_home_area = yes					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
					is_in_home_area = yes					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zar_stabilizatsiya_v_strane
		icon = GFX_goal_generic_national_unity
		cost = 10
		prerequisite = {
			focus = zar_pokazatelnye_chistki
		}
		prerequisite = {
			focus = zar_fabriki_dlya_aravii
		}
		x = 17
		y = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = neutrality
			has_civil_war = no
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
			if = {
				limit = {
					has_idea = zar_intrigi_dinastii
				}
				remove_ideas = zar_intrigi_dinastii
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_5
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_6
			custom_effect_tooltip = zar_stabilizatsiya_v_strane_tt
			hidden_effect = {
				if = {
					limit = {
						has_civil_war = no
					}
					random_list = {
						35 = {
							modifier = {
								factor = 1.5
								has_stability < 0.2
							}
							country_event = { id = arabia.8 }
						}
						65 = {
							modifier = {
								factor = 1.5
								has_stability > 0.7
							}
							modifier = {
								factor = 1.5
								has_war_support > 0.7
							}
							# ничего
						}
					}
				}
			}
		}
	}
	focus = {
		id = zar_vosstanovlenie_poryadka_v_stolitse
		icon = GFX_goal_generic_defence
		cost = 7
		prerequisite = {
			focus = zar_stabilizatsiya_v_strane
		}
		x = 15
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			add_stability = 0.03
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_2
		}
	}
	focus = {
		id = zar_mekka_restavratsiya
		icon = GFX_goal_generic_construction2
		cost = 10
		prerequisite = {
			focus = zar_vosstanovlenie_poryadka_v_stolitse
		}
		mutually_exclusive = {
			focus = zar_zolotoi_vek_issledovaniy
		}
		x = 14
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_victory_points = {
				province = 13856
				value = 10
			}
			787 = {
				set_state_category = megalopolis
			}	
			add_ideas = zar_sultsn_mekka_buff
		}
	}
	focus = {
		id = zar_zolotoi_vek_issledovaniy
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = zar_vosstanovlenie_poryadka_v_stolitse
		}
		mutually_exclusive = {
			focus = zar_mekka_restavratsiya
		}
		x = 16
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_sultsn_nauka_buff
		}
	}
	focus = {
		id = zar_misli_o_budushem_aravii
		icon = GFX_goal_zar_misli_o_budushem_aravii
		cost = 10
		prerequisite = {
			focus = zar_stabilizatsiya_v_strane
		}
		x = 19
		y = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			add_stability = 0.1
			add_political_power = 80
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zar_army_chief_3
		}
	}
	focus = {
		id = zar_pretenzii_na_rog_afriki
		icon = GFX_goal_generic_more_territorial_claims
		cost = 10
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_vliyanie_na_rog_afriki
		}
		x = 18
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_war_support = 0.02
			army_experience = 5
			if = {
				limit = {
					NOT = {
						controls_state = 926 
					}
				}
				add_state_claim = 926
			}			
			every_state = {
				limit = { 
					is_core_of = ZJB
				}				
				add_claim_by = ROOT
			}
		}
	}
	focus = {
		id = zar_nachalo_podvodnogo_flota
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 10
		prerequisite = {
			focus = zar_flot_dlya_ohrany
		}
		x = 19
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			navy_experience = 10
			add_tech_bonus = {
				name = ss_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = ss_tech
			}
		}
	}
	focus = {
		id = zar_stanki_za_resursy
		icon = GFX_goal_generic_production2
		cost = 10
		prerequisite = {
			focus = zar_prodaja_resursov_v_aziu
		}
		x = 19
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_timed_idea = {
				idea = zar_stanki_za_resyrsy_buff
				days = 600
			}
		}
	}
	focus = {
		id = zar_sultan_hasan_ibn_abdallah
		icon = GFX_goal_generic_cavalry
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 23
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = zar_sultan_hasan_ibn_abdallah_tt 
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_14
		}
	}
	focus = {
		id = zar_sultan_hasan_ibn_abdallah_pod_iybkoi_materi
		icon = GFX_focus_generic_self_management
		cost = 2
		prerequisite = {
			focus = zar_sultan_hasan_ibn_abdallah
		}
		x = 23
		y = 12
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = arabia.55 }
		}
	}
	focus = {
		id = zar_sultan_hasan_vo_vsei_krase
		icon = GFX_goal_generic_propaganda
		cost = 2
		prerequisite = {
			focus = zar_sultan_hasan_ibn_abdallah_pod_iybkoi_materi
		}
		x = 23
		y = 13
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = { id = arabia.56 }
		}
	}
	focus = {
		id = zar_sultan_hasan_mamin_vybor
		icon = GFX_goal_generic_cavalry
		cost = 1
		prerequisite = {
			focus = zar_sultan_hasan_vo_vsei_krase
		}
		mutually_exclusive = {
			focus = zar_sultan_hasan_samomy_vybrat_jeny
		}
		x = 22
		y = 14
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
			has_country_flag = zar_sultan_hasan_mamin_vybor_flag
		}
		completion_reward = {
			country_event = { id = arabia.58 }
		}
	}
	focus = {
		id = zar_sultan_hasan_radiocenter
		icon = GFX_goal_generic_radar
		cost = 2
		prerequisite = {
			focus = zar_sultan_hasan_mamin_vybor
		}		
		x = 22
		y = 15
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}			
		}
		completion_reward = {
			add_ideas = zar_sultan_hasan_radiocenter_buff
			hidden_effect = {
				add_country_leader_trait = zar_pod_opekoi_materi_traitt
			}	
		}
	}
	focus = {
		id = zar_sultan_hasan_samomy_vybrat_jeny
		icon = GFX_focus_hol_the_foundations_of_defense
		cost = 1
		prerequisite = {
			focus = zar_sultan_hasan_vo_vsei_krase
		}
		mutually_exclusive = {
			focus = zar_sultan_hasan_mamin_vybor
		}
		x = 24
		y = 14
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
			has_country_flag = zar_sultan_hasan_samomy_vybrat_jeny_flag
			country_exists = ZJB
			NOT = {
				has_war_with = ZJB
			}
			ZJB = {
				is_subject = no
			}
		}
		completion_reward = {
			country_event = { id = arabia.59 }
		}
	}
	focus = {
		id = zar_sultan_hasan_generaly_1
		icon = GFX_goal_generic_cavalry
		cost = 3
		prerequisite = {
			focus = zar_sultan_hasan_samomy_vybrat_jeny
		}		
		x = 24
		y = 15
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = zar_army_chief_5
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = zar_air_chief_2
			army_experience = 8
			navy_experience = 5
			air_experience = 10	
			add_war_support = 0.05
		}
	}
	focus = {
		id = zar_sultan_hasan_samolety_1
		icon = GFX_goal_generic_air_fighter
		cost = 3
		prerequisite = {
			focus = zar_sultan_hasan_generaly_1
		}		
		x = 25
		y = 16
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
			NOT = {
				has_country_leader_with_trait = zar_posledstviya_avarii_traitt
			}
		}
		completion_reward = {
			add_stability = 0.02
			air_experience = 10
			add_ace = {
				name = "Faraj"
				surname = "bin-Rahim"
				callsign = ""
				type = bomber_unique
#				is_female = yes
			}
			add_ace = {
				name = "Khalid"
				surname = "bin-Mirza"
				callsign = ""
				type = bomber_unique
#				is_female = yes
			}
			add_ace = {
				name = "Ahmed"
				surname = "Karimi"
				callsign = ""
				type = fighter_unique
#				is_female = yes
			}
		}
	}
	focus = {
		id = zar_sultan_hasan_nazrevshye_reformy
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = zar_sultan_hasan_radiocenter
			focus = zar_sultan_hasan_generaly_1
		}		
		x = 23
		y = 16
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = free_trade
					}
				}
				add_ideas = free_trade
			}
			add_ideas = zar_sultan_hasan_podderjka_naselenia_buff
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_17
		}
	}
	focus = {
		id = zar_sultan_hasan_bolshe_prav_ludam
		icon = GFX_focus_generic_support_the_left_right
		cost = 5
		prerequisite = {
			focus = zar_sultan_hasan_nazrevshye_reformy			
		}		
		x = 23
		y = 17
		ai_will_do = {
			factor = 12
		}
		available = {
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
		}
		completion_reward = {
			set_rule = {
				can_generate_female_aces = yes
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_18
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_19
		}
	}
	focus = {
		id = zar_sultan_hasan_v_seishu
		icon = GFX_goal_generic_major_alliance
		cost = 5
		prerequisite = {
			focus = zar_sultan_hasan_bolshe_prav_ludam			
		}		
		x = 25
		y = 18
		ai_will_do = {
			factor = 1.2
			modifier = {
				factor = 5
				has_opinion = {
					target = ZMN
					value > 10
				}
				ZMN = {
					has_opinion = {
						target = ZAR
						value > 10
					}
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
			NOT = {
				has_war_with = ZMN
			}
			ZMN = {
				is_seishu_leader = yes
			}
		}
		completion_reward = {
			ZMN = {
				country_event = { id = arabia.41 }
			}
		}
	}
	focus = {
		id = zar_sultan_hasan_v_liga
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = zar_sultan_hasan_bolshe_prav_ludam			
		}		
		x = 27
		y = 18
		ai_will_do = {
			factor = 1.2
			modifier = {
				factor = 5
				has_opinion = {
					target = ZCS
					value > 10
				}
				ZCS = {
					has_opinion = {
						target = ZAR
						value > 10
					}
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			has_country_leader = {
				character = ZAR_hasan_ibn_abdallah
				ruling_only = yes
			}
			NOT = {
				has_war_with = ZCS
			}
			ZCS = {
				is_lingsan_liga_leader = yes
			}
		}
		completion_reward = {
			ZCS = {
				country_event = { id = arabia.40 }
			}
		}
	}
	focus = {
		id = zar_sultan_hasan_sotr_v_alianse
		icon = GFX_focus_generic_little_entente
		cost = 3
		prerequisite = {
			focus = zar_sultan_hasan_v_seishu
			focus = zar_sultan_hasan_v_liga			
		}		
		x = 26
		y = 19
		ai_will_do = {
			factor = 7			
		}
		available = {
			OR = {
				is_in_faction_with = ZMN
				is_in_faction_with = ZCS				
			}
		}
		completion_reward = {
			add_ideas = zar_sotr_v_alianse_buff
			army_experience = 8
			navy_experience = 12
			air_experience = 12	
		}
	}
	focus = {
		id = zar_sultan_hasan_resourse
		icon = GFX_goal_generic_production
		cost = 5
		prerequisite = {
			focus = zar_sultan_hasan_bolshe_prav_ludam				
		}		
		x = 23
		y = 18
		ai_will_do = {
			factor = 7			
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_sultan_hasan_resy_buff	
		}
	}
	focus = {
		id = zar_sultan_neft_2
		icon = GFX_goal_generic_oil_refinery
		cost = 5
		prerequisite = {
			focus = zar_sultan_jafar_traditsii
			focus = zar_sultan_hasan_resourse
		}		
		x = 21
		y = 19
		ai_will_do = {
			factor = 7			
		}
		available = {
			controls_state = 293 
			controls_state = 787 
		}
		completion_reward = {
			add_resource = {
				type = oil
				amount = 17
				state = 293
			}
			add_resource = {
				type = oil
				amount = 15
				state = 787
			}
		}
	}
	focus = {
		id = zar_korabli_oborony
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 10
		prerequisite = {
			focus = zar_flot_dlya_ohrany
		}
		x = 21
		y = 1
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			navy_experience = 10
			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
			}
		}
	}
	focus = {
		id = zar_morskaya_doktrina
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = zar_korabli_oborony
		}
		prerequisite = {
			focus = zar_nachalo_podvodnogo_flota
		}
		x = 20
		y = 2
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			navy_experience = 10
			add_war_support = 0.05
			add_tech_bonus = {
				name = fleet_in_being_bonus
				bonus = 1.0
				uses = 4
				category = dd_tech
				category = cl_tech
				category = ca_tech
				category = cv_tech
				category = bc_tech
				category = bb_tech
				category = shbb_tech
				category = ss_tech
				category = tp_tech
			}
		}
	}
	focus = {
		id = zar_vliyanie_na_rog_afriki
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_pretenzii_na_rog_afriki
		}
		x = 20
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			country_exists = ZJB
			NOT = {
				has_war_with = ZJB
			}
			ZJB = {	
				is_subject = no
				NOT = { has_government = communism }
			}
		}
		completion_reward = {
			effect_tooltip = {
				add_ideas = zar_zjb_torgovlya_buff
			}
			ZJB = {
				country_event = { id = arabia.101 }
				custom_effect_tooltip = needs_approval
			}
		}
	}
	focus = {
		id = zar_set_aerodromov
		icon = GFX_goal_generic_air_production
		cost = 10
		prerequisite = {
			focus = zar_budushee_za_aviatsiyei
		}
		x = 23
		y = 1
		ai_will_do = {
			factor = 5
		}
		complete_tooltip = {
			air_experience = 25
			if = { limit = { has_country_flag = aviation_effort_2_AB }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}			
		}
		completion_reward = {
			air_experience = 25
			if = {
				limit = {
					capital_scope = {
						OR = {
							NOT = { is_controlled_by = ROOT }
							NOT = {
								free_building_slots = {
									building = air_base
									size > 0
								}
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 0
						}
					}
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
					ROOT = { set_country_flag = aviation_effort_2_AB }
				}
			}
			if = {
				limit = {
					capital_scope = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = air_base
							size > 0
						}
					}
				}
				capital_scope = {
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}				
					ROOT = { set_country_flag = aviation_effort_2_AB }
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 0
					}
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}					
			}
		}
	}
	focus = {
		id = zar_istrebiteli_1
		icon = GFX_goal_generic_air_fighter2
		cost = 10
		prerequisite = {
			focus = zar_set_aerodromov
		}
		x = 22
		y = 2
		ai_will_do = {
			factor = 5
		}		
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 1.0
				uses = 2
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3				
			}
		}
	}
	focus = {
		id = zar_navy_bombers
		icon = GFX_goal_generic_air_naval_bomber
		cost = 10
		prerequisite = {
			focus = zar_korabli_oborony
		}
		prerequisite = {
			focus = zar_istrebiteli_1
		}
		x = 21
		y = 3
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = nav_bomber_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = naval_bomber
			}
		}
	}
	focus = {
		id = zar_narod_zavoevatel
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_neryshimy_bastion_islama
		}
		x = 22
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_narod_zavoevatel_buff
		}
	}
	focus = {
		id = zar_bombery_1
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = zar_set_aerodromov
		}
		x = 24
		y = 2
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			air_experience = 10
			add_tech_bonus = {
				name = bomber_bonus
				bonus = 1.0
				uses = 2
				technology = strategic_bomber1
				technology = strategic_bomber2
				technology = strategic_bomber3
				category = tactical_bomber
			}
		}
	}
	focus = {
		id = zar_neryshimy_bastion_islama
		icon = GFX_goal_generic_defence
		cost = 10
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_narod_zavoevatel
		}
		x = 24
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_bastion_islama_buff
		}
	}
	focus = {
		id = zar_navstrechu_persii
		icon = GFX_goal_generic_dangerous_deal
		cost = 5
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_persiya_nam_ne_drug
			focus = zar_izolatsiya_sultana
			focus = zar_araviiskaya_oboronnaya_initsiativa
		}
		x = 26
		y = 9
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0.5
				strength_ratio = { tag = ZPA ratio > 1.0 }
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			ZPA = {
				is_faction_leader = yes
			}
			NOT = {
				has_war_with = ZPA
			}
		}
		completion_reward = {
			ZPA = {
				country_event = { id = arabia.10 }
			}
		}
	}
	focus = {
		id = zar_sotr_s_persiei
		icon = GFX_goal_generic_intelligence_exchange
		cost = 8
		prerequisite = {
			focus = zar_navstrechu_persii
		}		
		x = 26
		y = 10
		ai_will_do = {
			factor = 5			
		}
		available = {
			is_in_faction_with = ZPA
		}
		completion_reward = {
			add_ideas = zar_sotr_s_persikami_buff
			add_opinion_modifier = {
				target = ZPA
				modifier = torgovlya_sdelki
			}
			ZPA = {
				add_opinion_modifier = {
					target = ZAR
					modifier = torgovlya_sdelki
				}
			}
		}
	}
	focus = {
		id = zar_persiya_nam_ne_drug
		icon = GFX_goal_generic_small_arms
		cost = 2
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_navstrechu_persii
			focus = zar_izolatsiya_sultana
			focus = zar_araviiskaya_oboronnaya_initsiativa
		}
		x = 29
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			NOT = {
				is_in_faction_with = ZPA
			}
			ZPA = {
				has_added_tension_amount > 10
			}
		}
		bypass = {
			OR = {
				has_war_with = ZPA
				NOT = {
					country_exists = ZPA
				}
			}
		}
		completion_reward = {
			add_ai_strategy = {
				type = antagonize
				id = ZPA
				value = 200
			}
			add_opinion_modifier = {
				target = ZPA
				modifier = agressssor
			}
			add_war_support = 0.02
		}
	}
	focus = {
		id = zar_drujba_s_ligoi
		icon = GFX_goal_generic_improve_relations
		cost = 7
		prerequisite = {
			focus = zar_persiya_nam_ne_drug
		}
		mutually_exclusive = {
			focus = zar_drujba_s_jungo
		}
		x = 28
		y = 10
		ai_will_do = {
			factor = 5
		}
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 1.2
				ZCS = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 1.2
				has_opinion = {
					target = ZCS
					value > 10
				}
				ZCS = {
					has_opinion = {
						target = ZAR
						value > 10
					}
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			ZCS = {
				exists = yes
				is_lingsan_liga_leader = yes
			}
			NOT = {
				has_war_with = ZCS
			}
		}
		completion_reward = {
			ZCS = {
				country_event = { id = ar_factionevent.3 }
			}
		}
	}
	focus = {
		id = zar_drujba_s_jungo
		icon = GFX_goal_generic_major_alliance
		cost = 7
		prerequisite = {
			focus = zar_persiya_nam_ne_drug
		}
		mutually_exclusive = {
			focus = zar_drujba_s_ligoi
		}
		x = 30
		y = 10
		ai_will_do = {
			factor = 5
		}
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 1.2
				has_opinion = {
					target = ZMN
					value > 10
				}
				ZMN = {
					has_opinion = {
						target = ZAR
						value > 10
					}
				}
			}	
		}
		available = {	
			is_in_faction = no
			NOT = {
				has_war_with = ZMN
			}
			ZMN = {
				is_seishu_leader = yes
				exists = yes
				is_subject = no				
			}
		}
		completion_reward = {
			ZMN = {
				country_event = { id = ar_factionevent.9 }
			}
		}
	}
	focus = {
		id = zar_sultan_jafar_ibn_mahrouk
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 20
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_15
		}
	}
	focus = {
		id = zar_sultan_jafar_neutral_kurs
		icon = GFX_goal_generic_neutrality_focus
		cost = 5
		prerequisite = {
			focus = zar_sultan_jafar_ibn_mahrouk
		}
		x = 20
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			country_event = { id = arabia.98 }
			hidden_effect = {
				country_event = { days = 41 id = arabia.99 }
			}
		}
	}
	focus = {
		id = zar_sultan_jafar_industrial
		icon = GFX_goal_generic_production2
		cost = 5
		prerequisite = {
			focus = zar_sultan_jafar_neutral_kurs
		}
		x = 20
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_sultan_jafar_industrial_buff
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = zar_sultan_jafar_dorojnaya_set
		icon = GFX_goal_continuous_non_factory_construct
		cost = 5
		prerequisite = {
			focus = zar_sultan_jafar_industrial
		}
		x = 20
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_sultan_jafar_dorogi_buff
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}	
	focus = {
		id = zar_sultan_jafar_nauchnaya_konferentsiya
		icon = GFX_goal_generic_scientific_exchange
		cost = 5
		prerequisite = {
			focus = zar_sultan_jafar_dorojnaya_set
		}
		x = 20
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_war = no
		}
		completion_reward = {
			add_timed_idea = {
				idea = zar_sultan_jafar_nauka_buff
				days = 250
			}
		}
	}	
	focus = {
		id = zar_sultan_ghafur_ibn_husayn
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zar_sultana_bolshe_net
		}
		x = 18
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			always = no
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_15
		}
	}
	focus = {
		id = zar_sultan_ghafur_strogaya_vlast
		icon = GFX_focus_generic_support_the_left_right
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_ibn_husayn
		}
		x = 18
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			country_event = { id = arabia.92 }
			hidden_effect = {
				country_event = { days = 38 id = arabia.99 }
			}
		}
	}
	focus = {
		id = zar_sultan_ghafur_put_k_arabizatsii
		icon = GFX_goal_continuous_restrict_freedom
		cost = 3
		prerequisite = {
			focus = zar_sultan_ghafur_strogaya_vlast
		}
		x = 18
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			hidden_effect = {
				country_event = { days = 25 id = arabia.93 }	# Ghafur проводит политику арабизации населения. И не всем она нравится.
			}
			unlock_decision_tooltip = zar_zie_293_arabizatsiya_dec	
			unlock_decision_tooltip = zar_zie_294_arabizatsiya_dec
			unlock_decision_tooltip = zar_zie_659_arabizatsiya_dec
			unlock_decision_tooltip = zar_zie_678_arabizatsiya_dec
			### продолжить список
		}
	}
	focus = {
		id = zar_sultan_ghafur_v_religii
		icon = GFX_goal_continuous_def_against_influence
		cost = 5
		prerequisite = {
			focus = zar_sultan_ghafur_put_k_arabizatsii
		}
		x = 18
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_sultan_ghafur_podderjka_imamov_buff
		}
	}
	focus = {
		id = zar_sultan_ghafur_konveery_orujiya
		icon = GFX_focus_generic_license_production
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_v_religii
		}
		x = 18
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_sultan_ghafur_konveery_orujiya_buff
		}
	}
	focus = {
		id = zar_sultan_ghafur_imperialism
		icon = GFX_focus_generic_military_mission
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_konveery_orujiya
		}
		mutually_exclusive = {
			focus = zar_sultan_oborona_strany
		}
		x = 17
		y = 17
		ai_will_do = {
			factor = 9
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = army_of_agress_patern
		}
	}
	focus = {
		id = zar_sultan_oborona_strany
		icon = GFX_focus_generic_home_defense
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_konveery_orujiya
			focus = zar_sultan_jafar_nauchnaya_konferentsiya
		}
		mutually_exclusive = {
			focus = zar_sultan_ghafur_imperialism
		}
		x = 19
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = granitsa_na_zamke_konsrev
		}
	}
	focus = {
		id = zar_sultan_ghafur_patern_ofitsery
		icon = GFX_goal_generic_build_tank
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_imperialism
			focus = zar_sultan_oborona_strany
		}	
		prerequisite = {
			focus = zar_sultan_ghafur_konveery_orujiya
		}
		x = 18
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = ar_patern_gramotn_ofitsery
		}
	}
	focus = {
		id = zar_sultan_jafar_traditsii
		icon = GFX_goal_generic_demand_territory
		cost = 7
		prerequisite = {
			focus = zar_sultan_oborona_strany
		}	
		prerequisite = {
			focus = zar_sultan_jafar_nauchnaya_konferentsiya
		}
		x = 20
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = ar_konserv_traditsii_nasha_opora
		}
	}
	focus = {
		id = zar_sultan_perspekt_razrabotki
		icon = GFX_goal_generic_scientific_exchange
		cost = 7
		prerequisite = {
			focus = zar_sultan_ghafur_patern_ofitsery
			focus = zar_sultan_jafar_traditsii
		}			
		x = 19
		y = 19
		ai_will_do = {
			factor = 4
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 100
			add_tech_bonus = {
				name = zar_sultan_perspekt_razrabotki
				bonus = 1.0
				uses = 6
				category = electronics
				category = nuclear
				category = rocketry
				category = infantry_weapons
				category = artillery
				category = armor
			}
		}
	}
	focus = {
		id = zar_center_raketnyh_tehnologiy
		icon = GFX_focus_rocketry
		cost = 6
		prerequisite = {
			focus = zar_sultan_perspekt_razrabotki
			focus = zar_strajy_akademia
		}			
		x = 19
		y = 22
		ai_will_do = {
			factor = 4
		}
		available = {
			
		}
		completion_reward = {
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = zar_theorist_4
		}
	}
	focus = {
		id = zar_absolut_weapon
		icon = GFX_focus_wonderweapons
		cost = 6
		prerequisite = {
			focus = zar_center_raketnyh_tehnologiy			
		}			
		x = 19
		y = 23
		ai_will_do = {
			factor = 4
		}
		available = {
			
		}
		completion_reward = {
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = zar_theorist_5
			add_ideas = atomic_laboratorss
		}
	}
	focus = {
		id = zar_sultan_oborona_2
		icon = GFX_goal_generic_construct_mil_factory
		cost = 4
		prerequisite = {
			focus = zar_sultan_ghafur_v_religii
			focus = zar_sultan_jafar_dorojnaya_set
		}
		x = 19
		y = 15
		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
					}					
				}
			}
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 1
			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
				}
			}
		}
	}
	focus = {
		id = zar_orden_alamutskoi_kreposti
		icon = GFX_goal_generic_build_tank
		cost = 10
		prerequisite = {
			focus = zar_prisyaga_novomy_sultany
		}
		prerequisite = {
			focus = zar_konstitytia_strajei
		}
		prerequisite = {
			focus = zar_strajy_agenty_ordena
		}
		x = 14
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = zar_high_command_7
			add_ideas = zar_alamut_orden_buff
		}
	}
	focus = {
		id = zar_strajy_mirnaya_politika
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zar_orden_alamutskoi_kreposti
		}
		mutually_exclusive = {
			focus = zar_strajy_voina_voina
		}		
		x = 12
		y = 15
		ai_will_do = {
			factor = 2
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_zashita_rubejei_buff
		}
	}
	focus = {
		id = zar_strajy_voina_voina
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zar_orden_alamutskoi_kreposti
		}	
		mutually_exclusive = {
			focus = zar_strajy_mirnaya_politika
		}
		x = 16
		y = 15
		ai_will_do = {
			factor = 7
		}
		available = {
		
		}
		completion_reward = {
			
		}
	}
	focus = {
		id = zar_strajy_silnye_voiny
		icon = GFX_focus_generic_military_mission
		cost = 7
		prerequisite = {
			focus = zar_strajy_voina_voina
		}		
		x = 16
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_silnye_voiny_buff
		}
	}
	focus = {
		id = zar_strajy_nesut_poryadok
		icon = GFX_goal_generic_defence
		cost = 7
		prerequisite = {
			focus = zar_strajy_silnye_voiny
		}		
		x = 15
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_poryadok_buff
		}
	}
	focus = {
		id = zar_strajy_zashishaut_islam
		icon = GFX_focus_generic_military_academy
		cost = 7
		prerequisite = {
			focus = zar_strajy_silnye_voiny
		}		
		x = 17
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_zashita_islama_buff
		}
	}
	focus = {
		id = zar_strajy_instryktory
		icon = GFX_focus_generic_little_entente
		cost = 7
		prerequisite = {
			focus = zar_strajy_nesut_poryadok
		}
		prerequisite = {
			focus = zar_strajy_zashishaut_islam
		}
		x = 16
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_instryktory_buff
		}
	}
	focus = {
		id = zar_strajy_akademia
		icon = GFX_focus_generic_military_academy
		cost = 7
		prerequisite = {
			focus = zar_strajy_instryktory
		}		
		x = 16
		y = 21
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_akademia_buff
		}
	}
	focus = {
		id = zar_strajy_nayka_1
		icon = GFX_goal_continuous_research
		cost = 7
		prerequisite = {
			focus = zar_sultan_asasin_lol
		}		
		x = 12
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_srajy_nauka_buff
		}
	}
	focus = {
		id = zar_strajy_agenty_ordena
		icon = GFX_goal_generic_air_doctrine
		cost = 7
		prerequisite = {
			focus = zar_strajy_nayka_1
		}		
		x = 12
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = yes
				add_tech_bonus = {
					name = zar_strajy_agenty_ordena
					bonus = 1.0
					uses = 1
					category = encryption_tech
					category = decryption_tech
				}
			}
			else = {
				add_stability = 0.05
				add_war_support = 0.05
				add_political_power = 120
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
		}
	}
	focus = {
		id = zar_strajy_territorii_islama
		icon = GFX_goal_generic_special_forces
		cost = 7
		prerequisite = {
			focus = zar_strajy_voina_voina
		}		
		x = 15
		y = 16
		ai_will_do = {
			factor = 1.2
			modifier = {
				factor = 5
				has_completed_focus = zar_strajy_instryktory
			}
		}
		available = {
			has_stability > 0.5
			has_war_support > 0.5	
			has_government = neutrality
		}
		completion_reward = {
			custom_effect_tooltip = zar_strajy_territorii_islama_tt
		}
	}
	focus = {
		id = zar_stroi_brigady
		icon = GFX_goal_zar_stroi_brigady
		cost = 5
		prerequisite = {
			focus = zar_promka_2
		}
		prerequisite = {
			focus = zar_mass_armiya_3
		}
		x = 5
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_ideas = zar_remonbrigad_buff
		}
	}	
	focus = {
		id = zar_araviiskaya_oboronnaya_initsiativa
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_navstrechu_persii
			focus = zar_persiya_nam_ne_drug
			focus = zar_izolatsiya_sultana			
		}
		x = 34
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction = no
		}
		completion_reward = {
			create_faction = zar_araviiskaya_oboron_initsiativa
			custom_effect_tooltip = zar_araviiskaya_oboronnaya_initsiativa_tt
		}
	}
	focus = {
		id = zar_programma_zaboty_o_naselenii
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		prerequisite = {
			focus = zar_senat_arabii
		}
		x = 8
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			add_ideas = zar_senat_mery_sotsialnoi_pomoshi_buff
		}
	}
	focus = {
		id = zar_stremlenie_v_egidu
		icon = GFX_goal_generic_major_alliance
		cost = 3
		prerequisite = {
			focus = zar_nasha_politika_drujbu
		}
		mutually_exclusive = {
			focus = zar_beiism_v_ligu
			focus = zar_beiism_v_seishu
		}
		x = 12
		y = 17
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 10
				has_opinion = {
					target = ZVZ
					value > 75
				}
			}
		}
		available = {
			is_in_faction = no
			is_subject = no
			NOT = {
				has_war_with = ZVZ
			}
			ZVZ = {
				is_faction_leader = yes
				has_completed_focus = zvz_chernomorsky_soyz
			}
		}
		completion_reward = {
			custom_effect_tooltip = zar_stremlenie_v_egidu_tt
			ZVZ = {
				country_event = { id = arabia.37 }
			}
		}
	}	
	focus = {
		id = zar_novye_rabochie_mesta
		icon = GFX_goal_generic_consumer_goods
		cost = 10
		prerequisite = {
			focus = zar_programma_zaboty_o_naselenii
		}
		x = 8
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		complete_tooltip = {
			add_extra_state_shared_building_slots = 1
			add_extra_state_shared_building_slots = 2
		}	
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = zar_political_advisor_10
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 1				
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}					
				}
				add_extra_state_shared_building_slots = 2				
			}
			add_stability = 0.02
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
		}
	}	
	focus = {
		id = zar_demokratizatsiya_obshestva
		icon = GFX_goal_support_democracy
		cost = 5
		prerequisite = {
			focus = zar_novye_rabochie_mesta
		}		
		x = 8
		y = 14
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		bypass = {
			has_government = democratic
		}
		completion_reward = {
			if = {
				limit = {
					 democratic < 0.5
				}
				add_popularity = {
					ideology = democratic
					popularity = 0.2
				}
				add_stability = 0.05
				add_political_power = 80
			}
			else = {
				add_popularity = {
					ideology = democratic
					popularity = 0.07
				}
				add_stability = 0.03
			}
			
		}
	}
	focus = {
		id = zar_idealy_beiisma
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		prerequisite = {
			focus = zar_demokratizatsiya_obshestva
		}
		x = 8
		y = 15
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			hidden_effect = {
				retire_country_leader = yes
			}	
			add_popularity = {
				ideology = democratic
				popularity = 0.5
			}
			set_politics = {
				ruling_party = democratic
					elections_allowed = no
					last_election = "1985.12.17"
					election_frequency = 48
			}
			# create_country_leader = {
				# name = "The Senate of Arabia"
				# desc = " "
				# picture = "zar_the_senate_of_arabia.tga"
				# expire = "2020.1.1"
				# ideology = liberalism
				# traits = {
					# #
				# }
			# }
			add_country_leader_role = {
				character = "ZAR_the_senate_of_arabia"
				country_leader = {
					ideology = liberalism
					traits = {  }
					expire = "2020.3.1.1"
				}	
				promote_leader = yes 
			}
			add_stability = 0.03
		}
	}				
	focus = {
		id = zar_nasha_politika_drujbu
		icon = GFX_goal_generic_cavalry
		cost = 1
		prerequisite = {
			focus = zar_idealy_beiisma
			focus = zar_strajy_mirnaya_politika
		}
		x = 12
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
		}
		completion_reward = {
			add_political_power = 120
			add_stability = 0.02
		}
	}
	focus = {
		id = zar_beiism_v_ligu
		icon = GFX_goal_generic_intelligence_exchange
		cost = 3
		prerequisite = {
			focus = zar_nasha_politika_drujbu
		}
		mutually_exclusive = {
			focus = zar_stremlenie_v_egidu
			focus = zar_beiism_v_seishu
		}
		x = 10
		y = 17
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 3
				has_opinion = {
					target = ZCS
					value > 30
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ZCS
			}
			ZCS = {
				is_lingsan_liga_leader = yes
			}
		}
		completion_reward = {
			ZCS = {
				country_event = { id = arabia.40 }
			}
		}
	}
	focus = {
		id = zar_beiism_v_seishu
		icon = GFX_goal_generic_improve_relations
		cost = 3
		prerequisite = {
			focus = zar_nasha_politika_drujbu
		}
		mutually_exclusive = {
			focus = zar_beiism_v_ligu
			focus = zar_stremlenie_v_egidu
		}
		x = 14
		y = 17
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 3
				has_opinion = {
					target = ZMN
					value > 30
				}
			}
		}
		available = {
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ZMN
			}
			ZMN = {
				is_seishu_leader = yes
			}
		}
		completion_reward = {
			ZMN = {
				country_event = { id = arabia.41 }
			}
		}
	}
	focus = {
		id = zar_sotr_v_alianse
		icon = GFX_focus_generic_little_entente
		cost = 3
		prerequisite = {
			focus = zar_beiism_v_ligu
			focus = zar_stremlenie_v_egidu
			focus = zar_beiism_v_seishu
		}		
		x = 12
		y = 18
		ai_will_do = {
			factor = 7			
		}
		available = {
			OR = {
				is_in_faction_with = ZMN
				is_in_faction_with = ZCS
				is_in_faction_with = ZVZ
			}
		}
		completion_reward = {
			add_ideas = zar_sotr_v_alianse_buff
			army_experience = 5
			navy_experience = 10
			air_experience = 10	
		}
	}
	focus = {
		id = zar_sotr_v_alianse_2
		icon = GFX_goal_generic_major_alliance
		cost = 3
		prerequisite = {
			focus = zar_sotr_v_alianse			
		}		
		x = 12
		y = 19
		ai_will_do = {
			factor = 7			
		}
		available = {
			OR = {
				is_in_faction_with = ZMN
				is_in_faction_with = ZCS
				is_in_faction_with = ZVZ
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = zar_sotr_v_alianse_buff
				add_idea = zar_sotr_v_alianse_2_buff
			}
		}
	}
	focus = {
		id = zar_steret_panyat_o_sultane
		icon = GFX_goal_generic_cavalry
		cost = 10
		prerequisite = {
			focus = zar_sultan_asasin_lol
		}
		x = 14
		y = 12
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.96 }
			if = {
				limit = {
					has_idea = zar_araviisk_kabala
				}
				remove_ideas = zar_araviisk_kabala
			}
		}
	}
	focus = {
		id = zar_prisyaga_novomy_sultany
		icon = GFX_goal_generic_axis_build_infantry
		cost = 10
		prerequisite = {
			focus = zar_steret_panyat_o_sultane
		}
		x = 14
		y = 13
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			country_event = { id = arabia.97 }
			if = {
				limit = {
					has_dlc = "La Resistance"					
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = zar_political_advisor_16
			}
		}
	}
	focus = {
		id = zar_novy_bankovsky_sektor
		icon = GFX_goal_generic_positive_trade_relations
		cost = 10
		prerequisite = {
			focus = zar_idealy_beiisma
		}
		x = 8
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
		
		}
		completion_reward = {
			add_political_power = 100
			custom_effect_tooltip = ar_weapon_market_dobavleno_1200_deneg_tt
			add_to_variable = { ar_weap_deneg_var = 1200 }
			hidden_effect = {
				random_list = {
					75 = {
						country_event = { days = 50 id = arabia.42 }
					}
					25 = {
					
					}
				}
			}
		}
	}
	focus = {
		id = zar_evrei_bankiry
		icon = GFX_focus_usa_reestablish_the_gold_standard
		cost = 10
		prerequisite = {
			focus = zar_novy_bankovsky_sektor
		}
		x = 8
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			add_timed_idea = {
				idea = zar_evrei_bankiry_buff
				days = 550
			}
			custom_effect_tooltip = zar_evrei_bankiry_tt  
			if = {
				limit = {
					has_idea = zar_araviisk_kabala
				}
				remove_ideas = zar_araviisk_kabala
			}
			random_list = {
				25 = {
					add_stability = -0.05
					add_war_support = -0.04
				}
				25 = {
					add_stability = -0.08
					add_war_support = -0.07
				}
				25 = {
					add_stability = -0.12
					add_war_support = -0.09	
				}
				25 = {
					add_stability = -0.15
					add_war_support = -0.13
				}
			}
		}
	}
	focus = {
		id = zar_beiism_armeisky_voprosy
		icon = GFX_focus_focus_fra_maquis
		cost = 5
		prerequisite = {
			focus = zar_evrei_bankiry
		}
		x = 7
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			add_war_support = 0.02
			add_ideas = zar_armyya_respubliki_buff
		}
	}
	focus = {
		id = zar_beiism_focus_na_flot
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = zar_beiism_armeisky_voprosy
		}
		mutually_exclusive = {
			focus = zar_beiism_focus_na_avia
		}
		x = 6
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			navy_experience = 50
			add_ideas = zar_beiism_focus_na_flot_buff
		}
	}
	focus = {
		id = zar_beiism_focus_morskoi_desant
		icon = GFX_focus_secret_rearmament
		cost = 10
		prerequisite = {
			focus = zar_beiism_focus_na_flot
		}		
		x = 6
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			navy_experience = 30
			army_experience = 20
			add_ideas = zar_beiism_morskoi_desant_buff	
		}
	}
	focus = {
		id = zar_beiism_focus_avia_desant
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 10
		prerequisite = {
			focus = zar_beiism_focus_na_avia
		}		
		x = 8
		y = 20
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			air_experience = 30
			army_experience = 20
			add_ideas = zar_beiism_avia_desant_buff	
		}
	}
	focus = {
		id = zar_beiism_focus_na_avia
		icon = GFX_goal_generic_build_airforce
		cost = 10
		prerequisite = {
			focus = zar_beiism_armeisky_voprosy
		}
		mutually_exclusive = {
			focus = zar_beiism_focus_na_flot
		}	
		x = 8
		y = 19
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
		}
		completion_reward = {
			air_experience = 50
			add_ideas = zar_beiism_focus_na_avia_buff
		}
	}
	focus = {
		id = zar_beiism_promka_nashe_vse
		icon = GFX_focus_generic_the_giant_wakes
		cost = 10
		prerequisite = {
			focus = zar_evrei_bankiry
		}			
		x = 9
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = democratic
			has_war = no
		}
		completion_reward = {			
			add_timed_idea = {
				idea = zar_beiism_rassvet_ekonomiki_buff
				days = 812
			}
		}
	}
	focus = {
		id = zar_izolatsiya_sultana
		icon = GFX_goal_fortify_the_westwall
		cost = 8
		prerequisite = {
			focus = zar_misli_o_budushem_aravii
		}
		mutually_exclusive = {
			focus = zar_persiya_nam_ne_drug
			focus = zar_navstrechu_persii
			focus = zar_araviiskaya_oboronnaya_initsiativa
		}
		x = 32
		y = 9
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction = no
		}
		completion_reward = {
			add_ideas = zar_politika_neprisoedineniya_buff
		}
	}
	focus = {
		id = zar_ideya_khalifata
		icon = GFX_focus_hol_the_foundations_of_defense
		cost = 10
		prerequisite = {
			focus = zar_izolatsiya_sultana
		}		
		x = 32
		y = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction = no
			NOT = { has_global_flag = form_caliphate_kingdom_flag }
		}
		completion_reward = {
			set_country_flag = ar_caliphate_cat_flag
			custom_effect_tooltip = zar_ideya_khalifata_tt
			custom_effect_tooltip = ar_caliphate_osnovat_focus_tt
			hidden_effect = {
				ar_caliphate_recall_victory_points = yes
				every_other_country = {
					limit = { 
						has_country_flag = ar_caliphate_cat_flag
					}				
					country_event = { days = 2 id = arabia.36 }
				}
			}
		}
	}
	focus = {
		id = zar_sultan_put_v_aziu
		icon = GFX_goal_generic_positive_trade_relations
		cost = 8
		prerequisite = {
			focus = zar_drujba_s_ligoi
			focus = zar_drujba_s_jungo
		}		
		x = 29
		y = 11
		ai_will_do = {
			factor = 5
		}
		available = {
			OR = {
				is_in_faction_with = ZCS
				is_in_faction_with = ZMN
			}
		}
		completion_reward = {
			add_ideas = zar_aziatsky_torg_marshrut_buff
			if = {
				limit = {
					is_in_faction_with = ZCS
				}
				add_opinion_modifier = {
					target = ZCS
					modifier = torgovlya_sdelki
				}
				ZCS = {
					add_opinion_modifier = {
						target = ZAR
						modifier = torgovlya_sdelki
					}
				}
			}
			if = {
				limit = {
					is_in_faction_with = ZMN
				}
				add_opinion_modifier = {
					target = ZMN
					modifier = torgovlya_sdelki
				}
				ZMN = {
					add_opinion_modifier = {
						target = ZAR
						modifier = torgovlya_sdelki
					}
				}
			}
		}
	}
	focus = {
		id = zar_vipusk_aviashkoly
		icon = GFX_focus_chi_flying_tigers
		cost = 8
		prerequisite = {
			focus = zar_set_aerodromov			
		}		
		x = 23
		y = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			air_experience = 25
			add_war_support = 0.03
			add_ace = {
				name = "Yuhanna"
				surname = "bin-Mahmud"
				callsign = ""
				type = fighter_genius
#				is_female = yes
			}
			add_ace = {
				name = "Shafaqat"
				surname = "bin-Mehdi Al-Mekka"
				callsign = ""
				type = support_genius
#				is_female = yes
			}
		}
	}
	focus = {
		id = zar_aviakonveer_1
		icon = GFX_goal_expand_the_luftwaffe
		cost = 8
		prerequisite = {
			focus = zar_stanki_za_resursy			
		}
		prerequisite = {
			focus = zar_vipusk_aviashkoly			
		}		
		x = 23
		y = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_standartizatsiya_v_aviastroitel_buff
		}
	}
	focus = {
		id = zar_sultan_ravnopravnaya_torgovlya
		icon = GFX_goal_generic_intelligence_exchange
		cost = 8
		prerequisite = {
			focus = zar_stabilizatsiya_v_strane			
		}				
		x = 17
		y = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			has_idea = zar_araviisk_kabala
			has_stability > 0.73
			num_of_factories > 25
		}
		completion_reward = {
			remove_ideas = zar_araviisk_kabala
		}
	}
	focus = {
		id = zar_sovet_voenn_mobilizatsiya_ekonomiki
		icon = GFX_focus_hol_the_foundations_of_defense
		cost = 10
		prerequisite = {
			focus = zar_sovet_voennyh_atakovaya_strategia
		}
		x = 0
		y = 16
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = fascism
		}
		completion_reward = {
			country_event = { id = arabia.51 }
		}
	}
	focus = {
		id = zar_imamu_voennye_plan_rashireniya
		icon = GFX_goal_continuous_def_against_influence
		cost = 10
		prerequisite = {
			focus = zar_sovet_voenn_mobilizatsiya_ekonomiki
			focus = zar_sovet_imamov_religiozn_rvenie
		}
		x = 2
		y = 17
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = zar_imamu_voennye_plan_rashireniya_buff
		}
	}
	focus = {
		id = zar_rashirenie_ierusalim
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10
		prerequisite = {
			focus = zar_imamu_voennye_plan_rashireniya			
		}
		x = 2
		y = 18
		ai_will_do = {
			factor = 5
		}
		available = {
			OR = {
				NOT = { owns_state = 454  }
				NOT = { owns_state = 785  }
				NOT = { owns_state = 848  }
				NOT = { owns_state = 849  }
			}
		}
		completion_reward = {
			add_named_threat = { threat = 8 name = zar_rashirenie_ierusalim }
			if = {
				limit = {
					NOT = {
						owns_state = 454 
					}
				}
				add_state_claim = 454
			}
			if = {
				limit = {
					NOT = {
						owns_state = 785 
					}
				}
				add_state_claim = 785
			}
			if = {
				limit = {
					NOT = {
						owns_state = 848 
					}
				}
				add_state_claim = 848
			}
			if = {
				limit = {
					NOT = {
						owns_state = 849 
					}
				}
				add_state_claim = 849
			}
			if = {
				limit = {
					ZGS = {
						exists = yes
						NOT = {
							is_in_faction_with = ZAR
							is_subject_of = ZAR
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = ZGS					
				}
			}
		}
	}
	focus = {
		id = zar_kabala_kabala
		icon = GFX_focus_mex_privatisation
		cost = 8
		prerequisite = {
			focus = zar_sultan_ghafur_konveery_orujiya
			focus = zar_sultan_jafar_nauchnaya_konferentsiya
			focus = zar_sultan_hasan_nazrevshye_reformy
		}
		x = 21
		y = 17
		ai_will_do = {
			factor = 6
		}
		available = {
			has_idea = zar_araviisk_kabala
			has_stability > 0.5
		}
		completion_reward = {
			add_stability = -0.05
			remove_ideas = zar_araviisk_kabala
		}
	}
	focus = {
		id = zar_sultan_voenshina_1
		icon = GFX_goal_continuous_armor_production
		cost = 5
		prerequisite = {
			focus = zar_misli_o_budushem_aravii			
		}
		x = 37
		y = 9
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}
		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
				}
			}
			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 = zar_sultan_evropeiskii_obrazets
		icon = GFX_focus_usa_focus_on_europe
		cost = 5
		prerequisite = {
			focus = zar_sultan_voenshina_1			
		}
		mutually_exclusive = {
			focus = zar_sultan_aziatski_obrazets
		}
		x = 36
		y = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			if = {
				limit = {
					has_tech = advanced_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 487
					producer = ZRI
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 397
					producer = ZSL
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 237
					producer = ZVZ
				}
			}
			else_if = {
				limit = {
					has_tech = improved_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 487
					producer = ZRI
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 397
					producer = ZSL
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 237
					producer = ZVZ
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 487
					producer = ZRI
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 397
					producer = ZSL
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 237
					producer = ZVZ
				}
			}
		}
	}	
	focus = {
		id = zar_sultan_aziatski_obrazets
		icon = GFX_focus_usa_focus_on_asia
		cost = 5
		prerequisite = {
			focus = zar_sultan_voenshina_1			
		}
		mutually_exclusive = {
			focus = zar_sultan_evropeiskii_obrazets
		}
		x = 38
		y = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			if = {
				limit = {
					has_tech = advanced_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 397
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 287
					producer = ZJA
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_3
					amount = 415
					producer = ZCS
				}
			}
			else_if = {
				limit = {
					has_tech = improved_infantry_weapons
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 397
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 287
					producer = ZJA
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 415
					producer = ZCS
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 397
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 287
					producer = ZJA
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 415
					producer = ZCS
				}
			}
		}
	}
	focus = {
		id = zar_sultan_motopehi_pystini
		icon = GFX_goal_generic_production2
		cost = 5
		prerequisite = {
			focus = zar_sultan_evropeiskii_obrazets	
			focus = zar_sultan_aziatski_obrazets
		}		
		x = 37
		y = 11
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			add_ideas = zar_motopehota_buff
		}
	}
	focus = {
		id = zar_sultan_pory_flota
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		prerequisite = {
			focus = zar_sultan_motopehi_pystini				
		}		
		x = 36
		y = 12
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			navy_experience = 50
			if = {
				limit = {					
					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
					}
				}				
			}
			if = {
				limit = {				
					any_owned_state = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}				
			}
		}
	}
	focus = {
		id = zar_sultan_stroim_flot
		icon = GFX_goal_generic_navy_battleship
		cost = 5
		prerequisite = {
			focus = zar_sultan_pory_flota				
		}		
		x = 36
		y = 13
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			add_timed_idea = {
				idea = zar_boost_flota_buff
				days = 365
			}
		}
	}	
	focus = {
		id = zar_sultan_aviaporty_1
		icon = GFX_goal_generic_air_fighter2
		cost = 5
		prerequisite = {
			focus = zar_sultan_motopehi_pystini				
		}		
		x = 38
		y = 12
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			air_experience = 20
			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
					}					
				}
			}
			if = {
				limit = {
					capital_scope = {
						free_building_slots = {
							building = air_base
								size > 1
						}
					}
				}
				capital_scope = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}					
				}
			}
		}
	}
	focus = {
		id = zar_sultan_zakupka_samoletov
		icon = GFX_goal_generic_build_airforce
		cost = 5
		prerequisite = {
			focus = zar_sultan_aviaporty_1				
		}		
		x = 38
		y = 13
		ai_will_do = {
			factor = 6
		}
		available = {
			
		}		
		completion_reward = {
			if = {
				limit = {
					has_tech = fighter3
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 127
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 199
					producer = ZCS
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 215
					producer = ZJA
				}
			}	
			else_if = {
				limit = {
					has_tech = fighter2
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_2
					amount = 127
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_2
					amount = 199
					producer = ZCS
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_2
					amount = 215
					producer = ZJA
				}
			}
			else = {				
				add_equipment_to_stockpile = {
					type = fighter_equipment_1
					amount = 127
					producer = ZMN
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_1
					amount = 199
					producer = ZCS
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_1
					amount = 215
					producer = ZJA
				}
			}
		}
	}	
}
