Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: National Focus
Component: wuw_HUN_invite_otto_to_the_throne
Constructs: has_completed_focus, prerequisite, limit, has_government, completion_reward, has_game_rule, allow_branch, has_global_flag
Source: game
File: common/national_focus/hungary_wuw.txt

Code:
focus = {
	id = wuw_HUN_invite_otto_to_the_throne
	icon = GFX_focus_HUN_invite_otto_to_the_throne
	prerequisite = {
		focus = wuw_HUN_reinstate_the_pragmatic_sanction
	}
	mutually_exclusive = {
		focus = wuw_HUN_the_old_habsburg_king
	}
	x = -3
	y = 1
	relative_position_id = wuw_HUN_reinstate_the_pragmatic_sanction
	cost = 5
	ai_will_do = {
		factor = 20
	}
	offset = {
		x = 3
		y = 0
		trigger = {
			has_game_rule = {
				rule = obsolete_focus_branches_visibility
				option = HIDE
			}
			has_completed_focus = wuw_HUN_invite_otto_to_the_throne
		}
	}
	allow_branch = {
		IF = {
			limit = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
			NOT = {
				has_completed_focus = wuw_HUN_the_old_habsburg_king
			} {
				has_completed_focus = wuw_HUN_continue_the_regency
			} {
				has_completed_focus = wuw_HUN_end_the_white_terror
			} {
				has_completed_focus = wuw_HUN_abide_by_the_little_ententes_stipulations
			}
		}
	}
	available = {
		has_government = neutrality
		NOT = {
			has_global_flag = AUS_otto_von_habsburg_has_joined_austria_flag
		}
	}
	bypass = {
		has_global_flag = GER_reformed_austro_hungarian_empire
	}
	search_filters = {
		FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER
	}
	cancel_if_invalid = no
	continue_if_invalid = yes
	available_if_capitulated = no
	completion_reward = {
		promote_character = HUN_otto_von_habsburg
		swap_ideas = {
			remove_idea = HUN_hungarian_monarchy_resored_habsburgs
			add_idea = HUN_hungarian_monarchy_resored_habsburgs_otto
		}
		hidden_effect = {
			news_event = {
				id = news.290
			}
			set_global_flag = HUN_otto_von_habsburg_has_joined_hungary_flag
		} {
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes
			}
		}
		custom_effect_tooltip = generic_skip_one_line_tt HUN_joseph_august_von_habsburg_becomes_available_as_field_marshal_tt HUN_otto_von_habsburg_becomes_available_as_field_marshal_tt HUN_antal_freiherr_becomes_available_as_general_tt
	}
}
### Entity: Achievement
Component: et_tu_paulus
Constructs: has_country_flag, is_ironman, has_start_date, has_any_custom_difficulty_setting
Source: game
File: common/achievements.txt

Code:
et_tu_paulus = {
	id = 275
	possible = {
		is_ironman = yes
		difficulty = > 1
		has_start_date = < 1936.01.02
		has_any_custom_difficulty_setting = no
		game_rules_allow_achievements = yes
	}
	happened = {
		has_country_flag = achievement_captured_a_field_marshal
	}
}
### Entity: Event
Component: JUNO_brazil_events.47
Constructs: is_triggered_only, ai_chance, has_war, create_wargoal, annex_everything
Source: game
File: events/TOA_Brazil.txt

Code:
country_event = {
	id = JUNO_brazil_events.47
	title = JUNO_brazil_events.47.t
	desc = JUNO_brazil_events.47.desc
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	option = {
		name = JUNO_brazil_events.47.a
		ai_chance = {
			base = 2
		}
		FROM = {
			country_event = {
				id = JUNO_brazil_events.48
				days = 1
			}
		}
	} {
		name = JUNO_brazil_events.47.b
		ai_chance = {
			base = 10
			modifier = {
				factor = 0.1
				has_war = yes
			}
		}
		create_wargoal = {
			type = annex_everything
			target = FROM
		}
		FROM = {
			country_event = {
				id = JUNO_brazil_events.49
				hours = 1
			}
		}
	}
}
### Entity: National Focus
Tree: sia_focus
Component: SIA_for_the_preservation_of_siamese_independence
Constructs: prerequisite, limit, completion_reward, random_core_state, is_owned_and_controlled_by, add_extra_state_shared_building_slots, add_building_construction, add_tech_bonus
Source: game
File: common/national_focus/siam.txt

Code:
focus = {
	id = SIA_for_the_preservation_of_siamese_independence
	icon = GFX_focus_SIA_for_the_preservation_of_siamese_independence
	prerequisite = {
		focus = SIA_the_khana_ratsadon
	}
	x = 22
	y = 0
	relative_position_id = SIA_shuffle_pridi_to_the_minister_of_interior
	cost = 5
	ai_will_do = {
		factor = 10
	}
	available = {

	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH
	}
	completion_reward = {
		SIA_increase_military_approval = yes
		SIA_decrease_civilian_approval = yes
		random_core_state = {
			limit = {
				is_owned_and_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size = > 0
					include_locked = yes
				}
			}
			prioritize = {
				1076
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		add_tech_bonus = {
			name = SIA_for_the_preservation_of_siamese_independence
			bonus = 0.33
			uses = 1
			category = infantry_weapons
		}
		custom_effect_tooltip = newline_tt SIA_for_the_preservation_of_siamese_independence_tt
	}
}
### Entity: Event
Component: lar_end_the_occupation.6
Constructs: is_triggered_only, ai_chance, load_focus_tree, unlock_national_focus
Source: game
File: events/LaR_France.txt

Code:
country_event = {
	id = lar_end_the_occupation.6
	title = lar_end_the_occupation.6.t
	desc = lar_end_the_occupation.6.desc
	picture = GFX_report_event_degaulle_churchill
	is_triggered_only = yes
	option = {
		name = lar_end_the_occupation.6.a
		ai_chance = {
			factor = 80
		}
		load_focus_tree = french_focus
		unlock_national_focus = FRA_revive_the_national_bloc FRA_utilize_the_leagues FRA_national_regeneration FRA_diplomatic_freedom FRA_latin_entente
	}
}
### Entity: Order of Battle
Component: Special Forces Headquarters
Constructs: division_template
Source: game
File: history/units/SIC_1936_sea.txt

Code:
division = {
	name = Special Forces Headquarters
	location = 6999
	division_template = Sanjiao Jun
	start_equipment_factor = 0.1
	officer = {
		name = SIC_you_guangzhu
	}
}
### Entity: Scripted Trigger
Component: EAI_LAW_available_volunteer_only
Constructs: limit, has_country_flag, has_idea, has_dlc
Source: game
File: common/scripted_triggers/EAI_COUNTRY_law_triggers.txt

Code:
EAI_LAW_available_volunteer_only = {
	NOT = {
		has_idea = volunteer_only
	} {
		has_idea = undisturbed_isolation isolation
	} {
		has_idea = undisturbed_isolation
	} {
		has_idea = isolation
	}
	IF = {
		limit = {
			original_tag = HUN
			has_dlc = Death or Dishonor
			NOT = {
				has_dlc = Gotterdammerung
			}
		}
		IF = {
			limit = {
				has_dlc = Arms Against Tyranny
			}
			NOT = {
				has_idea = HUN_treaty_of_triannon_aat
			}
		}
		ELSE = {
			NOT = {
				has_idea = HUN_treaty_of_triannon
			}
		}
	}
	ELSE_IF = {
		limit = {
			original_tag = HUN
			has_dlc = Gotterdammerung
		}
		IF = {
			limit = {
				has_dlc = Arms Against Tyranny
			}
			custom_trigger_tooltip = {
				tooltip = wuw_HUN_not_has_trianon_for_laws_tt
				NOT = {
					OR = {
						has_idea = HUN_treaty_of_triannon_aat_wuw HUN_treaty_of_triannon_aat_wuw_no_air_debuff HUN_treaty_of_triannon_aat_wuw_no_army_exp_debuff HUN_treaty_of_triannon_aat_wuw_no_air_or_army_debuff
					}
				}
			}
		}
		ELSE = {
			custom_trigger_tooltip = {
				tooltip = wuw_HUN_not_has_trianon_for_laws_tt
				NOT = {
					OR = {
						has_idea = HUN_treaty_of_triannon_wuw HUN_treaty_of_triannon_wuw_no_army_exp_debuff HUN_treaty_of_triannon_wuw_no_air_debuff HUN_treaty_of_triannon_wuw_no_air_or_army_debuff
					}
				}
			}
		}
	}
	if = {
		limit = {
			DEN_aat_is_subject = yes
		}
		NOT = {
			has_country_flag = DEN_had_volunteer_only_flag
		}
	}
}
### Entity: Military Industrial Organization
Component: GER_messerschmitt_organization
Constructs: has_completed_focus, limit, has_war_with, has_country_flag, add_trait, equipment_bonus, production_bonus, has_mio_size
Source: game
File: common/military_industrial_organization/organizations/GER_organization.txt

Code:
GER_messerschmitt_organization = {
	include = generic_light_aircraft_organization
	icon = GFX_idea_messerschmitt
	allowed = {
		OR = {
			original_tag = GER
			NOR_AAT = yes
		}
	}
	available = {
		IF = {
			limit = {
				FROM = {
					NOT = {
						original_tag = GER
					}
				}
			}
			FROM = {
				NOT = {
					has_war_with = GER
				}
			}
		}
		if = {
			limit = {
				FROM = {
					original_tag = NOR
				}
			}
			FROM = {
				has_completed_focus = NOR_invite_german_engineers
			}
		}
	}
	add_trait = {
		token = GER_mio_trait_maintenance_first_design
		name = GER_mio_trait_maintenance_first_design
		icon = GFX_generic_mio_department_icon_plane_fighter_line_efficiency
		special_trait_background = yes
		position = {
			x = -2
			y = 1
		}
		relative_position_id = generic_mio_trait_expanded_production_facilities
		all_parents = {
			generic_mio_trait_expanded_production_facilities
		}
		equipment_bonus = {
			reliability = 0.05
		}
		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	} {
		token = GER_mio_trait_fuselage_based_weapons
		name = GER_mio_trait_fuselage_based_weapons
		icon = GFX_generic_mio_trait_icon_anti_air_attack
		special_trait_background = yes
		position = {
			x = 1
			y = 1
		}
		relative_position_id = generic_mio_trait_gun_pods
		any_parent = {
			generic_mio_trait_heavier_airframe generic_mio_trait_maximum_wing_loads generic_mio_trait_gun_pods
		}
		equipment_bonus = {
			air_attack = 0.05
			air_agility = 0.05
		}
	} {
		token = GER_mio_trait_hamburger_flugzeugbau
		name = GER_mio_trait_hamburger_flugzeugbau
		icon = GFX_generic_mio_trait_icon_production_capacity
		special_trait_background = yes
		position = {
			x = @aircraft_hamburger_X
			y = @aircraft_hamburger_Y
		}
		visible = {
			FROM = {
				original_tag = GER
			}
		}
		available = {
			FROM = {
				mio:GER_blohm_und_voss_organization = {
					has_mio_size = > 4
				}
				NOT = {
					has_country_flag = GER_hamburger_flugzeugbau_trait_taken_flag
				}
			}
		}
		on_complete = {
			custom_effect_tooltip = generic_trait_will_not_be_available_in_other_organizations
			FROM = {
				set_country_flag = GER_hamburger_flugzeugbau_trait_taken_flag
			}
		}
		production_bonus = {
			production_capacity_factor = 0.05
		}
		ai_will_do = {
			base = 2
		}
	} {
		token = GER_mio_trait_aerodynamic_research_insitute
		name = GER_mio_trait_aerodynamic_research_insitute
	
# ... (truncated)
### Entity: Character
Component: SIK_sa_zhenbing
Source: game
File: common/characters/SIK.txt

Code:
SIK_sa_zhenbing = {
	name = SIK_sa_zhenbing
	portraits = {
		army = {
			small = GFX_idea_generic_navy_asia_1
		}
	}
	advisor = {
		slot = navy_chief
		idea_token = SIK_sa_zhenbing
		allowed = {
			original_tag = SIK
		}
		traits = {
			navy_chief_commerce_raiding_2
		}
		cost = 100
		ai_will_do = {
			factor = 1.0
		}
	}
}
### Entity: Idea
Component: EGY_acr
Source: game
File: common/ideas/egypt.txt

Code:
EGY_acr = {
	picture = generic_air_arab_3
	allowed = {
		original_tag = EGY
	}
	traits = {
		air_chief_reform_2
	}
	ai_will_do = {
		factor = 1
	}
}
### Entity: National Focus
Tree: cze_focus
Component: CZE_realize_the_polish_czechoslovak_confederation
Constructs: prerequisite, has_war_with, completion_reward, is_subject, is_ally_with, is_subject_of, has_capitulated, every_core_state
Source: game
File: common/national_focus/czechoslovakia_mu.txt

Code:
focus = {
	id = CZE_realize_the_polish_czechoslovak_confederation
	icon = GFX_focus_POL_common_organization_of_society
	prerequisite = {
		focus = CZE_ally_poland
	}
	cost = 10
	relative_position_id = CZE_ally_poland
	x = 0
	y = 1
	available = {
		is_subject = no
		POL = {
			is_ally_with = ROOT
			OR = {
				is_subject = no
				is_subject_of = ROOT
			}
			has_capitulated = yes
			all_enemy_country = {
				has_war_with = ROOT
			}
		}
	}
	completion_reward = {
		POL = {
			country_event = MUN_czech.1031
			custom_effect_tooltip = if_they_accept_newline_tt
			effect_tooltip = {
				every_core_state = {
					add_core_of = ROOT
				}
				every_unit_leader = {
					set_nationality = ROOT
				}
			}
		}
		effect_tooltip = {
			annex_country = {
				target = POL
			}
			set_cosmetic_tag = CZE_POL_union
		}
	}
}
### Entity: Unit Template
Component: DOM_SS_HISTORICAL
Source: game
File: common/units/names_ships/DOM_ship_names.txt

Code:
DOM_SS_HISTORICAL = {
	name = NAME_THEME_HISTORICAL_SUBMARINES
	for_countries = {
		DOM
	}
	type = ship
	ship_types = {
		ship_hull_submarine submarine
	}
	prefix = ARD 
	fallback_name = Submarino %d
	unique = {
		Presidente Trujillo Juan Pablo Duarte Pedro Santana Cristobal Colón Juan Alejandro Acosta Juan Bautista Cambiaso Gerardo Jansen Juan Bautista Maggiolo
	}
}
### Entity: Event
Component: egypt.12
Constructs: is_triggered_only, ai_chance, has_government, has_country_flag, fire_only_once, add_political_power, is_historical_focus_on, has_opinion
Source: game
File: events/egypt.txt

Code:
country_event = {
	id = egypt.12
	picture = GFX_report_event_EGY_anglo_egyptian_conference_3
	title = egypt.12.t
	desc = egypt.12.d
	fire_only_once = yes
	is_triggered_only = yes
	option = {
		name = egypt.12.a
		ai_chance = {
			base = 0
			modifier = {
				add = 90
				OR = {
					has_government = democratic communism
				}
				is_historical_focus_on = yes
			} {
				add = 35
				OR = {
					has_government = democratic communism
				}
				is_historical_focus_on = no
			} {
				add = 15
				has_opinion = {
					target = EGY
					value = > 9
				}
			} {
				add = 10
				has_country_flag = EGY_recognise_the_suez_canal_company_flag
			}
		}
		set_autonomy = {
			target = EGY
			autonomy_state = autonomy_dominion
			end_wars = no
			end_civil_wars = no
		}
		EGY = {
			country_event = {
				id = egypt.13
				hours = 12
			}
		}
	} {
		name = egypt.12.b
		ai_chance = {
			base = 0
			modifier = {
				add = 30
				OR = {
					has_government = neutrality fascism
				}
			} {
				add = 15
				has_opinion = {
					target = EGY
					value = > 29
				}
			}
		}
		add_political_power = -100
		EGY = {
			country_event = {
				id = egypt.14
				hours = 12
			}
		}
	}
}
### Entity: Idea
Component: ITA_divino_duce_1
Constructs: has_completed_focus, removal_cost, conscription_factor
Source: game
File: common/ideas/italy.txt

Code:
ITA_divino_duce_1 = {
	picture = generic_fascism_rising
	removal_cost = -1
	allowed = {
		original_tag = ITA
	}
	allowed_civil_war = {
		has_completed_focus = ITA_divino_duce
	}
	modifier = {
		conscription_factor = 0.1
		command_power_gain_mult = 0.05
		drift_defence_factor = 0.1
		army_org_factor = 0.05
	}
}
### Entity: National Focus
Tree: spr_focus
Component: SPR_reaffirm_the_popular_front_strategy
Constructs: prerequisite, add_war_support, completion_reward, has_global_flag, add_timed_idea
Source: game
File: common/national_focus/spain.txt

Code:
focus = {
	id = SPR_reaffirm_the_popular_front_strategy
	available = {

	}
	bypass = {
		OR = {
			has_global_flag = SPR_anarchist_uprising_flag scw_over
		}
	}
	prerequisite = {
		focus = SPR_the_stalinist_doctrine SPR_the_future_of_the_republic
	}
	icon = GFX_goal_generic_propaganda
	x = 5
	y = 1
	relative_position_id = SPR_the_stalinist_doctrine
	cost = 5
	available_if_capitulated = yes
	search_filters = {
		FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL
	}
	completion_reward = {
		add_war_support = 0.05
		add_timed_idea = {
			idea = SPR_popular_front_1
			days = 730
		}
	}
}
### Entity: National Focus
Tree: arg_focus
Component: ARG_break_roca_runciman_treaty
Constructs: prerequisite, limit, add_opinion_modifier, completion_reward, random_owned_state, is_in_home_area, add_extra_state_shared_building_slots, add_building_construction
Source: game
File: common/national_focus/r56_argentina.txt

Code:
focus = {
	id = ARG_break_roca_runciman_treaty
	icon = GFX_goal_generic_trade
	prerequisite = {
		focus = ARG_argentinas_destiny
	}
	x = 51
	y = 2
	cost = 10
	available = {
		country_exists = ENG
	}
	ai_will_do = {
		factor = 0.1
	}
	completion_reward = {
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size = > 2
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size = > 2
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
		ENG = {
			add_opinion_modifier = {
				target = ARG
				modifier = broken_treaty
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY
	}
}
### Entity: Idea
Component: idea_SIA_how_quickly_the_table_turns
Constructs: has_dlc, removal_cost, annex_cost_factor, compliance_gain
Source: game
File: common/ideas/siam.txt

Code:
idea_SIA_how_quickly_the_table_turns = {
	allowed = {
		has_dlc = Thunder at Our Gates
		original_tag = SIA
	}
	picture = generic_flexible_foreign_policy
	allowed_civil_war = {
		always = yes
	}
	removal_cost = -1
	modifier = {
		resistance_target_on_our_occupied_states = -0.15
		annex_cost_factor = -0.15
		compliance_gain = 0.03
	}
}
### Entity: National Focus
Tree: chi_focus
Component: CHI_new_life_movement
Constructs: prerequisite, add_stability, completion_reward, cancel_if_invalid, complete_tooltip
Source: game
File: common/national_focus/china_nationalist.txt

Code:
focus = {
	id = CHI_new_life_movement
	icon = GFX_goal_generic_propaganda
	prerequisite = {
		focus = CHI_refugee_relief_agency
	}
	x = -1
	y = 3
	relative_position_id = CHI_welfare
	cost = 10
	ai_will_do = {
		factor = 4
	}
	available = {

	}
	bypass = {

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

	}
	search_filters = {
		FOCUS_FILTER_STABILITY
	}
	completion_reward = {
		add_stability = 0.1
	}
}
### Entity: Idea
Component: FIN_stopai
Constructs: has_war_with, removal_cost
Source: game
File: common/ideas/r56_finland.txt

Code:
FIN_stopai = {
	removal_cost = -1
	available = {
		ROOT = {
			NOT = {
				has_war_with = GER
			}
		}
	}
	allowed = {
		always = yes
	}
	allowed_civil_war = {
		always = yes
	}
	targeted_modifier = {
		tag = GER
		trade_cost_for_target_factor = -1
	}
	picture = generic_disjointed_gov
	modifier = {
		hidden_modifier = {
			ai_get_ally_desire_factor = -1000
			ai_call_ally_desire_factor = -1000
			ai_join_ally_desire_factor = -1000
		}
	}
}
### Entity: National Focus
Tree: cos_focus
Component: COS_scientific_exchange
Constructs: prerequisite, completion_reward, is_in_faction, is_historical_focus_on, add_research_slot
Source: game
File: common/national_focus/costa_rica.txt

Code:
focus = {
	id = COS_scientific_exchange
	icon = GFX_focus_research2
	prerequisite = {
		focus = COS_central_american_cooperation COS_join_the_allies
	}
	available = {
		is_in_faction = yes
	}
	cost = 10
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
	x = 0
	y = 4
	relative_position_id = COS_strengthen_democratic_institutions
	ai_will_do = {
		factor = 5
		modifier = {
			factor = 0
			is_historical_focus_on = yes
		}
	}
	completion_reward = {
		add_research_slot = 1
	}
}
### Entity: National Focus
Tree: tur_focus
Component: TUR_purge_the_kemalists
Constructs: every_owned_state, prerequisite, limit, add_stability, completion_reward, has_dynamic_modifier, remove_dynamic_modifier
Source: game
File: common/national_focus/turkey.txt

Code:
focus = {
	id = TUR_purge_the_kemalists
	icon = GFX_focus_TUR_purge_the_kemalists
	prerequisite = {
		focus = TUR_pivot_to_the_past
	}
	x = 0
	y = 1
	relative_position_id = TUR_pivot_to_the_past
	cost = 10
	ai_will_do = {
		base = 10
	}
	search_filters = {
		FOCUS_FILTER_TUR_KEMALISM FOCUS_FILTER_STABILITY
	}
	completion_reward = {
		add_stability = 0.05
		custom_effect_tooltip = TUR_kemalists_purged_tt
		hidden_effect = {
			every_owned_state = {
				limit = {
					has_dynamic_modifier = {
						modifier = kemalist_loyalties
					}
				}
				remove_dynamic_modifier = {
					modifier = kemalist_loyalties
				}
			} {
				limit = {
					has_dynamic_modifier = {
						modifier = kemalist_schemers
					}
				}
				remove_dynamic_modifier = {
					modifier = kemalist_schemers
				}
			}
		}
	}
}
### Entity: National Focus
Tree: den_focus
Component: DEN_Pan_Scandinavianism
Constructs: prerequisite, completion_reward, add_relation_modifier
Source: game
File: common/national_focus/r56_denmark.txt

Code:
focus = {
	id = DEN_Pan_Scandinavianism
	icon = GFX_goal_scandinavianism
	cost = 10
	search_filters = {
		FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION
	}
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = DEN_Icelandic_path_to_Socialism
	}
	x = -5
	y = 3
	relative_position_id = DEN_DKP_Takeover
	completion_reward = {
		add_relation_modifier = {
			target = NOR
			modifier = DEN_Pan_Scandinavianism
		} {
			target = SWE
			modifier = DEN_Pan_Scandinavianism
		} {
			target = ICE
			modifier = DEN_Pan_Scandinavianism
		} {
			target = FIN
			modifier = DEN_Pan_Scandinavianism
		}
	}
}
### Entity: National Focus
Tree: tur_focus
Component: TUR_ministry_of_labor_and_social_security
Constructs: has_completed_focus, prerequisite, limit, remove_ideas, add_stability, completion_reward, add_political_power, has_idea
Source: game
File: common/national_focus/r56_turkey.txt

Code:
focus = {
	id = TUR_ministry_of_labor_and_social_security
	icon = GFX_focus_hol_the_foundations_of_defense
	prerequisite = {
		focus = TUR_accomplishing_ataturks_dream TUR_solidify_the_dictatorship
	}
	relative_position_id = TUR_accomplishing_ataturks_dream
	x = 2
	y = 1
	cost = 5
	ai_will_do = {
		factor = 10
	}
	completion_reward = {
		if = {
			limit = {
				has_idea = TUR_traumatized_nation
			}
			swap_ideas = {
				remove_idea = TUR_traumatized_nation
				add_idea = TUR_traumatized_nation_2
			}
		} {
			limit = {
				has_completed_focus = TUR_renew_the_democratic_reforms
			}
			add_stability = 0.03
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
		}
		else_if = {
			limit = {
				has_idea = TUR_traumatized_nation_2
			}
			swap_ideas = {
				remove_idea = TUR_traumatized_nation_2
				add_idea = TUR_traumatized_nation_3
			}
		}
		else = {
			remove_ideas = TUR_traumatized_nation_3
		} {
			add_political_power = 30
			add_stability = 0.03
		}
	}
	search_filters = {
		FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_TUR_KEMALISM
	}
}