focus_tree = {
	id = Libya_focus

	country = {
		factor = 0
		modifier = {
			add = 10
			or = { 
				original_tag = LBA
				original_tag = GNA
				original_tag = HOR
			}
		}
	}

	default = no

	shared_focus = AFRICAN_UNION_shared_focus

	continuous_focus_position = { x = 7000 y = 1500 }

	focus = {
		id = LBA_ignore_lifg
		icon = military_bases
		allow_branch = {
			country_exists = LBA
		}

		x = 5
		y = 0

		cost = 5

		mutually_exclusive = { focus = LBA_crush_lifg }

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_RADICALIZATION }

		bypass = { salafist_caliphate_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ignore_lifg"
			add_manpower = 1000
			add_stability = 0.05
		}

		ai_will_do = {
			base = 6
			modifier = {
				factor = 1.67
				has_government = fascism
			}
			modifier = {
				factor = 1.67
				NOT = { has_government = communism }
				NOT = { has_government = fascism }
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_crush_lifg
		icon = Generic_Jungle_Insurgency
		allow_branch = {
			country_exists = LBA
		}

		x = 16
		y = 0

		cost = 5

		mutually_exclusive = { focus = LBA_ignore_lifg }

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_RADICALIZATION }

		available = { salafist_caliphate_are_in_power = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_crush_lifg"
			add_manpower = -500
			add_popularity = {
				ideology = fascism
				popularity = -0.10
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	#Islam vs Nation
	focus = {
		id = LBA_islam_over_nation
		icon = sunni_politics

		x = 10
		y = 1

		cost = 10

		prerequisite = {
			focus = LBA_ignore_lifg
			focus = LBA_crush_lifg
		}
		mutually_exclusive = { focus = LBA_nation_over_islam }

		search_filters = { FOCUS_FILTER_INFLUENCE FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_islam_over_nation"
			set_temp_variable = { temp_modify_social_con_government = 5 }
			modify_social_conservatism_government = yes
			hidden_effect = {
				random_other_country = {
					limit = {
						OR = {
							has_idea = sunni
							has_idea = shia
							has_idea = sufi_islam
							has_idea = ibadi
						}
						OR = {
							has_government = fascism
							check_variable = { ruling_party = 12 }
						}
						is_in_the_middle_east = yes
					}
					set_temp_variable = { influence_target = THIS }
				}
			}
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
			hidden_effect = {
				if = {
					limit = { has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
					set_country_flag = LBA_AI_go_salafist_kingdom
				}
				else_if = {
					limit = {
						NOT = { LBA_ai_any_path = yes }
						NOT = { is_historical_focus_on = yes }
					}
					random = {
						chance = 25
						set_country_flag = LBA_AI_go_salafist_kingdom
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
		}
	}

	focus = {
		id = LBA_nation_over_islam
		icon = Paternal_Autocrat

		x = 12
		y = 1

		cost = 10

		prerequisite = {
			focus = LBA_ignore_lifg
			focus = LBA_crush_lifg
		}
		mutually_exclusive = { focus = LBA_islam_over_nation }

		search_filters = { FOCUS_FILTER_INFLUENCE FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_nation_over_islam"
			set_temp_variable = { temp_modify_social_con_government = -5 }
			modify_social_conservatism_government = yes
			hidden_effect = {
				random_country = {
					limit = {
						OR = {
							has_idea = sunni
							has_idea = shia
							has_idea = sufi_islam
							has_idea = ibadi
						}
						OR = {
							has_government = nationalist
							check_variable = { ruling_party = 7 }
						}
						is_in_the_middle_east = yes
					}
					set_temp_variable = { influence_target = THIS }
				}
			}
			if = { limit = { NOT = { check_variable = { influence_target = 0 } } }
				set_temp_variable = { percent_change = 4 }
				change_influence_percentage = yes
			}
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	focus = {
		id = LBA_family_is_a_central_unit
		icon = family

		x = -2
		y = 1
		relative_position_id = LBA_islam_over_nation

		cost = 7

		prerequisite = { focus = LBA_islam_over_nation }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_family_is_a_central_unit"
			add_ideas = LBA_family_centric
			if = {
				limit = { has_idea = LBA_women_enfrachised }
				remove_ideas = LBA_women_enfrachised
			}
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.15 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_fezzan_loyalty = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
		}
	}

	focus = {
		id = LBA_nation_is_a_central_unit
		icon = national_unity

		x = 2
		y = 1
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = { focus = LBA_nation_over_islam }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_nation_is_a_central_unit"
			add_ideas = LBA_nation_centric
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	focus = {
		id = LBA_follow_religious_law
		icon = sunni_government

		x = 0
		y = 1
		relative_position_id = LBA_islam_over_nation

		cost = 5

		prerequisite = { focus = LBA_islam_over_nation }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_follow_religious_law"
			set_temp_variable = { temp_modify_social_con_government = 10 }
			modify_social_conservatism_government = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
		}
	}

	focus = {
		id = LBA_draft_real_constitution
		icon = nationalist_constiution

		x = 0
		y = 1
		relative_position_id = LBA_nation_over_islam

		cost = 5

		prerequisite = { focus = LBA_nation_over_islam }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_draft_real_constitution"
			set_temp_variable = { temp_modify_social_con_government = -10 }
			modify_social_conservatism_government = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	focus = {
		id = LBA_traditional_role_for_women
		icon = focus_generic_population_growth

		x = -2
		y = 2
		relative_position_id = LBA_islam_over_nation

		cost = 7

		prerequisite = { focus = LBA_family_is_a_central_unit }
		prerequisite = { focus = LBA_follow_religious_law }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_traditional_role_for_women"
			swap_ideas = {
				add_idea = LBA_family_centric_2
				remove_idea = LBA_family_centric
			}
			if = {
				limit = { has_idea = LBA_women_enfrachised }
				remove_ideas = LBA_women_enfrachised
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
		}
	}

	focus = {
		id = LBA_liberate_women
		icon = Generic_Working_Women

		x = 2
		y = 2
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = { focus = LBA_nation_is_a_central_unit }
		prerequisite = { focus = LBA_draft_real_constitution }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_liberate_women"
			swap_ideas = {
				add_idea = LBA_nation_centric_2
				remove_idea = LBA_nation_centric
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	focus = {
		id = LBA_religious_education
		icon = quaran_book

		x = 0
		y = 2
		relative_position_id = LBA_islam_over_nation

		cost = 7

		prerequisite = { focus = LBA_follow_religious_law }
		prerequisite = { focus = LBA_family_is_a_central_unit }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_religious_education"
			add_ideas = LBA_religion_in_schools
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
		}
	}

	focus = {
		id = LBA_national_education
		icon = education_reform

		x = 0
		y = 2
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = { focus = LBA_draft_real_constitution }
		prerequisite = { focus = LBA_nation_is_a_central_unit }

		search_filters = { FOCUS_FILTER_SOCIAL_CONSERVATISM }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_national_education"
			add_ideas = LBA_nationalism_in_schools
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = { factor = 25 LBA_ai_secular_path = yes }
			modifier = { factor = 0 LBA_ai_not_secular_path = yes }
		}
	}

	focus = {
		id = LBA_appoint_grand_mufti
		icon = Generic_Piety

		x = -1
		y = 3
		relative_position_id = LBA_islam_over_nation

		cost = 7

		prerequisite = { focus = LBA_religious_education }
		prerequisite = { focus = LBA_traditional_role_for_women }

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_appoint_grand_mufti"
			add_ideas = LBA_grand_mufti_appointed
			set_temp_variable = { party_index = 10 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			if = {
				limit = {
					NOT = { check_variable = { ruling_party = 10 } }
					NOT = { is_in_array = { gov_coalition_array = 10 } }
				}
				set_temp_variable = { add_col_one = 10 }
				add_coalition_members_effect = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 23 }
				}
			}
			modifier = {
				factor = 0
				is_ruled_by_a_gaddafi = yes
				NOT = { has_country_flag = LBA_AI_go_salafist_kingdom }
			}
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_appoint_baathist_advisor
		icon = Generic_Imperial_Eagle

		x = 1
		y = 3
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = { focus = LBA_national_education }
		prerequisite = { focus = LBA_liberate_women }

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_appoint_baathist_advisor"
			hidden_effect = { add_dynamic_modifier = { modifier = libya_baathism_dynamic_modifier } }
			custom_effect_tooltip = { localization_key = adds_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			set_temp_variable = { party_index = 21 }
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.15 }
			change_relative_party_popularity = yes
			if = {
				limit = {
					NOT = { check_variable = { ruling_party = 21 } }
					NOT = { is_in_array = { gov_coalition_array = 21 } }
				}
				set_temp_variable = { add_col_one = 21 }
				add_coalition_members_effect = yes
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 12 }
					check_variable = { ruling_party = 14 }
				}
			}
			modifier = {
				add = 10
				has_completed_focus = LBA_strive_for_uar
			}
			modifier = {
				add = 10
				check_variable = { ruling_party = 21 }
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	#LIFG Branch
	focus = {
		id = LBA_peace_with_lifg
		icon = military_deal

		x = 5
		y = 2

		cost = 5

		prerequisite = { focus = LBA_ignore_lifg }

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RADICALIZATION }

		bypass = { salafist_caliphate_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_peace_with_lifg"
			set_temp_variable = { party_index = 11 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			hidden_effect = {
				if = {
					limit = { has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
					set_country_flag = LBA_AI_go_salafist_caliphate
				}
				else_if = {
					limit = {
						NOT = { LBA_ai_any_path = yes }
						NOT = { is_historical_focus_on = yes }
					}
					random = {
						chance = 25
						set_country_flag = LBA_AI_go_salafist_caliphate
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_assassinate_gaddafi
		icon = assassinate_gaddafi

		x = -2
		y = 3
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_peace_with_lifg }
		mutually_exclusive = { focus = LBA_grand_mufti_rule }

		search_filters = { FOCUS_FILTER_POLITICAL }

		available = { fascism > 0.10 }

		bypass = { salafist_caliphate_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_assassinate_gaddafi"
			set_leader = yes
			set_temp_variable = { coup_chance = { value = party_popularity@fascism multiply = 2 } }
			clamp_temp_variable = { var = coup_chance max = 1 }
			set_temp_variable = { coup_fail_chance = 1 }
			subtract_from_temp_variable = { coup_fail_chance = coup_chance }
			random_list = {
				coup_chance = {
					set_temp_variable = { rul_party_temp = 11 }
					change_ruling_party_effect = yes
					hidden_effect = {
						LBA_hasan_al_kabir_al_gaddafi = {
							remove_unit_leader = yes
						}
						LBA_khamis_gaddafi_dummy = {
							remove_unit_leader = yes
						}
					}
				}
				coup_fail_chance = {
					start_civil_war = {
						ideology = ROOT
						ruling_party = fascism
						keep_all_characters = yes
						size = coup_fail_chance
						PREV = {
							hidden_effect = {
								LBA_hasan_al_kabir_al_gaddafi = {
									set_nationality = PREV.PREV
								}
								LBA_abdul_fatah_younis = {
									set_nationality = PREV.PREV
								}
								LBA_ahmed_oun = {
									set_nationality = PREV.PREV
								}
								LBA_abu_bakr_yunis_jabr = {
									set_nationality = PREV.PREV
								}
								LBA_muhammad_muammar_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_saif_al_islam_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_al_saadi_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_mutassim_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_hannibal_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_ayesha_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_saif_al_arab_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
								LBA_khamis_gaddafi_dummy = {
									set_nationality = PREV.PREV
								}
							}
						}
					}
				}
			}
			set_country_flag = LBA_fall_of_gaddafi
			set_country_flag = muammar_gaddafi_dead
			hidden_effect = { news_event = { id = LibyaFocusNews.1 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				NOT = { has_country_flag = LBA_AI_go_salafist_caliphate }
			}
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_mujahideen_of_libya
		icon = Generic_Volunteer_Corps

		x = -3
		y = 4
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_assassinate_gaddafi }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_mujahideen_of_libya"
			add_ideas = LBA_mujahideen_of_libya_idea
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_old_taliban_friends
		icon = tal_soldier

		x = -4
		y = 5
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_mujahideen_of_libya }

		search_filters = { FOCUS_FILTER_INFLUENCE }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_old_taliban_friends"
			if = {
				limit = { country_exists = TAL }
				set_temp_variable = { influence_target = TAL }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
			}
			else = {
				add_manpower = 2250
				add_equipment_to_stockpile = {
					type = infantry_weapons_1
					amount = 1000
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = Anti_tank_0
					amount = 50
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = Anti_Air_0
					amount = 50
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = cnc_equipment_1
					amount = 100
					producer = SOV
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_mujahideen_legion
		icon = terrorism

		x = -2
		y = 5
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_mujahideen_of_libya }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_mujahideen_legion"
			swap_ideas = {
				add_idea = LBA_mujahideen_of_libya_idea_2
				remove_idea = LBA_mujahideen_of_libya_idea
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_call_back_veterans
		icon = general_staff

		x = -3
		y = 6
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = {
			focus = LBA_old_taliban_friends
			focus = LBA_mujahideen_legion
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_call_back_veterans"
			if = {
				limit = { has_character = LBA_abu_laith_al_libi }
				LBA_abu_laith_al_libi = {
					set_nationality = ROOT
					add_field_marshal_role = {
						skill = 4
						traits = { guerrilla_leader_trait offensive_doctrine artillery_officer LBA_unit_leader_trait_tripolitania }
						attack_skill = 4
						defense_skill = 4
						planning_skill = 3
						logistics_skill = 2
					}
				}
			}
			if = {
				limit = { has_character = LBA_abu_yahya_al_libi }
				LBA_abu_yahya_al_libi = {
					set_nationality = ROOT
					add_corps_commander_role = {
						skill = 3
						traits = { inflexible_strategist commando LBA_unit_leader_trait_fezzan }
						attack_skill = 6
						defense_skill = 1
						planning_skill = 1
						logistics_skill = 2
					}
				}
			}
			if = {
				limit = { has_character = LBA_atiyah_abd_al_rahman }
				LBA_atiyah_abd_al_rahman = {
					set_nationality = ROOT
					add_corps_commander_role = {
						skill = 3
						traits = { guerrilla_officer desperate_defender guerrilla_leader_trait LBA_unit_leader_trait_tripolitania }
						attack_skill = 1
						defense_skill = 4
						planning_skill = 2
						logistics_skill = 3
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ISLAMIC_CALIPHATE_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_caliphate_path = yes }
		}
	}

	focus = {
		id = LBA_unity_in_islam
		icon = Generic_Religious_Unity

		x = 0
		y = 4
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = {
			focus = LBA_assassinate_gaddafi
			focus = LBA_grand_mufti_rule
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		bypass = {
			custom_trigger_tooltip = {
				tooltip = LBA_tribalism_disabled_tt
				has_country_flag = LBA_tribalism_disabled
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_unity_in_islam"
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_work_together_with_brotherhood
		icon = ummah

		x = 0
		y = 5
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_unity_in_islam }

		search_filters = { FOCUS_FILTER_POLITICAL }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_work_together_with_brotherhood"
			set_temp_variable = { party_index = 12 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			if = {
				limit = { neutrality_neutral_muslim_brotherhood_are_in_coalition = no }
				set_temp_variable = { add_col_one = 12 }
				add_coalition_members_effect = yes
			}
			if = {
				limit = { has_idea = muslim_brotherhood_crackdown }
				remove_ideas = muslim_brotherhood_crackdown
			}
			custom_effect_tooltip = LBA_work_together_with_brotherhood_tt
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_hardline_sharia_law
		icon = sharia_law

		x = -1
		y = 6
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_work_together_with_brotherhood }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_INTERNAL_FACTION }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_hardline_sharia_law"
			set_temp_variable = { temp_modify_social_con_government = 20 }
			modify_social_conservatism_government = yes
			if = {
				limit = { has_country_flag = alcohol }
				clr_country_flag = alcohol
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_alcohol
			}
			if = {
				limit = { has_country_flag = relaxed_dress_code }
				clr_country_flag = relaxed_dress_code
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_dress_code
			}
			if = {
				limit = { has_country_flag = banned_burqa }
				clr_country_flag = banned_burqa
			}
			if = {
				limit = { has_country_flag = banned_head_scarf }
				clr_country_flag = banned_head_scarf
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_banned_head_scarf
			}
			if = {
				limit = { has_country_flag = same_sex_decriminalized }
				clr_country_flag = same_sex_decriminalized
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_same_sex_decriminalized
			}
			if = {
				limit = { has_idea = LBA_women_enfrachised }
				remove_ideas = LBA_women_enfrachised
			}
			if = {
				limit = {
					NOT = { has_idea = the_ulema }
				}
				if = {
					limit = { has_idea = intelligence_community }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = intelligence_community
					}
				}
				else_if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = fossil_fuel_industry
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_de_westernisation
		icon = politcal_unrest_usa
		allow_branch = {
			country_exists = LBA
		}

		x = 1
		y = 6
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_work_together_with_brotherhood }

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_de_westernisation"
			add_popularity = {
				ideology = democratic
				popularity = -0.15
			}
			set_temp_variable = { percent_change = 5 }
			change_domestic_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_grand_mufti_rule
		icon = control_judiciary

		x = -2
		y = 4
		relative_position_id = LBA_islam_over_nation

		cost = 10

		prerequisite = { focus = LBA_appoint_grand_mufti }
		mutually_exclusive = { focus = LBA_assassinate_gaddafi }

		search_filters = { FOCUS_FILTER_POLITICAL }

		available = { fascism > 0.30 }

		bypass = { salafist_kingdom_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_grand_mufti_rule"
			set_temp_variable = { rul_party_temp = 10 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Sadiq Al-Ghariani"
				picture = "Sadiq_Al_Ghariani.dds"
				ideology = Kingdom
				traits = {
					salafist_Kingdom
					grand_mufti
				}
			}
			set_country_flag = LBA_fall_of_gaddafi
			hidden_effect = { news_event = { id = LibyaFocusNews.2 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				NOT = { has_country_flag = LBA_AI_go_salafist_kingdom }
			}
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_denounce_green_book
		icon = Generic_Ripping_Papers

		x = 3
		y = 4
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_grand_mufti_rule }

		search_filters = { FOCUS_FILTER_POLITICAL }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_denounce_green_book"
			if = {
				limit = { has_dynamic_modifier = { modifier = LBA_new_green_book } }
				remove_dynamic_modifier = { modifier = LBA_new_green_book }
			}
			add_popularity = {
				ideology = communism
				popularity = -0.10
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_tanasoh_tv
		icon = television

		x = 2
		y = 5
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_denounce_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tanasoh_tv"
			add_ideas = LBA_tanasoh_tv_idea
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_supreme_revolutionaries_council
		icon = Generic_Factionalism

		x = 4
		y = 5
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_denounce_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_supreme_revolutionaries_council"
			add_ideas = LBA_supreme_revolutionaries_council_idea
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_anti_saudi_coalition
		icon = home_defense

		x = 3
		y = 6
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = {
			focus = LBA_supreme_revolutionaries_council
			focus = LBA_tanasoh_tv
		}

		search_filters = { FOCUS_FILTER_INFLUENCE }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_anti_saudi_coalition"
			set_temp_variable = { influence_target = QAT }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_GRAND_MUFTI_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_mufti_path = yes }
		}
	}

	focus = {
		id = LBA_join_sahel_war
		icon = Influence_North_Africa

		x = 0
		y = 7
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = {
			focus = LBA_anti_saudi_coalition
			focus = LBA_hardline_sharia_law
			focus = LBA_de_westernisation
			focus = LBA_call_back_veterans
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_join_sahel_war"
			add_war_support = 0.10
			add_named_threat = {
				threat = 5
				name = LBA_join_sahel_war_threat
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_our_brothers_in_chad
		icon = coalition_army

		x = -3
		y = 8
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_join_sahel_war }

		search_filters = { FOCUS_FILTER_MANPOWER }

		available = { has_government = fascism }

		bypass = {
			OR = {
				NOT = { country_exists = CHA }
				CHA = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_our_brothers_in_chad"
			custom_effect_tooltip = LBA_our_brothers_in_chad_tt
			hidden_effect = { load_oob = "LBA_chadian_insurgents" }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_topple_chad
		icon = combined_arms

		x = -3
		y = 9
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_our_brothers_in_chad }
		will_lead_to_war_with = CHA

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
			327 = {
				owner = {
					NOT = { original_tag = ROOT }
					NOT = { is_subject_of = ROOT }
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_topple_chad"
			580 = { add_claim_by = ROOT }
			327 = {
				add_claim_by = ROOT
				controller = {
					ROOT = {
						set_temp_variable = { wargoal_on = PREV }
						add_threat_from_wargoal_effect = yes
						create_wargoal = {
							target = PREV
							type = take_state_focus
							generator = { 327 }
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_our_brothers_in_niger
		icon = conscription

		x = -1
		y = 8
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_join_sahel_war }

		search_filters = { FOCUS_FILTER_MANPOWER }

		available = { has_government = fascism }

		bypass = {
			OR = {
				NOT = { country_exists = NGR }
				NGR = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_our_brothers_in_niger"
			custom_effect_tooltip = LBA_our_brothers_in_niger_tt
			hidden_effect = { load_oob = "LBA_nigerien_insurgents" }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_topple_niger
		icon = counter

		x = -1
		y = 9
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_our_brothers_in_niger }
		will_lead_to_war_with = NGR

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
			1108 = {
				owner = {
					NOT = { original_tag = ROOT }
					NOT = { is_subject_of = ROOT }
				}
			}
		}

		bypass = {
			OR = {
				NOT = { country_exists = NGR }
				NGR = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_topple_niger"
			330 = { add_claim_by = ROOT }
			329 = { add_claim_by = ROOT }
			1108 = {
				add_claim_by = ROOT
				controller = {
					ROOT = {
						set_temp_variable = { wargoal_on = PREV }
						add_threat_from_wargoal_effect = yes
						create_wargoal = {
							target = PREV
							type = take_state_focus
							generator = { 1108 }
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_ally_with_boko_haram
		icon = isis_tahrir_alliance

		x = -2
		y = 10
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_topple_niger }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			has_government = fascism
			NIG = { salafist_caliphate_are_in_power = no }
			NOT = { has_completed_focus = LBA_invade_nigeria }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ally_with_boko_haram"
			NIG = { country_event = LibyaFocus.1 }
			custom_effect_tooltip = LBA_ally_with_boko_haram_tt
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_invade_nigeria
		icon = attack_nigeria

		x = -1
		y = 11
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = {
			focus = LBA_ally_with_boko_haram
			focus = LBA_topple_niger
		}
		will_lead_to_war_with = NIG

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
			OR = {
				is_neighbor_of = NIG
				any_subject_country = {
					is_neighbor_of = NIG
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invade_nigeria"
			if = {
				limit = {
					has_completed_focus = LBA_ally_with_boko_haram
					NIG = { salafist_caliphate_are_in_power = no }
				}
				NIG = { country_event = { id = LibyaFocus.2 days = 1 } }
				custom_effect_tooltip = TT_IF_THEY_ACCEPT
				custom_effect_tooltip = LBA_nigeria_boko_haram_response_tt
			}
			else = {
				declare_war_on = {
					target = NIG
					type = annex_everything
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_our_brothers_in_algeria
		icon = Generic_Army_Focus_Red02

		x = 1
		y = 8
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_join_sahel_war }

		search_filters = { FOCUS_FILTER_MANPOWER }

		available = { has_government = fascism }

		bypass = {
			OR = {
				NOT = { country_exists = ALG }
				ALG = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_our_brothers_in_algeria"
			custom_effect_tooltip = LBA_our_brothers_in_algeria_tt
			hidden_effect = { load_oob = "LBA_algerian_insurgents" }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_topple_algeria
		icon = Generic_Barricade

		x = 1
		y = 9
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_our_brothers_in_algeria }
		will_lead_to_war_with = ALG

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
			381 = {
				owner = {
					NOT = { original_tag = ROOT }
					NOT = { is_subject_of = ROOT }
				}
			}
		}

		bypass = {
			OR = {
				NOT = { country_exists = ALG }
				ALG = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_topple_algeria"
			381 = { add_claim_by = ROOT }
			382 = { add_claim_by = ROOT }
			394 = { add_claim_by = ROOT }
			379 = { add_claim_by = ROOT }
			381 = {
				controller = {
					ROOT = {
						set_temp_variable = { wargoal_on = PREV }
						add_threat_from_wargoal_effect = yes
						create_wargoal = {
							target = PREV
							type = take_state_focus
							generator = { 381 }
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_infiltrate_mali
		icon = Generic_Invasion

		x = 1
		y = 10
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = {
			focus = LBA_topple_niger
			focus = LBA_topple_algeria
		}
		will_lead_to_war_with = MAL

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MANPOWER }

		available = {
			is_subject = no
			has_government = fascism
			OR = {
				is_neighbor_of = MAL
				any_subject_country = {
					is_neighbor_of = MAL
				}
			}
			366 = {
				owner = {
					NOT = { original_tag = ROOT }
					NOT = { is_subject_of = ROOT }
				}
			}
		}

		bypass = {
			OR = {
				NOT = { country_exists = MAL }
				MAL = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_infiltrate_mali"
			if = {
				limit = {
					OR = {
						owns_state = 366
						AND = {
						MAL = {
							is_subject_of = ROOT
							owns_state = 366
						}
						}
					}
				}
				custom_effect_tooltip = LBA_our_brothers_in_mali_east_tt
				hidden_effect = { load_oob = "LBA_malian_insurgents_east" }
			}
			if = {
				limit = {
					OR = {
						owns_state = 381
						AND = {
						ALG = {
							is_subject_of = ROOT
							owns_state = 381
						}
						}
					}
				}
				custom_effect_tooltip = LBA_our_brothers_in_mali_north_tt
				hidden_effect = { load_oob = "LBA_malian_insurgents_east" }
			}
			366 = { add_claim_by = ROOT }
			187 = { add_claim_by = ROOT }
			1167 = { add_claim_by = ROOT }
			1164 = { add_claim_by = ROOT }
			1165 = { add_claim_by = ROOT }
			1163 = { add_claim_by = ROOT }
			366 = {
				controller = {
					ROOT = {
						set_temp_variable = { wargoal_on = PREV }
						add_threat_from_wargoal_effect = yes
						create_wargoal = {
							target = PREV
							type = take_state_focus
							generator = { 366 }
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_expand_to_mauritania
		icon = Generic_Invasion2

		x = 1
		y = 11
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_infiltrate_mali }
		will_lead_to_war_with = MAU

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
			OR = {
				is_neighbor_of = MAU
				any_subject_country = {
					is_neighbor_of = MAU
				}
			}
			370 = {
				owner = {
					NOT = { original_tag = ROOT }
					NOT = { is_subject_of = ROOT }
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_to_mauritania"
			370 = { add_claim_by = ROOT }
			413 = { add_claim_by = ROOT }
			370 = {
				controller = {
					ROOT = {
						set_temp_variable = { wargoal_on = PREV }
						add_threat_from_wargoal_effect = yes
						create_wargoal = {
							target = PREV
							type = take_state_focus
							generator = { 370 }
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_islamic_state_of_sahel
		icon = isis_allegiance

		x = 3
		y = 8
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_join_sahel_war }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_government = fascism }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_islamic_state_of_sahel"
			unlock_decision_tooltip = libya_core_northern_chad
			unlock_decision_tooltip = libya_core_northern_niger
			unlock_decision_tooltip = libya_core_algerian_sahara
			unlock_decision_tooltip = libya_core_northern_mali
			unlock_decision_tooltip = libya_core_mauritanian_sahara
			add_stability = 0.05
			add_war_support = 0.05
			effect_tooltip = { set_cosmetic_tag = ISIS_SAHEL_fascism }
			clr_country_flag = dynamic_flag
			clr_country_flag = dynamic_rebel_flag
			hidden_effect = { set_cosmetic_tag = ISIS_SAHEL }
			hidden_effect = { news_event = { id = LibyaFocusNews.3 hours = 6 } }
			custom_effect_tooltip = LBA_islamic_state_of_sahel_tt
		}

		ai_will_do = {
			base = 15
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_destroy_last_crusaders
		icon = islamic_sword_03

		x = 5
		y = 8
		relative_position_id = LBA_peace_with_lifg

		cost = 5

		prerequisite = { focus = LBA_join_sahel_war }
		will_lead_to_war_with = MLT

		search_filters = { FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			has_government = fascism
		}

		bypass = {
			OR = {
				owns_state = 85
				MLT = { is_subject_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_destroy_last_crusaders"
			set_temp_variable = { wargoal_on = MLT }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = MLT
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
			modifier = {
				factor = 0
				is_subject = yes
			}
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_malta_repopulation_campaign
		icon = NIG_fifty_fifty

		x = 4
		y = 9
		relative_position_id = LBA_peace_with_lifg

		cost = 7

		prerequisite = { focus = LBA_destroy_last_crusaders }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			has_government = fascism
			owns_state = 85
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_malta_repopulation_campaign"
			85 = {
				add_dynamic_modifier = {
					modifier = LBA_immigration_target
					days = 360
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	focus = {
		id = LBA_malta_province
		icon = overrule #TODO NEED UNIQUE GRAPHICS

		x = 4
		y = 10
		relative_position_id = LBA_peace_with_lifg

		cost = 10

		prerequisite = { focus = LBA_malta_repopulation_campaign }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			has_government = fascism
			owns_state = 85
			85 = {
				NOT = { has_dynamic_modifier = { modifier = LBA_immigration_target } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_malta_province"
			add_state_core = 85
			85 = {
				set_state_name = LBA_malta_islamic_name
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_islamist_path = yes }
			modifier = { factor = 0 LBA_ai_not_islamist_path = yes }
		}
	}

	##Ba'athist Branch
	focus = {
		id = LBA_baathism_tunisia
		icon = align_to_tunisia

		x = -2
		y = 4
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_appoint_baathist_advisor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = TUN
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_tunisia"
			TUN = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = TUN }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_foreign_influence_effect = 0.05 tooltip = foreign_influence_modifier_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = TUN
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_algeria
		icon = align_to_algeria

		x = 0
		y = 4
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_appoint_baathist_advisor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = ALG
		}

		bypass = { NOT = { country_exists = ALG } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_algeria"
			ALG = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = ALG }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = IRQ }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_foreign_influence_effect = 0.05 tooltip = foreign_influence_modifier_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = ALG
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_mauritania
		icon = Generic_Intelligence_Gathering

		x = 0
		y = 5
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = { focus = LBA_baathism_algeria }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = MAU
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_mauritania"
			MAU = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = MAU }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_timed_idea = {
				idea = LBA_mauritanian_military_infiltrated
				days = 365
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = MAU
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_egypt
		icon = align_to_egypt

		x = 2
		y = 4
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_appoint_baathist_advisor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = EGY
		}

		bypass = { NOT = { country_exists = EGY } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_egypt"
			EGY = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = EGY }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_resource_export_effect = 0.05 tooltip = resource_export_multiplier_modifier_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = EGY
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_levant
		icon = levant_and_anatolia

		x = 2
		y = 5
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_baathism_egypt }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			OR = {
				country_exists = PAL
				country_exists = JOR
			}
		}

		bypass = {
			NOT = { country_exists = PAL }
			NOT = { country_exists = JOR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_levant"
			JOR = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = JOR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			PAL = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = PAL }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_research_speed_effect = 0.05 tooltip = research_speed_factor_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					has_war_with = PAL
					has_war_with = JOR
				}
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_iraq_kuwait
		icon = align_to_iraq

		x = 0
		y = 6
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_baathism_levant }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = IRQ
		}

		bypass = { NOT = { country_exists = IRQ } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_iraq_kuwait"
			IRQ = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = IRQ }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_foreign_influence_effect = 0.05 tooltip = foreign_influence_modifier_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = IRQ
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_bahrain
		icon = anti_immigration1

		x = 0
		y = 7
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_baathism_iraq_kuwait }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = BHR
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_bahrain"
			BHR = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = BHR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_population_effect = 0.05 tooltip = monthly_population_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = BHR
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_lebanon
		icon = align_to_lebanon2

		x = 2
		y = 6
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_baathism_levant }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = LEB
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_lebanon"
			LEB = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = LEB }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			HEZ = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = HEZ }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = LEB
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_sudan
		icon = align_to_sudan

		x = 4
		y = 4
		relative_position_id = LBA_nation_over_islam

		cost = 10

		prerequisite = { focus = LBA_appoint_baathist_advisor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = SUD
		}

		bypass = { NOT = { country_exists = SUD } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_sudan"
			SUD = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = SUD }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = libya_baathism_dynamic_modifier }
			add_to_variable = { libya_baathism_resource_export_effect = 0.05 tooltip = resource_export_multiplier_modifier_tt }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = SUD
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_baathism_yemen
		icon = align_to_yemen

		x = 4
		y = 5
		relative_position_id = LBA_nation_over_islam

		cost = 7

		prerequisite = {
			focus = LBA_baathism_sudan
			focus = LBA_baathism_egypt
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			nationalist_fascists_are_in_power_or_coalition = yes
			country_exists = YEM
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_baathism_yemen"
			YEM = { custom_effect_tooltip = LBA_baathism_uar_tt }
			set_temp_variable = { influence_target = YEM }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = YEM
			}
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	#Revise the Green Book/Political Reform
	focus = {
		id = LBA_revise_green_book
		icon = qaddafi_yem

		x = 22
		y = 1

		cost = 1

		prerequisite = {
			focus = LBA_crush_lifg
			focus = LBA_ignore_lifg
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { is_ruled_by_a_gaddafi = yes }

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_revise_green_book"
			hidden_effect = { add_dynamic_modifier = { modifier = LBA_new_green_book } }
			custom_effect_tooltip = { localization_key = adds_dynamic_modifier_tt MODIFIER = LBA_new_green_book }
			set_variable = { libya_green_book_reform = 0 }
			custom_effect_tooltip = LBA_revise_green_book_tt
			custom_effect_tooltip = LBA_revise_green_book_current_reform_value
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_1_1
		icon = autonomy

		x = -3
		y = 1
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = { focus = LBA_revise_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_1_1"
			country_event = LibyaFocus.4
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_1_3
		icon = Election_graphics

		x = -1
		y = 1
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = { focus = LBA_revise_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_1_3"
			country_event = LibyaFocus.5
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_1_8
		icon = Generic_Disguise

		x = 1
		y = 1
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = { focus = LBA_revise_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_1_8"
			country_event = LibyaFocus.6
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_1_10
		icon = liberal_press

		x = 3
		y = 1
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = { focus = LBA_revise_green_book }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_1_10"
			country_event = LibyaFocus.7
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_2_13
		icon = house

		x = -2
		y = 2
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_1_1
			focus = LBA_green_book_part_1_3
			focus = LBA_green_book_part_1_8
			focus = LBA_green_book_part_1_10
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_2_13"
			country_event = LibyaFocus.8
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_2_14
		icon = focus_trade_republic

		x = 0
		y = 2
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_1_1
			focus = LBA_green_book_part_1_3
			focus = LBA_green_book_part_1_8
			focus = LBA_green_book_part_1_10
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_2_14"
			country_event = LibyaFocus.9
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_2_16
		icon = land_reform

		x = 2
		y = 2
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_1_1
			focus = LBA_green_book_part_1_3
			focus = LBA_green_book_part_1_8
			focus = LBA_green_book_part_1_10
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_2_16"
			country_event = LibyaFocus.10
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_3_21
		icon = checkmate

		x = -3
		y = 3
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_2_13
			focus = LBA_green_book_part_2_14
			focus = LBA_green_book_part_2_16
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_3_21"
			country_event = LibyaFocus.11
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_3_24
		icon = refugees

		x = -1
		y = 3
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_2_13
			focus = LBA_green_book_part_2_14
			focus = LBA_green_book_part_2_16
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_3_24"
			country_event = LibyaFocus.12
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_3_25
		icon = Generic_African_Soldier

		x = 1
		y = 3
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_2_13
			focus = LBA_green_book_part_2_14
			focus = LBA_green_book_part_2_16
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_3_25"
			country_event = LibyaFocus.13
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_green_book_part_3_28
		icon = focus_generic_horse_studs

		x = 3
		y = 3
		relative_position_id = LBA_revise_green_book

		cost = 5

		prerequisite = {
			focus = LBA_green_book_part_2_13
			focus = LBA_green_book_part_2_14
			focus = LBA_green_book_part_2_16
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_completed_focus = LBA_release_new_green_book }
		}

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_book_part_3_28"
			country_event = LibyaFocus.14
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_release_new_green_book
		icon = Green_book

		x = 0
		y = 4
		relative_position_id = LBA_revise_green_book

		cost = 7

		prerequisite = {
			focus = LBA_green_book_part_3_21
			focus = LBA_green_book_part_3_24
			focus = LBA_green_book_part_3_25
			focus = LBA_green_book_part_3_28
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { is_ruled_by_a_gaddafi = yes }

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_release_new_green_book"
			if = {
				limit = { has_country_leader_with_trait = political_flip_flopper }
				remove_country_leader_trait = political_flip_flopper
				newline = yes
			}
			custom_effect_tooltip = LBA_release_new_green_book_tt
			hidden_effect = {
				add_to_variable = { LBA_new_green_book_emerging_drift_effect = 0.10 }
			}
			if = {
				limit = { check_variable = { libya_green_book_reform > 3 } }
				complete_national_focus = LBA_empower_peoples_congresses
			}
			else_if = {
				limit = { check_variable = { libya_green_book_reform < -3 } }
				complete_national_focus = LBA_empower_revolutionary_committees
			}
			else = {
				complete_national_focus = LBA_retain_political_balance
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_empower_peoples_congresses
		icon = democratic_stability

		x = -2
		y = 1
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_release_new_green_book }
		mutually_exclusive = {
			focus = LBA_retain_political_balance
			focus = LBA_empower_revolutionary_committees
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_INTERNAL_FACTION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_empower_peoples_congresses"
			if = {
				limit = { has_idea = LBA_general_peoples_congress }
				swap_ideas = {
					add_idea = LBA_empowered_peoples_congress
					remove_idea = LBA_general_peoples_congress
				}
			}
			else = {
				add_ideas = LBA_empowered_peoples_congress
			}
			if = {
				limit = {
					NOT = { has_idea = labour_unions }
				}
				if = {
					limit = { has_idea = intelligence_community }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = intelligence_community
					}
				}
				else_if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = fossil_fuel_industry
					}
				}
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.4 hours = 6 } }
			set_variable = { election_threshold = 0.01 }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 22 }
				}
			}
			modifier = {
				factor = 1.8
				OR = {
					check_variable = { ruling_party = 2 }
					check_variable = { ruling_party = 3 }
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 17 }
					check_variable = { ruling_party = 18 }
				}
			}
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_retain_political_balance
		icon = stability

		x = 0
		y = 1
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_release_new_green_book }
		mutually_exclusive = {
			focus = LBA_empower_peoples_congresses
			focus = LBA_empower_revolutionary_committees
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_INTERNAL_FACTION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_retain_political_balance"
			if = {
				limit = { NOT = { has_idea = LBA_general_peoples_congress } }
				add_ideas = LBA_general_peoples_congress
			}
			set_temp_variable = { temp_opinion = 5 }
			change_fossil_fuel_industry_opinion = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_military_opinion = yes
			set_temp_variable = { temp_opinion = 5 }
			change_intelligence_community_opinion = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 1 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 17 }
					check_variable = { ruling_party = 18 }
				}
			}
			modifier = {
				factor = 1.8
				OR = {
					western_autocrats_are_in_power = yes
					check_variable = { ruling_party = 5 }
					check_variable = { ruling_party = 6 }
					check_variable = { ruling_party = 7 }
					check_variable = { ruling_party = 8 }
					check_variable = { ruling_party = 10 }
					check_variable = { ruling_party = 13 }
					check_variable = { ruling_party = 15 }
					check_variable = { ruling_party = 20 }
					check_variable = { ruling_party = 23 }
				}
			}
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_empower_revolutionary_committees
		icon = political_arrests

		x = 2
		y = 1
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_release_new_green_book }
		mutually_exclusive = {
			focus = LBA_empower_peoples_congresses
			focus = LBA_retain_political_balance
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_empower_revolutionary_committees"
			if = {
				limit = { has_idea = LBA_general_peoples_congress }
				swap_ideas = {
					add_idea = LBA_empowered_revolutionary_committees
					remove_idea = LBA_general_peoples_congress
				}
			}
			else = {
				add_ideas = LBA_empowered_revolutionary_committees
			}
			if = {
				limit = { has_idea = police_01 }
				swap_ideas = {
					add_idea = police_02
					remove_idea = police_01
				}
			}
			else_if = {
				limit = { has_idea = police_02 }
				swap_ideas = {
					add_idea = police_03
					remove_idea = police_02
				}
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.5 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 1 }
					check_variable = { ruling_party = 2 }
					check_variable = { ruling_party = 3 }
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 16 }
					check_variable = { ruling_party = 17 }
					check_variable = { ruling_party = 18 }
					check_variable = { ruling_party = 23 }
				}
			}
			modifier = {
				factor = 1.8
				OR = {
					check_variable = { ruling_party = 4 }
					check_variable = { ruling_party = 9 }
					check_variable = { ruling_party = 11 }
					check_variable = { ruling_party = 19 }
					check_variable = { ruling_party = 21 }
					check_variable = { ruling_party = 22 }
				}
			}
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	#Intermediate politics
	focus = {
		id = LBA_allow_political_parties
		icon = examine_foreign_laws

		x = -3
		y = 2
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = { focus = LBA_empower_peoples_congresses }

		search_filters = { FOCUS_FILTER_POLITICAL }

		bypass = { has_country_flag = LBA_fall_of_gaddafi }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_allow_political_parties"
			set_country_flag = LBA_democratic_reform
			custom_effect_tooltip = LBA_allow_political_parties_tt
			clr_country_flag = partyall_banned
			hidden_effect = {
				for_loop_effect = {
					start = 0
					end = 24
					value = v
					set_variable = { party_banned_array^v = 0 }
				}
				update_party_name = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_grassroots_democracy
		icon = election2

		x = -3
		y = 3
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_allow_political_parties }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_grassroots_democracy"
			add_ideas = LBA_grassroots_democracy_idea
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_allow_royal_family_return
		icon = Generic_Crown_Box

		x = -1
		y = 2
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = {
			focus = LBA_empower_peoples_congresses
			focus = LBA_retain_political_balance
		}
		mutually_exclusive = { focus = LBA_hunt_down_royals }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		bypass = { nationalist_monarchists_are_in_power_or_coalition = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_allow_royal_family_return"
			add_ideas = LBA_royal_family_returned
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_compensation_to_royals
		icon = coins

		x = -1
		y = 3
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_allow_royal_family_return }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		bypass = { nationalist_monarchists_are_in_power_or_coalition = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_compensation_to_royals"
			swap_ideas = {
				remove_idea = LBA_royal_family_returned
				add_idea = LBA_royal_family_returned_2
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_hunt_down_royals
		icon = Generic_Execute_Dissidents02

		x = 1
		y = 2
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = {
			focus = LBA_empower_revolutionary_committees
			focus = LBA_retain_political_balance
		}
		mutually_exclusive = { focus = LBA_allow_royal_family_return }

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_monarchists_are_in_power_or_coalition = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_hunt_down_royals"
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = { value = party_pop_array^23 multiply = -1 } }
			set_temp_variable = { temp_outlook_increase = party_popularity_increase }
			change_relative_party_popularity = yes
			custom_effect_tooltip = LBA_hunt_down_royals_tt
			hidden_effect = {
				random_list = {
					20 = {
						set_country_flag = LBA_assassin_meeting_bomb
					}
					20 = {
						set_country_flag = LBA_assassin_drive_by
					}
					20 = {
						set_country_flag = LBA_assassin_plane_bomb
					}
					20 = {
						set_country_flag = LBA_assassin_plane_crash
					}
				}
			}
			random_list = {
				90 = {
					modifier = {
						factor = 0.778
						has_idea = police_02
					}
					modifier = {
						factor = 0.556
						has_idea = police_03
					}
					modifier = {
						factor = 0.333
						has_idea = police_04
					}
					modifier = {
						factor = 0.111
						has_idea = police_05
					}
					country_event = { id = LibyaFocus.17 hours = 6 }
				}
				10 = {
					modifier = {
						factor = 3
						has_idea = police_02
					}
					modifier = {
						factor = 5
						has_idea = police_03
					}
					modifier = {
						factor = 7
						has_idea = police_04
					}
					modifier = {
						factor = 9
						has_idea = police_05
					}
					country_event = { id = LibyaFocus.15 hours = 6 }
				}
			}
			newline = yes
			if = {
				limit = { has_idea = police_02 }
				random = {
					chance = 45
					ENG = { country_event = { id = LibyaFocus.19 days = 14 } }
					custom_effect_tooltip = TT_IF_THEY_ACCEPT
					custom_effect_tooltip = LBA_royal_assassination_discovery_tt
				}
			}
			else_if = {
				limit = { has_idea = police_03 }
				random = {
					chance = 30
					ENG = { country_event = { id = LibyaFocus.19 days = 14 } }
				}
			}
			else_if = {
				limit = { has_idea = police_04 }
				random = {
					chance = 15
					ENG = { country_event = { id = LibyaFocus.19 days = 14 } }
				}
			}
			else_if = {
				limit = { has_idea = police_05 }
				random = {
					chance = 0
					ENG = { country_event = { id = LibyaFocus.19 days = 14 } }
				}
			}
			else = {
				random = {
					chance = 60
					ENG = { country_event = { id = LibyaFocus.19 days = 14 } }
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ruling_party = 23 }
			}
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_royal_wealth
		icon = pound_sterling

		x = 1
		y = 3
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_hunt_down_royals }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { nationalist_monarchists_are_in_power_or_coalition = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_royal_wealth"
			add_ideas = LBA_confiscated_royal_wealth
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_peoples_intelligence_agency
		icon = secret_police

		x = 4
		y = 2
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_empower_revolutionary_committees }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_peoples_intelligence_agency"
			if = {
				limit = { has_intelligence_agency = yes }
				set_temp_variable = { temp_opinion = 10 }
				change_intelligence_community_opinion = yes
			}
			else = {
				create_intelligence_agency = {
					name = "Mukhabarat el-Jamahiriya"
					icon = GFX_intelligence_agency_logo_lba
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_trust_revolutionary_guard
		icon = general_staff

		x = 3
		y = 3
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = { focus = LBA_peoples_intelligence_agency }
		mutually_exclusive = { focus = LBA_trust_army }

		search_filters = { FOCUS_FILTER_INTERNAL_FACTION }

		available = {
			is_ruled_by_a_gaddafi = yes
			OR = {
				has_idea = LBA_revolutionary_guard_corps
				has_idea = LBA_revolutionary_guard_corps_expanded
				has_idea = LBA_revolutionary_guard_corps_logistics
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_trust_revolutionary_guard"
			set_temp_variable = { temp_opinion = 10 }
			change_intelligence_community_opinion = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ruling_party = 22 }
			}
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_trust_army
		icon = Generic_Army_Focus_Red02

		x = 5
		y = 3
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = { focus = LBA_peoples_intelligence_agency }
		mutually_exclusive = { focus = LBA_trust_revolutionary_guard }

		search_filters = { FOCUS_FILTER_INTERNAL_FACTION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_trust_army"
			set_temp_variable = { temp_opinion = 10 }
			change_the_military_opinion = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_presidential_republic
		icon = blue_democracy

		x = -4
		y = 4
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_grassroots_democracy }
		mutually_exclusive = {
			focus = LBA_constitutional_monarch
			focus = LBA_the_real_monarch
			focus = LBA_fatherly_leader
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { NOT = { has_idea = LBA_aftermath_of_the_civil_war } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_presidential_republic"
			add_ideas = LBA_strong_president
			set_temp_variable = { election_year = global.year }
			subtract_from_temp_variable = { election_year = 2 }
			meta_effect = {
				text = {
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
						last_election = "[YEAR].[MONTH].1"
						election_frequency = 60
					}
				}
				YEAR = election_year
				MONTH = global.month
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_constitutional_monarch
		icon = focus_generic_improve_the_administration

		x = -2
		y = 4
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_grassroots_democracy }
		prerequisite = { focus = LBA_compensation_to_royals }
		mutually_exclusive = {
			focus = LBA_the_real_monarch
			focus = LBA_presidential_republic
			focus = LBA_fatherly_leader
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { NOT = { has_idea = LBA_aftermath_of_the_civil_war } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_constitutional_monarch"
			add_ideas = LBA_constitutional_monarchy
			set_temp_variable = { election_year = global.year }
			subtract_from_temp_variable = { election_year = 2 }
			meta_effect = {
				text = {
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
						last_election = "[YEAR].[MONTH].1"
						election_frequency = 48
					}
				}
				YEAR = election_year
				MONTH = global.month
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ruling_party = 1 }
			}
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_federation
		icon = Generic_Factionalism

		x = -5
		y = 5
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = { focus = LBA_presidential_republic }
		mutually_exclusive = { focus = LBA_unitary_state }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_federation"
			if = {
				limit = {
					NOT = { has_country_flag = LBA_tribalism_disabled }
				}
				custom_effect_tooltip = LBA_federation_tt
				hidden_effect = { lba_disable_tribalism = yes }
				set_country_flag = LBA_tribalism_disabled
			}
			else = {
				add_political_power = 200
			}
			set_cosmetic_tag = LBA_LIBYAN_FEDERATION
			clr_country_flag = dynamic_flag
			clr_country_flag = dynamic_rebel_flag
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ruling_party = 1 }
			}
			modifier = { factor = 1 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_minority_rights
		icon = Generic_Pawns

		x = -5
		y = 6
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_federation }

		search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_minority_rights"
			if = {
				limit = {
					NOT = { has_idea = landowners }
				}
				if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = landowners
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = landowners
						remove_idea = fossil_fuel_industry
					}
				}
				else_if = {
					limit = { has_idea = labour_unions }
					swap_ideas = {
						add_idea = landowners
						remove_idea = labour_unions
					}
				}
			}
			swap_ideas = {
				remove_idea = LBA_strong_president
				add_idea = LBA_minorities_granted_rights
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_unitary_state
		icon = authoritarian_democracy

		x = -3
		y = 5
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = {
			focus = LBA_presidential_republic
			focus = LBA_constitutional_monarch
		}
		mutually_exclusive = { focus = LBA_federation }

		search_filters = { FOCUS_FILTER_INTERNAL_FACTION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_unitary_state"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_presidential_republic }
					NOT = { has_completed_focus = LBA_constitutional_monarch }
				 }
				custom_effect_tooltip = LBA_unitary_state_tt
				effect_tooltip = {
					swap_ideas = {
						remove_idea = LBA_strong_president
						add_idea = LBA_unitary_presidential_republic
					}
				}
				newline = yes
				effect_tooltip = {
					swap_ideas = {
						remove_idea = LBA_constitutional_monarchy
						add_idea = LBA_unitary_constitutional_monarchy
					}
				}
			}
			else_if = {
				limit = { has_idea = LBA_strong_president }
				swap_ideas = {
					remove_idea = LBA_strong_president
					add_idea = LBA_unitary_presidential_republic
				}
			}
			else_if = {
				limit = { has_idea = LBA_constitutional_monarchy }
				swap_ideas = {
					remove_idea = LBA_constitutional_monarchy
					add_idea = LBA_unitary_constitutional_monarchy
				}
			}
			drop_cosmetic_tag = yes
			clear_variable = dynamic_flag_variant
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_minority_protection
		icon = concessions

		x = -3
		y = 6
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_unitary_state }

		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_minority_protection"
			add_ideas = LBA_minorities_protected
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_protect_toubou_and_tuaregs
		icon = generic_embrace_agrarian_society

		x = -4
		y = 7
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = {
			focus = LBA_minority_protection
			focus = LBA_minority_rights
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_protect_toubou_and_tuaregs"
			custom_effect_tooltip = LBA_protect_toubou_and_tuaregs_tt
			every_country = {
				limit = {
					NOT = {
						OR = {
							original_tag = ROOT
							original_tag = TUA
							original_tag = TIE
						}
					}
					any_owned_state = {
						OR = {
							is_core_of = TUA
							is_core_of = TIE
						}
					}
				}
				add_to_array = {
					array = global.libya_diplo_targets
					value = THIS.id
				}
				custom_effect_tooltip = LBA_current_valid_targets_tt
			}
			add_named_threat = {
				threat = 5
				name = LBA_protect_toubou_and_tuaregs_threat
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.6 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_LIBYAN_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_republic_path = yes }
		}
	}

	focus = {
		id = LBA_the_real_monarch
		icon = Generic_Crown_Kaiser

		x = 0
		y = 4
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = {
			focus = LBA_compensation_to_royals
			focus = LBA_royal_wealth
		}
		mutually_exclusive = {
			focus = LBA_constitutional_monarch
			focus = LBA_fatherly_leader
			focus = LBA_presidential_republic
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			OR = {
				has_completed_focus = LBA_compensation_to_royals
				AND = {
					has_completed_focus = LBA_royal_wealth
					has_completed_focus = LBA_strive_for_african_union
				}
			}
			NOT = { has_idea = LBA_aftermath_of_the_civil_war }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_the_real_monarch"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_compensation_to_royals }
					NOT = { has_completed_focus = LBA_royal_wealth }
				 }
				custom_effect_tooltip = LBA_the_real_monarch_tt_1
				effect_tooltip = {
					country_event = LibyaFocus.25
				}
				newline = yes
				custom_effect_tooltip = LBA_the_real_monarch_tt_2
				effect_tooltip = {
					add_country_leader_trait = king_of_kings_of_africa
				}
			}
			else_if = {
				limit = { has_completed_focus = LBA_compensation_to_royals }
				country_event = LibyaFocus.25
			}
			else_if = {
				limit = { has_completed_focus = LBA_royal_wealth }
				add_country_leader_trait = king_of_kings_of_africa
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_royal_unity
		icon = focus_generic_armed_neutrality

		x = -1
		y = 5
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = {
			focus = LBA_the_real_monarch
			focus = LBA_constitutional_monarch
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_royal_unity"
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_revive_senussi_order
		icon = al_sanuss_medal

		x = 0
		y = 6
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_royal_unity }
		prerequisite = { focus = LBA_the_real_monarch }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { nationalist_monarchists_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_revive_senussi_order"
			add_ideas = LBA_senussi_order
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_approach_nato
		icon = nato_nation

		x = -1
		y = 7
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_revive_senussi_order }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			nationalist_monarchists_are_in_power = yes
			NATO_currently_exists = yes
		}

		bypass = { NATO_currently_exists = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_nato"
			NATO_major_non_nato_ally_join = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_call_back_exiles
		icon = volunteers

		x = -2
		y = 8
		relative_position_id = LBA_release_new_green_book

		cost = 5

		prerequisite = {
			focus = LBA_protect_toubou_and_tuaregs
			focus = LBA_approach_nato
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_call_back_exiles"
			LBA_khalifa_haftar = {
				set_nationality = ROOT
			}
			if = {
				limit = {
					LBA_khalifa_haftar = { NOT = { is_field_marshal = yes } }
				}
				LBA_khalifa_haftar = {
					add_field_marshal_role = {
						traits = { old_guard career_officer aggressive_assaulter offensive_doctrine inspirational_leader infantry_leader LBA_unit_leader_trait_cyrenaica }
						skill = 4
						attack_skill = 2
						defense_skill = 3
						planning_skill = 3
						logistics_skill = 5
					}
					add_advisor_role = {
						advisor = {
							slot = army_chief
							idea_token = khalifa_haftar
							traits = {
								army_chief_offensive_2
							}
							cost = 100
						}
					}
				}
			}
			random_owned_state = {
				limit = { NOT = { has_state_category = state_inhospitable } }
				add_manpower = 10000
			}
			random_owned_state = {
				limit = { NOT = { has_state_category = state_inhospitable } }
				add_manpower = 10000
			}
			random_owned_state = {
				limit = { NOT = { has_state_category = state_inhospitable } }
				add_manpower = 10000
			}
			random_owned_state = {
				limit = { NOT = { has_state_category = state_inhospitable } }
				add_manpower = 10000
			}
			random_owned_state = {
				limit = { NOT = { has_state_category = state_inhospitable } }
				add_manpower = 10000
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_gaddafi_regime_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_regime_path = yes }
		}
	}

	focus = {
		id = LBA_approach_arab_league
		icon = align_to_arab_league

		x = 1
		y = 7
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_revive_senussi_order }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { nationalist_monarchists_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_arab_league"
			if = {
				limit = { NOT = { has_idea = LoAS_member } }
				add_ideas = LoAS_member
			}
			for_each_scope_loop = {
				array = global.arab_league_members
				tooltip = TT_ALL_ARAB_LEAGUE_MEMBER_NATIONS_GAIN
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				set_temp_variable = { percent_change = 1 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_join_war_on_terror
		icon = attack_isis

		x = 0
		y = 8
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = { focus = LBA_approach_nato }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			nationalist_monarchists_are_in_power = yes
			USA = {
				custom_trigger_tooltip = {
					tooltip = LBA_join_war_on_terror_tt
					has_country_flag = USA_wot_speech_given
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_join_war_on_terror"
			# FIXME: Needs to be replaced with something actually substantial
			# add_ideas = Enduring_Freedom
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_oef_trans_sahara
		icon = soldiers

		x = 0
		y = 9
		relative_position_id = LBA_release_new_green_book

		cost = 10

		prerequisite = { focus = LBA_join_war_on_terror }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_monarchists_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_oef_trans_sahara"
			custom_effect_tooltip = LBA_oef_trans_sahara_tt
			every_country = {
				limit = {
					OR = {
						has_country_flag = sahara_nation_flag
						has_country_flag = sahel_nation_flag
					}
				}
				add_to_array = {
					array = global.oef_trans_sahara_targets
					value = THIS.id
				}
				custom_effect_tooltip = LBA_current_valid_targets_tt
			}
			add_named_threat = {
				threat = 5
				name = LBA_oef_trans_sahara_threat
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.7 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_KINGDOM_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_kingdom_path = yes }
		}
	}

	focus = {
		id = LBA_fatherly_leader
		icon = Fatherly_leader

		x = 4
		y = 4
		relative_position_id = LBA_release_new_green_book

		cost = 7

		prerequisite = {
			focus = LBA_trust_revolutionary_guard
			focus = LBA_trust_army
			focus = LBA_royal_wealth
		}
		mutually_exclusive = {
			focus = LBA_the_real_monarch
			focus = LBA_presidential_republic
			focus = LBA_constitutional_monarch
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_idea = LBA_aftermath_of_the_civil_war }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_fatherly_leader"
			add_country_leader_trait = fatherly_leader
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	#Military Branch
	focus = {
		id = LBA_libyan_military
		icon = Libyan_Army_1

		x = 53
		y = 0

		cost = 10

		search_filters = { FOCUS_FILTER_MILITARY_LAWS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_libyan_military"
			army_experience = 25
			air_experience = 25
			navy_experience = 25
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_lessons_from_the_past
		icon = examine_foreign_small_arms

		x = 44
		y = 1

		cost = 10

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_lessons_from_the_past"
			add_doctrine_cost_reduction = {
				name = LBA_lessons_from_the_past
				cost_reduction = 0.5
				uses = 2
				category = CAT_land_doctrine
			}
			add_doctrine_cost_reduction = {
				name = LBA_lessons_from_the_past
				cost_reduction = 0.5
				uses = 1
				category = CAT_air_doctrine
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_el_dorado_canyon
		icon = SAM

		x = -1
		y = 1
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_lessons_from_the_past }

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_el_dorado_canyon"
			add_tech_bonus = {
				name = LBA_el_dorado_canyon
				bonus = 0.5
				uses = 2
				category = Cat_AA
				category = Cat_L_AA
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_better_aa
		icon = air_defense

		x = -2
		y = 2
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_el_dorado_canyon }
		mutually_exclusive = { focus = LBA_better_fighter_response }

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_EQUIPMENT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_better_aa"
			add_ideas = LBA_anti_air_improvements
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_better_fighter_response
		icon = Jet_Fighters

		x = 0
		y = 2
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_el_dorado_canyon }
		mutually_exclusive = { focus = LBA_better_aa }

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_EQUIPMENT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_better_fighter_response"
			add_ideas = LBA_improved_fighter_response
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_gulf_of_sidra
		icon = Libyan_Air_Force_1

		x = -1
		y = 3
		relative_position_id = LBA_lessons_from_the_past

		cost = 10

		prerequisite = {
			focus = LBA_better_aa
			focus = LBA_better_fighter_response
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gulf_of_sidra"
			add_doctrine_cost_reduction = {
				name = LBA_gulf_of_sidra
				cost_reduction = 0.5
				uses = 1
				category = CAT_air_doctrine
			}
			add_doctrine_cost_reduction = {
				name = LBA_gulf_of_sidra
				cost_reduction = 0.5
				uses = 1
				category = CAT_naval_doctrine
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_toyota_war_guerrilla
		icon = Generic_Jungle_Ghost

		x = 1
		y = 1
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_lessons_from_the_past }
		mutually_exclusive = { focus = LBA_toyota_war_mobility }

		search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_EQUIPMENT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_toyota_war_guerrilla"
			add_ideas = LBA_guerrilla_toyotas
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_toyota_war_mobility
		icon = LIB_toyota

		x = 3
		y = 1
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_lessons_from_the_past }
		mutually_exclusive = { focus = LBA_toyota_war_guerrilla }

		search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_EQUIPMENT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_toyota_war_mobility"
			add_ideas = LBA_mobile_toyotas
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_desert_warfare
		icon = desert_warfare

		x = 2
		y = 2
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = {
			focus = LBA_toyota_war_guerrilla
			focus = LBA_toyota_war_mobility
		}

		search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_desert_warfare"
			custom_effect_tooltip = LBA_desert_warfare_tt
			if = {
				limit = { has_idea = LBA_guerrilla_toyotas }
				swap_ideas = {
					add_idea = LBA_desert_warfare_guerrilla
					remove_idea = LBA_guerrilla_toyotas
				}
			}
			else = {
				swap_ideas = {
					add_idea = LBA_desert_warfare_mobile
					remove_idea = LBA_mobile_toyotas
				}
			}
			add_doctrine_cost_reduction = {
				name = LBA_desert_warfare
				cost_reduction = 0.5
				uses = 1
				category = CAT_land_doctrine
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_egypt_war_behind_the_lines
		icon = Generic_Soldier_Aiming

		x = 1
		y = 3
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_desert_warfare }
		mutually_exclusive = { focus = LBA_egypt_war_tank_formations }

		search_filters = { FOCUS_FILTER_MILITARY_LAWS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_egypt_war_behind_the_lines"
			custom_effect_tooltip = LBA_egypt_war_behind_the_lines_tt
			if = {
				limit = { has_idea = LBA_desert_warfare_guerrilla }
				swap_ideas = {
					add_idea = LBA_egypt_war_guerrilla_specops
					remove_idea = LBA_desert_warfare_guerrilla
				}
			}
			else = {
				swap_ideas = {
					add_idea = LBA_egypt_war_mobile_specops
					remove_idea = LBA_desert_warfare_mobile
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_egypt_war_tank_formations
		icon = focus_generic_tankette

		x = 3
		y = 3
		relative_position_id = LBA_lessons_from_the_past

		cost = 7

		prerequisite = { focus = LBA_desert_warfare }
		mutually_exclusive = { focus = LBA_egypt_war_behind_the_lines }

		search_filters = { FOCUS_FILTER_MILITARY_LAWS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_egypt_war_tank_formations"
			custom_effect_tooltip = LBA_egypt_war_behind_the_lines_tt
			if = {
				limit = { has_idea = LBA_desert_warfare_guerrilla }
				swap_ideas = {
					add_idea = LBA_egypt_war_guerrilla_armour
					remove_idea = LBA_desert_warfare_guerrilla
				}
			}
			else = {
				swap_ideas = {
					add_idea = LBA_egypt_war_mobile_armour
					remove_idea = LBA_desert_warfare_mobile
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_activate_arsenal_of_islam
		icon = islamic_military_03

		x = -4
		y = 1
		relative_position_id = LBA_libyan_military

		cost = 10

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = {
			enemies_strength_ratio > 1
			OR = {
				custom_trigger_tooltip = {
					tooltip = LBA_activate_arsenal_of_islam_gaddafi
					is_ruled_by_a_gaddafi = yes
					OR = {
						has_idea = LBA_revolutionary_guard_corps
						has_idea = LBA_revolutionary_guard_corps_expanded
					}
				}
				custom_trigger_tooltip = {
					tooltip = LBA_activate_arsenal_of_islam_no_gaddafi
					is_not_ruled_by_a_gaddafi = yes
					OR = {
						has_idea = LBA_armed_forces_of_arab_jamahiriya
						has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_activate_arsenal_of_islam"
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			add_equipment_to_stockpile = {
				type = medium_tank_chassis_0
				variant_name = "T-55"
				amount = 200
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis_0
				variant_name = "BMP-1"
				amount = 350
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_amphibious_chassis_1
				variant_name = "BTR-60"
				amount = 250
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = artillery_0 #D-30
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_artillery_chassis_0
				variant_name = "2S1 Gvozdika"
				amount = 40
				producer = SOV
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_foreign_procurement_lines
		icon = ARM_seize_stockpiles

		x = 52
		y = 1

		cost = 7

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_foreign_procurement_lines"
			custom_effect_tooltip = LBA_foreign_procurement_lines_tt
			add_timed_idea = {
				idea = LBA_foreign_procurement_boosted
				days = 540
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_weapons_from_balkans
		icon = RussianWeaponsAfghan

		x = -3
		y = 1
		relative_position_id = LBA_foreign_procurement_lines

		cost = 10

		prerequisite = { focus = LBA_foreign_procurement_lines }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_weapons_from_balkans"
			set_temp_variable = { treasury_change = -4 }
			modify_treasury_effect = yes
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = infantry_weapons_1
					amount = 4375
					producer = SOV
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_1
					amount = 3500
					producer = SOV
				}
			}
			hidden_effect = {
				random_country = {
					limit = {
						OR = {
							has_idea = NATO_member
							has_idea = Major_Non_NATO_Ally
						}
						OR = {
							original_tag = ALB
							original_tag = FYR
							original_tag = BUL
							original_tag = ROM
							original_tag = HUN
							original_tag = SER
							original_tag = MNT
							original_tag = BOS
							original_tag = CRO
							original_tag = SLV
						}
					}
					set_temp_variable = { tag_index = THIS.id }
				}
			}
			if = {
				limit = { NOT = { check_variable = { influence_target = 0 } } }
				set_temp_variable = { percent_change = 1 }
				set_temp_variable = { influence_target = ROOT.id }
				change_influence_percentage = yes
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_tanks
		icon = tanks5

		x = -1
		y = 1
		relative_position_id = LBA_foreign_procurement_lines

		cost = 10

		prerequisite = { focus = LBA_foreign_procurement_lines }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_tanks"
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						FRA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = FRA.id }
				}
				else_if = {
					limit = {
						USA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = USA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 180
					producer = var:tag_index
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 145
					producer = var:tag_index
				}
			}
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_trucks
		icon = blr_vitim

		x = -3
		y = 2
		relative_position_id = LBA_foreign_procurement_lines

		cost = 10

		prerequisite = {
			focus = LBA_weapons_from_balkans
			focus = LBA_toyota_war_guerrilla
			focus = LBA_toyota_war_mobility
		}

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_trucks"
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						FRA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = FRA.id }
				}
				else_if = {
					limit = {
						USA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = USA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = util_vehicle_type
					amount = 375
					producer = var:tag_index
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = util_vehicle_type
					amount = 300
					producer = var:tag_index
				}
			}
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_artillery
		icon = POL_krab

		x = -1
		y = 2
		relative_position_id = LBA_foreign_procurement_lines

		cost = 10

		prerequisite = { focus = LBA_new_tanks }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_artillery"
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						FRA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = FRA.id }
				}
				else_if = {
					limit = {
						USA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = USA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = artillery_equipment
					amount = 100
					producer = var:tag_index
				}
				add_equipment_to_stockpile = {
					type = medium_tank_artillery_chassis
					amount = 250
					producer = var:tag_index
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = artillery_equipment
					amount = 80
					producer = var:tag_index
				}
				add_equipment_to_stockpile = {
					type = medium_tank_artillery_chassis
					amount = 200
					producer = var:tag_index
				}
			}
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_local_supply_system
		icon = industry_military

		x = -2
		y = 3
		relative_position_id = LBA_foreign_procurement_lines

		cost = 10

		prerequisite = { focus = LBA_new_artillery }
		prerequisite = { focus = LBA_new_trucks }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_local_supply_system"
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_arms_industry = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 0
				OR = {
					check_variable = { interest_rate > 9 }
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
			}
		}
	}

	focus = {
		id = LBA_expand_airbases
		icon = airforce_base_1

		x = 54
		y = 1

		cost = 10

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_AIRCRAFT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_airbases"
			set_temp_variable = { treasury_change = 0 }
			if = {
				limit = {
					391 = {
						free_building_slots = {
							building = air_base
							size > 0
						}
					}
				}
				add_to_temp_variable = { treasury_change = -2.5 }
				391 = {
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					392 = {
						free_building_slots = {
							building = air_base
							size > 0
						}
					}
				}
				add_to_temp_variable = { treasury_change = -2.5 }
				392 = {
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					1100 = {
						free_building_slots = {
							building = air_base
							size > 0
						}
					}
				}
				add_to_temp_variable = { treasury_change = -2.5 }
				1100 = {
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}
			}
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_fighters
		icon = sheeps_mig_figter

		x = -1
		y = 1
		relative_position_id = LBA_expand_airbases

		cost = 10

		prerequisite = { focus = LBA_foreign_procurement_lines }
		prerequisite = { focus = LBA_expand_airbases }

		search_filters = { FOCUS_FILTER_AIRCRAFT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_fighters"
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						FRA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = FRA.id }
				}
				else_if = {
					limit = {
						USA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = USA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = small_plane_airframe
					amount = 30
					producer = var:tag_index
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = small_plane_airframe
					amount = 25
					producer = var:tag_index
				}
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_helicopters
		icon = LIB_Mi

		x = -1
		y = 2
		relative_position_id = LBA_expand_airbases

		cost = 10

		prerequisite = { focus = LBA_new_fighters }

		search_filters = { FOCUS_FILTER_EQUIPMENT }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_helicopters"
			set_temp_variable = { treasury_change = -6 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						FRA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = FRA.id }
				}
				else_if = {
					limit = {
						USA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = USA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = { has_idea = LBA_foreign_procurement_boosted }
				custom_effect_tooltip = LBA_foreign_procurement_lines_cheap_tt
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_0
					amount = 40
					producer = var:tag_index
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = heavy_tank_chassis_0
					amount = 30
					producer = var:tag_index
				}
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 1.5
				has_idea = LBA_foreign_procurement_boosted
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_sabha_launch_site
		icon = generic_space

		x = 1
		y = 2
		relative_position_id = LBA_expand_airbases

		cost = 7

		prerequisite = { focus = LBA_expand_airbases }

		search_filters = { FOCUS_FILTER_RESEARCH }

		available = {
			owns_state = 392
			controls_state = 392
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_sabha_launch_site"
			if = {
				limit = {
					392 = {
						air_facility < 1
						land_facility < 1
						nuclear_facility < 1
					}
				}
				set_temp_variable = { treasury_change = -15 }
				modify_treasury_effect = yes
				392 = {
					add_building_construction = {
						type = air_facility
						level = 1
						instant_build = yes
						province = 6295
					}
				}
			}
			else = {
				one_random_air_facility = yes
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_review_the_navy
		icon = Libyan_Navy_1

		x = 57
		y = 1

		cost = 10

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_NAVY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_review_the_navy"
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = LBA_review_the_navy
				cost_reduction = 0.5
				uses = 1
				category = CAT_naval_doctrine
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_expand_tripoli_docks
		icon = civitavecchia_port

		x = -1
		y = 1
		relative_position_id = LBA_review_the_navy

		cost = 5

		prerequisite = { focus = LBA_review_the_navy }

		search_filters = { FOCUS_FILTER_NAVY }

		available = { controls_state = 391 }

		bypass = {
			NOT = { owns_state = 391 }
			391 = {
				any_province_building_level = {
					province = {
						id = 1149
					}
					building = naval_base
					level > 8
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_tripoli_docks"
			391 = {
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 1149
				}
			}
			set_temp_variable = { treasury_change = -1 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_expand_benghazi_docks
		icon = gioia_tauro_port

		x = 1
		y = 1
		relative_position_id = LBA_review_the_navy

		cost = 5

		prerequisite = { focus = LBA_review_the_navy }

		search_filters = { FOCUS_FILTER_NAVY }

		available = { controls_state = 395 }

		bypass = {
			NOT = { owns_state = 39 }
			395 = {
				any_province_building_level = {
					province = {
						id = 11954
					}
					building = naval_base
					level > 8
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_benghazi_docks"
			395 = {
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 11954
				}
			}
			set_temp_variable = { treasury_change = -1 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_refurbish_submarines
		icon = submarines

		x = 0
		y = 2
		relative_position_id = LBA_review_the_navy

		cost = 10

		prerequisite = { focus = LBA_expand_tripoli_docks }
		prerequisite = { focus = LBA_expand_benghazi_docks }

		search_filters = { FOCUS_FILTER_NAVY }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_refurbish_submarines"
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			create_ship = {
				type = attack_submarine_hull_1
				equipment_variant = "Foxtrot Class"
				creator = SOV
				name = "Al Badr"
			}
			create_ship = {
				type = attack_submarine_hull_1
				equipment_variant = "Foxtrot Class"
				creator = SOV
				name = "Al Fatah"
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_new_corvettes
		icon = naval_upgrade

		x = -5
		y = 3
		relative_position_id = LBA_review_the_navy

		cost = 10

		prerequisite = { focus = LBA_refurbish_submarines }
		prerequisite = { focus = LBA_foreign_procurement_lines }

		search_filters = { FOCUS_FILTER_NAVY }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_corvettes"
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			hidden_effect = {
				if = {
					limit = {
						ITA = { has_government = democratic }
						ROOT = { has_government = democratic }
					}
					set_temp_variable = { tag_index = ITA.id }
				}
				else_if = {
					limit = {
						RAJ = { has_government = neutrality }
						ROOT = { has_government = neutrality }
					}
					set_temp_variable = { tag_index = RAJ.id }
				}
				else_if = {
					limit = {
						SOV = { NOT = { has_government = communism } }
						ROOT = { has_government = communism }
					}
					set_temp_variable = { tag_index = CHI.id }
				}
				else_if = {
					limit = {
						nationalist_monarchists_are_in_power = yes
					}
					set_temp_variable = { tag_index = ENG.id }
				}
				else = {
					set_temp_variable = { tag_index = SOV.id }
				}
			}
			if = {
				limit = {
					check_variable = { tag_index = ITA.id }
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Minerva Class"
					creator = ITA
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Minerva Class"
					creator = ITA
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Minerva Class"
					creator = ITA
				}
			}
			else_if = {
				limit = {
					check_variable = { tag_index = RAJ.id }
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Arnala Class"
					creator = RAJ
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Arnala Class"
					creator = RAJ
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Arnala Class"
					creator = RAJ
				}
			}
			else_if = {
				limit = {
					check_variable = { tag_index = CHI.id }
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Type 037 Class"
					creator = CHI
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Type 037 Class"
					creator = CHI
				}
				create_ship = {
					type = corvette_hull_1
					equipment_variant = "Type 037 Class"
					creator = CHI
				}
			}
			else_if = {
				limit = {
					check_variable = { tag_index = ENG.id }
				}
				create_ship = {
					type = corvette_hull_3
					equipment_variant = "Qahir Class"
					creator = ENG
				}
				create_ship = {
					type = corvette_hull_3
					equipment_variant = "Qahir Class"
					creator = ENG
				}
				create_ship = {
					type = corvette_hull_3
					equipment_variant = "Qahir Class"
					creator = ENG
				}
			}
			else_if = {
				limit = {
					check_variable = { tag_index = SOV.id }
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Tarantul Class"
					creator = SOV
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Tarantul Class"
					creator = SOV
				}
				create_ship = {
					type = corvette_hull_2
					equipment_variant = "Tarantul Class"
					creator = SOV
				}
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { influence_target = ROOT.id }
			change_influence_percentage = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_tripoli_drydocks
		icon = naval_dockyard

		x = 0
		y = 3
		relative_position_id = LBA_review_the_navy

		cost = 10

		prerequisite = { focus = LBA_refurbish_submarines }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 391
			controls_state = 391
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tripoli_drydocks"
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			391 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_dockyard = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { interest_rate > 9 }
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
			}
		}
	}

	focus = {
		id = LBA_shuffle_officers
		icon = blr_dismiss_soviet_officers

		x = 61
		y = 1

		cost = 7

		prerequisite = { focus = LBA_libyan_military }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_INTERNAL_FACTION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_shuffle_officers"
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_military_opinion = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_expand_rgc
		icon = Generic_Colonial_Army

		x = -1
		y = 1
		relative_position_id = LBA_shuffle_officers

		cost = 7

		prerequisite = { focus = LBA_shuffle_officers }
		mutually_exclusive = { focus = LBA_shift_to_military }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_idea = LBA_revolutionary_guard_corps }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_rgc"
			swap_ideas = {
				remove_idea = LBA_revolutionary_guard_corps
				add_idea = LBA_revolutionary_guard_corps_expanded
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_shift_to_military
		icon = Generic_Morale_Bonus_Focus

		x = 1
		y = 1
		relative_position_id = LBA_shuffle_officers

		cost = 7

		prerequisite = { focus = LBA_shuffle_officers }
		mutually_exclusive = { focus = LBA_expand_rgc }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_shift_to_military"
			if = {
				limit = { NOT = { has_idea = LBA_revolutionary_guard_corps } }
				add_ideas = LBA_armed_forces_of_arab_jamahiriya
			}
			else = {
				swap_ideas = {
					remove_idea = LBA_revolutionary_guard_corps
					add_idea = LBA_armed_forces_of_arab_jamahiriya
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_lock_supplies
		icon = penal_battalions

		x = -2
		y = 2
		relative_position_id = LBA_shuffle_officers

		cost = 7

		prerequisite = { focus = LBA_expand_rgc }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_lock_supplies"
			swap_ideas = {
				remove_idea = LBA_revolutionary_guard_corps_expanded
				add_idea = LBA_revolutionary_guard_corps_logistics
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_new_officer_corps
		icon = clear_generals

		x = 0
		y = 2
		relative_position_id = LBA_shuffle_officers

		cost = 10

		prerequisite = {
			focus = LBA_expand_rgc
			focus = LBA_shift_to_military
		}

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_officer_corps"
			LBA_mahdi_al_arabi = {
				add_corps_commander_role = {
					traits = { infantry_officer commando desert_fox LBA_unit_leader_trait_tripolitania }
					skill = 3
					attack_skill = 2
					defense_skill = 3
					planning_skill = 3
					logistics_skill = 2
				}
			}
			LBA_salih_rajab_al_mismari = {
				add_advisor_role = {
					advisor = {
						slot = high_command
						idea_token = salih_rajab_al_mismari
						ledger = army
						traits = {
							army_entrenchment_2
						}
						cost = 100
					}
				}
			}
			LBA_al_mahdi_al_barghathi = {
				add_advisor_role = {
					advisor = {
						slot = army_chief
						idea_token = al_mahdi_al_barghathi
						traits = {
							army_chief_reform_2
						}
						cost = 100
					}
				}
			}
			LBA_rida_issa = {
				add_advisor_role = {
					advisor = {
						slot = navy_chief
						idea_token = rida_issa
						traits = {
							navy_chief_decisive_battle_1
						}
						cost = 100
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	focus = {
		id = LBA_disarm_rgc
		icon = lend_lease

		x = 2
		y = 2
		relative_position_id = LBA_shuffle_officers

		cost = 7

		prerequisite = { focus = LBA_shift_to_military }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_disarm_rgc"
			swap_ideas = {
				remove_idea = LBA_armed_forces_of_arab_jamahiriya
				add_idea = LBA_armed_forces_of_arab_jamahiriya_expanded
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_army_fit_for_libya
		icon = Focus_Examine_Foreign_Tanks

		x = 0
		y = 3
		relative_position_id = LBA_shuffle_officers

		cost = 7

		prerequisite = {
			focus = LBA_new_officer_corps
			focus = LBA_lock_supplies
			focus = LBA_disarm_rgc
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_army_fit_for_libya"
			custom_effect_tooltip = LBA_army_fit_for_libya_tt
			if = {
				limit = { has_idea = LBA_armed_forces_of_arab_jamahiriya_expanded }
				swap_ideas = {
					add_idea = LBA_armed_forces_of_arab_jamahiriya_expanded_with_research
					remove_idea = LBA_armed_forces_of_arab_jamahiriya_expanded
				}
			}
			else = {
				swap_ideas = {
					add_idea = LBA_revolutionary_guard_corps_logistics_with_research
					remove_idea = LBA_revolutionary_guard_corps_logistics
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 2 ai_is_threatened = yes }
		}
	}

	#Economy Branch
	focus = {
		id = LBA_economy_of_libya
		icon = oil_trade

		x = 73
		y = 0

		cost = 10

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_economy_of_libya"
			increase_economic_growth = yes
		}

		ai_will_do = { base = 12 }
	}

	focus = {
		id = LBA_train_depot
		icon = Generic_Train

		x = -5
		y = 1
		relative_position_id = LBA_economy_of_libya

		cost = 5

		prerequisite = { focus = LBA_economy_of_libya }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { has_tech = post_conventional_rail }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_train_depot"
			add_equipment_to_stockpile = {
				type = train_equipment_1
				amount = 15
				producer = USA
			}
			if = {
				limit = { is_ruled_by_a_gaddafi = yes }
				country_event = LibyaFocus.29
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_tripoli_to_misrata
		icon = construct_infrastructure

		x = -1
		y = 1
		relative_position_id = LBA_train_depot

		cost = 10

		prerequisite = { focus = LBA_train_depot }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 391
			controls_state = 391
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tripoli_to_misrata"
			build_railway = {
				level = 1
				path = { 1149 4194 7209 9980 }
				start_province = 1149
				target_province = 9980
			}
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			if = {
				limit = { NOT = { has_idea = LBA_state_supported_railways } }
				add_ideas = LBA_state_supported_railways
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_misrata_to_sirte
		icon = Generic_Railroads

		x = -1
		y = 2
		relative_position_id = LBA_train_depot

		cost = 10

		prerequisite = { focus = LBA_tripoli_to_misrata }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 391
			owns_state = 919
			controls_state = 391
			controls_state = 919
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_misrata_to_sirte"
			build_railway = {
				level = 1
				path = { 9980 4176 1118 1041 4047 }
				start_province = 9980
				target_province = 4047
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_tobruk_to_benghazi
		icon = construction3

		x = 1
		y = 1
		relative_position_id = LBA_train_depot

		cost = 20

		prerequisite = { focus = LBA_train_depot }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 395
			owns_state = 396
			controls_state = 395
			controls_state = 396
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tobruk_to_benghazi"
			build_railway = {
				level = 1
				path = { 11954 10123 4151 1204 7082 9992 1130 }
				start_province = 11954
				target_province = 1130
			}
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			if = {
				limit = { NOT = { has_idea = LBA_state_supported_railways } }
				add_ideas = LBA_state_supported_railways
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_benghazi_to_brega
		icon = construction4

		x = 1
		y = 2
		relative_position_id = LBA_train_depot

		cost = 13

		prerequisite = { focus = LBA_tobruk_to_benghazi }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 395
			owns_state = 397
			controls_state = 395
			controls_state = 397
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_benghazi_to_brega"
			build_railway = {
				level = 1
				path = { 11954 4120 1127 7063 4057 }
				start_province = 11954
				target_province = 4057
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_connect_east_west_rails
		icon = construction2

		x = 0
		y = 3
		relative_position_id = LBA_train_depot

		cost = 10

		prerequisite = { focus = LBA_misrata_to_sirte }
		prerequisite = { focus = LBA_benghazi_to_brega }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 919
			owns_state = 397
			controls_state = 919
			controls_state = 397
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_connect_east_west_rails"
			build_railway = {
				level = 1
				path = { 4057 10117 3303 10046 9795 4047 }
				start_province = 4057
				target_province = 4047
			}
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_connect_sabha
		icon = steel_production

		x = -2
		y = 4
		relative_position_id = LBA_train_depot

		cost = 20

		prerequisite = { focus = LBA_connect_east_west_rails }

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE }

		available = {
			owns_state = 391
			owns_state = 393
			owns_state = 392
			controls_state = 391
			controls_state = 393
			controls_state = 392
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_connect_sabha"
			unlock_decision_tooltip = libya_dig_wadi_ash_shati
			build_railway = {
				level = 1
				path = { 4047 7194 12866 11912 6295 }
				start_province = 9980
				target_province = 6295
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_IN_CATEGORY
				DECISION = libya_dig_wadi_ash_shati
				DECISION_CATEGORY = libya_oil_nationalisation
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_connect_jawf
		icon = organize_wreckers

		x = 0
		y = 4
		relative_position_id = LBA_train_depot

		cost = 16

		prerequisite = { focus = LBA_connect_east_west_rails }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			owns_state = 397
			owns_state = 1100
			controls_state = 397
			controls_state = 1100
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_connect_jawf"
			build_railway = {
				level = 1
				path = { 1127 4200 10785 6341 14504 1057 }
				start_province = 1127
				target_province = 1057
			}
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_libyan_rail
		icon = support_rail

		x = 2
		y = 4
		relative_position_id = LBA_train_depot

		cost = 7

		prerequisite = { focus = LBA_connect_east_west_rails }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_libyan_rail"
			unlock_decision_tooltip = libya_build_rail_to_tunisia
			unlock_decision_tooltip = libya_build_rail_to_egypt
			unlock_decision_tooltip = libya_build_rail_to_niger
			unlock_decision_tooltip = libya_build_rail_to_chad
			swap_ideas = {
				remove_idea = LBA_state_supported_railways
				add_idea = LBA_state_supported_railways_functional
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_ONLY_CATEGORY
				DECISION_CATEGORY = libya_libyan_foreign_policy
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_build_rail_to_tunisia
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_build_rail_to_egypt
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_build_rail_to_niger
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_build_rail_to_chad
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_kufra_solar_plant
		icon = generic_solar

		x = 0
		y = 5
		relative_position_id = LBA_train_depot

		cost = 10

		prerequisite = { focus = LBA_connect_jawf }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 1100 }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_kufra_solar_plant"
			set_temp_variable = { treasury_change = -8.5 }
			modify_treasury_effect = yes
			1100 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_gmmr_kufra
		icon = baku_erzurum
		allow_branch = { country_exists = LBA }

		x = 0
		y = 1
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_economy_of_libya }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		bypass = {
			OR = {
				is_special_project_completed = sp:sp_libya_gmmr_phase3_project
				NOT = { controls_state = 1100 }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gmmr_kufra"
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 1
			}
			sp:sp_libya_gmmr_phase3_project = {
				add_project_progress_ratio = 0.15
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_gmmr_ghadames
		icon = baku_supsa

		x = -2
		y = 2
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_kufra }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		bypass = {
			OR = {
				is_special_project_completed = sp:sp_libya_gmmr_phase4_west_project
				NOT = { controls_state = 393 }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gmmr_ghadames"
			set_temp_variable = { treasury_change = -7 }
			modify_treasury_effect = yes
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 1
			}
			sp:sp_libya_gmmr_phase4_west_project = {
				add_project_progress_ratio = 0.15
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_create_ministry_of_agriculture
		icon = pro-agroculture_policy

		x = 0
		y = 2
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_kufra }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		bypass = { NOT = { has_idea = LBA_undeveloped_agriculture } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_create_ministry_of_agriculture"
			swap_ideas = {
				add_idea = LBA_undeveloped_agriculture_better
				remove_idea = LBA_undeveloped_agriculture
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_gmmr_jaghbub
		icon = vladikavkaz_kazbegi

		x = 2
		y = 2
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_kufra }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		bypass = {
			OR = {
				is_special_project_completed = sp:sp_libya_gmmr_phase4_east_project
				NOT = { controls_state = 396 }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gmmr_jaghbub"
			set_temp_variable = { treasury_change = -7 }
			modify_treasury_effect = yes
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 1
			}
			sp:sp_libya_gmmr_phase4_east_project = {
				add_project_progress_ratio = 0.15
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_western_mountain_power_plant
		icon = powerplant

		x = -2
		y = 3
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_ghadames }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 391 }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_western_mountain_power_plant"
			set_temp_variable = { treasury_change = -3.25 }
			modify_treasury_effect = yes
			391 = {
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
				check_variable = { energy_balance > 0 }
			}
			modifier = {
				factor = 1.5
				check_variable = { energy_balance < -0.10 }
			}
		}
	}

	focus = {
		id = LBA_gmmr_connect_east_west
		icon = water_conservation

		x = 0
		y = 3
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_gmmr_ghadames }
		prerequisite = { focus = LBA_gmmr_jaghbub }
		prerequisite = { focus = LBA_create_ministry_of_agriculture }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		bypass = {
			OR = {
				is_special_project_completed = sp:sp_libya_gmmr_phase5_project
				NOT = { controls_state = 919 }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gmmr_connect_east_west"
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 1
			}
			sp:sp_libya_gmmr_phase5_project = {
				add_project_progress_ratio = 0.15
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_zawia_power_plant
		icon = modern_refinery_industry

		x = 2
		y = 3
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_ghadames }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 391 }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_zawia_power_plant"
			set_temp_variable = { treasury_change = -3.25 }
			modify_treasury_effect = yes
			391 = {
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
				check_variable = { energy_balance > 0 }
			}
			modifier = {
				factor = 1.5
				check_variable = { energy_balance < -0.10 }
			}
		}
	}

	focus = {
		id = LBA_convert_pipe_factories
		icon = industrialization

		x = -1
		y = 4
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_connect_east_west }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_convert_pipe_factories"
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 50 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_industrial_complex = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
			}
		}
	}

	focus = {
		id = LBA_desalination_plants
		icon = Hydro_sheep

		x = 1
		y = 4
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_gmmr_connect_east_west }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_desalination_plants"
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			every_owned_state = {
				limit = {
					is_core_of = ROOT
					is_coastal = yes
				}
				add_state_modifier = {
					modifier = {
						state_productivity_growth_modifier = 0.15
					}
				}
			}
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = -0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_expand_agriculture
		icon = wheat_field

		x = 0
		y = 5
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_desalination_plants }
		prerequisite = { focus = LBA_convert_pipe_factories }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_idea = LBA_undeveloped_agriculture_better }

		bypass = { NOT = { has_idea = LBA_undeveloped_agriculture_better } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_agriculture"
			swap_ideas = {
				remove_idea = LBA_undeveloped_agriculture_better
				add_idea = LBA_undeveloped_agriculture_developed
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_land_reform
		icon = South_ossetia_barn

		x = -1
		y = 6
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_expand_agriculture }
		mutually_exclusive = { focus = LBA_foreign_food_imports }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_idea = LBA_undeveloped_agriculture_developed }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_land_reform"
			swap_ideas = {
				remove_idea = LBA_undeveloped_agriculture_developed
				add_idea = LBA_agricultural_reform
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.5
				has_government = nationalist
			}
		}
	}

	focus = {
		id = LBA_foreign_food_imports
		icon = ExpandTrade

		x = 1
		y = 6
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_expand_agriculture }
		mutually_exclusive = { focus = LBA_land_reform }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = { has_idea = LBA_undeveloped_agriculture_developed }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_foreign_food_imports"
			swap_ideas = {
				remove_idea = LBA_undeveloped_agriculture_developed
				add_idea = LBA_agricultural_imports
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.5
				has_government = democratic
			}
		}
	}

	focus = {
		id = LBA_expand_tripoli_airport
		icon = focus_airline

		x = 4
		y = 1
		relative_position_id = LBA_economy_of_libya

		cost = 5

		prerequisite = { focus = LBA_economy_of_libya }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			controls_state = 391
			391 = {
				air_base < 9
			}
		}

		bypass = {
			OR = {
				NOT = { owns_state = 391 }
				391 = {
					air_base > 8
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_tripoli_airport"
			391 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_expand_benina_airport
		icon = rwand_airline

		x = 6
		y = 1
		relative_position_id = LBA_economy_of_libya

		cost = 5

		prerequisite = { focus = LBA_economy_of_libya }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			controls_state = 395
			395 = {
				air_base < 9
			}
		}

		bypass = {
			OR = {
				NOT = { owns_state = 395 }
				395 = {
					air_base > 8
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_benina_airport"
			395 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_expand_tripoli_port
		icon = develop_polish_shipbuilding

		x = 4
		y = 2
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_expand_tripoli_airport }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 391 }

		bypass = {
			NOT = { owns_state = 391 }
			391 = {
				any_province_building_level = {
					province = {
						id = 1149
					}
					building = naval_base
					level > 7
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_tripoli_port"
			391 = {
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 1149
				}
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_expand_benghazi_port
		icon = naval_industry

		x = 6
		y = 2
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_expand_benina_airport }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 395 }

		bypass = {
			NOT = { owns_state = 395 }
			391 = {
				any_province_building_level = {
					province = {
						id = 11954
					}
					building = naval_base
					level > 7
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_benghazi_port"
			395 = {
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 11954
				}
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_derna_windpark
		icon = windmill

		x = 7
		y = 3
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_expand_benghazi_port }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 396 }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_derna_windpark"
			set_temp_variable = { treasury_change = -8.5 }
			modify_treasury_effect = yes
			396 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_organize_desert_trips
		icon = focus_generic_camel_corps

		x = 5
		y = 3
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_expand_tripoli_port }
		prerequisite = { focus = LBA_expand_benghazi_port }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { has_war = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_organize_desert_trips"
			add_ideas = LBA_increased_tourism_1
			custom_effect_tooltip = LBA_organize_desert_trips_tt
			effect_tooltip = {
				remove_ideas = LBA_increased_tourism_1
					add_timed_idea = {
						idea = LBA_increased_tourism_1_war
						days = 360
					}
			}
			custom_effect_tooltip = LBA_organize_desert_trips_tt_2
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_expand_tourism
		icon = armenia_turizm

		x = 4
		y = 4
		relative_position_id = LBA_economy_of_libya

		cost = 7

		prerequisite = { focus = LBA_organize_desert_trips }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { has_war = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_tourism"
			set_country_flag = LBA_disable_tourism_debuff
			swap_ideas = {
				remove_idea = LBA_increased_tourism_1
				add_idea = LBA_increased_tourism_2
			}
			clr_country_flag = LBA_disable_tourism_debuff
			custom_effect_tooltip = LBA_organize_desert_trips_tt
			effect_tooltip = {
				effect_tooltip = {
					remove_ideas = LBA_increased_tourism_2
						add_timed_idea = {
							idea = LBA_increased_tourism_2_war
							days = 360
						}
				}
			}
			custom_effect_tooltip = LBA_organize_desert_trips_tt_2
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_stock_exchange
		icon = market_economy

		x = 6
		y = 4
		relative_position_id = LBA_economy_of_libya

		cost = 10

		prerequisite = { focus = LBA_expand_tripoli_port }
		prerequisite = { focus = LBA_expand_benghazi_port }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { controls_state = 391 }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_stock_exchange"
			set_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 100 }
				flat_productivity_change_effect = yes
			}
			else = {
				391 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = offices
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_offices = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
			}
		}
	}

	focus = {
		id = LBA_continue_nationalised_economy
		icon = central_planned_economy2

		x = -1
		y = 1
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_stock_exchange }
		mutually_exclusive = { focus = LBA_liberalise_economy }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			western_liberals_are_in_power = no
			neutrality_neutral_libertarians_are_in_power = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_continue_nationalised_economy"
			add_ideas = LBA_nationalised_economy_1
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_expand_agricultural_bank
		icon = agriculture

		x = -3
		y = 2
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_continue_nationalised_economy }
		prerequisite = { focus = LBA_expand_agriculture }

		search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_agricultural_bank"
			every_owned_state = {
				limit = {
					is_core_of = ROOT
					NOT = { has_state_category = state_inhospitable }
				}
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_expand_lisco
		icon = steel_production2

		x = -1
		y = 2
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_continue_nationalised_economy }

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE }

		available = {
			western_liberals_are_in_power = no
			neutrality_neutral_libertarians_are_in_power = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_lisco"
			swap_ideas = {
				add_idea = LBA_nationalised_economy_2
				remove_idea = LBA_nationalised_economy_1
			}
			set_temp_variable = { treasury_change = -3.75 }
			modify_treasury_effect = yes
			random_owned_controlled_state = {
				limit = {
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
				}
				add_resource = {
					type = steel
					amount = 4
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_liberalise_economy
		icon = BRA_deregulation_new

		x = 1
		y = 1
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_stock_exchange }
		mutually_exclusive = { focus = LBA_continue_nationalised_economy }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_liberalise_economy"
			add_ideas = LBA_privatised_economy_1
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_join_wto
		icon = wto

		x = 3
		y = 2
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_liberalise_economy }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_join_wto"
			increase_economic_growth = yes
			add_timed_idea = {
				idea = recently_acceded_to_wto
				days = 720
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_float_national_commercial_bank
		icon = generic_bank

		x = 1
		y = 2
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_liberalise_economy }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_float_national_commercial_bank"
			swap_ideas = {
				add_idea = LBA_privatised_economy_2
				remove_idea = LBA_privatised_economy_1
			}
			set_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 100 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = offices
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = offices
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_offices = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
			}
		}
	}

	focus = {
		id = LBA_nationalise_arabian_cement_company
		icon = construction_development

		x = -2
		y = 3
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_expand_lisco }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			western_liberals_are_in_power = no
			neutrality_neutral_libertarians_are_in_power = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_nationalise_arabian_cement_company"
			swap_ideas = {
				add_idea = LBA_nationalised_economy_3
				remove_idea = LBA_nationalised_economy_2
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 50 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_industrial_complex = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
			}
		}
	}

	focus = {
		id = LBA_handle_national_oil_corporation
		icon = modern_refinery_industry

		x = 0
		y = 3
		relative_position_id = LBA_stock_exchange

		cost = 5

		prerequisite = {
			focus = LBA_liberalise_economy
			focus = LBA_continue_nationalised_economy
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		bypass = { has_country_flag = libya_noc_dismantled }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_handle_national_oil_corporation"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_continue_nationalised_economy }
					NOT = { has_completed_focus = LBA_liberalise_economy }
				}
				custom_effect_tooltip = LBA_handle_national_oil_corporation_tt1
				effect_tooltip = {
					libya_increase_nationalisation_5 = yes
				}
				newline = yes
				custom_effect_tooltip = LBA_handle_national_oil_corporation_tt2
				effect_tooltip = {
					libya_decrease_nationalisation_5 = yes
				}
			}
			else_if = {
				limit = { has_completed_focus = LBA_continue_nationalised_economy }
				libya_increase_nationalisation_5 = yes
			}
			else_if = {
				limit = { has_completed_focus = LBA_liberalise_economy }
				libya_decrease_nationalisation_5 = yes
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_return_arabian_gulf_company_shares
		icon = oil_trade

		x = 2
		y = 3
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_float_national_commercial_bank }

		search_filters = { FOCUS_FILTER_RESOURCE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_return_arabian_gulf_company_shares"
			swap_ideas = {
				add_idea = LBA_privatised_economy_3
				remove_idea = LBA_privatised_economy_2
			}
			set_temp_variable = { treasury_change = -3.75 }
			modify_treasury_effect = yes
			random_owned_controlled_state = {
				limit = {
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
				}
				add_resource = {
					type = oil
					amount = 4
				}
				libya_tribal_loyalty_from_building = yes
			}
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = ENG }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_military_commission_to_truck_and_bus_company
		icon = afghan_truck

		x = -1
		y = 4
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_nationalise_arabian_cement_company }
		prerequisite = { focus = LBA_handle_national_oil_corporation }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			western_liberals_are_in_power = no
			neutrality_neutral_libertarians_are_in_power = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_military_commission_to_truck_and_bus_company"
			swap_ideas = {
				add_idea = LBA_nationalised_economy_4
				remove_idea = LBA_nationalised_economy_3
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_arms_industry = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_privatise_maritime_transport_company
		icon = ENG_Expand_Trade_Fleet

		x = 1
		y = 4
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = { focus = LBA_return_arabian_gulf_company_shares }
		prerequisite = { focus = LBA_handle_national_oil_corporation }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_privatise_maritime_transport_company"
			swap_ideas = {
				add_idea = LBA_privatised_economy_4
				remove_idea = LBA_privatised_economy_3
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_dockyard = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_state_driven_economy
		icon = central_planned_economy3

		x = -2
		y = 5
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_nationalise_arabian_cement_company }
		prerequisite = { focus = LBA_military_commission_to_truck_and_bus_company }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available = {
			western_liberals_are_in_power = no
			neutrality_neutral_libertarians_are_in_power = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_state_driven_economy"
			swap_ideas = {
				add_idea = LBA_nationalised_economy_5
				remove_idea = LBA_nationalised_economy_4
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_further_resource_expansion
		icon = resource_extraction

		x = 0
		y = 5
		relative_position_id = LBA_stock_exchange

		cost = 10

		prerequisite = {
			focus = LBA_privatise_maritime_transport_company
			focus = LBA_military_commission_to_truck_and_bus_company
		}

		search_filters = { FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_further_resource_expansion"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_continue_nationalised_economy }
					NOT = { has_completed_focus = LBA_liberalise_economy }
				}
				custom_effect_tooltip = LBA_handle_national_oil_corporation_tt1
				effect_tooltip = {
					libya_increase_nationalisation_5 = yes
					set_temp_variable = { treasury_change = -7.5 }
					modify_treasury_effect = yes
					random_owned_controlled_state = {
						limit = {
							NOT = { has_state_category = state_military_base }
							NOT = { has_state_category = state_inhospitable }
						}
						add_resource = {
							type = aluminium
							amount = 4
						}
						add_resource = {
							type = tungsten
							amount = 4
						}
						libya_tribal_loyalty_from_building = yes
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_handle_national_oil_corporation_tt2
				effect_tooltip = {
					set_temp_variable = { treasury_change = -7.5 }
					modify_treasury_effect = yes
					random_owned_controlled_state = {
						limit = {
							NOT = { has_state_category = state_military_base }
							NOT = { has_state_category = state_inhospitable }
						}
						add_resource = {
							type = rubber
							amount = 4
						}
						add_resource = {
							type = chromium
							amount = 4
						}
						libya_tribal_loyalty_from_building = yes
					}
				}
			}
			else_if = {
				limit = { has_completed_focus = LBA_continue_nationalised_economy }
				libya_decrease_nationalisation_5 = yes
				set_temp_variable = { treasury_change = -7.5 }
				modify_treasury_effect = yes
				random_owned_controlled_state = {
					limit = {
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_resource = {
						type = aluminium
						amount = 4
					}
					add_resource = {
						type = tungsten
						amount = 4
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
			else_if = {
				limit = { has_completed_focus = LBA_liberalise_economy }
				libya_decrease_nationalisation_5 = yes
				set_temp_variable = { treasury_change = -7.5 }
				modify_treasury_effect = yes
				random_owned_controlled_state = {
					limit = {
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_resource = {
						type = rubber
						amount = 4
					}
					add_resource = {
						type = chromium
						amount = 4
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_modern_economy
		icon = economic_prosperity

		x = 2
		y = 5
		relative_position_id = LBA_stock_exchange

		cost = 7

		prerequisite = { focus = LBA_return_arabian_gulf_company_shares }
		prerequisite = { focus = LBA_privatise_maritime_transport_company }

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_modern_economy"
			swap_ideas = {
				add_idea = LBA_privatised_economy_5
				remove_idea = LBA_privatised_economy_4
			}
		}

		ai_will_do = { base = 10 }
	}

	#International Sanctions branch
	focus = {
		id = LBA_negotiations_with_un
		icon = align_to_united_nations

		x = 32
		y = 10

		cost = 7

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		bypass = { NOT = { has_idea = international_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_negotiations_with_un"
			activate_mission = libya_negotiations_with_un
			hidden_effect = {
				if = {
					limit = { LBA_ai_rogue_path = yes }
					set_country_flag = LBA_AI_bad_boy
				}
				else_if = {
					limit = { LBA_ai_reformist_path = yes }
					set_country_flag = LBA_AI_good_boy
				}
				else_if = {
					limit = { NOT = { LBA_ai_any_path = yes } }
					random_list = {
						10 = {
							set_country_flag = LBA_AI_bad_boy
						}
						90 = {
							set_country_flag = LBA_AI_good_boy
						}
					}
				}
			}
		}

		ai_will_do = { base = 12 }
	}

	focus = {
		id = LBA_meeting_with_taliban
		icon = align_to_taliban

		x = -3
		y = 1
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_negotiations_with_un }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { has_active_mission = libya_negotiations_with_un }

		bypass = {
			NOT = { country_exists = TAL }
			NOT = { AFG = { has_government = fascism } }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_meeting_with_taliban"
			if = {
				limit = { country_exists = TAL }
				set_temp_variable = { influence_target = TAL }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
				AFG = {
					add_opinion_modifier = {
						target = ROOT
						modifier = supports_rival
					}
				}
			}
			else_if = {
				limit = { AFG = { has_government = fascism } }
				set_temp_variable = { influence_target = AFG }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_assassinate_dissidents
		icon = backstab

		x = -5
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_meeting_with_taliban }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE FOCUS_FILTER_POLITICAL }

		available = { has_active_mission = libya_negotiations_with_un }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_assassinate_dissidents"
			add_popularity = {
				ideology = communism
				popularity = 0.10
			}
			set_temp_variable = { percent_change = 5 }
			change_domestic_influence_percentage = yes
			random_country = {
				limit = {
					capital_scope = { is_on_continent = europe }
					has_government = democratic
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = large_decrease
				}
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_meet_hezbollah
		icon = align_to_iran

		x = -3
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_meeting_with_taliban }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { has_active_mission = libya_negotiations_with_un }

		bypass = { NOT = { country_exists = HEZ } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_meet_hezbollah"
			set_temp_variable = { influence_target = HEZ }
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
			ISR = {
				add_opinion_modifier = {
					target = ROOT
					modifier = supports_rival
				}
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_house_terrorists
		icon = islamic_militarism

		x = -4
		y = 3
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_meet_hezbollah }
		prerequisite = { focus = LBA_assassinate_dissidents }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_MANPOWER }

		available = { has_active_mission = libya_negotiations_with_un }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_house_terrorists"
			add_ideas = LBA_housing_terrorists
			if = {
				limit = { USA = { has_country_flag = USA_wot_speech_given } }
				USA = {
					add_opinion_modifier = {
						target = ROOT
						modifier = terrorist_menace
					}
				}
				if = {
					limit = { NOT = { is_in_array = { wot_terrorist_menace_holders = USA } } }
					add_to_array = { wot_terrorist_menace_holders = USA }
				}
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_celebrate_lockerbie_bombers
		icon = unknsfown

		x = -1
		y = 1
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_negotiations_with_un }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_completed_focus = LBA_remove_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_celebrate_lockerbie_bombers"
			set_temp_variable = { percent_change = 5 }
			change_domestic_influence_percentage = yes
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = terrorist_menace
				}
			}
			if = {
				limit = { NOT = { is_in_array = { wot_terrorist_menace_holders = ENG } } }
				add_to_array = { wot_terrorist_menace_holders = ENG }
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_wmds
		icon = LIB_centrifuge

		x = -1
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_celebrate_lockerbie_bombers }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_RESEARCH }

		available = { NOT = { has_completed_focus = LBA_remove_sanctions } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_wmds"
			if = {
				limit = {
					has_character = LBA_friedrich_tinner
				}
				LBA_friedrich_tinner = {
					add_scientist_level = {
						level = 1
						specialization = specialization_nuclear
					}
				}
			}
			else_if = {
				limit = {
					has_scientist_specialization = specialization_nuclear
				}
				random_scientist = {
					limit = {
						has_scientist_level = {
							level > 0
							specialization = specialization_nuclear
						}
					}
					add_scientist_xp = {
						experience = 200
						specialization = specialization_nuclear
					}
				}
			}
			else = {
				LBA_nuclear_nadal = {
					add_scientist_role = {
						scientist = {
							traits = { scientist_trait_missile_specialist scientist_trait_nuclear_specialist }
							skills = {
								specialization_nuclear = 1
								specialization_air = 1
							}
						}
					}
				}
			}
			add_breakthrough_points = {
				specialization = specialization_nuclear
				value = 2
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = 60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_start_building_reactor
		icon = nukes_in_production

		x = -2
		y = 3
		relative_position_id = LBA_negotiations_with_un

		cost = 10

		prerequisite = { focus = LBA_wmds }
		mutually_exclusive = { focus = LBA_remove_sanctions }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_start_building_reactor"
			complete_special_project = sp:sp_nuclear_energy
			custom_effect_tooltip = LBA_start_building_reactor_tt
			add_named_threat = {
				threat = 10
				name = LBA_start_building_reactor_threat
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_arms_smuggling
		icon = small_arms5

		x = -3
		y = 4
		relative_position_id = LBA_negotiations_with_un

		cost = 10

		prerequisite = { focus = LBA_start_building_reactor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_EQUIPMENT }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_arms_smuggling"
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 2500
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_1
				amount = 300
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = Anti_Air_0
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = Anti_tank_0
				amount = 150
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = Heavy_Anti_tank_0
				amount = 50
				producer = SOV
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_buy_nukes
		icon = nuke_bombs

		x = -1
		y = 4
		relative_position_id = LBA_negotiations_with_un

		cost = 5

		prerequisite = { focus = LBA_start_building_reactor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_buy_nukes"
			custom_effect_tooltip = LBA_buy_nukes_tt
			country_event = LibyaFocus.37
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_good_boy
			}
			modifier = { factor = 25 LBA_ai_rogue_path = yes }
			modifier = { factor = 0 LBA_ai_not_rogue_path = yes }
		}
	}

	focus = {
		id = LBA_compensation_to_lockerbie_victims
		icon = BRA_mensalao_new

		x = 1
		y = 1
		relative_position_id = LBA_negotiations_with_un

		cost = 5

		prerequisite = { focus = LBA_negotiations_with_un }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { NOT = { has_completed_focus = LBA_start_building_reactor } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_compensation_to_lockerbie_victims"
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = gratitude
				}
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_disarmament_program
		icon = LIB_prohibit_nuclear

		x = 1
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_compensation_to_lockerbie_victims }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { NOT = { has_completed_focus = LBA_start_building_reactor } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_disarmament_program"
			if = {
				limit = {
					country_exists = SWI
					SWI = {
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
				}
				custom_effect_tooltip = LBA_disarmament_program_tt
				LBA_friedrich_tinner = { set_nationality = SWI }
				SWI = { country_event = { id = LibyaFocus.105 hours = 6 } }
				custom_effect_tooltip = TT_IF_THEY_ACCEPT
				custom_effect_tooltip = LBA_tinner_response_tt
			}
			increase_economic_growth = yes
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_remove_sanctions
		icon = GENERIC_austerity_measures

		x = 2
		y = 3
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_disarmament_program }
		mutually_exclusive = { focus = LBA_start_building_reactor }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { NOT = { has_active_mission = libya_negotiations_with_un } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_remove_sanctions"
			remove_ideas = international_sanctions
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_invite_foreign_investors
		icon = generic_banks

		x = 1
		y = 4
		relative_position_id = LBA_negotiations_with_un

		cost = 10

		prerequisite = { focus = LBA_remove_sanctions }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_FOREIGN_INVESTMENTS }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invite_foreign_investors"
			random_other_country = {
				limit = {
					OR = {
						has_idea = regional_power
						has_idea = large_power
						has_idea = great_power
						has_idea = super_power
					}
				}
				set_temp_variable = { tag_index = THIS }
			}
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 50 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			base = 12
			modifier = { factor = 0 can_staff_an_industrial_complex = no }
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				factor = 0
				NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_arms_deals_with_italy
		icon = ITA_Focus_Centauro

		x = 3
		y = 4
		relative_position_id = LBA_negotiations_with_un

		cost = 5

		prerequisite = { focus = LBA_remove_sanctions }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			country_exists = ITA
			NOT = { has_war_with = ITA }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_arms_deals_with_italy"
			ITA = { country_event = { id = LibyaFocus.46 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_arms_deal_accepted_tt
			custom_effect_tooltip = LBA_arms_deals_with_italy_tt
			effect_tooltip = {
				add_relation_modifier = {
					target = ITA
					modifier = military_cooperation
				}
				set_temp_variable = { tag_index = ITA }
				set_temp_variable = { influence_target = ROOT }
				set_temp_variable = { percent_change = 2 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_approach_western_leaders
		icon = western_alignment

		x = 3
		y = 1
		relative_position_id = LBA_negotiations_with_un

		cost = 5

		prerequisite = { focus = LBA_negotiations_with_un }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { has_active_mission = libya_negotiations_with_un }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_western_leaders"
			every_country = {
				limit = {
					OR = {
						original_tag = USA
						original_tag = CAN
						capital_scope = { is_on_continent = europe }
					}
					has_government = democratic
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = large_increase
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = large_increase
				}
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_taxation_deal_with_uk
		icon = british_cooperation

		x = 3
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_approach_western_leaders }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			has_active_mission = libya_negotiations_with_un
			country_exists = ENG
			NOT = { has_war_with = ENG }
			NOT = { has_government = fascism }
		}

		bypass = {
			OR = {
				NOT = { country_exists = ENG }
				has_war_with = ENG
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_taxation_deal_with_uk"
			increase_economic_growth = yes
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
			set_temp_variable = { tag_index = ENG }
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_compensation_from_italy
		icon = italian_investments

		x = 5
		y = 2
		relative_position_id = LBA_negotiations_with_un

		cost = 5

		prerequisite = { focus = LBA_approach_western_leaders }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			has_active_mission = libya_negotiations_with_un
			country_exists = ITA
			NOT = { has_war_with = ITA }
		}

		bypass = {
			OR = {
				NOT = { country_exists = ITA }
				has_war_with = ITA
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_compensation_from_italy"
			ITA = { country_event = { id = LibyaFocus.50 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_reparations_accepted_tt
			custom_effect_tooltip = LBA_arms_deals_with_italy_tt
			effect_tooltip = {
				set_temp_variable = { treasury_change = 5 }
				modify_treasury_effect = yes
			}
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	focus = {
		id = LBA_request_usaid
		icon = focus_usaid

		x = 4
		y = 3
		relative_position_id = LBA_negotiations_with_un

		cost = 7

		prerequisite = { focus = LBA_taxation_deal_with_uk }
		prerequisite = { focus = LBA_compensation_from_italy }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			has_active_mission = libya_negotiations_with_un
			country_exists = USA
			NOT = { has_war_with = USA }
			NOT = { has_government = fascism }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_request_usaid"
			USA = { country_event = { id = LibyaFocus.49 hours = 6 } }
			add_ideas = USA_usaid
			add_days_mission_timeout = {
				mission = libya_negotiations_with_un
				days = -60
			}
		}

		ai_will_do = {
			base = 12
			modifier = {
				factor = 0
				has_country_flag = LBA_AI_bad_boy
			}
			modifier = {
				add = 5
				has_active_mission = libya_negotiations_with_un
			}
			modifier = { factor = 25 LBA_ai_reformist_path = yes }
			modifier = { factor = 0 LBA_ai_not_reformist_path = yes }
		}
	}

	#Neighbourly Politics
	focus = {
		id = LBA_neighbourly_politics
		icon = internationalism

		x = 55
		y = 6
		offset = {
			x = 2
			trigger = {
				not = { country_exists = LBA }
			}
		}

		cost = 10

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_neighbourly_politics"
			every_neighbor_country = {
				set_temp_variable = { percent_change = 1 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_close_ties_sahrawi
		icon = align_to_sahrawi

		x = -8
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = { focus = LBA_neighbourly_politics }
		mutually_exclusive = { focus = LBA_switch_to_morocco }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = SHA
			NOT = { has_war_with = SHA }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_close_ties_sahrawi"
			SHA = { country_event = LibyaFocus.56 }
			effect_tooltip = {
				SHA = {
					if = {
						limit = { NOT = { has_idea = SHA_libyan_education } }
						add_ideas = SHA_libyan_education
					}
					else = {
						swap_ideas = {
							add_idea = SHA_libyan_education_2
							remove_idea = SHA_libyan_education
						}
					}
				}
			}
			set_temp_variable = { influence_target = SHA }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				modifier = SHA_Support_Our_Independence
				target = SHA
			}
			reverse_add_opinion_modifier = {
				modifier = SHA_Support_Our_Independence
				target = SHA
			}
			add_opinion_modifier = {
				modifier = supports_rival
				target = MOR
			}
			reverse_add_opinion_modifier = {
				modifier = supports_rival
				target = MOR
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_switch_to_morocco
		icon = align_to_morocco

		x = -6
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = { focus = LBA_neighbourly_politics }
		mutually_exclusive = { focus = LBA_close_ties_sahrawi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = MOR
			NOT = { has_war_with = MOR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_switch_to_morocco"
			SHA = { country_event = LibyaFocus.57 }
			effect_tooltip = {
				SHA = {
					if = {
						limit = { has_idea = SHA_libyan_education }
						remove_ideas = SHA_libyan_education
					}
				}
			}
			set_temp_variable = { influence_target = MOR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				modifier = supports_rival
				target = SHA
			}
			reverse_add_opinion_modifier = {
				modifier = supports_rival
				target = SHA
			}
			add_opinion_modifier = {
				modifier = declaration_of_friendship
				target = MOR
			}
			reverse_add_opinion_modifier = {
				modifier = declaration_of_friendship
				target = MOR
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_support_algeria
		icon = align_to_algeria

		x = -8
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_close_ties_sahrawi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = ALG
			NOT = { has_war_with = ALG }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_support_algeria"
			set_temp_variable = { influence_target = ALG }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				modifier = declaration_of_friendship
				target = ALG
			}
			reverse_add_opinion_modifier = {
				modifier = declaration_of_friendship
				target = ALG
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_condemn_spanish_colonialism
		icon = attack_spain

		x = -6
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_switch_to_morocco }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			SPR = {
				OR = {
					owns_state = 632
					owns_state = 495
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_condemn_spanish_colonialism"
			add_opinion_modifier = {
				modifier = huge_increase
				target = MOR
			}
			reverse_add_opinion_modifier = {
				modifier = huge_increase
				target = MOR
			}
			add_opinion_modifier = {
				modifier = expansionist_agenda
				target = SPR
			}
			reverse_add_opinion_modifier = {
				modifier = expansionist_agenda
				target = SPR
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_influence_mauritania
		icon = improve_relations

		x = -7
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = {
			focus = LBA_support_algeria
			focus = LBA_condemn_spanish_colonialism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = MAU
			NOT = { has_war_with = MAU }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_influence_mauritania"
			set_temp_variable = { influence_target = MAU }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_casablanca_accords
		icon = territor_disputes_neg

		x = -7
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_influence_mauritania }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			is_subject = no
			SHA = { is_subject = no }
			NOT = { SHA = { owns_state = 373 } }
			NOT = { MOR = { owns_state = 372 } }
			NOT = { SHA = { has_war_with = MOR } }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_casablanca_accords"
			unlock_decision_tooltip = libya_casablanca_accords_draft_solution
			unlock_decision_tooltip = libya_casablanca_accords_hold_negotiations
			unlock_decision_tooltip = libya_casablanca_accords_convince_morocco
			unlock_decision_tooltip = libya_casablanca_accords_convince_sahrawi
			unlock_decision_tooltip = libya_casablanca_accords_convince_algeria
			unlock_decision_tooltip = libya_casablanca_accords_convince_mauritania
			activate_mission = libya_casablanca_accords
			custom_effect_tooltip = LBA_casablanca_accords_tt
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_IN_CATEGORY
				DECISION = libya_casablanca_accords_draft_solution
				DECISION_CATEGORY = libya_libyan_foreign_policy
			}
			MOR = { country_event = { id = LibyaFocus.58 hours = 6 } }
			SHA = { country_event = { id = LibyaFocus.58 hours = 6 } }
			set_variable = { libya_casablanca_accords_no_of_signatories = 0 }
			set_variable = { libya_casablanca_accords_no_of_participants = 2 }
			if = {
				limit = { country_exists = ALG }
				ALG = { country_event = { id = LibyaFocus.58 hours = 6 } }
				add_to_variable = { libya_casablanca_accords_no_of_participants = 1 }
			}
			if = {
				limit = { country_exists = MAU }
				MAU = { country_event = { id = LibyaFocus.58 hours = 6 } }
				add_to_variable = { libya_casablanca_accords_no_of_participants = 1 }
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.8 hours = 6 } }
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_influence_malta
		icon = LIB_malta

		x = -4
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_neighbourly_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = MLT } }

		bypass = { NOT = { country_exists = MLT } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_influence_malta"
			set_temp_variable = { influence_target = MLT }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_italian_trade
		icon = italy_trade

		x = -2
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_neighbourly_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_TRADE }

		available = {
			NOT = { has_war_with = ITA }
			NOT = { has_idea = international_sanctions }
		}

		bypass = { NOT = { country_exists = ITA } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_italian_trade"
			set_temp_variable = { receiver_nation = ITA.id }
			set_temp_variable = { sender_nation = ROOT.id }
			set_improved_trade_agreement = yes
			add_ideas = LBA_trade_with_italy
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_crete_safety
		icon = bedrock_of_balkan_stability

		x = -3
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_influence_malta }
		prerequisite = { focus = LBA_italian_trade }
		will_lead_to_war_with = GRE

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_subject = no
			NOT = { has_war_with = GRE }
			NOT = { has_war_with = CRE }
		}

		bypass = {
			OR = {
				owns_state = 144
				144 = {
					owner = {
						is_subject_of = ROOT
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_crete_safety"
			if = {
				limit = {
					NOT = { country_exists = CRE }
				}
				GRE = { country_event = { id = LibyaFocus.64 hours = 6 } }
				custom_effect_tooltip = TT_IF_THEY_ACCEPT
				custom_effect_tooltip = LBA_crete_autonomy_accepted_tt
			}
			set_temp_variable = { influence_target = CRE }
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_protect_malta
		icon = military_deal

		x = -4
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_crete_safety }
		will_lead_to_war_with = MLT

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			MLT = { influence_higher_30 = yes }
			NOT = { has_war_with = MLT }
		}

		bypass = {
			OR = {
				owns_state = 85
				85 = {
					owner = {
						is_subject_of = ROOT
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_protect_malta"
			MLT = { country_event = { id = md4.14 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_submission_accepted_tt
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_protect_crete
		icon = deal_with_traitors

		x = -2
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_crete_safety }
		will_lead_to_war_with = GRE
		will_lead_to_war_with = CRE

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			OR = {
				AND = {
					GRE = {
						owns_state = 144
						influence_higher_30 = yes
					}
					NOT = { has_war_with = GRE }
				}
				AND = {
					CRE = {
						owns_state = 144
						influence_higher_30 = yes
					}
					NOT = { has_war_with = CRE }
				}
			}
		}

		bypass = {
			OR = {
				owns_state = 144
				144 = {
					owner = {
						is_subject_of = ROOT
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_protect_crete"
			144 = {
				owner = {
					country_event = { id = md4.14 hours = 6 }
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_libyan_sea_dominance
		icon = mediterranean_basin

		x = -3
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_protect_malta }
		prerequisite = { focus = LBA_protect_crete }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			OR = {
				owns_state = 85
				85 = {
					owner = {
						is_subject_of = ROOT
					}
				}
			}
			OR = {
				owns_state = 144
				144 = {
					owner = {
						is_subject_of = ROOT
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_libyan_sea_dominance"
			add_ideas = LBA_libyan_sea_secured
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_hamas
		icon = align_to_hamas

		x = 0
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_neighbourly_politics }
		mutually_exclusive = {
			focus = LBA_all_are_idiots
			focus = LBA_reconcile_with_israel
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			HAM = {
				NOT = { has_government = democratic }
				neutrality_neutral_social_in_power_or_coalition = no
			}
			NOT = { has_war_with = HAM }
			NOT = { has_war_with = PAL }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_hamas"
			if = {
				limit = { PAL = { neutrality_neutral_muslim_brotherhood_are_in_power = yes } }
				set_temp_variable = { influence_target = PAL }
			}
			else = {
				set_temp_variable = { influence_target = HAM }
			}
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ruling_party = 16 }
			}
		}
	}

	focus = {
		id = LBA_send_fighters_to_hamas
		icon = Generic_Colonial_Army

		x = 0
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_approach_hamas }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			HAM = {
				NOT = { has_government = democratic }
				neutrality_neutral_social_in_power_or_coalition = no
			}
			has_manpower > 2000
			NOT = { has_war_with = HAM }
			NOT = { has_war_with = PAL }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_send_fighters_to_hamas"
			if = {
				limit = { PAL = { neutrality_neutral_muslim_brotherhood_are_in_power = yes } }
				set_temp_variable = { influence_target = PAL }
			}
			else = {
				set_temp_variable = { influence_target = HAM }
			}
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
			add_manpower = -2000
			if = {
				limit = { PAL = { neutrality_neutral_muslim_brotherhood_are_in_power = yes } }
				PAL = { add_manpower = 2000 }
				send_equipment = {
					equipment = infantry_weapons_1
					amount = 1000
					target = PAL
				}
			}
			else = {
				HAM = { add_manpower = 2000 }
				send_equipment = {
					equipment = infantry_weapons_1
					amount = 1000
					target = HAM
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_new_intifada
		icon = Generic_Liberation

		x = 1
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_send_fighters_to_hamas }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			OR = {
				ISR = { owns_state = 209 }
				PAL = { owns_state = 209 }
				HAM = { owns_state = 209 }
			}
			NOT = { has_war_with = HAM }
			NOT = { has_war_with = PAL }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_intifada"
			if = {
				limit = { PAL = { neutrality_neutral_muslim_brotherhood_are_in_power = yes } }
				give_guarantee = PAL
				set_temp_variable = { influence_target = PAL }
				PAL = { country_event = { id = LibyaFocus.68 hours = 6 } }
			}
			else_if = {
				limit = { country_exists = HAM }
				give_guarantee = HAM
				set_temp_variable = { influence_target = HAM }
				HAM = { country_event = { id = LibyaFocus.68 hours = 6 } }
			}
			else = {
				set_temp_variable = { influence_target = HAM }
				209 = {
					owner = { country_event = { id = LibyaFocus.69 hours = 3 } }
				}
				effect_tooltip = {
					209 = {
						add_core_of = HAM
						owner = { release = HAM }
					}
					give_guarantee = HAM
				}
			}
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
			ISR = { country_event = { id = LibyaFocus.67 hours = 6 } }
			effect_tooltip = {
				ISR = {
					add_timed_idea = {
						idea = israel_new_intifada
						days = 360
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_all_are_idiots
		icon = dangerous_deal3

		x = 2
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = { focus = LBA_neighbourly_politics }
		mutually_exclusive = {
			focus = LBA_approach_hamas
			focus = LBA_reconcile_with_israel
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_all_are_idiots"
			set_temp_variable = { influence_target = EGY }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = JOR }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = SYR }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = LEB }
			set_temp_variable = { percent_change = 2 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 16 }
					has_government = fascism
				}
			}
		}
	}

	focus = {
		id = LBA_claim_jerusalem_for_arabs
		icon = one_state_isr_pal

		x = 2
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_all_are_idiots }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_claim_jerusalem_for_arabs"
			unlock_decision_tooltip = libya_core_palestine
			custom_effect_tooltip = LBA_claim_jerusalem_for_arabs_tt
			PAL = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_reconcile_with_israel
		icon = align_to_israel

		x = 4
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_neighbourly_politics }
		mutually_exclusive = {
			focus = LBA_all_are_idiots
			focus = LBA_approach_hamas
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = ISR
			NOT = { has_war_with = ISR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_reconcile_with_israel"
			set_temp_variable = { influence_target = ISR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				target = ISR
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = ISR
				modifier = declaration_of_friendship
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_government = fascism
			}
		}
	}

	focus = {
		id = LBA_recall_libyan_jews
		icon = sta2_isr

		x = 4
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = { focus = LBA_reconcile_with_israel }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			country_exists = ISR
			NOT = { has_war_with = ISR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_recall_libyan_jews"
			add_timed_idea = {
				idea = LBA_jewish_migration
				days = 360
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_arms_deal_with_israel
		icon = Jews_In_Space

		x = 3
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_recall_libyan_jews }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			country_exists = ISR
			NOT = { has_war_with = ISR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_arms_deal_with_israel"
			ISR = { country_event = { id = LibyaFocus.46 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_arms_deal_accepted_tt
			custom_effect_tooltip = LBA_arms_deals_with_italy_tt
			effect_tooltip = {
				add_relation_modifier = {
					target = ISR
					modifier = military_cooperation
				}
				set_temp_variable = { tag_index = ISR }
				set_temp_variable = { influence_target = ROOT }
				set_temp_variable = { percent_change = 2 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_champion_of_al_aqsa
		icon = LIB_mosque

		x = 2
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = {
			focus = LBA_new_intifada
			focus = LBA_claim_jerusalem_for_arabs
			focus = LBA_arms_deal_with_israel
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			OR = {
				owns_state = 207
				207 = { owner = { is_subject_of = ROOT } }
				207 = { owner = { is_in_faction_with = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_champion_of_al_aqsa"
			add_ideas = LBA_champion_of_al_aqsa_idea
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_southern_focus
		icon = political_pressure_dark_green

		x = 10
		y = 1
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = { focus = LBA_neighbourly_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_southern_focus"
			set_temp_variable = { influence_target = DAR }
			set_temp_variable = { percent_change = 3 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = CHA }
			set_temp_variable = { percent_change = 3 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = NGR }
			set_temp_variable = { percent_change = 3 }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_rivalry_with_chad
		icon = attack_chad

		x = 7
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_southern_focus }
		mutually_exclusive = { focus = LBA_reconcile_with_chad }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = CHA
			CHA = { NOT = { is_subject_of = ROOT } }
		}

		bypass = {
			OR = {
				owns_state = 580
				580 = { owner = { is_subject_of = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_rivalry_with_chad"
			add_opinion_modifier = {
				target = CHA
				modifier = rival
			}
			reverse_add_opinion_modifier = {
				target = CHA
				modifier = rival
			}
			set_temp_variable = { influence_target = TIE }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_reconcile_with_chad
		icon = align_to_romania

		x = 9
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_southern_focus }
		mutually_exclusive = { focus = LBA_rivalry_with_chad }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		bypass = {
			OR = {
				owns_state = 580
				580 = { owner = { is_subject_of = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_reconcile_with_chad"
			add_opinion_modifier = {
				target = CHA
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = CHA
				modifier = declaration_of_friendship
			}
			set_temp_variable = { influence_target = CHA }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_reclaim_aouzou_strip
		icon = annex_country

		x = 5
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_rivalry_with_chad }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		bypass = {
			OR = {
				owns_state = 580
				580 = { owner = { is_subject_of = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_reclaim_aouzou_strip"
			add_state_claim = 580
			add_named_threat = {
				threat = 2
				name = LBA_reclaim_aouzou_strip_threat
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.9 hours = 6 } }
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_utilise_toubou
		icon = Generic_Infantry_Training

		x = 7
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = {
			focus = LBA_rivalry_with_chad
			focus = LBA_reconcile_with_chad
		}
		mutually_exclusive = { focus = LBA_strip_toubou_of_citizenship }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = { NOT = { has_war_with = TIE } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_utilise_toubou"
			set_country_flag = libya_toubou_supported
			custom_effect_tooltip = LBA_utilise_toubou_tt
			CHA = { country_event = { id = LibyaFocus.70 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.8
				has_completed_focus = LBA_minority_protection
			}
		}
	}

	focus = {
		id = LBA_strip_toubou_of_citizenship
		icon = Generic_Tear_Paper

		x = 9
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = {
			focus = LBA_rivalry_with_chad
			focus = LBA_reconcile_with_chad
		}
		mutually_exclusive = { focus = LBA_utilise_toubou }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INTERNAL_AFFAIRS }

		available = {
			NOT = { TIE = { is_subject_of = ROOT } }
			NOT = { has_completed_focus = LBA_minority_rights }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_strip_toubou_of_citizenship"
			every_owned_state = {
				limit = { is_core_of = TIE }
				remove_core_of = TIE
			}
			if = {
				limit = {
					has_completed_focus = LBA_minority_protection
				}
				custom_effect_tooltip = LBA_strip_toubou_of_citizenship_tt
				set_temp_variable = { loyalty_change = -0.30 }
				libya_change_cyrenaica_loyalty = yes
				set_temp_variable = { loyalty_change = -0.30 }
				libya_change_tripolitania_loyalty = yes
				set_temp_variable = { loyalty_change = -0.30 }
				libya_change_fezzan_loyalty = yes
				libya_update_tribalism_modifiers = yes
			}
			else = {
				set_temp_variable = { loyalty_change = 0.10 }
				libya_change_cyrenaica_loyalty = yes
				set_temp_variable = { loyalty_change = 0.10 }
				libya_change_fezzan_loyalty = yes
				libya_update_tribalism_modifiers = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_suggest_joint_mining
		icon = coal_mining

		x = 11
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_reconcile_with_chad }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = {
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_suggest_joint_mining"
			CHA = { country_event = { id = LibyaFocus.71 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_chad_mining_accepted_tt
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_demand_aouzou
		icon = ultimatum2

		x = 6
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_reclaim_aouzou_strip }
		will_lead_to_war_with = CHA

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			country_exists = CHA
			NOT = { has_war_with = CHA }
			CHA = { owns_state = 580 }
		}

		bypass = {
			OR = {
				owns_state = 580
				580 = { owner = { is_subject_of = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_demand_aouzou"
			CHA = { country_event = { id = LibyaFocus.98 hours = 6 } }
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_aouzou_cession_accepted_tt
			add_named_threat = {
				threat = 5
				name = LBA_demand_aouzou_threat
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
		}
	}

	focus = {
		id = LBA_mining_in_aouzou
		icon = uranium_imports

		x = 8
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 10

		prerequisite = {
			focus = LBA_reclaim_aouzou_strip
			focus = LBA_suggest_joint_mining
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE }

		available = {
			OR = {
				owns_state = 580
				AND = {
					CHA = { owns_state = 580 }
					custom_trigger_tooltip = {
						tooltip = libya_chad_uranium_deal_tt
						has_country_flag = libya_chad_uranium_deal
					}
					NOT = { has_war_with = CHA }
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_mining_in_aouzou"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_reclaim_aouzou_strip }
					NOT = { has_completed_focus = LBA_suggest_joint_mining }
				}
				custom_effect_tooltip = LBA_mining_in_aouzou_tt_1
				effect_tooltip = {
					set_temp_variable = { treasury_change = -10 }
					modify_treasury_effect = yes
					add_resource = {
						type = tungsten
						amount = 10
						state = 580
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_mining_in_aouzou_tt_2
				effect_tooltip = {
					set_temp_variable = { treasury_change = -20 }
					modify_treasury_effect = yes
					add_resource = {
						type = tungsten
						amount = 15
						state = 580
					}
					CHA = {
						give_resource_rights = {
							receiver = ROOT
							state = 580
							resources = { tungsten }
						}
					}
					add_resource = {
						type = tungsten
						amount = 5
						state = 327
					}
				}
			}
			else_if = {
				limit = { owns_state = 580 }
				set_temp_variable = { treasury_change = -10 }
				modify_treasury_effect = yes
				add_resource = {
					type = tungsten
					amount = 10
					state = 580
				}
			}
			else = {
				CHA = {
					country_event = { id = LibyaFocus.74 hours = 6 }
					give_resource_rights = {
						receiver = ROOT
						state = 580
						resources = { tungsten }
					}
				}
				set_temp_variable = { treasury_change = -20 }
				modify_treasury_effect = yes
				add_resource = {
					type = tungsten
					amount = 15
					state = 580
				}
				add_resource = {
					type = tungsten
					amount = 5
					state = 327
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
		}
	}

	focus = {
		id = LBA_humanitarian_aid_to_chad
		icon = Generic_Red_Crescent

		x = 10
		y = 4
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_suggest_joint_mining }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_humanitarian_aid_to_chad"
			CHA = { country_event = LibyaFocus.99 }
			set_temp_variable = { treasury_change = { value = CHA.gdp_total multiply = -0.50 } }
			modify_treasury_effect = yes
			effect_tooltip = {
				CHA = {
					set_temp_variable = { treasury_change = { value = CHA.gdp_total multiply = 0.50 } }
					modify_treasury_effect = yes
					add_stability = 0.10
				}
				set_temp_variable = { influence_target = CHA }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_demand_chads_submission
		icon = irredentism

		x = 7
		y = 5
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = { focus = LBA_demand_aouzou }
		will_lead_to_war_with = CHA

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_submission_accepted_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_demand_chads_submission"
			CHA = { country_event = { id = md4.14 hours = 6 } }
			add_named_threat = {
				threat = 5
				name = LBA_demand_chads_submission_tt
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				any_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
				}
			}
		}
	}

	focus = {
		id = LBA_invest_in_chadian_cotton
		icon = Generic_Cotton_Farming

		x = 9
		y = 5
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_humanitarian_aid_to_chad }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TRADE }

		available = {
			country_exists = CHA
			NOT = { has_war_with = CHA }
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_chad_cotton_accepted_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invest_in_chadian_cotton"
			CHA = { country_event = LibyaFocus.100 }
			newline = yes
			custom_effect_tooltip = LBA_invest_in_chadian_cotton_tt
			effect_tooltip = {
				set_temp_variable = { treasury_change = -7.5 }
				modify_treasury_effect = yes
				if = {
					limit = {
						CHA = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } }
					}
					CHA = {
						set_temp_variable = { temp_productivity_change = 50 }
						flat_productivity_change_effect = yes
					}
				}
				else = {
					CHA = {
						random_owned_state = {
							add_extra_state_shared_building_slots = 1
							add_building_construction = {
								type = industrial_complex
								level = 1
								instant_build = yes
							}
						}
					}
				}
				CHA = { add_ideas = LBA_chad_trade_deal_chad }
				LBA = { add_ideas = LBA_chad_trade_deal_libya }
				set_temp_variable = { influence_target = CHA }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_exploit_chadian_oil
		icon = oil

		x = 8
		y = 6
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = {
			focus = LBA_invest_in_chadian_cotton
			focus = LBA_demand_chads_submission
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE }

		available = {
			OR = {
				CHA = { is_subject_of = ROOT }
				owns_state = 326
				AND = {
					country_exists = CHA
					NOT = { has_war_with = CHA }
					CHA = { influence_higher_20 = yes }
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_exploit_chadian_oil"
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			add_resource = {
				type = oil
				amount = 5
				state = 326
			}
			if = {
				limit = {
					NOT = {
						OR = {
							owns_state = 326
							CHA = {
								is_subject_of = ROOT
							}
						}
					}
				}
				CHA = {
					country_event = { id = LibyaFocus.103 hours = 6 }
					give_resource_rights = {
						receiver = ROOT
						state = 326
						resources = { oil }
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_support_darfur
		icon = alliance

		x = 12
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_southern_focus }
		mutually_exclusive = { focus = LBA_support_sudan }
		mutually_exclusive = { focus = LBA_support_south_sudan }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			OR = {
				country_exists = DAR
				country_exists = SUD
			}
			NOT = { SUD = { is_subject_of = ROOT } }
			NOT = { SSU = { is_subject_of = ROOT } }
		}

		bypass = { DAR = { is_subject_of = ROOT } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_support_darfur"
			if = {
				limit = { NOT = { country_exists = DAR } }
				SUD = { country_event = { id = LibyaFocus.76 hours = 6 } }
			}
			else = {
				set_temp_variable = { influence_target = DAR }
				set_temp_variable = { percent_change = 4 }
				change_influence_percentage = yes
				add_opinion_modifier = {
					target = DAR
					modifier = supports_us
				}
				reverse_add_opinion_modifier = {
					target = DAR
					modifier = supports_us
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_support_sudan
		icon = align_to_sudan

		x = 14
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_southern_focus }
		mutually_exclusive = { focus = LBA_support_darfur }
		mutually_exclusive = { focus = LBA_support_south_sudan }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = SUD
			NOT = { DAR = { is_subject_of = ROOT } }
			NOT = { SSU = { is_subject_of = ROOT } }
		}

		bypass = { SUD = { is_subject_of = ROOT } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_support_sudan"
			set_temp_variable = { influence_target = SUD }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				target = SUD
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = SUD
				modifier = declaration_of_friendship
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_support_south_sudan
		icon = align_to_south_sudan

		x = 16
		y = 2
		relative_position_id = LBA_neighbourly_politics

		cost = 7

		prerequisite = { focus = LBA_southern_focus }
		mutually_exclusive = { focus = LBA_support_darfur }
		mutually_exclusive = { focus = LBA_support_sudan }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			country_exists = SSU
			NOT = { DAR = { is_subject_of = ROOT } }
			NOT = { SUD = { is_subject_of = ROOT } }
		}

		bypass = { SSU = { is_subject_of = ROOT } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_support_south_sudan"
			set_temp_variable = { influence_target = SSU }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_opinion_modifier = {
				target = SSU
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = SSU
				modifier = declaration_of_friendship
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_send_mercenaries
		icon = Generic_Partisan

		x = 14
		y = 3
		relative_position_id = LBA_neighbourly_politics

		cost = 5

		prerequisite = {
			focus = LBA_support_darfur
			focus = LBA_support_sudan
			focus = LBA_support_south_sudan
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			OR = {
				AND = {
					has_completed_focus = LBA_support_darfur
					country_exists = DAR
				}
				AND = {
					has_completed_focus = LBA_support_sudan
					country_exists = SUD
				}
				AND = {
					has_completed_focus = LBA_support_south_sudan
					country_exists = SSU
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_send_mercenaries"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_support_darfur }
					NOT = { has_completed_focus = LBA_support_sudan }
					NOT = { has_completed_focus = LBA_support_south_sudan }
				}
				custom_effect_tooltip = LBA_send_mercenaries_tt_1
				effect_tooltip = {
					DAR = {
						add_stability = 0.05
						capital_scope = {
							create_unit = {
								division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
								owner = DAR
							}
						}
					}
					set_temp_variable = { influence_target = DAR }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
				newline = yes
				custom_effect_tooltip = LBA_send_mercenaries_tt_2
				effect_tooltip = {
					SUD = {
						add_stability = 0.05
						capital_scope = {
							create_unit = {
								division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
								owner = SUD
							}
						}
					}
					set_temp_variable = { influence_target = SUD }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
				newline = yes
				custom_effect_tooltip = LBA_send_mercenaries_tt_3
				effect_tooltip = {
					SSU = {
						add_stability = 0.05
						capital_scope = {
							create_unit = {
								division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
								owner = SSU
							}
						}
					}
					set_temp_variable = { influence_target = SSU }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
			}
			else = {
				if = {
					limit = { has_completed_focus = LBA_support_darfur }
					DAR = { country_event = { id = LibyaFocus.77 hours = 3 } }
					effect_tooltip = {
						DAR = {
							add_stability = 0.05
							capital_scope = {
								create_unit = {
									division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
									owner = DAR
								}
							}
						}
					}
					set_temp_variable = { influence_target = DAR }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_completed_focus = LBA_support_sudan }
					SUD = { country_event = { id = LibyaFocus.77 hours = 3 } }
					effect_tooltip = {
						SUD = {
							add_stability = 0.05
							capital_scope = {
								create_unit = {
									division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
									owner = SUD
								}
							}
						}
					}
					set_temp_variable = { influence_target = SUD }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
				else = {
					SSU = { country_event = { id = LibyaFocus.77 hours = 3 } }
					effect_tooltip = {
						SSU = {
							add_stability = 0.05
							capital_scope = {
								create_unit = {
									division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
									owner = SSU
								}
							}
						}
					}
					set_temp_variable = { influence_target = SSU }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	#Gaddafi's Dream
	focus = {
		id = LBA_gaddafis_dream
		icon = enemy_of_china

		x = 36
		y = 1

		cost = 5

		prerequisite = {
			focus = LBA_crush_lifg
			focus = LBA_ignore_lifg
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_POLITICAL }

		available = { is_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_gaddafis_dream"
			add_political_power = 150
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_approach_algeria
		icon = align_to_algeria

		x = -2
		y = 1
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_gaddafis_dream }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = ALG }
		}

		bypass = { NOT = { country_exists = ALG } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_algeria"
			set_temp_variable = { influence_target = ALG }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_approach_egypt
		icon = align_to_egypt

		x = 0
		y = 1
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_gaddafis_dream }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = EGY }
		}

		bypass = { NOT = { country_exists = EGY } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_egypt"
			set_temp_variable = { influence_target = EGY }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_approach_eritrea
		icon = align_to_eritrea

		x = 2
		y = 1
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_gaddafis_dream }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = ERI }
		}

		bypass = { NOT = { country_exists = ERI } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_eritrea"
			set_temp_variable = { influence_target = ERI }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_weapons_to_taylor
		icon = machine_gun

		x = -3
		y = 2
		relative_position_id = LBA_gaddafis_dream

		cost = 10

		prerequisite = { focus = LBA_approach_algeria }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = LIB }
			LIB = {
				has_country_leader = {
					name = "Charles Taylor"
					ruling_only = yes
				}
			}
		}

		bypass = {
			NOT = {
				LIB = {
					has_country_leader = {
						name = "Charles Taylor"
						ruling_only = yes
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_weapons_to_taylor"
			LIB = { country_event = { id = LibyaFocus.78 hours = 6 } }
			send_equipment = {
				equipment = infantry_weapons_1
				amount = 2000
				target = LIB
			}
			set_temp_variable = { influence_target = LIB }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			add_relation_modifier = {
				target = LIB
				modifier = generic_increased_military_support
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_central_african_mercs
		icon = soliger_plain

		x = -1
		y = 2
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_approach_egypt }
		prerequisite = { focus = LBA_approach_algeria }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = CAR }
		}

		bypass = { NOT = { country_exists = CAR } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_central_african_mercs"
			CAR = { country_event = { id = LibyaFocus.77 hours = 3 } }
			effect_tooltip = {
				CAR = {
					add_stability = 0.05
					capital_scope = {
						create_unit = {
							division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
							owner = CAR
						}
					}
				}
			}
			set_temp_variable = { influence_target = CAR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_red_sea_trade_deal
		icon = egypt_map

		x = 1
		y = 2
		relative_position_id = LBA_gaddafis_dream

		cost = 10

		prerequisite = { focus = LBA_approach_egypt }
		prerequisite = { focus = LBA_approach_eritrea }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE FOCUS_FILTER_TRADE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = EGY }
			NOT = { has_war_with = ERI }
		}

		bypass = {
			NOT = { country_exists = EGY }
			NOT = { country_exists = ERI }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_red_sea_trade_deal"
			increase_economic_growth = yes
			if = {
				limit = {
					country_exists = EGY
				}
				set_temp_variable = { receiver_nation = EGY.id }
				set_temp_variable = { sender_nation = ROOT.id }
				set_improved_trade_agreement = yes
				set_temp_variable = { influence_target = EGY }
				set_temp_variable = { percent_change = 2 }
				change_influence_percentage = yes
			}
			if = {
				limit = {
					country_exists = ERI
				}
				set_temp_variable = { receiver_nation = ERI.id }
				set_temp_variable = { sender_nation = ROOT.id }
				set_improved_trade_agreement = yes
				set_temp_variable = { influence_target = ERI }
				set_temp_variable = { percent_change = 2 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_meet_mengistu
		icon = ethiopian_communism

		x = 3
		y = 2
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_approach_eritrea }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE FOCUS_FILTER_INDUSTRY }

		available = { is_ruled_by_a_gaddafi = yes }

		bypass = { NOT = { country_exists = ETH } }

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_mengistu_response_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_meet_mengistu"
			set_temp_variable = { influence_target = ETH }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
			custom_effect_tooltip = LBA_meet_mengistu_tt_1
			effect_tooltip = {
				ETH = {
					country_event = { id = LibyaFocus.79 hours = 6 }
					add_ideas = LBA_support_mengistu
				}
			}
			custom_effect_tooltip = LBA_meet_mengistu_tt_2
			effect_tooltip = {
				set_temp_variable = { treasury_change = -15 }
				modify_treasury_effect = yes
				ETH = {
					country_event = { id = LibyaFocus.80 hours = 6 }
					if = {
						limit = {
							ETH = { NOT = { check_variable = { total_unemployed_percentage_display > 0 } } }
						}
						ETH = {
							set_temp_variable = { temp_productivity_change = 50 }
							flat_productivity_change_effect = yes
						}
					}
					else = {
						ETH = {
							random_owned_state = {
								add_extra_state_shared_building_slots = 1
								add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
								add_building_construction = {
									type = fossil_powerplant
									level = 1
									instant_build = yes
								}
							}
						}
					}
				}
				if = {
					limit = {
						NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
					}
					set_temp_variable = { temp_productivity_change = 50 }
					flat_productivity_change_effect = yes
				}
				else = {
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = industrial_complex
								size > 0
								include_locked = yes
							}
							NOT = { has_state_category = state_military_base }
							NOT = { has_state_category = state_inhospitable }
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
						add_building_construction = {
							type = fossil_powerplant
							level = 1
							instant_build = yes
						}
						libya_tribal_loyalty_from_building = yes
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						ETH = {
							has_country_leader = {
								name = "Mengistu Haile Mariam"
								ruling_only = yes
							}
						}
					}
					set_temp_variable = { treasury_change = -15 }
					modify_treasury_effect = yes
					ETH = { country_event = { id = LibyaFocus.80 hours = 6 } }
					if = {
						limit = {
							NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
						}
						set_temp_variable = { temp_productivity_change = 50 }
						flat_productivity_change_effect = yes
					}
					else = {
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								NOT = { has_state_category = state_military_base }
								NOT = { has_state_category = state_inhospitable }
							}
							add_extra_state_shared_building_slots = 1
							add_building_construction = {
								type = industrial_complex
								level = 1
								instant_build = yes
							}
							add_building_construction = {
								type = fossil_powerplant
								level = 1
								instant_build = yes
							}
							libya_tribal_loyalty_from_building = yes
						}
					}
				}
				else = {
					ETH = { country_event = { id = LibyaFocus.79 hours = 6 } }
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 0 can_staff_an_industrial_complex = no }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_anti_colonialist
		icon = flames_of_rebellion

		x = -3
		y = 3
		relative_position_id = LBA_gaddafis_dream

		cost = 10

		prerequisite = { focus = LBA_weapons_to_taylor }
		prerequisite = { focus = LBA_central_african_mercs }
		prerequisite = { focus = LBA_red_sea_trade_deal }
		prerequisite = { focus = LBA_meet_mengistu }
		mutually_exclusive = { focus = LBA_strive_for_uar focus = LBA_strive_for_african_union }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			is_subject = no
			is_ruled_by_a_gaddafi = yes
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_anti_colonialist"
			if = { limit = { is_faction_leader = yes }
				dismantle_faction = yes
			}
			else_if = { limit = { is_in_faction = yes }
				leave_faction = yes
			}
			create_faction_from_template = faction_template_lba_anti_colonial
			custom_effect_tooltip = LBA_anti_colonialist_tt
			hidden_effect = { news_event = { id = LibyaFocusNews.12 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ANTI_COLONIAL_UNION_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_anti_colonial_path = yes }
		}
	}

	focus = {
		id = LBA_strive_for_uar
		icon = LIB_UAR

		x = 0
		y = 3
		relative_position_id = LBA_gaddafis_dream

		cost = 10

		prerequisite = { focus = LBA_weapons_to_taylor }
		prerequisite = { focus = LBA_central_african_mercs }
		prerequisite = { focus = LBA_red_sea_trade_deal }
		prerequisite = { focus = LBA_meet_mengistu }
		mutually_exclusive = {
			focus = LBA_anti_colonialist
			focus = LBA_strive_for_african_union
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			is_subject = no
			is_ruled_by_a_gaddafi = yes
			custom_trigger_tooltip = {
				NOT = { has_global_flag = neo_baathist_uar_formed }
				tooltip = neo_baathist_uar_not_formed_tt
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_strive_for_uar"
			set_global_flag = neo_baathist_uar_formed
			set_country_flag = formed_neo_baathist_uar
			mark_formed_country_formable = yes
			set_cosmetic_tag = UAR_communism
			set_temp_variable = { special_formable_id = 103 }
			commit_special_formable = yes
			clr_country_flag = dynamic_flag
			clr_country_flag = dynamic_rebel_flag
			custom_effect_tooltip = create_uar_effect_tt
			custom_effect_tooltip = announce_uar_warning_tt
			update_arabic_country_gdp_total_effect = yes
			hidden_effect = { news_event = { id = UAR_news.1 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_UNITED_ARAB_REPUBLIC_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_uar_path = yes }
		}
	}

	focus = {
		id = LBA_strive_for_african_union
		icon = goal_JAP_diplomacy_africa

		x = 3
		y = 3
		relative_position_id = LBA_gaddafis_dream

		cost = 10

		prerequisite = { focus = LBA_weapons_to_taylor }
		prerequisite = { focus = LBA_central_african_mercs }
		prerequisite = { focus = LBA_red_sea_trade_deal }
		prerequisite = { focus = LBA_meet_mengistu }
		mutually_exclusive = {
			focus = LBA_anti_colonialist
			focus = LBA_strive_for_uar
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			is_subject = no
			is_ruled_by_a_gaddafi = yes
			custom_trigger_tooltip = {
				NOT = { is_neo_baathist_uar = yes }
				tooltip = LBA_strive_for_african_union_trigger_tt
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_strive_for_african_union"
			if = {
				limit = { NOT = { has_global_flag = African_Union_formed } }
				effect_tooltip = {
					swap_ideas = {
						remove_idea = OAU_member
						add_idea = AU_member
					}
					every_country = {
						limit = {
							has_country_flag = african_nation_flag
						}
						if = {
							limit = { has_idea = OAU_member }
							swap_ideas = {
								remove_idea = OAU_member
								add_idea = AU_member
							}
						}
						country_event = AfricanUnion.1
					}
					custom_effect_tooltip = LBA_strive_for_african_union_unlock_shared_tree_tt
				}
				hidden_effect = {
					every_country = {
						limit = {
							has_country_flag = african_nation_flag
						}
						country_event = AfricanUnion.1
					}
					news_event = { id = AfricanUnion_news.1 days = 7 }
				}
			}
			custom_effect_tooltip = LBA_strive_for_african_union_tt
		}

		ai_will_do = {
			base = 1
			modifier = { factor = 25 has_global_flag = LBA_UNITED_STATES_OF_AFRICA_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_us_africa_path = yes }
		}
	}

	focus = {
		id = LBA_islamic_legion
		icon = sword_of_islam_05

		x = -4
		y = 4
		relative_position_id = LBA_gaddafis_dream

		cost = 7

		prerequisite = { focus = LBA_anti_colonialist }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { is_ruled_by_a_gaddafi = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_islamic_legion"
			add_ideas = LBA_islamic_legion_idea
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 has_global_flag = LBA_ANTI_COLONIAL_UNION_FOCUS_PATH }
			modifier = { factor = 0 LBA_ai_not_anti_colonial_path = yes }
		}
	}

	focus = {
		id = LBA_regional_politics
		icon = Map_with_coat_of_arms

		x = 36
		y = 5

		cost = 5

		prerequisite = {
			focus = LBA_strive_for_african_union
			focus = LBA_anti_colonialist
			focus = LBA_strive_for_uar
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			is_ruled_by_a_gaddafi = yes
			OR = {
				has_idea = regional_power
				has_idea = large_power
				has_idea = great_power
				has_idea = super_power
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_regional_politics"
			add_political_power = 150
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_contact_taylor
		icon = align_to_liberia

		x = -7
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = LIB } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_contact_taylor"
			if = {
				limit = {
					LIB = {
						has_country_leader = {
							name = "Charles Taylor"
							ruling_only = yes
						}
					}
				}
				set_temp_variable = { influence_target = LIB }
				set_temp_variable = { percent_change = 4 }
				change_influence_percentage = yes
			}
			else = {
				add_ideas = LBA_employing_charles_taylor
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_contact_koroma
		icon = diplomatic_treaty

		x = -5
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = AFR } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_contact_koroma"
			if = {
				limit = {
					AFR = {
						has_country_leader = {
							name = "Maj. Johnny Koroma"
							ruling_only = yes
						}
					}
				}
				set_temp_variable = { influence_target = AFR }
				set_temp_variable = { percent_change = 4 }
				change_influence_percentage = yes
			}
			else = {
				increase_corruption = yes
				AFR = {
					AFR_sam_mosquito_bockarie = {
						set_nationality = ROOT
					}
					AFR_issa_sesay = {
						set_nationality = ROOT
					}
					AFR_augustine_gbao = {
						set_nationality = ROOT
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_new_liberian_revolution
		icon = attack_liberia2

		x = -6
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 5

		prerequisite = { focus = LBA_contact_taylor }
		prerequisite = { focus = LBA_contact_koroma }
		will_lead_to_war_with = LIB

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_subject = no
			country_exists = LIB
			LIB = {
				has_war = no
				influence_higher_15 = yes
			}
		}

		bypass = { LIB = { is_subject_of = ROOT } }

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_liberia_coup_response_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_liberian_revolution"
			if = {
				limit = {
					LIB = {
						has_country_leader = {
							name = "Charles Taylor"
							ruling_only = yes
						}
					}
				}
				LIB = {
					set_country_flag = always_say_yes
					country_event = { id = md4.14 hours = 6 }
				}
			}
			else = {
				LIB = {
					country_event = { id = LibyaFocus.82 hours = 6 }
					custom_effect_tooltip = LBA_new_liberian_revolution_tt
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_spread_fire_to_guinea
		icon = flames_of_rebellion

		x = -7
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_new_liberian_revolution }
		will_lead_to_war_with = GUI

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			LIB = { is_subject_of = ROOT }
			country_exists = GUI
			NOT = { GUI = { is_subject_of = ROOT } }
			NOT = { GUI = { is_in_faction_with = ROOT } }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_spread_fire_to_guinea"
			set_temp_variable = { wargoal_on = GUI }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = annex_everything
				target = GUI
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_spread_fire_to_ivory_coast
		icon = stage_africa

		x = -5
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_new_liberian_revolution }
		will_lead_to_war_with = CDI

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			LIB = { is_subject_of = ROOT }
			country_exists = CDI
			NOT = { CDI = { is_subject_of = ROOT } }
			NOT = { CDI = { is_in_faction_with = ROOT } }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_spread_fire_to_ivory_coast"
			set_temp_variable = { wargoal_on = CDI }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = annex_everything
				target = CDI
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_reinforce_central_african_mercs
		icon = small_arms_east

		x = -2
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_ruled_by_a_gaddafi = yes
			NOT = { has_war_with = CAR }
		}

		bypass = { NOT = { country_exists = CAR } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_reinforce_central_african_mercs"
			CAR = { country_event = { id = LibyaFocus.77 hours = 3 } }
			effect_tooltip = {
				CAR = {
					add_stability = 0.05
					capital_scope = {
						create_unit = {
							division = "name = \"Murtaziqat Libiun\" division_template = \"Libyan Mercenaries\" start_experience_factor = 0.4"
							owner = CAR
						}
					}
				}
			}
			set_temp_variable = { influence_target = CAR }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_mercenary_coup
		icon = attack_car

		x = -2
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 5

		prerequisite = { focus = LBA_reinforce_central_african_mercs }
		will_lead_to_war_with = CAR

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			country_exists = CAR
			CAR = {
				has_war = no
				influence_higher_15 = yes
			}
		}

		bypass = {
			is_subject = no
			CAR = { is_subject_of = ROOT }
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_liberia_coup_response_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_mercenary_coup"
			CAR = {
				country_event = { id = LibyaFocus.82 hours = 6 }
				custom_effect_tooltip = LBA_new_liberian_revolution_tt
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_incursion_to_rep_congo
		icon = war2

		x = -3
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_mercenary_coup }
		will_lead_to_war_with = CNG

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			CAR = { is_subject_of = ROOT }
			country_exists = CNG
			NOT = { CNG = { is_subject_of = ROOT } }
			NOT = { CNG = { is_in_faction_with = ROOT } }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_incursion_to_rep_congo"
			set_temp_variable = { wargoal_on = CNG }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = annex_everything
				target = CNG
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_incursion_to_drc
		icon = war2_green

		x = -1
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_mercenary_coup }
		will_lead_to_war_with = DRC

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			CAR = { is_subject_of = ROOT }
			OR = {
				country_exists = DRC
				country_exists = MLC
				country_exists = RCD
			}
			OR = {
				NOT = { DRC = { is_subject_of = ROOT } }
				NOT = { MLC = { is_subject_of = ROOT } }
				NOT = { RCD = { is_subject_of = ROOT } }
			}
			OR = {
				NOT = { DRC = { is_in_faction_with = ROOT } }
				NOT = { MLC = { is_in_faction_with = ROOT } }
				NOT = { RCD = { is_in_faction_with = ROOT } }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_incursion_to_drc"
			if = {
				limit = {
					country_exists = DRC
					NOT = { DRC = { is_subject_of = ROOT } }
					NOT = { DRC = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = DRC }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					type = annex_everything
					target = DRC
				}
			}
			if = {
				limit = {
					country_exists = MLC
					NOT = { MLC = { is_subject_of = ROOT } }
					NOT = { MLC = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = MLC }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					type = annex_everything
					target = MLC
				}
			}
			if = {
				limit = {
					country_exists = RCD
					NOT = { RCD = { is_subject_of = ROOT } }
					NOT = { RCD = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = RCD }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					type = annex_everything
					target = RCD
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_djibouti_base
		icon = align_to_djibouti

		x = 2
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }
		will_lead_to_war_with = DJI

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			country_exists = DJI
			NOT = { has_war_with = DJI }
			DJI = { influence_higher_15 = yes }
		}

		bypass = { DJI = { is_subject_of = ROOT } }

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_submission_accepted_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_djibouti_base"
			DJI = { country_event = { id = md4.14 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_destability_somalia
		icon = attack_somalia

		x = 1
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 10

		prerequisite = { focus = LBA_djibouti_base }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_subject = no
			OR = {
				country_exists = SML
				country_exists = PUN
				country_exists = SOM
				country_exists = SNA
				country_exists = SWS
				country_exists = JUB
				country_exists = SHB
			}
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_somalia_destabilization_response_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_destability_somalia"
			if = {
				limit = {
					country_exists = SML
					country_exists = PUN
					NOT = {
						SML = {
							owns_state = 938
							owns_state = 238
						}
					}
					NOT = {
						PUN = {
							owns_state = 938
							owns_state = 238
						}
					}
				}
				SML = { country_event = { id = LibyaFocus.83 hours = 6 } }
				PUN = { country_event = { id = LibyaFocus.83 hours = 6 } }
				custom_effect_tooltip = LBA_destability_somalia_tt
				effect_tooltip = {
					SML = {
						add_stability = -0.05
						increase_military_spending = yes
					}
				}
				newline = yes
				effect_tooltip = {
					SML = {
						add_stability = 0.05
						decrease_economic_growth = yes
					}
				}
			}
			if = {
				limit = {
					NOT = { has_global_flag = GLOBAL_somali_civil_war_cleanup_complete }
				}
				every_country = {
					limit = {
						OR = {
							original_tag = SOM
							original_tag = SNA
							original_tag = SWS
							original_tag = JUB
							original_tag = SHB
						}
						exists = yes
					}
					country_event = { id = LibyaFocus.84 hours = 6 }
					send_equipment = {
						equipment = infantry_weapons_1
						amount = 1000
						target = THIS
					}
				}
			}
			else = {
				random_country = {
					limit = {
						OR = {
							original_tag = SOM
							original_tag = SNA
							original_tag = SHB
						}
					}
					country_event = { id = LibyaFocus.85 hours = 6 }
				}
				ETH = { country_event = { id = LibyaFocus.85 hours = 6 } }
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_arm_ethiopian_tribes
		icon = focus_ETH_sway_the_warlords

		x = 3
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_djibouti_base }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_subject = no
			country_exists = ETH
			NOT = { ETH = { is_subject_of = ROOT } }
			ETH = { owns_state = 236 }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_arm_ethiopian_tribes"
			ETH = {
				country_event = { id = LibyaFocus.86 hours = 6 }
				effect_tooltip = {
					add_timed_idea = {
						idea = LBA_ethiopia_somali_resistance
						days = 360
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_organise_eth_som_conflict
		icon = focus_ETH_victory_in_the_desert

		x = 2
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 10

		prerequisite = { focus = LBA_destability_somalia }
		prerequisite = { focus = LBA_arm_ethiopian_tribes }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = {
			is_subject = no
			OR = {
				AND = {
					country_exists = SML
					country_exists = PUN
				}
				AND = {
					country_exists = ETH
					OR = {
						country_exists = SOM
						country_exists = SHB
						country_exists = SNA
					}
				}
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_organise_eth_som_conflict"
			if = {
				limit = {
					country_exists = SML
					country_exists = PUN
					NOT = {
						SML = {
							owns_state = 938
							owns_state = 238
						}
					}
					NOT = {
						PUN = {
							owns_state = 938
							owns_state = 238
						}
					}
				}
				SML = { country_event = { id = LibyaFocus.87 hours = 6 } }
				PUN = { country_event = { id = LibyaFocus.87 hours = 6 } }
				effect_tooltip = {
					SML = {
						declare_war_on = {
							target = PUN
							type = annex_everything
						}
					}
				}
			}
			newline = yes
			if = {
				limit = {
					country_exists = ETH
					OR = {
						country_exists = SOM
						country_exists = SHB
						country_exists = SNA
					}
					ETH = { owns_state = 236 }
				}
				ETH = { country_event = { id = LibyaFocus.88 hours = 6 } }
				effect_tooltip = {
					ETH = {
						if = {
							limit = {
								country_exists = SOM
							}
							declare_war_on = {
								target = SOM
								type = annex_everything
							}
						}
						if = {
							limit = {
								country_exists = SHB
							}
							declare_war_on = {
								target = SHB
								type = annex_everything
							}
						}
						if = {
							limit = {
								country_exists = SNA
							}
							declare_war_on = {
								target = SNA
								type = annex_everything
							}
						}
						if = {
							limit = {
								country_exists = SWS
							}
							declare_war_on = {
								target = SWS
								type = annex_everything
							}
						}
						if = {
							limit = {
								country_exists = JUB
							}
							declare_war_on = {
								target = JUB
								type = annex_everything
							}
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_intervene_for_stability
		icon = focus_ETH_boots_on_the_shore

		x = 2
		y = 4
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_organise_eth_som_conflict }
		will_lead_to_war_with = SML
		will_lead_to_war_with = PUN
		will_lead_to_war_with = ETH
		will_lead_to_war_with = SOM
		will_lead_to_war_with = SNA
		will_lead_to_war_with = SHB
		will_lead_to_war_with = SWS
		will_lead_to_war_with = JUB

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = { is_subject = no }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_intervene_for_stability"
			if = {
				limit = {
					country_exists = SML
					NOT = { SML = { is_subject_of = ROOT } }
					NOT = { SML = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = SML }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = SML
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = PUN
					NOT = { PUN = { is_subject_of = ROOT } }
					NOT = { PUN = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = PUN }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = PUN
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = SOM
					NOT = { SOM = { is_subject_of = ROOT } }
					NOT = { SOM = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = SOM }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = SOM
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = SNA
					NOT = { SNA = { is_subject_of = ROOT } }
					NOT = { SNA = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = SNA }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = SNA
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = SHB
					NOT = { SHB = { is_subject_of = ROOT } }
					NOT = { SHB = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = SHB }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = SHB
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = SWS
					NOT = { SWS = { is_subject_of = ROOT } }
					NOT = { SWS = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = SWS }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = SWS
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = JUB
					NOT = { JUB = { is_subject_of = ROOT } }
					NOT = { JUB = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = JUB }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = JUB
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = ETH
					NOT = { ETH = { is_subject_of = ROOT } }
					NOT = { ETH = { is_in_faction_with = ROOT } }
				}
				set_temp_variable = { wargoal_on = ETH }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = ETH
					type = annex_everything
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_influence_yemen
		icon = align_to_yemen

		x = 6
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = YEM } }

		bypass = { NOT = { country_exists = YEM } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_influence_yemen"
			set_temp_variable = { influence_target = YEM }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_infiltrate_kuwait
		icon = snitch

		x = 8
		y = 1
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = { focus = LBA_regional_politics }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = KUW } }

		bypass = { NOT = { country_exists = KUW } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_infiltrate_kuwait"
			add_ideas = LBA_hakem_al_mutairi
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_occupy_socotra
		icon = annex_country_2

		x = 5
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = {
			focus = LBA_djibouti_base
			focus = LBA_influence_yemen
		}
		will_lead_to_war_with = YEM

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			NOT = { has_war_with = YEM }
			YEM = {
				controls_state = 200
			}
			NOT = { YEM = { is_subject_of = ROOT } }
		}

		bypass = { owns_state = 200 }

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_socotra_response_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_occupy_socotra"
			transfer_state = 200
			YEM = { country_event = { id = LibyaFocus.89 hours = 6 } }
			add_named_threat = {
				threat = 5
				name = LBA_occupy_socotra_threat
			}
			hidden_effect = { news_event = { id = LibyaFocusNews.13 hours = 6 } }
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_fortify_socotra
		icon = city_fort

		x = 4
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 10

		prerequisite = { focus = LBA_occupy_socotra }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE }

		available = {
			owns_state = 200
			controls_state = 200
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_fortify_socotra"
			set_temp_variable = { treasury_change = -6 }
			modify_treasury_effect = yes
			200 = {
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 8000
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_contact_qatar
		icon = military_deal

		x = 7
		y = 2
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = {
			focus = LBA_influence_yemen
			focus = LBA_infiltrate_kuwait
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE }

		available = { NOT = { has_war_with = QAT } }

		bypass = { NOT = { country_exists = QAT } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_contact_qatar"
			set_temp_variable = { influence_target = QAT }
			set_temp_variable = { percent_change = 4 }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_overthrow_saudis
		icon = focus_ETH_an_arabic_base

		x = 6
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = {
			focus = LBA_contact_qatar
			focus = LBA_influence_yemen
		}
		will_lead_to_war_with = SAU

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			country_exists = SAU
			SAU = { has_war = no }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_overthrow_saudis"
			set_temp_variable = { wargoal_on = SAU }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = SAU
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	focus = {
		id = LBA_overthrow_kuwaitis
		icon = Generic_Coup02

		x = 8
		y = 3
		relative_position_id = LBA_regional_politics

		cost = 7

		prerequisite = {
			focus = LBA_contact_qatar
			focus = LBA_infiltrate_kuwait
		}
		will_lead_to_war_with = KUW

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_ANNEXATION }

		available = {
			is_subject = no
			country_exists = KUW
			KUW = { has_war = no }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_overthrow_kuwaitis"
			set_temp_variable = { wargoal_on = KUW }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = KUW
				type = annex_everything
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_gaddafi_union_path = yes }
			modifier = { factor = 0 LBA_ai_not_gaddafi_union_path = yes }
		}
	}

	#Additional political paths
	focus = {
		id = LBA_end_of_gaddafi
		icon = riot_of_37

		offset = {
			y = -10
			trigger = {
				not = { country_exists = LBA }
			}
		}
		x = 24
		y = 16

		cost = 1

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { is_not_ruled_by_a_gaddafi = yes }

		bypass = { is_not_ruled_by_a_gaddafi = yes }

		completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus LBA_end_of_gaddafi" }

		bypass_effect = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_end_of_gaddafi"
			if = {
				limit = { has_idea = LBA_general_peoples_congress }
				remove_ideas = LBA_general_peoples_congress
			}
			if = {
				limit = { has_idea = LBA_empowered_revolutionary_committees }
				remove_ideas = LBA_empowered_revolutionary_committees
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_just_another_gaddafi
		icon = Paternal_Autocrat

		x = -20
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
			custom_trigger_tooltip = {
				tooltip = LBA_just_another_gaddafi_tt
				NOT = {
					any_enemy_country = {
						original_tag = LBA
						emerging_autocracy_are_in_power = yes
					}
				}
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_just_another_gaddafi"
			add_country_leader_trait = dictator
			add_country_leader_trait = shadow_of_gaddafi
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_green_resistance
		icon = revolutionary_primitivism

		x = -1
		y = 1
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = { focus = LBA_just_another_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_green_resistance"
			if = {
				limit = {
					has_idea = LBA_green_resistance_2
				}
				swap_ideas = {
					add_idea = LBA_green_resistance_3
					remove_idea = LBA_green_resistance_2
				}
			}
			else = {
				add_ideas = LBA_green_resistance_1
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_employ_gaddafi_loyalists
		icon = border_patrol_increase

		x = 1
		y = 1
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = { focus = LBA_just_another_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_employ_gaddafi_loyalists"
			if = {
				limit = {
					has_idea = LBA_green_resistance_1
				}
				swap_ideas = {
					add_idea = LBA_green_resistance_3
					remove_idea = LBA_green_resistance_1
				}
			}
			else = {
				add_ideas = LBA_green_resistance_2
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_expand_tribes
		icon = break_free2

		x = -2
		y = 2
		relative_position_id = LBA_just_another_gaddafi

		cost = 5

		prerequisite = { focus = LBA_green_resistance }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_tribes"
			add_named_threat = {
				threat = 5
				name = LBA_expand_tribes_threat
			}
			TUA = {
				every_core_state = {
					limit = {
						NOT = { is_core_of = ROOT }
					}
					add_claim_by = ROOT
				}
			}
			TIE = {
				every_core_state = {
					limit = {
						NOT = { is_core_of = ROOT }
					}
					add_claim_by = ROOT
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_moderate_islamism
		icon = mod_qur_sun

		x = 0
		y = 2
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = {
			focus = LBA_green_resistance
			focus = LBA_employ_gaddafi_loyalists
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_moderate_islamism"
			set_temp_variable = { temp_modify_social_con_government = -5 }
			modify_social_conservatism_government = yes
			add_ideas = LBA_moderated_quran_and_sunnah
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_maintain_territorial_integrity
		icon = focus_generic_court

		x = 2
		y = 2
		relative_position_id = LBA_just_another_gaddafi

		cost = 10

		prerequisite = { focus = LBA_employ_gaddafi_loyalists }
		will_lead_to_war_with = CYR
		will_lead_to_war_with = TRP
		will_lead_to_war_with = FEZ
		will_lead_to_war_with = TIE
		will_lead_to_war_with = TUA

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_maintain_territorial_integrity"
			add_war_support = 0.05
			if = {
				limit = {
					country_exists = TRP
					TRP = { NOT = { is_subject_of = ROOT } }
				}
				set_temp_variable = { wargoal_on = TRP }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = TRP
					type = annex_everything
				}
			}
			else = {
				set_temp_variable = { loyalty_change = 0.10 }
				libya_change_tripolitania_loyalty = yes
			}
			if = {
				limit = {
					country_exists = CYR
					CYR = { NOT = { is_subject_of = ROOT } }
				}
				set_temp_variable = { wargoal_on = CYR }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = CYR
					type = annex_everything
				}
			}
			else = {
				set_temp_variable = { loyalty_change = 0.10 }
				libya_change_cyrenaica_loyalty = yes
			}
			if = {
				limit = {
					country_exists = FEZ
					FEZ = { NOT = { is_subject_of = ROOT } }
				}
				set_temp_variable = { wargoal_on = FEZ }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = FEZ
					type = annex_everything
				}
			}
			else = {
				set_temp_variable = { loyalty_change = 0.10 }
				libya_change_fezzan_loyalty = yes
			}
			libya_update_tribalism_modifiers = yes
			if = {
				limit = {
					country_exists = TIE
					TIE = {
						NOT = { is_subject_of = ROOT }
						OR = {
							owns_state = 920
							owns_state = 1100
							owns_state = 1101
						}
					}
				}
				set_temp_variable = { wargoal_on = TIE }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = TIE
					type = annex_everything
				}
			}
			if = {
				limit = {
					country_exists = TUA
					TUA = {
						NOT = { is_subject_of = ROOT }
						owns_state = 918
					}
				}
				set_temp_variable = { wargoal_on = TUA }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = TUA
					type = annex_everything
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_liberate_tuareg
		icon = volunteer_alliance

		x = -3
		y = 3
		relative_position_id = LBA_just_another_gaddafi

		cost = 10

		prerequisite = { focus = LBA_expand_tribes }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		bypass = { NOT = { any_other_country = { any_owned_state = { is_core_of = TUA } } } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_liberate_tuareg"
			custom_effect_tooltip = LBA_liberate_tuareg_tt
			every_country = {
				limit = {
					NOT = { original_tag = ROOT }
					NOT = { original_tag = TUA }
					any_owned_state = {
						is_core_of = TUA
					}
				}
				add_to_array = {
					array = global.libya_diplo_targets
					value = THIS.id
				}
				custom_effect_tooltip = LBA_current_valid_targets_tt
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_liberate_toubou
		icon = demand_territory2

		x = -1
		y = 3
		relative_position_id = LBA_just_another_gaddafi

		cost = 5

		prerequisite = { focus = LBA_expand_tribes }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		bypass = { NOT = { any_other_country = { any_owned_state = { is_core_of = TIE } } } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_liberate_toubou"
			custom_effect_tooltip = LBA_liberate_toubou_tt
			every_country = {
				limit = {
					NOT = { original_tag = ROOT }
					NOT = { original_tag = TIE }
					any_owned_state = {
						is_core_of = TIE
					}
				}
				add_to_array = {
					array = global.libya_diplo_targets
					value = THIS.id
				}
				custom_effect_tooltip = LBA_current_valid_targets_tt
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_ties_with_nato
		icon = western_doctrine

		x = 1
		y = 3
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = { focus = LBA_maintain_territorial_integrity }
		mutually_exclusive = { focus = LBA_ties_with_csto }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
			NOT = {
				any_allied_country = {
					has_government = communism
				}
			}
			OR = {
				AND = {
					has_government = democratic
					any_of_scopes = {
						array = global.nato_members
						is_faction_leader = yes
						has_opinion = {
							target = ROOT
							value > 50
						}
					}
				}
				any_of_scopes = {
					array = global.nato_members
					is_faction_leader = yes
					has_opinion = {
						target = ROOT
						value > 150
					}
				}
			}
		}

		bypass = {
			OR = {
				has_idea = NATO_member
				has_idea = Major_Non_NATO_Ally
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ties_with_nato"
			NATO_major_non_nato_ally_join = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.5
				has_government = democratic
			}
			modifier = {
				factor = 0.5
				NOT = { has_government = democratic }
			}
		}
	}

	focus = {
		id = LBA_ties_with_csto
		icon = eastern_doctrine

		x = 3
		y = 3
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = { focus = LBA_maintain_territorial_integrity }
		mutually_exclusive = { focus = LBA_ties_with_nato }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
			SOV = {
				has_idea = CSTO_member
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = { is_in_faction_with = SOV }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ties_with_csto"
			add_to_tech_sharing_group = CSTO_Tech_Share
			for_each_scope_loop = {
				array = global.CSTO_member
				tooltip = TT_ALL_CSTO_MEMBER_NATIONS_GAIN
				add_opinion_modifier = {
					target = ROOT
					modifier = ideological_alliance
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = ideological_alliance
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.5
				has_government = democratic
			}
			modifier = {
				factor = 1.5
				NOT = { has_government = democratic }
			}
		}
	}

	focus = {
		id = LBA_new_libyan_nation
		icon = Ultranationalism_2

		x = -2
		y = 4
		relative_position_id = LBA_just_another_gaddafi

		cost = 10

		prerequisite = {
			focus = LBA_liberate_tuareg
			focus = LBA_liberate_toubou
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
			any_owned_state = {
				OR = {
					is_core_of = TUA
					is_core_of = TIE
				}
				NOT = { is_core_of = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_new_libyan_nation"
			TUA = {
				every_core_state = {
					limit = {
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
			TIE = {
				every_core_state = {
					limit = {
						NOT = { is_core_of = ROOT }
					}
					add_core_of = ROOT
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_control_the_media
		icon = generic_controlled_press

		x = 0
		y = 4
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = { focus = LBA_moderate_islamism }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_control_the_media"
			if = {
				limit = {
					has_country_leader_with_trait = shadow_of_gaddafi
				}
				remove_country_leader_trait = shadow_of_gaddafi
			}
			add_ideas = GCC_censored_nation_05
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_arms_deals
		icon = rearmament

		x = 2
		y = 4
		relative_position_id = LBA_just_another_gaddafi

		cost = 7

		prerequisite = {
			focus = LBA_ties_with_nato
			focus = LBA_ties_with_csto
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_autocrats_are_in_power = yes
				emerging_reactionaries_are_in_power = yes
				emerging_autocracy_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_arms_deals"
			if = {
				limit = {
					has_completed_focus = LBA_ties_with_nato
				}
				random_other_country = {
					limit = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
					ROOT = {
						add_relation_modifier = {
							target = PREV
							modifier = military_cooperation
						}
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = LBA_ties_with_csto
				}
				add_relation_modifier = {
					target = SOV
					modifier = military_cooperation
				}
			}
			else = {
				random_other_country = {
					limit = {
						is_major = yes
					}
					ROOT = {
						add_relation_modifier = {
							target = PREV
							modifier = military_cooperation
						}
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_echoes_of_the_past
		icon = democracy3

		x = -14
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_echoes_of_the_past"
			if = {
				limit = { NOT = { has_country_leader_with_trait = defender_of_democracy } }
				add_country_leader_trait = defender_of_democracy
			}
			else = {
				add_political_power = 150
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_purge_gaddafi_loyalists
		icon = political_arrests

		x = 0
		y = 1
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_echoes_of_the_past }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_purge_gaddafi_loyalists"
			add_timed_idea = {
				idea = LBA_loyalist_purges
				days = 365
			}
			decrease_centralization = yes
			block_bureau_increase = yes
			decrease_military_spending = yes
			block_defence_increase = yes
			decrease_policing_budget = yes
			block_police_increase = yes
			decrease_education_budget = yes
			block_edu_increase = yes
			decrease_healthcare_budget = yes
			block_health_increase = yes
			decrease_social_spending = yes
			block_social_increase = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_memory_of_ramadan_asswehly
		icon = focus_ARG_defense_and_democracy

		x = -1
		y = 2
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_purge_gaddafi_loyalists }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_memory_of_ramadan_asswehly"
			add_ideas = LBA_ramadan_asswehly_remembrance
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_soothe_tribal_tension
		icon = white_peace

		x = 1
		y = 2
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_purge_gaddafi_loyalists }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_soothe_tribal_tension"
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_tribal_assembly
		icon = democracy6

		x = 0
		y = 3
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_memory_of_ramadan_asswehly }
		prerequisite = { focus = LBA_soothe_tribal_tension }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tribal_assembly"
			add_ideas = LBA_tribal_assembly_created
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_invest_in_tripolitania
		icon = crane_and_tower

		x = -2
		y = 4
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_tribal_assembly }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			OR = {
				owns_state = 393
				owns_state = 391
				owns_state = 919
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invest_in_tripolitania"
			set_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 100 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_state = {
					limit = {
						OR = {
							state = 393
							state = 391
							state = 919
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = offices
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
				}
			}
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_offices = no }
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_invest_in_cyrenaica
		icon = generic_ship_fix

		x = 0
		y = 4
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_tribal_assembly }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			OR = {
				owns_state = 397
				owns_state = 395
				owns_state = 396
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invest_in_cyrenaica"
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 65 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_state = {
					limit = {
						OR = {
							state = 397
							state = 395
							state = 396
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
				}
			}
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_dockyard = no }
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_invest_in_fezzan
		icon = generic_resource_extr

		x = 2
		y = 4
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_tribal_assembly }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_EXPENDITURE }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			OR = {
				owns_state = 392
				owns_state = 920
				owns_state = 918
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_invest_in_fezzan"
			set_temp_variable = { treasury_change = -8 }
			modify_treasury_effect = yes
			random_list = {
				25 = {
					random_owned_state = {
						limit = {
							OR = {
								state = 392
								state = 920
								state = 918
							}
						}
						add_resource = {
							type = steel
							amount = 8
						}
					}
				}
				25 = {
					random_owned_state = {
						limit = {
							OR = {
								state = 392
								state = 920
								state = 918
							}
						}
						add_resource = {
							type = aluminium
							amount = 8
						}
					}
				}
				25 = {
					random_owned_state = {
						limit = {
							OR = {
								state = 392
								state = 920
								state = 918
							}
						}
						add_resource = {
							type = chromium
							amount = 8
						}
					}
				}
				25 = {
					random_owned_state = {
						limit = {
							OR = {
								state = 392
								state = 920
								state = 918
							}
						}
						add_resource = {
							type = tungsten
							amount = 8
						}
					}
				}
			}
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
			libya_update_tribalism_modifiers = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_tripolitanian_soldiers
		icon = Generic_Army_Focus_Red02

		x = -2
		y = 5
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_invest_in_tripolitania }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			NOT = { country_exists = TRP }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tripolitanian_soldiers"
			add_ideas = LBA_tripolitania_elite_soldiers
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_cyrenaican_oil
		icon = oil_production2

		x = 0
		y = 5
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_invest_in_cyrenaica }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			NOT = { country_exists = CYR }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_cyrenaican_oil"
			add_ideas = LBA_cyrenaican_oil_expertise
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_fezzani_caravans
		icon = fezzan_caravan

		x = 2
		y = 5
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_invest_in_fezzan }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
			NOT = { country_exists = FEZ }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_fezzani_caravans"
			add_ideas = LBA_fezzani_desert_expertise
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_tribal_unification
		icon = national_unity

		x = 0
		y = 6
		relative_position_id = LBA_echoes_of_the_past

		cost = 7

		prerequisite = { focus = LBA_tripolitanian_soldiers }
		prerequisite = { focus = LBA_cyrenaican_oil }
		prerequisite = { focus = LBA_fezzani_caravans }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_conservatism_are_in_power = yes
				neutrality_neutral_conservatism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tribal_unification"
			if = {
				limit = {
					NOT = { has_country_flag = LBA_tribalism_disabled }
				}
				custom_effect_tooltip = LBA_federation_tt
				hidden_effect = { lba_disable_tribalism = yes }
				set_country_flag = LBA_tribalism_disabled
			}
			else = {
				add_political_power = 200
			}
			remove_ideas = LBA_tripolitania_elite_soldiers
			remove_ideas = LBA_cyrenaican_oil_expertise
			remove_ideas = LBA_fezzani_desert_expertise
			add_ideas = LBA_tribal_union
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_free_libya
		icon = expand_finance_ministry

		x = -6
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_free_libya"
			increase_economic_growth = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_emergency_privatisation
		icon = radical_tax_reform

		x = -1
		y = 2
		relative_position_id = LBA_free_libya

		cost = 10

		prerequisite = { focus = LBA_free_libya }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_emergency_privatisation"
			set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.3 } }
			modify_treasury_effect = yes
			custom_effect_tooltip = LBA_emergency_privatisation_tt
			add_to_variable = { lba_oil_nationalisation = -0.20 }
			clamp_variable = {
				var = lba_oil_nationalisation
				max = 0
			}
			libya_update_nationalisation = yes
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_multi_party_cabinet
		icon = KHM_democratic_coalition

		x = 0
		y = 1
		relative_position_id = LBA_free_libya

		cost = 7

		prerequisite = { focus = LBA_free_libya }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			OR = {
				western_autocrats_are_in_coalition = yes
				western_conservatism_are_in_coalition = yes
				western_social_democrats_are_in_coalition = yes
				emerging_communist_state_are_in_coalition = yes
				emerging_anarchist_communism_are_in_coalition = yes
				emerging_reactionaries_are_in_coalition = yes
				emerging_autocracy_are_in_coalition = yes
				emerging_moderate_shiite_are_in_coalition = yes
				emerging_hardline_shiite_are_in_coalition = yes
				salafist_kingdom_are_in_coalition = yes
				salafist_caliphate_are_in_coalition = yes
				neutrality_neutral_muslim_brotherhood_are_in_coalition = yes
				neutrality_neutral_autocracy_are_in_coalition = yes
				neutrality_neutral_conservatism_are_in_coalition = yes
				neutrality_neutral_oligarch_are_in_coalition = yes
				neutrality_neutral_green_are_in_coalition = yes
				neutrality_neutral_social_are_in_coalition = yes
				neutrality_neutral_communism_are_in_coalition = yes
				nationalist_right_wing_populists_are_in_coalition = yes
				nationalist_fascist_are_in_coalition = yes
				nationalist_military_junta_are_in_coalition = yes
				nationalist_monarchists_are_in_coalition = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_multi_party_cabinet"
			add_ideas = LBA_multiple_parties_in_cabinet
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_guarantee_freedoms
		icon = Fight_for_Freedom

		x = 1
		y = 2
		relative_position_id = LBA_free_libya

		cost = 7

		prerequisite = { focus = LBA_free_libya }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_guarantee_freedoms"
			add_ideas = LBA_guaranteed_freedom
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_attract_private_oil_companies
		icon = oil_corpos

		x = -3
		y = 3
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = { focus = LBA_emergency_privatisation }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_attract_private_oil_companies"
			unlock_decision_tooltip = libya_develop_oil_fields_with_foreign_aid
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_IN_CATEGORY
				DECISION = libya_develop_oil_fields_with_foreign_aid
				DECISION_CATEGORY = libya_oil_nationalisation
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_ONLY_CATEGORY
				DECISION_CATEGORY = libya_oil_nationalisation
			}
			custom_effect_tooltip = {
				localization_key = LOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_develop_el_sahara_fields
			}
			custom_effect_tooltip = {
				localization_key = LOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_develop_west_waha_fields
			}
			custom_effect_tooltip = {
				localization_key = LOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_develop_east_waha_fields
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_allow_private_farming
		icon = goal_JAP_agrarian_reform

		x = -1
		y = 3
		relative_position_id = LBA_free_libya

		cost = 10

		prerequisite = { focus = LBA_emergency_privatisation }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_allow_private_farming"
			add_ideas = LBA_private_agriculture_encouraged
			set_temp_variable = { treasury_change = -3.75 }
			modify_treasury_effect = yes
			if = {
				limit = {
					NOT = { check_variable = { total_unemployed_percentage_display > 0 } }
				}
				set_temp_variable = { temp_productivity_change = 30 }
				flat_productivity_change_effect = yes
			}
			else = {
				random_owned_state = {
					limit = {
						free_building_slots = {
							building = agriculture_district
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
						is_coastal = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = agriculture_district
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_agriculture_district = no }
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_freedom_of_conscience
		icon = religious_unity

		x = 1
		y = 3
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = { focus = LBA_guarantee_freedoms }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_freedom_of_conscience"
			set_temp_variable = { temp_modify_social_con_government = -15 }
			modify_social_conservatism_government = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_free_prisoners
		icon = pro_immigration2

		x = 3
		y = 3
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = { focus = LBA_guarantee_freedoms }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_free_prisoners"
			add_political_power = 200
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_dismantle_noc
		icon = seize_oil

		x = -4
		y = 4
		relative_position_id = LBA_free_libya

		cost = 10

		prerequisite = { focus = LBA_attract_private_oil_companies }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_dismantle_noc"
			set_temp_variable = { temp_productivity_change = 10 }
			flat_productivity_change_effect = yes
			set_country_flag = libya_noc_dismantled
			custom_effect_tooltip = LBA_dismantle_noc_tt
			if = { limit = { has_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } } remove_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } }
			if = {
				limit = { has_idea = fossil_fuel_industry }
				if = {
					limit = { NOT = { has_idea = international_bankers } }
					swap_ideas = {
						add_idea = international_bankers
						remove_idea = fossil_fuel_industry
					}
				}
				else_if = {
					limit = { NOT = { has_idea = industrial_conglomerates } }
					swap_ideas = {
						add_idea = industrial_conglomerates
						remove_idea = fossil_fuel_industry
					}
				}
				else = {
					swap_ideas = {
						add_idea = maritime_industry
						remove_idea = fossil_fuel_industry
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						OR = {
							NOT = { country_exists = TRP }
							TRP = { is_subject_of = ROOT }
						}
					}
					if = { limit = { has_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } } remove_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } }
				}
				if = {
					limit = {
						OR = {
							NOT = { country_exists = CYR }
							CYR = { is_subject_of = ROOT }
						}
					}
					if = { limit = { has_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } } remove_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } }
				}
				if = {
					limit = {
						OR = {
							NOT = { country_exists = FEZ }
							FEZ = { is_subject_of = ROOT }
						}
					}
					if = { limit = { has_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } } remove_dynamic_modifier = { modifier = libya_oil_nationalisation_dynamic_modifier } }
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_india
		icon = align_to_india

		x = -2
		y = 4
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = { focus = LBA_allow_private_farming }
		prerequisite = { focus = LBA_freedom_of_conscience }
		mutually_exclusive = {
			focus = LBA_approach_switzerland
			focus = LBA_approach_france
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			RAJ = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_india"
			RAJ = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				RAJ = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				RAJ = {
					NOT = { has_government = PREV }
				}
			}
		}
	}

	focus = {
		id = LBA_approach_switzerland
		icon = align_to_switzerland

		x = 0
		y = 4
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = { focus = LBA_allow_private_farming }
		prerequisite = { focus = LBA_freedom_of_conscience }
		mutually_exclusive = {
			focus = LBA_approach_france
			focus = LBA_approach_india
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			SWI = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_switzerland"
			SWI = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_france
		icon = align_to_france

		x = 3
		y = 4
		relative_position_id = LBA_free_libya

		cost = 5

		prerequisite = {
			focus = LBA_allow_private_farming
			focus = LBA_no_room_for_islamists
		}
		prerequisite = {
			focus = LBA_freedom_of_conscience
			focus = LBA_no_room_for_islamists
		}
		mutually_exclusive = {
			focus = LBA_approach_switzerland
			focus = LBA_approach_india
			focus = LBA_approach_turkey
			focus = LBA_approach_russia
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
				nationalist_military_junta_are_in_power = yes
			}
			FRA = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_france"
			FRA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				FRA = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				FRA = {
					NOT = { has_government = PREV }
				}
			}
		}
	}

	focus = {
		id = LBA_hire_indian_workers
		icon = BRA_labor_laws

		x = -2
		y = 5
		relative_position_id = LBA_free_libya

		cost = 7

		prerequisite = { focus = LBA_approach_india }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			RAJ = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_hire_indian_workers"
			add_ideas = LBA_indian_workers
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = RAJ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_hire_swiss_advisors
		icon = economic_prosperity2

		x = 0
		y = 5
		relative_position_id = LBA_free_libya

		cost = 7

		prerequisite = { focus = LBA_approach_switzerland }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
			}
			SWI = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_hire_swiss_advisors"
			add_ideas = LBA_swiss_financial_advisors
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = SWI }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_hire_french_energy_advisors
		icon = goal_JAP_restart_nukepowerplant

		x = 3
		y = 5
		relative_position_id = LBA_free_libya

		cost = 7

		prerequisite = { focus = LBA_approach_france }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_liberals_are_in_power = yes
				neutrality_neutral_libertarians_are_in_power = yes
				nationalist_military_junta_are_in_power = yes
			}
			FRA = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_hire_french_energy_advisors"
			add_ideas = LBA_french_nuclear_support
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = FRA }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	focus = {
		id = LBA_libyan_national_army
		icon = focus_generic_military_dictatorship

		x = 0
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			nationalist_military_junta_are_in_power = yes
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_libyan_national_army"
			if = {
				limit = { has_character = LBA_fawzi_almansouri }
				LBA_abdulrazek_alnadoori = {
					add_corps_commander_role = {
						traits = { politically_connected trickster LBA_unit_leader_trait_cyrenaica }
						skill = 3
						attack_skill = 2
						defense_skill = 4
						planning_skill = 2
						logistics_skill = 2
					}
					add_advisor_role = {
						advisor = {
							slot = army_chief
							idea_token = abdulrazek_alnadoori
							traits = {
								army_chief_morale_2
							}
							cost = 100
						}
					}
				}
			}
			if = {
				limit = { has_character = LBA_fawzi_almansouri }
				LBA_fawzi_almansouri = {
					add_corps_commander_role = {
						traits = { brilliant_strategist armoured_cavalry_leader LBA_unit_leader_trait_fezzan }
						skill = 3
						attack_skill = 5
						defense_skill = 2
						planning_skill = 2
						logistics_skill = 1
					}
				}
			}
			if = {
				limit = { has_character = LBA_saqr_geroushi }
				LBA_saqr_geroushi = {
					add_advisor_role = {
						advisor = {
							slot = air_chief
							idea_token = saqr_geroushi
							traits = {
								air_air_superiority_1
							}
							cost = 100
						}
					}
				}
			}
			if = {
				limit = { has_character = LBA_saqr_geroushi }
				LBA_faraj_al_mahdawi = {
					add_advisor_role = {
						advisor = {
							slot = navy_chief
							idea_token = faraj_al_mahdawi
							traits = {
								navy_chief_reform_1
							}
							cost = 100
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_rely_on_gaddafists
		icon = focus_generic_full_social_mobilization

		x = -1
		y = 1
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_libyan_national_army }
		mutually_exclusive = { focus = LBA_call_back_haftar }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_rely_on_gaddafists"
			add_ideas = LBA_gaddafist_military
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_call_back_haftar
		icon = lna_general

		x = 1
		y = 1
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_libyan_national_army }
		mutually_exclusive = { focus = LBA_rely_on_gaddafists }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_call_back_haftar"
			hidden_effect = {
				kill_country_leader = yes
			}
			LBA_khalifa_haftar = {
				set_nationality = ROOT
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = Nat_Autocracy
						desc = LBA_khalifa_haftar_desc
						traits = { nationalist_Nat_Autocracy military_career political_dancer ruthless pro_american pro_russia opposes_muslim_brotherhood }
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_legacy_of_the_free_officers
		icon = military_mission

		x = 0
		y = 2
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = {
			focus = LBA_call_back_haftar
			focus = LBA_rely_on_gaddafists
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_legacy_of_the_free_officers"
			add_ideas = LBA_free_officers_movement
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_no_room_for_islamists
		icon = ban_islamic_schools

		x = -1
		y = 3
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_legacy_of_the_free_officers }
		mutually_exclusive = { focus = LBA_limited_cooperation }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_no_room_for_islamists"
			add_ideas = LBA_islamist_crackdown
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_limited_cooperation
		icon = t_side

		x = 1
		y = 3
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_legacy_of_the_free_officers }
		mutually_exclusive = { focus = LBA_no_room_for_islamists }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_limited_cooperation"
			add_ideas = LBA_islamist_cooperation
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_approach_turkey
		icon = align_to_turkey

		x = 0
		y = 4
		relative_position_id = LBA_libyan_national_army

		cost = 5

		prerequisite = {
			focus = LBA_limited_cooperation
			focus = LBA_no_room_for_islamists
		}
		mutually_exclusive = {
			focus = LBA_approach_russia
			focus = LBA_approach_france
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			nationalist_military_junta_are_in_power = yes
			TUR = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_turkey"
			TUR = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				TUR = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				TUR = {
					NOT = { has_government = PREV }
				}
			}
			modifier = { factor = 1 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_approach_russia
		icon = align_to_russia

		x = 3
		y = 4
		relative_position_id = LBA_libyan_national_army

		cost = 5

		prerequisite = {
			focus = LBA_attract_foreign_investment
			focus = LBA_limited_cooperation
			focus = LBA_no_room_for_islamists
		}
		prerequisite = {
			focus = LBA_friends_in_high_places
			focus = LBA_limited_cooperation
			focus = LBA_no_room_for_islamists
		}
		prerequisite = {
			focus = LBA_private_insurance
			focus = LBA_limited_cooperation
			focus = LBA_no_room_for_islamists
		}
		mutually_exclusive = {
			focus = LBA_approach_turkey
			focus = LBA_approach_france
			focus = LBA_approach_usa
			focus = LBA_approach_china
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				nationalist_military_junta_are_in_power = yes
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			SOV = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_russia"
			SOV = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				SOV = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				SOV = {
					NOT = { has_government = PREV }
				}
			}
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_acquire_turkish_drones
		icon = drone2

		x = 0
		y = 5
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_approach_turkey }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			nationalist_military_junta_are_in_power = yes
			TUR = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_acquire_turkish_drones"
			add_ideas = LBA_turkish_drone_support
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = TUR }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_acquire_russian_weapons
		icon = RussianArms

		x = 3
		y = 5
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_approach_russia }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				nationalist_military_junta_are_in_power = yes
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			SOV = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_acquire_russian_weapons"
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 1000
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_type
				amount = 400
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = L_AT_Equipment
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = H_AT_Equipment
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = AA_Equipment
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis_1
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_amphibious_chassis_1
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis_1
				amount = 100
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_artillery_chassis_1
				amount = 50
				producer = SOV
			}
			add_equipment_to_stockpile = {
				type = medium_tank_aa_chassis_1
				amount = 50
				producer = SOV
			}
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = SOV }
			change_influence_percentage = yes
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_improved_training
		icon = army_planning

		x = -2
		y = 6
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = {
			focus = LBA_hire_french_energy_advisors
			focus = LBA_acquire_turkish_drones
			focus = LBA_acquire_russian_weapons
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_improved_training"
			add_doctrine_cost_reduction = {
				name = LBA_improved_training
				cost_reduction = 0.5
				uses = 2
				category = CAT_land_doctrine
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_expand_al_saiqa
		icon = counter

		x = 0
		y = 6
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = {
			focus = LBA_hire_french_energy_advisors
			focus = LBA_acquire_turkish_drones
			focus = LBA_acquire_russian_weapons
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_al_saiqa"
			custom_effect_tooltip = LBA_expand_al_saiqa_tt
			hidden_effect = {
				division_template = {
					name = "Al-Saiqa"
					regiments = {
						L_Air_Inf_Bat = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
						Militia_Bat = { x = 0 y = 2 }
						L_Air_Inf_Bat = { x = 1 y = 0 }
						Special_Forces = { x = 1 y = 1 }
						Militia_Bat = { x = 1 y = 2 }
					}
					regimental_support = {
						L_Recce_Comp = { x = 0 y = 0 }
					}
					support = {
						L_Engi_Comp = { x = 0 y = 0 }
					}
				}
				395 = {
					create_unit = {
						division = "name = \"Al-Saiqa\" division_template = \"Al-Saiqa\" start_experience_factor = 0.8 start_equipment_factor = 1.0 force_equipment_variants = { infantry_weapons_1 = { owner = SOV } cnc_equipment_1 = { owner = SOV } Anti_tank_0 = { owner = SOV } Anti_Air_0 = { owner = SOV } } "
						owner = ROOT
						prioritize_location = 11954
					}
				}
			}
			LBA_mahmoud_al_wefalli = {
				add_corps_commander_role = {
					traits = { trait_reckless commando special_forces_trait LBA_unit_leader_trait_cyrenaica }
					skill = 4
					attack_skill = 5
					defense_skill = 3
					planning_skill = 3
					logistics_skill = 2
				}
				add_advisor_role = {
					advisor = {
						slot = high_command
						idea_token = mahmoud_al_wefalli
						ledger = army
						traits = {
							army_commando_2
						}
						cost = 100
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_establish_military_zones
		icon = army_general_stuff1

		x = 2
		y = 6
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = {
			focus = LBA_hire_french_energy_advisors
			focus = LBA_acquire_turkish_drones
			focus = LBA_acquire_russian_weapons
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		bypass = { has_country_flag = LBA_tribalism_disabled }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_establish_military_zones"
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_ONLY_CATEGORY
				DECISION_CATEGORY = libya_libyan_tribalism
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_tribalism_military_crackdown
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_tribalism_use_military_as_workforce
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_tribalism_use_military_as_security
			}
			custom_effect_tooltip = {
				localization_key = UNLOCK_DECISION_WITHOUT_CATEGORY
				DECISION = libya_tribalism_demobilise_soldiers
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_military_exercises
		icon = army_mobilisation

		x = -3
		y = 7
		relative_position_id = LBA_libyan_national_army

		cost = 10

		prerequisite = { focus = LBA_improved_training }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_military_exercises"
			every_unit_leader = {
				gain_xp = 1000
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_mobilise_the_tribes
		icon = Generic_Barricade

		x = -1
		y = 7
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_expand_al_saiqa }
		mutually_exclusive = { focus = LBA_employ_mercenaries }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_mobilise_the_tribes"
			if = {
				limit = {
					any_owned_state = { is_core_of = TRP }
				}
				hidden_effect = {
					division_template = {
						name = "Tripolitanian Militia Brigade"
						regiments = {
							Militia_Bat = { x = 0 y = 0 }
							Militia_Bat = { x = 0 y = 1 }
							Militia_Bat = { x = 0 y = 2 }
							Militia_Bat = { x = 0 y = 3 }
						}
					}
				}
				random_owned_controlled_state = {
					limit = { is_core_of = TRP }
					custom_effect_tooltip = LBA_mobilise_the_tribes_tripolitania_tt
					hidden_effect = {
						create_unit = {
							division = "name = \"Misurata\" division_template = \"Tripolitanian Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Geryan\" division_template = \"Tripolitanian Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Zawia\" division_template = \"Tripolitanian Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
					}
				}
			}
			if = {
				limit = {
					any_owned_state = { is_core_of = CYR }
				}
				hidden_effect = {
					division_template = {
						name = "Cyrenaican Militia Brigade"
						regiments = {
							Militia_Bat = { x = 0 y = 0 }
							Militia_Bat = { x = 0 y = 1 }
						}
					}
				}
				random_owned_controlled_state = {
					limit = { is_core_of = CYR }
					custom_effect_tooltip = LBA_mobilise_the_tribes_cyrenaica_tt
					hidden_effect = {
						create_unit = {
							division = "name = \"Al-Awagir\" division_template = \"Cyrenaican Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Al-Zuwayya\" division_template = \"Cyrenaican Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
					}
				}
			}
			if = {
				limit = {
					any_owned_state = { is_core_of = FEZ }
				}
				hidden_effect = {
					division_template = {
						name = "Fezzani Militia Battalion"
						regiments = {
							Mot_Militia_Bat = { x = 0 y = 0 }
						}
					}
				}
				random_owned_controlled_state = {
					limit = { is_core_of = FEZ }
					custom_effect_tooltip = LBA_mobilise_the_tribes_fezzan_tt
					hidden_effect = {
						create_unit = {
							division = "name = \"Hutman\" division_template = \"Fezzani Militia Brigade\" start_experience_factor = 0.2"
							owner = ROOT
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 1 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_employ_mercenaries
		icon = Mercenary_Forces

		x = 1
		y = 7
		relative_position_id = LBA_libyan_national_army

		cost = 7

		prerequisite = { focus = LBA_expand_al_saiqa }
		mutually_exclusive = { focus = LBA_mobilise_the_tribes }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_employ_mercenaries"
			custom_effect_tooltip = LBA_employ_mercenaries_tt
			hidden_effect = {
				division_template = {
					name = "Foreign Mercenaries"
					is_locked = yes
					regiments = {
						Special_Forces = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
					}
					support = {
						L_Recce_Comp = { x = 0 y = 0 }
						Arty_Battery = { x = 0 y = 1 }
					}
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Foreign Mercenaries\" division_template = \"Foreign Mercenaries\" start_experience_factor = 0.8"
						owner = ROOT
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_factory_mobilisation
		icon = army_military_industryy

		x = 3
		y = 7
		relative_position_id = LBA_libyan_national_army

		cost = 10

		prerequisite = { focus = LBA_establish_military_zones }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = { nationalist_military_junta_are_in_power = yes }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_factory_mobilisation"
			add_stability = -0.05
			add_war_support = -0.05
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					NOT = { has_state_category = state_military_base }
					NOT = { has_state_category = state_inhospitable }
				}
				set_temp_variable = { temp_productivity_change = -200 }
				state_flat_productivity_change_effect = yes
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				libya_tribal_loyalty_from_building = yes
			}
		}

		ai_will_do = {
			base = 10
			modifier = { factor = 0 can_staff_an_arms_industry = no }
			modifier = { factor = 25 LBA_ai_historical_path = yes }
			modifier = { factor = 0 LBA_ai_not_historical_path = yes }
		}
	}

	focus = {
		id = LBA_the_libyan_elite
		icon = business_man

		x = 6
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_the_libyan_elite"
			set_temp_variable = { temp_all_opinion = 10 }
			change_all_internal_faction_opinion = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_begin_centralisation
		icon = generic_government

		x = -1
		y = 1
		relative_position_id = LBA_the_libyan_elite

		cost = 5

		prerequisite = { focus = LBA_the_libyan_elite }
		mutually_exclusive = { focus = LBA_begin_decentralisation }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_begin_centralisation"
			custom_effect_tooltip = LBA_begin_centralisation_tt
			if = {
				limit = {
					capital_scope = {
						is_core_of = TRP
					}
				}
				set_temp_variable = { loyalty_change = 0.10 }
			}
			else = {
				set_temp_variable = { loyalty_change = -0.10 }
			}
			libya_change_tripolitania_loyalty = yes
			if = {
				limit = {
					capital_scope = {
						is_core_of = CYR
					}
				}
				set_temp_variable = { loyalty_change = 0.10 }
			}
			else = {
				set_temp_variable = { loyalty_change = -0.10 }
			}
			libya_change_cyrenaica_loyalty = yes
			if = {
				limit = {
					capital_scope = {
						is_core_of = FEZ
					}
				}
				set_temp_variable = { loyalty_change = 0.10 }
			}
			else = {
				set_temp_variable = { loyalty_change = -0.10 }
			}
			libya_change_fezzan_loyalty = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_begin_decentralisation
		icon = self_management

		x = 1
		y = 1
		relative_position_id = LBA_the_libyan_elite

		cost = 5

		prerequisite = { focus = LBA_the_libyan_elite }
		mutually_exclusive = { focus = LBA_begin_centralisation }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_begin_decentralisation"
			custom_effect_tooltip = LBA_begin_decentralisation_tt
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_tripolitania_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_cyrenaica_loyalty = yes
			set_temp_variable = { loyalty_change = 0.10 }
			libya_change_fezzan_loyalty = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_build_infrastructure
		icon = Payment_on_roads

		x = -2
		y = 2
		relative_position_id = LBA_the_libyan_elite

		cost = 10

		prerequisite = {
			focus = LBA_begin_centralisation
			focus = LBA_begin_decentralisation
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_EXPENDITURE }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_build_infrastructure"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					set_temp_variable = { treasury_change = -14 }
					modify_treasury_effect = yes
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					set_temp_variable = { treasury_change = -5.25 }
					modify_treasury_effect = yes
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					random_owned_state = {
						limit = {
							infrastructure < 5
							NOT = { has_state_category = state_inhospitable }
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				set_temp_variable = { treasury_change = -14 }
				modify_treasury_effect = yes
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				set_temp_variable = { treasury_change = -5.25 }
				modify_treasury_effect = yes
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					limit = {
						infrastructure < 5
						NOT = { has_state_category = state_inhospitable }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
		}
	}

	focus = {
		id = LBA_create_special_economic_zones
		icon = anarchist_economy

		x = 0
		y = 2
		relative_position_id = LBA_the_libyan_elite

		cost = 10

		prerequisite = {
			focus = LBA_begin_centralisation
			focus = LBA_begin_decentralisation
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_create_special_economic_zones"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					set_temp_variable = { percent_change = -20 }
					change_domestic_influence_percentage = yes
					every_owned_state = {
						limit = {
							NOT = { has_dynamic_modifier = { modifier = LBA_special_economic_zone } }
							NOT = { has_state_category = state_inhospitable }
						}
						random_select_amount = 4
						add_dynamic_modifier = {
							modifier = LBA_special_economic_zone
						}
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					set_temp_variable = { percent_change = -7.5 }
					change_domestic_influence_percentage = yes
					every_owned_state = {
						limit = {
							NOT = { has_dynamic_modifier = { modifier = LBA_special_economic_zone } }
							NOT = { has_state_category = state_inhospitable }
						}
						random_select_amount = 2
						add_dynamic_modifier = {
							modifier = LBA_special_economic_zone
						}
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				set_temp_variable = { percent_change = -20 }
				change_domestic_influence_percentage = yes
				every_owned_state = {
					limit = {
						NOT = { has_dynamic_modifier = { modifier = LBA_special_economic_zone } }
						NOT = { has_state_category = state_inhospitable }
					}
					random_select_amount = 4
					add_dynamic_modifier = {
						modifier = LBA_special_economic_zone
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				set_temp_variable = { percent_change = -7.5 }
				change_domestic_influence_percentage = yes
				every_owned_state = {
					limit = {
						NOT = { has_dynamic_modifier = { modifier = LBA_special_economic_zone } }
						NOT = { has_state_category = state_inhospitable }
					}
					random_select_amount = 2
					add_dynamic_modifier = {
						modifier = LBA_special_economic_zone
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_introduce_minimum_wage
		icon = money

		x = 2
		y = 2
		relative_position_id = LBA_the_libyan_elite

		cost = 7

		prerequisite = {
			focus = LBA_begin_centralisation
			focus = LBA_begin_decentralisation
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_introduce_minimum_wage"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					add_ideas = LBA_minimum_wage_centralised
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					add_ideas = LBA_minimum_wage_decentralised
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				add_ideas = LBA_minimum_wage_centralised
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				add_ideas = LBA_minimum_wage_decentralised
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_attract_foreign_investment
		icon = industrial_complexes

		x = -2
		y = 3
		relative_position_id = LBA_the_libyan_elite

		cost = 10

		prerequisite = { focus = LBA_build_infrastructure }
		prerequisite = { focus = LBA_create_special_economic_zones }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INDUSTRY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_attract_foreign_investment"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					random_other_country = {
						limit = {
							OR = {
								has_idea = regional_power
								has_idea = large_power
								has_idea = great_power
								has_idea = super_power
							}
						}
						set_temp_variable = { tag_index = THIS }
					}
					set_temp_variable = { influence_target = ROOT }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = offices
								size > 0
								include_locked = yes
							}
							NOT = { has_state_category = state_military_base }
							NOT = { has_state_category = state_inhospitable }
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = offices
							level = 1
							instant_build = yes
						}
						add_building_construction = {
							type = fossil_powerplant
							level = 1
							instant_build = yes
						}
						libya_tribal_loyalty_from_building = yes
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					random_other_country = {
						limit = {
							OR = {
								has_idea = regional_power
								has_idea = large_power
								has_idea = great_power
								has_idea = super_power
							}
						}
						set_temp_variable = { tag_index = THIS }
					}
					set_temp_variable = { influence_target = ROOT }
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = industrial_complex
								size > 0
								include_locked = yes
							}
							NOT = { has_state_category = state_military_base }
							NOT = { has_state_category = state_inhospitable }
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
						add_building_construction = {
							type = fossil_powerplant
							level = 1
							instant_build = yes
						}
						libya_tribal_loyalty_from_building = yes
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				random_other_country = {
					limit = {
						OR = {
							has_idea = regional_power
							has_idea = large_power
							has_idea = great_power
							has_idea = super_power
						}
					}
					set_temp_variable = { tag_index = THIS }
				}
				set_temp_variable = { influence_target = ROOT }
				set_temp_variable = { percent_change = 5 }
				change_influence_percentage = yes
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = offices
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = offices
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				random_other_country = {
					limit = {
						OR = {
							has_idea = regional_power
							has_idea = large_power
							has_idea = great_power
							has_idea = super_power
						}
					}
					set_temp_variable = { tag_index = THIS }
				}
				set_temp_variable = { influence_target = ROOT }
				set_temp_variable = { percent_change = 2 }
				change_influence_percentage = yes
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
						NOT = { has_state_category = state_military_base }
						NOT = { has_state_category = state_inhospitable }
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = fossil_powerplant
						level = 1
						instant_build = yes
					}
					libya_tribal_loyalty_from_building = yes
				}
			}
		}

		ai_will_do = {
			modifier = { factor = 0 can_staff_an_industrial_complex = no }
			modifier = { factor = 0 can_staff_an_offices = no }
			base = 10
		}
	}

	focus = {
		id = LBA_friends_in_high_places
		icon = oligarchs

		x = 0
		y = 3
		relative_position_id = LBA_the_libyan_elite

		cost = 7

		prerequisite = { focus = LBA_create_special_economic_zones }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_friends_in_high_places"
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					if = {
						limit = { NOT = { has_idea = industrial_conglomerates } }
						if = {
							limit = { has_idea = the_military }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = the_military
							}
						}
						else_if = {
							limit = { has_idea = intelligence_community }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = intelligence_community
							}
						}
						else_if = {
							limit = { has_idea = fossil_fuel_industry }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = fossil_fuel_industry
							}
						}
					}
					if = {
						limit = { NOT = { has_idea = international_bankers } }
						if = {
							limit = { has_idea = intelligence_community }
							swap_ideas = {
								add_idea = international_bankers
								remove_idea = intelligence_community
							}
						}
						else_if = {
							limit = { has_idea = the_military }
							swap_ideas = {
								add_idea = international_bankers
								remove_idea = the_military
							}
						}
						else_if = {
							limit = { has_idea = fossil_fuel_industry }
							swap_ideas = {
								add_idea = international_bankers
								remove_idea = fossil_fuel_industry
							}
						}
					}
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					if = {
						limit = { NOT = { has_idea = industrial_conglomerates } }
						if = {
							limit = { has_idea = the_military }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = the_military
							}
						}
						else_if = {
							limit = { has_idea = intelligence_community }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = intelligence_community
							}
						}
						else_if = {
							limit = { has_idea = fossil_fuel_industry }
							swap_ideas = {
								add_idea = industrial_conglomerates
								remove_idea = fossil_fuel_industry
							}
						}
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				if = {
					limit = { NOT = { has_idea = industrial_conglomerates } }
					if = {
						limit = { has_idea = the_military }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = the_military
						}
					}
					else_if = {
						limit = { has_idea = intelligence_community }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = intelligence_community
						}
					}
					else_if = {
						limit = { has_idea = fossil_fuel_industry }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = fossil_fuel_industry
						}
					}
				}
				if = {
					limit = { NOT = { has_idea = international_bankers } }
					if = {
						limit = { has_idea = intelligence_community }
						swap_ideas = {
							add_idea = international_bankers
							remove_idea = intelligence_community
						}
					}
					else_if = {
						limit = { has_idea = the_military }
						swap_ideas = {
							add_idea = international_bankers
							remove_idea = the_military
						}
					}
					else_if = {
						limit = { has_idea = fossil_fuel_industry }
						swap_ideas = {
							add_idea = international_bankers
							remove_idea = fossil_fuel_industry
						}
					}
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				if = {
					limit = { NOT = { has_idea = industrial_conglomerates } }
					if = {
						limit = { has_idea = the_military }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = the_military
						}
					}
					else_if = {
						limit = { has_idea = intelligence_community }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = intelligence_community
						}
					}
					else_if = {
						limit = { has_idea = fossil_fuel_industry }
						swap_ideas = {
							add_idea = industrial_conglomerates
							remove_idea = fossil_fuel_industry
						}
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_private_insurance
		icon = generic_hospital

		x = 2
		y = 3
		relative_position_id = LBA_the_libyan_elite

		cost = 7

		prerequisite = { focus = LBA_introduce_minimum_wage }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_private_insurance"
			if = {
				limit = {
					has_idea = health_06
				}
				decrease_healthcare_budget_2 = yes
			}
			if = {
				limit = {
					has_idea = health_05
				}
				decrease_healthcare_budget = yes
			}
			if = {
				limit = {
					NOT = { has_completed_focus = LBA_begin_centralisation }
					NOT = { has_completed_focus = LBA_begin_decentralisation }
				}
				custom_effect_tooltip = LBA_increased_centralization_tooltip
				effect_tooltip = {
					add_ideas = LBA_private_insurance_centralised
				}
				newline = yes
				custom_effect_tooltip = LBA_decreased_centralization_tooltip
				effect_tooltip = {
					add_ideas = LBA_private_insurance_decentralised
				}
			}
			if = {
				limit = { has_completed_focus = LBA_begin_centralisation }
				add_ideas = LBA_private_insurance_centralised
			}
			if = {
				limit = { has_completed_focus = LBA_begin_decentralisation }
				add_ideas = LBA_private_insurance_decentralised
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_usa
		icon = align_to_america

		x = 0
		y = 4
		relative_position_id = LBA_the_libyan_elite

		cost = 5

		prerequisite = { focus = LBA_attract_foreign_investment }
		prerequisite = { focus = LBA_friends_in_high_places }
		prerequisite = { focus = LBA_private_insurance }
		mutually_exclusive = {
			focus = LBA_approach_russia
			focus = LBA_approach_china
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			USA = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_usa"
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				USA = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				USA = {
					NOT = { has_government = PREV }
				}
			}
		}
	}

	focus = {
		id = LBA_tie_dinar_to_dollar
		icon = dollars_money

		x = 0
		y = 5
		relative_position_id = LBA_the_libyan_elite

		cost = 7

		prerequisite = { focus = LBA_approach_usa }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			USA = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_tie_dinar_to_dollar"
			add_ideas = LBA_dinar_tied_to_dollar
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = USA }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_china
		icon = align_to_china

		x = 3
		y = 4
		relative_position_id = LBA_the_libyan_elite

		cost = 5

		prerequisite = {
			focus = LBA_attract_foreign_investment
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}
		prerequisite = {
			focus = LBA_friends_in_high_places
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}
		prerequisite = {
			focus = LBA_private_insurance
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}
		mutually_exclusive = {
			focus = LBA_approach_russia
			focus = LBA_approach_usa
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			country_exists = CHI
			NOT = { has_war_with = CHI }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_china"
			CHI = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				CHI = {
					has_government = PREV
				}
			}
			modifier = {
				factor = 0.8
				CHI = {
					NOT = { has_government = PREV }
				}
			}
		}
	}

	focus = {
		id = LBA_employ_chinese_construction_companies
		icon = construction_buldozer

		x = 3
		y = 5
		relative_position_id = LBA_the_libyan_elite

		cost = 7

		prerequisite = { focus = LBA_approach_china }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				neutrality_neutral_autocracy_are_in_power = yes
				neutrality_neutral_oligarch_are_in_power = yes
			}
			USA = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_employ_chinese_construction_companies"
			add_ideas = LBA_chinese_construction
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = CHI }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_national_democracy
		icon = commie_liberty

		x = 13
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_national_democracy"
			if = {
				limit = {
					NOT = { has_idea = labour_unions }
				}
				if = {
					limit = { has_idea = intelligence_community }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = intelligence_community
					}
				}
				else_if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = labour_unions
						remove_idea = fossil_fuel_industry
					}
				}
			}
			else_if = {
				limit = {
					NOT = { has_idea = industrial_conglomerates }
				}
				if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = industrial_conglomerates
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = intelligence_community }
					swap_ideas = {
						add_idea = industrial_conglomerates
						remove_idea = intelligence_community
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = industrial_conglomerates
						remove_idea = fossil_fuel_industry
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_protect_the_lower_class
		icon = Labourist

		x = -1
		y = 1
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_national_democracy }
		mutually_exclusive = { focus = LBA_protect_the_middle_class }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_protect_the_lower_class"
			add_ideas = LBA_protected_lower_class
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_protect_the_middle_class
		icon = communism17

		x = 1
		y = 1
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_national_democracy }
		mutually_exclusive = { focus = LBA_protect_the_lower_class }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_protect_the_middle_class"
			add_ideas = LBA_protected_middle_class
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_absolute_national_independence
		icon = Generic_Liberalism

		x = -3
		y = 2
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_protect_the_lower_class
			focus = LBA_protect_the_middle_class
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_absolute_national_independence"
			set_temp_variable = { percent_change = 10 }
			change_domestic_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_give_power_to_central_committee
		icon = revolutionary_government

		x = -1
		y = 2
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_protect_the_lower_class
			focus = LBA_protect_the_middle_class
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_give_power_to_central_committee"
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_empower_the_noc
		icon = libyan_oil

		x = 1
		y = 2
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_protect_the_lower_class
			focus = LBA_protect_the_middle_class
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		bypass = { has_country_flag = libya_noc_dismantled }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_empower_the_noc"
			custom_effect_tooltip = LBA_empower_the_noc_tt
			add_to_variable = { lba_oil_nationalisation = 0.15 }
			clamp_variable = {
				var = lba_oil_nationalisation
				max = 0
			}
			libya_update_nationalisation = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_improve_infrastructure
		icon = economic_roads_new

		x = 3
		y = 2
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_protect_the_lower_class
			focus = LBA_protect_the_middle_class
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_EXPENDITURE }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		bypass = { has_country_flag = libya_noc_dismantled }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_improve_infrastructure"
			set_temp_variable = { treasury_change = -7 }
			modify_treasury_effect = yes
			random_owned_state = {
				limit = {
					infrastructure < 5
					NOT = { has_state_category = state_inhospitable }
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					infrastructure < 5
					NOT = { has_state_category = state_inhospitable }
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { interest_rate > 9 }
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	focus = {
		id = LBA_adopt_marxism_leninism
		icon = marxism2

		x = -2
		y = 3
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_absolute_national_independence }
		prerequisite = { focus = LBA_give_power_to_central_committee }
		prerequisite = { focus = LBA_empower_the_noc }
		prerequisite = { focus = LBA_improve_infrastructure }
		mutually_exclusive = {
			focus = LBA_return_to_afrosocialism
			focus = LBA_shift_to_eurocommunism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_adopt_marxism_leninism"
			add_ideas = LBA_marxism_leninism_adopted
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_return_to_afrosocialism
		icon = Generic_Socialist_Propaganda

		x = 0
		y = 3
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_absolute_national_independence }
		prerequisite = { focus = LBA_give_power_to_central_committee }
		prerequisite = { focus = LBA_empower_the_noc }
		prerequisite = { focus = LBA_improve_infrastructure }
		mutually_exclusive = {
			focus = LBA_adopt_marxism_leninism
			focus = LBA_shift_to_eurocommunism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_return_to_afrosocialism"
			add_ideas = LBA_afrosocialism_adopted
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_shift_to_eurocommunism
		icon = Fabianist

		x = 2
		y = 3
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_absolute_national_independence }
		prerequisite = { focus = LBA_give_power_to_central_committee }
		prerequisite = { focus = LBA_empower_the_noc }
		prerequisite = { focus = LBA_improve_infrastructure }
		mutually_exclusive = {
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
			country_exists = ITA
			NOT = { has_war_with = ITA }
		}

		bypass = { NOT = { country_exists = ITA } }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_shift_to_eurocommunism"
			add_ideas = LBA_eurocommunism_adopted
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_ties_to_italy
		icon = align_to_italy

		x = 0
		y = 4
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_shift_to_eurocommunism
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ties_to_italy"
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
			set_temp_variable = { influence_target = ITA }
			set_temp_variable = { percent_change = 5 }
			change_influence_percentage = yes
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = ITA }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_approach_the_eu
		icon = align_to_europe

		x = 4
		y = 4
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_shift_to_eurocommunism
			focus = LBA_return_to_afrosocialism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
			custom_trigger_tooltip = {
				tooltip = LBA_eu_exists_tt
				check_variable = { global.EU_member^num > 0 }
			}
		}

		bypass = { has_global_flag = GAME_RULE_eu_disabled }

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_approach_the_eu"
			for_each_scope_loop = {
				array = global.EU_member
				tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN
				add_opinion_modifier = { target = ROOT modifier = declaration_of_friendship }
				reverse_add_opinion_modifier = { target = ROOT modifier = declaration_of_friendship }
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				has_government = democratic
			}
		}
	}

	focus = {
		id = LBA_secularise_the_state
		icon = Generic_Cult_of_Reason

		x = -2
		y = 4
		relative_position_id = LBA_national_democracy

		cost = 5

		prerequisite = {
			focus = LBA_shift_to_eurocommunism
			focus = LBA_return_to_afrosocialism
			focus = LBA_adopt_marxism_leninism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_secularise_the_state"
			set_temp_variable = { temp_modify_social_con_government = -20 }
			modify_social_conservatism_government = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_womens_rights
		icon = muslim_women

		x = 2
		y = 4
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = {
			focus = LBA_shift_to_eurocommunism
			focus = LBA_return_to_afrosocialism
			focus = LBA_adopt_marxism_leninism
		}

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_womens_rights"
			add_ideas = LBA_women_enfrachised
			if = {
				limit = { has_idea = LBA_family_centric }
				remove_ideas = LBA_family_centric
			}
			if = {
				limit = { has_idea = LBA_family_centric_2 }
				remove_ideas = LBA_family_centric_2
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_establish_workers_republic
		icon = Socialist_Workaholics

		x = -1
		y = 5
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_womens_rights }
		prerequisite = { focus = LBA_secularise_the_state }
		prerequisite = {
			focus = LBA_adopt_marxism_leninism
			focus = LBA_return_to_afrosocialism
		}
		mutually_exclusive = { focus = LBA_follow_the_nordic_model }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_establish_workers_republic"
			add_ideas = LBA_workers_republic_created
			clr_country_flag = dynamic_flag
			clr_country_flag = dynamic_rebel_flag
			set_cosmetic_tag = LBA_WORKERS_REPUBLIC
			if = {
				limit = { has_elections = no }
				if = {
					limit = { has_government = democratic }
					set_politics = {
						ruling_party = democratic
						elections_allowed = no
					}
				}
				else_if = {
					limit = { has_government = communism }
					set_politics = {
						ruling_party = communism
						elections_allowed = no
					}
				}
				else_if = {
					limit = { has_government = neutrality }
					set_politics = {
						ruling_party = neutrality
						elections_allowed = no
					}
				}
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.8
				OR = {
					western_social_democrats_are_in_power = yes
					emerging_anarchist_communism_are_in_power = yes
					neutrality_neutral_green_are_in_power = yes
					neutrality_neutral_social_are_in_power = yes
				}
			}
			modifier = {
				factor = 1.2
				OR = {
					emerging_communist_state_are_in_power = yes
					neutrality_neutral_communism_are_in_power = yes
				}
			}
		}
	}

	focus = {
		id = LBA_follow_the_nordic_model
		icon = focus_generic_scandinavian_alliance

		x = 1
		y = 5
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_womens_rights }
		prerequisite = { focus = LBA_secularise_the_state }
		prerequisite = {
			focus = LBA_shift_to_eurocommunism
			focus = LBA_return_to_afrosocialism
		}
		mutually_exclusive = { focus = LBA_establish_workers_republic }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_follow_the_nordic_model"
			add_ideas = LBA_nordic_model_followed
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1.2
				OR = {
					western_social_democrats_are_in_power = yes
					emerging_anarchist_communism_are_in_power = yes
					neutrality_neutral_green_are_in_power = yes
					neutrality_neutral_social_are_in_power = yes
				}
			}
			modifier = {
				factor = 0.8
				OR = {
					emerging_communist_state_are_in_power = yes
					neutrality_neutral_communism_are_in_power = yes
				}
			}
		}
	}

	focus = {
		id = LBA_european_high_tech
		icon = economic_it

		x = 4
		y = 5
		relative_position_id = LBA_national_democracy

		cost = 7

		prerequisite = { focus = LBA_approach_the_eu }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				western_social_democrats_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				emerging_anarchist_communism_are_in_power = yes
				neutrality_neutral_green_are_in_power = yes
				neutrality_neutral_social_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_european_high_tech"
			add_ideas = LBA_european_tech_companies
			random_other_country = {
				limit = {
					has_idea = EU_member
					OR = {
						has_idea = large_power
						has_idea = great_power
						has_idea = super_power
					}
				}
				set_temp_variable = { tag_index = THIS }
			}
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 3 }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_the_brotherhood
		icon = muslim_arab_world

		x = 21
		y = 1
		relative_position_id = LBA_end_of_gaddafi

		cost = 7

		prerequisite = { focus = LBA_end_of_gaddafi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			has_war = no
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_the_brotherhood"
			every_other_country = {
				limit = { is_muslim_brotherhood = yes }
				set_temp_variable = { percent_change = 5 }
				set_temp_variable = { tag_index = PREV }
				change_influence_percentage = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_establish_sharia_law
		icon = islam_laws

		x = 0
		y = 1
		relative_position_id = LBA_the_brotherhood

		cost = 7

		prerequisite = { focus = LBA_the_brotherhood }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_establish_sharia_law"
			set_temp_variable = { temp_modify_social_con_government = 20 }
			modify_social_conservatism_government = yes
			if = {
				limit = { has_country_flag = alcohol }
				clr_country_flag = alcohol
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_alcohol
			}
			if = {
				limit = { has_country_flag = relaxed_dress_code }
				clr_country_flag = relaxed_dress_code
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_dress_code
			}
			if = {
				limit = { has_country_flag = banned_burqa }
				clr_country_flag = banned_burqa
			}
			if = {
				limit = { has_country_flag = banned_head_scarf }
				clr_country_flag = banned_head_scarf
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_banned_head_scarf
			}
			if = {
				limit = { has_country_flag = same_sex_decriminalized }
				clr_country_flag = same_sex_decriminalized
				custom_effect_tooltip = LBA_hardline_sharia_law_tt_same_sex_decriminalized
			}
			if = {
				limit = { has_idea = LBA_women_enfrachised }
				remove_ideas = LBA_women_enfrachised
			}
			if = {
				limit = {
					NOT = { has_idea = the_ulema }
				}
				if = {
					limit = { has_idea = intelligence_community }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = intelligence_community
					}
				}
				else_if = {
					limit = { has_idea = the_military }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = the_military
					}
				}
				else_if = {
					limit = { has_idea = fossil_fuel_industry }
					swap_ideas = {
						add_idea = the_ulema
						remove_idea = fossil_fuel_industry
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_rehabilitate_lifg_fighters
		icon = ak_jihadi

		x = -1
		y = 2
		relative_position_id = LBA_the_brotherhood

		cost = 7

		prerequisite = { focus = LBA_establish_sharia_law }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_rehabilitate_lifg_fighters"
			add_manpower = 2000
			random_owned_state = {
				limit = {
					NOT = { has_state_category = state_inhospitable }
				}
				add_manpower = 2000
			}
			newline = yes
			if = {
				limit = { has_character = LBA_abu_laith_al_libi LBA_abu_laith_al_libi = { is_unit_leader = no } }
				random_list = {
					50 = {
						LBA_abu_laith_al_libi = {
							set_nationality = ROOT
							add_field_marshal_role = {
								skill = 4
								traits = { guerrilla_leader_trait offensive_doctrine artillery_officer LBA_unit_leader_trait_tripolitania }
								attack_skill = 4
								defense_skill = 4
								planning_skill = 3
								logistics_skill = 2
							}
						}
					}
					50 = {
						add_tech_bonus = {
							name = LBA_rehabilitate_lifg_fighters
							bonus = 0.5
							uses = 1
							category = CAT_land_doctrine
						}
					}
				}
			}
			else = {
				add_tech_bonus = {
					name = LBA_rehabilitate_lifg_fighters
					bonus = 0.5
					uses = 1
					category = CAT_land_doctrine
				}
			}
			newline = yes
			if = {
				limit = { has_character = LBA_abu_yahya_al_libi LBA_abu_yahya_al_libi = { is_unit_leader = no } }
				random_list = {
					50 = {
						LBA_abu_yahya_al_libi = {
							set_nationality = ROOT
							add_corps_commander_role = {
								skill = 3
								traits = { inflexible_strategist commando LBA_unit_leader_trait_fezzan }
								attack_skill = 6
								defense_skill = 1
								planning_skill = 1
								logistics_skill = 2
							}
						}
					}
					50 = {
						if = {
							limit = { country_exists = TAL }
							set_temp_variable = { influence_target = TAL }
							set_temp_variable = { percent_change = 5 }
							change_influence_percentage = yes
						}
						else = {
							add_manpower = 2250
							add_equipment_to_stockpile = {
								type = infantry_weapons_1
								amount = 1000
								producer = SOV
							}
							add_equipment_to_stockpile = {
								type = Anti_tank_0
								amount = 50
								producer = SOV
							}
							add_equipment_to_stockpile = {
								type = Anti_Air_0
								amount = 50
								producer = SOV
							}
							add_equipment_to_stockpile = {
								type = cnc_equipment_1
								amount = 100
								producer = SOV
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = { country_exists = TAL }
					set_temp_variable = { influence_target = TAL }
					set_temp_variable = { percent_change = 5 }
					change_influence_percentage = yes
				}
				else = {
					add_manpower = 2250
					add_equipment_to_stockpile = {
						type = infantry_weapons_1
						amount = 1000
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = Anti_tank_0
						amount = 50
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = Anti_Air_0
						amount = 50
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_1
						amount = 100
						producer = SOV
					}
				}
			}
			newline = yes
			if = {
				limit = { has_character = LBA_atiyah_abd_al_rahman LBA_atiyah_abd_al_rahman = { is_unit_leader = no } }
				random_list = {
					50 = {
						LBA_atiyah_abd_al_rahman = {
							set_nationality = ROOT
							add_corps_commander_role = {
								skill = 3
								traits = { guerrilla_officer desperate_defender guerrilla_leader_trait LBA_unit_leader_trait_tripolitania }
								attack_skill = 1
								defense_skill = 4
								planning_skill = 2
								logistics_skill = 3
							}
						}
					}
					50 = {
						add_political_power = 200
					}
				}
			}
			else = {
				add_political_power = 200
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_scholars_of_brotherhood
		icon = Generic_Piety

		x = 1
		y = 2
		relative_position_id = LBA_the_brotherhood

		cost = 5

		prerequisite = { focus = LBA_establish_sharia_law }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_scholars_of_brotherhood"
			if = {
				limit = {
					has_variable = literacy_rate
				}
				set_temp_variable = { LR_change = 0.05 }
				update_literacy_rate = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_allow_polygamy
		icon = libya_polygamy

		x = -1
		y = 3
		relative_position_id = LBA_the_brotherhood

		cost = 7

		prerequisite = { focus = LBA_rehabilitate_lifg_fighters }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_allow_polygamy"
			add_ideas = LBA_polygamy_allowed
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_works_of_al_sallabi
		icon = literacy_rate_improvment

		x = 1
		y = 3
		relative_position_id = LBA_the_brotherhood

		cost = 7

		prerequisite = { focus = LBA_scholars_of_brotherhood }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_works_of_al_sallabi"
			add_ideas = LBA_ali_al_sallabi_sponsored
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_ties_to_saudi_arabia
		icon = align_to_saudi_arabia

		x = -2
		y = 4
		relative_position_id = LBA_the_brotherhood

		cost = 5

		prerequisite = { focus = LBA_allow_polygamy }
		prerequisite = { focus = LBA_works_of_al_sallabi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			SAU = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_ties_to_saudi_arabia"
			SAU = {
				add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = ROOT
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_request_religious_funding
		icon = islamist_gov

		x = -2
		y = 5
		relative_position_id = LBA_the_brotherhood

		cost = 7

		prerequisite = { focus = LBA_ties_to_saudi_arabia }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			SAU = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
			NOT = { has_idea = saudi_aid }
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_request_religious_funding"
			add_ideas = saudi_aid
			set_temp_variable = { influence_target = ROOT }
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = SAU }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_military_pact_with_qatar
		icon = quatar_allied

		x = 1
		y = 4
		relative_position_id = LBA_the_brotherhood

		cost = 10

		prerequisite = { focus = LBA_allow_polygamy }
		prerequisite = { focus = LBA_works_of_al_sallabi }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			is_subject = no
			is_in_faction = no
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_brotherhood_accepted_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_military_pact_with_qatar"
			create_faction_from_template = faction_template_muslim_brotherhood
			add_ideas = muslim_brotherhood_faction_member
			if = {
				limit = {
					country_exists = QAT
					QAT = {
						NOT = { has_war_with = ROOT }
						is_in_faction = no
						is_muslim_brotherhood = yes
						is_subject = no
					}
				}
				QAT = { country_event = { id = LibyaFocus.115 hours = 6 } }
				custom_effect_tooltip = LBA_military_pact_with_qatar_tt
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_expand_the_alliance
		icon = accept_treaty

		x = 0
		y = 5
		relative_position_id = LBA_the_brotherhood

		cost = 10

		prerequisite = { focus = LBA_military_pact_with_qatar }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			is_faction_leader = yes
			has_idea = muslim_brotherhood_faction_member
			custom_trigger_tooltip = {
				tooltip = LBA_expand_the_alliance_trigger_tt
				any_other_country = {
					NOT = { has_war_with = ROOT }
					is_in_faction = no
					is_muslim_brotherhood = yes
					is_subject = no
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = TT_IF_THEY_ACCEPT
			custom_effect_tooltip = LBA_brotherhood_accepted_tt
			log = "[GetDateText]: [Root.GetName]: Focus LBA_expand_the_alliance"
			every_other_country = {
				limit = {
					NOT = { has_war_with = ROOT }
					is_in_faction = no
					is_muslim_brotherhood = yes
					is_subject = no
				}
				country_event = { id = LibyaFocus.115 hours = 6 }
				custom_effect_tooltip = LBA_expand_the_alliance_tt
			}
		}

		ai_will_do = { base = 10 }
	}

	focus = {
		id = LBA_use_brotherhood_influence
		icon = muslim_expansionism

		x = 2
		y = 5
		relative_position_id = LBA_the_brotherhood

		cost = 10

		prerequisite = { focus = LBA_military_pact_with_qatar }

		search_filters = { FOCUS_FILTER_FOREIGN_POLICY }

		available = {
			OR = {
				AND = {
					salafist_kingdom_are_in_power = yes
					NOT = { has_completed_focus = LBA_grand_mufti_rule }
				}
				neutrality_neutral_muslim_brotherhood_are_in_power = yes
			}
			is_faction_leader = yes
			has_idea = muslim_brotherhood_faction_member
		}

		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus LBA_use_brotherhood_influence"
			every_other_country = {
				limit = {
					is_in_array = { global.possible_muslim_brotherhood_nation = THIS.id }
					is_muslim_brotherhood = no
				}
				set_temp_variable = { percent_change = 3 }
				change_influence_percentage = yes
			}
		}

		ai_will_do = { base = 10 }
	}
}
