focus_tree = {
	id = bavaria_focus

    country = {
        factor = 0
        
        modifier = {
            add = 10
            tag = BAV
        }
    }
	
	continuous_focus_position = { x = 50 y = 1500 }
	
	default = no
	
	### ECONOMY ###

	#Bavaria's Economy
	focus = {
		id = BAV_bavarias_economy
		icon = GFX_Focus_Industry
		x = 3
		y = 0
		cost = 60
		search_filters = {
			FOCUS_FILTER_HISTORICAL
			FOCUS_FILTER_INDUSTRY
		}
		available_if_capitulated = no
		ai_will_do = { base = 100 }
		
		completion_reward = {
			add_political_power = 100
			unlock_decision_category_tooltip = BAV_decision_category_economy
		}
	}

	#Bavarian Agriculture 
	focus = {
		id = BAV_bavarian_agriculture
		icon = GFX_Focus_agricultural_economy
		relative_position_id = BAV_bavarias_economy
		x = -3
		y = 1
		prerequisite = { focus = BAV_bavarias_economy }
		cost = 60
		search_filters = {
			FOCUS_FILTER_HISTORICAL
			FOCUS_FILTER_INDUSTRY
		}
		available_if_capitulated = no  
		ai_will_do = { base = 100 }

		completion_reward = {
			add_ideas = BAV_agriculture
		}
	}
 
	#Bavarian Industry 
	focus = {
		id = BAV_bavarian_industry
		icon = GFX_goal_generic_construct_civilian
		relative_position_id = BAV_bavarias_economy
		x = 0
		y = 1
		prerequisite = { focus = BAV_bavarias_economy }
		cost = 60
		search_filters = {
			FOCUS_FILTER_HISTORICAL
			FOCUS_FILTER_INDUSTRY
		}
		available_if_capitulated = no  
		ai_will_do = { base = 100 }
		
		completion_reward = {
			add_ideas = BAV_bavindustry
		}
	}

	#Bavarian Trade and Commerce
	focus = {
		id = BAV_bavarian_trade_and_commerce
		icon = GFX_goal_generic_construct_civilian
		relative_position_id = BAV_bavarias_economy
		x = 3
		y = 1
		prerequisite = { focus = BAV_bavarias_economy }
		cost = 60
		search_filters = {
			FOCUS_FILTER_HISTORICAL
			FOCUS_FILTER_INDUSTRY
		}
		available_if_capitulated = no  
		ai_will_do = { base = 100 }
		
		completion_reward = {
			add_ideas = BAV_bavindustry
		}
	}
	
	#Focus for Bavarian Army 
	focus = {
		id = BAV_bavarianarmy
		icon = GFX_goal_generic_military_deal
		ai_will_do = { factor = 40}
		x = 12
		y = 0
		mutually_exclusive = { }
		prerequisite = { }
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_bavarianarmy
				days = 730
			}
		}
	}
 
	#Focus for Bavarian National Guard 
	focus = {
		id = BAV_bavariannationalguard
		icon = GFX_goal_generic_allies_build_infantry
		ai_will_do = { factor = 40}
		x = 14
		y = 0
		mutually_exclusive = { }
		prerequisite = { }
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_manpower = 10000
		}
	}
 
	#Focus for Maximilian II
	focus = {
		id = BAV_maximilianii
		icon = GFX_focus_hun_elect_a_king
		ai_will_do = { factor = 40}
		x = 21
		y = 0
		mutually_exclusive = { }
		prerequisite = { }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_political_power = 50
			add_ideas = BAV_maximilian
		}
	}
	
	#Focus for Bavarian Supremecy
	focus = {
		id = BAV_bavariansupremacy
		icon = GFX_goal_generic_territory_or_war
		ai_will_do = { factor = 40}
		x = 27
		y = 0
		mutually_exclusive = { }
		prerequisite = { }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_political_power = 50
		}
	}
 
	#Focus for Nuremberg's Industrie- und Kulturverein 
	focus = {
		id = BAV_nurembergsindustrieundkulturverein
		icon = GFX_Focus_Worker
		ai_will_do = { factor = 40}
		x = 3
		y = 1
		mutually_exclusive = { }
		prerequisite = { focus = BAV_bavarian_agriculture}
		prerequisite = { focus = BAV_bavarian_industry}
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 54
			} 
		}
		
		completion_reward = {
			add_political_power = 50
			hidden_effect = {
				country_event = { id = bavariafocus.32 days = 3 }
			}
		}
	}
 
	#Focus for Develop early Weapon Factories 
	focus = {
		id = BAV_developearlyweaponfactories 
		icon = GFX_goal_generic_military_sphere
		ai_will_do = { factor = 40}
		x = 8
		y = 1 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_bavarian_industry} 
		cost = 35
		available_if_capitulated = no  

		search_filters = { FOCUS_FILTER_MILITARY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		
		available = { 
			BAV = { 
				controls_state = 53
			} 
		}
		
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}
 
	#Focus for Concert of Europe 
	focus = { 
		id = BAV_concertofeurope 
		icon = GFX_focus_generic_diplomatic_treaty 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 12
		y = 1 
		mutually_exclusive = { focus = BAV_middlepower} 
		prerequisite = { focus = BAV_bavarianarmy} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }

		completion_reward = {
			add_political_power = 100
			custom_effect_tooltip = BAV_customeffect_concert_or_middle
			
			hidden_effect = {
				news_event = { id = bavariafocus.36 days = 3 }
				every_country = {
					news_event = { id = bavariafocus.36 days = 3 }
				}
			}
		}	
	}
 
	#Focus for Middle Power 
	focus = { 
		id = BAV_middlepower 
		icon = GFX_goal_generic_neutrality_focus 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 14
		y = 1 
		mutually_exclusive = { focus = BAV_concertofeurope} 
		prerequisite = { focus = BAV_bavariannationalguard} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_wantsmiddlepower
				days = 1460
			}
			custom_effect_tooltip = BAV_customeffect_concert_or_middle
			
			hidden_effect = {
				news_event = { id = bavariafocus.37 days = 3 }
				every_country = {
					news_event = { id = bavariafocus.37 days = 3 }
				}
			}
		}
	}
 
	#Focus for Triaspolitik 
	focus = { 
		id = BAV_triaspolitik 
		icon = GFX_focus_generic_treaty 
		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 1 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_maximilianii} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = {
				has_country_flag = bavaria_maximilian_ii_is_dead
				has_idea = BAV_member_trias
			}
		}
		
		completion_reward = {
			add_ideas = BAV_triasidea
			set_country_flag = BAV_triaspolitik_maximilian_ii
			
			custom_effect_tooltip = BAV_customeffect_trias
			
			hidden_effect = {
				country_event = { id = bavariafocus.5 days = 3 }
			}
		}
	}
 
	#Focus for Heil unserm' Koenig, Heil! 
	focus = { 
		id = BAV_heilunsermknigheil 
		icon = GFX_focus_rom_royal_dictatorship
		ai_will_do = { factor = 40}
		x = 21
		y = 1 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_maximilianii} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_maximilian
				add_idea = BAV_maximilian2
			}
		}
	}
 
	#Focus for Constitutional Monarchy 
	focus = { 
		id = BAV_constitutionalmonarchy 
		icon = GFX_focus_rom_handle_king 
		ai_will_do = { factor = 40 }
		x = 23
		y = 1 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_maximilianii} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_political_power = 100
		}
	}
	
	#Focus for Reassure Power
	focus = { 
		id = BAV_reassurepower
		icon = GFX_goal_generic_neutrality_focus 
		ai_will_do = { factor = 40 }
		x = 25
		y = 1 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_maximilianii} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_political_power = 50
		}
	}
	
	#Focus for Bavaria and the German States
	focus = { 
		id = BAV_bavariaandthegermanstates
		icon = GFX_goal_generic_occupy_states_ongoing_war 
		ai_will_do = { factor = 40}
		x = 25
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_reassurepower} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_stability = 0.05
		}
	}
	
	#Focus for The German Strongest
	focus = { 
		id = BAV_thegermanstrongest
		icon = GFX_goal_generic_demand_territory 
		ai_will_do = { factor = 40}
		x = 27
		y = 1
		mutually_exclusive = { }
		prerequisite = { focus = BAV_maximilianii }
		prerequisite = { focus = BAV_bavariansupremacy }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_war_support = 0.05
		}
	}
 
	#Focus for Bavarian Pechkohle 
	focus = { 
		id = BAV_bavarianpechkohle 
		icon = GFX_Focus_coal_mines 
		ai_will_do = { factor = 40}
		x = 0 
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_nurembergsindustrieundkulturverein} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 52
			} 
		}
		
		completion_reward = {
			52 = { add_extra_state_shared_building_slots = 1  }
			52 = { add_building_construction = { type = coal_mine level = 1 instant_build = yes } }
		}
	}
 
	#Focus for Extend Ludwig-Donau-Main-Kanal 
	focus = { 
		id = BAV_extendludwigdonaumainkanal 
		icon = GFX_goal_generic_construct_infrastructure 
		ai_will_do = { factor = 40}
		x = 2
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_nurembergsindustrieundkulturverein} 
		cost = 70
		available_if_capitulated = no 
		
		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 54
				controls_state = 53
			}
			
			NOT = {
				building_total_bonus_present_infra = yes
			}
		}
		
		completion_reward = {
			#54 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
			#53 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
			hidden_effect = {
				set_variable = { infra_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.infra_total = infrastructure_level }
				}
				set_variable = { infra_total_bonus = infra_total }
				add_to_variable = { infra_total_bonus = 2 }
				add_ideas = BAV_boost_infra
				
				country_event = { id = bavariafocus.38 days = 3 }
			}
			custom_effect_tooltip = BAV_customeffect_infra_bonus_two
		}
	}
 
	#Focus for Grundentlastung 
	focus = { 
		id = BAV_grundentlastung 
		icon = GFX_goal_generic_construct_civ_factory 
		ai_will_do = { factor = 40}
		x = 4
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_nurembergsindustrieundkulturverein}
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 52
			}
			
			NOT = {
				building_total_bonus_present_civ = yes
			}
		}
		
		completion_reward = {
			#52 = { add_extra_state_shared_building_slots = 1  }
			#52 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
			hidden_effect = {
				set_variable = { civ_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.civ_total = building_level@industrial_complex }
				}
				set_variable = { civ_total_bonus = civ_total }
				add_to_variable = { civ_total_bonus = 1 }
				
				add_ideas = BAV_boost_civs
			}
			custom_effect_tooltip = BAV_customeffect_civ_bonus
		}
	}
 
	#Focus for Berzirksamt Erlangen 
	focus = { 
		id = BAV_berzirksamterlangen 
		icon = GFX_focus_generic_self_management 
		ai_will_do = { factor = 40}
		x = 6
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_nurembergsindustrieundkulturverein} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = { 
			BAV = { 
				controls_state = 54
				
			}
		}
		
		completion_reward = {
			add_political_power = 50
			hidden_effect = {
				country_event = { id = bavariafocus.33 days = 3 }
			}
		}
	}
 
	#Focus for Knives for the Buergermilitaer 
	focus = { 
		id = BAV_knivesforthebrgermilitr 
		icon = GFX_goal_generic_construct_mil_factory 
		ai_will_do = { factor = 40}
		x = 8
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_developearlyweaponfactories}
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 52
			}
			
			NOT = {
				building_total_bonus_present_mil = yes
			}
		}
		
		completion_reward = {
			#52 = { add_extra_state_shared_building_slots = 1  }
			#52 = { add_building_construction = { type = arms_factory level = 1 instant_build = yes } }
			
			hidden_effect = {
				set_variable = { mil_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.mil_total = building_level@arms_factory }
				}
				set_variable = { mil_total_bonus = mil_total }
				add_to_variable = { mil_total_bonus = 1 }
				
				add_ideas = BAV_boost_mils
			}
			custom_effect_tooltip = BAV_customeffect_mil_bonus
		}
	}
 
	#Focus for Learn from the French 
	focus = { 
		id = BAV_learnfromthefrench 
		icon = GFX_goal_focus_learn_fra 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 11
		y = 2 
		mutually_exclusive = { focus = BAV_learnfromtheprussians} 
		mutually_exclusive = { focus = BAV_learnfromtheaustrians} 
		prerequisite = { focus = BAV_concertofeurope} 
		cost = 35
		available_if_capitulated = no  

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_learnedfromthefrench
				days = 1095
			}
		}
	}
 
	#Focus for Learn from the Prussians 
	focus = { 
		id = BAV_learnfromtheprussians 
		icon = GFX_goal_focus_learn_prs 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 13
		y = 2 
		mutually_exclusive = { focus = BAV_learnfromtheaustrians} 
		mutually_exclusive = { focus = BAV_learnfromthefrench} 
		prerequisite = { focus = BAV_middlepower  focus = BAV_concertofeurope} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY FOCUS_FILTER_RESEARCH }
		
		completion_reward = {
			add_tech_bonus = { bonus = 0.5 uses = 1 category = infantry_weapons }
		}
	}
 
	#Focus for Learn from the Austrians 
	focus = { 
		id = BAV_learnfromtheaustrians 
		icon = GFX_goal_focus_learnfromaustrians 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 15
		y = 2 
		mutually_exclusive = { focus = BAV_learnfromtheprussians} 
		mutually_exclusive = { focus = BAV_learnfromthefrench} 
		prerequisite = { focus = BAV_middlepower} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = land_doctrine }
		}
	}
 
	#Focus for Give Power to Landtag 
	focus = { 
		id = BAV_givepowertolandtag 
		icon = GFX_goal_focus_landtag_more_power 
		ai_will_do = { factor = 40}
		x = 21
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_heilunsermknigheil} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			add_stability = 0.05
		}
	}
 
	#Focus for Social Distress of the Working Class 
	focus = { 
		id = BAV_socialdistressoftheworkingclass 
		icon = GFX_focus_generic_concessions 
		ai_will_do = { factor = 40}
		x = 23
		y = 2 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_constitutionalmonarchy} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = { has_country_flag = bavaria_maximilian_ii_is_dead }
		}
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_maximilian2
				add_idea = BAV_maximilian3
			}
		}
	}
 
	#Focus for Palatinate Lumber 
	focus = { 
		id = BAV_palatinatelumber 
		icon = GFX_goal_focus_palatinate_lumber 
		ai_will_do = { factor = 40}
		x = 0 
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_bavarianpechkohle} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 42
			} 
		}
		
		completion_reward = {
			42 = { add_extra_state_shared_building_slots = 1  }
			42 = { add_building_construction = { type = logging_camp level = 1 instant_build = yes } }
		}
	}
 
	#Focus for Extend Ludwig-Sued-Nord-Bahn 
	focus = { 
		id = BAV_extendludwigsdnordbahn 
		icon = GFX_Focus_transport_railroad_development 
		ai_will_do = { factor = 40}
		x = 2
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_extendludwigdonaumainkanal} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 54
				controls_state = 53
			}
			
			NOT = {
				building_total_bonus_present_infra = yes
			}
		}
		
		completion_reward = {
			#54 = { add_building_construction = { type = infrastructure level = 2 instant_build = yes } }
			#53 = { add_building_construction = { type = infrastructure level = 2 instant_build = yes } }
			
			if = {
				limit = {
					has_idea = NA_B_small_scale_railways
				}
				unlock_decision_tooltip = BAV_decision_railway_upgrade
			}
			
			hidden_effect = {
				set_variable = { infra_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.infra_total = infrastructure_level }
				}
				set_variable = { infra_total_bonus = infra_total }
				add_to_variable = { infra_total_bonus = 4 }
				add_ideas = BAV_boost_infra
				
				country_event = { id = bavariafocus.39 days = 3 }
			}
			custom_effect_tooltip = BAV_customeffect_infra_bonus_four
		}
	}
 
	#Focus for Extend Bavarian Industry 
	focus = { 
		id = BAV_extendbavarianindustry 
		icon = GFX_goal_generic_construct_civ_factory 
		ai_will_do = { factor = 40}
		x = 4
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_grundentlastung} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 42
			}
			NOT = {
				building_total_bonus_present_civ = yes
			}
		}
		
		completion_reward = {
			#42 = { add_extra_state_shared_building_slots = 1  }
			#42 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
			hidden_effect = {
				set_variable = { civ_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.civ_total = building_level@industrial_complex }
				}
				set_variable = { civ_total_bonus = civ_total }
				add_to_variable = { civ_total_bonus = 1 }
				
				add_ideas = BAV_boost_civs
			}
			custom_effect_tooltip = BAV_customeffect_civ_bonus
		}
	}
 
	#Focus for Muenchner Culture 
	focus = { 
		id = BAV_mnchnerculture 
		icon = GFX_goal_focus_munich_culture 
		ai_will_do = { factor = 40}
		x = 6
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_berzirksamterlangen} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = { 
			BAV = { 
				controls_state = 52
			} 
		}
		
		completion_reward = {
			add_political_power = 50
			hidden_effect = {
				country_event = { id = bavariafocus.34 days = 3 }
			}
		}
	}
 
	#Focus for Horses for the Landwehr 
	focus = { 
		id = BAV_horsesforthelandwehr 
		icon = GFX_goal_generic_construct_mil_factory 
		ai_will_do = { factor = 40}
		x = 8
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_knivesforthebrgermilitr}
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 54
			}
			
			NOT = {
				building_total_bonus_present_mil = yes
			}
		}
		
		completion_reward = {
			#54 = { add_extra_state_shared_building_slots = 1  }
			#54 = { add_building_construction = { type = arms_factory level = 1 instant_build = yes } }
			
			hidden_effect = {
				set_variable = { mil_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.mil_total = building_level@arms_factory }
				}
				set_variable = { mil_total_bonus = mil_total }
				add_to_variable = { mil_total_bonus = 1 }
				
				add_ideas = BAV_boost_mils
			}
			custom_effect_tooltip = BAV_customeffect_mil_bonus
		}
	}
 
	#Focus for Train Generals 
	focus = { 
		id = BAV_traingenerals 
		icon = GFX_focus_generic_military_mission 
		ai_will_do = { factor = 40}
		x = 12
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_learnfromthefrench  focus = BAV_learnfromtheprussians  focus = BAV_learnfromtheaustrians} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			remove_ideas = BAV_unexperiencedgen
			add_timed_idea = {
				idea = BAV_trainedgen
				days = 730
			}
		}
	}
 
	#Focus for Stop the Landtag 
	focus = { 
		id = BAV_stopthelandtag 
		icon = GFX_goal_focus_stop_landtag 
		ai_will_do = { factor = 40}
		x = 14
		y = 3 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_learnfromthefrench  focus = BAV_learnfromtheprussians  focus = BAV_learnfromtheaustrians} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			remove_ideas = BAV_landtaghindrance
		}
	}
 
	#Focus for Bavarian Steel 
	focus = { 
		id = BAV_bavariansteel 
		icon = GFX_focus_generic_steel 
		ai_will_do = { factor = 40}
		x = 0 
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_palatinatelumber} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 42
			} 
		}
		
		completion_reward = {
			53 = { add_extra_state_shared_building_slots = 1  }
			53 = { add_building_construction = { type = steel_mill level = 1 instant_build = yes } }
		}
	}
	
	#Focus for Support Farmers 
	focus = { 
		id = BAV_supportfarmers
		icon = GFX_Focus_tomato_farming 
		ai_will_do = { factor = 40}
		x = 0 
		y = 5
		mutually_exclusive = { }
		prerequisite = { focus = BAV_bavariansteel} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 54
			} 
		}
		
		completion_reward = {
			54 = { add_extra_state_shared_building_slots = 1  }
			54 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
		}
	}
	
	#Focus for Cotton Experiments
	focus = { 
		id = BAV_cottonexperiments
		icon = GFX_Focus_Resource_Cotton
		ai_will_do = { factor = 40}
		x = 0 
		y = 6
		mutually_exclusive = { }
		prerequisite = { focus = BAV_supportfarmers} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 53
			} 
		}
		
		completion_reward = {
			53 = { add_extra_state_shared_building_slots = 1  }
			53 = { add_building_construction = { type = cotton_farm level = 1 instant_build = yes } }
		}
	}
 
	#Focus for Reform Arms Industry 
	focus = { 
		id = BAV_reformarmsindustry 
		icon = GFX_focus_secret_rearmament 
		ai_will_do = { factor = 40}
		x = 2
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_extendbavarianindustry} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				add_idea = BAV_bavindustry2
				remove_idea = BAV_bavindustry
			}
		}
	}
 
	#Focus for Civilian Cooperation 
	focus = { 
		id = BAV_civiliancooperation 
		icon = GFX_goal_generic_construction 
		ai_will_do = { factor = 40}
		x = 4
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_extendbavarianindustry} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = {
			BAV = { 
				controls_state = 53
			}
			
			NOT = {
				building_total_bonus_present_civ = yes
			}
		}
		
		completion_reward = {
			#53 = { add_extra_state_shared_building_slots = 1  }
			#53 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
			hidden_effect = {
				set_variable = { civ_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.civ_total = building_level@industrial_complex }
				}
				set_variable = { civ_total_bonus = civ_total }
				add_to_variable = { civ_total_bonus = 1 }
				
				add_ideas = BAV_boost_civs
			}
			custom_effect_tooltip = BAV_customeffect_civ_bonus
		}
	}
	
	#Focus for Focus on Civilian Industry
	focus = { 
		id = BAV_focusoncivilianindustry
		icon = GFX_Focus_industrial_revolution 
		ai_will_do = { factor = 40}
		x = 4
		y = 5
		mutually_exclusive = { focus = BAV_focusonmilitaryindustry }
		prerequisite = { focus = BAV_theprideofthebavarians }
		prerequisite = { focus = BAV_civiliancooperation }
		prerequisite = { focus = BAV_reformarmsindustry }
		prerequisite = { focus = BAV_gunsfortheknigsarmee }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_bavindustry2
				add_idea = BAV_bavindustry3
			}
			
			unlock_decision_tooltip = BAV_decision_enact_free_enterprise

			if = {
				limit = {
					has_idea = agrarian
				}
				activate_mission_tooltip = BAV_mission_industrializing
				hidden_effect = {
					activate_mission = BAV_mission_industrializing
				}
			}
		}
	}
	
	#Focus for Focus on Military Industry
	focus = { 
		id = BAV_focusonmilitaryindustry
		icon = GFX_goal_generic_political_pressure 
		ai_will_do = { factor = 40}
		x = 6
		y = 5
		mutually_exclusive = { focus = BAV_focusoncivilianindustry }
		prerequisite = { focus = BAV_theprideofthebavarians }
		prerequisite = { focus = BAV_civiliancooperation }
		prerequisite = { focus = BAV_reformarmsindustry }
		prerequisite = { focus = BAV_gunsfortheknigsarmee }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_bavindustry2
				add_idea = BAV_bavindustryM
			}

			unlock_decision_tooltip = BAV_decision_enact_free_enterprise
			
			if = {
				limit = {
					has_idea = agrarian
				}
				activate_mission_tooltip = BAV_mission_industrializing
				hidden_effect = {
					activate_mission = BAV_mission_industrializing
				}
			}
		}
	}
	
	#Focus for Invest in the Army
	focus = { 
		id = BAV_investinthearmy
		icon = GFX_goal_generic_small_arms 
		ai_will_do = { factor = 40}
		x = 6
		y = 6
		mutually_exclusive = { }
		prerequisite = { focus = BAV_focusonmilitaryindustry }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			army_experience = 50
		}
	}
	
	#Focus for New Factory Layout
	focus = { 
		id = BAV_newfactorylayout
		icon = GFX_goal_generic_axis_build_infantry 
		ai_will_do = { factor = 40}
		x = 8
		y = 6
		mutually_exclusive = { }
		prerequisite = { focus = BAV_focusonmilitaryindustry }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_bavindustryM
				add_idea = BAV_bavindustryM2
			}
		}
	}
	
	#Focus for New Crops and Fields
	focus = { 
		id = BAV_newcropsandfields
		icon = GFX_goal_generic_production 
		ai_will_do = { factor = 40}
		x = 4
		y = 6
		mutually_exclusive = { }
		prerequisite = { focus = BAV_focusoncivilianindustry }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_agriculture
				add_idea = BAV_agriculture2
			}
		}
	}
	
	#Focus for Use Local Resources
	focus = { 
		id = BAV_uselocalresources
		icon = GFX_goal_generic_production2
		ai_will_do = { factor = 40}
		x = 2
		y = 6
		mutually_exclusive = { }
		prerequisite = { focus = BAV_focusoncivilianindustry }
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			swap_ideas = {
				remove_idea = BAV_bavindustry3
				add_idea = BAV_bavindustry4
			}
		}
	}
 
	#Focus for The Pride of the Bavarians 
	focus = { 
		id = BAV_theprideofthebavarians 
		icon = GFX_focus_generic_support_the_left_right 
		ai_will_do = { factor = 40}
		x = 6
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_mnchnerculture} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_pride
				days = 100
			}
			hidden_effect = {
				country_event = { id = bavariafocus.35 days = 3 }
			}
		}
	}
 
	#Focus for Guns for the Koenigsarmee
	focus = { 
		id = BAV_gunsfortheknigsarmee 
		icon = GFX_goal_generic_construct_mil_factory 
		ai_will_do = { factor = 40}
		x = 8
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_horsesforthelandwehr} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available = { 
			BAV = { 
				controls_state = 53
			}
			
			NOT = {
				building_total_bonus_present_mil = yes
			}
		}
		
		completion_reward = {
			#53 = { add_extra_state_shared_building_slots = 1  }
			#53 = { add_building_construction = { type = arms_factory level = 1 instant_build = yes } }
			
			hidden_effect = {
				set_variable = { mil_total = 0 }
				every_owned_state = {
					add_to_variable = { ROOT.mil_total = building_level@arms_factory }
				}
				set_variable = { mil_total_bonus = mil_total }
				add_to_variable = { mil_total_bonus = 1 }
				
				add_ideas = BAV_boost_mils
			}
			custom_effect_tooltip = BAV_customeffect_mil_bonus
		}
	}
 
	#Focus for Improve the Kreuzkaserne
	focus = { 
		id = BAV_improvethekreuzkaserne
		icon = GFX_focus_generic_military_academy 
		ai_will_do = { factor = 20}
		x = 10
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_traingenerals} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_manpower = 10000
		}
	} 
	
	#Focus for Improve the Isarkaserne
	focus = { 
		id = BAV_improvetheisarkaserne
		icon = GFX_goal_generic_cavalry 
		ai_will_do = { factor = 20}
		x = 10
		y = 5
		mutually_exclusive = { }
		prerequisite = { focus = BAV_improvethekreuzkaserne} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_manpower = 15000
		}		
	} 
 
	#Focus for The Bavarian War Strategy 
	focus = { 
		id = BAV_thebavarianwarstrategy 
		icon = GFX_goal_generic_army_doctrines 
		ai_will_do = { factor = 20}
		x = 12
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_traingenerals} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = land_doctrine }
		}
	}
 
	#Focus for Army First 
	focus = { 
		id = BAV_armyfirst 
		icon = GFX_focus_generic_little_entente 
		ai_will_do = { factor = 20}
		x = 14
		y = 4 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_stopthelandtag} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }

		completion_reward = {
			add_timed_idea = { 
				idea = BAV_armyfirst
				days = 365
			}
		}		
	}
 
	#Focus for Ludwig II. 
	focus = { 
		id = BAV_ludwigii 
		icon = GFX_goal_focus_steh_uns_bei
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 21
		y = 4
		mutually_exclusive = { focus = BAV_getridofthewittelsbachs }
		prerequisite = { }
		cost = 0.1
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }
		
		available = {
			has_country_flag = bavaria_maximilian_ii_is_dead
		}
		
		completion_reward = {
			add_stability = 0.10
			custom_effect_tooltip = BAV_customeffect_ludwig
			hidden_effect = {
				BAV_ludwig_ii = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							desc = "POLITICS_BAV_LUDWIG_II_DESC"
							ideology = despotism
							expire = "1900.1.1.1"
						}
					}
				}
				retire_character = BAV_wittelsbach_regency
				remove_ideas = BAV_noleader
				country_event = { id = bavariafocus.1 days = 3 }
			}
		}
	}
 
	#Focus for Get Rid of the Wittelsbachs 
	focus = { 
		id = BAV_getridofthewittelsbachs 
		icon = GFX_goal_focus_get_rid_wittelsbachs 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 29
		y = 4 
		mutually_exclusive = { focus = BAV_ludwigii } 
		prerequisite = { }
		cost = 0.1
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ALTHISTORY FOCUS_FILTER_POLITICAL }
		
		available = {
			has_country_flag = bavaria_maximilian_ii_is_dead
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_getridofwittelsbachs
			hidden_effect = {
				country_event = { id = bavariafocus.3 days = 2 }
			}
		}
	}
 
	#Focus for Prinz Karl Theodor's Lessons 
	focus = { 
		id = BAV_prinzkarltheodorslessons 
		icon = GFX_goal_generic_position_armies 
		ai_will_do = { factor = 20}
		x = 12
		y = 5 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_thebavarianwarstrategy} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_timed_idea = { 
				idea = BAV_karlslessons
				days = 365
			}
		}
	}
 
	#Focus for Recover from the Russian Campaign 
	focus = { 
		id = BAV_recoverfromtherussiancampaign 
		icon = GFX_focus_CZE_german_puppet 
		ai_will_do = { factor = 40}
		x = 14
		y = 5 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_armyfirst} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			remove_ideas = BAV_russiancampaign
		}
	}
 
	#Focus for Convince the Landtag 
	focus = { 
		id = BAV_convincethelandtag 
		icon = GFX_goal_focus_convince_landtag 
		ai_will_do = { factor = 40}
		x = 16
		y = 5 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_stopthelandtag} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_landtagconvinced
				days = 730
			}
			if = {
				limit = {
					NOT = {
						OR = {
							has_idea = army_spending_level_3
							has_idea = army_spending_level_4
							has_idea = army_spending_level_5
						}
					}
				}
				if = {
					limit = {
						has_idea = army_spending_level_2
					}
					swap_ideas = {
						remove_idea = army_spending_level_2
						add_idea = army_spending_level_3
					}
				}
				else_if = {
					limit = {
						has_idea = army_spending_level_1
					}
					swap_ideas = {
						remove_idea = army_spending_level_1
						add_idea = army_spending_level_2
					}
				}
			}
		}
	}
 
	#Focus for Like Father, Like Son 
	focus = { 
		id = BAV_likefatherlikeson 
		icon = GFX_goal_focus_father_son 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 5 
		mutually_exclusive = { focus = BAV_gottstehunsbei} 
		prerequisite = { focus = BAV_ludwigii} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ALTHISTORY }
		
		available = {
			has_country_flag = bavaria_legacy_of_maximilian_ii
		}
		
		completion_reward = {
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = land_doctrine }
			
			hidden_effect = {
				set_country_flag = eoanb_flag_sww_side_mid
			}
		}
	}
 
	#Focus for Gott, steh' uns bei!
	focus = { 
		id = BAV_gottstehunsbei 
		icon =  GFX_goal_focus_ludwig_ii
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 23
		y = 5 
		mutually_exclusive = { focus = BAV_likefatherlikeson} 
		prerequisite = { focus = BAV_ludwigii} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }
		
		available = {
			has_country_flag = bavaria_new_king
		}
		
		completion_reward = {
			add_tech_bonus = { bonus = 0.5 uses = 2 category = biochemistry_tech }
		}
	}
 
	#Focus for Voices of the People 
	focus = { 
		id = BAV_voicesofthepeople 
		icon = GFX_goal_generic_political_pressure 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 26
		y = 5 
		mutually_exclusive = { focus = BAV_newideasnewwinds }
		prerequisite = { focus = BAV_getridofthewittelsbachs} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_ideas = BAV_centrismrise
		}
	}
 
	#Focus for New Ideas, New Winds 
	focus = { 
		id = BAV_newideasnewwinds 
		icon = GFX_Focus_social_reforms
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 32
		y = 5 
		mutually_exclusive = { focus = BAV_voicesofthepeople } 
		prerequisite = { focus = BAV_getridofthewittelsbachs} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_ideas = BAV_socegalrise
		}
	}
 
	#Focus for Prepare for War 
	focus = { 
		id = BAV_prepareforwar 
		icon = GFX_goal_generic_occupy_states_ongoing_war 
		ai_will_do = { factor = 20}
		x = 14
		y = 6 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_convincethelandtag} 
		prerequisite = { focus = BAV_recoverfromtherussiancampaign} 
		prerequisite = { focus = BAV_prinzkarltheodorslessons} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY FOCUS_FILTER_RESEARCH }
		
		completion_reward = {
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = land_doctrine }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = infantry_weapons }
		}
	}

	#Focus for Military Strength
	focus = { 
		id = BAV_militarystrength
		icon = GFX_goal_generic_small_arms 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 18
		y = 6 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_likefatherlikeson} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		
		completion_reward = {
			add_tech_bonus = { bonus = 0.5 uses = 1 category = infantry_weapons }
		}
	}
 
	#Focus for Withdraw from the Zollverein 
	focus = { 
		id = BAV_withdrawfromthezollverein 
		icon = GFX_focus_renounce_the_treaty_of_trianon 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 20
		y = 6 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_likefatherlikeson}
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			remove_ideas = GEC_idea_zollverein_1
		}
	}
 
	#Focus for Military Consultative Commission
	focus = { 
		id = BAV_militaryconsultativecommission
		icon = GFX_goal_focus_military_consultative_commission 
		ai_will_do = { factor = 40}
		x = 23
		y = 10
		mutually_exclusive = { }
		prerequisite = { focus = BAV_anotherwaytounity focus = BAV_myenemysenemy } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_militaryconsultativecommission
			
			hidden_effect = {
				if = {
					limit = {
						AND = {
							has_country_flag = bavaria_AUS_sees_possibly_ally
							has_country_flag = bavaria_AUS_sees_ally
						}
					}
					country_event = { id = bavariafocus.23 days = 3 }
				}
				else_if = {
					limit = {
						has_country_flag = bavaria_AUS_sees_possibly_ally
						NOT = {
							has_country_flag = bavaria_AUS_sees_ally
						}
					}
					country_event = { id = bavariafocus.24 days = 3 }
				}
				else_if = {
					limit = {
						AND = {
							has_country_flag = bavaria_PRS_accepts_support
							has_country_flag = bavaria_PRS_accepts_wish_for_unity
						}
					}
					country_event = { id = bavariafocus.25 days = 3 }
				}
				else_if = {
					limit = {
						has_country_flag = bavaria_PRS_accepts_support
						NOT = {
							has_country_flag = bavaria_PRS_accepts_wish_for_unity
						}
					}
					country_event = { id = bavariafocus.26 days = 3 }
				}
				else = {
					set_country_flag = bavaria_mcc_neutral
					country_event = { id = bavariafocus.27 days = 3 }
				}
			}
		}
	}
 
	#Focus for Pick our Side 
	focus = { 
		id = BAV_pickourside 
		icon = GFX_goal_generic_dangerous_deal 
		ai_will_do = { factor = 40}
		x = 23
		y = 11
		mutually_exclusive = { }
		prerequisite = { focus = BAV_militaryconsultativecommission } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		available = {
			has_country_flag = bavaria_military_commission_over
			NOT = {
				OR = {
					has_global_flag = eoanb_flag_seven_weeks_war_ongoing
					PRS = { has_country_flag = eoanb_flag_won_7_weeks_war }
					AUS = { has_country_flag = AUS_flag_won_sww }
				}
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_pickourside
			hidden_effect = { country_event = { id = bavariafocus.2 days = 7 } }
		}
	}
 
	#Focus for The New Republic 
	focus = { 
		id = BAV_thenewrepublic 
		icon = GFX_focus_generic_the_giant_wakes 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 26
		y = 6 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_voicesofthepeople} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		available = {
			centrism > 0.55
		}
		
		completion_reward = {
			#Create Conservative Liberal leader
			set_politics = { ruling_party = centrism elections_allowed = yes }
			remove_ideas = BAV_noleader
			add_ideas = BAV_centrismrise2
			set_cosmetic_tag = BAV_cosmetic_republic
		}
	}
 
	#Focus for Reform the Country 
	focus = { 
		id = BAV_reformthecountry 
		icon = GFX_Focus_Government_Reform_Administration 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 32
		y = 6 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_newideasnewwinds} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		available = {
			social_egalitarianism > 0.55
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_redpick
			unlock_decision_tooltip = BAV_decision_enact_free_enterprise
			hidden_effect = { country_event = { id =  bavariafocus.29 days = 3 } }
		}
	}
 
	#Focus for For the German Bavaria! 
	focus = { 
		id = BAV_forthegermanbavaria 
		icon = GFX_goal_generic_major_war 
		ai_will_do = { factor = 20}
		x = 14
		y = 7 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_prepareforwar} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY }
		
		completion_reward = {
			add_war_support = 0.1
		}
	}
 
	#Focus for Bavaria's Power 
	focus = { 
		id = BAV_bavariaspower 
		icon = GFX_goal_focus_bavarias_power
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 18
		y = 7 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_militarystrength} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		
		completion_reward = {
			add_manpower = 10000
			add_political_power = 50
			add_war_support = 0.25
		}
	}
	
	#Focus for Convince Wuerttemberg
	focus = { 
		id = BAV_convincewuerttemberg
		icon = GFX_goal_focus_convince_wurttemberg 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 20
		y = 7 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_withdrawfromthezollverein} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			OR = {
				AND = {
					has_completed_focus = BAV_likefatherlikeson
					NOT = {
						country_exists = WUR
					}
				}
				WUR = {
					has_idea = BAV_member_trias
				}
			}
		}
		
		completion_reward = {
			WUR = {
				country_event = { id = bavariafocus.6 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Convince Baden
	focus = { 
		id = BAV_convincebaden
		icon = GFX_goal_focus_convince_baden 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 20
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_convincewuerttemberg} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			OR = {
				AND = {
					has_completed_focus = BAV_likefatherlikeson
					NOT = {
						country_exists = BAD
					}
				}
				BAD = {
					has_idea = BAV_member_trias
				}
			}
		}
		
		completion_reward = {
			BAD = {
				country_event = { id = bavariafocus.6 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Extend the Trias
	focus = { 
		id = BAV_extendthetrias
		icon = GFX_goal_focus_extend_trias 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 9
		mutually_exclusive = { }
		prerequisite = { focus = BAV_convincebaden}
		prerequisite = { focus = BAV_thegermantwo}
		cost = 140
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		available = {
			has_country_flag = BAV_triaspolitik_maximilian_ii
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_extendthetrias
		}
	}
	
	#Focus for Sway Hesse-Darmstadt
	focus = { 
		id = BAV_swayhessedarmstadt
		icon = GFX_Focus_Diplomatic_Sway_Hesse_Darmstadt 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 20
		y = 10
		mutually_exclusive = { }
		prerequisite = { focus = BAV_extendthetrias} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			has_completed_focus = BAV_likefatherlikeson
			NOT = {
				country_exists = HSD
			}
		}
		
		completion_reward = {
			HSD = {
				country_event = { id = bavariafocus.7 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Sway Frankfurt
	focus = { 
		id = BAV_swayfrankfurt
		icon = GFX_Focus_Diplomatic_Sway_Frankfurt 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 18
		y = 10
		mutually_exclusive = { }
		prerequisite = { focus = BAV_extendthetrias} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			has_completed_focus = BAV_likefatherlikeson
			NOT = {
				country_exists = FRK
			}
		}
		
		completion_reward = {
			FRK = {
				country_event = { id = bavariafocus.7 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Sway Sachsen
	focus = { 
		id = BAV_swaysachsen
		icon = GFX_Focus_Diplomatic_Sway_Sachsen 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 11
		mutually_exclusive = { }
		prerequisite = { focus = BAV_swayfrankfurt}
		prerequisite = { focus = BAV_swayhessedarmstadt} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			has_completed_focus = BAV_likefatherlikeson
			NOT = {
				country_exists = SAX
			}
		}
		
		completion_reward = {
			SAX = {
				country_event = { id = bavariafocus.7 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Sway Thüringen
	focus = { 
		id = BAV_swaythueringen
		icon = GFX_Focus_Diplomatic_Sway_Thuringen 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 21
		y = 11
		mutually_exclusive = { }
		prerequisite = { focus = BAV_swayfrankfurt}
		prerequisite = { focus = BAV_swayhessedarmstadt} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			has_completed_focus = BAV_likefatherlikeson
			NOT = {
				country_exists = THU
			}
		}
		
		completion_reward = {
			THU = {
				country_event = { id = bavariafocus.7 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for Sway Hannover
	focus = { 
		id = BAV_swayhannover
		icon = GFX_Focus_Diplomatic_Sway_Hannover 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 17
		y = 11
		mutually_exclusive = { }
		prerequisite = { focus = BAV_swayfrankfurt}
		prerequisite = { focus = BAV_swayhessedarmstadt} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			has_completed_focus = BAV_likefatherlikeson
			NOT = {
				country_exists = HAN
			}
		}
		
		completion_reward = {
			HAN = {
				country_event = { id = bavariafocus.7 days = 2 }
			}
			
			custom_effect_tooltip = BAV_customeffect_convinceeffect
		}
	}
	
	#Focus for The German Two
	focus = { 
		id = BAV_thegermantwo
		icon = GFX_goal_focus_the_german_two 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 18
		y = 8
		mutually_exclusive = { }
		prerequisite = { focus = BAV_convincewuerttemberg}
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		bypass = {
			OR = {
				AND = {
					has_completed_focus = BAV_likefatherlikeson
					NOT = {
						country_exists = WUR
					}
				}
				WUR = {
					has_idea = BAV_member_trias
				}
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_germantwo
		
			hidden_effect = {
				add_opinion_modifier = { target = WUR modifier = bav_german_two }
				WUR = {
					add_opinion_modifier = { target = BAV modifier = bav_german_two }
				}
			}
		}
	}
	
	#Focus for Süddeutscher Zollverein
	focus = { 
		id = BAV_sueddeutscherzollverein
		icon = GFX_goal_generic_forceful_treaty 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 12
		mutually_exclusive = { }
		prerequisite = { focus = BAV_swayhannover}
		prerequisite = { focus = BAV_swaysachsen}
		prerequisite = { focus = BAV_swaythueringen}
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_sueddeutscherzollverein
		
			#WUR
			#BAD
			#HSD
			#THU
			#SAX
			#HES
			#HAN
			
			hidden_effect = {
				every_country = {
					limit = {
						has_idea = BAV_foreign_accepted_trias
					}
				
					country_event = { id = bavariafocus.8 days = 2 }
				}
			}
		}
	}
 
	#Focus for Prussia is Right 
	focus = { 
		id = BAV_prussiaisright 
		icon = GFX_Focus_Diplomatic_Ally_PRS 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 12
		mutually_exclusive = { focus = BAV_austriaisright} 
		prerequisite = { focus = BAV_pickourside} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		available = {
			has_country_flag = bavaria_sides_with_prussia
		}
		
		completion_reward = {
			add_opinion_modifier = { target = PRS modifier = bav_give_right_good }
		
			PRS = {
				add_opinion_modifier = { target = BAV modifier = bav_give_right_good }
			}
			AUS = {
				add_opinion_modifier = { target = BAV modifier = bav_give_right_bad }
			}
		}
	}
 
	#Focus for Austria is Right 
	focus = { 
		id = BAV_austriaisright 
		icon = GFX_Focus_Diplomatic_Ally_AUS 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 24
		y = 12
		mutually_exclusive = { focus = BAV_prussiaisright} 
		prerequisite = { focus = BAV_pickourside} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		available = {
			has_country_flag = bavaria_sides_with_austria
		}
		
		completion_reward = {
			add_opinion_modifier = { target = AUS modifier = bav_give_right_good }
			
			AUS = {
				add_opinion_modifier = { target = BAV modifier = bav_give_right_good }
			}
			PRS = {
				add_opinion_modifier = { target = BAV modifier = bav_give_right_bad }
			}
		}
	}
 
	#Focus for Blue Skies of Bavaria 
	focus = { 
		id = BAV_blueskiesofbavaria 
		icon = GFX_goal_focus_blue_skies
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 26
		y = 7 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_thenewrepublic} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_centrismrise3
				days = 730
			}
		}
	}
 
	#Focus for Voting 
	focus = { 
		id = BAV_voting 
		icon = GFX_Focus_Vote_Election 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 28
		y = 7 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_thenewrepublic} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_stability = 0.05
			
			if = {
				limit = {
					NOT = {
						OR = {
							has_idea = one_party_elections
							has_idea = limited_elections
							has_idea = free_elections
						}
					}
				}
				swap_ideas = {
					remove_idea = no_elections
					add_idea = one_party_elections
				}
			}
		}
	}
 
	#Focus for Take Over 
	focus = { 
		id = BAV_takeover 
		icon = GFX_Focus_Law_Vote_1 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 31
		y = 7 
		mutually_exclusive = { focus = BAV_revolution} 
		prerequisite = { focus = BAV_reformthecountry} 
		cost = 0.1
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		available = {
			has_country_flag = bavaria_take_over_government
		}
		
		completion_reward = {
			set_politics = { ruling_party = social_egalitarianism elections_allowed = no }
			set_cosmetic_tag = BAV_cosmetic_republic
			#create SocEgal leader
			remove_ideas = BAV_noleader
			add_ideas = BAV_socegalrise2
			swap_ideas = {
				remove_idea = limited_equality
				add_idea = full_equality
			}
		}
	}
 
	#Focus for Revolution 
	focus = { 
		id = BAV_revolution 
		icon = GFX_goal_generic_attack_allies 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 33
		y = 7 
		mutually_exclusive = { focus = BAV_takeover} 
		prerequisite = { focus = BAV_reformthecountry} 
		cost = 0.1
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		available = {
			has_country_flag = bavaria_the_only_way_is_revolution
		}
		
		completion_reward = {
			set_politics = { ruling_party = social_egalitarianism elections_allowed = no }
			#create SocEgal leader
			swap_ideas = {
				remove_idea = limited_equality
				add_idea = full_equality
			}
			set_cosmetic_tag = BAV_cosmetic_republic
			add_popularity = { ideology = social_egalitarianism popularity = 0.2 }
			start_civil_war = { ideology = autocracy size = 0.5 }
		}
	}
 
	#Focus for A Third Deutschland 
	focus = { 
		id = BAV_athirddeutschland 
		icon = GFX_goal_generic_major_alliance 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 19
		y = 13
		mutually_exclusive = { }
		prerequisite = { focus = BAV_sueddeutscherzollverein } 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available = {
			NOT = {
				is_in_faction = yes
			}
			custom_trigger_tooltip = {
				tooltip = BAV_customtrigger_trias_exists
				has_idea = BAV_member_trias
			}
		}
		
		completion_reward = {
			create_faction_from_template = faction_template_sgc
			#create_faction = south_german_confederation
			
			#WUR
			#BAD
			#HSD
			#THU
			#SAX
			#HES
			#HAN
			
			every_country = {
				limit = {
					has_idea = BAV_foreign_accepted_trias
					has_idea = BAV_sueddeutscher_zollverein
					has_idea = BAV_member_trias
					is_in_faction = no
					is_puppet = no
					NOT = { has_war_with = BAV }
				}
			
				country_event = { id = bavariafocus.9 days = 1 }
			}
			
			custom_effect_tooltip = BAV_customeffect_thirddeutschland
			
			hidden_effect = {
				news_event = { id = bavariafocus.40 days = 1 }
				clr_country_flag = BAV_triaspolitik_maximilian_ii
			}
		}
	}
 
	#Focus for Join the North 
	focus = { 
		id = BAV_jointhenorth 
		icon = GFX_goal_generic_major_alliance 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 13
		mutually_exclusive = { }
		prerequisite = { focus = BAV_prussiaisright} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_joinnorth
			hidden_effect = {
				set_country_flag = eoanb_flag_sww_side_prs
			}
		}
	}
 
	#Focus for Ludwig von der Pfordten
	focus = {
		id = BAV_ludwigvonderpfordten
		icon = GFX_goal_focus_ludwig_pfordten 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 24
		y = 7
		mutually_exclusive = { focus= BAV_supportbismarcksparliament }
		prerequisite = { 
		focus = BAV_catholicchurch 
		focus = BAV_acceptprotestantism
		} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_political_power = 50
		}
	}
	
	#Focus for My Enemy's Enemy
	focus = { 
		id = BAV_myenemysenemy
		icon = GFX_goal_generic_improve_relations 
		ai_will_do = { factor = 40}
		x = 24
		y = 9
		mutually_exclusive = { }
		prerequisite = { focus = BAV_commoncontempt } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_myenemysenemy
			hidden_effect = {
				AUS = {
					country_event = { id = bavariafocus.16 days = 3 }
				}
			}
		}
	}
	
	#Focus for Another Way to Unity
	focus = { 
		id = BAV_anotherwaytounity
		icon = GFX_goal_generic_position_armies 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 9
		mutually_exclusive = { }
		prerequisite = { focus = BAV_austriasresigntowar } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_anotherwaytounity
			hidden_effect = {
				PRS = {
					country_event = { id = bavariafocus.21 days = 3 }
				}
			}
		}
	}
	
	#Focus for Austrias Resign to War
	focus = { 
		id = BAV_austriasresigntowar
		icon = GFX_goal_generic_attack_allies 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 8
		mutually_exclusive = { }
		prerequisite = { focus = BAV_supportbismarcksparliament } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		completion_reward = {
			add_opinion_modifier = { target = AUS modifier = bav_resign_to_war }
			AUS = {
				add_opinion_modifier = { target = BAV modifier = bav_resign_to_war }
			}
		}
	}
	
	#Focus for Common Contempt
	focus = { 
		id = BAV_commoncontempt
		icon = GFX_goal_generic_military_deal 
		ai_will_do = { factor = 40}
		x = 24
		y = 8
		mutually_exclusive = { }
		prerequisite = { focus = BAV_ludwigvonderpfordten } 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY }
		
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_commoncontempt
			hidden_effect = {
				AUS = {
					country_event = { id = bavariafocus.15 days = 3 }
				}
			}
		}
	}
	
	#Focus for Support Bismarck's Parliament
	focus = { 
		id = BAV_supportbismarcksparliament
		icon = GFX_goal_focus_bismarck_parliament 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 7
		mutually_exclusive = { focus = BAV_ludwigvonderpfordten }
		prerequisite = { focus = BAV_catholicchurch focus = BAV_acceptprotestantism} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_bismarcksparliament
			hidden_effect = {
				PRS = {
					country_event = { id = bavariafocus.19 days = 3 }
				}
			}
		}
	}
 
	#Focus for Catholic Church
	focus = { 
		id = BAV_catholicchurch
		icon = GFX_Focus_Catholic_Religion 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		x = 24
		y = 6
		mutually_exclusive = { focus = BAV_acceptprotestantism }
		prerequisite = { focus = BAV_gottstehunsbei} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MEX_CHURCH_AUTHORITY }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_catholicchurch
			hidden_effect = { country_event = { id = bavariafocus.10 days = 3 } }
		}
	}
	
	#Focus for Accept Protestantism
	focus = { 
		id = BAV_acceptprotestantism
		icon = GFX_goal_focus_accept_protestantism 
		ai_will_do = {
			factor = 40
			
			# Modifies the base factor if the triggers are met
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		x = 22
		y = 6
		mutually_exclusive = { focus = BAV_catholicchurch }
		prerequisite = { focus = BAV_gottstehunsbei} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_acceptprotestantism
			hidden_effect = { country_event = { id = bavariafocus.11 days = 3 } }
		}
	}
 
	#Focus for Join the South 
	focus = { 
		id = BAV_jointhesouth
		icon = GFX_goal_generic_major_alliance 
		ai_will_do = { factor = 80}
		x = 24
		y = 13
		mutually_exclusive = { }
		prerequisite = { focus = BAV_austriaisright} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_joinsouth
			
			hidden_effect = {
				set_country_flag = eoanb_flag_sww_side_aus
			}
		}
	}
 
	#Focus for Visionaries of Europe 
	focus = { 
		id = BAV_visionariesofeurope 
		icon = GFX_Focus_Continent_West_Europe 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 26
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_blueskiesofbavaria} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_visionaries
				days = 730
			}
		}
	}
 
	#Focus for Democracy 
	focus = { 
		id = BAV_democracy 
		icon = GFX_goal_support_democracy 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 28
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_voting} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_political_power = 100
			
			if = {
				limit = {
					has_idea = absolutism
				}
				swap_ideas = {
					remove_idea = absolutism
					add_idea = parliamentary_suffrage
				}
			}
			else_if = {
				limit = {
					has_idea = parliamentary_suffrage
				}
				swap_ideas = {
					remove_idea = parliamentary_suffrage
					add_idea = property_owners_suffrage
				}
			}
			else_if = {
				limit = {
					has_idea = property_owners_suffrage
				}
				swap_ideas = {
					remove_idea = property_owners_suffrage
					add_idea = universal_male_suffrage
				}
			}
			else_if = {
				limit = {
					has_idea = universal_male_suffrage
				}
				swap_ideas = {
					remove_idea = universal_male_suffrage
					add_idea = universal_suffrage
				}
			}
		}
	}
 
	#Focus for New Muenchner Raete 
	focus = { 
		id = BAV_newmnchnerrte 
		icon = GFX_goal_focus_munchner_rate
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 31
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_takeover} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_political_power = 100
		}
	}
 
	#Focus for Men and Women of Bavaria 
	focus = { 
		id = BAV_menandwomenofbavaria 
		icon = GFX_focus_generic_support_the_left_right 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 33
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_revolution} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_socegalrise5
				days = 730
			}
		}
	}
 
	#Focus for New Volunteers 
	focus = { 
		id = BAV_newvolunteers 
		icon = GFX_goal_generic_axis_build_infantry 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 36
		y = 8 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_revolution} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_SOCIAL_EGAL }
		
		completion_reward = {
			add_manpower = 5000
		}
	}
 
	#Focus for Customs? 
	focus = { 
		id = BAV_customs 
		icon = GFX_Focus_Catholism_Cross_Burning
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 26
		y = 9 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_visionariesofeurope} 
		prerequisite = { focus = BAV_democracy} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			custom_effect_tooltip = BAV_customeffect_customs
			hidden_effect = { country_event = { id = bavaria_focus.28 days = 1 } }
		}
	}
 
	#Focus for Agricultural Reforms 
	focus = { 
		id = BAV_agriculturalreforms 
		icon = GFX_focus_generic_industry_3 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 30
		y = 9 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_menandwomenofbavaria  focus = BAV_newmnchnerrte} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_socreforms
				days = 730
			}
			add_stability = 0.1
		}
	}
 
	#Focus for Industrial Reforms 
	focus = { 
		id = BAV_industrialreforms 
		icon = GFX_Focus_industrial_revolution 
		ai_will_do = {
			factor = 40
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 32
		y = 9 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_menandwomenofbavaria  focus = BAV_newmnchnerrte} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_INDUSTRY }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_socreforms2
				days = 730
			}
			
			if = {
				limit = {
					has_idea = agrarian
				}
				activate_mission_tooltip = BAV_mission_industrializing
				hidden_effect = {
					activate_mission = BAV_mission_industrializing
				}
			}
		}
	}
 
	#Focus for School Reforms 
	focus = { 
		id = BAV_schoolreforms 
		icon = GFX_focus_research 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 34
		y = 9 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_menandwomenofbavaria  focus = BAV_newmnchnerrte} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_socreforms3
				days = 730
			}
			
			if = {
				limit = {
					NOT = {
						OR = {
							has_idea = open_schools
							has_idea = compulsory_education
						}
					}
				}
				if = {
					limit = {
						has_idea = privileged_education
					}
					swap_ideas = {
						remove_idea = privileged_education
						add_idea = open_schools
					}
				}
			}
		}
	}
 
	#Focus for The Right Cause 
	focus = { 
		id = BAV_therightcause 
		icon = GFX_goal_generic_propaganda 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 36
		y = 9 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_newvolunteers} 
		cost = 35
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_political_power = 50
			add_timed_idea = {
				idea = BAV_socegalrise4
				days = 365
			}
		}
	}
 
	#Focus for Bavarian Constitution 
	focus = { 
		id = BAV_bavarianconstitution 
		icon = GFX_focus_generic_treaty 
		ai_will_do = { factor = 40}
		x = 26
		y = 10 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_customs} 
 		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_CENTRISM FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_visionaries2
				days = 730
			}
		}
	}
 
	#Focus for No more Nobles! 
	focus = { 
		id = BAV_nomorenobles 
		icon = GFX_focus_rom_abdicate 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 31
		y = 10 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_schoolreforms} 
		prerequisite = { focus = BAV_agriculturalreforms} 
		prerequisite = { focus = BAV_industrialreforms} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_SOCIAL_EGAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			add_timed_idea = {
				idea = BAV_socegalrise3
				days = 730
			}
		}
	}
 
	#Focus for State Schools 
	focus = { 
		id = BAV_stateschools 
		icon = GFX_focus_research2 
		ai_will_do = {
			factor = 40
			
			modifier = {
				factor = 1
				is_historical_focus_on = yes
			}
		}
		x = 33
		y = 10 
		mutually_exclusive = { }
		prerequisite = { focus = BAV_schoolreforms} 
		prerequisite = { focus = BAV_agriculturalreforms} 
		prerequisite = { focus = BAV_industrialreforms} 
		cost = 70
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_SOCIAL_EGAL }
		
		completion_reward = {
			add_manpower = 7000
		}
	}
}