focus_tree = {
	id = Tunisia_focus
	country = {
		factor = 0
		modifier = {
			add = 30
			tag = TUN
		}
	}
	continuous_focus_position = { x = 0 y = 1100 }

#layout stolen from URG tree
	focus = {
		id = TUN_neodustur_crackdown
		icon = GFX_emergencyprotocols
		x = 0
		y = 0
		cost = 5.8
		ai_will_do = {
			factor = 150
			modifier = {
				factor = 0.5
				NFA = {
					has_authoritarian_government = yes
				}
			}
		}
		available = {
			has_country_flag = TUN_irregularities_flag
		}
		mutually_exclusive = {
			focus = TUN_investigate_the_CPCG
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_neodustur_crackdown"
			country_event = tunisia.8
			hidden_effect = {
				NFA = {
					country_event = tunisia.8
				}
			}
			remove_ideas = TUN_socialistopposition_idea
		}
	}
	focus = {
		id = TUN_habus_council_reforms
		icon = GFX_Goal_generic_control_judiciary
		x = 2
		y = 1
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			has_completed_focus = TUN_tunis_fiscal_reforms
		}
		prerequisite = {
			focus = TUN_neodustur_crackdown
			focus = TUN_investigate_the_CPCG
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_habus_council_reforms"
			add_ideas = TUN_reformed_finances_idea
			add_stability = 0.05
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_labour_quotas
		icon = GFX_enhancedlabourmeasures
		x = -1
		y = 1
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_neodustur_crackdown
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_labour_quotas"
			add_political_power = 150
			decrease_ruling_party_popularity_by_5 = yes
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_push_salafiyya
		icon = GFX_employthewalimu
		x = -2
		y = 2
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_labour_quotas
		}
		prerequisite = {
			focus = TUN_habus_council_reforms
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_push_salafiyya"
			add_stability = 0.05
			increase_ruling_party_popularity_by_5 = yes
			remove_ideas = TUN_discontentedulama_idea
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_suppress_la_goulette_syndicalists
		icon = GFX_strikeoffthehydrashead
		x = 1
		y = 2
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			NOT = {
				has_socialist_government = yes
			}
		}
		prerequisite = {
			focus = TUN_labour_quotas
		}
		prerequisite = {
			focus = TUN_habus_council_reforms
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_suppress_la_goulette_syndicalists"
			add_offsite_building = { type = dockyard level = 1 }
			add_political_power = 50
			add_popularity = {
				ideology = radical_socialist
				popularity = -0.02
			}
			add_popularity = {
				ideology = syndicalist
				popularity = -0.03
			}
			add_popularity = {
				ideology = totalist
				popularity = -0.02
			}
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_investigate_the_CPCG
		icon = GFX_requesttransportsubsidies
		x = 6
		y = 0
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 150
			modifier = {
				factor = 0.5
				NFA = {
					has_elected_government = yes
				}
			}
		}
		available = {
			has_country_flag = TUN_irregularities_flag
		}
		mutually_exclusive = {
			focus = TUN_neodustur_crackdown
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_investigate_the_CPCG"
			country_event = tunisia.10
			increase_ruling_party_popularity_by_5 = yes
			hidden_effect = {
				NFA = {
					country_event = tunisia.10
				}
			}
		}
	}
	focus = {
		id = TUN_relax_the_indigenat
		icon = GFX_focus_generic_arab_deal
		x = 0
		y = 1
		relative_position_id = TUN_investigate_the_CPCG
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_investigate_the_CPCG
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_relax_the_indigenat"
			if = {
				limit = {
					has_idea = TUN_native_code_idea
					}
				swap_ideas = {
					remove_idea = TUN_native_code_idea
					add_idea = TUN_relaxed_code_idea
					}
				}
			}
		#= { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_majba_enforcement
		icon = GFX_reformthenativetrustfund
		x = -2
		y = 1
		relative_position_id = TUN_investigate_the_CPCG
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_neodustur_crackdown
			focus = TUN_investigate_the_CPCG
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_majba_enforcement"
			add_political_power = 100
			add_war_support = -0.02
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_restore_beylical_powers
		icon = GFX_allkingsunderone
		x = 2
		y = 1
		relative_position_id = TUN_investigate_the_CPCG
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_investigate_the_CPCG
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_restore_beylical_powers"
			add_stability = 0.05
			add_ideas = TUN_beylical_powers_idea
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_a_new_convention
		icon = GFX_preventionofintimidationact
		x = 0
		y = 2
		relative_position_id = TUN_investigate_the_CPCG
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_majba_enforcement
		}
		prerequisite = {
			focus = TUN_relax_the_indigenat
		}
		prerequisite = {
			focus = TUN_restore_beylical_powers
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_a_new_convention"
			swap_ideas = {
				remove_idea = TUN_lamarsaconventions_idea
				add_idea = TUN_new_convention_idea
			}
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_sack_native_bureaucrats
		icon = GFX_pithhelmet
		x = -1
		y = 3
		relative_position_id = TUN_neodustur_crackdown
		cost = 2
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		mutually_exclusive = {
			focus = TUN_tunisian_autonomy
		}
		prerequisite = {
			focus = TUN_push_salafiyya
		}
		prerequisite = {
			focus = TUN_suppress_la_goulette_syndicalists
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_sack_native_bureaucrats"
			add_political_power = 100
			add_stability = -0.01
		}
	}
	focus = {
		id = TUN_coopt_the_young_tunisians
		icon = GFX_Generic_Pawns
		x = -3
		y = 4
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		prerequisite = {
			focus = TUN_sack_native_bureaucrats
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_coopt_the_young_tunisians"
			add_stability = 0.05
			increase_ruling_party_popularity_by_10 = yes
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_abolish_the_grand_council
		icon = GFX_goal_generic_destroy_capitalism
		x = -1
		y = 4
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		prerequisite = {
			focus = TUN_sack_native_bureaucrats
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_abolish_the_grand_council"
			add_stability = 0.05
			remove_ideas = TUN_grand_council_bickering_idea
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_crush_the_tunis_press
		icon = GFX_Focus_Bloody_Purge
		x = -2
		y = 5
		relative_position_id = TUN_neodustur_crackdown
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		prerequisite = {
			focus = TUN_coopt_the_young_tunisians
		}
		prerequisite = {
			focus = TUN_abolish_the_grand_council
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_crush_the_tunis_press"
			add_war_support = 0.1
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_end_the_protectorate
		icon = GFX_goal_natfrance
		x = -2
		y = 6
		relative_position_id = TUN_neodustur_crackdown
		cost = 3
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		bypass = {
			is_subject = no
		}
		select_effect = {
			hidden_effect = {
				country_event = {
					id = tunisia.7 # rumours spread
					days = 6
				}
				overlord = {
					country_event = {
						id = tunisia.7
						days = 6
					}
				}
				country_event = {
					id = tunisia.2 # revolt against annexation
					days = 11
				}
			}
		}
		cancelable = no
		prerequisite = {
			focus = TUN_crush_the_tunis_press
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_end_the_protectorate"
				overlord = {
					annex_country = {
						target = TUN
						transfer_troops = yes
					}
				}
				TUN = {
					every_unit_leader = {
						set_nationality = overlord
					}
				}
			overlord = {
				add_state_core = 458
				add_state_core = 665
			}
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_tunisian_autonomy
		icon = GFX_goal_generic_puppet_monarch
		x = -3
		y = 3
		relative_position_id = TUN_investigate_the_CPCG
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = yes
		}
		mutually_exclusive = {
			focus = TUN_sack_native_bureaucrats
		}
		prerequisite = {
			focus = TUN_suppress_la_goulette_syndicalists
			focus = TUN_a_new_convention
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tunisian_autonomy"
			overlord = {
				set_autonomy = {
					target = TUN
					autonomous_state = kr_nominal_puppet
				}
			}
			increase_ruling_party_popularity_by_10 = yes
			add_stability = 0.05
		}
	}
	focus = {
		id = TUN_the_bey_revolt
		icon = GFX_goal_TUR_modernise_islam
		x = 1
		y = 3
		relative_position_id = TUN_investigate_the_CPCG
		cost = 2
		ai_will_do = {
			factor = 1000
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = NFA
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_bey_revolt"
			country_event = tunisia.23
			add_stability = 0.05
			add_political_power = 50
			remove_ideas = TUN_native_code_idea
			hidden_effect = {
				drop_cosmetic_tag = yes
				country_event = {
					id = tunflav.6 # Ottoman exiles return
					days = 17
				}
				country_event = {
					id = tunflav.21
					days = 44 # Flag picker
				}
				country_event = {
					id = tunflav.22 # an Empire?
					days = 180
				}
				TUR = {
					country_event = tunflav.6
				}
				NFA = {
					country_event = tunflav.6
				}
				LBA = {
					country_event = tunflav.6
				}
				TRP = {
					country_event = tunflav.6
				}
			}
		}
	}
	focus = {
		id = TUN_jalluli_alliance
		icon = GFX_reaffirmgandaappointments
		x = -1
		y = 1
		relative_position_id = TUN_tunisian_autonomy
		cost = 2
		ai_will_do = {
			factor = 20
		}
		available = {
			has_right_democratic_government = yes
		}
		prerequisite = {
			focus = TUN_tunisian_autonomy
			focus = TUN_the_bey_revolt
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_jalluli_alliance"
			add_resource = {
				type = steel
				amount = 6
				state = 665
			}
			add_popularity = { ideology = social_conservative popularity = 0.10 }
			add_popularity = { ideology = market_liberal popularity = 0.10 }
		}
	}
	focus = {
		id = TUN_islamic_finance
		icon = GFX_reaffirminternationalisation
		x = -1
		y = 1
		relative_position_id = TUN_jalluli_alliance
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_jalluli_alliance
		}
		prerequisite = {
			focus = TUN_choose_a_backer
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_islamic_finance"
			add_offsite_building = { type = industrial_complex level = 1 }
			remove_ideas = TUN_discontentedulama_idea
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_reform_the_kadiate
		icon = GFX_legalreorganisation
		x = 0
		y = 2
		relative_position_id = TUN_jalluli_alliance
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_islamic_finance
			focus = TUN_agricultural_reforms
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_reform_the_kadiate"
			add_ideas = TUN_judicial_reforms_idea
			add_war_support = 0.05
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_agricultural_reforms
		icon = GFX_nativetobaccoboard
		x = 1
		y = 1
		relative_position_id = TUN_jalluli_alliance
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_jalluli_alliance
		}
		prerequisite = {
			focus = TUN_choose_a_backer	
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_agricultural_reforms"
			add_stability = 0.1
			increase_ruling_party_popularity_by_5 = yes
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_choose_a_backer
		icon = GFX_reviewarticlefour
		x = 1
		y = 1
		relative_position_id = TUN_tunisian_autonomy
		cost = 4
		ai_will_do = {
			factor = 200
		}
		available = {
			OR = {
				is_subject = no
				is_subject_of = NFA
			}
		}
		prerequisite = {
			focus = TUN_tunisian_autonomy
			focus = TUN_the_bey_revolt
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_choose_a_backer"
			country_event = tunisia.4
			if = {
				limit = {
					has_idea = TUN_grand_council_bickering_idea
				}
				remove_ideas = TUN_grand_council_bickering_idea
			}
		}
	}
	focus = {
		id = TUN_liberalise_the_press
		icon = GFX_Focus_Generic_Press_Liberalization
		x = 1
		y = 1
		relative_position_id = TUN_choose_a_backer
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_choose_a_backer
		}
		prerequisite = {
			focus = TUN_rights_for_workers
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_liberalise_the_press"
			add_political_power = 50
			increase_ruling_party_popularity_by_5 = yes
			add_stability = -0.01
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_nationalisation
		icon = GFX_goal_generic_infrastructure_control
		x = 0
		y = 2
		relative_position_id = TUN_choose_a_backer
		cost = 7
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_agricultural_reforms focus = TUN_liberalise_the_press
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_nationalisation"
			665 = { 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			665 = { 
				add_extra_state_shared_building_slots = 1
			}
			increase_ruling_party_popularity_by_5 = yes
			if = {
				limit = {
					has_idea = TUN_post_independence_issues_idea
				}
			remove_ideas = TUN_post_independence_issues_idea
			}
			add_stability = -0.05
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_expand_sadiqi
		icon = GFX_Focus_Examine_Foreign_Science
		x = 1
		y = 3
		relative_position_id = TUN_choose_a_backer
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_nationalisation
			focus = TUN_overhaul_education
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_expand_sadiqi"
			add_research_slot_until_five = yes
		}
		#search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = TUN_rights_for_workers
		icon = GFX_demandcompaniesonshore
		x = 0
		y = 2
		relative_position_id = TUN_a_new_convention
		cost = 2
		available = {
			has_left_democratic_government = yes
		}
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_tunisian_autonomy
			focus = TUN_the_bey_revolt
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_rights_for_workers"
			remove_ideas = TUN_socialistopposition_idea
			add_popularity = { ideology = social_democrat popularity = 0.10 }
			add_popularity = { ideology = radical_socialist popularity = -0.02 }
		}
	}
	focus = {
		id = TUN_food_zakat
		icon = GFX_smallholdingfocus
		x = 1
		y = 1
		relative_position_id = TUN_rights_for_workers
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_choose_a_backer
		}
		prerequisite = {
			focus = TUN_rights_for_workers
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_food_zakat"
			add_stability = 0.05
			increase_ruling_party_popularity_by_5 = yes
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_overhaul_education
		icon = GFX_anationofmigrants
		x = 0
		y = 2
		relative_position_id = TUN_rights_for_workers
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_food_zakat
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_overhaul_education"
			add_ideas = TUN_education_reforms_idea
			add_stability = 0.05
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_work_with_the_unions
		icon = GFX_rightsforlabourers
		x = 2
		y = 2
		relative_position_id = TUN_rights_for_workers
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_food_zakat
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_work_with_the_unions"
			add_war_support = 0.1
			add_popularity = { ideology = radical_socialist popularity = 0.02 }
			if = {
				limit = { NOT = { has_government = radical_socialist } }
				set_temp_variable = { coalition_partner_var = token:radical_socialist }
				add_to_coalition = yes
			}			
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY }
	}
	# Eco Start #
	focus = {
		id = TUN_olive_oil_exports
		icon = GFX_reformthenativerentsordnance
		x = 19
		y = 0
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		cancelable = no
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_olive_oil_exports"
			add_offsite_building = { type = industrial_complex level = 1 }
			add_ideas = TUN_agriculture_5
		}
	}

	# Black Monday #
	focus = {
		id = TUN_the_phosphate_crash
		icon = GFX_goal_generic_financial_markets
		x = -5
		y = 1
		relative_position_id = TUN_olive_oil_exports
		cost = 0
		ai_will_do = {
			factor = 20
		}
		available = {
			has_idea = TUN_black_monday_5
		}
		bypass = {
			has_idea = TUN_black_monday_5
		}
		prerequisite = {
			focus = TUN_olive_oil_exports
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_phosphate_crash"
			custom_effect_tooltip = unlock_focuses
		}
	}
	focus = {
		id = TUN_austerity_programmes
		icon = GFX_labourreserves
		x = -3
		y = 1
		relative_position_id = TUN_the_phosphate_crash
		cost = 1
		prerequisite = {
			focus = TUN_the_phosphate_crash
		}
		mutually_exclusive = {
			focus = TUN_a_bold_approach
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_austerity_programmes"
			add_stability = -0.05
			hidden_effect = {
			add_timed_idea = {
				idea = KEN_Trade_Union_Resistance
				days = 21
				}
			}
		}
	}
	focus = {
		id = TUN_end_concession_privileges
		icon = GFX_goal_generic_austerity_measures
		x = -1
		y = 1
		relative_position_id = TUN_austerity_programmes
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_austerity_programmes
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_end_concession_privileges"
			add_political_power = 150
			add_stability = -0.03
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_tax_zaituna
		icon = GFX_pensionoffkeychiefs
		x = 0
		y = 2
		relative_position_id = TUN_austerity_programmes
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_end_concession_privileges
			focus = TUN_concessionary_alliances
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tax_zaituna"
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
			add_political_power = 100
			add_war_support = -0.02
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_privatise_kasserine_railway
		icon = GFX_goal_generic_africa_rail
		x = 0
		y = 2
		relative_position_id = TUN_end_concession_privileges
		cost = 5.8
		ai_will_do = {
			factor = 20
		}

		prerequisite = {
			focus = TUN_tax_zaituna
		}
		prerequisite = {
			focus = TUN_end_concession_privileges
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_privatise_kasserine_railway"
			add_political_power = 50
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_concessionary_alliances
		icon = GFX_Generic_Monopoly
		x = 1
		y = 1
		relative_position_id = TUN_austerity_programmes
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_austerity_programmes
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_concessionary_alliances"
			add_political_power = -50
			add_stability = 0.1
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = industry
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_tunis_fiscal_reforms
		icon = GFX_newmarkets
		x = 1
		y = 1
		relative_position_id = TUN_concessionary_alliances
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_concessionary_alliances
			focus = TUN_tell_loans
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tunis_fiscal_reforms"
			458 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = TUN_tunis_fiscal_reforms
				bonus = 1
				uses = 2
				category = industry
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_a_modern_economy
		icon = GFX_diversificationefforts
		x = 0
		y = 2
		relative_position_id = TUN_concessionary_alliances
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_tunis_fiscal_reforms
		}
		prerequisite = {
			focus = TUN_tax_zaituna
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_a_modern_economy"
			458 = { add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = TUN_a_modern_economy
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = KEN_corporate_bonus
				bonus = 1
				uses = 1
				category = construction_tech
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_a_bold_approach
		icon = GFX_allocatefunding
		x = 2
		y = 1
		relative_position_id = TUN_the_phosphate_crash
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_the_phosphate_crash
		}
		mutually_exclusive = {
			focus = TUN_austerity_programmes
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_a_bold_approach"
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
			add_political_power = -50
		}
	}
	focus = {
		id = TUN_tell_loans
		icon = GFX_Generic_Land_Reform
		x = -1
		y = 1
		relative_position_id = TUN_a_bold_approach
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_a_bold_approach
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tell_loans"
			458 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = TUN_tell_loans
				bonus = 1
				uses = 2
				category = electronics
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
	}
	focus = {
		id = TUN_invest_in_tourism
		icon = GFX_tourism
		x = 1
		y = 1
		relative_position_id = TUN_a_bold_approach
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_a_bold_approach
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_invest_in_tourism"
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}
	focus = {
		id = TUN_textiles_investments
		icon = GFX_Silk
		x = 0
		y = 2
		relative_position_id = TUN_a_bold_approach
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_concessionary_alliances
			focus = TUN_tell_loans
			focus = TUN_invest_in_tourism
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_textiles_investments"
			665 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TUN_develop_the_phosphate_sector
		icon = GFX_GRU_CORPORATE_CHEMICAL
		x = 2
		y = 0
		relative_position_id = TUN_textiles_investments
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_invest_in_tourism
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_develop_the_phosphate_sector"
			665 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = industry
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
	}
	focus = {
		id = TUN_tax_breaks
		icon = GFX_goal_generic_landowner_tax_cuts
		x = 0
		y = 1
		relative_position_id = TUN_textiles_investments
		cost = 5.8
		ai_will_do = {
			factor = 20
		}

		prerequisite = {
			focus = TUN_develop_the_phosphate_sector
		}
		prerequisite = {
			focus = TUN_textiles_investments
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tax_breaks"
			add_stability = 0.05
			add_political_power = -50
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
	}
	focus = {
		id = TUN_the_tunis_arsenal
		icon = GFX_goal_factory_complex
		x = -2
		y = 1
		relative_position_id = TUN_textiles_investments
		cost = 7
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_tunis_fiscal_reforms
		}
		prerequisite = {
			focus = TUN_textiles_investments
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tax_breaks"
			458 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	focus = {
		id = TUN_promote_vineyards
		icon = GFX_goal_GEO_wine
		x = 3
		y = 1
		relative_position_id = TUN_olive_oil_exports
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_olive_oil_exports
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_promote_vineyards"
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
			458 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_stability = -0.01
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_develop_djerba_fishing
		icon = GFX_nileandlakecommission
		x = -2
		y = 1
		relative_position_id = TUN_promote_vineyards
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_promote_vineyards
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_develop_djerba_fishing"
			458 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		#search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = TUN_restore_sahelian_herding
		icon = GFX_goal_OTT_camels
		x = -1
		y = 2
		relative_position_id = TUN_promote_vineyards
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_develop_djerba_fishing
			focus = TUN_steppe_fertilisers
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_restore_sahelian_herding"
			if = {
				limit = {
					has_idea = TUN_post_independence_issues_idea
				}
			remove_ideas = TUN_post_independence_issues_idea
			}
			665 = {
				add_extra_state_shared_building_slots = 1
			}
			add_political_power = 50
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_steppe_fertilisers
		icon = GFX_goal_SZC_improvised_farming_machinery
		x = 0
		y = 1
		relative_position_id = TUN_promote_vineyards
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_promote_vineyards
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_steppe_fertilisers"
			665 = {
				if = {
					limit = { has_state_category = one }
					set_state_category = two
				}
				if = {
					limit = { has_state_category = two }
					set_state_category = three
				}
			}
			665 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_railway_development
		icon = GFX_dschibutilinks
		x = 2
		y = 1
		relative_position_id = TUN_promote_vineyards
		cost = 7
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_promote_vineyards
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_railway_development"
			build_railway = {
				level = 2
				start_province = 7005
				target_province = 11935
			}
			665 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		add_resource = {
			type = tungsten
			amount = 2
			state = 665
			}
		add_resource = {
			type = steel
			amount = 4
			state = 665
			}
		add_tech_bonus = {
			bonus = 0.5
			uses = 1
			category = excavation_tech
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_cereals_for_arms
		icon = GFX_goal_PAL_Food_Import
		x = 0
		y = 3
		relative_position_id = TUN_promote_vineyards
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_restore_sahelian_herding
		}
		prerequisite = {
			focus = TUN_agricultural_revolution
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_cereals_for_arms"
			add_offsite_building = {
				type = arms_factory
				level = 1
			}
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_agricultural_revolution
		icon = GFX_acreageexpansion
		x = 1
		y = 2
		relative_position_id = TUN_promote_vineyards
		cost = 5.8
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = TUN_steppe_fertilisers
		}
		prerequisite = {
			focus = TUN_railway_development
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_agricultural_revolution"
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
			add_political_power = 50
			increase_ruling_party_popularity_by_5 = yes
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_promote_research
		icon = GFX_goal_ENG_Highland_Research_Towns
		x = 0
		y = 1
		relative_position_id = TUN_cereals_for_arms
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_cereals_for_arms
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_promote_research"
			add_research_slot_until_five = yes
		}
		#search_filters = { FOCUS_FILTER_RESEARCH }
	}
	### Military ###
	focus = {
		id = TUN_assess_tripolitanian_raids
		icon = GFX_incentivisedrelocation
		x = 29
		y = 0
		cost = 5
		available = {
			has_idea = TUN_army_idea_5
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_assess_tripolitanian_raids"
			army_experience = 25
			if = {
				limit = {
					has_idea = TUN_army_idea_5
					}
				swap_ideas = {
					remove_idea = TUN_army_idea_5
					add_idea = TUN_army_idea_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_army_idea_4
					}
				swap_ideas = {
					remove_idea = TUN_army_idea_4
					add_idea = TUN_army_idea_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_army_idea_3
					}
				swap_ideas = {
					remove_idea = TUN_army_idea_3
					add_idea = TUN_army_idea_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_army_idea_2
					}
				swap_ideas = {
					remove_idea = TUN_army_idea_2
					add_idea = TUN_army_idea_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_develop_the_mareth_line
		icon = GFX_goal_nested_fortifications
		x = 1
		y = 1
		relative_position_id = TUN_assess_tripolitanian_raids
		cost = 8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_assess_tripolitanian_raids
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_develop_the_mareth_line"
			665 = {
				add_building_construction = {
					type = bunker
					level = 3
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
				}
			}
			add_war_support = 0.05
			if = {
				limit = {
					has_idea = TUN_black_monday_5
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_5
					add_idea = TUN_black_monday_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_4
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_4
					add_idea = TUN_black_monday_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_3
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_3
					add_idea = TUN_black_monday_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_black_monday_2
					}
				swap_ideas = {
					remove_idea = TUN_black_monday_2
					add_idea = TUN_black_monday_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_memories_of_ahmad
		icon = GFX_enlisttheveterans
		x = -1
		y = 1
		relative_position_id = TUN_assess_tripolitanian_raids
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_assess_tripolitanian_raids
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_memories_of_ahmad"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_revive_bardo_school
		icon = GFX_goal_generic_army_high_command
		x = -2
		y = 1
		relative_position_id = TUN_memories_of_ahmad
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_memories_of_ahmad
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_revive_bardo_school"
			army_experience = 20
			add_command_power = 20
			add_war_support = 0.05
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_french_model_arms
		icon = GFX_Generic_French_Volunteers
		x = -1
		y = 2
		relative_position_id = TUN_revive_bardo_school
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_revive_bardo_school
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_french_model_arms"
			add_tech_bonus = {
				name = TUN_french_model_arms
				bonus = 1
				uses = 2
				category = infantry_weapons
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_lessons_of_the_mejba_revolt
		icon = GFX_Generic_Desert_Warfare
		x = 0
		y = 1
		relative_position_id = TUN_revive_bardo_school
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_revive_bardo_school
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_lessons_of_the_mejba_revolt"
			hidden_effect = {
				set_technology = {
					camel_corps_tech = 1
				}
			}
			hidden_effect = {
				set_technology = { desert_warfare = 1 }		
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = OTT_camel_corps_effect
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_develop_engineering_prowess
		icon = GFX_reverseurbanmigration
		x = 1
		y = 2
		relative_position_id = TUN_revive_bardo_school
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_lessons_of_the_mejba_revolt
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_develop_engineering_prowess"
			add_tech_bonus = {
				name = TUN_develop_engineering_prowess
				bonus = 1
				uses = 1
				technology = tech_engineers
				technology = tech_engineers2
				technology = tech_engineers3
				technology = tech_engineers4
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_conscript_the_peasantry
		icon = GFX_expungechifwambarumours
		x = 0
		y = 3
		relative_position_id = TUN_revive_bardo_school
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_develop_engineering_prowess
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_conscript_the_peasantry"
			add_ideas = TUN_peasantry_idea
			add_manpower = 14919
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_bizerte_arsenal
		icon = GFX_goal_Arms_Export
		x = 2
		y = 3
		relative_position_id = TUN_revive_bardo_school
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_develop_engineering_prowess
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_bizerte_arsenal"
			458 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}			
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_egyptian_inspiration
		icon = GFX_goal_OTT_Integrate_Egypt
		x = 1
		y = 1
		relative_position_id = TUN_memories_of_ahmad
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_memories_of_ahmad
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_egyptian_inspiration"
			division_template = {
				name = "Sipahis"
				division_names_group = EGY_CAV_01
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 1 y = 2 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
					infantry = { x = 2 y = 2 }
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "division_template = \"Sipahis\" start_experience_factor = 0.4"
					owner = ROOT
				}
			}
			add_political_power = 50
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_the_new_bombards
		icon = GFX_Cannon
		x = -1
		y = 1
		relative_position_id = TUN_egyptian_inspiration
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_egyptian_inspiration
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_new_bombards"
			add_tech_bonus = {
				name = TUN_the_new_bombards
				bonus = 0.5
				uses = 1
				category = artillery
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 200
				producer = EGY
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_kouloughli_reforms
		icon = GFX_regularisethekathi
		x = 1
		y = 1
		relative_position_id = TUN_egyptian_inspiration
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_egyptian_inspiration
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_kouloughli_reforms"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			if = {
				limit = {
					has_idea = TUN_post_independence_issues_idea
				}
			remove_ideas = TUN_post_independence_issues_idea
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_desert_mechanised
		icon = GFX_goal_generic_army_motorized
		x = 3
		y = 1
		relative_position_id = TUN_egyptian_inspiration
		cost = 5.8
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_egyptian_inspiration
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_desert_mechanised"
			add_tech_bonus = {
				name = TUN_desert_mechanised
				bonus = 1
				uses = 1
				category = motorized_equipment
			}
			add_equipment_to_stockpile = {
				type = motorized_equipment_1 
				amount = 200 producer = NFA
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_military_developments
		icon = GFX_focus_ARG_universidad_de_buenos_aires
		x = -1
		y = 1
		cost = 5.8
		relative_position_id = TUN_desert_mechanised
		ai_will_do = {
			factor = 25
		}
		prerequisite = {
			focus = TUN_the_new_bombards
		}
		prerequisite = {
			focus = TUN_kouloughli_reforms
		}
		prerequisite = {
			focus = TUN_desert_mechanised
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_military_developments"
			add_research_slot_until_five = yes
		}
		#search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = TUN_develop_an_air_force
		icon = GFX_focus_generic_air_bases
		x = -3
		y = 1
		relative_position_id = TUN_military_developments
		cost = 5.8
		available = {
			NOT = {
				has_autonomy_state = kx_colored_puppet
			}
		}
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_develop_an_air_force"
			air_experience = 25
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TUN_purchase_programme
		icon = GFX_focus_generic_air_partners
		x = 0
		y = 1
		relative_position_id = TUN_develop_an_air_force
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_develop_an_air_force
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_purchase_programme"
			add_equipment_to_stockpile = {
				type = fighter_equipment_0
				amount = 14
				producer = NFA
			}
			add_equipment_to_stockpile = {
				type = fighter_equipment_0
				amount = 5
				producer = TUR
			}
			add_equipment_to_stockpile = {
				type = fighter_equipment_0
				amount = 8
				producer = EGY
			}
			add_tech_bonus = {
				name = TUN_purchase_programme
				bonus = 1
				uses = 1
				category = light_fighter
			}
		}
	}
	focus = {
		id = TUN_aircraft_production
		icon = GFX_focus_generic_aircraft_production
		x = -2
		y = 1
		relative_position_id = TUN_develop_an_air_force
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_develop_an_air_force
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_aircraft_production"
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	focus = {
		id = TUN_tunisian_doctrine
		icon = GFX_developndoloairbase
		x = -1
		y = 1
		relative_position_id = TUN_purchase_programme
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		mutually_exclusive = {
			focus = TUN_light_fighters
		}
		prerequisite = {
			focus = TUN_purchase_programme
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tunisian_doctrine"
			add_tech_bonus = {
				name = TUN_tunisian_doctrine
				bonus = 1
				uses = 1
				category = air_doctrine
			}
			add_tech_bonus = {
				name = TUN_tunisian_doctrine
				bonus = 1
				uses = 1
				category = naval_bomber
			}
			add_tech_bonus = {
				name = TUN_tunisian_doctrine
				bonus = 1
				uses = 1
				category = cas_bomber
			}
		}
	}
	focus = {
		id = TUN_light_fighters
		icon = GFX_goal_generic_air_fighter
		x = 1
		y = 1
		relative_position_id = TUN_purchase_programme
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		mutually_exclusive = {
			focus = TUN_tunisian_doctrine
		}
		prerequisite = {
			focus = TUN_purchase_programme
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_light_fighters"
			add_ideas = TUN_fighter_idea
			add_tech_bonus = {
				name = TUN_light_fighters
				bonus = 1
				uses = 1
				category = light_fighter
			}
		}
	}
	focus = {
		id = TUN_anti_air
		icon = GFX_focus_generic_air_defense
		x = 0
		y = 3
		relative_position_id = TUN_purchase_programme
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_tunisian_doctrine
			focus = TUN_light_fighters
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_anti_air"
			458 = {
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			665 = {
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TUN_refurbish_bizerte
		icon = GFX_goal_generic_naval_fleet_in_being
		x = 4
		y = 0
		relative_position_id = TUN_develop_an_air_force
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			NOT = {
				has_autonomy_state = kx_colored_puppet
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_refurbish_bizerte"
			458 = {
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TUN_fortify_the_littoral
		icon = GFX_focus_generic_coastal_fort
		x = 0
		y = 1
		relative_position_id = TUN_refurbish_bizerte
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_refurbish_bizerte
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_fortify_the_littoral"
			navy_experience = 20
			458 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 11969
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = bunker
					level = 2
					province = 11969
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 9994
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = bunker
					level = 2
					province = 9994
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 11921
					instant_build = yes
				}
			}
			458 = {
				add_building_construction = {
					type = bunker
					level = 2
					province = 11921
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = TUN_naval_exercises
		icon = GFX_goal_navy_decision
		x = 0
		y = 1
		relative_position_id = TUN_fortify_the_littoral
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_fortify_the_littoral
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_naval_exercises"
			navy_experience = 20
			add_tech_bonus = {
				name = TUN_naval_exercises
				bonus = 1
				uses = 2
				category = naval_doctrine
			}
		}
	}
	focus = {
		id = TUN_mediterranean_bombers
		icon = GFX_goal_generic_air_naval_bomber2_new
		x = 1
		y = 1
		relative_position_id = TUN_light_fighters
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_purchase_programme
		}
		prerequisite = {
			focus = TUN_naval_exercises
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_mediterranean_bombers"
			add_tech_bonus = {
				name = TUN_mediterranean_bombers
				bonus = 1
				uses = 1
				category = naval_air
			}
		}
	}
	focus = {
		id = TUN_the_corsair_tradition
		icon = GFX_goal_generic_marines2
		x = 0
		y = 1
		relative_position_id = TUN_naval_exercises
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_naval_exercises
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_corsair_tradition"
			add_ideas = TUN_corsair_idea
			if = {
				limit = {
					NOT = { has_tech = marines }
				}
				set_technology = { marines = 1 }
			}
			else = {
				add_tech_bonus = {
					name = MLT_seebatallions
					bonus = 1
					uses = 1
					category = marine_tech
				}
			}
			add_war_support = 0.05
		}
	}
	focus = {
		id = TUN_undersea_razzias
		icon = GFX_goal_generic_submarine_base
		x = 2
		y = 1
		relative_position_id = TUN_naval_exercises
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_naval_exercises
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_undersea_razzias"
			add_tech_bonus = {
				name = TUN_undersea_razzias
				bonus = 1
				uses = 1
				category = ss_tech
			}
		}
	}
	
	focus = {
		id = TUN_tunis_naval_academy
		icon = GFX_goal_generic_naval_industry
		x = 0
		y = 1
		relative_position_id = TUN_the_corsair_tradition
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_mediterranean_bombers
		}
		prerequisite = {
			focus = TUN_the_corsair_tradition
		}
		prerequisite = {
			focus = TUN_undersea_razzias
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_tunis_naval_academy"
			add_research_slot_until_five = yes
			random_owned_state = {
				limit = {
					is_core_of = MLT
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
				}			
			}
		}
	}

## Revolutionary path
	focus = {
		id = TUN_revolution_in_tunisia
		icon = GFX_goal_generic_revolutionary_government
		x = 19
		y = 7
		cost = 1
		ai_will_do = {
			factor = 200
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_socialist_government = yes
			is_subject = yes
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_revolution_in_tunisia"
			country_event = tunisia.27
			hidden_effect = {
				country_event = {
					id = tunflav.48 # an Maghrebi union?
					days = 180
				}
			}
		}
	}

	focus = {
		id = TUN_attack_the_olds
		icon = GFX_dualadministration
		x = -2
		y = 1
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		available = {
			NOT = {
				has_war_with = NFA
			}
			OR = {
				has_government = totalist
				has_government = syndicalist
			}
		}
		prerequisite = {
			focus = TUN_revolution_in_tunisia
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_attack_the_olds"
			increase_ruling_party_popularity_by_10 = yes
			add_political_power = 50
			add_popularity = {
				ideology = social_conservative
				popularity = -0.05
			}
			hidden_effect = {
				country_event = {
					id = tunflav.33
					days = 24
				}
			}
		}
	}
	focus = {
		id = TUN_settle_with_the_ulama
		icon = GFX_goal_OTT_Muslim_Relations
		x = 2
		y = 1
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		select_effect = {
			hidden_effect = {
				country_event = {
					id = tunflav.33
					days = 13
				}
			}		
		}
		available = {
			NOT = {
				has_war_with = NFA
			}
			OR = {
				has_government = radical_socialist
				has_government = social_democrat
			}
		}
		prerequisite = {
			focus = TUN_revolution_in_tunisia
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_settle_with_the_ulama"
			add_political_power = 50
			add_stability = 0.05
			if = {
				limit = {
					has_idea = TUN_discontentedulama_idea
					}
				remove_ideas = TUN_discontentedulama_idea
			}
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_women_are_the_future
		icon = GFX_goal_ENG_maximist_women
		x = -3
		y = 2
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_attack_the_olds
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_women_are_the_future"
			add_war_support = 0.1
			add_political_power = 50
			add_stability = -0.05
			add_manpower = 20000
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_secular_education
		icon = GFX_goal_KTG_Educate_natives
		x = -4
		y = 4
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_women_are_the_future
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_secular_education"
			add_research_slot_until_five = yes
			add_stability = -0.02
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_agrarian_reforms
		icon = GFX_focus_generic_agriculture
		x = 3
		y = 2
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_settle_with_the_ulama
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_agrarian_reforms"
			add_research_slot_until_five = yes
			if = {
				limit = {
					has_idea = TUN_agriculture_5
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_5
					add_idea = TUN_agriculture_4
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_4
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_4
					add_idea = TUN_agriculture_3
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_3
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_3
					add_idea = TUN_agriculture_2
				}
			}
			if = {
				limit = {
					has_idea = TUN_agriculture_2
					}
				swap_ideas = {
					remove_idea = TUN_agriculture_2
					add_idea = TUN_agriculture_1
				}
			}
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_major_works_schemes
		icon = GFX_goal_socialist_infrastructure
		x = 4
		y = 4
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_agrarian_reforms
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_major_works_schemes"
			increase_ruling_party_popularity_by_5 = yes
			665 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_political_power = -50
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_destroy_the_colon_class
		icon = GFX_BRY_Land_Socialization
		x = -1
		y = 2
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_attack_the_olds
			focus = TUN_settle_with_the_ulama
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_destroy_the_colon_class"
			458 = { add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}			
			458 = {
				add_extra_state_shared_building_slots = 1
			}
			add_stability = -0.02
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_farming_methods
		icon = GFX_Generic_Land_Reform
		x = -2
		y = 3
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}

		prerequisite = {
			focus = TUN_destroy_the_colon_class
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_farming_methods"
			add_political_power = 50
			add_tech_bonus = {
				name = TUN_farming_methods
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
		#search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = TUN_irrigation_programmes
		icon = GFX_reformthenativerentsordnance
		x = -2
		y = 4
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_farming_methods
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_irrigation_programmes"
			665 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_armed_revolution
		icon = GFX_goal_LPD_allign_radicals
		x = 0
		y = 3
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_attack_the_olds
			focus = TUN_settle_with_the_ulama
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_armed_revolution"
			458 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = TUN_armed_revolution
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
		#search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = TUN_the_global_struggle
		icon = GFX_goal_FRA_Internationale_Congress
		x = 0
		y = 4
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			is_subject = no
			is_in_faction = no
		}
		bypass = {
			OR = {
				is_subject = yes
				is_in_faction = yes
			}
		}
		prerequisite = {
			focus = TUN_armed_revolution
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_global_struggle"
			if = {
				limit = {
					country_exists = INT
					TUN = { has_socialist_government = yes }
					}
				country_event = sharedafrika.10
			}
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	focus = {
		id = TUN_defrenchification
		icon = GFX_goal_Dismantle_French_Education
		x = 1
		y = 2
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_attack_the_olds
			focus = TUN_settle_with_the_ulama
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_defrenchification"
			country_event = tunisia.32
			add_stability = 0.05
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	focus = {
		id = TUN_revolutionary_sentiments
		icon = GFX_goal_agrarian_socialism
		x = 2
		y = 3
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_defrenchification
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_revolutionary_sentiments"
			add_war_support = 0.05
			add_stability = 0.05
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_union_rights
		icon = GFX_goal_ideology_radical_socialist
		x = 2
		y = 4
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_revolutionary_sentiments
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_union_rights"
			add_offsite_building = { type = industrial_complex level = 1 }
			add_offsite_building = { type = dockyard level = 1 }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_the_jewel_of_the_med
		icon = GFX_collectivisation
		x = 0
		y = 5
		relative_position_id = TUN_revolution_in_tunisia
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_the_global_struggle
		}
		prerequisite = {
			focus = TUN_irrigation_programmes
		}
		prerequisite = {
			focus = TUN_union_rights
		}
		prerequisite = {
			focus = TUN_major_works_schemes
			focus = TUN_secular_education
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_the_jewel_of_the_med"
			add_stability = 0.1
			add_war_support = 0.1
			if = {
				limit = {
					has_idea = TUN_discontentedulama_idea
					}
				remove_ideas = TUN_discontentedulama_idea
			}
		}
		#search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }
	}

#Foreign policy
	focus = {
		id = TUN_an_independent_path
		icon = GFX_anewnativeordnance
		x = 9
		y = 8
		cost = 2
		ai_will_do = {
			factor = 200
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = NFA
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_an_independent_path"
			unlock_decision_category_tooltip = TUN_faction_decisions
			ROOT = {
				every_owned_state = {
					limit = {
						is_claimed_by = NFA
					}
					remove_claim_by = NFA
				}
				every_owned_state = {
					limit = {
						is_core_of = NFA
					}
					remove_core_of = NFA
				}
			}
		}
	}
	focus = {
		id = TUN_seize_malta
		icon = GFX_goal_MLT_constitutional_party
		x = -1
		y = 1
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = MLT ratio < 1 }
			}
			modifier = {
				factor = 0
				MLT = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				MLT = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 116
				116 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		prerequisite = {
			focus = TUN_an_independent_path
		}
		available = {
		is_subject = no
		can_declare_war_on = 116.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 116
			}
		}
		will_lead_to_war_with = MLT
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_seize_malta"
			create_wargoal = { type = annex_everything target = 116.owner }
		}
	}
	focus = {
		id = TUN_annex_libya
		icon = GFX_goal_OTT_Integrate_Libya
		x = 1
		y = 1
		relative_position_id = TUN_an_independent_path
		prerequisite = {
			focus = TUN_an_independent_path
		}
		cost = 5.8
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = LBA ratio < 1 }
			}
			modifier = {
				factor = 0
				LBA = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				TRP = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = TRP ratio < 1 }
			}
			modifier = {
				factor = 0
				TRP = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				TRP = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 448
				448 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 448.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 448
			}
		}
		will_lead_to_war_with = TRP
		will_lead_to_war_with = LBA
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_annex_libya"
			create_wargoal = { type = annex_everything target = 448.owner }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_retake_the_regency
		icon = GFX_goal_PAL_Algerian_Refugees
		x = 3
		y = 1
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_an_independent_path
		}
		cost = 5.8
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = NFA ratio < 1 }
			}
			modifier = {
				factor = 0
				NFA = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				NFA = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = ALG ratio < 1 }
			}
			modifier = {
				factor = 0
				ALG = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				ALG = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 459
				459 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 459.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 459
			}
		}
		will_lead_to_war_with = NFA
		will_lead_to_war_with = ALG
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_retake_the_regency"
			create_wargoal = { type = annex_everything target = 459.owner }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_annex_morocco
		icon = GFX_Goal_generic_monarchism
		x = 3
		y = 3
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = MOR ratio < 1 }
			}
			modifier = {
				factor = 0
				MOR = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				MOR = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 461
				461 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		prerequisite = {
			focus = TUN_retake_the_regency
		}
		available = {
		is_subject = no
		can_declare_war_on = 461.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 461
			}
		}
		will_lead_to_war_with = MOR
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_annex_morocco"
			create_wargoal = { type = annex_everything target = 461.owner }
		}
		#search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_restore_arab_sicily
		icon = GFX_goal_SIC_kingdom_of_two_sicilies
		x = 0
		y = 2
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_seize_malta
		}
		prerequisite = {
			focus = TUN_annex_libya
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = SIC ratio < 1 }
			}
			modifier = {
				factor = 0
				SIC = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				SIC = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 115
				115 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 115.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 115
			}
		}
		will_lead_to_war_with = SIC
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_restore_arab_sicily"
			create_wargoal = { type = annex_everything target = 115.owner }
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_take_sardinia
		icon = GFX_goal_VNC_venice_sardinia_new
		x = -1
		y = 3
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_seize_malta
			focus = TUN_restore_arab_sicily
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = SRD ratio < 1 }
			}
			modifier = {
				factor = 0
				SRD = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				SRD = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 114
				114 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 114.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 114
			}
		}
		will_lead_to_war_with = SRD
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_take_sardinia"
			create_wargoal = { type = annex_everything target = 114.owner }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_retake_the_balaerics
		icon = GFX_goal_spain
		x = -1
		y = 4
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_take_sardinia
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = SPR ratio < 1 }
			}
			modifier = {
				factor = 0
				SPR = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				SPR = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 177
				177 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 177.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 177
			}
		}
		will_lead_to_war_with = SPR
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_retake_the_balaerics"
			create_wargoal = { type = annex_everything target = 177.owner }
		}
		#search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = TUN_challenge_egyptian_power
		icon = GFX_goal_OTT_Integrate_Egypt
		x = 1
		y = 3
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_annex_libya
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = EGY ratio < 1 }
			}
			modifier = {
				factor = 0
				EGY = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				EGY = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 452
				452 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 452.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 452
			}
		}
		will_lead_to_war_with = EGY
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_challenge_egyptian_power"
			create_wargoal = { type = annex_everything target = 452.owner }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = TUN_return_home
		icon = GFX_goal_greek_shield
		x = 2
		y = 2
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = TUN_annex_libya
		}
		prerequisite = {
			focus = TUN_retake_the_regency
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = CRE ratio < 1 }
			}
			modifier = {
				factor = 0
				CRE = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				CRE = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = GRE ratio < 1 }
			}
			modifier = {
				factor = 0
				GRE = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				GRE = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 182
				182 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 182.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 182
			}
		}
		will_lead_to_war_with = CRE
		will_lead_to_war_with = GRE
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_return_home"
			create_wargoal = { type = annex_everything target = 182.owner }
		}
		#search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = TUN_overthrow_the_turks
		icon = GFX_goal_ottoman
		x = 2
		y = 4
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_challenge_egyptian_power
			focus = TUN_return_home
			focus = TUN_annex_morocco
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = TUR ratio < 1 }
			}
			modifier = {
				factor = 0
				TUR = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				TUR = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 773
				773 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 773.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 773
			}
		}
		will_lead_to_war_with = TUR
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_overthrow_the_turks"
			create_wargoal = { type = annex_everything target = 773.owner }
		}
	}
	focus = {
		id = TUN_raze_rome
		icon = GFX_PAP_legionary_spirit
		x = 1
		y = 5
		relative_position_id = TUN_an_independent_path
		cost = 5.8
		prerequisite = {
			focus = TUN_retake_the_balaerics
			focus = TUN_overthrow_the_turks
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = PAP ratio < 1 }
			}
			modifier = {
				factor = 0
				PAP = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				PAP = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			OR = {
				owns_state = 2
				2 = {
					is_owned_by_ROOT_or_ally = yes
				}
			}
		}
		available = {
		is_subject = no
		can_declare_war_on = 2.owner
		controls_all_owned_states = yes
		NOT = {
			owns_state = 2
			}
		}
		will_lead_to_war_with = PAP
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus TUN_raze_rome"
			create_wargoal = { type = annex_everything target = 2.owner }
		}
		#search_filters = { FOCUS_FILTER_POLITICAL }
	}
}