#NEW GLOBALPLAN WOLF

shared_focus = {
	id = BRG_wolf_globalplan_wolf
	icon = GFX_focus_BRG_globalplan_wolf
	cost = 1
	x = 6
	y = 8
	allow_branch = {
		BRG_GP_Wolf_active = yes
		has_country_flag = view_Wolf_actions
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_globalplan_wolf"
		custom_effect_tooltip = BRG_globalplan_wolf_tt
		set_country_flag = BRG_wolf_visible
		hidden_effect = { country_event = BRG_wolf.1 }
	}
}

###########################################
#####
##### PRE ITALO TURKISH WAR
#####
###########################################

shared_focus = {
	id = BRG_wolf_black_sun_over_the_levant
	icon = GFX_focus_BRG_black_sun_over_the_levant
	cost = 1
	x = -2
	y = 1
	relative_position_id = BRG_wolf_globalplan_wolf
	prerequisite = {
		focus = BRG_wolf_globalplan_wolf
	}

	allow_branch = {
		BRG_GP_Wolf_active = yes
		has_country_flag = view_Wolf_actions
		NOT = { has_global_flag = IME_TUR_peace_deal }
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_black_sun_over_the_levant"
		custom_effect_tooltip = BRG_black_sun_levant_tt
		set_country_flag = BRG_wolf_black_sun_over_the_levant_flag
	}
}

shared_focus = {
	id = BRG_wolf_levantine_homes_and_farms
	icon = GFX_focus_BRG_levantine_homes_and_farms
	cost = 1
	x = -1
	y = 1
	relative_position_id = BRG_wolf_black_sun_over_the_levant
	prerequisite = {
		focus = BRG_wolf_black_sun_over_the_levant
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_levantine_homes_and_farms"
		custom_effect_tooltip = BRG_levantine_homes_tt
		set_country_flag = BRG_levantine_homes_flag
	}
}

shared_focus = {
	id = BRG_wolf_levantine_guns_and_arms
	icon = GFX_focus_BRG_levantine_guns_and_arms
	cost = 1
	x = 0
	y = 1
	relative_position_id = BRG_wolf_levantine_homes_and_farms
	prerequisite = {
		focus = BRG_wolf_levantine_homes_and_farms
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_levantine_guns_and_arms"
		custom_effect_tooltip = BRG_levantine_guns_tt
		set_country_flag = BRG_wolf_levantine_guns_and_arms_flag
	}
}

shared_focus = {
	id = BRG_wolf_provoke_the_bull
	icon = GFX_focus_BRG_provoke_the_bull
	cost = 1
	x = 1
	y = 1
	relative_position_id = BRG_wolf_black_sun_over_the_levant
	prerequisite = {
		focus = BRG_wolf_black_sun_over_the_levant
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_provoke_the_bull"
		custom_effect_tooltip = BRG_provoke_the_bull_tt
		set_country_flag = BRG_wolf_provoke_the_bull_flag
	}
}

shared_focus = {
	id = BRG_wolf_guns_to_the_turks
	icon = GFX_focus_BRG_guns_to_the_turks
	cost = 1
	x = 0
	y = 1
	relative_position_id = BRG_wolf_provoke_the_bull
	prerequisite = {
		focus = BRG_wolf_provoke_the_bull
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_guns_to_the_turks"
		custom_effect_tooltip = BRG_guns_to_the_turks_tt
		set_country_flag = BRG_wolf_guns_to_the_turks_flag
	}
}


#########################################
#####
##### FAROUK KILL TREE
#####
#########################################


shared_focus = {
	id = BRG_wolf_the_black_sun_over_the_nile
	icon = GFX_focus_BRG_black_sun_over_the_nile
	cost = 1
	x = 2
	y = 1
	relative_position_id = BRG_wolf_globalplan_wolf
	prerequisite = {
		focus = BRG_wolf_globalplan_wolf
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}

	allow_branch = {
		BRG_GP_Wolf_active = yes
		has_country_flag = view_Wolf_actions
		NOT = { has_global_flag = EGY_Farouk_Killed }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_the_black_sun_over_the_nile"
		country_event = BRG_wolf.2
	}
}

shared_focus = {
	id = BRG_wolf_the_opportunity
	icon = GFX_focus_BRG_the_opportunity
	cost = 1
	x = 0
	y = 1
	relative_position_id = BRG_wolf_the_black_sun_over_the_nile
	prerequisite = {
		focus = BRG_wolf_the_black_sun_over_the_nile
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_the_opportunity"
		custom_effect_tooltip = BRG_the_opportunity_tt
		set_country_flag = BRG_wolf_the_opportunity_flag
	}
}

shared_focus = {
	id = BRG_wolf_lavish_parties
	icon = GFX_focus_BRG_lavish_parties
	cost = 1
	x = -1
	y = 1
	relative_position_id = BRG_wolf_the_opportunity
	prerequisite = {
		focus = BRG_wolf_the_opportunity
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_lavish_parties"
		country_event = BRG_wolf.3
		add_political_power = 30
	}
}

shared_focus = {
	id = BRG_wolf_more_luxuries
	icon = GFX_focus_BRG_more_luxuries
	cost = 1
	x = 1
	y = 1
	relative_position_id = BRG_wolf_the_opportunity
	prerequisite = {
		focus = BRG_wolf_the_opportunity
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_more_luxuries"
		custom_effect_tooltip = BRG_more_luxuries_tt
		set_country_flag = BRG_wolf_more_luxuries_flag
	}
}

shared_focus = {
	id = BRG_wolf_the_third_circle
	icon = GFX_focus_BRG_the_third_circle
	cost = 1
	x = 1
	y = 1
	relative_position_id = BRG_wolf_lavish_parties
	prerequisite = {
		focus = BRG_wolf_lavish_parties
	}
	prerequisite = {
		focus = BRG_wolf_more_luxuries
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_the_third_circle"
		custom_effect_tooltip = BRG_the_third_circle_tt
		hidden_effect = { EGY = { country_event = { id = egy.15 } } }
	}
}


###########################################
#####
##### IEA COLLAPSE
#####
###########################################


###########################################
#####
##### OIL CRISIS
#####
###########################################

shared_focus = {
	id = BRG_wolf_the_black_sun_over_the_desert
	icon = GFX_focus_BRG_black_sun_over_the_dessert
	cost = 1
	x = 0
	y = 1
	relative_position_id = BRG_wolf_globalplan_wolf
	prerequisite = {
		focus = BRG_wolf_globalplan_wolf
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	allow_branch = { has_global_flag = Syrian_Revolt }
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_the_black_sun_over_the_desert"
		country_event = BRG_wolf.5
		custom_effect_tooltip = BRG_iranian_faction_benefits
		set_country_flag = BRG_wolf_the_black_sun_over_the_desert_flag
		set_variable = { BRG_saudi_support_cost_medium = 60 }
		set_variable = { BRG_saudi_support_cost_big = 100 }
		set_variable = { BRG_uar_support_cost_medium = 60 }
		set_variable = { BRG_uar_support_cost_big = 100 }
	}
}

shared_focus = {
	id = BRG_wolf_ensure_profitability
	icon = GFX_focus_BRG_Focus_Blackest_of_Markets
	cost = 1
	x = -1
	y = 1
	relative_position_id = BRG_wolf_the_black_sun_over_the_desert
	prerequisite = {
		focus = BRG_wolf_the_black_sun_over_the_desert
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_ensure_profitability"
		custom_effect_tooltip = BRG_unlock_saudi_support
		set_country_flag = BRG_wolf_ensure_profitability_flag
	}
}

shared_focus = {
	id = BRG_wolf_ensure_tension
	icon = GFX_focus_BRG_salt_the_earth
	cost = 1
	x = 1
	y = 1
	relative_position_id = BRG_wolf_the_black_sun_over_the_desert
	prerequisite = {
		focus = BRG_wolf_the_black_sun_over_the_desert
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_ensure_tension"
		custom_effect_tooltip = BRG_unlock_uar_support
		set_country_flag = BRG_wolf_ensure_tension_flag
	}
}

shared_focus = {
	id = BRG_wolf_batten_down_the_hatches
	icon = GFX_focus_BRG_Focus_Special_Forces
	cost = 1
	x = 1
	y = 1
	relative_position_id = BRG_wolf_ensure_profitability
	prerequisite = {
		focus = BRG_wolf_ensure_profitability
	}
	prerequisite = {
		focus = BRG_wolf_ensure_tension
	}
	available = {
		NOT = {
			has_country_flag = BRG_state_of_crisis_flag
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_batten_down_the_hatches"
		custom_effect_tooltip = BRG_unlock_volunteers
		add_ideas = BRG_wolf_oil_crisis_advisors
		if = {
			limit = {is_ai = no }
			set_country_flag = BRG_can_intervene_in_oil_crisis
		}
	}
}

























#shared_focus = {
#icon = GFX_focus_unknown
#	id = BRG_wolf_the_black_sun_over_italy
	##	x = 0
	#cost = 1
#	y = 1
#	relative_position_id = BRG_wolf_ss_in_correntia
#	prerequisite = {
#		focus = BRG_wolf_incite_ethnic_strife
#	}
	#prerequisite = {
	#	focus = BRG_wolf_ss_in_correntia
		#prerequisite = {
	#}
	#	focus = BRG_wolf_correntian_commerce
	#}
	#available = {
	#	NOT = {
	#		has_country_flag = BRG_state_of_crisis_flag
	#	}
	#}
	#	v	}
	#completion_reward = {
#	log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_the_black_sun_over_italy"
#}

#shared_focus = {
#	id = BRG_wolf_empower_the_admiral
#	icon = GFX_focus_unknown
#	cost = 1
#	x = -2
#	y = 1
	#	prerequisite = {
	#relative_position_id = BRG_wolf_the_black_sun_over_italy
#		focus = BRG_wolf_the_black_sun_over_italy
#	}
#	available = {
#		NOT = {
#			has_country_flag = BRG_state_of_crisis_flag
#		}
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_empower_the_admiral"
	#}
#}

#shared_focus = {
#	id = BRG_wolf_support_our_friends
	#icon = GFX_focus_unknown
	#cost = 1
	#x = -1
#	y = 1
#	relative_position_id = BRG_wolf_empower_the_admiral
#	prerequisite = {
	#	focus = BRG_wolf_empower_the_admiral
	#}
	#available = {
#		NOT = {
		#	has_country_flag = BRG_state_of_crisis_flag
#		}
#	}
##	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_support_our_friends"
	#}
#}

#shared_focus = {
	#id = BRG_wolf_discredit_the_degenerates
	#icon = GFX_focus_unknown
	#x = 1
	#cost = 1
	#	relative_position_id = BRG_wolf_empower_the_admiral
	#y = 1
#	prerequisite = {
#		focus = BRG_wolf_empower_the_admiral
#	}
#	available = {
#		NOT = {
#			has_country_flag = BRG_state_of_crisis_flag
#		}
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_discredit_the_degenerates"
#	}
#}

#shared_focus = {
#	id = BRG_wolf_fall_remus
	#cost = 1
	##	icon = GFX_focus_unknown
#	x = 1
#	y = 1
#	relative_position_id = BRG_wolf_support_our_friends
#	prerequisite = {
#		focus = BRG_wolf_support_our_friends
#	}
#	prerequisite = {
#		focus = BRG_wolf_discredit_the_degenerates
#	}
#	available = {
		#	has_country_flag = BRG_state_of_crisis_flag
			#		NOT = {
	#}
	#	}
	#completion_reward = {
	#}
	#	log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_fall_remus"
#}

#shared_focus = {
#icon = GFX_focus_unknown
#	id = BRG_wolf_empower_the_count
	#	x = 2
	#cost = 1
#	y = 1
#	relative_position_id = BRG_wolf_the_black_sun_over_italy
#	prerequisite = {
#		focus = BRG_wolf_the_black_sun_over_italy
#	}
	#available = {
	##			has_country_flag = BRG_state_of_crisis_flag
	#	NOT = {
#		}
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_empower_the_count"
#	}
#}

#shared_focus = {
#	id = BRG_wolf_support_our_friends_count
#	icon = GFX_focus_unknown
#	cost = 1
	#	y = 1
	#x = -1
#	relative_position_id = BRG_wolf_empower_the_count
#	prerequisite = {
#		focus = BRG_wolf_empower_the_count
#	}
#	available = {
#		NOT = {
#			has_country_flag = BRG_state_of_crisis_flag
#		}
#	}
#	completion_reward = {
	#	log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_support_our_friends_count"
#	}
#}

#shared_focus = {
#	id = BRG_wolf_goad_the_degenerates
#	icon = GFX_focus_unknown
#	cost = 1
#	x = 1
#	y = 1
#	relative_position_id = BRG_wolf_empower_the_count
#	prerequisite = {
	#	}
	#	focus = BRG_wolf_empower_the_count
#	available = {
#		NOT = {
#			has_country_flag = BRG_state_of_crisis_flag
#		}
	#}
	#completion_reward = {
	#	log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_goad_the_degenerates"
#	}
#}

#shared_focus = {
#	id = BRG_wolf_fall_romulus
#	icon = GFX_focus_unknown
#	cost = 1
#	x = 1
#	y = 1
#	relative_position_id = BRG_wolf_support_our_friends_count
#	prerequisite = {
#		focus = BRG_wolf_support_our_friends_count
#	}
#	prerequisite = {
#		focus = BRG_wolf_goad_the_degenerates
#	}
#	available = {
#		NOT = {
#			has_country_flag = BRG_state_of_crisis_flag
#		}
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus BRG_wolf_fall_romulus"
#	}
#}
