Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: National Focus
Tree: sia_focus
Component: SIA_ask_for_the_release_of_american_commodities
Constructs: prerequisite, has_war_with, completion_reward, add_offsite_building
Source: game
File: common/national_focus/siam.txt

Code:
focus = {
	id = SIA_ask_for_the_release_of_american_commodities
	icon = GFX_goal_generic_trade
	x = -1
	y = 1
	relative_position_id = SIA_standing_our_ground
	prerequisite = {
		focus = SIA_standing_our_ground
	}
	mutually_exclusive = {
		focus = SIA_japanese_fighters
	}
	cost = 5
	ai_will_do = {
		factor = 10
	}
	available = {
		NOT = {
			has_war_with = USA
		}
	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY
	}
	completion_reward = {
		add_offsite_building = {
			type = industrial_complex
			level = 2
		} {
			type = arms_factory
			level = 1
		}
	}
}
### Entity: Event
Component: taog_news.1
Constructs: is_triggered_only
Source: game
File: events/TAOG_NewsEvents.txt

Code:
news_event = {
	id = taog_news.1
	title = taog_news.1.t
	desc = taog_news.1.desc
	picture = GFX_news_event_generic_sign_treaty3
	major = yes
	is_triggered_only = yes
	option = {
		name = taog_news.1.a
	}
}
### Entity: National Focus
Tree: eth_focus
Component: ETH_expand_the_mehal_sefari
Constructs: has_completed_focus, division_template, prerequisite, limit, has_government, completion_reward, is_power_balance_in_range, has_cosmetic_tag
Source: game
File: common/national_focus/ethiopia.txt

Code:
focus = {
	id = ETH_expand_the_mehal_sefari
	icon = GFX_goal_generic_small_arms
	prerequisite = {
		focus = ETH_ecole_militaire_haile_selassie_1er
	}
	mutually_exclusive = {
		focus = ETH_keep_the_chitet
	}
	x = 1
	y = 1
	relative_position_id = ETH_ecole_militaire_haile_selassie_1er
	cost = 10
	available = {
		IF = {
			limit = {
				NOT = {
					has_government = communism
				}
			}
			NOT = {
				is_power_balance_in_range = {
					id = ETH_centralization_balance
					range = ETH_mesafint_total_control_range
				} {
					id = ETH_centralization_balance
					range = ETH_mesafint_dominant_range
				} {
					id = ETH_centralization_balance
					range = ETH_mesafint_power_range
				} {
					id = ETH_centralization_balance
					range = ETH_mesafint_influence_range
				}
			}
		}
		ELSE = {
			NOT = {
				is_power_balance_in_range = {
					id = ETH_centralization_balance
					range = ETH_anarchist_influence_range
				} {
					id = ETH_centralization_balance
					range = ETH_anarchist_power_range
				} {
					id = ETH_centralization_balance
					range = ETH_anarchist_dominant_range
				} {
					id = ETH_centralization_balance
					range = ETH_total_anarchist_range
				}
			}
		}
	}
	ai_will_do = {
		base = 1
		modifier = {
			factor = 0.5
			has_completed_focus = ETH_callout_to_the_world
		} {
			factor = 0.75
			OR = {
				has_cosmetic_tag = jimma gojjam
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_BALANCE_OF_POWER
	}
	completion_reward = {
		IF = {
			limit = {
				has_idea = ETH_chitet_law
			}
			swap_ideas = {
				remove_idea = ETH_chitet_law
				add_idea = volunteer_only
			}
		}
		ELSE_IF = {
			limit = {
				has_idea = ETH_chitet_law_peace_time
			}
			swap_ideas = {
				remove_idea = ETH_chitet_law_peace_time
				add_idea = volunteer_only
			}
		}
		custom_effect_tooltip = ETH_chitet_sefari_no_recruiting_tt ETH_expand_the_mehal_sefari_tt
		hidden_effect = {
			set_division_force_allow_recruiting = {
				division_template = Chitet Sefari
				force_allow_recruiting = no
			}
		}
		add_to_variable = {
			ETH_army_army_defence_factor = 0.25
		} {
			ETH_army_army_org_factor = 0.05
		}
		ETH_improve_army_spirit_effect = yes
		ETH_BOP_centralization_large_effect = yes
	}
}
### Entity: Country History
Country: AOI
Component: AOI_characters
Constructs: recruit_character
Source: game
File: history/countries/AOI - Italian East Africa.txt

Code:
# Leaders & Characters for AOI
recruit_character = AOI_prince_amedeo AOI_enrico_cerulli AOI_guglielmo_nasi AOI_ruggero_santini AOI_vincenzo_de_feo
### Entity: National Focus
Tree: ita_focus
Component: ITA_fighter_designs
Constructs: prerequisite, limit, completion_reward, random_core_state, is_fully_controlled_by, add_extra_state_shared_building_slots, add_building_construction, has_dlc
Source: game
File: common/national_focus/italy.txt

Code:
focus = {
	id = ITA_fighter_designs
	icon = GFX_goal_generic_air_fighter
	prerequisite = {
		focus = ITA_standardization ITA_specialization
	}
	x = 4
	y = 0
	relative_position_id = ITA_long_range_aircraft
	cost = 10
	available = {

	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP
	}
	completion_reward = {
		air_experience = 25
		random_core_state = {
			limit = {
				is_fully_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size = > 0
					include_locked = yes
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		if = {
			limit = {
				has_dlc = By Blood Alone
			}
			ITA_add_fighter_designs_templates = yes
		}
	}
}
### Entity: Event
Component: NSB_soviet_foreign_politics_events.282
Constructs: is_triggered_only, ai_chance, add_opinion_modifier, add_political_power, set_cosmetic_tag, set_party_name
Source: game
File: events/NSB_Soviet.txt

Code:
country_event = {
	id = NSB_soviet_foreign_politics_events.282
	title = NSB_soviet_foreign_politics_events.282.t
	desc = NSB_soviet_foreign_politics_events.282.desc
	picture = GFX_report_event_SOV_demands
	is_triggered_only = yes
	option = {
		name = NSB_soviet_foreign_politics_events.282.a
		ai_chance = {
			base = 1
		}
		add_political_power = 75
		custom_effect_tooltip = generic_skip_one_line_tt generic_skip_one_line_tt
		SOV = {
			puppet = ROOT
			add_opinion_modifier = {
				target = ROOT
				modifier = SOV_complied_with_our_demands
			}
		}
		set_cosmetic_tag = SIK_ssr
		set_party_name = {
			ideology = communism
			long_name = SIK_CPSU_communism_party_long
			name = SIK_CPSU_communism_party
		}
		FROM = {
			country_event = {
				id = NSB_soviet_foreign_politics_events.283
				hours = 1
			}
		}
	} {
		name = NSB_soviet_foreign_politics_events.282.b
		ai_chance = {
			base = 0
		}
		effect_tooltip = {
			SOV = {
				add_opinion_modifier = {
					target = ROOT
					modifier = SOV_rejected_our_demands
				}
				country_event = {
					id = NSB_soviet_foreign_politics_events.284
					hours = 1
				}
			}
			custom_effect_tooltip = germany.126.warning
		}
	}
}
### Entity: Joint Focus
Component: HABSBURG_effectivizing_the_motorized_troops
Constructs: prerequisite, joint_focus, completion_reward, is_faction_leader, is_in_faction_with, is_subject, is_subject_of, add_to_variable
Source: game
File: common/national_focus/habsburg_joint.txt

Code:
joint_focus = {
	id = HABSBURG_effectivizing_the_motorized_troops
	dynamic = yes
	icon = GFX_focus_generic_stockpile_fuel
	prerequisite = {
		focus = HABSBURG_armor_initiative 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 = {
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
				} {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						} {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				} {
					OR = {
						original_tag = HUN AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				} {
					is_subject = yes
					OR = {
						is_subject_of = HUN AUS
					}
				}
			}
			HABSBURG_is_a_habsburg_viable_nation = yes
		}
	}
	joint_trigger = {
		HABSBURG_joint_trigger = yes
	}
	ai_will_do = {
		base = 8
	}
	search_filters = {

	}
	completion_reward = {
		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 = {
		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
			}
		}
	}
}
### Entity: Order of Battle
Component: DVVO Tankovaya Gruppa
Constructs: division_template
Source: game
File: history/units/SOV_1939.txt

Code:
division = {
	name = DVVO Tankovaya Gruppa
	location = 12189
	division_template = Legko-Tankovaya Brigada
	start_experience_factor = 0.2
	start_equipment_factor = 0.7
}
### Entity: National Focus
Tree: ukr_focus
Component: UKR_heavy_steel_production
Constructs: prerequisite, completion_reward, add_tech_bonus
Source: game
File: common/national_focus/ukraine.txt

Code:
focus = {
	id = UKR_heavy_steel_production
	icon = GFX_goal_generic_defence
	prerequisite = {
		focus = UKR_use_the_morozov_design_bureau
	} {
		focus = UKR_azovstal
	}
	cost = 10
	relative_position_id = UKR_use_the_morozov_design_bureau
	x = -1
	y = 1
	ai_will_do = {
		factor = 2
	}
	completion_reward = {
		add_tech_bonus = {
			name = industry
			bonus = 1.0
			uses = 1
			category = naval_armor_tech
		} {
			name = industry
			bonus = 1.0
			uses = 1
			category = armor_variant_tech
		} {
			name = industry
			bonus = 1.0
			uses = 1
			category = cat_heavy_armor
		}
	}
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
}
### Entity: National Focus
Tree: pru_focus
Component: PRU_invite_foreign_experts
Constructs: prerequisite, completion_reward, add_research_slot
Source: game
File: common/national_focus/peru.txt

Code:
focus = {
	id = PRU_invite_foreign_experts
	icon = GFX_focus_research
	x = 0
	y = 2
	cost = 5
	prerequisite = {
		focus = PRU_ask_for_a_loan_to_germany PRU_continue_leguias_plan PRU_imitate_the_Soviet_model
	}
	relative_position_id = PRU_rely_on_international_trade
	ai_will_do = {
		factor = 5
	}
	available = {
		amount_research_slots = < 6
	}
	bypass = {
		amount_research_slots = > 5
	}
	completion_reward = {
		add_research_slot = 1
	}
}
### Entity: Event
Component: ARG_political_events.102
Constructs: is_triggered_only, ai_chance, limit, add_war_support, fire_only_once, add_political_power, every_state, is_owned_and_controlled_by
Source: game
File: events/TOA_Argentina.txt

Code:
country_event = {
	id = ARG_political_events.102
	title = ARG_political_events.102.t
	desc = ARG_political_events.102.desc
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	fire_only_once = no
	option = {
		name = ARG_political_events.102.a
		ai_chance = {
			base = 100
		}
		every_state = {
			limit = {
				is_owned_and_controlled_by = FROM
			}
			add_claim_by = ROOT
		}
		add_war_support = 0.03
		add_political_power = 25
	}
}
### Entity: National Focus
Tree: ast_focus
Component: AST_naval_auxiliary_patrol
Constructs: prerequisite, add_ideas, completion_reward, cancel_if_invalid
Source: game
File: common/national_focus/australia.txt

Code:
focus = {
	id = AST_naval_auxiliary_patrol
	icon = GFX_goal_generic_fortify_city
	prerequisite = {
		focus = AST_royal_australian_submarine_service AST_scrap_iron_flotilla
	}
	x = 1
	y = 3
	relative_position_id = AST_cockatoo_island_shipyards
	cost = 10
	ai_will_do = {
		factor = 1
	}
	available = {

	}
	bypass = {

	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	search_filters = {

	}
	completion_reward = {
		add_ideas = AST_naval_auxiliary_patrol
	}
}
### Entity: AI Strategy
Component: stop_convoy_production_major
Constructs: is_major, has_equipment
Source: game
File: common/ai_strategy/r56_default.txt

Code:
stop_convoy_production_major = {
	enable = {
		is_major = yes
		has_equipment = {
			convoy = > 1000
		}
	}
	abort_when_not_enabled = yes
	ai_strategy = {
		type = equipment_production_factor
		id = convoy
		value = -99
	} {
		type = equipment_production_min_factories
		id = convoy
		value = -5
	}
}
### Entity: Event
Component: news.249
Constructs: is_triggered_only
Source: game
File: events/NewsEvents.txt

Code:
news_event = {
	id = news.249
	title = news.249.t
	desc = news.249.d
	picture = GFX_news_event_canada_army
	major = yes
	is_triggered_only = yes
	option = {
		name = news.249.a
		trigger = {
			NOT = {
				TAG = CAN MEX USA
			}
		}
	} {
		name = news.249.b
		trigger = {
			TAG = CAN
		}
	} {
		name = news.249.c
		trigger = {
			TAG = MEX
		}
	} {
		name = news.249.e
		trigger = {
			TAG = USA
		}
	}
}
### Entity: Shared Focus
Tree: lat_focus
Component: LAT_VEF_airplanes_primacy
Constructs: shared_focus, prerequisite, limit, completion_reward, add_tech_bonus, fighter_bonus, has_dlc, add_mio_funds
Source: game
File: common/national_focus/r56_latvia_shared.txt

Code:
shared_focus = {
	id = LAT_VEF_airplanes_primacy
	icon = GFX_goal_generic_air_fighter
	relative_position_id = LAT_VEF_radio_production
	prerequisite = {
		focus = LAT_VEF_radio_production
	}
	mutually_exclusive = {
		focus = LAT_VEF_electronics_primacy
	}
	x = 1
	y = 1
	cost = 10
	ai_will_do = {
		factor = 3
	}
	available_if_capitulated = yes
	completion_reward = {
		air_experience = 30
		add_tech_bonus = {
			name = fighter_bonus
			bonus = 1.0
			uses = 1
			category = light_fighter
		} {
			name = fighter_bonus
			bonus = 1.0
			ahead_reduction = 0.5
			uses = 2
			category = light_fighter
		}
		IF = {
			limit = {
				has_dlc = Arms Against Tyranny
			}
			mio:LAT_vef_organization = {
				add_mio_funds = 2000
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
}
### Entity: Character
Component: MZB_acd2
Source: game
File: common/characters/MZB.txt

Code:
MZB_acd2 = {
	advisor = {
		slot = army_chief
		idea_token = MZB_acd2
		allowed = {
			original_tag = MZB
		}
		traits = {
			army_chief_defensive_2
		}
		ai_will_do = {
			factor = 1.0
		}
	}
	portraits = {
		army = {
			small = GFX_idea_generic_army_african_5
		}
	}
}
### Entity: Event
Component: BBA_italy_interaction_events.38
Constructs: is_triggered_only, limit, add_war_support, has_country_flag, set_country_flag, random_character, is_country_leader, set_variable
Source: game
File: events/BBA_Italy.txt

Code:
country_event = {
	id = BBA_italy_interaction_events.38
	title = BBA_italy_interaction_events.38.t
	desc = BBA_italy_interaction_events.38.desc
	picture = GFX_report_event_fascist_speech
	is_triggered_only = yes
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = ITA_deposed_leader_flag
					}
				}
				set_country_flag = ITA_deposed_leader_flag
				random_character = {
					limit = {
						is_country_leader = yes
					}
					set_variable = {
						ITA.ITA_var_deposed_leader = THIS
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = ITA_pope_took_over_italy_flag
				}
			}
			set_country_flag = ITA_pope_took_over_italy_flag
			mark_focus_tree_layout_dirty = yes
		}
	}
	option = {
		name = BBA_italy_interaction_events.38.a
		add_war_support = 0.1
		ITA_pope_takes_over = yes
		hidden_effect = {
			news_event = {
				id = bba_news.666
				hours = 2
			}
			set_country_flag = ITA_deposed_the_king
		}
	}
}
### Entity: Event
Component: mtg_netherlands.49
Constructs: is_triggered_only, add_timed_idea, random_days
Source: game
File: events/MTG_Netherlands.txt

Code:
country_event = {
	id = mtg_netherlands.49
	title = mtg_netherlands.49.t
	desc = mtg_netherlands.49.d
	picture = GFX_report_event_hol_prins_bernhard
	is_triggered_only = yes
	option = {
		name = mtg_netherlands.49.a
		add_timed_idea = {
			idea = HOL_bernhard_good_strategy_meddling
			days = 30
		}
		hidden_effect = {
			country_event = {
				id = mtg_netherlands.44
				days = 60
				random_days = 60
			}
		}
	}
}
### Entity: Name List
Component: ISR
Source: game
File: common/names/00_names.txt

Code:
ISR = {
	male = {
		names = {
			David Lavi Ariel Yosef Noam Uri Raphael Ari Moshe Yehuda Abraham Eitan Daniel Yisrael Itai Shmuel Eliya Yehonatan Yitzchak Shimon Yaakov Michael Omer Yonatan Aharon Chaim Imri Adam Shlomo Itamar Ido Yair Yanai Meir Yishai Mordechai Harel Bnaya Nitai Benjamin Eliyahu Liam Beeri Elon Ilay Amit Ben Natan Or Leo Elroi Uriel Shalom Oz Emanuel Dan Levy Yehoshua
		}
	}
	female = {
		names = {
			Tamar Maya Abigail Noa Sarah Ayala Adele Yael Shira Chana Lia Romi Libi Agam Ori Yehudit
		}
	}
	surnames = {
		Cohen Levy Mizrahi Peretz Bitton Dahan Agbaria Avraham Friedman Katz Yosef Omer Mhamid Schwartz David Azulay Malkah Zoabi Jabarin Weiss Gaby Shapiro Chidad Ohayon Reuben Lavyan Mahagna Masarweh Vaknin Khatib Isaac Adri Klein Yaakv Segel Moshe Ashknaziy Tal Hasha Goldstein Hen Suad Golan Suissa Shalom Eliyahu Elbaz Bekher Khoury Mor Attias Shemesh Feldman Sharabi Rabinovitch Samuel Hassan Amsalem Abramov Awad Ibrahim Kadosh Saad Tzur
	}
	callsigns = {

	}
}
### Entity: National Focus
Tree: bul_focus
Component: BUL_cooperation_with_italy
Constructs: prerequisite, limit, has_government, every_country, has_war_with, add_opinion_modifier, completion_reward, is_subject
Source: game
File: common/national_focus/bulgaria.txt

Code:
focus = {
	id = BUL_cooperation_with_italy
	prerequisite = {
		focus = BUL_approach_germany
	}
	icon = GFX_focus_befriend_italy
	relative_position_id = BUL_approach_germany
	x = 1
	y = 1
	cost = 10
	bypass = {
		OR = {
			NOT = {
				country_exists = ITA
			}
			ITA = {
				is_subject = yes
			} {
				has_capitulated = yes
			}
		}
	}
	available = {
		NOT = {
			has_war_with = ITA
		}
		ITA = {
			NOT = {
				is_justifying_wargoal_against = ROOT
			}
			has_opinion = {
				target = ROOT
				value = > 24
			}
		}
		OR = {
			is_in_faction = no
			is_in_faction_with = ITA
		}
	}
	cancel_if_invalid = yes
	search_filters = {
		FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH
	}
	completion_reward = {
		ITA = {
			country_event = {
				id = bftb_bulgaria_italian_influence.1
				hours = 6
				random_hours = 2
			}
		} {
			add_opinion_modifier = {
				target = BUL
				modifier = BUL_strengthened_relations_with_us
			}
		} {
			add_ai_strategy = {
				type = befriend
				id = ROOT
				value = 20
			}
		}
		add_opinion_modifier = {
			target = ITA
			modifier = BUL_strengthened_relations_with_us
		}
		every_country = {
			limit = {
				BUL_country_can_influence_bulgaria = yes
				NOT = {
					is_in_faction_with = ITA
				} {
					has_government = ITA
				}
			}
			add_opinion_modifier = {
				target = BUL
				modifier = BUL_approached_italy
			}
		}
		if = {
			limit = {
				OR = {
					NOT = {
						country_exists = ITA
					}
					has_war_with = ITA
					ITA = {
						BUL_is_valid_subject = no
					}
				}
			}
			hidden_effect = {
				activate_targeted_decision = {
					target = ITA
					decision = BUL_purchase_artillery
				} {
					target = ITA
					decision = BUL_purchase_military_vehicles
				} {
					target = ITA
					decision = BUL_purchase_aircraft
				} {
					target = ITA
					decision = BUL_purchase_infantry_equipment
				} {
					target = ITA
					decision = BUL_purchase_armor
				} {
					target = ITA
					decision = BUL_purchase_ships
				}
			}
		}
		else = {
			activate_targeted_decision = {
				target = ITA
				decision = BUL_purchase_artillery
			} {
				target = ITA
				decision = BUL_purchase_military_vehicles
			} {
				target = ITA
				decision = BUL_purchase_aircraft
			} {
				target = ITA
				decision = BUL_purchase_infantry_equipment
			} {
				target = ITA
				decision = BUL_purchase_armor
			} {
				target = ITA
				decision = BUL_purchase_s
# ... (truncated)
### Entity: Character
Component: MZB_pot
Source: game
File: common/characters/MZB.txt

Code:
MZB_pot = {
	advisor = {
		slot = political_advisor
		idea_token = MZB_pot
		allowed = {
			original_tag = MZB
		}
		traits = {
			prince_of_terror
		}
	}
	portraits = {
		army = {
			small = GFX_idea_generic_political_advisor_african_2
		}
	}
}
### Entity: Joint Focus
Component: HABSBURG_bring_back_royal_and_imperial_hussars
Constructs: prerequisite, joint_focus, completion_reward, is_faction_leader, is_in_faction_with, is_subject, is_subject_of, add_dynamic_modifier
Source: game
File: common/national_focus/habsburg_joint.txt

Code:
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
	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 = {
				AND = {
					is_faction_leader = yes
					any_allied_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
				} {
					is_faction_leader = no
					OR = {
						AND = {
							is_in_faction_with = HUN
							HUN = {
								is_faction_leader = yes
							}
						} {
							is_in_faction_with = AUS
							AUS = {
								is_faction_leader = yes
							}
						}
					}
				} {
					OR = {
						original_tag = HUN AUS
					}
					any_subject_country = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					is_subject = no
				} {
					is_subject = yes
					OR = {
						is_subject_of = HUN 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
		}
	}
}