focus_tree = {
	id = DJI_FOCUS
	country = {
	factor = 0 
		modifier = {
			add = 20
			tag = DJI
		} 
	}
	continuous_focus_position = { x = 0 y = 1400 }
	
	focus = {
		id = DJI_bring_order_to_chaos
		icon = GFX_focus_GER_weltpolitik
		x = 0
		y = 0
		cost = 2

		ai_will_do = {
			factor = 25
		}
		completion_reward = {
			add_stability = 0.05
			country_event = germanwestasia.100
			hidden_effect = {
				GER = {
					country_event = {
						id = germanwestasia.100
						days = 1
					}
				}
			}
		}
	}
	focus = {
		id = DJI_complete_the_muscat_withdrawal
		icon = GFX_goal_OTT_Land_Reform
		x = 16
		y = 0
		cost = 2
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_stability = 0.05
			country_event = germanwestasia.29
		}
	}
	focus = {
		id = DJI_reform_the_patchwork
		icon = GFX_Focus_Investigation
		x = 8
		y = 0
		cost = 5
		available = {
			has_global_flag = black_monday
		}
		ai_will_do = {
			factor = 25
		}
		completion_reward = {
			add_stability = 0.05
			country_event = { id = germanwestasia.124 }
			if = {
				limit = {
					has_idea = DJI_chaotic_governance
					}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance
					add_idea = DJI_chaotic_governance_healed
				}
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_healed
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_healed
						add_idea = DJI_chaotic_governance_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_better
						add_idea = DJI_chaotic_governance_much_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_much_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_much_better
						add_idea = DJI_chaotic_governance_empowered
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_empowered
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_empowered
						add_idea = DJI_strong_government
					}
				}
		}
	}

#Dijibouti Stuff
	focus = {
		id = DJI_finish_the_dschibuti_programme
		icon = GFX_zanzibarcitydevelopmentscheme
		x = 8
		y = 2
		cost = 6
		available = {
			owns_state = 753
		}
		prerequisite = { focus = DJI_island_autonomies focus = DJI_the_trucial_question }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		DJI = { country_event = { id = germanwestasia.117 days = 0 } }
		add_political_power = 30
		753 = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
				}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}
		}
	}
	focus = {
		id = DJI_replace_the_rupee
		icon = GFX_newmarkets
		x = 8
		y = 4
		cost = 6
		prerequisite = { focus = DJI_plantation_reforms focus = DJI_develop_oil_concessions }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		add_stability = 0.1
		add_political_power = 50
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}
		}
	}
	focus = {
		id = DJI_the_ethiopia_question
		icon = GFX_focus_ETH_lord_of_lords
		x = 8
		y = 5
		cost = 2
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		ai_will_do = {
			factor = 25
		}
		completion_reward = {
			add_political_power = 30
			country_event = germanwestasia.45
			hidden_effect = {
				MAF = { country_event = { id = germanwestasia.32 days = 1 } }
				GER = { country_event = { id = germanwestasia.32 days = 1 } }
			}
		}
	}

#Shared
	focus = {
		id = DJI_urban_granaries
		icon = GFX_goal_PAL_Food_Import
		x = 7
		y = 7
		cost = 5
		prerequisite = { focus = DJI_blockade_the_kingdom focus = DJI_reward_the_emperor }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
		}
	}
	focus = {
		id = DJI_heavy_weapons_imports
		icon = GFX_goal_mittel_arms_trade
		x = 9
		y = 7
		cost = 5
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_blockade_the_kingdom focus = DJI_reward_the_emperor }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	focus = {
		id = DJI_colonial_factories
		icon = GFX_goal_munitions_factories
		x = 7
		y = 8
		cost = 6
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_urban_granaries }
		prerequisite = { focus = DJI_heavy_weapons_imports }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			268 = {
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}	
			add_extra_state_shared_building_slots = 1
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}
		}
	}
	focus = {
		id = DJI_renegotiate_the_aussa_treaty
		icon = GFX_thechainedking
		x = 9
		y = 8
		cost = 6
		available = {
			OR = {
				owns_state = 921
				owns_state = 961
			}
		}
		prerequisite = { focus = DJI_urban_granaries }
		prerequisite = { focus = DJI_heavy_weapons_imports }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			remove_state_claim = 921
			add_state_core = 921
			remove_state_claim = 961
			add_state_core = 961
			add_stability = 0.05
		}
	}
	focus = {
		id = DJI_berlin_science
		icon = GFX_goal_generic_scientific_exchange
		x = 8
		y = 10
		cost = 5
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_colonial_factories focus = DJI_renegotiate_the_aussa_treaty }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot_until_five = yes
		}
	}
	
#Anti-Ethiopia
	focus = {
		id = DJI_blockade_the_kingdom
		icon = GFX_focus_generic_trade_interdiction
		x = 6
		y = 6
		cost = 5
		available = {
			NOT = {
				has_country_flag = DJI_neutral_flag
			}
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		mutually_exclusive = { focus = DJI_reward_the_emperor }
		prerequisite = { focus = DJI_the_ethiopia_question }
		ai_will_do = {
			factor = 25
			modifier = {
				factor = 0
				ETH = {
					has_completed_focus = ETH_Privatised_Railroad
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = DJI_choose_a_side
					option = DJI_CHOOSE_ETH
				}
			}
		}
		completion_reward = {
			country_event = germanwestasia.1
			send_embargo = ETH
			DJI = { add_opinion_modifier = { target = ETH modifier = large_decrease } }
			GER = { add_opinion_modifier = { target = ETH modifier = large_decrease } }
		}
	}
	focus = {
		id = DJI_fortify_german_somaliland
		icon = GFX_demandkatangansupport
		x = 5
		y = 7
		cost = 5

		prerequisite = { focus = DJI_blockade_the_kingdom }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			269 = {
				add_building_construction = {
					type = bunker
					level = 2
					province = 13496
					instant_build = yes
				}
			}
			269 = {
				add_building_construction = {
					type = bunker
					level = 2
					province = 5068
					instant_build = yes
				}
			}		
			269 = {
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DJI_back_rebel_movements
		icon = GFX_goal_flames_of_rebellion
		x = 1
		y = 7
		cost = 5

		prerequisite = { focus = DJI_blockade_the_kingdom }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_war_support = 0.05
			ETH = {
				add_war_support = -0.05
				add_stability = -0.05
			}
		}
	}
	focus = {
		id = DJI_request_schutztruppe
		icon = GFX_apacifiedfrontier
		x = 3
		y = 7
		cost = 5
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_blockade_the_kingdom }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			country_event = germanwestasia.2
		}
	}
	focus = {
		id = DJI_ally_with_somalia
		icon = GFX_SOM_goal_royalarmy
		x = 2
		y = 8
		cost = 5
		available = {
		date > 1940.01.01
		has_government = paternal_autocrat
		GER = {
			exists = yes
			is_faction_leader = yes
		}
		NOT = {
			owns_state = 269
		}
		SOM = {
			is_in_faction = no
			is_subject = no
			has_war = no
			NOT = {
				has_socialist_government = yes
				}
			}
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		GER = {
			exists = no
			is_faction_leader = no
		}
		owns_state = 269
		OR = {
			SOM = {
				is_in_faction = yes
				is_subject = yes
				}
			}
		}
		prerequisite = { focus = DJI_fortify_german_somaliland }
		prerequisite = { focus = DJI_request_schutztruppe }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			country_event = germanwestasia.3
		}
	}
	focus = {
		id = DJI_launch_a_punitive_expedition
		icon = GFX_focus_generic_attack_ethiopia
		x = 5
		y = 8
		cost = 5
		prerequisite = { focus = DJI_fortify_german_somaliland }
		will_lead_to_war_with = ETH
		available = {
			has_government = paternal_autocrat
			can_declare_war_on = ETH
			controls_all_owned_states = yes
			ETH = {
				is_subject = no
				is_in_faction = no
			}
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				ETH = {
					is_in_faction = yes
				}
			}
			modifier = {
				factor = 0
				ETH = {
					overlord = {
						strength_ratio = {
							tag = PREV ratio > 1.0
						}
					}
				}
			}
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
			NOT = {
				can_declare_war_on = ETH
			}
			controls_all_owned_states = no
			ETH = {
				is_subject = yes
			}
			ETH = {
				is_in_faction = yes
			}
		}
		completion_reward = {
			961 = {
				set_demilitarized_zone = no
			}
			921 = {
				set_demilitarized_zone = no
			}
		if = {
			limit = {
				is_ai = no
				}
				550 = {
					add_core_of = ROOT
				}
				923 = {
					add_core_of = ROOT
				}
			}
		if = {
			limit = {
				is_ai = yes
				}
				550 = {
					add_claim_by = ROOT
				}
				923 = {
					add_claim_by = ROOT
				}
			declare_war_on = {
				target = ETH
				type = annex_everything
			}
		}
			else_if = {
				limit = {
					can_declare_war_on = ERI
					ERI = {
						is_in_faction = no
						is_subject = no
					}
				}
				declare_war_on = {
					target = ERI
					type = annex_everything
				}
			}
		}
	}
	focus = {
		id = DJI_integrate_the_eritrean_possessions
		icon = GFX_goal_GAL_heal_nation
		x = 6
		y = 9
		cost = 5
		available = {
			owns_state = 961
		}
		prerequisite = { focus = DJI_launch_a_punitive_expedition }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_state_core = 961
			if = {
				limit = {
					owns_state = 550
				}
				remove_state_claim = 550
				add_state_core = 550
			}
			if = {
				limit = {
					owns_state = 923
				}
				remove_state_claim = 923
				add_state_core = 923
			}
			ROOT = {
				every_owned_state = {
					limit = {
						is_claimed_by = ERI
					}
					remove_claim_by = ERI
				}
				every_owned_state = {
					limit = {
						is_core_of = ERI
					}
					remove_core_of = ERI
				}
			}
			ROOT = {
				every_owned_state = {
					limit = {
						is_claimed_by = AFA
					}
					remove_claim_by = AFA
				}
				every_owned_state = {
					limit = {
						is_core_of = AFA
					}
					remove_core_of = AFA
				}
			}
		}
	}

#Pro-Ethiopia
	focus = {
		id = DJI_reward_the_emperor
		icon = GFX_focus_generic_develop_ethiopia
		x = 10
		x = 10
		y = 6
		cost = 5
		available = {
			NOT = {
				has_country_flag = DJI_neutral_flag
			}
			has_government = paternal_autocrat
			ETH = {
				NOT = {
					has_country_flag = ETH_nationalised_properly
				}
			}
		}
		mutually_exclusive = { focus = DJI_blockade_the_kingdom }
		prerequisite = { focus = DJI_the_ethiopia_question }
		ai_will_do = {
			factor = 25
			modifier = {
				factor = 0
				ETH = {
					has_country_flag = ETH_nationalised_properly
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = DJI_choose_a_side
					option = DJI_CHOOSE_SOM
				}
			}
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		completion_reward = {
			add_political_power = 50
			ETH = {
				country_event = germanwestasia.5
			}
		}
	}
	focus = {
		id = DJI_agroscience_collaboration
		icon = GFX_Focus_Improve_Literacy2
		x = 11
		y = 7
		cost = 5

		prerequisite = { focus = DJI_reward_the_emperor }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			921 = {
				add_extra_state_shared_building_slots = 1
			}
			961 = {
				add_extra_state_shared_building_slots = 1
			}
			add_political_power = 20
		}
	}
	focus = {
		id = DJI_weapons_sales
		icon = GFX_focus_ger_oppose_hitler
		x = 13
		y = 7
		cost = 5
		available = {
			has_government = paternal_autocrat
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_reward_the_emperor }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			ETH = {
				country_event = germanwestasia.6
			}			
		}
	}
	focus = {
		id = DJI_anti_slavery_partnership
		icon = GFX_Slavery
		x = 15
		y = 7
		cost = 5

		prerequisite = { focus = DJI_reward_the_emperor }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 50
			ETH = {
				add_stability = 0.05
			}
		}
	}
	focus = {
		id = DJI_debt_relief_measures
		icon = GFX_focus_ETH_invest_in_the_west
		x = 11
		y = 8
		cost = 5
		available = {
			has_government = paternal_autocrat
			ETH = {
				has_country_flag = ETH_german_aligned
			}
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_agroscience_collaboration }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			ETH = {
				country_event = germanwestasia.7
			}				
		}
	}
	focus = {
		id = DJI_DKAEB_investments
		icon = GFX_goal_generic_railway_construction
		x = 14
		y = 8
		cost = 5
		available = {
			has_government = paternal_autocrat
			ETH = {
				has_country_flag = ETH_german_aligned
			}
		}
		prerequisite = { focus = DJI_agroscience_collaboration }
		prerequisite = { focus = DJI_weapons_sales }
		ai_will_do = {
			factor = 10
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		completion_reward = {
		add_stability = 0.05		
			ETH = {
				country_event = germanwestasia.8
			}				
		}
	}
	focus = {
		id = DJI_the_twin_emperors
		icon = GFX_goal_align_germany
		x = 10
		y = 9
		cost = 5
		available = {
		date > 1940.01.01
		has_government = paternal_autocrat
		ETH = {
				has_country_flag = ETH_german_aligned
				has_war = no
				is_subject =no
				is_in_faction = no
			}
		}
		bypass = {
			NOT = {
				has_government = paternal_autocrat
			}
		}
		prerequisite = { focus = DJI_debt_relief_measures }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			ETH = {
				country_event = germanwestasia.9
			}			
		}
	}

#Trucial Question
	
	focus = {
		id = DJI_the_trucial_question
		icon = GFX_goal_generic_persian_gulf
		relative_position_id = DJI_reform_the_patchwork
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = DJI_reform_the_patchwork }
		available = {
			owns_state = 907 #Bahrain
			owns_state = 993 #Qatar
		}
		bypass = {
		NOT = {
			owns_state = 907
			owns_state = 993 #Qatar
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			country_event = germanwestasia.10
		}
	}
	focus = {
		id = DJI_develop_oil_concessions
		icon = GFX_goal_oil_derrick
		relative_position_id = DJI_reform_the_patchwork
		x = 1
		y = 3
		cost = 5
		prerequisite = { focus = DJI_the_trucial_question }
		available = {
		OR = {
			GER = {
				has_completed_focus = GER_oil
				}
			threat > 0.4
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_resource = {
				type = oil
				amount = 14
				state = 907
			}
			add_resource = {
				type = oil
				amount = 4
				state = 993
			}
		give_resource_rights = { receiver = DJI state = 907 }
		}
	}

#Aden Protectorate
	focus = {
		id = DJI_the_aden_protectorate
		icon = GFX_goal_Unite_Arabia
		relative_position_id = DJI_reform_the_patchwork
		x = 7
		y = 1
		cost = 5
		prerequisite = { focus = DJI_reform_the_patchwork }
		prerequisite = { focus = DJI_complete_the_muscat_withdrawal }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			country_event = germanwestasia.11
			if = {
				limit = {
					has_idea = DJI_chaotic_governance
					}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance
					add_idea = DJI_chaotic_governance_healed
				}	
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_healed
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_healed
						add_idea = DJI_chaotic_governance_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_better
						add_idea = DJI_chaotic_governance_much_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_much_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_much_better
						add_idea = DJI_chaotic_governance_empowered
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_empowered
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_empowered
						add_idea = DJI_strong_government
					}
				}
		}
	}
	focus = {
		id = DJI_develop_aden_docks
		icon = GFX_expandthelegco
		relative_position_id = DJI_reform_the_patchwork
		x = 8
		y = 2
		cost = 5
		prerequisite = { focus = DJI_the_aden_protectorate }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			659 = {
				add_building_construction = {
					type = naval_base
					level = 1
					province = 5074
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}	
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}			
		}
	}
	focus = {
		id = DJI_restrict_missionary_activity
		icon = GFX_themuslimcommunity
		relative_position_id = DJI_reform_the_patchwork
		x = 6
		y = 2
		cost = 5
		prerequisite = { focus = DJI_settle_the_somaliland_dispute }
		prerequisite = { focus = DJI_the_aden_protectorate }

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
		}
	}
	focus = {
		id = DJI_suppress_pan_arab_thought
		icon = GFX_goal_OTT_Abolish_Mecelle
		relative_position_id = DJI_reform_the_patchwork
		x = 7
		y = 3
		cost = 5
		prerequisite = { focus = DJI_develop_aden_docks }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.1
			add_political_power = -20
		}
	}
	focus = {
		id = DJI_modernise_salt_production
		icon = GFX_thesaltlord
		relative_position_id = DJI_reform_the_patchwork
		x = 5
		y = 3
		cost = 5
		prerequisite = { focus = DJI_develop_aden_docks }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			659 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DJI_inter_sultanate_arbitration
		icon = GFX_focus_generic_arab_deal
		relative_position_id = DJI_reform_the_patchwork
		x = 6
		y = 4
		cost = 5
		prerequisite = { focus = DJI_modernise_salt_production focus = DJI_suppress_pan_arab_thought }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.1
		}
	}
	focus = {
		id = DJI_solve_the_yemen_problem
		icon = GFX_goal_authority
		relative_position_id = DJI_reform_the_patchwork
		x = 8
		y = 4
		cost = 5
		prerequisite = { focus = DJI_modernise_salt_production focus = DJI_suppress_pan_arab_thought }
		will_lead_to_war_with = YEM
		available = {
			owns_state = 659 #German Aden
			can_declare_war_on = YEM
			controls_all_owned_states = yes
			YEM = {
				is_in_faction = no
				is_subject = no
			}
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				YEM = {
					is_in_faction = yes
				}
			}
			modifier = {
				factor = 0
				YEM = {
					overlord = {
						strength_ratio = {
							tag = PREV ratio > 1.0
						}
					}
				}
			}
		}
		completion_reward = {
		if = {
			limit = {
				is_ai = yes
				}
				293 = {
					add_claim_by = ROOT
				}
				981 = {
					add_claim_by = ROOT
				}
				982 = {
					add_claim_by = ROOT
				}
				752 = {
					add_claim_by = ROOT
				}
			}
		if = {
			limit = {
				is_ai = no
				}
				293 = {
					add_core_of = ROOT
				}
				981 = {
					add_core_of = ROOT
				}
				982 = {
					add_core_of = ROOT
				}
				752 = {
					add_core_of = ROOT
				}
			}
			declare_war_on = {
				target = YEM
				type = annex_everything
			}
		}
	}
	focus = {
		id = DJI_federate_german_arabia
		icon = GFX_enshrinebatakarights
		relative_position_id = DJI_reform_the_patchwork
		x = 6
		y = 5
		cost = 5
		prerequisite = { focus = DJI_inter_sultanate_arbitration }
		available = {
			owns_state = 659 #Aden
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			if = {
				limit = {
					owns_state = 752 #core Omani states if still own them
					}
				add_state_core = 752
			}
			if = {
				limit = {
					owns_state = 907 #core Bahrain if still own
					}
				add_state_core = 907
			}
			if = {
				limit = {
					owns_state = 993 #core Qatar if still own
					}
				add_state_core = 993
			}
			if = {
				limit = {
					owns_state = 294
					}
				add_state_core = 294
			}
			if = {
				limit = {
					owns_state = 859
					}
				add_state_core = 859
			}
			if = {
				limit = {
					owns_state = 347
					}
				add_state_core = 347
			}
			if = {
				limit = {
					owns_state = 1024
					}
				add_state_core = 1024
			}
		}
	}

#Somaliland
	focus = {
		id = DJI_settle_the_somaliland_dispute
		icon = GFX_SOM_goal_unityistrength
		relative_position_id = DJI_reform_the_patchwork
		x = 4
		y = 1
		cost = 5
		prerequisite = { focus = DJI_reform_the_patchwork }
		available = {
			owns_state = 269 #German Somaliland
		}
		ai_will_do = {
			factor = 150
			modifier = {
				factor = 5
				NOT = {
					OR = {
						has_completed_focus = DJI_blockade_the_kingdom
						has_completed_focus = DJI_reward_the_emperor
					}
				}
			}
		}
		completion_reward = {
			country_event = germanwestasia.12
			if = {
				limit = {
					has_idea = DJI_chaotic_governance
					}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance
					add_idea = DJI_chaotic_governance_healed
				}	
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_healed
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_healed
						add_idea = DJI_chaotic_governance_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_better
						add_idea = DJI_chaotic_governance_much_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_much_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_much_better
						add_idea = DJI_chaotic_governance_empowered
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_empowered
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_empowered
						add_idea = DJI_strong_government
				}
			}
		}
	}
	focus = {
		id = DJI_restore_the_hargeisa_railway
		icon = GFX_focusonthedreyfusline
		relative_position_id = DJI_reform_the_patchwork
		x = 4
		y = 2
		cost = 8
		prerequisite = { focus = DJI_settle_the_somaliland_dispute }
		available = {
			owns_state = 1297
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		add_stability = 0.05
			269 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}	
			268 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}			
		}
	}
	focus = {
		id = DJI_rebuild_the_camel_corps
		icon = GFX_Generic_Desert_Warfare
		relative_position_id = DJI_reform_the_patchwork
		x = 2
		y = 2
		cost = 5
		prerequisite = { focus = DJI_settle_the_somaliland_dispute }
		available = {
			owns_state = 1297
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		hidden_effect = {
			set_technology = {
				camel_corps_tech = 1
			}
		}
		custom_effect_tooltip = OTT_camel_corps_effect
		hidden_effect = {
			set_technology = { desert_warfare = 1 }		
		}
		add_war_support = 0.05
		}
	}
	focus = {
		id = DJI_berbera_trade_zone
		icon = GFX_goal_generic_privatization
		relative_position_id = DJI_reform_the_patchwork
		x = 3
		y = 3
		cost = 6
		prerequisite = { focus = DJI_rebuild_the_camel_corps }
		prerequisite = { focus = DJI_restore_the_hargeisa_railway }
		available = {
			owns_state = 1297
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			1297 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			268 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}			
		}
	}
	focus = {
		id = DJI_reform_tax_collection
		icon = GFX_goal_OTT_Loosen_Policy
		relative_position_id = DJI_reform_the_patchwork
		x = 4
		y = 4
		cost = 5
		prerequisite = { focus = DJI_berbera_trade_zone }
		available = {
			owns_state = 1297 #German Somaliland
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			decrease_ruling_party_popularity_by_5 = yes
			add_stability = -0.02
		}
	}
	focus = {
		id = DJI_obliterate_dervishism
		icon = GFX_goal_MAG_madagascar_garrison
		relative_position_id = DJI_reform_the_patchwork
		x = 3
		y = 5
		cost = 5
		prerequisite = { focus = DJI_sufi_backing }
		prerequisite = { focus = DJI_reform_tax_collection }

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_state_core = 269
			add_political_power = -50
		}
	}
	focus = {
		id = DJI_sufi_backing
		icon = GFX_cholmondeley
		relative_position_id = DJI_reform_the_patchwork
		x = 2
		y = 4
		cost = 5
		prerequisite = { focus = DJI_berbera_trade_zone }
		available = {
			owns_state = 269 #German Somaliland
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			increase_ruling_party_popularity_by_10 = yes
		}
	}
	focus = {
		id = DJI_occupy_the_federation
		icon = GFX_incentivisedrelocation
		relative_position_id = DJI_reform_the_patchwork
		x = 4
		y = 6
		cost = 5
		prerequisite = { focus = DJI_obliterate_dervishism }
		prerequisite = { focus = DJI_federate_german_arabia }
		will_lead_to_war_with = SOM
		available = {
			owns_state = 269 #German Somaliland
			can_declare_war_on = SOM
			controls_all_owned_states = yes
			SOM = {
				is_subject = no
				is_in_faction = no
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 5
				has_war = yes
			}
			modifier = {
				factor = 0
				SOM = {
					is_in_faction = yes
				}
			}
			modifier = {
				factor = 0
				SOM = {
					overlord = {
						strength_ratio = {
							tag = PREV ratio > 1.0
						}
					}
				}
			}
		}
		bypass = {
			SOM = {
				is_subject_of = DJI
			}
		}
		completion_reward = {
		if = {
			limit = {
				is_ai = no
				}
				906 = {
					add_core_of = ROOT
				}
			}
		if = {
			limit = {
				is_ai = yes
				}
				559 = {
					add_claim_by = ROOT
				}
			}
			declare_war_on = {
				target = SOM
				type = annex_everything
			}
		}
	}

#The Islands
	focus = {
		id = DJI_island_autonomies
		icon = GFX_islandsupplychains
		relative_position_id = DJI_reform_the_patchwork
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = DJI_reform_the_patchwork }
		available = {
			owns_state = 707
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			country_event = germanwestasia.101 #Mascarenes
			hidden_effect = {
				GER = { country_event = { id = germanwestasia.101 days = 2 } }
				GEA = { country_event = { id = germanwestasia.101 days = 2 } }	
				#The Port Louis Declaration
				DJI = { country_event = { id = germanwestasia.102 days = 76 } }
				GER = { country_event = { id = germanwestasia.102 days = 76 } }
				GEA = { country_event = { id = germanwestasia.102 days = 76 } }
				#N.M D'Unienville and the Sugar Baron
				DJI = { country_event = { id = germanwestasia.103 days = 194 } }
				GER = { country_event = { id = germanwestasia.103 days = 194 } }
				GEA = { country_event = { id = germanwestasia.103 days = 194 } }
			}
			increase_ruling_party_popularity_by_5 = yes
			add_political_power = 30
		}
	}
	focus = {
		id = DJI_plantation_reforms
		icon = GFX_goal_CZE_sugar_refineries
		relative_position_id = DJI_reform_the_patchwork
		x = -1
		y = 3
		cost = 6
		prerequisite = { focus = DJI_island_autonomies }
		available = {
			has_country_flag = DJI_mlp_flag
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			increase_ruling_party_popularity_by_5 = yes
			707 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_popularity = { ideology = radical_socialist popularity = -0.01  }
			hidden_effect = {
				clr_country_flag = DJI_mlp_flag
			}
		}
	}

#German India
	focus = {
		id = DJI_german_india
		icon = GFX_goal_india_kaisar
		relative_position_id = DJI_reform_the_patchwork
		x = -4
		y = 1
		cost = 5
		prerequisite = { focus = DJI_reform_the_patchwork }
		available = {
			owns_state = 422 #Ceylon
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			country_event = germanwestasia.14
			if = {
				limit = {
					owns_state = 1095
				}
				country_event = {
					id = germanwestasia.88
					days = 1
				}
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance
					}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance
					add_idea = DJI_chaotic_governance_healed
				}	
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_healed
				}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance_healed
					add_idea = DJI_chaotic_governance_better
				}
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_better
				}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance_better
					add_idea = DJI_chaotic_governance_much_better
				}
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_much_better
				}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance_much_better
					add_idea = DJI_chaotic_governance_empowered
				}
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_empowered
				}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance_empowered
					add_idea = DJI_strong_government
				}
			}
		}
	}
	focus = {
		id = DJI_ceylon_rubber_development_gesellschaft
		icon = GFX_goal_KTG_Rubber_Farming
		relative_position_id = DJI_reform_the_patchwork
		x = -4
		y = 2
		cost = 10
		prerequisite = { focus = DJI_german_india }
		available = {
			owns_state = 422 #Ceylon
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_resource = {
				type = rubber
				amount = 26
				state = 422
			}
			give_resource_rights = { receiver = DJI state = 422 }	
		}
	}
	focus = {
		id = DJI_mainland_reforms
		icon = GFX_BRY_Persecute_Buddhists
		relative_position_id = DJI_reform_the_patchwork
		x = -2
		y = 2
		cost = 5
		prerequisite = { focus = DJI_german_india }
		available = {
		OR = {
			owns_state = 422 #Ceylon
			owns_state = 1095 #Pondicherry
			owns_state = 790 #Arakan
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	focus = {
		id = DJI_crush_colombo_unions
		icon = GFX_anti_syndicalism
		relative_position_id = DJI_reform_the_patchwork
		x = -4
		y = 4
		cost = 5
		prerequisite = { focus = DJI_military_tea }
		available = {
		OR = {
			owns_state = 422 #Ceylon
			owns_state = 1095 #Pondicherry
			owns_state = 790 #Arakan
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			country_event = {
				id = germanwestasia.90 #Suppression of the Mahajana Sabha in French India
				days = 2
			}
		country_event = { id = germanwestasia.85 days = 14 }
			add_popularity = { ideology = social_democrat popularity = -0.03 }
			add_popularity = { ideology = radical_socialist popularity = -0.03 }
			add_popularity = { ideology = syndicalist popularity = -0.03 }
			add_popularity = { ideology = totalist popularity = -0.03 }
			hidden_effect = {
			#Philip Gunawardena Arrested
			GER = { country_event = { id = germanwestasia.85 days = 2 } }
			CEY = { country_event = { id = germanwestasia.85 days = 2 } }
			ENG = { country_event = { id = germanwestasia.85 days = 2 } }
			GEA = { country_event = { id = germanwestasia.85 days = 2 } }
				every_country = {
					limit = {
						OR = {
							tag = GER
							tag = DEH
							tag = PRF
							tag = BHC
							tag = GEA
							tag = NFA
							tag = FRA
							tag = INC
							tag = CHI
						}
					}
					country_event = {
						id = germanwestasia.90 #Suppression of the Mahajana Sabha in French India
						days = 2
					}
				}
			}
		}
	}
	focus = {
		id = DJI_military_tea
		icon = GFX_goal_LEP_tea_trade
		relative_position_id = DJI_reform_the_patchwork
		x = -3
		y = 3
		cost = 5
		prerequisite = { focus = DJI_ceylon_rubber_development_gesellschaft focus = DJI_mainland_reforms }
		available = {
		OR = {
			owns_state = 422 #Ceylon
			owns_state = 1095 #Pondicherry
			owns_state = 790 #Arakan
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		increase_ruling_party_popularity_by_5 = yes
		if = {
			limit = {
				owns_state = 422
				}
			422 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		if = {
			limit = {
				owns_state = 1095
				}
			1095 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	}
	focus = {
		id = DJI_local_arms_manufacturing
		icon = GFX_focus_generic_industry_2
		relative_position_id = DJI_reform_the_patchwork
		x = -2
		y = 4
		cost = 5
		prerequisite = { focus = DJI_military_tea }
		available = {
		OR = {
			owns_state = 422 #Ceylon
			owns_state = 1095 #Pondicherry
			owns_state = 790 #Arakan
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		if = {
			limit = {
				owns_state = 422
				}
			422 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		if = {
			limit = {
				owns_state = 1095
				}
			1095 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		}
	}
	focus = {
		id = DJI_reform_ceylon_rule
		icon = GFX_goal_support_ceylon
		relative_position_id = DJI_reform_the_patchwork
		x = -3
		y = 5
		cost = 5
		prerequisite = { focus = DJI_crush_colombo_unions }
		prerequisite = { focus = DJI_local_arms_manufacturing }
		available = {
			owns_state = 422 #Ceylon
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_state_core = 422
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	focus = {
		id = DJI_crush_bharatiya
		icon = GFX_BBR_crush_black_socialists
		relative_position_id = DJI_reform_the_patchwork
		x = -8
		y = 6
		cost = 5
		prerequisite = { focus = DJI_restore_the_kingdom focus = DJI_reform_ceylon_rule }
		available = {
			owns_state = 790 #Arakan
			can_declare_war_on = BHC
			BHC = {
				is_in_faction_but_not_leader = no
				is_subject = no
			}
			controls_all_owned_states = yes
		}
	ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = BHC ratio < 1 }
			}
			modifier = {
				factor = 0
				BHC = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				BHC = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		completion_reward = {
			declare_war_on = {
				target = BHC
				type = annex_everything
			}
		}
	}
	focus = {
		id = DJI_attack_burma
		icon = GFX_goal_generic_seize_railway
		relative_position_id = DJI_reform_the_patchwork
		x = -4
		y = 6
		cost = 5
		prerequisite = { focus = DJI_restore_the_kingdom focus = DJI_reform_ceylon_rule }
		available = {
			owns_state = 790 #Arakan
			can_declare_war_on = BRM
			BRM = {
				is_in_faction = no
				is_subject = no
			}
			controls_all_owned_states = yes
		}
	ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = BRM ratio < 1 }
			}
			modifier = {
				factor = 0
				BRM = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				BRM = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			BRM = {
				is_subject_of = DJI
			}
		}
		completion_reward = {
		if = {
			limit = {
				is_ai = no
				}
				288 = {
					add_core_of = ROOT
				}
			}
		if = {
			limit = {
				is_ai = yes
				}
				288 = {
					add_claim_by = ROOT
				}
			}
			declare_war_on = {
				target = BRM
				type = annex_everything
			}
		}
	}

#Arakan

	focus = {
		id = DJI_madagaskan_reforms
		icon = GFX_goal_burma
		relative_position_id = DJI_reform_the_patchwork
		x = -7
		y = 1
		cost = 5
		prerequisite = { focus = DJI_bring_order_to_chaos }
		prerequisite = { focus = DJI_reform_the_patchwork }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 150
		}
		completion_reward = {
			country_event = germanwestasia.37
			increase_ruling_party_popularity_by_5 = yes
			if = {
				limit = {
					has_idea = DJI_chaotic_governance
					}
				swap_ideas = {
					remove_idea = DJI_chaotic_governance
					add_idea = DJI_chaotic_governance_healed
				}	
			}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_healed
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_healed
						add_idea = DJI_chaotic_governance_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_better
						add_idea = DJI_chaotic_governance_much_better
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_much_better
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_much_better
						add_idea = DJI_chaotic_governance_empowered
					}
				}
			if = {
				limit = {
					has_idea = DJI_chaotic_governance_empowered
					}
					swap_ideas = {
						remove_idea = DJI_chaotic_governance_empowered
						add_idea = DJI_strong_government
					}
				}
		}
	}
	focus = {
		id = DJI_renovate_diego_suarez
		icon = GFX_goal_navy_decision
		relative_position_id = DJI_reform_the_patchwork
		x = -8
		y = 2
		cost = 5
		prerequisite = { focus = DJI_madagaskan_reforms }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			790 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
				}
			}	
		}
	}
	focus = {
		id = DJI_indian_administrators
		icon = GFX_goal_agency
		relative_position_id = DJI_reform_the_patchwork
		x = -6
		y = 2
		cost = 5
		prerequisite = { focus = DJI_madagaskan_reforms }
		prerequisite = { focus = DJI_german_india }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot_until_five = yes
		}
	}
	focus = {
		id = DJI_suppress_the_VVS
		icon = GFX_goal_generic_execution
		relative_position_id = DJI_reform_the_patchwork
		x = -7
		y = 3
		cost = 5
		prerequisite = { focus = DJI_renovate_diego_suarez }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			add_popularity = { ideology = social_liberal popularity = -0.03 }
		}
	}
	focus = {
		id = DJI_upgrade_the_cote_est_railway
		icon = GFX_goal_GER_infa
		relative_position_id = DJI_reform_the_patchwork
		x = -5
		y = 3
		cost = 5
		prerequisite = { focus = DJI_renovate_diego_suarez }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			790 = {
			add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}	
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}			
		}
	}
	focus = {
		id = DJI_invest_in_alaotra_rice
		icon = GFX_goal_generic_rice_field
		relative_position_id = DJI_reform_the_patchwork
		x = -6
		y = 4
		cost = 6
		prerequisite = { focus = DJI_suppress_the_VVS focus = DJI_upgrade_the_cote_est_railway }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_stability = 0.05
			790 = {
			add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			790 = {
			add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DJI_promote_land_reforms
		icon = GFX_goal_generic_landowner_tax_cuts
		relative_position_id = DJI_reform_the_patchwork
		x = -8
		y = 4
		cost = 5
		prerequisite = { focus = DJI_suppress_the_VVS  }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			increase_ruling_party_popularity_by_15 = yes
			add_stability = 0.02
		}
	}
	focus = {
		id = DJI_restore_the_kingdom
		icon = GFX_goal_generic_parliament2
		relative_position_id = DJI_reform_the_patchwork
		x = -6
		y = 5
		cost = 5
		prerequisite = { focus = DJI_invest_in_alaotra_rice }
		available = {
			owns_state = 790
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_state_core = 790
			add_political_power = -50
		}
	}
	
#Military

	focus = {
		id = DJI_berbera_defence_review
		icon = GFX_goal_Sturmtruppen
		x = 24
		y = 0
		available = {
			NOT = {
				has_idea = DJI_chaotic_governance
				has_idea = DJI_chaotic_governance_better
				has_idea = DJI_chaotic_governance_empowered
			}
		}
		cost = 5

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		completion_reward = {
			add_war_support = 0.1
			add_political_power = 50
		}
	}
	focus = {
		id = DJI_schutztruppe_speciality
		icon = GFX_focus_GER_schutztruppe
		x = -4
		y = 1
		relative_position_id = DJI_berbera_defence_review
		cost = 5

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		prerequisite = {
			focus = DJI_berbera_defence_review
		}
		mutually_exclusive = {
			focus = DJI_colonial_recruitment
		}

		completion_reward = {
			swap_ideas = {
				remove_idea = DJI_vestasien_schutztruppe
				add_idea = DJI_vestasien_schutztruppe_professional_1
			}
			army_experience = 20
		}
	}
	focus = {
		id = DJI_colonial_recruitment
		icon = GFX_pithhelmet
		x = 4
		y = 1
		relative_position_id = DJI_berbera_defence_review

		cost = 5
		prerequisite = {
			focus = DJI_berbera_defence_review
		}
		mutually_exclusive = {
			focus = DJI_schutztruppe_speciality
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			swap_ideas = {
				remove_idea = DJI_vestasien_schutztruppe
				add_idea = DJI_vestasien_schutztruppe_manpower_1
			}
			army_experience = 25
		if = {
			limit = {
				has_idea = DJI_black_monday_severe_idea
				}
			swap_ideas = {
				remove_idea = DJI_black_monday_severe_idea
				add_idea = DJI_black_monday_less_severe_idea
			}	
		}
		if = {
			limit = {
				has_idea = DJI_black_monday_less_severe_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_less_severe_idea
					add_idea = DJI_black_monday_mostly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_mostly_fixed_idea
				}
				swap_ideas = {
					remove_idea = DJI_black_monday_mostly_fixed_idea
					add_idea = DJI_black_monday_nearly_fixed_idea
				}
			}
		if = {
			limit = {
				has_idea = DJI_black_monday_nearly_fixed_idea
				}
				remove_ideas =	DJI_black_monday_nearly_fixed_idea
			}
		else = {
			custom_effect_tooltip = willhelprecoveryfromblackmonday
			}
		}
	}
	focus = {
		id = DJI_bush_war_thought
		icon = GFX_stabilityrestored
		x = -1
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_schutztruppe_speciality
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			army_experience = 50
			add_tech_bonus = {
				name = DJI_bush_war_thought
				bonus = 1
				uses = 1
				category = land_doctrine
			}
		}
	}
	focus = {
		id = DJI_vestasien_schutztruppe_traditions
		icon = GFX_BAT_germanisation
		x = -3
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_schutztruppe_speciality
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
				swap_ideas = {
					remove_idea = DJI_vestasien_schutztruppe_professional_1
					add_idea = DJI_vestasien_schutztruppe_professional_2
				}
		}
	}
	focus = {
		id = DJI_lightening_warfare
		icon = GFX_goal_light_tanks
		x = -5
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_schutztruppe_speciality
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_lightening_warfare
				bonus = 0.75
				uses = 1
				category = armor
			}
			hidden_effect = {
				division_template = {
					name = "Deutsch-Balt. Panzer-Division"
					division_names_group = GERM_MOB_01
					regiments = {
						light_armor = { x = 0 y = 0 }
						light_armor = { x = 0 y = 1 }
						light_armor = { x = 0 y = 2 }
						light_armor = { x = 1 y = 0 }
						light_armor = { x = 1 y = 1 }
						light_armor = { x = 1 y = 2 }
						motorized = { x = 2 y = 0 }
						motorized = { x = 2 y = 1 }
						motorized = { x = 2 y = 2 }
						motorized = { x = 2 y = 3 }

					}
					support = {
						artillery = { x = 0 y = 0 }
						recon = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
					}
				}
			}
			custom_effect_tooltip = DJI_armor_division_template_gained
			add_equipment_to_stockpile = {
				type = light_tank_equipment_1
				amount = 50
				producer = GER
			}
		}
	}
	focus = {
		id = DJI_squad_tactics
		icon = GFX_Generic_Jungle_Ghost
		x = -2
		y = 3
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_vestasien_schutztruppe_traditions
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
				swap_ideas = {
					remove_idea = DJI_vestasien_schutztruppe_professional_2
					add_idea = DJI_vestasien_schutztruppe_professional_3
				}
		}
	}
	focus = {
		id = DJI_armoured_cars
		icon = GFX_crushtherebels
		x = -4
		y = 3
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_lightening_warfare
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_armoured_cars
				bonus = 0.5
				uses = 1
				category = motorized_equipment
			}
			add_equipment_to_stockpile = {
				type = motorized_equipment
				amount = 250
				producer = GER
			}
		}
	}
	focus = {
		id = DJI_fuel_logistics
		icon = GFX_goal_oil
		x = -5
		y = 5
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_armoured_cars
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_fuel_logistics
				bonus = 0.5
				uses = 2
				category = synth_resources
			}
			268 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fuel_silo
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DJI_east_asian_joint_strategy
		icon = GFX_GEA_Ostasiatische_Heer
		x = -3
		y = 4
		relative_position_id = DJI_berbera_defence_review

		cost = 5
		available = {
			country_exists = GEA
		}
		prerequisite = {
			focus = DJI_armoured_cars
		}
		prerequisite = {
			focus = DJI_squad_tactics
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = DJI_east_asian_joint_strategy
				bonus = 0.75
				uses = 2
				category = land_doctrine
			}
		}
	}
	focus = {
		id = DJI_beyond_creed_and_colour
		icon = GFX_goal_KTG_reform_fore_publik
		x = 1
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_colonial_recruitment
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		completion_reward = {
			add_manpower = 4190
			add_tech_bonus = {
				name = DJI_beyond_creed_and_colour
				bonus = 0.75
				uses = 2
				category = land_doctrine
			}
		}
	}
	focus = {
		id = DJI_training_academies
		icon = GFX_localofficertraining
		x = 3
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_colonial_recruitment
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
				swap_ideas = {
					remove_idea = DJI_vestasien_schutztruppe_manpower_1
					add_idea = DJI_vestasien_schutztruppe_manpower_2
				}
		}
	}
	focus = {
		id = DJI_sepoy_arms
		icon = GFX_dukawallahloans
		x = 5
		y = 2
		relative_position_id = DJI_berbera_defence_review

		cost = 6
		prerequisite = {
			focus = DJI_colonial_recruitment
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_ideas = DJI_mass_mobilization_1
			hidden_effect = {
				division_template = {
					name = "Askari Infanterie-Division"
					division_names_group = GERM_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 0 y = 3 }
						infantry = { x = 0 y = 4 }
						artillery_brigade = { x = 1 y = 0 }
						artillery_brigade = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 1 y = 3 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						recon = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
					}
				}
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 600
				producer = GER
			}
		}
	}
	focus = {
		id = DJI_arabic_language_units
		icon = GFX_regularisethekathi
		x = 2
		y = 3
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_training_academies
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
				swap_ideas = {
					remove_idea = DJI_vestasien_schutztruppe_manpower_2
					add_idea = DJI_vestasien_schutztruppe_manpower_3
				}
			add_manpower = 3776
		}
	}
	focus = {
		id = DJI_colonial_shell_development
		icon = GFX_Focus_Superior_Firepower_Doctrine
		x = 4
		y = 3
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_sepoy_arms
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_colonial_shell_development
				bonus = 0.5
				uses = 1
				category = artillery
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 250
				producer = GER
			}
		}
	}
	focus = {
		id = DJI_our_greatest_resource
		icon = GFX_shouldertheburden
		x = 5
		y = 5
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_colonial_shell_development
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
				swap_ideas = {
					remove_idea = DJI_mass_mobilization_1
					add_idea = DJI_mass_mobilization_2
			}
		}
	}
	focus = {
		id = DJI_cultural_integration
		icon = GFX_cooptnativeassociations
		x = 3
		y = 4
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_colonial_shell_development
		}
		prerequisite = {
			focus = DJI_arabic_language_units
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_cultural_integration
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}
	focus = {
		id = DJI_integrate_ukraine_militias
		icon = GFX_focus_POL_ukrainian_army
		x = 0
		y = 3
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_bush_war_thought
			focus = DJI_beyond_creed_and_colour
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		completion_reward = {
			add_ideas = DJI_ukraine_militias
			division_template = {
				name = "Mercenaries"
				division_names_group = UKR_INF_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 = \"Mercenaries\" start_experience_factor = 0.1"
					owner = ROOT
					
				}
			}
		}
	}
	focus = {
		id = DJI_dschibuti_akademie
		icon = GFX_foundinac
		x = 0
		y = 4
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_squad_tactics
			focus = DJI_arabic_language_units
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_research_slot_until_five = yes
		}
	}
	focus = {
		id = DJI_advisors_from_singapur
		icon = GFX_goal_JAP_target_gea
		x = 0
		y = 5
		relative_position_id = DJI_berbera_defence_review

		cost = 5
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_advisors_from_singapur
				bonus = 1
				uses = 1
				category = land_doctrine
			}
			add_ideas = DJI_construction_engineering
		}
	}
	focus = {
		id = DJI_mountain_warfare
		icon = GFX_ruwzenzoritraining
		x = 0
		y = 6
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_advisors_from_singapur
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_mountain_warfare
				bonus = 1
				uses = 1
				category = mountaineers_tech
			}
			hidden_effect = {
				set_technology = { tech_integrated_specialists = 1 }
			}
		}
	}
	focus = {
		id = DJI_prussian_thought
		icon = GFX_goal_GER_colonial_administration
		x = 0
		y = 7
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_mountain_warfare
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_war_support = 0.1
		}
	}
	focus = {
		id = DJI_vestasien_pilots
		icon = GFX_goal_generic_air_command
		x = -2
		y = 5
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_vestasien_pilots
				bonus = 1
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = DJI_new_air_bases
		icon = GFX_developentebbeairbase
		x = -4
		y = 6
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_vestasien_pilots
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
		random_owned_state = {
			limit = {
				is_core_of = DJI
			}

			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				is_core_of = DJI
			}

			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}			
		}
	}
	focus = {
		id = DJI_all_climate_training
		icon = GFX_anationofmigrants
		x = -2
		y = 6
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_vestasien_pilots
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			air_experience = 15
			add_tech_bonus = {
				name = DJI_all_climate_training
				bonus = 1
				uses = 1
				category = air_doctrine
			}
		}
	}
	focus = {
		id = DJI_paratrooper_corps
		icon = GFX_focus_generic_paratrooper
		x = -3
		y = 7
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_new_air_bases
		}
		prerequisite = {
			focus = DJI_all_climate_training
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_tech = paratroopers }
				}
				set_technology = { paratroopers = 1 }
			}
			else = {
				add_tech_bonus = {
					name = DJI_paratrooper_corps
					bonus = 1
					uses = 1
					category = para_tech
				}
			}
		}
	}
	focus = {
		id = DJI_exercises_with_singapur
		icon = GFX_GEA_Kaiserliche_Marine
		x = 2
		y = 5
		relative_position_id = DJI_berbera_defence_review

		cost = 5
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = DJI_exercises_with_singapur
				bonus = 1
				uses = 1
				category = naval_doctrine
			}
			add_ideas = DJI_naval_designers
		}
	}
	focus = {
		id = DJI_knit_together_the_web
		icon = GFX_focus_GER_sentinels_of_the_pacific
		x = 4
		y = 6
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_exercises_with_singapur
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
		random_owned_state = {
			limit = {
				is_core_of = DJI
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}			
		}
		random_owned_state = {
			limit = {
				is_core_of = DJI
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}			
		}
		random_owned_state = {
			limit = {
				is_core_of = DJI
			}
			add_building_construction = {
				type = dockyard
				level = 1
				instant_build = yes
			}			
		}
	}
	}
	focus = {
		id = DJI_officer_autonomy
		icon = GFX_adefensefleet
		x = 2
		y = 6
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_exercises_with_singapur
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = DJI_officer_autonomy
				bonus = 1
				uses = 1
				category = naval_doctrine
			}
		}
	}
	focus = {
		id = DJI_seebatallions
		icon = GFX_focus_ger_return_of_the_kaiser
		x = 3
		y = 7
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_knit_together_the_web
		}
		prerequisite = {
			focus = DJI_officer_autonomy
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_tech = marines }
				}
				set_technology = { marines = 1 }
			}
			else = {
				add_tech_bonus = {
					name = DJI_seebatallions
					bonus = 1
					uses = 1
					category = marine_tech
				}
			}
		}
	}
	focus = {
		id = DJI_guardian_of_the_west
		icon = GFX_sidelinetheflemishwalloons
		x = 0
		y = 8
		relative_position_id = DJI_berbera_defence_review

		cost = 5

		prerequisite = {
			focus = DJI_seebatallions
		}
		prerequisite = {
			focus = DJI_paratrooper_corps
		}
		prerequisite = {
			focus = DJI_prussian_thought
		}

		ai_will_do = {
			factor = 8
			modifier = {
				factor = 2
				has_war = yes
			}
		}

		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.1
		}
	}

}