# secret focus by Emilia333

focus_tree = {
	id = secret_investor_focus
	
	country = {
		factor = 0
	}

	default = no

	continuous_focus_position = { x = 50 y = 1500 }

	focus = {
		id = secret_investors_empire
		icon = GFX_goal_demand_sudetenland
		x = 0
		y = 0
		cost = 5

		completion_reward = {
			custom_effect_tooltip = secret_investors_empire_tooltip
		}
	}

	focus = {
		id = secret_all_hail_the_investor
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = secret_investors_empire }
		x = 0
		y = 1
		cost = 5

		completion_reward = {
			hidden_effect = {
				create_country_leader = {
					name = "The Great Leader"
					desc = ""
					picture = "GFX_leader_investor_portrait"
					expire = "1965.1.1"
					ideology = despotism
					traits = { investment_mastermind wants_investment_to_pay_off }
				}
				country_event = {
					id = saudi.113 days = 14
				}
			}
			custom_effect_tooltip = secret_great_leader_tooltip
		}
	}

	focus = {
		id = secret_expand_to_africa
		icon = GFX_focus_generic_africa_liberation
		prerequisite = { focus = secret_all_hail_the_investor }
		x = 0
		y = 2
		cost = 5

		completion_reward = {
			custom_effect_tooltip = secret_expand_africa_tooltip
		}
	}

	focus = {
		id = secret_influence_neighbors
		icon = GFX_focus_generic_africa_liberation
		prerequisite = { focus = secret_expand_to_africa }
		x = 0
		y = 3
		cost = 5

		completion_reward = {
			custom_effect_tooltip = secret_influence_neighbors_tooltip
			if = {
				limit = { country_exists = IRQ }
				set_variable = {
					var = secret_influence_var_IRQ
					value = 0
					tooltip = set_secret_influence_var_IRQ_to_0
				}
			}
		}
	}
}