### 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}


	joint_focus = {
		id = HABSBURG_part_of_something_bigger
		
		dynamic = yes 
		
		icon = GFX_focus_HABSBURG_part_of_something_bigger
		
		#prerequisite = { focus = }
		#prerequisite = { focus = }

		allow_branch = {
			has_dlc = "Gotterdammerung"
			HABSBURG_is_a_habsburg_viable_nation = yes
			has_global_flag = AH_joint_tree_activated_flag
		}

		x = 50
		y = 0

		# HUNGARY
		offset = {
			x = -29
			y = 14
			trigger = {
				has_focus_tree = wuw_hungarian_focus
			}
		}

		# Austro-Hungarian Releasable Generic+
		# GENERIC FOCUS TREES
		offset = {
			x = -15
			y = 0
			trigger = {
				has_focus_tree = austro_hungarian_releasable_focus
			}
		}

		# CZECHOSLOVAKIA
		offset = {
			x = -30
			y = 7
			trigger = {
				has_focus_tree = czech_focus
			}
		}

		# AUSTRIA
		offset = { 
			x = -33
			y = 18
			trigger = {
				has_focus_tree = austria_focus_tree
			}
		}

		offset = { 
			x = 3
			y = -2
			trigger = {
				has_completed_focus = AUS_hold_elections
				has_completed_focus = AUS_the_danubian_federation
			}
		}

		offset = { 
			x = 3
			y = -2
			trigger = {
				has_completed_focus = AUS_reinstate_the_imperial_council
				has_completed_focus = AUS_the_danubian_federation
			}
		}

		
		cost = 5

		text_icon = NORDIC_focus_style

		available = {

			custom_trigger_tooltip = {
				tooltip = HABSBURG_is_originator_country
				tag = global.AH_originator_country
			}
			any_other_country = {
				OR = {
					is_in_faction_with = ROOT 
					is_subject_of = ROOT
				}
				HABSBURG_is_a_habsburg_viable_nation = yes 
			}
			is_subject = no 
		}

		joint_trigger = {
			HABSBURG_joint_trigger = yes 
		}

		ai_will_do = {
			base = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {


			
		}

		completion_reward_joint_originator = {
			add_political_power = 150
		}

		completion_reward_joint_member = {
			add_political_power = 50
		}
	}

	joint_focus = {
	id = HABSBURG_economic_cooperation_policy

	dynamic = yes 

	icon = GFX_goal_generic_positive_trade_relations

	prerequisite = { focus = HABSBURG_part_of_something_bigger }

	relative_position_id = HABSBURG_part_of_something_bigger

	x = 0
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	cancel_if_invalid = yes

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 3
	}

	search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

	completion_reward = {

		add_dynamic_modifier = { modifier = HABSBURG_economy_dynamic_modifier }

	}

	completion_reward_joint_originator = {
		hidden_effect = {
			set_global_flag = AH_joint_economy_spirit_activated_flag
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_joint_consumer_goods_endeavors

	dynamic = yes 

	icon = GFX_focus_usa_reestablish_the_gold_standard

	prerequisite = { focus = HABSBURG_economic_cooperation_policy }

	relative_position_id = HABSBURG_economic_cooperation_policy

	x = 1
	y = 1

	cost = 5

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 3
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_technology_sharing

	dynamic = yes 

	icon = GFX_focus_research2

	prerequisite = { focus = HABSBURG_economic_cooperation_policy }

	relative_position_id = HABSBURG_economic_cooperation_policy

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_RESEARCH }

	completion_reward = {

		add_to_tech_sharing_group = HABSBURG_tech_sharing_group

		hidden_effect = {
			set_global_flag = AH_joint_tech_sharing_group_activated_flag
		}

	}

	#completion_reward_joint_originator = {
	#	add_political_power = 150
	#}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_increase_scientific_cooperation

	dynamic = yes 

	icon = GFX_goal_tfv_generic_tech_sharing

	prerequisite = { focus = HABSBURG_technology_sharing }
	prerequisite = { focus = HABSBURG_joint_consumer_goods_endeavors }

	relative_position_id = HABSBURG_technology_sharing

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 15
	}

	search_filters = { FOCUS_FILTER_RESEARCH }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { 
				global.HABSBURG_economy_research_sharing_per_country_bonus_factor = 0.1 
				tooltip = research_sharing_per_country_bonus_factor_tt 
			}
			add_to_variable = { 
				global.HABSBURG_economy_special_project_speed_factor = 0.1
				tooltip = special_project_speed_factor_tt
			}
		}

	}

	completion_reward_joint_originator = {

		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { 
				global.HABSBURG_economy_research_sharing_per_country_bonus_factor = 0.1 
				tooltip = research_sharing_per_country_bonus_factor_tt 
			}
			add_to_variable = { 
				global.HABSBURG_economy_special_project_speed_factor = 0.1
				tooltip = special_project_speed_factor_tt
			}
		}

	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_simplify_economic_lawmaking

	dynamic = yes 

	icon = GFX_focus_generic_self_management

	prerequisite = { focus = HABSBURG_increase_scientific_cooperation }

	relative_position_id = HABSBURG_increase_scientific_cooperation

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_POLITICAL }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_trade_laws_cost_factor = -0.25 tooltip = trade_laws_cost_factor_tt }
			add_to_variable = { global.HABSBURG_economy_economy_cost_factor = -0.25 tooltip = economy_cost_factor_tt }
		}

	}

	completion_reward_joint_originator = {

		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_trade_laws_cost_factor = -0.25 tooltip = trade_laws_cost_factor_tt }
			add_to_variable = { global.HABSBURG_economy_economy_cost_factor = -0.25 tooltip = economy_cost_factor_tt }
		}

	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_securing_the_consumer_rights

	dynamic = yes 

	icon = GFX_goal_generic_consumer_goods

	prerequisite = { focus = HABSBURG_increase_scientific_cooperation }

	relative_position_id = HABSBURG_increase_scientific_cooperation

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }
			add_to_variable = { global.HABSBURG_economy_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt }
		}

	}

	completion_reward_joint_originator = {

		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }
			add_to_variable = { global.HABSBURG_economy_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt }
		}

	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_discounted_licenses

	dynamic = yes 

	icon = GFX_focus_generic_treaty

	prerequisite = { focus = HABSBURG_securing_the_consumer_rights }
	prerequisite = { focus = HABSBURG_simplify_economic_lawmaking }

	relative_position_id = HABSBURG_securing_the_consumer_rights

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_originator_country
			tag = global.AH_originator_country
		}
		any_other_country = {
			OR = {
				is_in_faction_with = ROOT 
				is_subject_of = ROOT
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
		is_subject = no 
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_license_purchase_cost = -0.5 tooltip = license_purchase_cost_tt }
			add_to_variable = { global.HABSBURG_economy_license_production_speed = 0.2 tooltip = license_production_speed_tt }
		}

	}

	completion_reward_joint_originator = {

		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_economy_ns_intro
			add_to_variable = { global.HABSBURG_economy_license_purchase_cost = -0.5 tooltip = license_purchase_cost_tt }
			add_to_variable = { global.HABSBURG_economy_license_production_speed = 0.2 tooltip = license_production_speed_tt }
		}

	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_reform_gemeinsame_armee
	dynamic = yes 

	icon = GFX_focus_HABSBURG_reform_gemeinsame_armee

	prerequisite = { focus = HABSBURG_part_of_something_bigger }

	relative_position_id = HABSBURG_part_of_something_bigger

	x = -7
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 10
	}

	search_filters = { }

	completion_reward = {

		add_dynamic_modifier = { modifier = HABSBURG_army_modifier }

	}

	completion_reward_joint_originator = {
		hidden_effect = {
			set_global_flag = AH_joint_army_spirit_activated_flag
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_motorizing_the_armies
	dynamic = yes 

	icon = GFX_goal_generic_army_motorized

	prerequisite = { focus = HABSBURG_reform_gemeinsame_armee }

	relative_position_id = HABSBURG_reform_gemeinsame_armee

	x = 3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
			add_to_variable = { global.HABSBURG_army_motorized_attack_factor = 0.15 tooltip = motorized_attack_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
			add_to_variable = { global.HABSBURG_army_motorized_attack_factor = 0.15 tooltip = motorized_attack_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_mechanized_initiative
	dynamic = yes 

	icon = GFX_focus_generic_mechanized

	prerequisite = { focus = HABSBURG_motorizing_the_armies }

	relative_position_id = HABSBURG_motorizing_the_armies

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_RESEARCH }

	#completion_reward = {
	#
	#}

	completion_reward_joint_originator = {
		add_tech_bonus = {
		    bonus = 0.5
		    uses = 2
		    category = cat_mechanized_equipment
		    name = HABSBURG_mech_initiative_bonus
		}
	}

	completion_reward_joint_member = {
		add_tech_bonus = {
		    bonus = 0.5
		    uses = 1
		    category = cat_mechanized_equipment
		    name = HABSBURG_mech_initiative_bonus
		}
	}

	}

	joint_focus = {
	id = HABSBURG_armor_initiative
	dynamic = yes 

	icon = GFX_goal_generic_army_tanks

	prerequisite = { focus = HABSBURG_motorizing_the_armies }

	relative_position_id = HABSBURG_motorizing_the_armies

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_RESEARCH }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_armor_attack_factor = 0.1 tooltip = army_armor_attack_factor_tt }
		}

	}

	completion_reward_joint_originator = {

		add_tech_bonus = {
		    bonus = 0.75
		    uses = 2
		    category = armor
		    name = HABSBURG_armor_initiative_bonus
		}

		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_armor_attack_factor = 0.1 tooltip = army_armor_attack_factor_tt }
		}

	}

	completion_reward_joint_member = {

		add_tech_bonus = {
		    bonus = 0.75
		    uses = 1
		    category = armor
		    name = HABSBURG_armor_initiative_bonus
		}

	}

	}

	joint_focus = {
	id = HABSBURG_effectivizing_the_motorized_troops
	dynamic = yes 

	icon = GFX_focus_generic_stockpile_fuel

	prerequisite = { focus = HABSBURG_armor_initiative focus = HABSBURG_mechanized_initiative }

	relative_position_id = HABSBURG_armor_initiative

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_fuel_gain_factor = 0.25 tooltip = fuel_gain_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_fuel_gain_factor = 0.25 tooltip = fuel_gain_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_the_strength_of_the_common_man
	dynamic = yes 

	icon = GFX_focus_generic_manpower

	prerequisite = { focus = HABSBURG_reform_gemeinsame_armee }

	relative_position_id = HABSBURG_reform_gemeinsame_armee

	x = 0
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_MANPOWER }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_conscription_factor = 0.1 tooltip = conscription_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_conscription_factor = 0.1 tooltip = conscription_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_joint_training_initiative
	dynamic = yes 

	icon = GFX_focus_generic_improve_the_administration

	prerequisite = { focus = HABSBURG_the_strength_of_the_common_man }

	relative_position_id = HABSBURG_the_strength_of_the_common_man

	x = 0
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_ARMY_XP }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { global.HABSBURG_army_max_command_power = 25 tooltip = max_command_power_tt }
			add_to_variable = { global.HABSBURG_army_planning_speed = 0.15 tooltip = planning_speed_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { global.HABSBURG_army_max_command_power = 25 tooltip = max_command_power_tt }
			add_to_variable = { global.HABSBURG_army_planning_speed = 0.15 tooltip = planning_speed_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_organizational_exercises
	dynamic = yes 

	icon = GFX_focus_SOV_mobilization_plan

	prerequisite = { focus = HABSBURG_joint_training_initiative }

	relative_position_id = HABSBURG_joint_training_initiative

	mutually_exclusive = { focus = HABSBURG_meeting_the_logistical_challenge }

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
			add_to_variable = { global.HABSBURG_army_org_loss_when_moving = -0.15 tooltip = org_loss_when_moving_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
			add_to_variable = { global.HABSBURG_army_org_loss_when_moving = -0.15 tooltip = org_loss_when_moving_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_meeting_the_logistical_challenge
	dynamic = yes 

	icon = GFX_focus_generic_supply_line

	prerequisite = { focus = HABSBURG_joint_training_initiative }

	relative_position_id = HABSBURG_joint_training_initiative

	mutually_exclusive = { focus = HABSBURG_organizational_exercises }

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 10
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_supply_consumption_factor = -0.05 tooltip = supply_consumption_factor_tt }
			add_to_variable = { global.HABSBURG_army_supply_node_range = 0.1 tooltip = supply_node_range_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_supply_consumption_factor = -0.05 tooltip = supply_consumption_factor_tt }
			add_to_variable = { global.HABSBURG_army_supply_node_range = 0.1 tooltip = supply_node_range_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_bring_back_royal_and_imperial_hussars
	dynamic = yes 

	icon = GFX_focus_HABSBURG_bring_back_royal_and_imperial_hussars

	prerequisite = { focus = HABSBURG_reform_gemeinsame_armee }

	relative_position_id = HABSBURG_reform_gemeinsame_armee

	#mutually_exclusive = { focus = HABSBURG_organizational_exercises }

	x = -3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_MANPOWER }

	completion_reward = {

		add_dynamic_modifier = { modifier = HABSBURG_cavalry_modifier }

	}

	completion_reward_joint_originator = {
		hidden_effect = {
			set_global_flag = AH_joint_cavalry_spirit_activated_flag
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_defensive_hussars
	dynamic = yes 

	icon = GFX_focus_HABSBURG_defensive_hussars

	prerequisite = { focus = HABSBURG_bring_back_royal_and_imperial_hussars }

	relative_position_id = HABSBURG_bring_back_royal_and_imperial_hussars

	mutually_exclusive = { focus = HABSBURG_offensive_hussars }

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_defence_factor = 0.05 tooltip = cavalry_defence_factor_tt }
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase  
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_defence_factor = 0.05 tooltip = cavalry_defence_factor_tt }
			add_to_variable = { global.HABSBURG_army_army_speed_factor = 0.05 tooltip = army_speed_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_offensive_hussars
	dynamic = yes 

	icon = GFX_focus_HABSBURG_offensive_hussars

	prerequisite = { focus = HABSBURG_bring_back_royal_and_imperial_hussars }

	relative_position_id = HABSBURG_bring_back_royal_and_imperial_hussars

	mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_attack_factor = 0.05 tooltip = cavalry_attack_factor_tt }
			add_to_variable = { global.HABSBURG_cavalry_breakthrough_factor = 0.05 tooltip = breakthrough_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_attack_factor = 0.05 tooltip = cavalry_attack_factor_tt }
			add_to_variable = { global.HABSBURG_cavalry_breakthrough_factor = 0.05 tooltip = breakthrough_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_the_modern_hussar
	dynamic = yes 

	icon = GFX_focus_HABSBURG_the_modern_hussar

	prerequisite = { focus = HABSBURG_offensive_hussars focus = HABSBURG_defensive_hussars }

	relative_position_id = HABSBURG_offensive_hussars

	#mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_attack_factor = 0.05 tooltip = cavalry_attack_factor_tt }
			add_to_variable = { global.HABSBURG_cavalry_cavalry_defence_factor = 0.05 tooltip = cavalry_defence_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_cavalry_ns_intro
			add_to_variable = { global.HABSBURG_cavalry_cavalry_attack_factor = 0.05 tooltip = cavalry_attack_factor_tt }
			add_to_variable = { global.HABSBURG_cavalry_cavalry_defence_factor = 0.05 tooltip = cavalry_defence_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_for_the_glory_of_the_empire
	dynamic = yes 

	icon = GFX_focus_HABSBURG_for_the_glory_of_the_empire

	prerequisite = { focus = HABSBURG_the_modern_hussar focus = HABSBURG_organizational_exercises focus = HABSBURG_meeting_the_logistical_challenge focus = HABSBURG_effectivizing_the_motorized_troops }

	relative_position_id = HABSBURG_the_modern_hussar

	#mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = 3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 3
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_core_attack_factor = 0.05 tooltip = army_core_attack_factor_tt }
			add_to_variable = { global.HABSBURG_army_army_core_defence_factor = 0.10 tooltip = army_core_defence_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
			add_to_variable = { global.HABSBURG_army_army_core_attack_factor = 0.05 tooltip = army_core_attack_factor_tt }
			add_to_variable = { global.HABSBURG_army_army_core_defence_factor = 0.10 tooltip = army_core_defence_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_joint_industry_spirit

	dynamic = yes 

	icon = GFX_focus_generic_industrialists

	prerequisite = { focus = HABSBURG_part_of_something_bigger }

	relative_position_id = HABSBURG_part_of_something_bigger

	x = 7
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	completion_reward = {

		add_dynamic_modifier = { modifier = HABSBURG_joint_industry_modifier }

	}

	completion_reward_joint_originator = {
		hidden_effect = {
			set_global_flag = AH_joint_industry_spirit_activated_flag
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_supplying_the_federation

	dynamic = yes 

	icon = GFX_goal_generic_construct_infrastructure

	prerequisite = { focus = HABSBURG_joint_industry_spirit }

	relative_position_id = HABSBURG_joint_industry_spirit

	x = 0
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_rail_way_factor = 0.1 tooltip = production_speed_rail_way_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_speed_supply_node_factor = 0.2 tooltip = production_speed_supply_node_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_rail_way_factor = 0.1 tooltip = production_speed_rail_way_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_speed_supply_node_factor = 0.2 tooltip = production_speed_supply_node_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_optimizing_the_land_usage

	dynamic = yes 

	icon = GFX_goal_generic_construct_civilian

	prerequisite = { focus = HABSBURG_joint_industry_spirit }

	relative_position_id = HABSBURG_joint_industry_spirit

	x = -3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_global_building_slots_factor = 0.1 tooltip = global_building_slots_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_global_building_slots_factor = 0.1 tooltip = global_building_slots_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_joint_ventures_in_resource_extraction

	dynamic = yes 

	icon = GFX_focus_generic_mining_industry

	prerequisite = { focus = HABSBURG_joint_industry_spirit }

	relative_position_id = HABSBURG_joint_industry_spirit

	x = 3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_local_resources_factor = 0.1 tooltip = local_resources_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_local_resources_factor = 0.1 tooltip = local_resources_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_industrializing_our_capitals

	dynamic = yes 

	icon = GFX_focus_generic_industry_2

	prerequisite = { focus = HABSBURG_joint_ventures_in_resource_extraction focus = HABSBURG_optimizing_the_land_usage focus = HABSBURG_supplying_the_federation }

	relative_position_id = HABSBURG_joint_ventures_in_resource_extraction

	x = -3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 10
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	#completion_reward = {
	#
	#}

	completion_reward_joint_originator = {
		random_owned_controlled_state = {
			limit = {
				is_capital = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}	
		}	
	}

	completion_reward_joint_member = {
		random_owned_controlled_state = {
			limit = {
				is_capital = yes
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}	
		}
	}

	}

	joint_focus = {
	id = HABSBURG_specializing_in_civilian_logistics

	dynamic = yes 

	icon = GFX_focus_generic_railroad

	prerequisite = { focus = HABSBURG_industrializing_our_capitals }

	relative_position_id = HABSBURG_industrializing_our_capitals

	mutually_exclusive = { focus = HABSBURG_specializing_in_the_arms_industry }

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_speed_supply_node_factor = 0.15 tooltip = production_speed_supply_node_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_speed_supply_node_factor = 0.15 tooltip = production_speed_supply_node_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_specializing_in_the_arms_industry

	dynamic = yes 

	icon = GFX_goal_generic_construct_mil_factory

	prerequisite = { focus = HABSBURG_industrializing_our_capitals }

	relative_position_id = HABSBURG_industrializing_our_capitals

	mutually_exclusive = { focus = HABSBURG_specializing_in_civilian_logistics }

	x = -3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 8
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industrial_capacity_factory = 0.1 tooltip = industrial_capacity_factory_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industrial_capacity_factory = 0.1 tooltip = industrial_capacity_factory_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_industrial_effectivization

	dynamic = yes 

	icon = GFX_focus_generic_industry_3

	prerequisite = { focus = HABSBURG_industrializing_our_capitals }

	relative_position_id = HABSBURG_industrializing_our_capitals

	mutually_exclusive = { focus = HABSBURG_reinforced_industry }

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_INDUSTRY }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_line_change_production_efficiency_factor = 0.1 tooltip = line_change_production_efficiency_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_line_change_production_efficiency_factor = 0.1 tooltip = line_change_production_efficiency_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_reinforced_industry

	dynamic = yes 

	icon = GFX_goal_generic_fortify_city

	prerequisite = { focus = HABSBURG_industrializing_our_capitals }

	relative_position_id = HABSBURG_industrializing_our_capitals

	mutually_exclusive = { focus = HABSBURG_industrial_effectivization }

	x = 3
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_industry_free_repair_factor = 0.25 tooltip = industry_free_repair_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industry_air_damage_factor = -0.3 tooltip = industry_air_damage_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_industry_free_repair_factor = 0.25 tooltip = industry_free_repair_factor_tt }
			add_to_variable = { global.HABSBURG_industry_industry_air_damage_factor = -0.3 tooltip = industry_air_damage_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_improved_production_methods

	dynamic = yes 

	icon = GFX_focus_generic_modernize_industry

	prerequisite = { focus = HABSBURG_industrial_effectivization focus = HABSBURG_reinforced_industry focus = HABSBURG_specializing_in_civilian_logistics focus = HABSBURG_specializing_in_the_arms_industry }

	relative_position_id = HABSBURG_industrial_effectivization

	#mutually_exclusive = { focus = HABSBURG_industrial_effectivization }

	x = -1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_subject_puppeteer_faction_leader_or_member_trigger_tt
			OR = {
				# FOR DANUBIAN FEDERATION
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes 
					}	
				}
				AND = {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						}
						AND = {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				}
				# FOR AUSTRO-HUNGARIAN PUPPET PATHS
				AND = {
					OR = {
						original_tag = HUN
						original_tag = AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				}
				AND = {
					is_subject = yes
					OR = {
						is_subject_of = HUN
						is_subject_of = AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { }

	completion_reward = {

		# Display as effect to not increase extra for each member
		effect_tooltip = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_lack_of_resource_penalty_factor = -0.1 tooltip = production_lack_of_resource_penalty_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt }
		}

	}

	completion_reward_joint_originator = {
		# The actual increase
		hidden_effect = {
			custom_effect_tooltip = HABSBURG_modify_joint_industry_ns_intro
			add_to_variable = { global.HABSBURG_industry_production_lack_of_resource_penalty_factor = -0.1 tooltip = production_lack_of_resource_penalty_factor_tt }
			add_to_variable = { global.HABSBURG_industry_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt }
		}
	}

	#completion_reward_joint_member = {
	#	add_political_power = 50
	#}

	}

	joint_focus = {
	id = HABSBURG_call_the_imperial_diet
	dynamic = yes 

	icon = GFX_focus_ETH_re-convene_the_parliament

	prerequisite = { focus = HABSBURG_for_the_glory_of_the_empire focus = HABSBURG_discounted_licenses focus = HABSBURG_improved_production_methods }

	relative_position_id = HABSBURG_discounted_licenses

	#mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = -1
	y = 1

	cost = 5

	text_icon = NORDIC_focus_style

	available = {
		
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_originator_country
			tag = global.AH_originator_country
		}
		any_other_country = {
			OR = {
				is_in_faction_with = ROOT 
				is_subject_of = ROOT
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
		is_subject = no 

		OR = {
			has_government = neutrality
			has_government = fascism
		}

	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_POLITICAL }

	#completion_reward = {
	#
	#}

	completion_reward_joint_originator = {
		add_political_power = 100
	}

	completion_reward_joint_member = {
		add_political_power = 50
	}

	}

	joint_focus = {
	id = HABSBURG_united_in_the_face_of_danger
	dynamic = yes 

	icon = GFX_goal_generic_defence

	prerequisite = { focus = HABSBURG_for_the_glory_of_the_empire focus = HABSBURG_discounted_licenses focus = HABSBURG_improved_production_methods }

	relative_position_id = HABSBURG_discounted_licenses

	#mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = 1
	y = 1

	cost = 5

	text_icon = NORDIC_focus_style

	available = {
		
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_originator_country
			tag = global.AH_originator_country
		}
		any_other_country = {
			OR = {
				is_in_faction_with = ROOT 
				is_subject_of = ROOT
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
		is_subject = no 

		OR = {
			has_government = democratic
			has_government = communism
		}
		
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 5
	}

	search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

	#completion_reward = {
	#
	#}

	completion_reward_joint_originator = {
		add_stability = 0.1
		add_war_support = 0.1
	}

	completion_reward_joint_member = {
		add_stability = 0.05
		add_war_support = 0.05
	}

	}

	joint_focus = {
	id = HABSBURG_an_empire_not_just_in_name
	dynamic = yes 

	icon = GFX_focus_HABSBURG_an_empire_not_just_in_name

	prerequisite = { focus = HABSBURG_united_in_the_face_of_danger focus = HABSBURG_call_the_imperial_diet }
	#prerequisite = { focus = HABSBURG_call_the_imperial_diet }

	relative_position_id = HABSBURG_call_the_imperial_diet

	#mutually_exclusive = { focus = HABSBURG_defensive_hussars }

	x = 1
	y = 1

	cost = 10

	text_icon = NORDIC_focus_style

	available = {
		
		custom_trigger_tooltip = {
			tooltip = HABSBURG_is_originator_country
			tag = global.AH_originator_country
		}
		any_other_country = {
			OR = {
				is_in_faction_with = ROOT 
				is_subject_of = ROOT
			}
			HABSBURG_is_a_habsburg_viable_nation = yes 
		}
		is_subject = no 

		NOT = { has_completed_focus = AUS_via_danube_to_europe }
		
	}

	joint_trigger = {
		HABSBURG_joint_trigger = yes 
	}

	ai_will_do = {
		base = 15
	}

	search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

	completion_reward = {

		IF = {
			limit = {
				ROOT = {
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
			# Display as effect to not increase extra for each member
			effect_tooltip = {
				custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
				add_to_variable = { global.HABSBURG_army_army_attack_factor = 0.15 tooltip = army_attack_factor_tt }
			}
		}

	}

	completion_reward_joint_originator = {
		IF = {
			limit = {
				ROOT = {
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
			add_stability = 0.1
			add_war_support = 0.1
			add_popularity = {
				ideology = democratic
				popularity = 0.15
			}
			# The actual increase
			hidden_effect = {
				custom_effect_tooltip = HABSBURG_modify_joint_army_ns_intro
				add_to_variable = { global.HABSBURG_army_army_attack_factor = 0.15 tooltip = army_attack_factor_tt }
			}	
		}

		IF = {
			limit = {
				ROOT = {
					OR = {
						has_government = neutrality
						has_government = fascism
					}
				}
			}
			add_ideas = HABSBURG_an_imperium_restored
			set_cosmetic_tag = HUN_EMPIRE
		}

	}

	completion_reward_joint_member = {

		IF = {
			limit = {
				any_country = {
					tag = global.AH_originator_country
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
			add_stability = 0.05
			add_war_support = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}	
		}

		IF = {
			limit = {
				any_country = {
					tag = global.AH_originator_country
					OR = {
						has_government = neutrality
						has_government = fascism
					}
					has_subject = ROOT
				}
			}
			add_ideas = HABSBURG_imperial_integration
		}

	}


	}



