focus_tree = {
	id = morroco_new
	country = {
		factor = 0
		modifier = {
			add = 20
			tag = MOR
		}
	}

	##political##
	default = no
	focus = {
		id = MOR_a_time_of_troubles
		icon = GFX_employthewalimu
		cost = 5.8
		x = 6
		y = 0
		available = {
			has_global_flag = black_monday
		}

		completion_reward = {
			add_political_power = 100
		}
	}

	focus = {
		id = MOR_national_infrastructure_plan
		icon = GFX_goal_generic_railway_construction
		cost = 5.8
		prerequisite = {
			focus = MOR_a_time_of_troubles
		}

		available = {
			controls_state = 461
		}
		bypass = {
			NOT = {
				owns_state = 461
			}
		}
		cancel_if_invalid = yes
		completion_reward = {
			461 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		x = -3
		y = 1
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_royal_morrocan_railways
		icon = GFX_goal_OTT_Railroad
		cost = 5.8
		prerequisite = {
			focus = MOR_national_infrastructure_plan
		}

		available = {
			controls_state = 461
			controls_state = 462
		}
		bypass = {
			NOT = {
				owns_state = 461
				owns_state = 462
			}
		}
		cancel_if_invalid = yes
		completion_reward = {
			build_railway = {
				level = 2
				start_province = 7203
				target_province = 10070
			}
		}
		x = -3
		y = 3
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_agadir_rabat_railway
		icon = GFX_focusonthedreyfusline
		cost = 5.8
		prerequisite = {
			focus = MOR_royal_morrocan_railways
		}
		prerequisite = {
			focus = MOR_the_berber_question
		}

		available = {
			controls_state = 461
			controls_state = 462
		}
		bypass = {
			NOT = {
				owns_state = 461
				owns_state = 462
			}
		}
		cancel_if_invalid = yes
		completion_reward = {
			461 = {
				if = {
					limit = { is_owned_by = MOR }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			462 = {
				if = {
					limit = { is_owned_by = MOR }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
		x = -2
		y = 4
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_ask_for_german_help
		icon = GFX_requestemergencyassistance
		cost = 5.8
		prerequisite = {
			focus = MOR_a_time_of_troubles
		}

		bypass = {
			GER = {
				OR = {
					exists = no
					has_capitulated = yes
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = MOR_a_time_of_troubles
		completion_reward = {
			add_opinion_modifier = { target = GER modifier = AST_close_allies }
			reverse_add_opinion_modifier = { target = GER modifier = AST_close_allies }
			add_stability = 0.03
			decrease_ruling_party_popularity_by_5 = yes
		}
	}
	focus = {
		id = MOR_the_port_of_casablanca
		icon = GFX_Expand_Trade_Fleet
		cost = 5.8
		prerequisite = {
			focus = MOR_national_infrastructure_plan
		}
		prerequisite = {
			focus = MOR_ask_for_german_help
		}

		available = {
			controls_state = 461
		}
		bypass = {
			NOT = {
				owns_state = 461
			}
		}
		completion_reward = {
			add_political_power = 50
			461 = {
				if = {
					limit = {
						is_owned_by = MOR
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
		cancel_if_invalid = yes
		x = -2
		y = 2
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_royal_budget_rearengment
		icon = GFX_Goal_generic_monarchism
		cost = 5.8
		prerequisite = {
			focus = MOR_ask_for_german_help
		}
		completion_reward = {
			add_ideas = MOR_royal_budget_rearengment_idea
		}

		x = 0
		y = 2
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_developmnet_plan
		icon = GFX_anofficiallanguage
		cost = 5.8
		prerequisite = {
			focus = MOR_a_time_of_troubles
		}
		completion_reward = {
			add_ideas = MOR_developmnet_plan_idea
		}

		x = 3
		y = 1
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_foreign_industrial_expertise
		icon = GFX_goal_AST_trade_commonwealth
		cost = 5.8

		prerequisite = {
			focus = MOR_ask_for_german_help
		}
		prerequisite = {
			focus = MOR_developmnet_plan
		}
		completion_reward = {
			add_ideas = MOR_foreign_industrial_expertise_idea
		}
		x = 2
		y = 2
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_new_laws_for_new_times
		icon = GFX_reformthecolonialgovernment
		cost = 5.8

		prerequisite = {
			focus = MOR_royal_budget_rearengment
		}
		prerequisite = {
			focus = MOR_foreign_industrial_expertise
		}
		completion_reward = {
			add_ideas = MOR_new_laws_for_new_times_idea
		}
		x = 1
		y = 3
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_invest_in_the_old_capital
		icon = GFX_goal_manage_industries
		cost = 7
		prerequisite = {
			focus = MOR_developmnet_plan
		}
		completion_reward = {
			461 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			461 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		x = 3
		y = 3
		relative_position_id = MOR_a_time_of_troubles
		cancel_if_invalid = yes
	}
	focus = {
		id = MOR_manufacturing_incentives
		icon = GFX_goal_generic_construct_civilian
		cost = 5.8
		prerequisite = {
			focus = MOR_invest_in_the_old_capital
		}

		prerequisite = {
			focus = MOR_new_laws_for_new_times
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_manufacturing_incentives
				bonus = 1
				uses = 1
				category = industry
			}
			add_tech_bonus = {
				name = MOR_manufacturing_incentives
				bonus = 1
				uses = 1
				category = electronics
			}
		}
		x = 2
		y = 4
		relative_position_id = MOR_a_time_of_troubles
	}

	focus = {
		id = MOR_the_berber_question
		icon = GFX_regulariseugandanborder
		cost = 5.8
		prerequisite = {
			focus = MOR_royal_budget_rearengment
		}
		prerequisite = {
			focus = MOR_the_port_of_casablanca
		}
		completion_reward = {
			MOR = {	country_event = mor.2 }
		}

		x = -1
		y = 3
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_the_new_western_realm
		icon = GFX_lessonslearned
		cost = 5.8
		prerequisite = {
			focus = MOR_agadir_rabat_railway
			focus = MOR_manufacturing_incentives
		}
		x = 0
		y = 5
		relative_position_id = MOR_a_time_of_troubles

		completion_reward = {
			increase_ruling_party_popularity_by_10 = yes
			MOR = {	country_event = mor.3 }
		}
	}
	focus = {
		id = MOR_francophobe_rethoric
		icon = GFX_goal_Dismantle_French_Education
		cost = 5.8
		prerequisite = {
			focus = MOR_the_new_western_realm
		}

		x = -4
		y = 6
		relative_position_id = MOR_a_time_of_troubles
		completion_reward = {
			add_ideas = MOR_francophobe_rethoric_idea
		}
	}
	focus = {
		id = MOR_the_kings_gendarme
		icon = GFX_focus_rom_royal_dictatorship
		cost = 5.8
		prerequisite = {
			focus = MOR_the_new_western_realm
		}

		completion_reward = {
			add_stability = 0.1
			add_war_support = 0.1
		}
		x = -2
		y = 7
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_parliament_of_morocco
		icon = GFX_thewituquestion
		cost = 5.8
		prerequisite = {
			focus = MOR_the_new_western_realm
		}

		completion_reward = {
			add_political_power = 100
		}
		x = 0
		y = 6
		relative_position_id = MOR_a_time_of_troubles
	}
	focus = {
		id = MOR_beyond_al_qarawiyn
		icon = GFX_goal_generic_scientific_exchange
		cost = 5.8
		prerequisite = {
			focus = MOR_the_new_western_realm
		}

		x = 2
		y = 7
		relative_position_id = MOR_a_time_of_troubles

		completion_reward = {
			add_research_slot_until_five = yes
		}
	}
	focus = {
		id = MOR_industrialize_the_realm
		icon = GFX_goal_generic_industry_reallocation
		cost = 5.8
		prerequisite = {
			focus = MOR_the_new_western_realm
		}

		completion_reward = {
			add_tech_bonus = {
				name = MOR_manufacturing_incentives
				bonus = 1
				uses = 1
				category = industry
			}
		}
		x = 4
		y = 6
		relative_position_id = MOR_a_time_of_troubles
	}


	##Military##
	focus = {
		id = MOR_the_royal_army_of_morocco
		icon = GFX_restoreruleinzanzibar
		cost = 5.8
		completion_reward = {
			add_political_power = 50
		}
		ai_will_do = {
			factor = 80
		}
		x = 16
		y = 0
	}

	focus = {
		id = MOR_learning_with_our_mistakes
		icon = GFX_protectoratereforms
		cost = 5.8
		prerequisite = {
			focus = MOR_the_royal_army_of_morocco
		}
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			army_experience = 30
		}
		x = 0
		y = 1
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_begin_army_reform
		icon = GFX_goal_generic_axis_build_infantry
		cost = 5.8
		prerequisite = {
			focus = MOR_learning_with_our_mistakes
		}
		ai_will_do = {
			factor = 80
		}

		completion_reward = {
			add_tech_bonus = {
				name = MOR_begin_army_reform
				bonus = 1
				uses = 1
				category = land_doctrine
			}
		}
		x = 0
		y = 2
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_new_equipment_standards
		icon = GFX_Focus_Examine_Foreign_Small_Arms
		cost = 5.8
		prerequisite = {
			focus = MOR_begin_army_reform
		}
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_new_equipment_standards
				bonus = 0.55
				uses = 1
				category = infantry_weapons
			}
		}
		x = -3
		y = 3
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR__patriotic_propaganda
		icon = GFX_EGY_Radio_Free_Cairo
		cost = 5.8
		prerequisite = {
			focus = MOR_new_equipment_standards
		}
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			add_war_support = 0.15
		}
		x = -4
		y = 4
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_lessions_of_the_prussians
		icon = GFX_goal_generic_scientific_exchange
		cost = 5.8
		prerequisite = {
			focus = MOR_begin_army_reform
		}
		completion_reward = {
			add_research_slot_until_five = yes
		}
		x = -1
		y = 3
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_request_german_military_mission
		icon = GFX_goal_German_Staff
		cost = 5.8
		prerequisite = {
			focus = MOR_begin_army_reform
		}
		ai_will_do = {
			factor = 80
		}
		available = {
			ROOT = {
				is_in_faction_with = GER
			}
		}
		bypass = {
			OR = {
				NOT = {
					ROOT = {
						is_in_faction_with = GER
					}
					GER = {
						OR = {
							exists = no
							has_capitulated = yes
						}
					}
					has_socialist_government = yes
				}
			}
		}

		completion_reward = {
			GER = { country_event = mor.5 }
		}
		x = 1
		y = 3
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_moroccan_officer_schools
		icon = GFX_focus_generic_military_mission
		cost = 5.8
		prerequisite = {
			focus = MOR_lessions_of_the_prussians focus = MOR_request_german_military_mission
		}

		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			add_ideas = MOR_moroccan_officer_schools_idea
		}
		x = 0
		y = 5
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_enlist_the_berber_horsemen
		icon = GFX_goal_generic_cavalry
		cost = 5.8
		prerequisite = {
			focus = MOR_begin_army_reform
		}
		completion_reward = {
			add_ideas = MOR_enlist_the_berber_horsemen_idea
		}
		x = 3
		y = 3
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_a_new_kind_of_horsepower
		icon = GFX_goal_generic_heavy_armour_german
		cost = 5.8
		prerequisite = {
			focus = MOR_enlist_the_berber_horsemen
		}
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_a_new_kind_of_horsepower
				bonus = 1
				uses = 1
				category = armor
			}
		}
		x = 2
		y = 4
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_a_modern_age_of_war
		icon = GFX_goal_generic_armored_cars
		cost = 5.8
		prerequisite = {
			focus = MOR_a_new_kind_of_horsepower
		}
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			add_tech_bonus = {
				name = mechanized_bonus
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}
		}
		x = 2
		y = 5
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_heroes_of_the_weltkrieg_heed_the_call
		icon = GFX_thelionslegacy
		cost = 5.8
		prerequisite = {
			focus = MOR_enlist_the_berber_horsemen
		}
		ai_will_do = {
			factor = 80
		}
		x = 4
		y = 4
		relative_position_id = MOR_the_royal_army_of_morocco

		available = {
			has_war = yes
		}
		completion_reward = {
			add_manpower = 5000
			army_experience = 30
		}
	}

	focus = {
		id = MOR_modern_army_hierarchy
		icon = GFX_goal_generic_drafted_army
		cost = 5.8
		ai_will_do = {
			factor = 80
		}
		prerequisite = {
			focus = MOR_moroccan_officer_schools
		}
		prerequisite = {
			focus = MOR_modern_artillery
		}
		prerequisite = {
			focus = MOR_a_modern_age_of_war
		}
		x = 0
		y = 6
		relative_position_id = MOR_the_royal_army_of_morocco

		completion_reward = {
			add_ideas = MOR_modern_army_hierarchy_idea
		}
	}
	focus = {
		id = MOR_a_legacy_of_a_thousand_years
		icon = GFX_goal_Desert_Officers_2
		cost = 5.8
		ai_will_do = {
			factor = 80
		}
		prerequisite = {
			focus = MOR_modern_army_hierarchy
		}
		completion_reward = {
			add_ideas = MOR_a_legacy_of_a_thousand_years_idea
		}
		x = 0
		y = 7
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_new_uniforms_and_training_drills
		icon = GFX_goal_OTT_gendarmerie
		cost = 5.8
		prerequisite = {
			focus = MOR_new_equipment_standards
		}
		completion_reward = {
			add_ideas = MOR_new_uniforms_and_training_drills_idea
		}

		x = -2
		y = 4
		relative_position_id = MOR_the_royal_army_of_morocco
	}
	focus = {
		id = MOR_modern_artillery
		icon = GFX_goal_Krupp_Artillery
		cost = 5.8
		ai_will_do = {
			factor = 80
		}
		prerequisite = {
			focus = MOR_new_uniforms_and_training_drills
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_modern_artillery
				bonus = 1
				uses = 1
				category = artillery
			}
		}
		x = -2
		y = 5
		relative_position_id = MOR_the_royal_army_of_morocco
	}


	##Navy and Air##
	focus = {
		id = MOR_royal_moroccan_navy
		icon = GFX_goal_generic_naval_command
		cost = 5.8
		x = 24
		y = 0
		ai_will_do = {
			factor = 70
		}

		completion_reward = {
			461 = {
				if = {
					limit = {
						is_owned_by = MOR
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			461 = {
				if = {
					limit = {
						is_owned_by = MOR
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
	focus = {
		id = MOR_royal_moroccan_airforce
		icon = GFX_goal_generic_air_command
		cost = 5.8
		x = 4
		y = 0
		ai_will_do = {
			factor = 70
		}
		relative_position_id = MOR_royal_moroccan_navy

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					461
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = {
					461
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
			air_experience = 20
		}
	}


	focus = {
		id = MOR_the_atlantic_kingdom
		icon = GFX_goal_navy_decision
		cost = 5.8
		prerequisite = {
			focus = MOR_royal_moroccan_navy
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_the_atlantic_kingdom
				bonus = 1
				uses = 1
				category = naval_doctrine
			}
		}
		x = -1
		y = 1
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_watch_over_the_straits
		icon = GFX_goal_generic_coastal_navy
		cost = 5.8
		ai_will_do = {
			factor = 70
		}
		prerequisite = {
			focus = MOR_the_atlantic_kingdom
		}
		completion_reward = {
			add_ideas = MOR_watch_over_the_straits_idea
		}
		x = -1
		y = 2
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_submarine_engineering
		icon = GFX_goal_generic_navy_submarine
		cost = 5.8
		prerequisite = {
			focus = MOR_watch_over_the_straits
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_submarine_engineering
				bonus = 1
				uses = 1
				category = ss_tech
			}
			navy_experience = 20
		}

		x = -1
		y = 3
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_trading_interdiction
		icon = GFX_goal_generic_trade
		cost = 5.8
		prerequisite = {
			focus = MOR_submarine_engineering
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = trade_interdiction_tree
			}
		}
		x = -1
		y = 4
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_foreign_naval_experts
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 5.8
		ai_will_do = {
			factor = 70
		}
		prerequisite = {
			focus = MOR_royal_moroccan_navy
		}
		x = 1
		y = 1
		relative_position_id = MOR_royal_moroccan_navy
		completion_reward = {
			add_tech_bonus = {
				name = MOR_begin_army_reform
				bonus = 1
				uses = 1
				category = naval_doctrine
			}
		}
	}
	focus = {
		id = MOR_dockyards_of_casablanca
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5.8
		ai_will_do = {
			factor = 70
		}
		prerequisite = {
			focus = MOR_foreign_naval_experts
		}
		available = {
			controls_state = 461
		}
		bypass = {
			NOT = {
				owns_state = 461
			}
		}
		completion_reward = {
			add_political_power = 50
			461 = {
				if = {
					limit = {
						is_owned_by = MOR
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
		cancel_if_invalid = yes

		x = 1
		y = 2
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_foreign_flight_instructors
		icon = GFX_goal_POL_recon_aircraft
		cost = 5.8
		prerequisite = {
			focus = MOR_royal_moroccan_airforce
		}
		ai_will_do = {
			factor = 70
		}
		x = 27
		y = 1
		completion_reward = {
			add_tech_bonus = {
				name = MOR_foreign_flight_instructors
				bonus = 1
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = MOR_reverse_engineering
		icon = GFX_focusonfirebombers
		cost = 5.8
		prerequisite = {
			focus = MOR_foreign_flight_instructors
		}
		ai_will_do = {
			factor = 70
		}
		x = 3
		y = 2
		relative_position_id = MOR_royal_moroccan_navy
		completion_reward = {
			add_tech_bonus = {
				name = MOR_reverse_engineering
				bonus = 1
				uses = 1
				category = tactical_bomber
				category = cat_strategic_bomber
				category = cas_bomber
			}
		}
	}
	focus = {
		id = MOR_royal_naval_aviators
		icon = GFX_goal_generic_air_naval_bomber2_new
		cost = 5.8
		prerequisite = {
			focus = MOR_dockyards_of_casablanca
		}
		ai_will_do = {
			factor = 70
		}
		prerequisite = {
			focus = MOR_reverse_engineering
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_reverse_engineering
				bonus = 1
				uses = 1
				category = light_fighter
				category = naval_air
			}
		}
		x = 2
		y = 3
		relative_position_id = MOR_royal_moroccan_navy
	}

	focus = {
		id = MOR_modernize_our_aircraft_inventory
		icon = GFX_goal_generic_air_production
		cost = 5.8
		prerequisite = {
			focus = MOR_royal_moroccan_airforce
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = fighter_techs
			}
		}

		x = 5
		y = 1
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_control_the_skies_of_africa
		icon = GFX_longrangepatrolforce
		cost = 5.8
		prerequisite = {
			focus = MOR_modernize_our_aircraft_inventory
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_equipment_to_stockpile = {
				type = fighter_equipment_1
				amount = 50
				producer = MAF
			}
		}
		x = 5
		y = 2
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_the_war_on_the_skies
		icon = GFX_goal_generic_CAS
		cost = 5.8
		prerequisite = {
			focus = MOR_airbase_expansion
		}
		ai_will_do = {
			factor = 70
		}
		completion_reward = {
			add_tech_bonus = {
				name = MOR_the_war_on_the_skies
				bonus = 1
				uses = 1
				category = air_doctrine
			}
		}
		x = 5
		y = 4
		relative_position_id = MOR_royal_moroccan_navy
	}
	focus = {
		id = MOR_airbase_expansion
		icon = GFX_movetomengo
		cost = 5.8
		ai_will_do = {
			factor = 70
		}
		prerequisite = {
			focus = MOR_control_the_skies_of_africa
		}
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					461
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
			}
		}
		x = 5
		y = 3
		relative_position_id = MOR_royal_moroccan_navy
	}


	##Foreign Policy"##

	focus = {
		id = MOR_off_with_the_german_yoke
		icon = GFX_northeyreforms
		cost = 2
		x = 35
		y = 0
		ai_will_do = {
			factor = 200
		}
		mutually_exclusive = { focus = MOR_peaceful_development }
		available = {
			GER = { 
				has_war_with_major = yes
				}
			is_subject = yes
			controls_all_owned_states = yes
		}
		completion_reward = {
		drop_cosmetic_tag = yes
			overlord = {
					set_autonomy = {
						target = ROOT
						autonomous_state = autonomy_free
					}
					remove_from_faction = ROOT
				}
				ROOT = {
					separate_peace_all_wars = yes
				}	
		add_war_support = 0.1
		GER = {
			country_event = {
				id = sharedafrika.93
				days = 1
				}
			}
		}
	}
	
	focus = {
		id = MOR_peaceful_development
		icon = GFX_goal_CSA_peaceful_revolution
		cost = 2
		x = 37
		y = 0
		ai_will_do = {
			factor = 250
		}
		mutually_exclusive = { focus = MOR_off_with_the_german_yoke }
		available = {
			GER = { 
				has_war_with_major = yes
			}
			is_subject = yes
			controls_all_owned_states = yes
		}
		bypass = {
			is_subject = no
		}
		select_effect = {
			country_event = {
				id = sharedafrika.45
				days = 4
			}			
		}
		completion_reward = {
			add_stability = 0.1
			decrease_ruling_party_popularity_by_5 = yes
		}
	}
	
	focus = {
		id = MOR_liberate_ifni
		icon = GFX_focus_focus_fra_intervention_spain
		cost = 2
		x = 0
		y = 5
		ai_will_do = {
			factor = 300
		}
		prerequisite = {
			focus = MOR_royal_budget_rearengment
		}
		bypass = {
			1318 = { is_owned_by = ROOT }
			}
		x = 0
		y = 8
		relative_position_id = MOR_a_time_of_troubles
		available = {
		is_subject = no
			can_declare_war_on = 1318.owner
			has_war = no
			OR = {
				SPR = {
					has_war = yes
					}
				CNT = {
					has_war = yes
					}
				CAR = {
					has_war = yes
					}
				}
			}
		completion_reward = {
			declare_war_on = { type = annex_everything target = 1318.owner }
			add_named_threat = { 
				threat = 1
				name = moroccanwar
			}
		}
	}

	focus = {
		id = MOR_retake_the_rif
		icon = GFX_EGY_Operation_Abu
		cost = 2
		x = 0
		y = 6
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = MOR_liberate_ifni
		}
		bypass = {
			290 = { is_owned_by = ROOT }
		}
		x = 0
		y = 9
		relative_position_id = MOR_a_time_of_troubles
		available = {
		is_subject = no
			can_declare_war_on = 290.owner
			has_war = no
			OR = {
				SPR = {
					has_war = yes
					}
				CNT = {
					has_war = yes
					}
				CAR = {
					has_war = yes
					}
				}
			}
		completion_reward = {
			declare_war_on = { type = annex_everything target = 290.owner }
		}
	}
	
	focus = {
		id = MOR_a_deal_with_the_devil
		icon = GFX_goal_CAN_parliament
		cost = 5.8
		ai_will_do = {
			factor = 100
		}
		prerequisite = {
			focus = MOR_off_with_the_german_yoke
			focus = MOR_peaceful_development
		}
		mutually_exclusive = {
			focus = MOR_our_friends_on_the_other_side
		}
		mutually_exclusive = {
			focus = MOR_a_fairer_relationship
		}
		available = {
			has_socialist_government = no
			NOT = {
				has_government = national_populist
			}
			has_war = no
			NOT = {
				is_subject = yes
				is_in_faction = yes
				has_war_with = CAN
			}
			CAN = { is_faction_leader = yes }
		}
		completion_reward = {
			CAN = {
				country_event = { id = mor.100 days = 1 }
			}
		}
		x = -1
		y = 1
		relative_position_id = MOR_off_with_the_german_yoke
		cancel_if_invalid = yes
		available_if_capitulated = no
	}
	focus = {
		id = MOR_english_counterweight
		icon = GFX_goal_canadian_monarchy
		cost = 5.8
		prerequisite = {
			focus = MOR_a_deal_with_the_devil
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			add_political_power = 25
			add_stability = 0.05
			add_war_support = 0.05
		}
		x = -3
		y = 2
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_request_isac_membership
		icon = GFX_goal_CAN_isac
		cost = 5.8
		prerequisite = {
			focus = MOR_english_counterweight
		}
		ai_will_do = {
			factor = 100
		}
		available = { has_global_flag = CAN_isac_created is_in_faction_with = CAN }
		completion_reward = {
			add_to_tech_sharing_group = entente_research
		}
		x = -3
		y = 3
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_independence_guarantees
		icon = GFX_goal_constitutional_guarantees
		cost = 5.8
		prerequisite = {
			focus = MOR_a_deal_with_the_devil focus = MOR_our_friends_on_the_other_side focus = MOR_a_fairer_relationship
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			#CAN = {
			#	country_event = { id = mor.106 days = 1 }
			#}

			add_political_power = 100
		}
		x = -1
		y = 2
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_once_more_into_europe
		icon = GFX_goal_generic_major_war
		cost = 5.8
		ai_will_do = {
			factor = 100
		}
		prerequisite = {
			focus = MOR_independence_guarantees
		}
		completion_reward = {
			add_war_support = 0.15
		}
		x = -1
		y = 3
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_our_friends_on_the_other_side
		icon = GFX_EGY_Third_Arab_Congress
		cost = 5.8
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		prerequisite = {
			focus = MOR_off_with_the_german_yoke
			focus = MOR_peaceful_development
		}
		mutually_exclusive = {
			focus = MOR_a_deal_with_the_devil
		}
		mutually_exclusive = {
			focus = MOR_a_fairer_relationship
		}
		available = {
			has_socialist_government = no
			NOT = {
				has_government = national_populist
			}
			has_war = no
			NOT = {
				is_subject = yes
				is_in_faction = yes
				has_war_with = EGY
			}
			EGY = { is_faction_leader = yes }
		}
		completion_reward = {
			EGY = {
				country_event = { id = mor.103 days = 1 }
			}
		}
		x = 1
		y = 1
		relative_position_id = MOR_off_with_the_german_yoke
		cancel_if_invalid = yes
		available_if_capitulated = no
	}
	focus = {
		id = MOR_a_fairer_relationship
		icon = GFX_cooptnativeassociations
		cost = 5.8
		prerequisite = {
			focus = MOR_off_with_the_german_yoke
			focus = MOR_peaceful_development
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		mutually_exclusive = {
			focus = MOR_a_deal_with_the_devil
		}
		mutually_exclusive = {
			focus = MOR_our_friends_on_the_other_side
		}
		available = {
			has_socialist_government = no
			NOT = {
				has_government = national_populist
			}
			has_war = no
			NOT = {
				is_subject = yes
				is_in_faction = yes
				has_war_with = GER
			}
			GER = { is_faction_leader = yes }
		}
		completion_reward = {
			GER = {
				country_event = sharedafrika.2
			}
		}
		x = -3
		y = 1
		relative_position_id = MOR_off_with_the_german_yoke
		cancel_if_invalid = yes
		available_if_capitulated = no
	}
	focus = {
		id = MOR_border_treaty_with_libya
		icon = GFX_goal_OTT_Integrate_Libya
		cost = 5.8
		prerequisite = {
			focus = MOR_our_friends_on_the_other_side
		}
		ai_will_do = {
			factor = 100
		}
		available = {
			country_exists = LBA
		}
		bypass = {
			NOT = { country_exists = LBA }
			has_war_with = LBA
		}
		completion_reward = {
			if = {
				limit = {
					country_exists = LBA
				}
				"LBA" = {
					if = {
						limit = { country_exists = MOR }
						diplomatic_relation = { country = MOR relation = non_aggression_pact }
						give_military_access = MOR
					}
				}
			}
		}
		x = 1
		y = 2
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_egyptian_imports
		icon = GFX_goal_egypt_coin
		cost = 5.8
		prerequisite = {
			focus = MOR_border_treaty_with_libya
		}
		ai_will_do = {
			factor = 100
		}
		available = {
			country_exists = EGY
		}
		bypass = {
			NOT = { country_exists = EGY }
			has_war_with = EGY
		}
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					461
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		x = 1
		y = 3
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_prepare_our_defenses
		icon = GFX_goal_nested_fortifications
		cost = 5.8
		prerequisite = {
			focus = MOR_our_friends_on_the_other_side
			focus = MOR_the_commune_of_morocco
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			add_political_power = -50
			461 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = 8006##fix##
					instant_build = yes
				}
			}
			462 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = 8006
					instant_build = yes
				}
			}
		}

		x = 3
		y = 2
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_prepare_to_strike_the_french
		icon = GFX_goal_Dismantle_French_Education
		cost = 5.8
		prerequisite = {
			focus = MOR_prepare_our_defenses
		}
		ai_will_do = {
			factor = 100
		}
		available =  {
			controls_all_owned_states = yes
			is_subject = no
			NFA = {
				exists = yes
				is_subject = no
				NOT = {
					is_in_faction_with = MOR
				}
			}
		}
		will_lead_to_war_with = NFA
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = NFA
			}
		}
		x = 3
		y = 3
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_the_timbuktu_claim
		icon = GFX_crushthenyambiri
		cost = 5.8
		prerequisite = {
			focus = MOR_egyptian_imports
		}
		available = {
			NOT = { owns_state = 556 }
			is_subject = no
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			add_state_claim = 556 #Timbuktu
			country_event = mor.200
		}
		x = 1
		y = 4
		relative_position_id = MOR_off_with_the_german_yoke
	}
	focus = {
		id = MOR_the_war_for_africas_soul
		icon = GFX_goal_FRA_ruralism
		cost = 5.8
		prerequisite = {
			focus = MOR_prepare_to_strike_the_french
		}
		prerequisite = {
			focus = MOR_egyptian_imports
		}
		available = {
			has_war_with = NFA
		}
		will_lead_to_war_with = NFA
		completion_reward = {
			add_timed_idea = {
				idea = MOR_War_For_Africa_Soul
				days = 100
			}
		}
		x = 3
		y = 4
		relative_position_id = MOR_off_with_the_german_yoke
	}

###socialist
	focus = {
		id = MOR_the_commune_of_morocco
		icon = GFX_goal_commune_politics
		cost = 5.8
		x = 43
		y = 0
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		available = {
			has_socialist_government = yes
			has_war = no
		}
		bypass = {
			has_socialist_government = yes
			is_subject = yes
			NOT = {
				country_exists = INT
			}
		}

		completion_reward = {
		if = {
			limit = {
				country_exists = INT
				}
				country_event = sharedafrika.10
			}
		}
	}
	focus = {
		id = MOR_revolutionary_fervour
		icon = GFX_goal_generic_war_with_comintern
		cost = 5.8
		prerequisite = {
			focus = MOR_the_commune_of_morocco
		}
		ai_will_do = {
			factor = 100
		}
		available = {
			has_socialist_government = yes
		}

		completion_reward = {
			add_political_power = 100
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.05
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.05
			}
		}

		x = 0
		y = 1
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_seizing_rural_means_of_production
		icon = GFX_goal_generic_soviet_construction
		cost = 5.8
		prerequisite = {
			focus = MOR_revolutionary_fervour
		}
		ai_will_do = {
			factor = 100
		}
		available = {
			has_socialist_government = yes
		}
		completion_reward = {
			462 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			461 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_deal_with_reactionary_berbers
		icon = GFX_goal_secret_agents
		cost = 5.8
		prerequisite = {
			focus = MOR_seizing_rural_means_of_production
		}
		ai_will_do = {
			factor = 100
		}
		available = {
			has_socialist_government = yes
		}
		completion_reward = {
			MOR = {	country_event = mor.4 }
		}
		x = -2
		y = 3
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_light_of_africa
		icon = GFX_goal_red_star
		cost = 5.8
		prerequisite = {
			focus = MOR_seizing_rural_means_of_production
		}
		available = {
			has_socialist_government = yes
		}
		completion_reward = {
			add_ideas = MOR_light_of_africa_idea
		}
		x = 0
		y = 3
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_freedom_and_justice
		icon = GFX_goal_liberty
		cost = 5.8
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = MOR_seizing_rural_means_of_production
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			add_political_power = 100
		}
		x = 2
		y = 3
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_our_socialism
		icon = GFX_goal_ideology_radical_socialist
		cost = 5.8
		available = {
			has_government = radical_socialist
		}
		prerequisite = {
			focus = MOR_deal_with_reactionary_berbers
			focus = MOR_light_of_africa
			focus = MOR_freedom_and_justice
		}
		mutually_exclusive = {
			focus = MOR_trade_guild_democracy
			focus = MOR_direct_rule_from_marrakesh
		}
		completion_reward = {
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.10
			}
			add_stability = 0.2
		}
		x = -2
		y = 4
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_trade_guild_democracy
		icon = GFX_goal_ideology_syndicalist
		cost = 5.8
		available = {
			has_government = syndicalist
		}
		ai_will_do = {
			factor = 100
		}
		prerequisite = {
			focus = MOR_light_of_africa
			focus = MOR_deal_with_reactionary_berbers
			focus = MOR_freedom_and_justice
		}
		mutually_exclusive = {
			focus = MOR_our_socialism
			focus = MOR_direct_rule_from_marrakesh
		}
		completion_reward = {
			add_popularity = {
				ideology = syndicalist
				popularity = 0.10
			}
			add_stability = 0.1
			add_war_support = 0.1
		}
		x = 0
		y = 4
		relative_position_id = MOR_the_commune_of_morocco
	}
	focus = {
		id = MOR_direct_rule_from_marrakesh
		icon = GFX_goal_ideology_totalist
		cost = 5.8
		available = {
			has_government = totalist
		}
		ai_will_do = {
			factor = 100
		}
		prerequisite = {
			focus = MOR_freedom_and_justice
			focus = MOR_light_of_africa
			focus = MOR_deal_with_reactionary_berbers
		}
		mutually_exclusive = {
			focus = MOR_our_socialism
			focus = MOR_trade_guild_democracy
		}

		completion_reward = {
			add_popularity = {
				ideology = totalist
				popularity = 0.10
			}
			add_war_support = 0.2
		}
		x = 2
		y = 4
		relative_position_id = MOR_the_commune_of_morocco
	}
	
	focus = {
		id = MOR_rene_based_af
		icon = GFX_goal_NFA_republican_caesarism
		cost = 5.8
		x = 49
		y = 0
		ai_will_do = {
			factor = 500
		}
		available = {
			has_government = national_populist
			is_subject = no
		}
		completion_reward = {
			add_war_support = 0.15
			add_political_power = 50
			create_field_marshal = {
			name = "René Guénon"
			portrait_path = "gfx/leaders/MOR/Portrait_MOR_Rene_Guenon.png"
			traits = { defensive_doctrine }
			skill = 2
			attack_skill = 3
			defense_skill = 4
			planning_skill = 2
			logistics_skill = 3
			}
			add_popularity = {
				ideology = national_populist
				popularity = 0.03
			}
			every_state = {
				limit = {
					is_core_of = FRA
				}
				add_claim_by = MOR
			}
		}
	}
	
	focus = {
		id = MOR_french_settler
		icon = GFX_goal_NFA_reassure_army
		cost = 5.8
		prerequisite = { focus = MOR_rene_based_af  }
		relative_position_id = MOR_rene_based_af
		x = 0
		y = 1
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_ideas = MOR_french_settler_idea
			army_experience = 50
			navy_experience = 50
			add_popularity = {
				ideology = social_liberal
				popularity = 0.01
			}
			
			add_popularity = {
				ideology = national_populist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.03
			}
			
		}
	}
	
	focus = {
		id = MOR_Advaita
		icon = GFX_goal_QIE_confucianism
		cost = 5.8
		prerequisite = { focus = MOR_rene_based_af  }
		relative_position_id = MOR_rene_based_af
		x = -2
		y = 1
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_war_support = 0.1
			add_stability = 0.15
			
			add_popularity = {
				ideology = paternal_autocrat
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = social_democrat
				popularity = 0.02
			}
			
			add_popularity = {
				ideology = social_conservative
				popularity = 0.05
			}
			
		}
	}
	
	focus = {
		id = MOR_reason_over_reality
		icon = GFX_NEE_neo_aristocracy
		cost = 7
		prerequisite = { focus = MOR_rene_based_af  }
		relative_position_id = MOR_rene_based_af
		x = 2
		y = 1
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_offsite_building = { type = arms_factory level = 2 }
			add_offsite_building = { type = industrial_complex level = 2 }
			add_offsite_building = { type = dockyard level = 2 }
			
			add_popularity = {
				ideology = market_liberal
				popularity = -0.05
			}
			
			add_popularity = {
				ideology = national_populist
				popularity = -0.03
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = -0.01
			}
		}
	}
	
	focus = {
		id = MOR_prepare_rereconquista
		icon = GFX_goal_NFA_morality_and_service
		cost = 5.8
		prerequisite = { focus = MOR_french_settler  }
		relative_position_id = MOR_french_settler
		x = 0
		y = 1
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_0
				amount = 2500
				producer = MOR

			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_1
				amount = 800
				producer = MOR

			}
			
			add_popularity = {
				ideology = syndicalist
				popularity = -0.01
			}
		}
	}
	
	focus = {
		id = MOR_pray_allah
		icon = GFX_goal_OTT_caliph
		cost = 5.8
		ai_will_do = {
			factor = 500
		}
		prerequisite = { focus = MOR_Advaita  }
		relative_position_id = MOR_Advaita
		x = 0
		y = 1
		completion_reward = {
			add_popularity = {
				ideology = national_populist
				popularity = 0.15
			}
			add_popularity = {
				ideology = totalist
				popularity = -0.02
			}
			
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.02
			}
		}
	}
	
	focus = {
		id = MOR_rhetoric
		icon = GFX_NEE_hereditary_intellect
		cost = 5.8
		prerequisite = { focus = MOR_reason_over_reality  }
		relative_position_id = MOR_reason_over_reality
		x = 0
		y = 1
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_ideas = MOR_rhetoric_idea
			
			add_popularity = {
				ideology = social_conservative
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = syndicalist
				popularity = -0.02
			}
			
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.05
			}
		}
	}
	
	focus = {
		id = MOR_rereconquista
		icon = GFX_NEE_war_against_chaos
		cost = 7
		ai_will_do = {
			factor = 100
		}
		prerequisite = { focus = MOR_rhetoric }
		prerequisite = { focus = MOR_pray_allah }
		prerequisite = { focus = MOR_prepare_rereconquista }
		relative_position_id = MOR_prepare_rereconquista
		x = 0
		y = 1
		available = {
			is_in_faction = no
		}
		bypass = {
			is_in_faction = no
		}
		completion_reward = {
			declare_war_on = { 
			target = SPR
			type = annex_everything 
			}
			declare_war_on = { 
			target = SPA
			type = annex_everything 
			}			
			declare_war_on = { 
			target = CNT
			type = annex_everything 
			}
			declare_war_on = { 
			target = CAR
			type = annex_everything 
			}
			add_popularity = {
				ideology = national_populist
				popularity = 0.02
			}
			add_popularity = {
				ideology = syndicalist
				popularity = -0.01
			}
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
		}
	}
	
	focus = {
		id = MOR_greater_plan
		icon = GFX_NEE_progressive_society
		cost = 5.8
		ai_will_do = {
			factor = 100
		}
		prerequisite = { focus = MOR_rereconquista }
		relative_position_id = MOR_rereconquista
		x = 0
		y = 1
		available = {
			is_subject = no
		}
		completion_reward = {
			add_offsite_building = { type = arms_factory level = 2 }
			add_offsite_building = { type = industrial_complex level = 2 }
			add_offsite_building = { type = dockyard level = 2 }
			
			add_popularity = {
				ideology = national_populist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = social_conservative
				popularity = 0.01
			}
			
			add_popularity = {
				ideology = social_liberal
				popularity = 0.01
			}
			
			add_popularity = {
				ideology = social_democrat
				popularity = 0.01
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
		}
	}
	
	focus = {
		id = MOR_homeland
		icon = GFX_goal_NFA_pays_reel
		cost = 5.8
		prerequisite = { focus = MOR_greater_plan }
		relative_position_id = MOR_greater_plan
		x = 0
		y = 1
		ai_will_do = {
			factor = 100
		}
		available = {
			is_in_faction = no
		}
		bypass = {
			is_in_faction = no
		}
		completion_reward = {
			declare_war_on = {
				target = FRA
				type = annex_everything 
			}
			
			add_popularity = {
				ideology = national_populist
				popularity = 0.02
			}
			
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.02
			}
			
			add_popularity = {
				ideology = social_democrat
				popularity = 0.01
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.03
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
		}
	}
	
	focus = {
		id = MOR_muslimisation
		icon = GFX_goal_OTT_Abolish_Mecelle
		cost = 5.8
		prerequisite = { focus = MOR_homeland }
		relative_position_id = MOR_homeland
		x = 0
		y = 1
		ai_will_do = {
			factor = 100
		}
		available = {
			has_war = no
			is_subject = no
		}
		completion_reward = {
			add_ideas = MOR_muslim_france_idea
			
			add_popularity = {
				ideology = national_populist
				popularity = -0.05
			}
			
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.02
			}
			
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.03
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = syndicalist
				popularity = 0.01
			}
		}
	}
	
	focus = {
		id = MOR_la_grande_triade
		icon = GFX_goal_KTG_Educate_natives
		cost = 5.8
		ai_will_do = {
			factor = 100
		}
		prerequisite = { focus = MOR_homeland }
		relative_position_id = MOR_homeland 
		x = 2
		y = 1
		available = {
			has_war = no
			is_subject = no
		}
		completion_reward = {
			add_research_slot_until_five = yes
			add_popularity = {
				ideology = national_populist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = -0.01
			}
		}
	}
	
	focus = {
		id = MOR_new_art
		icon = GFX_goals_FRA_avant_garde
		cost = 5.8
		prerequisite = { focus = MOR_homeland }
		relative_position_id = MOR_homeland 
		x = -2
		y = 1
		ai_will_do = {
			factor = 100
		}
		available = {
			has_war = no
			is_subject = no
		}
		completion_reward = {
			add_stability = 0.05
			
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = social_democrat
				popularity = 0.02
			}
			
			add_popularity = {
				ideology = social_conservative
				popularity = -0.03
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.06
			}
			
			add_popularity = {
				ideology = syndicalist
				popularity = 0.01
			}
		}
	}
	
	focus = {
		id = MOR_sultan
		icon = GFX_focus_TUR_loosen_the_laws_on_secularism
		cost = 5.8
		prerequisite = { focus = MOR_new_art }
		prerequisite = { focus = MOR_la_grande_triade }
		prerequisite = { focus = MOR_muslimisation }
		relative_position_id = MOR_muslimisation
		x = 0
		y = 1
		ai_will_do = {
			factor = 100
		}
		available = {
			has_war = no
			is_subject = no
		}
		completion_reward = {
			
			create_country_leader = { 
			name = "Abdel Wâhed Yahiâ"
			picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
			desc = "POLITICS_RENE_DESC"
			expire = "1.1.1"
			ideology = occultism_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = paternal_autocrat_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = authoritarian_democrat_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = social_conservative_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = market_liberal_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = social_liberal_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = social_democrat_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = radical_socialist_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = syndicalist_subtype
			}
			
			create_country_leader = { 
				name = "Abdel Wâhed Yahiâ"
				picture = "gfx/leaders/MOR/Portrait_MOR_Guenon_Sultan.png"
				desc = "POLITICS_RENE_DESC"
				expire = "1.1.1"
				ideology = totalist_subtype
			}
			
			add_popularity = {
				ideology = national_populist
				popularity = 0.05
			}
			
			add_popularity = {
				ideology = social_conservative
				popularity = 0.02
			}
			
			add_popularity = {
				ideology = market_liberal
				popularity = -0.03
			}
			
			add_popularity = {
				ideology = totalist
				popularity = 0.03
			}
			
			add_popularity = {
				ideology = syndicalist
				popularity = -0.01
			}
		}
	}
}