### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}

focus_tree = {
	id = bulgarian_focus

	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = BUL
			has_dlc = "Battle for the Bosporus"
		}
	}
	
	default = no

	continuous_focus_position = { x = 50 y = 1500 }


#### ##    ## ########  ##     ##  ######  ######## ########  ####    ###    ##          ########  ########     ###    ##    ##  ######  ##     ## 
 ##  ###   ## ##     ## ##     ## ##    ##    ##    ##     ##  ##    ## ##   ##          ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
 ##  ####  ## ##     ## ##     ## ##          ##    ##     ##  ##   ##   ##  ##          ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
 ##  ## ## ## ##     ## ##     ##  ######     ##    ########   ##  ##     ## ##          ########  ########  ##     ## ## ## ## ##       ######### 
 ##  ##  #### ##     ## ##     ##       ##    ##    ##   ##    ##  ######### ##          ##     ## ##   ##   ######### ##  #### ##       ##     ## 
 ##  ##   ### ##     ## ##     ## ##    ##    ##    ##    ##   ##  ##     ## ##          ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
#### ##    ## ########   #######   ######     ##    ##     ## #### ##     ## ########    ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = BUL_acquire_modern_tools

		icon = GFX_goal_generic_production2
		x = 12
		y = 0
		cost = 5

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_ideas = BUL_national_industry_01

			add_tech_bonus = {
				name = BUL_acquire_modern_tools
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
	}

	focus = {
		id = BUL_improve_the_road_system

		prerequisite = { focus = BUL_acquire_modern_tools }
		icon = GFX_goal_generic_construction
		relative_position_id = BUL_acquire_modern_tools
		x = -11
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			every_owned_state = {
				limit = {
					has_state_flag = BUL_initial_bulgarian_state_flag
					NOT = { state = 48 }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			48 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = BUL_attract_foreign_capitals

		prerequisite = { focus = BUL_improve_the_road_system }
		icon = GFX_goal_generic_intelligence_exchange
		relative_position_id = BUL_improve_the_road_system
		x = -2
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_invigorate_national_industry }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			hidden_effect = {
				add_dynamic_modifier = { modifier = BUL_foreign_industry_dynamic_modifier }
			}
			custom_effect_tooltip = BUL_attract_foreign_capitals_dynamic_modifier_tt

			effect_tooltip = { #This way player always reads a comprehensive tooltip, but all decisions 
				if = {
					limit = {
						country_exists = GER
						NOT = { has_war_with = GER }
						GER = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = GER decision = BUL_german_industrial_agreements }
				}
				if = {
					limit = {
						country_exists = ENG
						NOT = { has_war_with = ENG }
						ENG = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = ENG decision = BUL_british_industrial_agreements }
				}
				if = {
					limit = {
						country_exists = SOV
						NOT = { has_war_with = SOV }
						SOV = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = SOV decision = BUL_soviet_industrial_agreements }
				}
			}
			hidden_effect = {
				activate_targeted_decision = { target = GER decision = BUL_german_industrial_agreements }
				activate_targeted_decision = { target = ENG decision = BUL_british_industrial_agreements }
				activate_targeted_decision = { target = SOV decision = BUL_soviet_industrial_agreements }
			}
		}
	}

	focus = {
		id = BUL_invigorate_national_industry

		prerequisite = { focus = BUL_improve_the_road_system }
		icon = GFX_focus_generic_industry_1
		relative_position_id = BUL_improve_the_road_system
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_attract_foreign_capitals }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			swap_ideas = {
				remove_idea = BUL_national_industry_01
				add_idea = BUL_national_industry_02
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = BUL_petrol_ad
			show_ideas_tooltip = BUL_ira
			show_ideas_tooltip = BUL_pirin
			show_ideas_tooltip = BUL_vulkan_cement

			add_ai_strategy = {
				type = building_target
				id = industrial_complex
				value = 17
			}
		}
	}

	focus = {
		id = BUL_expand_sofia_university

		prerequisite = { focus = BUL_attract_foreign_capitals focus = BUL_invigorate_national_industry }
		icon = GFX_focus_research
		relative_position_id = BUL_attract_foreign_capitals
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = BUL_expand_the_tobacco_industry

		prerequisite = { focus = BUL_attract_foreign_capitals }
		prerequisite = { focus = BUL_expand_sofia_university }
		icon = GFX_goal_generic_construct_civ_factory
		relative_position_id = BUL_expand_sofia_university
		x = -1
		y = 2
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = {
					212 = {
						is_owned_by = BUL
					}
				} 
				212 = { #PLOVDIV
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			add_ideas = BUL_tobacco_exports
		}
	}

	focus = {
		id = BUL_nationalization

		prerequisite = { focus = BUL_expand_the_tobacco_industry }
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		relative_position_id = BUL_expand_the_tobacco_industry
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_utmost_optimization }

		available = {
			NOT = { has_government = democratic }
			NOT = { has_idea = BUL_second_national_catastrophe }
			any_country = {
				OR = {
					tag = GER
					tag = ENG
					tag = SOV
				}
				#BUL_country_can_influence_bulgaria = yes
				custom_trigger_tooltip = {
					tooltip = BUL_industrial_investments_in_bulgaria_flag
					has_country_flag = BUL_industrial_investments_in_bulgaria_flag
				}
			}
			is_subject = no
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			hidden_effect = {
				remove_dynamic_modifier = { modifier = BUL_foreign_industry_dynamic_modifier }
			}
			custom_effect_tooltip = BUL_nationalization_dynamic_modifier_tt
			add_ideas = BUL_nationalized_industry

			#Opinion Modifiers
			every_country = {
				limit = {
					BUL_country_can_influence_bulgaria = yes
					has_opinion_modifier = BUL_industrial_investments_in_bulgaria
				}
				remove_opinion_modifier = { target = BUL modifier = BUL_industrial_investments_in_bulgaria }

				BUL = { remove_opinion_modifier = { target = PREV modifier = BUL_industrial_investments_in_bulgaria } }
			}		

			every_country = {
				limit = {
					BUL_country_can_influence_bulgaria = yes
					has_country_flag = BUL_industrial_investments_in_bulgaria_flag
					NOT = { has_war_with = ROOT }
					NOT = { is_subject_of = ROOT }
				}
				country_event = { id = bftb_bulgaria_nationalization.1 hours = 12 random_hours = 12 }
			}
			custom_effect_tooltip = BUL_nationalization_warning_tt

			custom_effect_tooltip = available_designer
			show_ideas_tooltip = BUL_petrol_ad
			show_ideas_tooltip = BUL_ira
			show_ideas_tooltip = BUL_pirin
			show_ideas_tooltip = BUL_vulkan_cement
			custom_effect_tooltip = BUL_nationalization_foreign_designers_tt
		}
	}

	focus = {
		id = BUL_increase_industry_investments

		prerequisite = { focus = BUL_invigorate_national_industry }
		prerequisite = { focus = BUL_expand_sofia_university }
		icon = GFX_focus_generic_industry_2
		relative_position_id = BUL_expand_sofia_university
		x = 1
		y = 1
		cost = 10


		available = {
			num_of_civilian_factories > 16
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			swap_ideas = {
				remove_idea = BUL_national_industry_02
				add_idea = BUL_national_industry_03
			}
		}
	}

	focus = {
		id = BUL_utmost_optimization

		prerequisite = { focus = BUL_increase_industry_investments focus = BUL_expand_the_tobacco_industry }
		icon = GFX_focus_generic_industry_3
		relative_position_id = BUL_increase_industry_investments
		x = 0
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_nationalization }

		available = {
			NOT = { has_idea = BUL_second_national_catastrophe }
			num_of_factories > 29
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = { has_completed_focus = BUL_attract_foreign_capitals }
				subtract_from_variable = { BUL_foreign_industry_construction_speed_modifier = -0.05 }
				subtract_from_variable = { BUL_foreign_industry_production_efficiency_modifier = -0.03 }
				custom_effect_tooltip = BUL_utmost_optimization_dynamic_modifier_tt
			}
			else = {
				swap_ideas = {
					remove_idea = BUL_national_industry_03
					add_idea = BUL_national_industry_04
				}
				if = {
					limit = {
						NOT = { has_completed_focus = BUL_invigorate_national_industry }
					}
					custom_effect_tooltip = BUL_utmost_optimization_tt
				}
			}
			BUL_replace_national_industrial_designer = yes
		}
	}

	focus = {
		id = BUL_national_railway_lines

		prerequisite = { focus = BUL_improve_the_road_system }
		icon = GFX_goal_generic_construct_infrastructure
		relative_position_id = BUL_improve_the_road_system
		x = 3
		y = 2
		cost = 5

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			every_owned_state = {
				limit = {
					OR = {
						has_state_flag = BUL_initial_bulgarian_state_flag
						has_state_flag = BUL_historical_bulgarian_claim_flag
					}
				}
				add_extra_state_shared_building_slots = 2
			}
			if = {
				limit = {
					controls_state = 801
					controls_state = 211
				}
				build_railway = {
					path = { 949 3971 3952 3819 6842 9769 649 9783}
				}
			}
			if = {
				limit = {
					controls_state = 212
				}
				build_railway = { 
					path = { 949 3908 3937 6923 }
				}
			}
			if = {
				limit = {
					controls_state = 212
					controls_state = 211
				}
				build_railway = { 
					path = { 6923 9862 9888 9902 }
				}
			}
			if = {
				limit = { 
					has_full_control_of_state = 803 
					has_full_control_of_state = 106
				}
				build_railway = {
					level = 2
					path = { 949 935 907 3882 }
				}
			}				
		}
	}
	
	focus = {
		id = BUL_all_that_glitters

		prerequisite = { focus = BUL_national_railway_lines }
		icon = GFX_focus_usa_reestablish_the_gold_standard
		relative_position_id = BUL_national_railway_lines
		mutually_exclusive = { focus = BUL_light_metal_exploitation }
		x = -1
		y = 1
		cost = 5

		available = {
			controls_state = 48
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_stability = 0.05
			48 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = BUL_light_metal_exploitation

		prerequisite = { focus = BUL_national_railway_lines }
		icon = GFX_goal_generic_construct_civilian
		relative_position_id = BUL_national_railway_lines
		mutually_exclusive = { focus = BUL_all_that_glitters }
		x = 1
		y = 1
		cost = 5

		available = {
			controls_state = 48
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			48 = {
				add_resource = {
					type = aluminium
					amount = 8 #At least one factory's worth
				}
			}
		}
	}
	
	focus = {
		id = BUL_steel_plant_in_pernik

		prerequisite = { focus = BUL_all_that_glitters focus = BUL_light_metal_exploitation }
		icon = GFX_focus_generic_steel
		relative_position_id = BUL_national_railway_lines
		x = 0
		y = 2
		cost = 10

		available = {
			controls_state = 48
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = BUL_mineral_extraction_in_the_rhodopes
				ahead_reduction = 2
			    bonus = 1.0
			    uses = 1
			    category = industry
			}
			48 = {
				add_resource = {
					type = steel
					amount = 6
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}
		}
	}

	focus = {
		id = BUL_mineral_extraction_in_the_rhodopes

		prerequisite = { focus = BUL_steel_plant_in_pernik }
		icon = GFX_goal_generic_construction2
		relative_position_id = BUL_steel_plant_in_pernik
		x = 0
		y = 1
		cost = 10

		available = {
			has_tech = excavation2
			OR = {
				controls_state = 48
				controls_state = 212
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = BUL_mineral_extraction_in_the_rhodopes
			    bonus = 1.0
			    uses = 1
			    category = industry
			}
			set_variable = { var = BUL_plovdiv_chromium_duration value = 15 }
			unlock_decision_tooltip = BUL_mineral_extraction_in_the_rhodopes
		}
	}

	focus = {
		id = BUL_uranium_prospecting

		prerequisite = { focus = BUL_mineral_extraction_in_the_rhodopes }
		prerequisite = { focus = BUL_utmost_optimization focus = BUL_nationalization }
		icon = GFX_goal_generic_secret_weapon
		relative_position_id = BUL_utmost_optimization
		x = 1
		y = 1
		cost = 10

		available = {
			has_tech = excavation3
			controls_state = 48
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			
			IF = {
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = BUL_uranium_prospecting
				    bonus = 1.0
				    uses = 1 # was 2
				    category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.8
				}
			}
			ELSE = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 1
				}
			}

			add_ideas = BUL_buhovo_uranium_mines

			if = { 
				limit = {
					any_allied_country = {
						is_faction_leader = yes
					}
				}
				custom_effect_tooltip = BUL_uranium_prospecting_leader_target_tt
			}
			else_if = {
				limit = {
					is_faction_leader = yes
					any_allied_country = {
						is_major = yes
					}
				}
				custom_effect_tooltip = BUL_uranium_prospecting_major_ally_target_tt
			}
			else = {
				custom_effect_tooltip = BUL_uranium_prospecting_no_target_tt
			}
		}
	}

	focus = {
		id = BUL_georgi_benkovski_aircraft_repair_facilities

		prerequisite = { focus = BUL_acquire_modern_tools }
		icon = GFX_goal_generic_air_production
		relative_position_id = BUL_acquire_modern_tools
		x = -5
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			air_experience = 10
			212 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_ideas = BUL_aircraft_repair_facilities
		}
	}

	focus = {
		id = BUL_pilot_training_program

		prerequisite = { focus = BUL_georgi_benkovski_aircraft_repair_facilities }
		icon = GFX_goal_generic_air_doctrine
		relative_position_id = BUL_georgi_benkovski_aircraft_repair_facilities
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			air_experience = 15
			add_doctrine_cost_reduction = {
				name = BUL_pilot_training_program
			    cost_reduction = 0.50
			    uses = 2
			    category = air_doctrine
			}
			if = {
				limit = {
					48 = { is_owned_by = BUL }
				}
				48 = {
					add_building_construction = {
						type = air_base 
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					212 = { is_owned_by = BUL }
				}
				212 = {
					add_building_construction = {
						type = air_base 
						level = 2
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_country_flag = BUL_international_pilot_training_program_flag
				}
				add_ideas = BUL_international_pilot_training_program
			}
		}
	}

	focus = {
		id = BUL_negotiate_bulgarian_rearmament

		prerequisite = { focus = BUL_acquire_modern_tools }
		icon = GFX_focus_generic_combined_arms
		relative_position_id = BUL_acquire_modern_tools
		x = 0
		y = 1
		cost = 5

		bypass = {
			hidden_trigger = {
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					NOT = {
						has_idea = BUL_army_restrictions_aat
					}
				}
				else = {
					NOT = {
						has_idea = BUL_army_restrictions
					}
				}
			}
		}

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER}
		completion_reward = {
			unlock_decision_category_tooltip = BUL_rearmament
		}
	}

	focus = {
		id = BUL_reorganize_the_military_industry

		prerequisite = { focus = BUL_negotiate_bulgarian_rearmament }
		icon = GFX_focus_generic_tank_production
		relative_position_id = BUL_negotiate_bulgarian_rearmament
		x = 0
		y = 2
		cost = 10

		available = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				NOT = {
					has_idea = BUL_army_restrictions_aat
				}
			}
			else = {
				NOT = {
					has_idea = BUL_army_restrictions
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = BUL_reorganize_the_military_industry
			    bonus = 1.0
			    uses = 1
			    category = infantry_weapons
				category = artillery
			}
		}
	}

	focus = {
		id = BUL_darzhavna_aeroplanna_rabotilnitsa

		prerequisite = { focus = BUL_pilot_training_program }
		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_goal_generic_air_fighter
		relative_position_id = BUL_pilot_training_program
		x = 0
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_foreign_aircraft_designers }

		available = {
			48 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			48 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = BUL_darzhavna_aeroplanna_rabotilnitsa
			    bonus = 0.5
			    uses = 2
				category = light_air
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = BUL_dar_organization

				mio:BUL_dar_organization = {
					add_mio_size = 3
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = BUL_dar
			}
		}
	}

	focus = {
		id = BUL_darzhavna_samoletna_fabrika

		prerequisite = { focus = BUL_darzhavna_aeroplanna_rabotilnitsa }
		icon = GFX_goal_expand_the_luftwaffe
		relative_position_id = BUL_darzhavna_aeroplanna_rabotilnitsa
		x = 0
		y = 1
		cost = 10

		available = {
			801 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			801 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = BUL_darzhavna_samoletna_fabrika
			    bonus = 0.5
			    uses = 2
				category = cas_bomber
				category = naval_bomber
			}
		}
	}

	focus = {
		id = BUL_foreign_aircraft_designers

		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_goal_generic_air_fighter2
		relative_position_id = BUL_darzhavna_aeroplanna_rabotilnitsa
		x = 2
		y = 0
		cost = 5
		mutually_exclusive = { focus = BUL_darzhavna_aeroplanna_rabotilnitsa }

		available = {
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			effect_tooltip = {
				if = {
					limit = {
						country_exists = GER
						NOT = { has_war_with = GER }
						GER = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = GER decision = BUL_aircraft_agreements }
				}
				if = {
					limit = {
						country_exists = ENG
						NOT = { has_war_with = ENG }
						ENG = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = ENG decision = BUL_aircraft_agreements }
				}
				if = {
					limit = {
						country_exists = SOV
						NOT = { has_war_with = SOV }
						SOV = { BUL_is_valid_subject = yes }
					}
					activate_targeted_decision = { target = SOV decision = BUL_aircraft_agreements }
				}
			}
			hidden_effect = {
				activate_targeted_decision = { target = GER decision = BUL_aircraft_agreements }
				activate_targeted_decision = { target = ENG decision = BUL_aircraft_agreements }
				activate_targeted_decision = { target = SOV decision = BUL_aircraft_agreements }
			}
		}
	}

	focus = {
		id = BUL_kaproni_bulgarski

		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_goal_generic_air_bomber
		relative_position_id = BUL_foreign_aircraft_designers
		x = 2
		y = 0
		cost = 10

		available = {
			212 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			212 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = BUL_kaproni_bulgarski
			    bonus = 0.5
			    uses = 2
				category = cat_strategic_bomber
				category = tactical_bomber
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = BUL_kaproni_bulgarski_organization

				mio:BUL_kaproni_bulgarski_organization = {
					add_mio_size = 3
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = BUL_kaproni_bulgarski
			}
		}
	}

	focus = {
		id = BUL_darzhavna_voenna_fabrika

		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_goal_generic_construct_mil_factory
		relative_position_id = BUL_reorganize_the_military_industry
		x = 1
		y = 1
		cost = 10

		available = {
			212 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			212 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = BUL_darzhavna_voenna_fabrika
			    bonus = 0.5
			    uses = 2
				category = infantry_weapons
				category = support_tech
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = BUL_dvf_organization

				mio:BUL_dvf_organization = {
					add_mio_size = 3
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = BUL_dvf
			}
		}
	}

	focus = {
		id = BUL_found_dvf_sopot

		prerequisite = { focus = BUL_darzhavna_voenna_fabrika }
		icon = GFX_goal_generic_army_artillery
		relative_position_id = BUL_darzhavna_voenna_fabrika
		x = 0
		y = 1
		cost = 10

		available = {
			212 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			212 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = BUL_found_dvf_sopot
			    bonus = 0.5
			    uses = 2
				category = artillery
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = BUL_dvf_sopot_organization

				mio:BUL_dvf_sopot_organization = {
					add_mio_size = 3
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = BUL_dvf_sopot
			}
		}
	}

	focus = {
		id = BUL_contract_foreign_companies

		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_focus_generic_license_production
		relative_position_id = BUL_reorganize_the_military_industry
		x = 3
		y = 1
		cost = 5

		available = {
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			effect_tooltip = {
				IF = {
					limit = { has_dlc = "Arms Against Tyranny"}
					unlock_decision_category_tooltip = foreign_mio_decisions_category
				}
				ELSE = {
					if = {
						limit = {
							country_exists = GER
							NOT = { has_war_with = GER }
							GER = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = GER decision = BUL_military_agreements }
					}
					if = {
						limit = {
							country_exists = ENG
							NOT = { has_war_with = ENG }
							ENG = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = ENG decision = BUL_military_agreements }
					}
					if = {
						limit = {
							country_exists = SOV
							NOT = { has_war_with = SOV }
							SOV = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = SOV decision = BUL_military_agreements }
					}
					if = {
						limit = {
							country_exists = ITA
							NOT = { has_war_with = ITA }
							ITA = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = ITA decision = BUL_military_agreements }
					}
				}
			}
			hidden_effect = {
				IF = {
					limit = { NOT = { has_dlc = "Arms Against Tyranny"} }
					activate_targeted_decision = { target = GER decision = BUL_military_agreements }
					activate_targeted_decision = { target = ENG decision = BUL_military_agreements }
					activate_targeted_decision = { target = SOV decision = BUL_military_agreements }
					activate_targeted_decision = { target = ITA decision = BUL_military_agreements }
				}
			}
		}
	}

	focus = {
		id = BUL_rebuild_the_army

		prerequisite = { focus = BUL_reorganize_the_military_industry }
		icon = GFX_focus_generic_little_entente
		relative_position_id = BUL_reorganize_the_military_industry
		x = 5
		y = 1
		cost = 10

		available = {
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = BUL_rebuild_the_army
			    cost_reduction = 0.5
			    uses = 2
				category = land_doctrine
			}
			if = {
				limit = { has_idea = BUL_bulgarian_army_02 }
				swap_ideas = {
					remove_idea = BUL_bulgarian_army_02
					add_idea = BUL_bulgarian_army_03
				}
			}
			else = {
				add_ideas = BUL_bulgarian_army_01
			}
			if = {
				limit = { has_idea = disarmed_nation }
				add_ideas = volunteer_only
			}
			if = {
				limit = { has_idea = volunteer_only }
				add_ideas = limited_conscription
			}
		}
	}

	focus = {
		id = BUL_vasil_levsky_national_military_university

		prerequisite = { focus = BUL_rebuild_the_army }
		prerequisite = { focus = BUL_darzhavna_voenna_fabrika }
		icon = GFX_focus_research
		relative_position_id = BUL_found_dvf_sopot
		x = 2
		y = 0
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			army_experience = 15
			navy_experience = 15
			air_experience = 15
			add_doctrine_cost_reduction = {
				name = BUL_vasil_levsky_national_military_university
			    cost_reduction = 0.35
			    uses = 2
				category = land_doctrine
				category = naval_doctrine
				category = air_doctrine
			}
			add_research_slot = 1
		}
	}

	focus = {
		id = BUL_prussia_of_the_balkans

		prerequisite = { focus = BUL_vasil_levsky_national_military_university }
		prerequisite = { focus = BUL_found_dvf_sopot }
		icon = GFX_focus_BUL_prussia_of_the_balkans
		relative_position_id = BUL_vasil_levsky_national_military_university
		x = 0
		y = 1
		cost = 10

		available = {
			controls_state = 48
			controls_state = 212
			controls_state = 211
			controls_state = 801
		}
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = { has_idea = BUL_bulgarian_army_01 }
				swap_ideas = {
					remove_idea = BUL_bulgarian_army_01
					add_idea = BUL_prussia_of_the_balkans_01
				}
			}
			else_if = {
				limit = { has_idea = BUL_bulgarian_army_03 }
				swap_ideas = {
					remove_idea = BUL_bulgarian_army_03
					add_idea = BUL_prussia_of_the_balkans_01
				}
			}
			else = {
				effect_tooltip = {
					remove_ideas = BUL_bulgarian_army_01
				}
				add_ideas = BUL_prussia_of_the_balkans_01
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				every_military_industrial_organization = {
					limit = {
						OR = {
							is_military_industrial_organization = BUL_dar_organization
							is_military_industrial_organization = BUL_kaproni_bulgarski_organization
							is_military_industrial_organization = BUL_dvf_organization
							is_military_industrial_organization = BUL_dvf_sopot_organization
						}
					}
					complete_mio_trait = BUL_mio_trait_prussia_of_the_balkans
				}
			}
			else = {
				BUL_replace_national_aircraft_designer = yes
			}
		}
	}

	focus = {
		id = BUL_national_military_academy

		prerequisite = { focus = BUL_negotiate_bulgarian_rearmament }
		icon = GFX_focus_generic_military_academy
		relative_position_id = BUL_negotiate_bulgarian_rearmament
		x = 7
		y = 1
		cost = 5

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			army_experience = 15
			add_doctrine_cost_reduction = {
				name = BUL_national_military_academy
			    cost_reduction = 0.5
			    uses = 1
				category = land_doctrine
			}
			if = {
				limit = { has_idea = BUL_bulgarian_army_01}
				swap_ideas = {
					remove_idea = BUL_bulgarian_army_01
					add_idea = BUL_bulgarian_army_03
				}
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = BUL_prussia_of_the_balkans }
				}
				add_ideas = BUL_bulgarian_army_02
			}
		}
	}

	focus = {
		id = BUL_war_logistics

		prerequisite = { focus = BUL_national_military_academy }
		icon = GFX_goal_generic_army_motorized
		relative_position_id = BUL_national_military_academy
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = BUL_war_logistics
			    bonus = 0.5
			    ahead_reduction = 2
			    uses = 2
				category = support_tech
			}
			add_tech_bonus = {
				name = BUL_war_logistics
			    bonus = 1
			    uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = BUL_defensive_lines

		prerequisite = { focus = BUL_war_logistics }
		icon = GFX_goal_generic_construct_military
		relative_position_id = BUL_war_logistics
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_reinforce_naval_bases }

		available = {
			48 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			48 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					instant_build = yes
					province = 949
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				if = {
					limit = { BUL = { has_tech = radio_detection } }
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = BUL_defensive_lines_tt
			every_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					OR = {
						has_state_flag = BUL_initial_bulgarian_state_flag
						has_state_flag = BUL_historical_bulgarian_claim_flag
					}
					any_neighbor_state = {
						owner = {
							has_added_tension_amount > 0
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
				}
			}
			custom_effect_tooltip = BUL_historical_states_tt
		}
	}

	focus = {
		id = BUL_a_black_sea_fleet

		prerequisite = { focus = BUL_negotiate_bulgarian_rearmament }
		icon = GFX_focus_generic_destroyer
		relative_position_id = BUL_negotiate_bulgarian_rearmament
		x = 12
		y = 1
		cost = 10

		available = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				NOT = {
					has_idea = BUL_army_restrictions_aat
				}
			}
			else = {
				NOT = {
					has_idea = BUL_army_restrictions
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = BUL_a_black_sea_fleet
			    cost_reduction = 0.35
			    uses = 1
				category = naval_doctrine
			}
			add_tech_bonus = {
				name = BUL_a_black_sea_fleet
			    bonus = 0.5
			    uses = 2
				category = dd_tech
			}
			if = { 
				limit = { has_dlc = "Man the Guns" }
				set_technology = { coastal_defense_ships = 1 } 
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				unlock_decision_tooltip = invite_SOV_nevskoye_design_bureau_organization
				unlock_decision_tooltip = invite_ENG_yarrow_shipbuilders_organization
				unlock_decision_tooltip = invite_ENG_john_brown_organization
				unlock_decision_tooltip = invite_ITA_crda_organization
			}
			else = {
				effect_tooltip = {
					if = {
						limit = {
							country_exists = ENG
							NOT = { has_war_with = ENG }
							ENG = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = ENG decision = BUL_naval_agreements }
					}
					if = {
						limit = {
							country_exists = SOV
							NOT = { has_war_with = SOV }
							SOV = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = SOV decision = BUL_naval_agreements }
					}
					if = {
						limit = {
							country_exists = ITA
							NOT = { has_war_with = ITA }
							ITA = { BUL_is_valid_subject = yes }
						}
						activate_targeted_decision = { target = ITA decision = BUL_naval_agreements }
					}
				}
				hidden_effect = {
					activate_targeted_decision = { target = ENG decision = BUL_naval_agreements }
					activate_targeted_decision = { target = SOV decision = BUL_naval_agreements }
					activate_targeted_decision = { target = ITA decision = BUL_naval_agreements }
				}
			}
		}
	}

	focus = {
		id = BUL_improve_coastal_defenses

		prerequisite = { focus = BUL_a_black_sea_fleet }
		icon = GFX_focus_generic_coastal_fort
		relative_position_id = BUL_a_black_sea_fleet
		x = -3
		y = 1
		cost = 10

		available = {
			211 = {
				is_owned_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			211 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
				}
			}
			if = {
				limit = {
					77 = {
						is_owned_by = BUL
					}
				}
				77 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_coastal = yes
						}
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_coastal = yes
						}
					}
				}
			}
			add_tech_bonus = {
				name = BUL_improve_coastal_defenses
			    bonus = 1.0
			    uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = BUL_reinforce_naval_bases

		prerequisite = { focus = BUL_improve_coastal_defenses }
		icon = GFX_goal_generic_fortify_city
		relative_position_id = BUL_improve_coastal_defenses
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_defensive_lines }

		available = {
			any_controlled_state = {
				OR = {
					is_core_of = BUL
					has_state_flag = BUL_historical_bulgarian_claim_flag
				}
				is_coastal = yes
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = BUL_reinforce_naval_bases_tt
			every_controlled_state = {
				limit = {
					OR = {
						is_core_of = BUL
						has_state_flag = BUL_historical_bulgarian_claim_flag
					}
					is_coastal = yes
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
						limit_to_victory_point > 0
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
						limit_to_victory_point > 1
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
						limit_to_victory_point > 0
					}
				}
			}
		}
	}

	focus = {
		id = BUL_supremacy_on_the_bosporus

		prerequisite = { focus = BUL_defensive_lines focus = BUL_reinforce_naval_bases }
		icon = GFX_focus_BUL_supremacy_on_the_bosporus
		relative_position_id = BUL_defensive_lines
		x = 1
		y = 2
		cost = 10

		available = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				NOT = {
					has_idea = BUL_army_restrictions_aat
				}
			}
			else = {
				NOT = {
					has_idea = BUL_army_restrictions
				}
			}
			OR = {
				AND = {
					BUL = {
						has_full_control_of_state = 341 #EDIRNE
						has_full_control_of_state = 797 #ISTANBUL
					}
				}
				AND = {
					is_faction_leader = yes
					any_country = {
						is_in_faction_with = ROOT
						has_full_control_of_state = 341 #EDIRNE
						has_full_control_of_state = 797 #ISTANBUL
					}
				}
				any_country = {
					is_subject_of = ROOT
					has_full_control_of_state = 341 #EDIRNE
					has_full_control_of_state = 797 #ISTANBUL
				}
			}
		}
		
		completion_reward = {
			797 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				if = {
					limit = { BUL = { has_tech = radio_detection } }
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
				}
			}
			341 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				#Fortifications in Edirne
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 11842
				}
				#Fortifications in Edirne's Naval Base
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 849
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 849
				}
			}
			add_timed_idea = {
				idea = BUL_supremacy_on_the_bosporus
				days = 365
			}
			if = {
				limit = {
					any_country = {
						OR = {
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}			
						has_full_control_of_state = 341 #EDIRNE
						has_full_control_of_state = 797 #ISTANBUL
					}
				}
				random_country = {
					limit = {
						OR = {
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}	
						has_full_control_of_state = 341 #EDIRNE
						has_full_control_of_state = 797 #ISTANBUL
					}
					add_timed_idea = {
						idea = BUL_supremacy_on_the_bosporus
						days = 365
					}
				}
			}
		}
	}

	focus = {
		id = BUL_dominance_in_the_black_sea

		prerequisite = { focus = BUL_prussia_of_the_balkans }
		prerequisite = { focus = BUL_supremacy_on_the_bosporus }
		icon = GFX_focus_generic_black_sea_focus
		relative_position_id = BUL_prussia_of_the_balkans
		x = 2
		y = 1
		cost = 10

		available = {
			any_state = {
				BUL_state_is_in_the_black_sea = yes
				controller = {
					NOT = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
			}
			is_subject = no
		}

		bypass = {
			NOT = {
				any_state = {
					BUL_state_is_in_the_black_sea = yes
					controller = {
						NOT = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			custom_effect_tooltip = BUL_dominance_in_the_black_sea_claims_tt
			every_state = {
				limit = {
					BUL_state_is_in_the_black_sea = yes
					NOT = { is_controlled_by = ROOT }
					NOT = {
						any_country = {
							OR = {
								is_in_faction_with = ROOT
								is_subject_of = ROOT
							}
							controls_state = PREV
						}
					}
					NOT = { is_claimed_by = ROOT }
				}
				add_claim_by = ROOT
				set_state_flag = BUL_dominance_in_the_seas_claim_flag
			}
			if = {
			limit = {
					any_other_country = {
						any_controlled_state = {
							BUL_state_is_in_the_black_sea = yes
						}
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
				}
				custom_effect_tooltip = BUL_dominance_in_the_black_sea_wargoals_tt
				every_other_country = {
					limit = {
						any_controlled_state = {
							BUL_state_is_in_the_black_sea = yes
						}
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
					hidden_effect = {
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								expire = 730
							}
						}
					}
				}
			}
			effect_tooltip = {
				activate_mission = BUL_dominance_in_the_black_sea_mission
			}
		}
	}

	focus = {
		id = BUL_dominance_in_the_aegean_sea

		prerequisite = { focus = BUL_dominance_in_the_black_sea }
		icon = GFX_focus_generic_aegean_sea_focus
		relative_position_id = BUL_dominance_in_the_black_sea
		x = -1
		y = 1
		cost = 5

		available = {
			any_state = {
				BUL_state_is_in_the_aegean_sea = yes
				controller = {
					NOT = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
			}
			is_subject = no
		}

		bypass = {
			NOT = {
				any_state = {
					BUL_state_is_in_the_aegean_sea = yes
					controller = {
						NOT = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			custom_effect_tooltip = BUL_dominance_in_the_aegean_sea_claims_tt
			every_state = {
				limit = {
					BUL_state_is_in_the_aegean_sea = yes
					NOT = { is_controlled_by = ROOT }
					NOT = {
						any_country = {
							OR = {
								is_in_faction_with = ROOT
								is_subject_of = ROOT
							}
							controls_state = PREV
						}
					}
					NOT = { is_claimed_by = ROOT }
				}
				add_claim_by = ROOT
				set_state_flag = BUL_dominance_in_the_seas_claim_flag
			}
			if = {
				limit = {
						any_other_country = {
							any_controlled_state = {
								BUL_state_is_in_the_aegean_sea = yes
							}
							NOT = { is_subject_of = ROOT }
							NOT = { is_in_faction_with = ROOT }
						}
					}
				custom_effect_tooltip = BUL_dominance_in_the_black_sea_wargoals_tt
				every_other_country = {
					limit = {
						any_controlled_state = {
							BUL_state_is_in_the_aegean_sea = yes
						}
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
					hidden_effect = {
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								expire = 730
							}
						}
					}
				}
			}
			effect_tooltip = {
				activate_mission = BUL_dominance_in_the_aegean_sea_mission
			}
		}
	}

	focus = {
		id = BUL_dominance_in_the_adriatic_sea

		prerequisite = { focus = BUL_dominance_in_the_black_sea }
		icon = GFX_focus_generic_adriatic_sea_focus
		relative_position_id = BUL_dominance_in_the_black_sea
		x = 1
		y = 1
		cost = 5

		available = {
			any_state = {
				BUL_state_is_in_the_adriatic_sea = yes
				controller = {
					NOT = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
			}
			is_subject = no
		}

		bypass = {
			NOT = {
				any_state = {
					BUL_state_is_in_the_adriatic_sea = yes
					controller = {
						NOT = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			custom_effect_tooltip = BUL_dominance_in_the_adriatic_sea_claims_tt
			every_state = {
				limit = {
					BUL_state_is_in_the_adriatic_sea = yes
					NOT = { is_controlled_by = ROOT }
					NOT = {
						any_country = {
							OR = {
								is_in_faction_with = ROOT
								is_subject_of = ROOT
							}
							controls_state = PREV
						}
					}
					NOT = { is_claimed_by = ROOT }
				}
				add_claim_by = ROOT
				set_state_flag = BUL_dominance_in_the_seas_claim_flag
			}
			if = {
				limit = {
					any_other_country = {
						any_controlled_state = {
							BUL_state_is_in_the_adriatic_sea = yes
						}
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
				}
				custom_effect_tooltip = BUL_dominance_in_the_black_sea_wargoals_tt
				every_other_country = {
					limit = {
						any_controlled_state = {
							BUL_state_is_in_the_adriatic_sea = yes
						}
						NOT = { is_subject_of = ROOT }
						NOT = { is_in_faction_with = ROOT }
					}
					hidden_effect = {
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								expire = 730
							}
						}
					}
				}
			}
			effect_tooltip = {
				activate_mission = BUL_dominance_in_the_adriatic_sea_mission
			}
		}
	}

	focus = {
		id = BUL_bulgaria_on_the_three_seas

		prerequisite = { focus = BUL_dominance_in_the_adriatic_sea }
		prerequisite = { focus = BUL_dominance_in_the_aegean_sea }
		icon = GFX_focus_BUL_bulgaria_on_the_three_seas
		relative_position_id = BUL_dominance_in_the_aegean_sea
		x = 1
		y = 1
		cost = 10

		available = {
			any_controlled_state = {
				BUL_state_is_in_the_black_sea = yes
			}
			any_controlled_state = {
				BUL_state_is_in_the_aegean_sea = yes
			}
			any_controlled_state = {
				BUL_state_is_in_the_adriatic_sea = yes
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			navy_experience = 50
			custom_effect_tooltip = BUL_bulgaria_on_the_three_seas_buliding_tt
			every_controlled_state = {
				limit = {
					OR = {
						BUL_state_is_in_the_black_sea = yes
						BUL_state_is_in_the_aegean_sea = yes
						BUL_state_is_in_the_adriatic_sea = yes
					}
					dockyard > 0
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			every_controlled_state = {
				limit = {
					OR = {
						BUL_state_is_in_the_black_sea = yes
						BUL_state_is_in_the_aegean_sea = yes
						BUL_state_is_in_the_adriatic_sea = yes
					}
					naval_base > 0
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
						limit_to_victory_point > 0
					}
				}
			}
		}
	}


	focus = {
		id = BUL_national_submarine_production

		prerequisite = { focus = BUL_a_black_sea_fleet }
		icon = GFX_goal_generic_navy_submarine
		relative_position_id = BUL_a_black_sea_fleet
		x = -1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = BUL_national_submarine_production
			    bonus = 1.0
			    uses = 2
			    category = ss_tech
			}
		}
	}

	focus = {
		id = BUL_bulgarian_shipping_chamber

		prerequisite = { focus = BUL_a_black_sea_fleet }
		icon = GFX_goal_generic_navy_cruiser
		relative_position_id = BUL_a_black_sea_fleet
		x = 0
		y = 2
		cost = 10

		available = {
			controls_state = 211
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			211 = {
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
			}
			add_equipment_to_stockpile = {
				type = convoy
				amount = 50
			}
			add_ideas = BUL_bulgarian_shipping_chamber
		}
	}

	focus = {
		id = BUL_strike_from_the_seas

		prerequisite = { focus = BUL_bulgarian_shipping_chamber }
		icon = GFX_goal_generic_amphibious_assault
		relative_position_id = BUL_bulgarian_shipping_chamber
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_a_powerful_bulgarian_navy }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			army_experience = 15
			navy_experience = 15
			add_tech_bonus = {
				name = BUL_strike_from_the_seas
			    bonus = 0.5
			    uses = 2
			    category = marine_tech
			    category = tp_tech
			}
		}
	}

	focus = {
		id = BUL_expand_varna_naval_base

		prerequisite = { focus = BUL_acquire_modern_tools }
		icon = GFX_goal_generic_build_navy
		relative_position_id = BUL_acquire_modern_tools
		x = 15
		y = 2
		cost = 10

		available = {
			controls_state = 211
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			navy_experience = 15
			211 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 9783
				}
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = BUL_varna_naval_dockyard_organization

				mio:BUL_varna_naval_dockyard_organization = {
					add_mio_size = 3
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = BUL_varna_naval_dockyard
			}
		}
	}

	focus = {
		id = BUL_develop_burgas_shipyards

		prerequisite = { focus = BUL_expand_varna_naval_base }
		icon = GFX_goal_generic_construct_naval_dockyard
		relative_position_id = BUL_expand_varna_naval_base
		x = 0
		y = 1
		cost = 10

		available = {
			controls_state = 211
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			navy_experience = 15
			211 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 9902
				}
			}
		}
	}

	focus = {
		id = BUL_an_aegean_sea_fleet

		prerequisite = { focus = BUL_a_black_sea_fleet }
		prerequisite = { focus = BUL_develop_burgas_shipyards }
		icon = GFX_focus_generic_cruiser2
		relative_position_id = BUL_a_black_sea_fleet
		x = 2
		y = 2
		cost = 10

		available = {
			any_controlled_state = {
				BUL_state_is_in_the_aegean_sea = yes
				dockyard > 0
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = BUL_an_aegean_sea_fleet
			    bonus = 0.5
			    uses = 2
			    category = ca_tech
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:BUL_varna_naval_dockyard_organization = {
					complete_mio_trait = BUL_mio_trait_an_aegean_sea_fleet
				}
			}
			else = {
				BUL_replace_national_naval_designer = yes
			}

			custom_effect_tooltip = BUL_an_aegean_sea_fleet_tt
			every_controlled_state = {
				limit = {
					BUL_state_is_in_the_aegean_sea = yes
					dockyard > 0
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = BUL_a_powerful_bulgarian_navy

		prerequisite = { focus = BUL_an_aegean_sea_fleet }
		icon = GFX_focus_generic_navy_battleship2
		relative_position_id = BUL_an_aegean_sea_fleet
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_strike_from_the_seas }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = BUL_a_powerful_bulgarian_navy
			    cost_reduction = 0.5
			    uses = 1
			    category = naval_doctrine
			}
			add_tech_bonus = {
				name = BUL_a_powerful_bulgarian_navy
				bonus = 1
				uses = 1
				category = bb_tech
			}
		}
	}

	focus = {
		id = BUL_modern_tactics

		prerequisite = { focus = BUL_strike_from_the_seas focus = BUL_a_powerful_bulgarian_navy }
		icon = GFX_goal_generic_air_naval_bomber
		relative_position_id = BUL_strike_from_the_seas
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = BUL_modern_tactics
			    cost_reduction = 0.5
			    uses = 2
			    category = naval_doctrine
			}
			add_tech_bonus = {
				name = BUL_modern_tactics
			    bonus = 1
			    uses = 1
			    category = naval_air
			}
		}
	}


 ######   #######  ##     ## ##     ## ##     ## ##    ## ####  ######  ########    ########  ########     ###    ##    ##  ######  ##     ## 
##    ## ##     ## ###   ### ###   ### ##     ## ###   ##  ##  ##    ##    ##       ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
##       ##     ## #### #### #### #### ##     ## ####  ##  ##  ##          ##       ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
##       ##     ## ## ### ## ## ### ## ##     ## ## ## ##  ##   ######     ##       ########  ########  ##     ## ## ## ## ##       ######### 
##       ##     ## ##     ## ##     ## ##     ## ##  ####  ##        ##    ##       ##     ## ##   ##   ######### ##  #### ##       ##     ## 
##    ## ##     ## ##     ## ##     ## ##     ## ##   ###  ##  ##    ##    ##       ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
 ######   #######  ##     ## ##     ##  #######  ##    ## ####  ######     ##       ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = BUL_oppose_the_royal_dictatorship

		icon = GFX_focus_BUL_oppose_the_royal_dictatorship
		relative_position_id = BUL_acquire_modern_tools
		x = 21
		y = 0
		cost = 10
		mutually_exclusive = { focus = BUL_power_to_the_tsar }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_stability = -0.05
			add_ideas = BUL_tsar_boris_negative_01

			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
			custom_effect_tooltip = BUL_oppose_the_royal_dictatorship_tt
			custom_effect_tooltip = remove_political_advisor
			show_ideas_tooltip = BUL_ivan_dochev
			show_ideas_tooltip = BUL_dobri_bozhilov
		}
	}

	focus = {
		id = BUL_appoint_communist_ministers

		prerequisite = { focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_focus_generic_soviet_politics
		relative_position_id = BUL_oppose_the_royal_dictatorship
		x = -2
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_democratic_principles }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_valko_chervenkov

			BUL_bs_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
			custom_effect_tooltip = BUL_appoint_communist_ministers_tt
		}
	}

	focus = {
		id = BUL_the_spanish_struggle

		prerequisite = { focus = BUL_appoint_communist_ministers }
		icon = GFX_focus_intervention_spain_republic
		relative_position_id = BUL_appoint_communist_ministers
		x = -2
		y = 1
		cost = 5

		available = {
			has_civil_war = no
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPR_scw_in_progress = yes
				if = {
					limit = {
						NOT = { has_global_flag = spanish_civil_war }
					}
					custom_trigger_tooltip = {
					    tooltip = POR_spr_tooltip_country_exist_tt
					    country_exists = SPR
				    }
				    custom_trigger_tooltip = {
					    tooltip = POR_spr_tooltip_at_peace_tt
						NOT = { has_war_with = SPR }
				    }
				}
				else = {
					country_exists = SPD
					NOT = { has_war_with = SPD }
				}
			}
			else = {
				any_country = {
					original_tag = SPR
					has_civil_war = yes
					NOT = { has_war_with = ROOT }
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
			has_government = communism
			is_subject = no
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPD = {
					add_opinion_modifier = {
					    target = BUL
					    modifier = BUL_helped_in_civil_war
					}
					add_manpower = 3000
					ROOT = {
						set_variable = { BUL_spanish_tag_aided = PREV }
					}
				}
				add_ai_strategy = {
					type = befriend
					id = SPD
					value = 100
				}
				add_ai_strategy = {
					type = send_volunteers_desire
					id = SPD
					value = 100
				}
			}
			else = {
				random_country = {
					limit = {
						original_tag = SPR
						has_civil_war = yes
						OR = {
							has_government = communism
							has_government = democratic
						}
					}
					add_opinion_modifier = {
					    target = BUL
					    modifier = BUL_helped_in_civil_war
					}
					add_manpower = 3000
					ROOT = {
						set_variable = { BUL_spanish_tag_aided = PREV }
						add_ai_strategy = {
							type = send_volunteers_desire
							id = PREV
							value = 100
						}
					}
				}
			}
			add_manpower = -3000
			add_ideas = BUL_volunteers_in_spain_republican
			set_rule = { can_send_volunteers = yes }
			custom_effect_tooltip = BUL_the_spanish_struggle_tt
		}
	}

	focus = {
		id = BUL_overthrow_the_tsar

		prerequisite = { focus = BUL_appoint_communist_ministers }
		icon = GFX_goal_tfv_burn_the_royal_portraits
		relative_position_id = BUL_appoint_communist_ministers
		x = -1
		y = 2
		cost = 10

		available = {
			communism > 0.3
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			remove_ideas = BUL_tsar_boris_negative_01
			if = {
				limit = {
					has_idea = BUL_georgi_ivanov_kyoseivanov
				}
				remove_ideas = BUL_tsar_boris_negative_01
			}

			if = { #Low Stability triggers a Civil War
				limit = {
					has_stability < 0.3
				}
				set_temp_variable = { BUL_communist_cw_opposition = party_popularity@democratic }
				multiply_temp_variable = { BUL_communist_cw_opposition = 0.25 }
				add_to_temp_variable = { BUL_communist_cw_opposition = party_popularity@neutrality }
				add_to_temp_variable = { BUL_communist_cw_opposition = party_popularity@fascism }

				set_politics = {
					ruling_party = communism
				}
				hidden_effect = {
					every_unit_leader = {
						limit = {
							OR = {
								has_id = 1207 #Asen Nikolov
								has_id = 1208 #Konstantin Lukash
							}
							NOT = { has_trait = trait_BUL_zveno_member }
						}
						add_unit_leader_trait = trait_BUL_tsar_loyalist
					}

					start_civil_war = {	
						ideology = neutrality
						size = BUL_communist_cw_opposition
						capital = 48
						states = { 212 }
						keep_unit_leaders_trigger = {
							NOT = {	has_trait = trait_BUL_tsar_loyalist }
						}
					}

					every_unit_leader = {
						limit = {
							has_trait = trait_BUL_tsar_loyalist
						}
						random_other_country = {
							limit = {
								original_tag = BUL
								has_government = neutrality
							}
							PREV = { set_nationality = PREV }
						}
					}

					#Operatives
					if = {
						limit = {
							has_dlc = "La Resistance"
						}
						every_operative = {
							limit = {
								has_trait = trait_BUL_tsar_loyalist
							}
							retire = yes
						}
					}
				}
				custom_effect_tooltip = BUL_depose_the_tsar_cw_tt

				clr_country_flag = BUL_factions_unlocked_flag
				
				promote_character = { 
					character = BUL_georgi_ivanov_kyoseivanov
					ideology = moderatism
				}	
			}
			else = {
				add_stability = -0.1
				if = {
					limit = {
						has_country_leader = {
							character = BUL_boris_iii
							ruling_only = yes
						}
					}
					retire_country_leader = yes
				}
				promote_character = { 
					character = BUL_georgi_ivanov_kyoseivanov
					ideology = moderatism
				}

				#Separate scopes for tt reasons
				every_unit_leader = {
					limit = {
						is_field_marshal = yes
						has_trait = trait_BUL_tsar_loyalist
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						is_field_marshal = no
						has_trait = trait_BUL_tsar_loyalist
					}
					retire = yes
				}
			}

			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes

			custom_effect_tooltip = BUL_potential_civil_war_low_requirement_tt
		}
	}

	focus = {
		id = BUL_abolish_the_tarnovo_constitution

		prerequisite = { focus = BUL_overthrow_the_tsar }
		icon = GFX_focus_renounce_the_treaty_of_trianon
		relative_position_id = BUL_overthrow_the_tsar
		x = -1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_stability = -0.05
			add_political_power = 120
			divide_variable = { BUL_faction_interaction_cost_standard = 2 }
			divide_variable = { BUL_broad_socialist_opression_cost_standard = 2 }

			BUL_zveno_low_loyalty_increase_effect = yes
			custom_effect_tooltip = BUL_reduced_faction_interaction_cost_tt
		}
	}

	focus = {
		id = BUL_unify_the_bourgeois_movement

		prerequisite = { focus = BUL_appoint_communist_ministers }
		icon = GFX_focus_generic_support_the_left_right
		relative_position_id = BUL_appoint_communist_ministers
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 30
			add_stability = 0.05
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			BUL_bs_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_united_front_against_fascism

		prerequisite = { focus = BUL_unify_the_bourgeois_movement }
		icon = GFX_focus_spr_the_anti_fascist_workers_revolution
		relative_position_id = BUL_unify_the_bourgeois_movement
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}

			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
		}
	}

	focus = {
		id = BUL_the_fatherland_front

		prerequisite = { focus = BUL_united_front_against_fascism }
		icon = GFX_focus_BUL_the_fatherland_front
		relative_position_id = BUL_united_front_against_fascism
		x = 0
		y = 1
		cost = 10

		available = {
			OR = {
				has_country_flag = BUL_bs_destroyed_flag
				has_country_flag = BUL_bs_integrated_flag
			}
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_the_fatherland_front_bzns_support_requirement_tt
					check_variable = { BUL_bzns_loyalty = 50 compare = greater_than }
				}
				has_country_flag = BUL_bzns_destroyed_flag
				has_country_flag = BUL_bzns_integrated_flag
			}
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_the_fatherland_front_zveno_support_requirement_tt
					check_variable = { BUL_zveno_loyalty = 50 compare = greater_than }
				}
				has_country_flag = BUL_zveno_destroyed_flag
				has_country_flag = BUL_zveno_integrated_flag
			}
			OR = {
				NOT = { has_government = communism }
				AND = {
					NOT = { has_war_with = SOV }
					any_country = {
						has_war_with = ROOT
						is_major = yes
						NOT = { has_government = communism }
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			set_party_name = {
				ideology = communism
				long_name = BUL_fatherland_front_party_long
				name = BUL_fatherland_front_party
			}

			set_temp_variable = { BUL_communist_support_from_faction_loyalties = 0.05 } #Base value representing BS
			if = {
				limit = {
					has_country_flag = BUL_bzns_integrated_flag
				}
				add_to_temp_variable = { BUL_communist_support_from_faction_loyalties = 0.1 }
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = BUL_bzns_destroyed_flag }
				}
				add_to_temp_variable = { BUL_communist_support_from_faction_loyalties = 0.05 }
			}
			if = {
				limit = {
					has_country_flag = BUL_zveno_integrated_flag
				}
				add_to_temp_variable = { BUL_communist_support_from_faction_loyalties = 0.1 }
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = BUL_zveno_destroyed_flag }
				}
				add_to_temp_variable = { BUL_communist_support_from_faction_loyalties = 0.05 }
			}
			add_popularity = {
				ideology = communism
				popularity = BUL_communist_support_from_faction_loyalties
			}
			custom_effect_tooltip = BUL_the_fatherland_front_communist_support_tt

			if = {
				limit = {
					has_government = communism
				}
				add_ideas = BUL_fatherland_front_positive
			}
			else = {
				set_country_flag = BUL_player_formed_fatherland_front_flag
			}

			BUL_zveno_medium_loyalty_increase_effect = yes
			BUL_bs_medium_loyalty_increase_effect = yes
			BUL_bzns_medium_loyalty_increase_effect = yes

			country_event = bftb_bulgaria_fatherland_front.1
		}
	}

	focus = {
		id = BUL_full_voting_rights_for_women

		prerequisite = { focus = BUL_the_fatherland_front focus = BUL_form_a_popular_bloc }
		icon = GFX_goal_generic_national_unity
		relative_position_id = BUL_the_fatherland_front
		x = 1
		y = 1
		cost = 10

		available = {
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_stability = 0.1
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_dimitrana_ivanova
			custom_effect_tooltip = BUL_full_voting_rights_for_women_ideology_tt
			if = {
				limit = {
					OR = {
						has_government = communism
						has_completed_focus = BUL_appoint_communist_ministers
					}
				}
				set_temp_variable = { BUL_communist_support_from_womens_rights = party_popularity@communism }
				divide_temp_variable = { BUL_communist_support_from_womens_rights = 10 }
				add_popularity = {
					ideology = communism
					popularity = BUL_communist_support_from_womens_rights
				}
				set_temp_variable = { BUL_democratic_support_from_womens_rights = party_popularity@democratic }
				divide_temp_variable = { BUL_democratic_support_from_womens_rights = 3 }
				add_popularity = {
					ideology = democratic
					popularity = BUL_democratic_support_from_womens_rights
				}
			}
			else_if = {
				limit = {
					OR = {
						has_government = democratic
						has_completed_focus = BUL_democratic_principles
					}
				}
				set_temp_variable = { BUL_communist_support_from_womens_rights = party_popularity@communism }
				divide_temp_variable = { BUL_communist_support_from_womens_rights = 3 }
				add_popularity = {
					ideology = communism
					popularity = BUL_communist_support_from_womens_rights
				}
				set_temp_variable = { BUL_democratic_support_from_womens_rights = party_popularity@democratic }
				divide_temp_variable = { BUL_democratic_support_from_womens_rights = 10 }
				add_popularity = {
					ideology = democratic
					popularity = BUL_democratic_support_from_womens_rights
				}
			}
			else = {
				set_temp_variable = { BUL_communist_support_from_womens_rights = party_popularity@communism }
				divide_temp_variable = { BUL_communist_support_from_womens_rights = 3 }
				add_popularity = {
					ideology = communism
					popularity = BUL_communist_support_from_womens_rights
				}
				set_temp_variable = { BUL_democratic_support_from_womens_rights = party_popularity@democratic }
				divide_temp_variable = { BUL_democratic_support_from_womens_rights = 3 }
				add_popularity = {
					ideology = democratic
					popularity = BUL_democratic_support_from_womens_rights
				}
			}
		}
	}

	focus = {
		id = BUL_the_peoples_republic_of_bulgaria

		prerequisite = { focus = BUL_overthrow_the_tsar }
		icon = GFX_focus_BUL_the_peoples_republic_of_bulgaria
		relative_position_id = BUL_overthrow_the_tsar
		x = 0
		y = 2
		cost = 10

		available = {
			communism > 0.4
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_the_peoples_republic_of_bulgaria_bs_support_requirement_tt
					check_variable = { BUL_bs_loyalty = 50 compare = greater_than }
				}
				has_country_flag = BUL_bs_destroyed_flag
				has_country_flag = BUL_bs_integrated_flag
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_stability = 0.1
			if = {
				limit = {
					has_idea = BUL_second_national_catastrophe
				}
				swap_ideas = {
					remove_idea = BUL_second_national_catastrophe
					add_idea = BUL_second_national_catastrophe_02
				}
			}
			if = {
				limit = {
					NOT = { has_government = communism }
				}
				set_politics = {
					ruling_party = communism
				}
			}
			add_political_power = 70

			#Using separate scopes for tooltip reasons
			#Separate scopes for tt reasons
			every_unit_leader = {
				limit = {
					is_field_marshal = yes
					OR = {
						has_id = 1207 #Nikolov
						has_id = 1208 #Lukash
					}
				}
				retire = yes
			}
			every_unit_leader = {
				limit = {
					is_field_marshal = no
					OR = {
						has_id = 1207 #Nikolov
						has_id = 1208 #Lukash
					}
				}
				retire = yes
			}
		}
	}

	focus = {
		id = BUL_soviet_bulgarian_treaty_of_mutual_assistance

		prerequisite = { focus = BUL_the_peoples_republic_of_bulgaria }
		icon = GFX_focus_chi_mission_to_the_soviet_union
		relative_position_id = BUL_the_peoples_republic_of_bulgaria
		x = -2
		y = 1
		cost = 10

		available = {
			country_exists = SOU
			NOT = { has_war_with = SOU }
			SOU = { 
				NOT = { is_justifying_wargoal_against = ROOT }
				has_opinion	= {
					target = ROOT
					value > 24
				}
				has_government = communism
				has_civil_war = no
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = SOU
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			
			if = {
				limit = {
					has_country_flag = BUL_soviet_influence_flag
				}
				modify_country_flag = { flag = BUL_soviet_influence_flag value = 1 }
			}
			else = {
				set_country_flag = { flag = BUL_soviet_influence_flag value = 1 }
			}

			if = {
				limit = {
					has_completed_focus = BUL_attract_foreign_capitals
				}
				custom_effect_tooltip = BUL_approach_soviet_foreign_industry_tt
			}

			if = {
				limit = {
					OR = {
						NOT = { country_exists = SOU }
						has_war_with = SOU
						SOU = { BUL_is_valid_subject = no }
					}
				}
				hidden_effect = {
					activate_targeted_decision = { target = SOU decision = BUL_purchase_artillery }
					activate_targeted_decision = { target = SOU decision = BUL_purchase_military_vehicles }
					activate_targeted_decision = { target = SOU decision = BUL_purchase_aircraft }
					activate_targeted_decision = { target = SOU decision = BUL_purchase_infantry_equipment }
					activate_targeted_decision = { target = SOU decision = BUL_purchase_armor }
					activate_targeted_decision = { target = SOU decision = BUL_purchase_ships }
				}
			}
			else = {
				activate_targeted_decision = { target = SOU decision = BUL_purchase_artillery }
				activate_targeted_decision = { target = SOU decision = BUL_purchase_military_vehicles }
				activate_targeted_decision = { target = SOU decision = BUL_purchase_aircraft }
				activate_targeted_decision = { target = SOU decision = BUL_purchase_infantry_equipment }
				activate_targeted_decision = { target = SOU decision = BUL_purchase_armor }
				activate_targeted_decision = { target = SOU decision = BUL_purchase_ships }
			}

			SOU = {
				country_event = { id = bftb_bulgaria_soviet_influence.1 hours = 8 random_hours = 8 }
			}
			effect_tooltip = {
				custom_effect_tooltip = BUL_soviet_bulgarian_treaty_of_mutual_assistance_tt
				add_opinion_modifier = { 
					target = SOU
					modifier = BUL_strengthened_relations_with_us
				}
				SOU = {
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_strengthened_relations_with_us
					}
					give_guarantee = ROOT
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
						active = yes
					}
				}
				every_country = {
					limit = {
						OR = {
							tag = ENG
							tag = FRA
							tag = GER
						}
						NOT = { is_in_faction_with = SOU }
					}
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_approached_the_ussr
					}
				}
			}

			SOU = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = SOU
				value = 20
			}
		}
	}

	focus = {
		id = BUL_follow_the_stalinist_doctrine

		prerequisite = { focus = BUL_soviet_bulgarian_treaty_of_mutual_assistance }
		icon = GFX_focus_fra_loyalty_stalin
		relative_position_id = BUL_soviet_bulgarian_treaty_of_mutual_assistance
		x = 0
		y = 4
		cost = 5
		mutually_exclusive = { focus = BUL_balkan_federation_of_socialist_republics }

		bypass = {
			OR = {
				NOT = { country_exists = SOV }
				NOT = { SOU = { has_government = communism } }
				is_in_faction_with = SOU
			}
		}

		available = {
			if = {
				limit = {
					OR = {
						NOT = { country_exists = SOU }
						NOT = { SOU = { has_government = communism } }
						is_in_faction_with = SOU
					}
				}
				#This is intended so that the focus does not look unavailable when it is actually bypassed
			}
			else = {
				SOU = {
					has_government = communism
					is_faction_leader = yes
					is_subject = no
					has_civil_war = no
					NOT = { is_justifying_wargoal_against = ROOT }
					NOT = { has_war_with = ROOT }
				}
				SOU = { #Split for easier visualization in the tooltip
					has_opinion	= {
						target = ROOT
						value > 50
					}
				}
				is_in_faction = no
				is_subject = no
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_political_power = 70			
			SOU = {
				country_event = { id = generic.2 hours = 4 random_hours = 4 }
			}
			if = {
				limit = {
					SOU = { has_war = yes }
				}
				add_war_support = 0.1
			}

			SOU = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = SOU
				value = 100
			}
		}
	}

	focus = {
		id = BUL_joint_research_effort

		prerequisite = { focus = BUL_follow_the_stalinist_doctrine }
		icon = GFX_focus_generic_socialist_science
		relative_position_id = BUL_follow_the_stalinist_doctrine
		x = -1
		y = 1
		cost = 10

		available = {
			BUL_is_not_alone_in_faction = yes
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					is_in_faction = yes
					NOT = { is_in_faction_with = SOV }
				}
				add_to_tech_sharing_group = BUL_bulgarian_academy_of_sciences
				every_country = {
					limit = {
						is_in_faction_with = ROOT
					}
					add_to_tech_sharing_group = BUL_bulgarian_academy_of_sciences
				}
			}
			else = {
				SOV = { add_to_tech_sharing_group = comintern_research }
				add_to_tech_sharing_group = comintern_research
			}
		}
	}

	focus = {
		id = BUL_soviet_military_exercises

		prerequisite = { focus = BUL_joint_research_effort }
		icon = GFX_focus_generic_military_mission
		relative_position_id = BUL_joint_research_effort
		x = 0
		y = 1
		cost = 10

		available = {
			is_in_faction_with = SOV
		}

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_doctrine_cost_reduction = { 
				name = BUL_darzhavna_samoletna_fabrika
			    cost_reduction = 0.5
			    uses = 2
				category = land_doctrine
				category = air_doctrine
				category = naval_doctrine
			}
			army_experience = 20
			air_experience = 20
			navy_experience = 20
		}
	}

	focus = {
		id = BUL_soviet_bulgarian_war_industry

		prerequisite = { focus = BUL_soviet_military_exercises }
		icon = GFX_goal_generic_army_tanks
		relative_position_id = BUL_soviet_military_exercises
		x = 0
		y = 1
		cost = 10

		available = {
			is_in_faction_with = SOV
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = BUL_soviet_bulgarian_war_industry_flag
			}
			random_owned_controlled_state = {
				limit = {
					NOT = { has_state_flag = BUL_soviet_bulgarian_war_industry_flag }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = BUL_soviet_bulgarian_war_industry_flag
			}
			random_owned_controlled_state = {
				limit = {
					NOT = { has_state_flag = BUL_soviet_bulgarian_war_industry_flag }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = { has_state_flag = BUL_soviet_bulgarian_war_industry_flag }
				clr_state_flag = BUL_soviet_bulgarian_war_industry_flag
			}

			custom_effect_tooltip = BUL_soviet_bulgarian_war_industry_research_sharing_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_in_tech_sharing_group = comintern_research
					}
					remove_from_tech_sharing_group = comintern_research
					add_to_tech_sharing_group = BUL_improved_comintern_research
				}
			}

			if = {
				limit = {
					has_dlc = "Death or Dishonor"
				}
				SOV = {
					#Latest Light Tank license
					if = {
						limit = {
							has_tech = advanced_light_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_equipment_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_light_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_equipment_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_light_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_equipment_1
							}
							cost_factor = 0
						}
					}
					#Latest Medium Tank license
					if = {
						limit = {
							has_tech = advanced_medium_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_equipment_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_medium_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_equipment_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_medium_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_equipment_1
							}
							cost_factor = 0
						}
					}
					#Latest Heavy Tank license
					if = {
						limit = {
							has_tech = advanced_heavy_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_equipment_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_heavy_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_equipment_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_heavy_tank
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_equipment_1
							}
							cost_factor = 0
						}
					}
					if = {
						limit = {
							has_tech = advanced_light_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_chassis_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_light_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_chassis_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_light_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = light_tank_chassis_1
							}
							cost_factor = 0
						}
					}
					#Latest Medium Tank license
					if = {
						limit = {
							has_tech = advanced_medium_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_chassis_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_medium_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_chassis_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_medium_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = medium_tank_chassis_1
							}
							cost_factor = 0
						}
					}
					#Latest Heavy Tank license
					if = {
						limit = {
							has_tech = advanced_heavy_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_chassis_3
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = improved_heavy_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_chassis_2
							}
							cost_factor = 0
						}
					}
					else_if = {
						limit = {
							has_tech = basic_heavy_tank_chassis
						}
						create_production_license = {
							target = BUL
							equipment = {
								type = heavy_tank_chassis_1
							}
							cost_factor = 0
						}
					}
				}
			}
			else = {
				BUL = {
					add_tech_bonus = {
						name = armor
						bonus = 0.5
						uses = 2
						category = armor
					}
				}
			}
		}
	}

	focus = {
		id = BUL_carry_the_revolution_abroad

		select_effect = {
			random_neighbor_country = {
				limit = {
					BUL_is_balkan_nation = yes
					OR = {
						AND = {
							has_government = communism
							is_in_faction = yes
							NOT = { is_in_faction_with = ROOT }
						}
						NOT = { has_government = communism }
					}
				}
				ROOT = {
					add_ai_strategy = {
						type = prepare_for_war
						id = PREV
						value = 100
					}
				}
			}	
		}

		prerequisite = { focus = BUL_follow_the_stalinist_doctrine }
		icon = GFX_focus_spr_masters_of_our_own_fate
		relative_position_id = BUL_follow_the_stalinist_doctrine
		x = 1
		y = 1
		cost = 10

		available = {
			has_government = communism
			is_subject = no
		}
		

		completion_reward = {

			if = {
				limit = {
					is_in_faction = no
				}
				custom_effect_tooltip = BUL_carry_the_revolution_abroad_tt
			}

			if = {
				limit = {
					has_completed_focus = BUL_follow_the_stalinist_doctrine
					is_in_faction = no
				}
				set_rule = {
					can_create_factions = yes
				}
			}
			else_if = {
				limit = {
					is_in_faction = yes
				}
				custom_effect_tooltip = BUL_carry_the_revolution_abroad_tt
			}

			if = { #BULGARIA IS PART OF THE COMINTERN
				limit = {
					is_in_faction_with = SOV
					SOV = { is_faction_leader = yes }
				}
				add_war_support = 0.1
				custom_effect_tooltip = BUL_carry_the_revolution_abroad_comintern_invitation_tt
				hidden_effect = {
					every_other_country = { #Independent Balkan commie nations are invited to the Comintern (or wargoal)
						limit = {
							BUL_is_balkan_nation = yes
							has_government = communism
							is_in_faction = no
						}
						country_event = { id = bftb_bulgaria_soviet_influence.4 hours = 4 random_hours = 2 }
					}
				}
			}
			else = { #BULGARIA IS PART OF ANOTHER FACTION (or is not in a faction)
				every_other_country = { #Independent Balkan commie nations receive opinion bonuses with Bulgaria
					limit = {
						BUL_is_balkan_nation = yes
						has_government = communism
						is_in_faction = no
					}
					add_opinion_modifier = {
						target = BUL
						modifier = BUL_balkan_communism
					}
					hidden_effect = {
						add_opinion_modifier = {
							target = BUL
							modifier = BUL_balkan_communism_trade
						}
					}
					BUL = {
						add_opinion_modifier = {
							target = PREV
							modifier = BUL_balkan_communism
						}
						hidden_effect = {
							add_opinion_modifier = {
								target = PREV
								modifier = BUL_balkan_communism_trade
							}
						}
					}
					custom_effect_tooltip = BUL_carry_the_revolution_abroad_alternative_invitation_tt
					if = {
						limit = {
							ROOT = { is_faction_leader = yes }
						}
						hidden_effect = {
							country_event = generic.5
						}
					}
				}
			}

			custom_effect_tooltip = BUL_carry_the_revolution_abroad_wargoals_tt
			#CREATE A WARGOAL AGAINST ANY BALKAN NON COMMUNIST NATION OR COMMUNIST NATION IN ANOTHER FACTION
			every_other_country = {
				limit = {
					BUL_is_balkan_nation = yes
					OR = {
						AND = {
							has_government = communism
							is_in_faction = yes
							NOT = { is_in_faction_with = ROOT }
						}
						NOT = { has_government = communism }
					}
				}
				hidden_effect = {
					add_opinion_modifier = {
						target = BUL
						modifier = BUL_communist_menace
					}
					hidden_effect = {
						add_opinion_modifier = {
							target = BUL
							modifier = BUL_communist_menace_trade
						}
					}
					BUL = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							expire = 730
						}
					}
				}
			}
		}
	}

	focus = {
		id = BUL_liberation_of_the_proletariat

		prerequisite = { focus = BUL_carry_the_revolution_abroad }
		icon = GFX_focus_ger_great_red_menace
		relative_position_id = BUL_carry_the_revolution_abroad
		x = 0
		y = 1
		cost = 10

		available = {
			has_government = communism
			is_subject = no
		}
		
		completion_reward = {
			custom_effect_tooltip = BUL_liberation_of_the_proletariat_tt
			every_other_country = {
				limit = {
					OR = {
						AND = {
							is_major = yes
							capital_scope = { is_on_continent = europe }
						}
						is_neighbor_of = ROOT
					}
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					NOT = { is_in_faction_with = ROOT }
				}
				hidden_effect = {
					ROOT = {
						create_wargoal = {
							type = topple_government
							target = PREV
							expire = 730
						}
					}
				}
			}
		}
	}

	focus = {
		id = BUL_the_anti_capitalist_fight

		prerequisite = { focus = BUL_liberation_of_the_proletariat }
		icon = GFX_focus_generic_strike_at_democracy3
		relative_position_id = BUL_liberation_of_the_proletariat
		x = 0
		y = 1
		cost = 10

		available = {
			has_government = communism
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes
						has_government = democratic
						NOT = { is_in_faction_with = ROOT }
						capital_scope = { is_on_continent = europe }
					}
					ROOT = {
						create_wargoal = {
							type = topple_government
							target = PREV
							expire = 730
						}
					}
					BUL_add_hidden_targeted_ns = yes
				}
			}
			custom_effect_tooltip = BUL_the_anti_capitalist_fight_wargoal_tt

			add_timed_idea = {
				idea = BUL_anti_capitalism
				days = 730
			}
			custom_effect_tooltip = BUL_the_anti_capitalist_fight_ns_tt
			every_other_country = {
				limit = {
					is_major = yes
					has_government = democratic
					capital_scope = { is_on_continent = europe }
				}
			}
		}
	}

	focus = {
		id = BUL_united_we_shall_prevail

		prerequisite = { focus = BUL_liberation_of_the_proletariat focus = BUL_balkan_trade_union_secretariat }
		icon = GFX_goal_generic_military_deal
		relative_position_id = BUL_liberation_of_the_proletariat
		x = 2
		y = 1
		cost = 10

		available = {
			if = {
				limit = {
					has_completed_focus = BUL_democratic_principles
				}
				has_government = democratic
				any_country = {
					BUL_is_balkan_nation_no_bulgaria = yes
					is_in_faction_with = ROOT
					has_government = democratic
				}
			}
			else_if = {
				limit = {
					has_completed_focus = BUL_appoint_communist_ministers
				}
				has_government = communism
				any_country = {
					BUL_is_balkan_nation_no_bulgaria = yes
					is_in_faction_with = ROOT
					has_government = communism
				}
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = BUL_democratic_principles }
					NOT = { has_completed_focus = BUL_appoint_communist_ministers }
				}
				OR = {
					has_government = democratic
					has_government = communism
				}
				any_country = {
					BUL_is_balkan_nation_no_bulgaria = yes
					is_in_faction_with = ROOT
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.15
			if = {
				limit = {
					any_country = {
						BUL_is_balkan_nation = yes
						is_in_faction_with = ROOT
						has_government = ROOT
					}
				}
				every_country = {
					limit = {
						BUL_is_balkan_nation = yes
						is_in_faction_with = ROOT
						has_government = ROOT
					}
					add_ideas = BUL_the_balkans_united
				}
			}
			else = {
				custom_effect_tooltip = BUL_united_we_shall_prevail_tt
			}
		}
	}

	focus = {
		id = BUL_the_unification_of_the_balkans

		prerequisite = { focus = BUL_united_we_shall_prevail }
		icon = GFX_focus_BUL_the_unification_of_the_balkans
		relative_position_id = BUL_united_we_shall_prevail
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_free_balkan_states }

		available = {
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			if = {
				limit = {
					has_idea = BUL_second_national_catastrophe
				}
				effect_tooltip = {
					remove_ideas = BUL_second_national_catastrophe
				}
			}
			else_if = {
				limit = {
					has_idea = BUL_second_national_catastrophe_02
				}
				remove_ideas = BUL_second_national_catastrophe_02
			}

			#Core Balkan States
			custom_effect_tooltip = BUL_the_unification_of_the_balkans_cores_tt
			every_state = {
				limit = {
					BUL_is_balkan_state = yes
					NOT = { is_core_of = ROOT }
				}
				hidden_effect = {
					ROOT = { add_state_core = PREV }
					if = {
						limit = {
							is_claimed_by = ROOT
						}
						remove_claim_by = ROOT
					}
				}
			}

			#Event for unification
			if = {
				limit = {
					any_other_country = {
						BUL_is_balkan_nation = yes
						is_in_faction_with = ROOT
					}
				}
				every_other_country = {
					limit = {
						BUL_is_balkan_nation = yes
						is_in_faction_with = ROOT
					}
					country_event = { id = bftb_bulgaria_balkan_federation.5 hours = 6 random_hours = 6 }
				}
			}
			else = {
				custom_effect_tooltip = BUL_the_unification_of_the_balkans_event_tt
			}
			
			#Set ideology cosmetic tag to show the appropriate 3D models
			set_country_flag = BUL_ubf_flag
			BUL_set_appropriate_cosmetic_tag = yes

			hidden_effect = {
				news_event = { id = bftb_news.10 hours = 24 random_hours = 4 }
			}
		}
	}

	focus = {
		id = BUL_the_peoples_militia_directorate

		prerequisite = { focus = BUL_the_peoples_republic_of_bulgaria }
		icon = GFX_focus_generic_join_comintern
		relative_position_id = BUL_the_peoples_republic_of_bulgaria
		x = -1
		y = 2
		cost = 10

		available = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				has_intelligence_agency = yes
			}
		}
		
		completion_reward = {
			add_stability = 0.05
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = BUL_the_peoples_militia_directorate_lar
			}
			else = {
				add_ideas = BUL_the_peoples_militia_directorate
			}
		}
	}

	focus = {
		id = BUL_purge_the_elites

		prerequisite = { focus = BUL_the_peoples_republic_of_bulgaria }
		icon = GFX_goal_generic_war_with_comintern #GFX_focus_spr_class_war GFX_focus_rom_parties_end
		relative_position_id = BUL_the_peoples_republic_of_bulgaria
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_stability = -0.05
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_political_power = 70
			add_timed_idea = {
				idea = BUL_elites_crushed
				days = 365
			} 

			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
		}
	}

	focus = {
		id = BUL_collectivization_of_the_countryside

		prerequisite = { focus = BUL_purge_the_elites }
		icon = GFX_focus_prc_agrarian_socialism
		relative_position_id = BUL_purge_the_elites
		x = 0
		y = 2
		cost = 10

		available = {
			communism > 0.7
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_collectivization_of_the_countryside_bs_support_requirement_tt
					check_variable = { BUL_bs_loyalty = 70 compare = greater_than }
				}
				has_country_flag = BUL_bs_destroyed_flag
				has_country_flag = BUL_bs_integrated_flag
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_ideas = BUL_government_reforms_communists_01
		}
	}

	focus = {
		id = BUL_heavy_industry

		prerequisite = { focus = BUL_collectivization_of_the_countryside }
		icon = GFX_goal_generic_soviet_construction
		relative_position_id = BUL_collectivization_of_the_countryside
		x = 0
		y = 1
		cost = 10

		available = {
			num_of_factories > 30
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			swap_ideas = {
				remove_idea = BUL_government_reforms_communists_01
				add_idea = BUL_government_reforms_communists_02
			}
		}
	}

	focus = {
		id = BUL_train_the_youth_wings

		prerequisite = { focus = BUL_the_peoples_republic_of_bulgaria }
		icon = GFX_focus_YUG_pan_slavic_congress #GFX_goal_support_communism
		relative_position_id = BUL_the_peoples_republic_of_bulgaria
		x = 1
		y = 2
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_war_support = 0.05
			add_ideas = BUL_trained_youth_wings
		}
	}

	focus = {
		id = BUL_treaty_of_perpetual_friendship

		prerequisite = { focus = BUL_the_peoples_republic_of_bulgaria }
		icon = GFX_focus_invite_yugoslavia
		relative_position_id = BUL_the_peoples_republic_of_bulgaria
		x = 2
		y = 1
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = YUG }
				YUG = { is_subject = yes }
				YUG = { has_capitulated = yes }
			}
		}

		available = {
			country_exists = YUG
			NOT = { has_war_with = YUG }
			YUG = { 
				NOT = { is_justifying_wargoal_against = ROOT }
				has_opinion	= {
					target = ROOT
					value > 24
				}
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = YUG
			}
		}
		
		completion_reward = {
			unlock_decision_category_tooltip = BUL_the_balkan_federation_dream
			YUG = {
				country_event = { id = bftb_bulgaria_yugoslavian_influence.1 hours = 4 random_hours = 4 }
			}
			custom_effect_tooltip = BUL_treaty_of_perpetual_friendship_event_effects_tt
			custom_effect_tooltip = BUL_treaty_of_perpetual_friendship_claims_tt
			effect_tooltip = {
				YUG = {
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
						active = yes
					}
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_strengthened_relations_with_us
					}
				}
				add_opinion_modifier = { 
					target = YUG
					modifier = BUL_strengthened_relations_with_us
				}

				add_ideas = BUL_balkan_federation_project_propaganda
				YUG = { add_ideas = BUL_balkan_federation_project_propaganda }

				every_country = {
					limit = {
						BUL_country_can_influence_bulgaria = yes
						NOT = { is_in_faction_with = ROOT }
						NOT = { is_in_faction_with = YUG }
					}
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_approached_yugoslavia
					}
				}
			}

			YUG = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = YUG
				value = 20
			}
		}
	}

	focus = {
		id = BUL_balkan_federation_of_socialist_republics

		prerequisite = { focus = BUL_treaty_of_perpetual_friendship }
		icon = GFX_focus_BUL_balkan_federation_of_socialist_republics
		relative_position_id = BUL_treaty_of_perpetual_friendship
		x = 0
		y = 4
		cost = 5
		mutually_exclusive = { focus = BUL_follow_the_stalinist_doctrine }

		available = {
			has_country_flag = BUL_balkan_federation_project_ready_flag
			is_in_faction = no
			has_government = communism
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_STABILITY}
		completion_reward = {
			
			add_stability = 0.1

			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_BUL_balkan_federation_of_socialist_republics
				add_faction_initiative = 1
			}
			ELSE = {
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_BUL_balkan_federation_of_socialist_republics
			}

			YUG = {
				hidden_effect = {
					country_event = { id = generic.5 hours = 4 random_hours = 4 }
				}
				custom_effect_tooltip = BUL_balkan_federation_of_socialist_republics_faction_tt
			}
			custom_effect_tooltip = BUL_balkan_federation_of_socialist_republics_decisions_tt

			hidden_effect = {
				news_event = { id = bftb_news.9 hours = 8 random_hours = 4 }
			}

			YUG = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = YUG
				value = 100
			}
		}
	}

	focus = {
		id = BUL_bury_the_grudges_of_the_past

		prerequisite = { focus = BUL_balkan_federation_of_socialist_republics focus = BUL_a_balkan_confederation }
		icon = GFX_goal_generic_major_alliance
		relative_position_id = BUL_balkan_federation_of_socialist_republics
		x = 1
		y = 1
		cost = 10

		available = {
			is_subject = no
		}
		
		completion_reward = {
			if = {
				limit = {
					OR = {
						has_idea = BUL_second_national_catastrophe
						has_idea = BUL_second_national_catastrophe_02
					}
				}
				remove_ideas = BUL_second_national_catastrophe_02
			}
			if = {
				limit = {
					has_completed_focus = BUL_democratic_principles
				}
				every_other_country = {
					limit = {
						BUL_is_balkan_nation = yes
						has_government = democratic
						is_in_faction = no
					}
					if = {
						limit = {
							any_owned_state = {
								is_claimed_by = ROOT
							}
						}
						every_owned_state = {
							limit = {
								is_claimed_by = ROOT
							}
							remove_claim_by = ROOT
						}
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = BUL_old_quarrels_left_behind
					}
					hidden_effect = { 
						country_event = generic.5
					}				
					custom_effect_tooltip = BUL_a_balkan_confederation_faction_tt
				}
				custom_effect_tooltip = BUL_bury_the_grudges_of_the_past_explanatory_democratic_tt
			}
			else = {
				every_other_country = {
					limit = {
						BUL_is_balkan_nation = yes
						has_government = communism
						is_in_faction = no
					}
					if = {
						limit = {
							any_owned_state = {
								is_claimed_by = ROOT
							}
						}
						every_owned_state = {
							limit = {
								is_claimed_by = ROOT
							}
							remove_claim_by = ROOT
						}
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = BUL_old_quarrels_left_behind
					}
					hidden_effect = { 
						country_event = generic.5
					}				
					custom_effect_tooltip = BUL_balkan_federation_of_socialist_republics_faction_tt
				}
				custom_effect_tooltip = BUL_bury_the_grudges_of_the_past_explanatory_tt
			}

			hidden_effect = {
				every_other_country = {
					limit = {
						BUL_is_balkan_nation = yes
					}
					ROOT = {
						add_ai_strategy = {
							type = befriend
							id = PREV
							value = 20
						}
					}
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = 20
					}
				}
			}
		}
	}

	focus = {
		id = BUL_balkan_trade_union_secretariat

		prerequisite = { focus = BUL_bury_the_grudges_of_the_past }
		icon = GFX_goal_generic_positive_trade_relations
		relative_position_id = BUL_bury_the_grudges_of_the_past
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_ideas = BUL_balkan_trade_union_secretariat
			hidden_effect = {
				every_other_country = {
					limit = {
						is_in_faction_with = ROOT
						BUL_is_balkan_nation = yes
					}
					add_ideas = BUL_balkan_trade_union_secretariat
				}
			}
			custom_effect_tooltip = BUL_balkan_trade_union_secretariat_tt
		}
	}

	focus = {
		id = BUL_defy_moscow

		select_effect = {
			add_ai_strategy = {
				type = prepare_for_war
				id = SOV
				value = 100
			}
		}

		prerequisite = { focus = BUL_balkan_trade_union_secretariat }
		icon = GFX_focus_ger_strike_at_the_source
		relative_position_id = BUL_balkan_trade_union_secretariat
		x = 0
		y = 1
		cost = 10

		available = {
			country_exists = SOV
			NOT = {	is_in_faction_with = SOV }
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
			if = {
				limit = {
					OR = {
						has_completed_focus = BUL_a_balkan_confederation
					}
				}
				create_wargoal = {
					type = topple_government
					target = SOV
				}
			}
			else = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = SOV
				}
			}
			add_timed_idea = {
				idea = BUL_defying_moscow
				days = 730
			}
			if = {
				limit = {
					SOV = { has_opinion_modifier = BUL_strengthened_relations_with_us }
				}
				remove_opinion_modifier = {
					target = SOV
					modifier = BUL_strengthened_relations_with_us
				}
				SOV = {
					remove_opinion_modifier = {
						target = ROOT
						modifier = BUL_strengthened_relations_with_us
					}
				}
			}
			if = {
				limit = {
					has_non_aggression_pact_with = SOV
				}
				diplomatic_relation = {
					country = ROOT
					relation = non_aggression_pact
					active = no
				}
			}
			if = {
				limit = {
					is_guaranteed_by = SOV
				}
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = no
				}
			}

			add_ai_strategy = {
				type = declare_war
				id = SOV
				value = 50
			}					
		}
	}

	focus = {
		id = BUL_balkan_research_cooperation

		prerequisite = { focus = BUL_bury_the_grudges_of_the_past }
		icon = GFX_focus_research2
		relative_position_id = BUL_bury_the_grudges_of_the_past
		x = -2
		y = 1
		cost = 10

		available = {
			BUL_is_not_alone_in_faction = yes
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_to_tech_sharing_group = BUL_balkan_research_cooperation_program
			every_country = {
				limit = {
					is_in_faction_with = ROOT
				}
				add_to_tech_sharing_group = BUL_balkan_research_cooperation_program
			}
		}
	}

	focus = {
		id = BUL_recover_italian_territories

		prerequisite = { focus = BUL_bury_the_grudges_of_the_past }
		icon = GFX_focus_attack_italy
		relative_position_id = BUL_bury_the_grudges_of_the_past
		x = 2
		y = 1
		cost = 10

		available = {
			country_exists = ITA
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			ITA = {
				country_event = { id = bftb_bulgaria_balkan_federation.12 hours = 6 random_hours = 4 }
			}
			if = {
				limit = {
					ITA = {
						OR = {
							has_war_with = ROOT
							any_allied_country = {
								is_in_faction_with = ITA
								has_war_with = ROOT
							}
						}
					}
				}
				custom_effect_tooltip = BUL_recover_italian_territories_ita_will_refuse_tt
			}
		}
	}


########  ######## ##     ##  #######   ######  ########     ###    ######## ####  ######     ########  ########     ###    ##    ##  ######  ##     ## 
##     ## ##       ###   ### ##     ## ##    ## ##     ##   ## ##      ##     ##  ##    ##    ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
##     ## ##       #### #### ##     ## ##       ##     ##  ##   ##     ##     ##  ##          ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
##     ## ######   ## ### ## ##     ## ##       ########  ##     ##    ##     ##  ##          ########  ########  ##     ## ## ## ## ##       ######### 
##     ## ##       ##     ## ##     ## ##       ##   ##   #########    ##     ##  ##          ##     ## ##   ##   ######### ##  #### ##       ##     ## 
##     ## ##       ##     ## ##     ## ##    ## ##    ##  ##     ##    ##     ##  ##    ##    ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
########  ######## ##     ##  #######   ######  ##     ## ##     ##    ##    ####  ######     ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = BUL_democratic_principles

		prerequisite = { focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_goal_support_democracy
		relative_position_id = BUL_oppose_the_royal_dictatorship
		x = 3
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_appoint_communist_ministers }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_stefan_stefanov
			show_ideas_tooltip = BUL_konstantin_muraviev

			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
		}
	}

	focus = {
		id = BUL_legalize_the_agrarian_party

		prerequisite = { focus = BUL_democratic_principles }
		icon = GFX_goal_generic_improve_relations
		relative_position_id = BUL_democratic_principles
		x = -1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_seek_cooperation_with_the_tsar }

		bypass = {
			has_country_flag = BUL_bzns_integrated_flag
		}

		available = {
			NOT = { has_country_flag = BUL_bzns_destroyed_flag }
			NOT = { has_country_flag = BUL_bzns_media_banned_flag }
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 120
			add_stability = 0.1
			add_war_support = -0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}

			BUL_bzns_medium_loyalty_increase_effect = yes
			BUL_bzns_medium_popularity_increase_effect = yes
			if = {
				limit = {
					NOT = { has_country_flag = BUL_bzns_legalized_flag }
				}
				set_country_flag = BUL_bzns_legalized_flag
				custom_effect_tooltip = BUL_legalize_the_agrarian_party_legalize_bzns_tt
			}

			hidden_effect = {
				if = {
					limit = {
						has_government = democratic
					}
					set_country_leader_ideology = socialism
				}
			}
		}
	}

	focus = {
		id = BUL_form_a_popular_bloc

		prerequisite = { focus = BUL_legalize_the_agrarian_party }
		icon = GFX_goal_generic_demand_territory
		relative_position_id = BUL_legalize_the_agrarian_party
		x = -1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			divide_variable = { BUL_faction_interaction_cost_standard = 2 }
			divide_variable = { BUL_broad_socialist_opression_cost_standard = 2 }
			custom_effect_tooltip = BUL_reduced_faction_interaction_cost_tt

			BUL_bs_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
		}
	}

	focus = {
		id = BUL_abolish_the_monarchy

		prerequisite = { focus = BUL_legalize_the_agrarian_party }
		icon = GFX_focus_rom_handle_king
		relative_position_id = BUL_legalize_the_agrarian_party
		x = 1
		y = 1
		cost = 10

		bypass = {
			has_completed_focus = BUL_legalize_the_agrarian_party
			has_country_flag = BUL_tsar_boris_is_dead_flag
		}

		available = {
			democratic > 0.3
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			remove_ideas = BUL_tsar_boris_negative_01
			if = {
				limit = {
					has_idea = BUL_georgi_ivanov_kyoseivanov
				}
				remove_ideas = BUL_georgi_ivanov_kyoseivanov

			}

			

			if = { #Low Stability triggers a Civil War
				limit = {
					has_stability < 0.3
				}
				set_temp_variable = { BUL_democratic_cw_opposition = party_popularity@neutrality }
				multiply_temp_variable = { BUL_democratic_cw_opposition = 0.5 }
				add_to_temp_variable = { BUL_democratic_cw_opposition = party_popularity@fascism }
				
				set_politics = {
					ruling_party = democratic
				}
				hidden_effect = {
					start_civil_war = {	
						ideology = neutrality
						size = BUL_democratic_cw_opposition
						capital = 48
						states = { 212 }
						keep_unit_leaders_trigger = {
							NOT = {	has_trait = trait_BUL_tsar_loyalist }
						}
					}

					every_unit_leader = {
						limit = {
							has_trait = trait_BUL_tsar_loyalist
						}
						random_other_country = {
							limit = {
								original_tag = BUL
								has_government = neutrality
							}
							PREV = { set_nationality = PREV }
						}
					}
					random_other_country = { 
						limit = { 
							original_tag = BUL 
							has_government = neutrality
						}
						promote_character = {
							character = BUL_georgi_ivanov_kyoseivanov
							ideology = moderatism
						}
					}
				
					#Operatives
					if = {
						limit = {
							has_dlc = "La Resistance"
						}
						every_operative = {
							limit = {
								has_trait = trait_BUL_tsar_loyalist
							}
							retire = yes
						}
					}
				}
				custom_effect_tooltip = BUL_depose_the_tsar_cw_tt
				clr_country_flag = BUL_factions_unlocked_flag
			}
			else = {
				every_unit_leader = {
					limit = {
						NOT = { has_id = 1204 } #Boydev
						has_trait = trait_BUL_tsar_loyalist
					}
					custom_effect_tooltip = BUL_remove_tsar_loyalist_trait_tt
					remove_unit_leader_trait = trait_BUL_tsar_loyalist
				}
				random_unit_leader = {
					limit = {
						has_id = 1204 #Boydev
					}
					retire = yes
				}
				add_stability = -0.1
				if = {
					limit = {
						has_country_leader = {
							character = BUL_boris_iii
							ruling_only = yes
						}
					}
					retire_country_leader = yes
				}
				promote_character = { 
					character = BUL_georgi_ivanov_kyoseivanov
					ideology = moderatism
				}
			}

			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes

			custom_effect_tooltip = BUL_potential_civil_war_low_requirement_tt

			hidden_effect = {
				if = {
					limit = {
						has_government = democratic
					}
					set_cosmetic_tag = BUL_democratic
				}
			}
		}
	}

	focus = {
		id = BUL_seek_cooperation_with_the_tsar

		prerequisite = { focus = BUL_democratic_principles }
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		relative_position_id = BUL_democratic_principles
		x = 1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_legalize_the_agrarian_party }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_stability = 0.05
			swap_ideas = {
				remove_idea = BUL_tsar_boris_negative_01
				add_idea = BUL_tsar_boris_negative_02
			}
			divide_variable = { BUL_faction_interaction_cost_standard = 2 }
			divide_variable = { BUL_broad_socialist_opression_cost_standard = 2 }
			custom_effect_tooltip = BUL_reduced_faction_interaction_cost_tt
		}
	}

	focus = {
		id = BUL_legislative_elections

		prerequisite = { focus = BUL_abolish_the_monarchy focus = BUL_seek_cooperation_with_the_tsar }
		icon = GFX_goal_generic_neutrality_focus
		relative_position_id = BUL_abolish_the_monarchy
		x = 1
		y = 1
		cost = 10

		available = {
			democratic > 0.4
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_the_fatherland_front_bzns_support_requirement_tt
					check_variable = { BUL_bzns_loyalty = 50 compare = greater_than }
				}
				has_country_flag = BUL_bzns_destroyed_flag
				has_country_flag = BUL_bzns_integrated_flag
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_stability = 0.1
			if = {
				limit = {
					has_idea = BUL_second_national_catastrophe
				}
				swap_ideas = {
					remove_idea = BUL_second_national_catastrophe
					add_idea = BUL_second_national_catastrophe_02
				}
			}
			if = {
				limit = {
					NOT = { has_government = democratic }
				}
				set_politics = {
					ruling_party = democratic
					last_election = "1936.1.1"
					election_frequency = 48
					elections_allowed = yes
				}
			}

			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_petorka

		prerequisite = { focus = BUL_seek_cooperation_with_the_tsar }
		icon = GFX_goal_tripartite_pact
		relative_position_id = BUL_seek_cooperation_with_the_tsar
		x = 4
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 50
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_ideas = BUL_petorka

			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
		}
	}

	focus = {
		id = BUL_land_reorganization

		prerequisite = { focus = BUL_legislative_elections }
		icon = GFX_focus_generic_the_giant_wakes
		relative_position_id = BUL_legislative_elections
		x = 0
		y = 2
		cost = 10

		available = {
			has_stability > 0.5
			democratic > 0.7
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			custom_effect_tooltip = BUL_land_reorganization_tt
			every_owned_state = {
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
			}
		}
	}

	focus = {
		id = BUL_agrarian_cooperative_movement

		prerequisite = { focus = BUL_land_reorganization }
		icon = GFX_goal_generic_consumer_goods
		relative_position_id = BUL_land_reorganization
		x = -1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_modernize_the_industry }

		available = {
			democratic > 0.8
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_agrarian_cooperative_movement_bzns_support_requirement_tt
					check_variable = { BUL_bzns_loyalty = 80 compare = greater_than }
				}
				has_country_flag = BUL_bzns_destroyed_flag
				has_country_flag = BUL_bzns_integrated_flag
			}
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_war_support = 0.1
			add_ideas = BUL_government_reforms_democratic_01

			BUL_bzns_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_modernize_the_industry

		prerequisite = { focus = BUL_land_reorganization }
		icon = GFX_goal_generic_production
		relative_position_id = BUL_land_reorganization
		x = 1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_agrarian_cooperative_movement }

		available = {
			democratic > 0.8
			OR = {
				custom_trigger_tooltip = {
					tooltip = BUL_modernize_the_industry_bs_support_requirement_tt
					check_variable = { BUL_bs_loyalty = 80 compare = greater_than }
				}
				has_country_flag = BUL_bs_destroyed_flag
				has_country_flag = BUL_bs_integrated_flag
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_ideas = BUL_government_reforms_democratic_02

			BUL_bs_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_the_salonika_agreement

		prerequisite = { focus = BUL_legislative_elections }
		icon = GFX_focus_generic_befriend_greece
		relative_position_id = BUL_legislative_elections
		x = -3
		y = 1
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = GRE }
				GRE = { is_subject = yes }
				GRE = { has_capitulated = yes }
			}
		}

		available = {
			country_exists = GRE
			NOT = { has_war_with = GRE }
			GRE = { 
				NOT = { is_justifying_wargoal_against = ROOT }
				has_opinion	= {
					target = ROOT
					value > 24
				}
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = GRE
			}
		}
		
		completion_reward = {
			GRE = {
				country_event = { id = bftb_bulgaria_greek_influence.1 hours = 4 random_hours = 4 }
			}
			custom_effect_tooltip = BUL_the_salonika_agreement_event_effects_tt
			effect_tooltip = {
				GRE = {
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
						active = yes
					}
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_strengthened_relations_with_us
					}
				}
				add_opinion_modifier = { 
					target = GRE
					modifier = BUL_strengthened_relations_with_us
				}

				every_country = {
					limit = {
						BUL_country_can_influence_bulgaria = yes
						NOT = { is_in_faction_with = ROOT }
						NOT = { is_in_faction_with = GRE }
					}
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_approached_greece
					}
				}
			}

			GRE = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = GRE
				value = 20
			}
		}
	}

	focus = {
		id = BUL_a_balkan_confederation

		prerequisite = { focus = BUL_the_salonika_agreement }
		icon = GFX_goal_anschluss
		relative_position_id = BUL_the_salonika_agreement
		x = 0
		y = 4
		cost = 5
		mutually_exclusive = { focus = BUL_join_the_allies focus = BUL_the_fate_of_the_balkans }

		available = {
			has_government = democratic
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_BUL_balkan_federation_democratic
				add_faction_initiative = 1
			}
			ELSE = {
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_BUL_balkan_federation_democratic
			}
			GRE = {
				hidden_effect = {
					country_event = { id = generic.5 hours = 4 random_hours = 4 }
				}
				custom_effect_tooltip = BUL_a_balkan_confederation_faction_tt
			}
			unlock_decision_category_tooltip = BUL_balkan_confederation

			GRE = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = GRE
				value = 100
			}
		}
	}

	focus = {
		id = BUL_approach_the_united_kingdom

		prerequisite = { focus = BUL_legislative_elections focus = BUL_liberalization_of_trade_policies }
		icon = GFX_focus_chi_british_cooperation
		relative_position_id = BUL_legislative_elections
		x = 3
		y = 1
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = ENG }
				ENG = { is_subject = yes }
				ENG = { has_capitulated = yes }
			}
		}

		available = {
			country_exists = ENG
			NOT = { has_war_with = ENG }
			ENG = { 
				NOT = { is_justifying_wargoal_against = ROOT }
				has_opinion	= {
					target = ROOT
					value > 24
				}
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = ENG
			}
			custom_trigger_tooltip = {
				tooltip = BUL_approach_the_united_kingdom_ferdinand_tt
				NOT = {
					has_country_leader = {
						character = BUL_ferdinand_i
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			ENG = {
				country_event = { id = bftb_bulgaria_british_influence.1 hours = 4 random_hours = 4 }
			}
			add_opinion_modifier = { 
				target = ENG
				modifier = BUL_strengthened_relations_with_us
			}
			ENG = {
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_strengthened_relations_with_us
				}
			}
			every_country = {
				limit = {
					OR = {
						tag = GER
						tag = ITA
						tag = SOV
					}
					NOT = { is_in_faction_with = ENG }
				}
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_approached_the_uk
				}
			}

			if = {
				limit = {
					has_country_flag = BUL_british_influence_flag
				}
				modify_country_flag = { flag = BUL_british_influence_flag value = 1 }
			}
			else = {
				set_country_flag = { flag = BUL_british_influence_flag value = 1 }
			}

			if = {
				limit = {
					has_completed_focus = BUL_attract_foreign_capitals
				}
				custom_effect_tooltip = BUL_approach_british_foreign_industry_tt
			}
			
			if = {
				limit = {
					OR = {
						NOT = { country_exists = ENG }
						has_war_with = ENG
						ENG = { BUL_is_valid_subject = no }
					}
				}
				hidden_effect = {
					activate_targeted_decision = { target = ENG decision = BUL_purchase_artillery }
					activate_targeted_decision = { target = ENG decision = BUL_purchase_military_vehicles }
					activate_targeted_decision = { target = ENG decision = BUL_purchase_aircraft }
					activate_targeted_decision = { target = ENG decision = BUL_purchase_infantry_equipment }
					activate_targeted_decision = { target = ENG decision = BUL_purchase_armor }
					activate_targeted_decision = { target = ENG decision = BUL_purchase_ships }
				}
			}
			else = {
				activate_targeted_decision = { target = ENG decision = BUL_purchase_artillery }
				activate_targeted_decision = { target = ENG decision = BUL_purchase_military_vehicles }
				activate_targeted_decision = { target = ENG decision = BUL_purchase_aircraft }
				activate_targeted_decision = { target = ENG decision = BUL_purchase_infantry_equipment }
				activate_targeted_decision = { target = ENG decision = BUL_purchase_armor }
				activate_targeted_decision = { target = ENG decision = BUL_purchase_ships }
			}

			ENG = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = ENG
				value = 20
			}
		}
	}

	focus = {
		id = BUL_join_the_allies

		prerequisite = { focus = BUL_approach_the_united_kingdom }
		icon = GFX_goal_generic_alliance
		relative_position_id = BUL_approach_the_united_kingdom
		x = 0
		y = 4
		cost = 5
		mutually_exclusive = { focus = BUL_a_balkan_confederation focus = BUL_the_fate_of_the_balkans focus = BUL_join_the_tripartite_pact }

		bypass = {
			is_in_faction_with = ENG
		}

		available = {
			if = {
				limit = {
					is_in_faction_with = ENG
				}
				#This is intended so that the focus does not look unavailable when it can actually be bypassed
			}
			else = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				ENG = {
					NOT = { has_government = communism }
					is_faction_leader = yes
					is_subject = no
					NOT = { is_justifying_wargoal_against = ROOT }
					NOT = { has_war_with = ROOT }
				}
				ENG = { #Split for easier visualization in the tooltip
					has_opinion	= {
						target = ROOT
						value > 50
					}
				}
				is_in_faction = no
				is_subject = no
				custom_trigger_tooltip = {
					tooltip = BUL_approach_the_united_kingdom_ferdinand_tt
					NOT = {
						has_country_leader = {
							character = BUL_ferdinand_i
						}
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_political_power = 70
			ENG = {
				country_event = { id = generic.2 hours = 4 random_hours = 4 }
			}
			if = {
				limit = {
					ENG = {
						has_war = yes
					}
				}
				add_war_support = 0.1
			}

			ENG = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = ENG
				value = 100
			}
		}
	}

	focus = {
		id = BUL_consolidate_the_third_bulgarian_state

		prerequisite = { focus = BUL_join_the_allies focus = BUL_a_balkan_confederation }
		icon = GFX_focus_BUL_consolidate_the_third_bulgarian_state
		relative_position_id = BUL_join_the_allies
		x = -3
		y = 1
		cost = 10

		available = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_political_power = 70
			add_war_support = 0.05
			add_ideas = BUL_third_bulgarian_state

			if = { #Monarchist path can reach here with basic NS
				limit = {
					has_idea = BUL_second_national_catastrophe
				}
				remove_ideas = BUL_second_national_catastrophe
			}
			else_if = { #Democratic path will have the reduced version of it
				limit = {
					has_idea = BUL_second_national_catastrophe_02
				}
				remove_ideas = BUL_second_national_catastrophe_02
			}
		}
	}

	focus = {
		id = BUL_free_balkan_states

		prerequisite = { focus = BUL_consolidate_the_third_bulgarian_state }
		icon = GFX_focus_BUL_free_balkan_states
		relative_position_id = BUL_consolidate_the_third_bulgarian_state
		x = 0
		y = 3
		cost = 10
		mutually_exclusive = { focus = BUL_the_unification_of_the_balkans }

		available = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			any_country = {
				BUL_is_balkan_nation_no_bulgaria = yes
				OR = {
					is_in_faction = no
					is_in_faction_with = ROOT
				}
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER}
		completion_reward = {
			hidden_effect = { #GUARANTEES
				every_country = {
					limit = {
						BUL_is_balkan_nation_no_bulgaria = yes
						OR = {
							is_in_faction = no
							is_in_faction_with = ROOT
						}
						OR = {
							has_government = democratic
							has_government = neutrality
						}
					}
					ROOT = {
						give_guarantee = PREV
						add_to_variable = { BUL_our_duty_in_the_balkans_consumer_goods_modifier = -0.03 }
						add_to_variable = { BUL_our_duty_in_the_balkans_stability_modifier = 0.05 }
					}
				}
			}
			custom_effect_tooltip = BUL_free_balkan_states_guarantees_tt
			every_country = {
				limit = {
					BUL_is_balkan_nation_no_bulgaria = yes
					OR = {
						is_in_faction = no
						is_in_faction_with = ROOT
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
				}
			}
			hidden_effect = { #NATIONAL SPIRIT
				add_dynamic_modifier = { modifier = BUL_our_duty_in_the_balkans_dynamic_modifier }
			}
			custom_effect_tooltip = BUL_free_balkan_states_ns_tt

			hidden_effect = { #WARGOALS
				every_country = {
					limit = {
						OR = {
							AND = {
								BUL_is_balkan_nation = yes
								is_in_faction = yes
								NOT = { is_in_faction_with = ROOT }
							}
							AND = {
								BUL_is_balkan_nation = no
								NOT = { is_in_faction_with = ROOT }
								any_controlled_state = {
									BUL_is_balkan_state = yes
									NOT = { is_core_of = PREV }
								}
							}
						}
					}
					ROOT = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
						}
					}
				}
			}
			custom_effect_tooltip = BUL_free_balkan_states_wargoals_tt
			every_country = {
				limit = {
					OR = {
						AND = {
							BUL_is_balkan_nation = yes
							is_in_faction = yes
							NOT = { is_in_faction_with = ROOT }
						}
						AND = {
							BUL_is_balkan_nation = no
							NOT = { is_in_faction_with = ROOT }
							any_controlled_state = {
								BUL_is_balkan_state = yes
								NOT = { is_core_of = PREV }
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = BUL_fight_tyranny

		select_effect = {
			random_neighbor_country = {
				limit = {
					is_major = yes
					has_government = fascism
					capital_scope = { is_on_continent = europe }
					NOT = { is_in_faction_with = ROOT }
				}
				ROOT = {
					add_ai_strategy = {
						type = prepare_for_war
						id = PREV
						value = 100
					}
				}
			}	
		}

		prerequisite = { focus = BUL_consolidate_the_third_bulgarian_state }
		icon = GFX_focus_generic_anti_fascist_diplomacy
		relative_position_id = BUL_consolidate_the_third_bulgarian_state
		x = 1
		y = 1
		cost = 10

		available = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
			add_ideas = BUL_the_fight_against_tyranny
			hidden_effect = {
				every_country = {
					limit = {
						is_major = yes
						has_government = fascism
						capital_scope = { is_on_continent = europe }
						NOT = { is_in_faction_with = ROOT }
					}
					ROOT = {
						create_wargoal = {
							type = topple_government
							target = PREV
						}
					}
				}
			}
			custom_effect_tooltip = BUL_fight_tyranny_wargoals_tt
			if = {
				limit = {
					any_country = {
						is_major = yes
						has_government = fascism
						capital_scope = { is_on_continent = europe }
						NOT = { is_in_faction_with = ROOT }
					}
				}
				custom_effect_tooltip = BUL_fight_tyranny_wargoals_current_tt
				every_country = {
					limit = {
						is_major = yes
						has_government = fascism
						capital_scope = { is_on_continent = europe }
						NOT = { is_in_faction_with = ROOT }
					}
				}
			}

			random_country = {
				limit = {
					is_major = yes
					has_government = fascism
					capital_scope = { is_on_continent = europe }
					NOT = { is_in_faction_with = ROOT }
					is_neighbor_of = ROOT
				}
				ROOT = {
					add_ai_strategy = {
						type = declare_war
						id = PREV
						value = 100
					}
				}
			}
		}
	}

	focus = {
		id = BUL_assert_our_claims

		prerequisite = { focus = BUL_join_the_allies }
		icon = GFX_goal_generic_more_territorial_claims
		relative_position_id = BUL_join_the_allies
		x = -1
		y = 1
		cost = 10

		available = {
			is_in_faction_with = ENG
			OR = {
				is_faction_leader = yes
				ENG = { is_faction_leader = yes }
			}
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			custom_effect_tooltip = BUL_assert_our_claims_historical_claims_tt
			if = { #Controlled historical territorial claims are instantly cored
				limit = {
					any_controlled_state = {
						has_state_flag = BUL_historical_bulgarian_claim_flag
						is_fully_controlled_by = ROOT
					}
				}
				custom_effect_tooltip = BUL_assert_our_claims_historical_claims_current_tt
				every_controlled_state = {
					limit = {
						has_state_flag = BUL_historical_bulgarian_claim_flag
						is_fully_controlled_by = ROOT
					}
					hidden_effect = {
						add_core_of = ROOT
					}
				}
			}
			custom_effect_tooltip = BUL_assert_our_claims_enemy_claims_tt
			if = { #Get claims on Balkan states controlled by an enemy and not cored by an ally. Get wargoal against controllers
				limit = {
					any_neighbor_country = {
						any_controlled_state = {
							BUL_is_balkan_state = yes
							NOT = {
								any_country = {
									is_in_faction_with = ROOT
									PREV = { is_core_of = PREV }
								}
							}
						}
						OR = {			
							ROOT = {
								OR = {
									has_war_with = PREV
									any_allied_country = {
										has_war_with = PREV.PREV
									}
								}
							}
							any_allied_country = {
								ROOT = {
									OR = {
										has_war_with = PREV
										any_allied_country = {
											has_war_with = PREV.PREV
										}
									}
								}
							}
						}
					}
				}
				every_neighbor_country = {
					limit = {
					 	any_controlled_state = {
							BUL_is_balkan_state = yes
							NOT = {
								any_country = {
									is_in_faction_with = ROOT
									PREV = { is_core_of = PREV }
								}
							}
						}
						OR = {			
							ROOT = {
								OR = {
									has_war_with = PREV
									any_allied_country = {
										has_war_with = PREV.PREV
									}
								}
							}
							any_allied_country = {
								ROOT = {
									OR = {
										has_war_with = PREV
										any_allied_country = {
											has_war_with = PREV.PREV
										}
									}
								}
							}
						}
					}
					every_controlled_state = { #CLAIMS
						limit = {
							BUL_is_balkan_state = yes
							NOT = {
								any_country = {
									is_in_faction_with = ROOT
									PREV = { is_core_of = PREV }
								}
							}
						}
						add_claim_by = ROOT
					}
					if = {
						limit = {
							ROOT = {
								NOT = {
									has_wargoal_against = {
										target = PREV
										type = annex_everything
									}
								}
							}
						}
						ROOT = { #WARGOAL
							create_wargoal = {
								type = annex_everything
								target = PREV
							}
						}
					}
				}
			}
			if = { #Allied-controlled Bulgarian states are transferred back to Bulgaria
				limit = {
					any_state = {
						has_state_flag = BUL_initial_bulgarian_state_flag
						any_country = {
							is_in_faction_with = ROOT
							NOT = { original_tag = ROOT }
							PREV = { is_fully_controlled_by = PREV }
						}
					}
				}
				ENG = { country_event = { id = bftb_bulgaria_democratic_international_policies.4 hours = 4 random_hours = 2 } }
				custom_effect_tooltip = BUL_assert_our_claims_initial_states_tt
				effect_tooltip = {
					every_state = {
						limit = {
							has_state_flag = BUL_initial_bulgarian_state_flag
							NOT = { is_controlled_by = ROOT }
							controller = {
								is_in_faction_with = ROOT
								has_full_control_of_state = PREV
							}
						}
					}
				}			
			}
		}
	}

	focus = {
		id = BUL_appeal_to_european_capitalists

		prerequisite = { focus = BUL_join_the_allies }
		icon = GFX_focus_mex_privatisation
		relative_position_id = BUL_join_the_allies
		x = 0
		y = 2
		cost = 10

		available = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			NOT = { has_idea = BUL_nationalized_industry }
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_ideas = export_focus
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = { has_state_flag = BUL_appeal_to_european_capitalists_flag }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = BUL_appeal_to_european_capitalists_flag
			}
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = { has_state_flag = BUL_appeal_to_european_capitalists_flag }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = BUL_appeal_to_european_capitalists_flag
			}
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = { has_state_flag = BUL_appeal_to_european_capitalists_flag }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = BUL_appeal_to_european_capitalists_flag
			}
			every_owned_state = {
				limit = {
					has_state_flag = BUL_appeal_to_european_capitalists_flag
				}
				clr_state_flag = BUL_appeal_to_european_capitalists_flag
			}
			if = {
				limit = {
					has_dynamic_modifier = { modifier = BUL_foreign_industry_dynamic_modifier }
				}
				if = {
					limit = {
						check_variable = { BUL_foreign_industry_consumer_goods_modifier = 0.10 compare = less_than_or_equals }
					}
					set_variable = { BUL_foreign_industry_consumer_goods_modifier = 0 }
				}
				else = {
					subtract_from_variable = { BUL_foreign_industry_consumer_goods_modifier = -0.10 }
					
				}
			}
			custom_effect_tooltip = BUL_appeal_to_european_capitalists_cg_tt

			ENG = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
		}
	}

	focus = {
		id = BUL_obliterate_the_bolshevik_threat

		select_effect = {
			random_neighbor_country = {
				limit = {
					is_major = yes	
					has_government = communism	
					NOT = { is_in_faction_with = ROOT }
					capital_scope = { is_on_continent = europe }
				}
				ROOT = {
					add_ai_strategy = {
						type = prepare_for_war
						id = PREV
						value = 100
					}
				}
			}	
		}

		prerequisite = { focus = BUL_appeal_to_european_capitalists }
		prerequisite = { focus = BUL_consolidate_the_third_bulgarian_state }
		icon = GFX_focus_ger_bulwark_against_bolshevism
		relative_position_id = BUL_appeal_to_european_capitalists
		x = -1
		y = 1
		cost = 10

		available = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			is_subject = no
		}

		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes	
						has_government = communism	
						NOT = { is_in_faction_with = ROOT }
						capital_scope = { is_on_continent = europe }
					}
					ROOT = {
						create_wargoal = {
							type = topple_government
							target = PREV
							expire = 730
						}
					}
					BUL_add_hidden_targeted_ns = yes
				}
			}
			custom_effect_tooltip = BUL_obliterate_the_bolshevik_threat_wargoal_tt

			add_timed_idea = {
				idea = BUL_the_fight_against_bolshevism
				days = 730
			}
			custom_effect_tooltip = BUL_obliterate_the_bolshevik_threat_wargoal_current_tt
			every_other_country = {
				limit = {
					is_major = yes
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
					capital_scope = { is_on_continent = europe }
				}
			}

			random_country = {
				limit = {
					is_major = yes	
					has_government = communism	
					NOT = { is_in_faction_with = ROOT }
					capital_scope = { is_on_continent = europe }
					is_neighbor_of = ROOT
				}
				ROOT = {
					add_ai_strategy = {
						type = declare_war
						id = PREV
						value = 100
					}
				}
			}
		}
	}

	focus = {
		id = BUL_research_sharing

		prerequisite = { focus = BUL_join_the_allies }
		icon = GFX_goal_generic_scientific_exchange
		relative_position_id = BUL_join_the_allies
		x = 1
		y = 1
		cost = 10

		available = {
			BUL_is_not_alone_in_faction = yes
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_to_tech_sharing_group = BUL_technological_cooperation_program
			if  = {
				limit = {
					any_other_country = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
				}
				random_other_country = {
					limit = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
					add_to_tech_sharing_group = BUL_technological_cooperation_program
				}
			}
			else_if = {
				limit = {
					is_faction_leader = yes
					any_other_country = {
						is_in_faction_with = ROOT
					}
				}
				random_other_country = {
					limit = {
						is_in_faction_with = ROOT
					}
					add_to_tech_sharing_group = BUL_technological_cooperation_program
				}
			}
		}
	}

	

##     ## ####  ######  ########  #######  ########  ####  ######     ###    ##          ########  ########     ###    ##    ##  ######  ##     ## 
##     ##  ##  ##    ##    ##    ##     ## ##     ##  ##  ##    ##   ## ##   ##          ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
##     ##  ##  ##          ##    ##     ## ##     ##  ##  ##        ##   ##  ##          ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
#########  ##   ######     ##    ##     ## ########   ##  ##       ##     ## ##          ########  ########  ##     ## ## ## ## ##       ######### 
##     ##  ##        ##    ##    ##     ## ##   ##    ##  ##       ######### ##          ##     ## ##   ##   ######### ##  #### ##       ##     ## 
##     ##  ##  ##    ##    ##    ##     ## ##    ##   ##  ##    ## ##     ## ##          ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
##     ## ####  ######     ##     #######  ##     ## ####  ######  ##     ## ########    ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = BUL_power_to_the_tsar

		icon = GFX_focus_BUL_power_to_the_tsar
		relative_position_id = BUL_oppose_the_royal_dictatorship
		x = 16
		y = 0
		cost = 10
		mutually_exclusive = { focus = BUL_oppose_the_royal_dictatorship }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 50
			add_stability = -0.05
			add_ideas = BUL_tsar_boris_positive_01

			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
			custom_effect_tooltip = BUL_power_to_the_tsar_tt
			custom_effect_tooltip = remove_political_advisor
			show_ideas_tooltip = BUL_vasil_kolarov
		}
	}

	focus = {
		id = BUL_condemn_macedonian_organizations

		prerequisite = { focus = BUL_power_to_the_tsar focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_focus_BUL_condemn_macedonian_organizations
		relative_position_id = BUL_power_to_the_tsar
		x = -11
		y = 1
		cost = 5
		mutually_exclusive = { focus = BUL_support_macedonian_organizations }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_threat = -1
			add_stability = 0.1
			add_political_power = 35
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
			custom_effect_tooltip = BUL_condemn_macedonian_organizations_tt
			every_country = {
				limit = {
					BUL_country_seeks_macedonian_stability = yes
				}
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_condemned_imro
				}
			}


			if = {
				limit = {
					OR = {
						has_idea = BUL_army_restrictions_aat
						has_idea = BUL_army_restrictions
					}
				}
				custom_effect_tooltip = BUL_condemn_macedonian_organizations_rearmament_tt
			}

			hidden_effect = {
				news_event = { id = bftb_news.1 hours = 8 random_hours = 4 }
			}
		}
	}

	focus = {
		id = BUL_support_macedonian_organizations

		prerequisite = { focus = BUL_power_to_the_tsar focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_focus_BUL_support_macedonian_organizations
		relative_position_id = BUL_condemn_macedonian_organizations
		x = 2
		y = 0
		cost = 5

		mutually_exclusive = { focus = BUL_condemn_macedonian_organizations }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_threat = 1
			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
			custom_effect_tooltip = BUL_support_macedonian_organizations_tt
			every_country = {
				limit = {
					BUL_country_seeks_macedonian_stability = yes
				}
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_supported_imro
				}
			}
			#If all Macedonia is already controlled by BUL, update NS and unlock the appropriate decisions
			if = {
				limit = {
					NOT = {
						any_state = {
							BUL_is_macedonian_state = yes
							NOT = { is_fully_controlled_by = ROOT }
						}
					}
				}
				hidden_effect = {
					set_country_flag = { flag = BUL_support_imro_flag value = 3 }
				}
				if = {
					limit = {
						has_idea = BUL_imro_01
					}
					swap_ideas = {
						remove_idea = BUL_imro_01
						add_idea = BUL_imro_05
					}
				}
				else_if = {
					limit = {
						has_idea = BUL_imro_04
					}
					swap_ideas = {
						remove_idea = BUL_imro_04
						add_idea = BUL_imro_05
					}
				}
			}
			if = {
				limit = {
					OR = {
						has_idea = BUL_army_restrictions_aat
						has_idea = BUL_army_restrictions
					}
				}
				custom_effect_tooltip = BUL_support_macedonian_organizations_rearmament_tt
			}
			set_country_flag = { flag = BUL_rearmament_flag value = 2 } #Unlock Pressure to Lift Arms Restrictions decision

			hidden_effect = {
				news_event = { id = bftb_news.2 hours = 8 random_hours = 4 }
			}
		}
	}

	focus = {
		id = BUL_dissolve_the_military_union

		prerequisite = { focus = BUL_power_to_the_tsar focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_focus_BUL_destroy_the_zveno
		relative_position_id = BUL_condemn_macedonian_organizations
		x = 4
		y = 0
		cost = 5

		mutually_exclusive = { focus = BUL_cooperate_with_the_zveno }

		available = {
			NOT = {	has_country_flag = BUL_zveno_destroyed_flag } #Zveno is not destroyed
			hidden_trigger = {
				NOT = { has_country_flag = BUL_zveno_coup_flag } #Zveno CW has not started
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_stability = 0.15
			add_ideas = BUL_zveno_ns
			BUL_zveno_high_loyalty_decrease_effect = yes
			BUL_zveno_medium_popularity_decrease_effect = yes
			custom_effect_tooltip = BUL_dissolve_the_military_union_tt
			custom_effect_tooltip = BUL_dissolve_the_military_union_zveno_coup_tt
		}
	}

	focus = {
		id = BUL_cooperate_with_the_zveno

		prerequisite = { focus = BUL_power_to_the_tsar focus = BUL_oppose_the_royal_dictatorship }
		icon = GFX_focus_BUL_cooperate_with_the_zveno
		relative_position_id = BUL_condemn_macedonian_organizations
		x = 6
		y = 0
		cost = 5

		mutually_exclusive = { focus = BUL_dissolve_the_military_union }

		available = {
			NOT = {	has_country_flag = BUL_zveno_destroyed_flag } #Zveno is not destroyed
			hidden_trigger = {
				NOT = { has_active_mission = BUL_impending_zveno_coup }	#Zveno coup mission is not ongoing
				NOT = { has_country_flag = BUL_zveno_coup_flag } #Zveno CW has not started
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 50
			add_war_support = 0.05
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_zveno_low_popularity_increase_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes
			custom_effect_tooltip = BUL_cooperate_with_the_zveno_tt
			custom_effect_tooltip = BUL_cooperate_with_the_zveno_coup_tt
		}
	}

	focus = {
		id = BUL_the_tsars_regime

		prerequisite = { focus = BUL_power_to_the_tsar }
		icon = GFX_focus_generic_monarchy_1
		relative_position_id = BUL_power_to_the_tsar
		x = -3
		y = 2
		cost = 10

		mutually_exclusive = { focus = BUL_appoint_right_wing_ministers }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 70
			add_stability = -0.05
			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_restrained_paramilitary_organizations

		prerequisite = { focus = BUL_the_tsars_regime focus = BUL_democratic_principles }
		icon = GFX_goal_demand_sudetenland
		relative_position_id = BUL_the_tsars_regime
		x = -4
		y = 1
		cost = 10

		mutually_exclusive = { focus = BUL_ban_far_right_organizations }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_war_support = 0.1
			add_ideas = BUL_paramilitary_organizations
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
			BUL_nsm_low_popularity_increase_effect = yes
			custom_effect_tooltip = BUL_restrained_paramilitary_organizations_tt
		}
	}

	focus = {
		id = BUL_ban_far_right_organizations

		prerequisite = { focus = BUL_the_tsars_regime focus = BUL_democratic_principles }
		icon = GFX_focus_eng_move_to_secure_the_dominions
		relative_position_id = BUL_restrained_paramilitary_organizations
		x = -2
		y = 0
		cost = 5

		mutually_exclusive = { focus = BUL_restrained_paramilitary_organizations }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			add_stability = 0.1
			add_war_support = -0.05
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_high_loyalty_decrease_effect = yes
			BUL_nsm_medium_popularity_decrease_effect = yes
			custom_effect_tooltip = BUL_ban_far_right_organizations_tt
		}
	}

	focus = {
		id = BUL_restore_the_tarnovo_constitution

		prerequisite = { focus = BUL_the_tsars_regime }
		icon = GFX_focus_hol_the_foundations_of_defense
		relative_position_id = BUL_the_tsars_regime
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
			add_political_power = 70
			BUL_zveno_low_loyalty_decrease_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_freedom_of_press

		prerequisite = { focus = BUL_restore_the_tarnovo_constitution }
		icon = GFX_focus_generic_treaty
		relative_position_id = BUL_restore_the_tarnovo_constitution
		x = 0
		y = 1
		cost = 10

		available = {
			BUL_has_freedom_of_press = yes
			BUL_has_banned_faction_media = no
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			set_country_flag = BUL_freedom_of_press_flag
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_political_power = 120
			add_stability = 0.1
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
			if = {
				limit = {
					NOT = { has_completed_focus = BUL_crush_the_communists }
					NOT = { has_country_flag = BUL_bs_destroyed_flag }
				}
				custom_effect_tooltip = BUL_freedom_of_press_tt
			}
			custom_effect_tooltip = BUL_freedom_of_press_ban_faction_media_tt
		}
	}

	focus = {
		id = BUL_promote_bulgarian_nationalism

		prerequisite = { focus = BUL_the_tsars_regime focus = BUL_appoint_right_wing_ministers }
		icon = GFX_focus_BUL_promote_bulgarian_nationalism
		relative_position_id = BUL_the_tsars_regime
		x = 3
		y = 2
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_political_power = 70
			add_stability = 0.05
			add_war_support = 0.05
		}
	}

	focus = {
		id = BUL_crush_the_communists

		prerequisite = { focus = BUL_the_tsars_regime focus = BUL_appoint_right_wing_ministers }
		icon = GFX_focus_spr_crush_the_revolution
		relative_position_id = BUL_the_tsars_regime
		x = 4
		y = 1
		cost = 5

		available = {
			NOT = { has_country_flag = BUL_bs_legalized_flag }
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_popularity = {
				ideology = communism
				popularity = -0.10
			}
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_high_loyalty_decrease_effect = yes
			BUL_bs_medium_popularity_decrease_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes

			#Reduce Oppress Broad Socialists decisions cost
			divide_variable = { BUL_broad_socialist_opression_cost_standard = 2 }
			custom_effect_tooltip = BUL_reduced_communist_oppression_cost_tt

			#Stability impact
			hidden_effect = {
				set_variable = { stability_impact = BUL_bs_popularity }
				divide_variable = { stability_impact = 1000 }
				add_to_variable = { stability_impact = party_popularity@communism }
				multiply_variable = { stability_impact = -1 }
				add_stability = stability_impact
			}
			custom_effect_tooltip = BUL_stability_impact_tt
			custom_effect_tooltip = BUL_crush_the_communists_tt
			if = {
				limit = {
					NOT = { has_completed_focus = BUL_appoint_right_wing_ministers }
				}
				custom_effect_tooltip = BUL_crush_the_communists_no_cooperation_tt
			}
		}
	}

	focus = {
		id = BUL_illusions_of_a_non_partisan_system

		prerequisite = { focus = BUL_the_tsars_regime }
		prerequisite = { focus = BUL_promote_bulgarian_nationalism }

		icon = GFX_focus_usa_voter_registration_act
		relative_position_id = BUL_the_tsars_regime
		x = 0
		y = 3
		cost = 10

		available = {
			democratic > 0.20
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_stability = 0.1
			swap_ideas = {
				remove_idea = BUL_tsar_boris_positive_01
				add_idea = BUL_tsar_boris_positive_02
			}
			divide_variable = { BUL_faction_interaction_cost_standard = 2 }
			divide_variable = { BUL_broad_socialist_opression_cost_standard = 2 }
			custom_effect_tooltip = BUL_reduced_faction_interaction_cost_tt
		}
	}

	focus = {
		id = BUL_limited_womens_suffrage

		prerequisite = { focus = BUL_promote_bulgarian_nationalism }

		icon = GFX_focus_generic_concessions
		relative_position_id = BUL_illusions_of_a_non_partisan_system
		x = 2
		y = 0
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_popularity = {
				ideology = ROOT
				popularity = 0.15
			}
			if = {
				limit = {
					has_government = neutrality
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.05
				}
			}
			else = {
				add_popularity = {
					ideology = neutrality
					popularity = 0.05
				}
			}
			add_stability = 0.05
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_dimitrana_ivanova
		}
	}

	focus = {
		id = BUL_found_the_brannik

		prerequisite = { focus = BUL_promote_bulgarian_nationalism }

		icon = GFX_focus_BUL_found_the_brannik
		relative_position_id = BUL_promote_bulgarian_nationalism
		x = 0
		y = 2
		cost = 10

		mutually_exclusive = { focus = BUL_depose_the_tsar }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_ideas = BUL_brannik
		}
	}

	focus = {
		id = BUL_bulgarian_irredentism

		prerequisite = { focus = BUL_promote_bulgarian_nationalism focus = BUL_the_path_towards_a_greater_bulgaria }

		icon = GFX_goal_generic_territory_or_war
		relative_position_id = BUL_promote_bulgarian_nationalism
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_threat = 1
			add_war_support = 0.1
			swap_ideas = {
				remove_idea = BUL_second_national_catastrophe
				add_idea = BUL_bulgarian_irredentism
			}
		}
	}

	focus = {
		id = BUL_strengthen_the_royal_dictatorship

		prerequisite = { focus = BUL_illusions_of_a_non_partisan_system }

		icon = GFX_goal_generic_political_pressure
		relative_position_id = BUL_illusions_of_a_non_partisan_system
		x = 0
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_plot_against_boris }

		available = {
			neutrality > 0.7
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			swap_ideas = {
				remove_idea = BUL_tsar_boris_positive_02
				add_idea = BUL_tsar_boris_positive_03
			}
			add_to_variable = { BUL_faction_low_increase = 5 }
			add_to_variable = { BUL_faction_medium_increase = 5 }
			add_to_variable = { BUL_faction_high_increase = 5 }
			add_to_variable = { BUL_faction_low_decrease = -5 }
			add_to_variable = { BUL_faction_medium_decrease = -5 }
			add_to_variable = { BUL_faction_high_decrease = -5 }
			custom_effect_tooltip = BUL_improved_faction_effects_tt
			
			BUL_halve_faction_management_decision_times = yes
			custom_effect_tooltip = BUL_reduced_faction_interaction_cooldown_tt
		}
	}

	focus = {
		id = BUL_war_industry

		prerequisite = { focus = BUL_strengthen_the_royal_dictatorship }
		prerequisite = { focus = BUL_found_the_brannik }

		icon = GFX_goal_generic_small_arms #GFX_goal_generic_army_artillery2
		relative_position_id = BUL_found_the_brannik
		x = 0
		y = 2
		cost = 10

		available = {
			has_war = yes
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER}
		completion_reward = {
			48 = {
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 949
				}
			}
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = BUL_war_industry_flag
			}
			random_owned_controlled_state = {
				limit = {
					NOT = { has_state_flag = BUL_war_industry_flag }
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = { has_state_flag = BUL_war_industry_flag }
				clr_state_flag = BUL_war_industry_flag
			}
			if = {
				limit = {
					NOT = { has_idea = tot_economic_mobilisation }
					NOT = { has_idea = war_economy }
				}
				add_ideas = war_economy
			}
			if = {
				limit = {
					NOT = { has_idea = scraping_the_barrel }
					NOT = { has_idea = all_adults_serve }
					NOT = { has_idea = service_by_requirement }
				}
				add_ideas = service_by_requirement
			}
		}
	}

	focus = {
		id = BUL_liberalization_of_trade_policies

		prerequisite = { focus = BUL_illusions_of_a_non_partisan_system focus = BUL_petorka }

		icon = GFX_goal_generic_trade
		relative_position_id = BUL_illusions_of_a_non_partisan_system
		x = -2
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_ideas = BUL_liberal_trade_policies
		}
	}

	focus = {
		id = BUL_plot_against_boris

		prerequisite = { focus = BUL_liberalization_of_trade_policies }

		dynamic = yes

		icon = GFX_focus_BUL_plot_against_boris
		relative_position_id = BUL_liberalization_of_trade_policies
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_strengthen_the_royal_dictatorship }

		bypass = {
			has_country_flag = BUL_tsar_boris_is_dead_flag
		}

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_country_flag = BUL_tsar_boris_is_dead_flag }
				}
				unlock_decision_category_tooltip = BUL_plot_against_boris_dec_cat
			}
		}
	}

	focus = {
		id = BUL_the_return_of_ferdinand_i

		prerequisite = { focus = BUL_plot_against_boris }

		icon = GFX_focus_BUL_the_return_of_ferdinand
		relative_position_id = BUL_plot_against_boris
		x = -1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_form_a_regency_council }

		available = {
			has_country_flag = BUL_tsar_boris_is_dead_flag
			BUL_has_abolished_monarchy = no
			NOT = { is_in_faction_with = ENG }
			NOT = { is_in_faction_with = FRA }
			OR = {
				is_faction_leader = yes
				is_in_faction = no
				AND = {
					any_country = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
						NOT = { has_government = communism }
						NOT = { has_government = democratic }
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			hidden_effect = { #Store Former leader for loc purposes
				if = {
					limit = {
						has_country_leader = {
							character = BUL_georgi_ivanov_kyoseivanov
							ruling_only = yes
						}
					}
					set_variable = { BUL_former_leader_before_ferdinand = 1 } # 1 = Kyoseivanov
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = BUL_bogdan_filov
							ruling_only = yes
						}
					}
					set_variable = { BUL_former_leader_before_ferdinand = 2 } # 2 = Filov
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = BUL_nikola_mushanov
							ruling_only = yes
						}
					}
					set_variable = { BUL_former_leader_before_ferdinand = 3 } # 3 = Mushanov
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = BUL_hristo_lukov
							ruling_only = yes
						}
					}
					set_variable = { BUL_former_leader_before_ferdinand = 4 } # 4 = Lukov
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = BUL_aleksandar_tsankov
							ruling_only = yes
						}
					}
					set_variable = { BUL_former_leader_before_ferdinand = 5 } # 5 = Tsankov
				}
			}

			set_country_flag = BUL_the_return_of_ferdinand_flag
			set_party_name = {
				ideology = neutrality
				long_name = BUL_ferdinand_loyalists_party_long
				name = BUL_ferdinand_loyalists_party
			}
			add_country_leader_role = {
				character = BUL_ferdinand_i
				country_leader = {
					expire = "1965.1.1"
					ideology = despotism
					traits = {
						dreams_of_a_new_byzantium
					}
				}
				promote_leader = yes
			}
			if = {
				limit = {
					NOT = { has_government = neutrality }
				}
				set_politics = {
					ruling_party = neutrality
					elections_allowed = no
				}
			}
			if = { 
				limit = {
					num_subjects > 0
				}
				every_other_country = {
					limit = {
						is_subject_of = ROOT
					}
					add_ideas = BUL_ferdinands_puppet
				}
			}
			BUL = {
				custom_effect_tooltip = BUL_the_return_of_ferdinand_opinion_tt
			}
			every_other_country = {
				limit = {
					OR = {
						tag = GRE
						tag = YUG
						tag = ROM
						tag = TUR
					}
					NOT = { is_subject_of = ROOT }
					NOT = {	is_in_faction_with = ROOT }
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = BUL_ferdinand_is_back
				}
				hidden_effect = {
					ROOT = {
						add_opinion_modifier = {
							target = PREV
							modifier = BUL_old_enemies
						}
					}
				}
			}

			hidden_effect = {
				news_event = { id = bftb_news.4 hours = 8 random_hours = 4 }
			}
		}
	}

	focus = {
		id = BUL_amend_old_grudges

		prerequisite = { focus = BUL_the_return_of_ferdinand_i }

		icon = GFX_goal_generic_occupy_states_ongoing_war
		relative_position_id = BUL_the_return_of_ferdinand_i
		x = 0
		y = 1
		cost = 10

		available = {
			has_country_leader = {
				character = BUL_ferdinand_i 
				ruling_only = yes
			}
			OR = {
				country_exists = ENG
				country_exists = FRA
				country_exists = YUG
				country_exists = GRE
				country_exists = ROM
				country_exists = TUR
			}
		}
		
		completion_reward = {
			if = {
				limit = {
					country_exists = ENG
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = ENG
					}
				}
			}
			if = {
				limit = {
					country_exists = FRA
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = FRA
					}
				}
			}
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							original_tag = YUG
							original_tag = GRE
							original_tag = ROM
							original_tag = TUR
						}
					}
					ROOT = {
						create_wargoal = {
							type = annex_everything
							target = PREV
						}
					}
				}
			}
			custom_effect_tooltip = BUL_amend_old_grudges_balkan_targets_tt
			every_country = {
				limit = {
					OR = {
						original_tag = YUG
						original_tag = GRE
						original_tag = ROM
						original_tag = TUR
					}
				}
			}
		}
	}

	focus = {
		id = BUL_form_a_regency_council

		prerequisite = { focus = BUL_plot_against_boris }

		icon = GFX_focus_BUL_form_a_regency_council
		relative_position_id = BUL_plot_against_boris
		x = 1
		y = 2
		cost = 10
		mutually_exclusive = { focus = BUL_the_return_of_ferdinand_i }

		available = {
			has_country_flag = BUL_tsar_boris_is_dead_flag
			BUL_has_abolished_monarchy = no
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_stability = 0.1
			add_political_power = 70
			country_event = { id = bftb_bulgaria_tsar_boris.3 hours = 12 random_hours = 6 }
			custom_effect_tooltip = BUL_form_a_regency_council_tt
		}
	}

	focus = {
		id = BUL_the_fate_of_the_balkans

		prerequisite = { focus = BUL_form_a_regency_council focus = BUL_the_return_of_ferdinand_i focus = BUL_military_dictatorship }

		icon = GFX_focus_BUL_the_fate_of_the_balkans
		relative_position_id = BUL_form_a_regency_council
		x = 0
		y = 2
		cost = 5
		mutually_exclusive = { focus = BUL_join_the_tripartite_pact focus = BUL_join_the_allies focus = BUL_a_balkan_confederation }

		available = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
			OR = {
				is_in_faction = no
				has_war = no
			}
			is_subject = no
		}
		
		completion_reward = {
			if = {
				limit = {
					is_in_faction = yes
				}
				leave_faction = yes
			}
			set_rule = {
				can_join_factions = no
			}
			create_faction_from_template = {
				template = faction_template_balkan_pact
				name = BUL_greater_bulgarian_federation
				icon = GFX_faction_logo_generic_5
			}
			add_timed_idea = {
				idea = BUL_the_fate_of_the_balkans
				days = 365
			}
			every_other_country = {
				limit = {
					BUL_is_balkan_nation = yes
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { is_subject_of = ROOT }
					is_neighbor_of = ROOT
				}
				add_timed_idea = {
					idea = BUL_the_bulgarian_threat
					days = 365
				}
			}
			unlock_decision_category_tooltip = BUL_the_fate_of_the_balkans_dec_cat
		}
	}

	focus = {
		id = BUL_nationalist_propaganda

		prerequisite = { focus = BUL_the_fate_of_the_balkans }

		icon = GFX_goal_generic_propaganda
		relative_position_id = BUL_the_fate_of_the_balkans
		x = 1
		y = 1
		cost = 10

		available = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			if = {
				limit = {
					has_idea = BUL_the_fate_of_the_balkans
				}
				#Add more days to Toppling Giants NS
				modify_timed_idea = {
					idea = BUL_the_fate_of_the_balkans
					days = 365
				}
				#Add the appropriate (ideology) Nationalist Propaganda NS
				if = {
					limit = {
						has_government = neutrality
					}
					add_timed_idea = {
						idea = BUL_nationalist_propaganda
						days = 365
					}
				}
				else = {
					add_timed_idea = {
						idea = BUL_nationalist_propaganda_fascism
						days = 365
					}
				}
			}
			else = { #No Toppling Giants NS means a weaker Nationalist Propaganda NS
				#Add the appropriate (ideology) Nationalist Propaganda NS
				if = {
					limit = {
						has_government = neutrality
					}
					add_timed_idea = {
						idea = BUL_nationalist_propaganda_weak
						days = 365
					}
				}
				else = {
					add_timed_idea = {
						idea = BUL_nationalist_propaganda_weak_fascism
						days = 365
					}
				}
				custom_effect_tooltip = BUL_nationalist_propaganda_combo_tt
			}
		}
	}

	focus = {
		id = BUL_toppling_giants

		select_effect = {
			random_neighbor_country = {
				limit = {
					is_major = yes
					NOT = { is_in_faction_with = ROOT }
				}
				ROOT = {
					add_ai_strategy = {
						type = prepare_for_war
						id = PREV
						value = 100
					}
				}
			}
		}

		prerequisite = { focus = BUL_the_fate_of_the_balkans }

		icon = GFX_goal_generic_major_war
		relative_position_id = BUL_the_fate_of_the_balkans
		x = -1
		y = 1
		cost = 10

		available = {
			any_country = {
				is_major = yes
				is_neighbor_of = ROOT
				NOT = { is_in_faction_with = ROOT }
			}
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
			if = {
				limit = {
					any_country = {
						is_major = yes
						is_neighbor_of = ROOT
						NOT = { is_in_faction_with = ROOT }
					}
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							is_major = yes
							is_neighbor_of = ROOT
							NOT = { is_in_faction_with = ROOT }
						}
						ROOT = {
							create_wargoal = {
								type = puppet_wargoal_focus
								target = PREV
							}
						}
					}
				}
				custom_effect_tooltip = BUL_toppling_giants_wargoal_1_tt
				every_other_country = {
					limit = {
						is_major = yes
						is_neighbor_of = ROOT
						NOT = { is_in_faction_with = ROOT }
					}
				}
			}
			else = {
				custom_effect_tooltip = BUL_toppling_giants_wargoal_2_tt
			}

			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes
						NOT = { is_in_faction_with = ROOT }
						is_neighbor_of = ROOT
						capital_scope = { is_on_continent = europe }
					}
					BUL_add_hidden_targeted_ns = yes
				}
			}
			add_timed_idea = {
				idea = BUL_toppling_giants
				days = 730
			}
			if = {
				limit = {
					any_other_country = {
						is_major = yes
						NOT = { is_in_faction_with = ROOT }
						is_neighbor_of = ROOT
						capital_scope = { is_on_continent = europe }
					}
				}
				custom_effect_tooltip = BUL_toppling_giants_ns_targets_tt
				every_other_country = {
					limit = {
						is_major = yes
						NOT = { is_in_faction_with = ROOT }
						is_neighbor_of = ROOT
						capital_scope = { is_on_continent = europe }
					}
				}
			}

			random_country = {
				limit = {
					is_major = yes
					is_neighbor_of = ROOT
					NOT = { is_in_faction_with = ROOT }
				}
				ROOT = {
					add_ai_strategy = {
						type = declare_war
						id = PREV
						value = 100
					}
				}
			}
		}
	}

	focus = {
		id = BUL_bulgarian_academy_of_sciences

		prerequisite = { focus = BUL_the_fate_of_the_balkans }

		icon = GFX_focus_research2
		relative_position_id = BUL_the_fate_of_the_balkans
		x = 3
		y = 1
		cost = 10

		available = {
			BUL_is_not_alone_in_faction = yes
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_to_tech_sharing_group = BUL_bulgarian_academy_of_sciences
			every_country = {
				limit = {
					is_in_faction_with = ROOT
				}
				add_to_tech_sharing_group = BUL_bulgarian_academy_of_sciences
			}
		}
	}

	focus = {
		id = BUL_guardians_of_the_balkans

		prerequisite = { focus = BUL_nationalist_propaganda }

		icon = GFX_focus_BUL_guardians_of_the_balkans
		relative_position_id = BUL_nationalist_propaganda
		x = 0
		y = 1
		cost = 10

		available = {
			is_subject = no
		}
		
		completion_reward = {
			hidden_effect = {
				every_other_country = {
					limit = {
						any_controlled_state = {
							BUL_is_balkan_state = yes
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { is_guaranteed_by = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
					}
					ROOT = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
						}
					}
				}
			}
			custom_effect_tooltip = BUL_guardians_of_the_balkans_wargoal_tt
			every_other_country = {
				limit = {
					any_controlled_state = {
						BUL_is_balkan_state = yes
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
				}
			}
			if = {
				limit = {
					has_idea = BUL_the_fate_of_the_balkans
				}
				remove_ideas = BUL_the_fate_of_the_balkans
			}
			else = {
				custom_effect_tooltip = BUL_guardians_of_the_balkans_remove_ns_tt
			}
			add_ideas = BUL_guardians_of_the_balkans
			if = {
				limit = {
					num_subjects > 0
					any_country = {
						is_subject_of = ROOT
						BUL_is_balkan_nation = yes
					}
				}
				every_other_country = {
					limit = {
						is_subject_of = ROOT
						BUL_is_balkan_nation = yes
					}
					add_ideas = BUL_defender_of_the_balkans
				}
			}
			else = {
				custom_effect_tooltip = BUL_guardians_of_the_balkans_subject_ns_tt
				effect_tooltip = {
					add_ideas = BUL_defender_of_the_balkans
				}
			}
		}
	}

	focus = {
		id = BUL_consolidate_dominance_of_the_seas

		prerequisite = { focus = BUL_guardians_of_the_balkans focus = BUL_join_the_allies }

		icon = GFX_goal_generic_navy_battleship
		relative_position_id = BUL_guardians_of_the_balkans
		x = -3
		y = 1
		cost = 10

		available = {
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_war_support = 0.05
			navy_experience = 50
			add_doctrine_cost_reduction = {
				name = BUL_consolidate_dominance_of_the_seas
			    cost_reduction = 0.5
			    uses = 2
				category = naval_doctrine
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				set_state_flag = BUL_consolidate_dominance_of_the_seas_flag
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					NOT = { has_state_flag = BUL_consolidate_dominance_of_the_seas_flag }
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			hidden_effect = {
				random_owned_state = {
					limit = {
						has_state_flag = BUL_consolidate_dominance_of_the_seas_flag
					}
					clr_state_flag = BUL_consolidate_dominance_of_the_seas_flag
				}
			}
		}
	}


########    ###     ######   ######  ####  ######  ########    ########  ########     ###    ##    ##  ######  ##     ## 
##         ## ##   ##    ## ##    ##  ##  ##    ##    ##       ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
##        ##   ##  ##       ##        ##  ##          ##       ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
######   ##     ##  ######  ##        ##   ######     ##       ########  ########  ##     ## ## ## ## ##       ######### 
##       #########       ## ##        ##        ##    ##       ##     ## ##   ##   ######### ##  #### ##       ##     ## 
##       ##     ## ##    ## ##    ##  ##  ##    ##    ##       ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
##       ##     ##  ######   ######  ####  ######     ##       ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = BUL_appoint_right_wing_ministers

		prerequisite = { focus = BUL_power_to_the_tsar }
		icon = GFX_focus_generic_diplomatic_treaty
		relative_position_id = BUL_power_to_the_tsar
		x = 4
		y = 2
		cost = 10

		mutually_exclusive = { focus = BUL_the_tsars_regime }

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_political_power = 70
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_nikola_zhekov
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
			custom_effect_tooltip = BUL_appoint_right_wing_ministers_tt
		}
	}

	focus = {
		id = BUL_the_path_towards_a_greater_bulgaria

		prerequisite = { focus = BUL_appoint_right_wing_ministers }
		icon = GFX_focus_generic_strike_at_democracy1
		relative_position_id = BUL_appoint_right_wing_ministers
		x = -2
		y = 2
		cost = 10

		available = {
			fascism > 0.3
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_war_support = 0.05
			#Change economy law to the next one
			if = {
				limit = {
					has_idea = civilian_economy
				}
				add_ideas = low_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = low_economic_mobilisation
				}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = partial_economic_mobilisation
				}
				add_ideas = war_economy
			}
			else_if = {
				limit = {
					has_idea = war_economy
				}
				add_ideas = tot_economic_mobilisation
			}
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_depose_the_tsar

		prerequisite = { focus = BUL_the_path_towards_a_greater_bulgaria }
		prerequisite = { focus = BUL_bulgarian_irredentism }
		icon = GFX_focus_rom_abdicate
		relative_position_id = BUL_the_path_towards_a_greater_bulgaria
		x = 0
		y = 2
		cost = 10

		mutually_exclusive = { focus = BUL_found_the_brannik }

		available = {
			fascism > 0.4
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			remove_ideas = BUL_tsar_boris_positive_01
			if = {
				limit = {
					has_idea = BUL_georgi_ivanov_kyoseivanov
				}
				remove_ideas = BUL_georgi_ivanov_kyoseivanov
			}

			if = { #Low Stability triggers a Civil War
				limit = {
					has_stability < 0.3
				}
				set_temp_variable = { BUL_fascist_cw_opposition = party_popularity@neutrality }
				multiply_temp_variable = { BUL_fascist_cw_opposition = 0.25 }
				add_to_temp_variable = { BUL_fascist_cw_opposition = party_popularity@democratic }
				add_to_temp_variable = { BUL_fascist_cw_opposition = party_popularity@communism }
				set_politics = {
					ruling_party = fascism
				}
				hidden_effect = { #Generates undesired "Politics will change" tooltip
					every_unit_leader = {
						limit = {
							OR = {
								has_id = 1207 #Asen Nikolov
								has_id = 1208 #Konstantin Lukash
							}
							NOT = { has_trait = trait_BUL_zveno_member }
						}
						add_unit_leader_trait = trait_BUL_tsar_loyalist
					}

					start_civil_war = {	
						ideology = neutrality
						size = BUL_fascist_cw_opposition
						capital = 48
						states = { 212 }
						keep_unit_leaders_trigger = {
							NOT = {	has_trait = trait_BUL_tsar_loyalist }
						}
					}

					every_unit_leader = {
						limit = {
							has_trait = trait_BUL_tsar_loyalist
						}
						random_other_country = {
							limit = {
								original_tag = BUL
								has_government = neutrality
							}
							PREV = { set_nationality = PREV }
						}
					}
					random_other_country = {
						limit = { 
							original_tag = BUL 
							has_government = neutrality }
							promote_character = {
								character = BUL_georgi_ivanov_kyoseivanov
								ideology = moderatism 
							}
					}

					#Operatives
					if = {
						limit = {
							has_dlc = "La Resistance"
						}
						every_operative = {
							limit = {
								has_trait = trait_BUL_tsar_loyalist
							}
							retire = yes
						}
					}
				}
				custom_effect_tooltip = BUL_depose_the_tsar_cw_tt
				clr_country_flag = BUL_factions_unlocked_flag
				promote_character = { 
					character = BUL_georgi_ivanov_kyoseivanov
					ideology = moderatism
				}		
			}
			else = {
				random_unit_leader = {
					limit = {
						has_id = 1204 #Boydev
					}
					retire = yes
				}
				every_unit_leader = {
					limit = {
						NOT = { has_id = 1204 } #Boydev
						has_trait = trait_BUL_tsar_loyalist
					}
					custom_effect_tooltip = BUL_remove_tsar_loyalist_trait_tt
					remove_unit_leader_trait = trait_BUL_tsar_loyalist
				}
				if = {
					limit = {
						has_country_leader = {
							character = BUL_boris_iii
						}
					}
					retire_country_leader = yes
				}
				promote_character = { 
					character = BUL_georgi_ivanov_kyoseivanov
					ideology = moderatism
				}
				add_stability = -0.1
			}

			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bs_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_decrease_effect = yes

			custom_effect_tooltip = BUL_potential_civil_war_low_requirement_tt
		}
	}

	focus = {
		id = BUL_military_dictatorship

		prerequisite = { focus = BUL_depose_the_tsar }
		icon = GFX_goal_generic_political_pressure
		relative_position_id = BUL_depose_the_tsar
		x = 0
		y = 3
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_political_power = 70
			add_war_support = 0.05
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			if = {
				limit = {
					NOT = { has_government = fascism }
				}
				set_politics = {
					ruling_party = fascism
				}
			}
			add_ideas = BUL_military_dictatorship
		}
	}

	focus = {
		id = BUL_support_the_spanish_coup

		prerequisite = { focus = BUL_appoint_right_wing_ministers }
		icon = GFX_focus_intervention_spain_nationalists
		relative_position_id = BUL_appoint_right_wing_ministers
		x = -1
		y = 1
		cost = 5

		available = {
			has_civil_war = no
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPR_scw_in_progress = yes
				country_exists = SPA
				NOT = { has_war_with = SPA }
			}
			else = {
				any_country = {
					original_tag = SPR
					has_civil_war = yes
					NOT = { has_war_with = ROOT }
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
			}
			OR = {
				has_government = fascism
				has_government = neutrality
			}
			is_subject = no
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					add_opinion_modifier = {
					    target = BUL
					    modifier = BUL_helped_in_civil_war
					}
					add_manpower = 3000
					ROOT = {
						set_variable = { BUL_spanish_tag_aided = PREV }
					}
				}
				add_ai_strategy = {
					type = befriend
					id = SPA
					value = 100
				}
				add_ai_strategy = {
					type = send_volunteers_desire
					id = SPA
					value = 100
				}
			}
			else = {
				random_country = {
					limit = {
						original_tag = SPR
						has_civil_war = yes
						OR = {
							has_government = neutrality
							has_government = fascism
						}
					}
					add_opinion_modifier = {
					    target = BUL
					    modifier = BUL_helped_in_civil_war
					}
					add_manpower = 3000
					ROOT = {
						set_variable = { BUL_spanish_tag_aided = PREV }
						add_ai_strategy = {
							type = befriend
							id = PREV
							value = 100
						}
						add_ai_strategy = {
							type = send_volunteers_desire
							id = PREV
							value = 100
						}
					}
				}
			}
			add_manpower = -3000
			add_ideas = BUL_volunteers_in_spain_nationalist
			set_rule = { can_send_volunteers = yes }
			custom_effect_tooltip = BUL_support_the_spanish_coup_tt
		}
	}

	focus = {
		id = BUL_allow_far_right_organizations

		prerequisite = { focus = BUL_appoint_right_wing_ministers }
		icon = GFX_goal_generic_dangerous_deal
		relative_position_id = BUL_appoint_right_wing_ministers
		x = 0
		y = 2
		cost = 10

		available = {
			NOT = { has_country_flag = BUL_nsm_media_banned_flag }
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_political_power = 70
			add_war_support = 0.05
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_stability = -0.05
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_medium_loyalty_increase_effect = yes
			BUL_nsm_medium_popularity_increase_effect = yes

			if = {
				limit = {
					NOT = { has_country_flag = BUL_nsm_legalized_flag }
				}
				set_country_flag = BUL_nsm_legalized_flag
				custom_effect_tooltip = BUL_allow_far_right_organizations_tt
			}		
		}
	}

	focus = {
		id = BUL_integrate_the_ratniks

		prerequisite = { focus = BUL_allow_far_right_organizations }
		icon = GFX_focus_secret_rearmament
		relative_position_id = BUL_allow_far_right_organizations
		x = 0
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_ideas = BUL_ratniks
			BUL_bs_low_loyalty_decrease_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_economic_protectionism

		prerequisite = { focus = BUL_appoint_right_wing_ministers }
		icon = GFX_focus_generic_self_management
		relative_position_id = BUL_appoint_right_wing_ministers
		x = 1
		y = 1
		cost = 10

		available = {

		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			add_ideas = BUL_government_reforms_fascists_01
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_industrial_autarky

		prerequisite = { focus = BUL_economic_protectionism }
		icon = GFX_goal_reichsautobahn
		relative_position_id = BUL_economic_protectionism
		x = 1
		y = 1
		cost = 10

		available = {
			num_of_factories > 20
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			swap_ideas = {
				remove_idea = BUL_government_reforms_fascists_01
				add_idea = BUL_government_reforms_fascists_02
			}
			BUL_zveno_low_loyalty_increase_effect = yes
			BUL_bzns_low_loyalty_decrease_effect = yes
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}

	focus = {
		id = BUL_corporatism

		prerequisite = { focus = BUL_industrial_autarky }
		prerequisite = { focus = BUL_cooperation_with_italy }
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		relative_position_id = BUL_industrial_autarky
		x = 0
		y = 5
		cost = 10

		available = {
			num_of_factories > 30
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_AFFAIRS}
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				set_state_flag = BUL_corporatism_flag
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					NOT = { has_state_flag = BUL_corporatism_flag }
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			hidden_effect = {
				random_owned_state = {
					limit = {
						has_state_flag = BUL_corporatism_flag
					}
					clr_state_flag = BUL_corporatism_flag
				}
			}
			swap_ideas = {
				remove_idea = BUL_government_reforms_fascists_02
				add_idea = BUL_government_reforms_fascists_03
			}
			BUL_nsm_low_loyalty_increase_effect = yes
		}
	}
	
	focus = {
		id = BUL_approach_germany

		prerequisite = { focus = BUL_bulgarian_irredentism }

		icon = GFX_focus_chi_mission_to_germany
		relative_position_id = BUL_bulgarian_irredentism
		x = 2
		y = 2
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = GER }
				GER = { is_subject = yes }
				GER = { has_capitulated = yes }
			}
		}

		available = {
			country_exists = GER
			NOT = { has_war_with = GER }
			GER = { 
				NOT = { is_justifying_wargoal_against = ROOT }
			}
			GER = {
				has_opinion	= {
					target = ROOT
					value > 24
				}
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = GER
			}
		}

		cancel_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			add_opinion_modifier = { 
				target = GER
				modifier = BUL_strengthened_relations_with_us
			}
			GER = {
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_strengthened_relations_with_us
				}
			}
			every_country = {
				limit = {
					OR = {
						tag = ENG
						tag = FRA
						tag = SOV
					}
					NOT = { is_in_faction_with = GER }
				}
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_approached_germany
				}
			}

			custom_effect_tooltip = available_political_advisor
			if = {
				limit = {
					has_government = fascism
				}
				show_ideas_tooltip = BUL_bogdan_filov_fascism
			}
			else = {
				show_ideas_tooltip = BUL_bogdan_filov
			}
			
			if = {
				limit = {
					has_country_flag = BUL_german_influence_flag
				}
				modify_country_flag = { flag = BUL_german_influence_flag value = 1 }
			}
			else = {
				set_country_flag = { flag = BUL_german_influence_flag value = 1 }
			}

			if = {
				limit = {
					has_completed_focus = BUL_attract_foreign_capitals
				}
				custom_effect_tooltip = BUL_approach_germany_foreign_industry_tt
			}
			
			if = {
				limit = {
					OR = {
						NOT = { country_exists = GER }
						has_war_with = GER
						GER = { BUL_is_valid_subject = no }
					}
				}
				hidden_effect = {
					activate_targeted_decision = { target = GER decision = BUL_purchase_artillery }
					activate_targeted_decision = { target = GER decision = BUL_purchase_military_vehicles }
					activate_targeted_decision = { target = GER decision = BUL_purchase_aircraft }
					activate_targeted_decision = { target = GER decision = BUL_purchase_infantry_equipment }
					activate_targeted_decision = { target = GER decision = BUL_purchase_armor }
				}
			}
			else = {
				activate_targeted_decision = { target = GER decision = BUL_purchase_artillery }
				activate_targeted_decision = { target = GER decision = BUL_purchase_military_vehicles }
				activate_targeted_decision = { target = GER decision = BUL_purchase_aircraft }
				activate_targeted_decision = { target = GER decision = BUL_purchase_infantry_equipment }
				activate_targeted_decision = { target = GER decision = BUL_purchase_armor }
			}

			if = {
				limit = {
					any_state = {
						controller = {
							OR = {
								tag = GER
								AND = {
									NOT = { is_in_faction_with = GER }
									NOT = { tag = BUL }
								}
							}
						}
						has_state_flag = BUL_historical_bulgarian_claim_flag
					}
				}
				unlock_decision_tooltip = BUL_demand_our_historical_claims
			}

			hidden_effect = {
				news_event = { id = bftb_news.11 hours = 8 random_hours = 4 }
			}

			GER = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = GER
				value = 20
			}
			add_ai_strategy = {
				type = befriend
				id = ITA
				value = 20
			}
		}
	}

	focus = {
		id = BUL_cooperation_with_italy

		prerequisite = { focus = BUL_approach_germany }

		icon = GFX_focus_befriend_italy
		relative_position_id = BUL_approach_germany
		x = 1
		y = 1
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = ITA }
				ITA = { is_subject = yes }
				ITA = { has_capitulated = yes }
			}
		}

		available = {
			NOT = { has_war_with = ITA }
			ITA = { 
				NOT = { is_justifying_wargoal_against = ROOT }
				has_opinion	= {
					target = ROOT
					value > 24
				}
			}
			OR = {
				is_in_faction = no
				is_in_faction_with = ITA
			}
		}

		cancel_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
		completion_reward = {
			ITA =  { country_event = { id = bftb_bulgaria_italian_influence.1 hours = 6 random_hours = 2 } } #Research Sharing 

			add_opinion_modifier = { 
				target = ITA
				modifier = BUL_strengthened_relations_with_us
			}
			ITA = {
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_strengthened_relations_with_us
				}
			}
			every_country = {
				limit = {
					BUL_country_can_influence_bulgaria = yes
					NOT = { is_in_faction_with = ITA }
					NOT = { has_government = ITA }
				}
				add_opinion_modifier = { 
					target = BUL
					modifier = BUL_approached_italy
				}
			}

			if = {
				limit = {
					OR = {
						NOT = { country_exists = ITA }
						has_war_with = ITA
						ITA = { BUL_is_valid_subject = no }
					}
				}
				hidden_effect = {
					activate_targeted_decision = { target = ITA decision = BUL_purchase_artillery }
					activate_targeted_decision = { target = ITA decision = BUL_purchase_military_vehicles }
					activate_targeted_decision = { target = ITA decision = BUL_purchase_aircraft }
					activate_targeted_decision = { target = ITA decision = BUL_purchase_infantry_equipment }
					activate_targeted_decision = { target = ITA decision = BUL_purchase_armor }
					activate_targeted_decision = { target = ITA decision = BUL_purchase_ships }
				}
			}
			else = {
				activate_targeted_decision = { target = ITA decision = BUL_purchase_artillery }
				activate_targeted_decision = { target = ITA decision = BUL_purchase_military_vehicles }
				activate_targeted_decision = { target = ITA decision = BUL_purchase_aircraft }
				activate_targeted_decision = { target = ITA decision = BUL_purchase_infantry_equipment }
				activate_targeted_decision = { target = ITA decision = BUL_purchase_armor }
				activate_targeted_decision = { target = ITA decision = BUL_purchase_ships }
			}

			ITA = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 20
				}
			}
			add_ai_strategy = {
				type = befriend
				id = ITA
				value = 20
			}
		}
	}

	focus = {
		id = BUL_join_the_tripartite_pact

		prerequisite = { focus = BUL_approach_germany }

		dynamic = yes

		icon = GFX_goal_support_fascism
		relative_position_id = BUL_approach_germany
		x = 0
		y = 4
		cost = 5
		mutually_exclusive = { focus = BUL_the_fate_of_the_balkans focus = BUL_join_the_allies }

		bypass = {
			OR = {
				is_subject = yes
				AND = {
					is_in_faction_with = GER
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
			}
		}

		available = {
			threat > 0.35
			OR = {
				AND = {
					GER = { is_faction_leader = yes }
					NOT = { is_justifying_wargoal_against = ROOT }
					NOT = { has_war_with = ROOT }
				}
				AND = {
					ITA = {
						is_faction_leader = yes
						is_in_faction_with = GER
						NOT = { is_justifying_wargoal_against = ROOT }
						NOT = { has_war_with = ROOT }
					}
				}
			}			
			OR = {
				AND = {
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					GER = { has_government = fascism }
				}
				AND = {
					has_government = neutrality
					GER = { has_government = neutrality }
				}
			}
			is_in_faction = no
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			if = {
				limit = {
					OR = {
						has_government = fascism
						GER = { has_government = fascism }
					}
				}
				#Using separate scopes for tooltip reasons
				if = {
					limit = {
						has_unit_leader = 1203
					}
					random_unit_leader = {
						limit = {
							has_id = 1203 #Hadzhipetkov
						}
						retire = yes
					}
				}
				if = {
					limit = {
						has_unit_leader = 1204
					}
					random_unit_leader = {
						limit = {
							has_id = 1204 #Boydev
						}
						retire = yes
					}
				}			
			}
			GER = { country_event = { id = generic.2 hours = 4 random_hours = 2 } }
			custom_effect_tooltip = BUL_join_the_tripartite_pact_tt
			if = {
				limit = {
					any_state = {
						BUL_is_balkan_state = yes
						has_state_flag = BUL_bulgarian_claim_warranted_flag
					}
				}
				custom_effect_tooltip = BUL_join_the_tripartite_pact_warranted_claims_tt
				every_state = {
					limit = {
						BUL_is_balkan_state = yes
						has_state_flag = BUL_bulgarian_claim_warranted_flag
					}
				}
			}

			GER = {
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = GER
				value = 100
			}

			add_ai_strategy = { #We want to garrison our potentially newly-acquired territorial claims
				type = garrison
				value = 25
			}
		}
	}

	focus = {
		id = BUL_peaceful_development

		prerequisite = { focus = BUL_join_the_tripartite_pact }

		icon = GFX_goal_generic_position_armies
		relative_position_id = BUL_join_the_tripartite_pact
		x = 0
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_total_war }

		bypass = {
			has_war = yes
		}

		available = {
			if = {
				limit = {
					has_war = yes
				}
				#This is intended so that the focus does not look unavailable when it can actually be bypassed
			}
			has_war = no
		}
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			add_stability = 0.1
			add_war_support = -0.1
			custom_effect_tooltip = BUL_peaceful_development_tt

			add_ai_strategy = { #We really want to garrison all these territorial gains
				type = garrison
				value = 50
			}
		}
	}

	focus = {
		id = BUL_military_secrets_sharing

		prerequisite = { focus = BUL_join_the_tripartite_pact }

		icon = GFX_goal_tfv_generic_tech_sharing
		relative_position_id = BUL_join_the_tripartite_pact
		x = -2
		y = 1
		cost = 10

		available = {
			BUL_is_not_alone_in_faction = yes
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_to_tech_sharing_group = BUL_axis_research
			GER = {add_to_tech_sharing_group = BUL_axis_research}
			if = { 
				limit = { is_faction_leader = yes }
				every_country = {
					limit = {
						is_in_faction_with = BUL
					}
					add_to_tech_sharing_group = BUL_axis_research
				}
			}
			else = {
				every_country = {
					limit = {
						is_in_faction_with = BUL
						OR = {
							is_major = yes
							is_faction_leader = yes
						}
					}
					add_to_tech_sharing_group = BUL_axis_research
				}
			}
		}
	}

	focus = {
		id = BUL_bulgarian_administration_of_the_balkans

		prerequisite = { focus = BUL_peaceful_development focus = BUL_nationalist_propaganda }

		icon = GFX_focus_BUL_bulgarian_administration_of_the_balkans
		relative_position_id = BUL_join_the_tripartite_pact
		x = -4
		y = 2
		cost = 20

		available = {
			any_controlled_state = {
				has_state_flag = BUL_historical_bulgarian_claim_flag
				is_fully_controlled_by = BUL
			}
		}
		
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			custom_effect_tooltip = BUL_bulgarian_administration_of_the_balkans_decisions_tt
			custom_effect_tooltip = BUL_bulgarian_administration_of_the_balkans_cores_tt
			if = {
				limit = {
					has_full_control_of_state = 106
					106 = { NOT = { is_core_of = ROOT } }
				}
				106 = { set_state_flag = BUL_bulgarian_reintegration_campaign_flag }
				add_state_core = 106
			}
			if = {
				limit = {
					has_full_control_of_state = 803
					803 = { NOT = { is_core_of = ROOT } }
				}
				803 = { set_state_flag = BUL_bulgarian_reintegration_campaign_flag }
				add_state_core = 803
			}
			if = {
				limit = {
					has_full_control_of_state = 77
					77 = { NOT = { is_core_of = ROOT } }
				}
				77 = { set_state_flag = BUL_bulgarian_reintegration_campaign_flag }
				add_state_core = 77
			}
			if = {
				limit = {
					has_full_control_of_state = 971
					971 = { NOT = { is_core_of = ROOT } }
				}
				971 = { set_state_flag = BUL_bulgarian_reintegration_campaign_flag }
				add_state_core = 971
			}
			custom_effect_tooltip = BUL_historical_states_tt

			hidden_effect = {
				news_event = { id = bftb_news.5 hours = 8 random_hours = 4 }
			}

			add_ai_strategy = { #We really want to garrison all these territorial gains
				type = garrison
				value = 75
			}
		}
	}

	focus = {
		id = BUL_restore_the_bulgarian_patriarchate

		prerequisite = { focus = BUL_bulgarian_administration_of_the_balkans }

		icon = GFX_focus_BUL_restore_the_bulgarian_patriarchate
		relative_position_id = BUL_bulgarian_administration_of_the_balkans
		x = 0
		y = 1
		cost = 10

		available = {
			has_stability > 0.50
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_ideas = BUL_bulgarian_patriarchate_restored

			hidden_effect = {
				news_event = { id = bftb_news.6 hours = 8 random_hours = 4 }
			}
		}
	}

	focus = {
		id = BUL_total_war

		select_effect = {
			if = {
				limit = {
					any_allied_country = {
						has_war_with = ROM
					}
				}
				add_ai_strategy = {
					type = prepare_for_war
					id = ROM
					value = 100
				}
			}
		}

		prerequisite = { focus = BUL_join_the_tripartite_pact }

		icon = GFX_goal_generic_attack_allies
		relative_position_id = BUL_join_the_tripartite_pact
		x = 2
		y = 1
		cost = 10
		mutually_exclusive = { focus = BUL_peaceful_development }

		available = {
			has_government = fascism
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_war_support = 0.1
			add_stability = -0.1
			add_ideas = BUL_total_war

			#If ROM is not an ally, then Bulgaria can go for it
			if = {
				limit = {
					ROM = {
						NOT = { is_in_faction_with = ROOT }
					}
				}
				#Romanian controlled states are claimed by Bulgaria
				ROM = {
					every_owned_state = {
						limit = {
							is_fully_controlled_by = ROM
						}
						add_claim_by = ROOT
					}
				}
				if = {
					limit = {
						NOT = { has_war_with = ROM }
					}
					create_wargoal = {
						type = annex_everything
						target = ROM
						expire = 180
					}
					custom_effect_tooltip = BUL_total_war_wargoal_expires_tt
				}
			}
			
			custom_effect_tooltip = BUL_total_war_join_wars_tt
			#Join other wars except for the Soviets
			random_country = {
				limit = {
					is_faction_leader = yes
					is_in_faction_with = BUL
				}
				random_enemy_country = {
					limit = {
						NOT = { has_war_with = ROOT }
						NOT = { tag = SOV }
					}
					ROOT = {
						add_to_war = {
							targeted_alliance = PREV.PREV
							enemy = PREV
							hostility_reason = asked_to_join
						}
					}
				}
			}

			add_ai_strategy = {
				type = conquer
				id = ROM
				value = 100
			}
		}
	}

	focus = {
		id = BUL_the_eastern_front

		select_effect = {
			add_ai_strategy = {
				type = prepare_for_war
				id = SOV
				value = 100
			}
		}

		prerequisite = { focus = BUL_total_war }

		icon = GFX_focus_attack_soviet
		relative_position_id = BUL_total_war
		x = 1
		y = 1
		cost = 10

		available = {
			any_allied_country = {
				has_war_with = SOV
			}
		}
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			#WS bonus based on Fascism Supp
			custom_effect_tooltip = BUL_the_eastern_front_ws_tt
			set_temp_variable = { BUL_ws_from_fascism = party_popularity@fascism }
			divide_temp_variable = { BUL_ws_from_fascism = 5 }
			add_war_support = BUL_ws_from_fascism

			#Stability penalty based on Communism Supp
			custom_effect_tooltip = BUL_the_eastern_front_stab_tt
			if = {
				limit = {
					SOV = { has_government = communism }
				}
				set_temp_variable = { BUL_stab_penalty_from_ideology = party_popularity@communism }
			}
			else_if = {
				limit = {
					SOV = { has_government = democratic }
				}
				set_temp_variable = { BUL_stab_penalty_from_ideology = party_popularity@democratic }
			}
			else_if = {
				limit = {
					SOV = { has_government = neutrality }
				}
				set_temp_variable = { BUL_stab_penalty_from_ideology = party_popularity@neutrality }
			}
			divide_temp_variable = { BUL_stab_penalty_from_ideology = -2 }
			add_stability = BUL_stab_penalty_from_ideology

			#Improve NS
			swap_ideas = {
				remove_idea = BUL_total_war
				add_idea = BUL_total_war_02
			}

			#Join war against SOV
			if = {
				limit = {
					any_allied_country = {
						is_faction_leader = yes
						has_war_with = SOV
					}
				}
				random_other_country = {
					limit = {
						is_faction_leader = yes
						is_in_faction_with = ROOT
						has_war_with = SOV
					}
					ROOT = {
						add_to_war = {
							targeted_alliance = PREV
							enemy = SOV
							hostility_reason = asked_to_join
						}
					}
				}
			}
			else = {
				random_other_country = {
					limit = {
						is_in_faction_with = ROOT
						has_war_with = SOV
					}
					ROOT = {
						add_to_war = {
							targeted_alliance = PREV
							enemy = SOV
							hostility_reason = asked_to_join
						}
					}
				}
			}
			#Tooltip
			if = {
				limit = {
					NOT = {
						any_allied_country = {
							has_war_with = SOV
						}
					}
				}
				custom_effect_tooltip = BUL_the_eastern_front_join_war_tt
			}

			add_ai_strategy = {
				type = declare_war
				id = SOV
				value = 100
			}
		}
	}

	focus = {
		id = BUL_the_third_bulgarian_empire

		select_effect = {
			if = {
				limit = {
					NOT = { is_in_faction_with = TUR }
				}
				add_ai_strategy = {
					type = prepare_for_war
					id = TUR
					value = 100
				}
			}
		}

		prerequisite = { focus = BUL_total_war focus = BUL_bulgarian_administration_of_the_balkans }

		icon = GFX_focus_BUL_the_third_bulgarian_empire
		relative_position_id = BUL_total_war
		x = -1
		y = 2
		cost = 10

		available = {
			is_subject = no
		}
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			set_rule = {
				can_create_factions = yes
			}
			random_owned_state = {
				prioritize = { 48 212 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				if = {
					limit = {
						infrastructure < 3
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				else_if = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					any_owned_state = {
						is_core_of = ROOT
						has_state_flag = BUL_historical_bulgarian_claim_flag
					}
				}
				random_owned_state = {
					limit = {
						is_core_of = ROOT
						has_state_flag = BUL_historical_bulgarian_claim_flag
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					set_state_flag = BUL_imperial_industrial_upgrade_flag
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
				random_owned_state = {
					limit = {
						is_core_of = ROOT
						has_state_flag = BUL_historical_bulgarian_claim_flag
						NOT = { has_state_flag = BUL_imperial_industrial_upgrade_flag }
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					set_state_flag = BUL_imperial_industrial_upgrade_flag
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
				random_owned_state = {
					limit = {
						is_core_of = ROOT
						has_state_flag = BUL_historical_bulgarian_claim_flag
						NOT = { has_state_flag = BUL_imperial_industrial_upgrade_flag }
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
				every_owned_state = {
					limit = {
						has_state_flag = BUL_imperial_industrial_upgrade_flag
					}
					clr_state_flag = BUL_imperial_industrial_upgrade_flag
				}
			}
			else = {
				custom_effect_tooltip = BUL_the_third_bulgarian_empire_tt
			}

			if = {
				limit = {
					NOT = { has_wargoal_against = TUR }
					NOT = { is_in_faction_with = TUR }
				}
				create_wargoal = {
					type = annex_everything
					target = TUR
				}
			}

			#Set ideology cosmetic tag to show the appropriate 3D models
			set_country_flag = BUL_tbe_flag
			BUL_set_appropriate_cosmetic_tag = yes

			hidden_effect = {
				news_event = { id = bftb_news.7 hours = 8 random_hours = 4 }
			}

			add_ai_strategy = {
				type = declare_war
				id = TUR
				value = 100
			}
		}
	}
}
