focus_tree = {
	id = XMO
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = XMO
		}
	}
	default = no
	continuous_focus_position = { x = 0 y = 1505 }
	focus = {
		id = XMO_coop_of_our_groups
		icon = GFX_goal_generic_construction
		x = 5
		y = 0
	
		cost = 1
	
		ai_will_do = {
			factor = 1
		}
	
		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_coop_of_our_groups_tt
			add_ideas = XMO_objedinennye_grupirovky
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 3000
				producer = XMO
			}
		}
	}
	focus = {
		id = XMO_work_with_population
		icon = GFX_goal_generic_construction
		x = 0
		y = 1
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_coop_of_our_groups }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			add_manpower = 6000
			add_ideas = XMO_naselenye_s_nami
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 3000
				producer = XMO
			}
		}
	}
	focus = {
		id = XMO_sjesd_liderov
		icon = GFX_goal_generic_construction
		x = 0
		y = 2
	
		cost = 3
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_work_with_population }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# Короче мы просто ознакомимся с фракциями Моравии
			country_event = moravia.1
		}
	}
	focus = {
		id = XMO_vse_pod_cherniy_flag
		icon = GFX_goal_generic_construction
		x = 0
		y = 3
	
		cost = 4
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_sjesd_liderov }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# СЛАВЯНЕ... ОБЩИЙ СБОР! #
			add_ideas = XMO_vse_pod_cherniy_flag_idea
		}
	}
	focus = {
		id = XMO_prinimat_sochustvuyushih_nemtsev
		icon = GFX_goal_generic_construction
		x = -2
		y = 3
	
		cost = 3
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_sjesd_liderov }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_nemtsi_idite_nahui
		}

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			### УРА НОВЫЕ ДРУЗЬЯ! ###
			add_ideas = XMO_prinimat_sochustvuyushih_nemtsev_idea
		}
	}
	focus = {
		id = XMO_nemtsi_idite_nahui
		icon = GFX_goal_generic_construction
		x = -4
		y = 3
	
		cost = 3
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_sjesd_liderov }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_prinimat_sochustvuyushih_nemtsev
		}

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			### УРА НЕТ НОВЫХ ДРУЗЕЙ! ###
			add_ideas = XMO_nemtsi_idite_nahui_idea
		}
	}
	focus = {
		id = XMO_triumph_slavyan_focus
		icon = GFX_goal_generic_construction
		x = 0
		y = 4
	
		cost = 1
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_vse_pod_cherniy_flag }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			always = no
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_triumph_slavyan_focus_tt
			# СЛАВЯНЕ ПОБЕДИЛИ НЕМЦЕВ! #
		}
	}
	### Второй блок фокусов на выборы после войны <3
	focus = {
		id = XMO_sclavery_focus
		icon = GFX_goal_generic_construction
		x = -1
		y = 5
	
		cost = 1
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_triumph_slavyan_focus }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_slovany_focus
		}

		available = {
			always = no
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_sclavery_focus_tt
		}
	}
	focus = {
		id = XMO_slovany_focus
		icon = GFX_goal_generic_construction
		x = 1
		y = 5
	
		cost = 1
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_triumph_slavyan_focus }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_sclavery_focus
		}

		available = {
			always = no
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_slovany_focus_tt
		}
	}
	focus = {
		id = XMO_oshidanye_priznanya
		icon = GFX_goal_generic_construction
		x = 2
		y = 2
	
		cost = 3
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_work_with_population }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# Время ебанных скриптов йоу
			# МЕХАНИКА БОЕПРИПАСОВ ПРИГОЖИНУ
			custom_effect_tooltip = XMO_oshidanye_priznanya_tt
			hidden_effect = {
				### Изначально нас поддерживают ###
				hidden_effect = {
					country_event = {
						id = moravia.6
						days = 5
						hours = 6
					}
				}
				### На другие страны ###
				every_country = {
					if = {
						limit = {
							THIS = { 
								has_opinion = {
									target = ZBO
									value < -15
								}	
								NOT = { 
									is_in_faction_with = ZBO 
									is_subject_of = ZBO 
 									original_tag = ZBO 
									original_tag = XMO 
								}
								is_subject = no
							}
						}
						add_to_array = {
							array = XMO_support_sclaverov_and_priznanye_array
							value = THIS.id
						}
					}
				}
				every_country = {
					if = {
						limit = {
							is_in_array = {
								array = XMO_support_sclaverov_and_priznanye_array
								value = THIS.id
							}
						}
						add_opinion_modifier = {
							target = XMO
							modifier = XMO_priznanie_opinion_modifier
						}
						set_country_flag = XMO_support_sclaverov_and_priznanye_cf
						XMO = {
							add_opinion_modifier = {
								target = PREV
								modifier = XMO_priznanie_opinion_modifier
							}
						}
					}
				}
			}
		}
	}
	focus = {
		id = XMO_kustarnoe_proisvodstvo_vintovok
		icon = GFX_goal_generic_construction
		x = 4
		y = 2
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_work_with_population }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# ПРОИЗВОДИМ ВИНТОВКИ #
			add_ideas = XMO_kustarnoe_proisvodstvo_vintovok_idea
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 2000
				producer = XMO
			}
			add_manpower = 1500
		}
	}
	focus = {
		id = XMO_kachestvennoe_proisvodstvo
		icon = GFX_goal_generic_construction
		x = 3
		y = 3
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_kustarnoe_proisvodstvo_vintovok }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_massovoe_proisvodstvo
		}

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# ПРОИЗВОДИМ ВИНТОВКИ НЕ ИЗ КИТАЯ #
			custom_effect_tooltip = XMO_kachestvennoe_proisvodstvo_tt
			swap_ideas = {
				remove_idea = XMO_kustarnoe_proisvodstvo_vintovok_idea
				add_idea = XMO_kachestvennoe_proisvodstvo_idea
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 2000
				producer = XMO
			}
			add_manpower = 1500
		}
	}
	focus = {
		id = XMO_massovoe_proisvodstvo
		icon = GFX_goal_generic_construction
		x = 5
		y = 3
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_kustarnoe_proisvodstvo_vintovok }
		relative_position_id = XMO_coop_of_our_groups
		mutually_exclusive = {
			focus = XMO_kachestvennoe_proisvodstvo
		}

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# ПРОИЗВОДИМ ВИНТОВКИ ИЗ КИТАЯ #
			custom_effect_tooltip = XMO_massovoe_proisvodstvo_tt
			swap_ideas = {
				remove_idea = XMO_kustarnoe_proisvodstvo_vintovok_idea
				add_idea = XMO_massovoe_proisvodstvo_idea
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 2000
				producer = XMO
			}
			add_manpower = 1500
		}
	}
	focus = {
		id = XMO_natonalisatia_nemetskih_proisvodstv_focus
		icon = GFX_goal_generic_construction
		x = 7
		y = 2
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_work_with_population }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# Мы жоско получаем заводы за картой #
			add_offsite_building = {
				type = industrial_complex
				level = 2
			}
			add_offsite_building = {
				type = arms_factory
				level = 1
			}
		}
	}
	focus = {
		id = XMO_ispolsovanie_nemetskih_rabochih_focus
		icon = GFX_goal_generic_construction
		x = 7
		y = 3
	
		cost = 2
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_natonalisatia_nemetskih_proisvodstv_focus }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			#has_war_with = ZBO
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			# Мы жоско заставляем немецких рабов работать на рисовых плантациях #
			custom_effect_tooltip = XMO_ispolsovanie_nemetskih_rabochih_focus_tt
			hidden_effect = {
				add_ideas = XMO_ispolsovanie_nemetskih_rabochih
			}
		}
	}
	### AFTERMATH ###
	focus = {
		id = XMO_vtoroy_tur_vyborov_focus
		icon = GFX_goal_generic_construction
		x = 0
		y = 6
	
		cost = 5
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_slovany_focus }
		prerequisite = { focus = XMO_sclavery_focus }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_vtoroy_tur_vyborov_focus_tt
			if = {
				limit = {
					has_country_flag = XMO_sclavery_gets_votes
				}
				country_event = moravia.10
			}
			if = {
				limit = {
					has_country_flag = XMO_slovany_gets_votes
				}
				country_event = moravia.11
			}
		}
	}
	focus = {
		id = XMO_zheltaya_revolutsiya_v_serdtse_evropy_focus
		icon = GFX_goal_generic_construction
		x = -1
		y = 7
	
		cost = 5
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_vtoroy_tur_vyborov_focus }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			has_government = communism
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			add_ideas = XMO_zheltaya_revolutsiya_v_serdtse_evropy_idea
			add_popularity = {
				ideology = communism
				popularity = 0.12
			}
			every_state = {
				limit = {
					is_core_of = ZBO
				}
				add_core_of = XMO
			}
		}
	}
	focus = {
		id = XMO_rasprostraneniye_omniparizma_focus
		icon = GFX_goal_generic_construction
		x = -1
		y = 8
	
		cost = 5
	
		ai_will_do = {
			factor = 1
		}
		
		prerequisite = { focus = XMO_zheltaya_revolutsiya_v_serdtse_evropy_focus }
		relative_position_id = XMO_coop_of_our_groups

		available = {
			has_government = communism
		}
	
		bypass = {
	
		}
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		
	
		completion_reward = {
			custom_effect_tooltip = XMO_rasprostraneniye_omniparizma_focus_tt
			add_ideas = XMO_rasprostraneniye_omniparizma_idea
			add_political_power = 100
			add_war_support = 0.1
		}
	}
}