Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: National Focus
Tree: ukr_focus
Component: UKR_refine_air_doctrine
Constructs: prerequisite, completion_reward, add_doctrine_cost_reduction
Source: game
File: common/national_focus/ukraine.txt

Code:
focus = {
	id = UKR_refine_air_doctrine
	icon = GFX_goal_generic_air_doctrine
	prerequisite = {
		focus = UKR_train_pilots UKR_support_designers_innovations
	}
	relative_position_id = UKR_support_designers_innovations
	x = -1
	y = 1
	cost = 10
	available_if_capitulated = yes
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		air_experience = 5
		add_doctrine_cost_reduction = {
			name = air_doc_bonus
			cost_reduction = 0.5
			uses = 2
			category = air_doctrine
		}
	}
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
}
### Entity: National Focus
Tree: sco_focus
Component: SCO_demand_the_stone_of_scone
Constructs: prerequisite, has_government, has_country_flag, completion_reward, is_subject, has_army_manpower
Source: game
File: common/national_focus/scotland.txt

Code:
focus = {
	id = SCO_demand_the_stone_of_scone
	icon = GFX_goal_FRA_operation_charlemagne
	prerequisite = {
		focus = SCO_kings_guard
	}
	relative_position_id = SCO_kings_guard
	x = 2
	y = 1
	cost = 10
	ai_will_do = {
		factor = 2.5
	}
	will_lead_to_war_with = ENG
	available = {
		has_government = neutrality
		r56_script_i_am_sane = yes
		is_subject = no
		has_army_manpower = {
			size = > 59999
		}
		ENG = {
			exists = yes
		}
	}
	bypass = {
		has_country_flag = SCO_has_the_stone_of_scone
	}
	available_if_capitulated = yes
	search_filters = {
		FOCUS_FILTER_STABILITY
	}
	completion_reward = {
		ENG = {
			country_event = {
				id = r56_scotland.2
				hours = 6
			}
		}
	}
}
### Entity: National Focus
Tree: ger_focus
Component: GER_autonomous_organization_todt
Constructs: prerequisite, limit, has_country_flag, completion_reward, set_temp_variable, check_variable, swap_ideas, remove_idea
Source: game
File: common/national_focus/germany.txt

Code:
focus = {
	id = GER_autonomous_organization_todt
	icon = GFX_focus_GER_autonomous_organization_todt
	mutually_exclusive = {
		focus = GER_plenipotentiary_of_armaments GER_plenipotentiary_of_the_four_year_plan
	}
	prerequisite = {
		focus = GER_form_organization_todt
	}
	text_icon = GER_inner_circle_focus_style
	x = 0
	y = 1
	relative_position_id = GER_form_organization_todt
	cost = @inner_circle_time_tier_2
	available = {
		if = {
			limit = {
				has_country_flag = GER_autonomous_organization_todt_in_progress_flag
			}
			set_temp_variable = {
				temp_focus_days = @inner_circle_time_tier_2
			}
			multiply_temp_variable = {
				temp_focus_days = 7
			}
			custom_override_tooltip = {
				tooltip = {
					localization_key = GER_inner_circle_focus_in_progress_tt
					CHARACTER = GER_fritz_todt
					FLAG_DAYS = [?GER_autonomous_organization_todt_in_progress_flag:days]
				}
				always = no
			}
		} {
			limit = {
				check_variable = {
					GER_industrialist_prevailed = 0
					compare = not_equals
				}
			}
			if = {
				limit = {
					check_variable = {
						GER_industrialist_prevailed = 1
					}
				}
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_industrialists_intrigue_prevailed_tt
						PREVAILED_CHARACTER = GER_fritz_todt
					}
					always = yes
				}
			}
			else_if = {
				limit = {
					check_variable = {
						GER_industrialist_prevailed = 2
					}
				}
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_industrialists_intrigue_prevailed_tt
						PREVAILED_CHARACTER = GER_albert_speer
					}
					always = no
				}
			} {
				limit = {
					check_variable = {
						GER_industrialist_prevailed = 3
					}
				}
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_industrialists_intrigue_prevailed_tt
						PREVAILED_CHARACTER = GER_hermann_goring
					}
					always = no
				}
			}
		}
		else = {
			custom_override_tooltip = {
				tooltip = {
					localization_key = GER_focus_can_only_be_completed_by_advisor_tt
					CHARACTER = GER_fritz_todt
					FOCUS = GER_ascension_of_todt
				}
				always = no
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY
	}
	completion_reward = {
		custom_effect_tooltip = {
			localization_key = GER_ascended_character_trait_swap_tt
			CHARACTER = GER_fritz_todt
		} generic_skip_on
# ... (truncated)
### Entity: State History
Component: 940
Constructs: add_core_of
Source: game
File: history/states/940 - Acre.txt

Code:
state = {
	id = 940
	name = STATE_940
	manpower = 463559
	state_category = pastoral
	resources = {
		rubber = 4
	}
	history = {
		owner = BRA
		add_core_of = BRA
		buildings = {
			infrastructure = 1
		}
		victory_points = {
			13278 2
		}
	}
	provinces = {
		13278 13279 13280
	}
	local_supplies = 0.0
}
### Entity: National Focus
Tree: pol_focus
Component: POL_protect_yugoslavia
Constructs: prerequisite, has_war_with, completion_reward, is_faction_leader, is_subject, is_in_faction, unlock_decision_tooltip
Source: game
File: common/national_focus/poland.txt

Code:
focus = {
	id = POL_protect_yugoslavia
	icon = GFX_focus_invite_yugoslavia
	prerequisite = {
		focus = POL_the_mediterranean
	}
	available = {
		is_faction_leader = yes
		YUG = {
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = ROOT
			}
		}
	}
	bypass = {
		YUG = {
			OR = {
				is_subject = yes
				exists = no
				is_in_faction = yes
				has_war_with = ROOT
			}
		}
	}
	x = 2
	y = 1
	relative_position_id = POL_the_mediterranean
	cost = 5
	ai_will_do = {
		factor = 10
	}
	completion_reward = {
		YUG = {
			country_event = {
				id = poland.16
				days = 1
			}
		}
		unlock_decision_tooltip = POL_diplomatic_mission_to_GRE POL_diplomatic_mission_to_TUR
	}
}
### Entity: Event
Component: SEA_warlords.73
Constructs: is_triggered_only, fire_only_once
Source: game
File: events/SEA_Warlords.txt

Code:
country_event = {
	id = SEA_warlords.73
	title = SEA_warlords.73.t
	desc = SEA_warlords.73.desc
	picture = GFX_report_event_chinese_soldiers_running
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = SEA_warlords.73.a
	}
}
### Entity: Event
Component: KMT_event.93
Constructs: is_triggered_only, ai_chance, every_owned_state, limit, add_to_variable, give_military_access, declare_war_on, annex_everything
Source: game
File: events/r56_KMT_events.txt

Code:
country_event = {
	id = KMT_event.93
	title = KMT_event.93.t
	desc = KMT_event.93.desc
	picture = GFX_report_event_chinese_officers
	is_triggered_only = yes
	option = {
		name = KMT_event.93.a
		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = CHI_warlords.19
		}
		custom_effect_tooltip = CUF_debuff_tt
		add_to_variable = {
			global.CHI_CUF = -0.01
		} {
			global.CHI_CUF2 = -0.02
		}
	} {
		name = KMT_event.93.b
		ai_chance = {
			base = 4
		}
		FROM = {
			country_event = CHI_warlords.20
		} {
			every_owned_state = {
				limit = {
					OR = {
						state = 1125 622 1111
					}
				}
				transfer_state_to = ROOT
			}
		} {
			give_military_access = ROOT
		}
		declare_war_on = {
			target = PRC
			type = annex_everything
		}
		1125 = {
			add_core_of = ROOT
		}
		622 = {
			add_core_of = ROOT
		}
		1111 = {
			add_core_of = ROOT
		}
		set_country_flag = KMT_SHX_deal
		give_military_access = FROM
		custom_effect_tooltip = KMT_SHX_deal_tt CUF_buff_tt
		add_to_variable = {
			global.CHI_CUF = -0.005
		} {
			global.CHI_CUF2 = -0.01
		}
	}
}
### Entity: Effect Reference
Construct: capture_by
Source: vanilla_docs
File: documentation/effects_documentation.md

Doc:
## capture_by

* Supported Scopes: any
* Supported Targets: ROOT

Make the Unit Leader in scope be captured by the specified country (needs to be a general).
Optionally specify the province where the leader is held captive.
### Entity: Event
Component: peru.4
Constructs: is_triggered_only
Source: game
File: events/r56_peru.txt

Code:
country_event = {
	id = peru.4
	title = peru.4.t
	desc = peru.4.d
	picture = GFX_report_event_PRU_benavides_funeral
	is_triggered_only = yes
	option = {
		name = peru.4.a
	}
}
### Entity: National Focus
Component: turkish_focus
Constructs: shared_focus, has_completed_focus, every_owned_state, add_equipment_to_stockpile, prerequisite, has_war, limit, random_country
Source: game
File: common/national_focus/turkey.txt

Code:
focus_tree = {
	id = turkish_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = TUR
			has_dlc = Battle for the Bosporus
		}
	}
	default = no
	continuous_focus_position = {
		x = 100
		y = 3250
	}
	initial_show_position = {
		x = 20
		y = 0
	}
	shared_focus = SSB_the_saadabad_pact
	focus = {
		id = TUR_the_montreux_convention
		icon = GFX_focus_TUR_the_montreux_convention
		available = {
			TUR = {
				is_subject = no
			}
		}
		x = 5
		y = 0
		cost = 10
		ai_will_do = {
			base = 10
		}
		bypass = {
			341 = {
				is_demilitarized_zone = no
			}
			797 = {
				is_demilitarized_zone = no
			}
			340 = {
				is_demilitarized_zone = no
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}
		completion_reward = {
			ENG = {
				country_event = {
					id = bftb_turkey.1
				}
			}
			custom_effect_tooltip = TUR_the_montreux_convention_tt
		}
	} {
		id = TUR_continue_the_policy_of_etatism
		icon = GFX_goal_generic_neutrality_focus
		mutually_exclusive = {
			focus = TUR_fully_integrate_the_is_bank
		}
		prerequisite = {
			focus = TUR_the_montreux_convention
		}
		available = {
			TUR = {
				has_government = neutrality
			}
		}
		x = 3
		y = 1
		relative_position_id = TUR_the_montreux_convention
		cost = 10
		ai_will_do = {
			base = 10
		}
		completion_reward = {
			add_ideas = TUR_etatism TUR_ismet_inonu
			custom_effect_tooltip = generic_skip_one_line_tt TUR_sanayiciler_etatism_tt
			hidden_effect = {
				set_variable = {
					var = TUR_etatism_cost_penalty_var
					value = 150
				}
			}
		}
	} {
		id = TUR_fully_integrate_the_is_bank
		icon = GFX_goal_generic_intelligence_exchange
		mutually_exclusive = {
			focus = TUR_continue_the_policy_of_etatism
		}
		prerequisite = {
			focus = TUR_the_montreux_convention
		}
		available = {
			TUR = {
				has_government = neutrality
			}
			is_subject = no
		}
		x = -3
		y = 1
		relative_position_id = TUR_the_montreux_convention
		cost = 5
		ai_will_do = {
			base = 10
		}
		completion_reward = {
			add_political_power = 120
			custom_effect_tooltip = generic_skip_one_line_tt generic_skip_one_line_tt TUR_sanayiciler_liberals_tt
			add_ideas = TUR_celal_bayar free_trade
		}
	} {
		id = TUR_continue_the_sumerbank_industrialization_scheme
		icon = GFX_focus_CHL_enlarge_the_textile_industries
		prerequisite = {
			focus = TUR_continue_the_policy_of_etatism TUR_fully_integrate_the_is_bank
		}
		avai
# ... (truncated)
### Entity: Event
Component: south_american_events.13
Constructs: ai_chance, limit, add_stability, fire_only_once, has_dlc, add_manpower, add_timed_idea, random_days
Source: game
File: events/TOA_Generic_Events.txt

Code:
country_event = {
	id = south_american_events.13
	title = south_american_events.13.t
	desc = south_american_events.13.d
	picture = GFX_report_event_CHL_chillan_earthquake
	trigger = {
		controls_state = 279
		date = > 1939.1.18
		has_dlc = Trial of Allegiance
	}
	mean_time_to_happen = {
		days = 2
	}
	hidden = no
	fire_only_once = yes
	option = {
		name = south_american_events.13.a
		ai_chance = {
			base = 100
		}
		add_stability = -0.05
		add_manpower = -4000
		add_timed_idea = {
			idea = CHL_relief_efforts_idea
			days = 360
		}
		custom_effect_tooltip = CHL_relief_efforts_idea_tt
		effect_tooltip = {
			CHL_anarchic_society_level_down = yes
		}
		IF = {
			limit = {
				original_tag = CHL
			}
			CHL_anarchic_society_level_up = yes
		}
		news_event = {
			id = south_american_news.13
			days = 3
			random_days = 6
		}
	} {
		name = south_american_events.13.b
		ai_chance = {
			base = 0
			modifier = {
				add = 100
				is_historical_focus_on = no
			}
		}
		add_stability = -0.15
		add_manpower = -4000
		add_command_power = 25
		IF = {
			limit = {
				original_tag = CHL
			}
			CHL_anarchic_society_level_up = yes
		}
		news_event = {
			id = south_american_news.13
			days = 3
			random_days = 6
		}
	}
}
### Entity: National Focus
Tree: ice_focus
Component: ICE_war_manu
Constructs: prerequisite, has_war, limit, add_ideas, completion_reward, has_idea
Source: game
File: common/national_focus/r56_iceland.txt

Code:
focus = {
	id = ICE_war_manu
	icon = GFX_goal_generic_trade
	cost = 10
	ai_will_do = {
		factor = 1
	}
	available = {
		has_war = yes
	}
	prerequisite = {
		focus = ICE_mil_facs
	}
	x = 6
	y = 5
	completion_reward = {
		if = {
			limit = {
				NOT = {
					has_idea = war_economy
				} {
					has_idea = tot_economic_mobilisation
				}
			}
			add_ideas = war_economy
		}
	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY
	}
}
### Entity: Idea
Component: AFG_emerging_economy
Constructs: industrial_capacity_factory, production_speed_buildings_factor
Source: game
File: common/ideas/afghanistan.txt

Code:
AFG_emerging_economy = {
	picture = ARG_civilian_economy_boost
	allowed = {
		original_tag = AFG
	}
	allowed_civil_war = {
		always = yes
	}
	modifier = {
		production_speed_buildings_factor = 0.1
		production_speed_infrastructure_factor = 0.1
		production_factory_efficiency_gain_factor = 0.1
		industrial_capacity_factory = 0.1
	}
}
### Entity: Modifier Reference
Component: sabotaged_resources
Constructs: remove_trigger, has_resistance
Source: game
File: common/dynamic_modifiers/0_dynamic_modifiers.txt

Code:
sabotaged_resources = {
	remove_trigger = {
		ROOT = {
			has_resistance = no
		}
	}
	icon = GFX_modifiers_sabotaged_resource
	temporary_state_resource_oil = sabotaged_oil
	temporary_state_resource_aluminium = sabotaged_aluminium
	temporary_state_resource_rubber = sabotaged_rubber
	temporary_state_resource_tungsten = sabotaged_tungsten
	temporary_state_resource_steel = sabotaged_steel
	temporary_state_resource_chromium = sabotaged_chromium
	temporary_state_resource_coal = sabotaged_coal
}
### Entity: Event
Component: MUN_czech.1027
Constructs: is_triggered_only, ai_chance, limit, owns_state, is_ai, has_opinion, is_guaranteed_by, has_non_aggression_pact_with
Source: game
File: events/MUN_Czechoslovakia.txt

Code:
country_event = {
	id = MUN_czech.1027
	title = MUN_czech.1027.t
	desc = MUN_czech.1027.d
	picture = GFX_report_event_generic_handshake
	is_triggered_only = yes
	option = {
		name = MUN_czech.1027.a
		ai_chance = {
			base = 1
			modifier = {
				FROM = {
					is_ai = no
				}
				factor = 1.1
			} {
				has_opinion = {
					target = FROM
					value = > 50
				}
				factor = 1.1
			} {
				has_opinion = {
					target = FROM
					value = > 75
				}
				factor = 1.5
			} {
				FROM = {
					is_guaranteed_by = ROOT
				}
				factor = 1.5
			} {
				FROM = {
					has_non_aggression_pact_with = ROOT
				}
				factor = 1.1
			} {
				is_ally_with = FROM
				factor = 3
			}
		}
		if = {
			limit = {
				controls_state = 202
				owns_state = 202
			}
			give_resource_rights = {
				receiver = FROM
				state = 202
			}
		}
		add_timed_idea = {
			idea = CZE_machine_tools
			months = 3
		}
	} {
		name = MUN_czech.1027.b
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = {
					target = FROM
					value = < -9
				}
				factor = 1.1
			}
		}
		set_variable = {
			global.CZE_origin_event = 1027
		}
		FROM = {
			country_event = MUN_czech.1026
		}
	}
}
### Entity: Unit Template
Component: IRQ_CAV_01
Source: game
File: common/units/names_divisions/IRQ_names_divisions.txt

Code:
IRQ_CAV_01 = {
	name = Cavalry Divisions
	for_countries = {
		IRQ
	}
	can_use = {
		always = yes
	}
	division_types = {
		cavalry
	}
	fallback_name = Iraqi Sipahis al-%dr
	ordered = {
		1 = {
			Iraqi Sipahis al-%di
		}
		2 = {
			Iraqi Sipahis al-%di
		}
		3 = {
			Iraqi Sipahis al-%di
		}
		4 = {
			Iraqi Sipahis al-%di
		}
		5 = {
			Iraqi Sipahis al-%di
		}
		6 = {
			Iraqi Sipahis al-%di
		}
		7 = {
			Iraqi Sipahis al-%di
		}
		8 = {
			Iraqi Sipahis al-%di
		}
		9 = {
			Iraqi Sipahis al-%di
		}
		10 = {
			Iraqi Sipahis al-%di
		}
		11 = {
			Iraqi Sipahis al-%dr
		}
		12 = {
			Iraqi Sipahis al-%dr
		}
		13 = {
			Iraqi Sipahis al-%dr
		}
		14 = {
			Iraqi Sipahis al-%dr
		}
		15 = {
			Iraqi Sipahis al-%dr
		}
	}
}
### Entity: Event
Component: wtt_japan.106
Constructs: is_triggered_only, ai_chance, create_wargoal, annex_everything
Source: game
File: events/WTT_Japan.txt

Code:
country_event = {
	id = wtt_japan.106
	title = wtt_japan.104.t
	desc = wtt_japan.106.desc
	picture = GFX_report_event_generic_usa_treaty
	is_triggered_only = yes
	option = {
		name = wtt_japan.106.a
		ai_chance = {
			base = 1
		}
		create_wargoal = {
			type = annex_everything
			target = FROM
		}
	}
}
### Entity: Shared Focus
Tree: chi_focus
Component: CHI_sea_modern_submarines
Constructs: shared_focus, prerequisite, completion_reward, cancel_if_invalid, add_tech_bonus
Source: game
File: common/national_focus/china_shared_TSR.txt

Code:
shared_focus = {
	id = CHI_sea_modern_submarines
	icon = GFX_goal_generic_navy_submarine
	prerequisite = {
		focus = CHI_sea_collaboration_with_the_japanese
	} {
		focus = CHI_sea_order_destroyers
	}
	x = 0
	y = 3
	relative_position_id = CHI_sea_collaboration_with_the_japanese
	cost = 10
	ai_will_do = {
		factor = 1
	}
	available = {
		JAP_will_support = yes
	}
	bypass = {

	}
	cancel_if_invalid = no
	continue_if_invalid = yes
	available_if_capitulated = yes
	completion_reward = {
		add_tech_bonus = {
			name = CHI_modern_submarines
			bonus = 1.0
			uses = 1
			category = ss_tech
		}
	}
}
### Entity: Event
Component: naw_norway.37
Constructs: is_triggered_only
Source: game
File: events/NaW_Norway.txt

Code:
country_event = {
	id = naw_norway.37
	title = naw_norway.37.t
	desc = naw_norway.37.d
	picture = GFX_report_event_finnish_letter
	is_triggered_only = yes
	option = {
		name = naw_norway.37.a
	}
}
### Entity: Joint Focus
Tree: ssb_focus
Component: SSB_expand_road_and_rail_connections
Constructs: prerequisite, limit, joint_focus, has_dynamic_modifier, has_civil_war, cancel_if_invalid, set_global_flag, has_global_flag
Source: game
File: common/national_focus/goe_shared_saadabad_branch.txt

Code:
joint_focus = {
	id = SSB_expand_road_and_rail_connections
	icon = GFX_focus_generic_railroad
	prerequisite = {
		focus = SSB_economic_cooperation
	}
	relative_position_id = SSB_economic_cooperation
	x = 0
	y = 1
	cost = 10
	text_icon = SSB_AFG_IRQ_PER_TUR_focus_style
	available = {
		SSB_basic_available_trigger = yes
		IRQ = {
			has_dynamic_modifier = {
				modifier = SSB_saadabad_pact
			}
			has_civil_war = no
		}
		AFG = {
			has_dynamic_modifier = {
				modifier = SSB_saadabad_pact
			}
			has_civil_war = no
		}
		PER = {
			has_dynamic_modifier = {
				modifier = SSB_saadabad_pact
			}
			has_civil_war = no
		}
		TUR = {
			has_dynamic_modifier = {
				modifier = SSB_saadabad_pact
			}
			has_civil_war = no
		}
	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	bypass = {
		custom_trigger_tooltip = {
			tooltip = FOCUS_WILL_BYPASS_IF_UNAVAILABLE
			OR = {
				IRQ = {
					NOT = {
						has_dynamic_modifier = {
							modifier = SSB_saadabad_pact
						}
					}
				} {
					has_civil_war = yes
				}
				AFG = {
					NOT = {
						has_dynamic_modifier = {
							modifier = SSB_saadabad_pact
						}
					}
				} {
					has_civil_war = yes
				}
				PER = {
					NOT = {
						has_dynamic_modifier = {
							modifier = SSB_saadabad_pact
						}
					}
				} {
					has_civil_war = yes
				}
				TUR = {
					NOT = {
						has_dynamic_modifier = {
							modifier = SSB_saadabad_pact
						}
					}
				} {
					has_civil_war = yes
				}
			}
		}
	}
	ai_will_do = {
		factor = 0
	}
	bypass_effect = {
		set_global_flag = SSB_this_was_bypassed_dt
	}
	joint_trigger = {
		SSB_basic_available_trigger = yes
	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL
	}
	completion_reward_joint_originator = {
		if = {
			limit = {
				NOT = {
					has_global_flag = SSB_this_was_bypassed_dt
				}
			}
			build_railway = {
				level = 2
				build_only_on_allied = no
				fallback = yes
				path = {
					11829 11811 890 3905 6908 11747 804 11844 3807 3870 921 6977 9777 9761 6965 9860 876 11739 10497 12318 7530 10811 10106 1600 3795 2097 12855 829 5050 2065 1982 10922 10837 10768 10385 7602 7573 5073 1957 1888 10806 12871 8053 12788 1995 7916 10737
				}
				start_province = 11829
				target_province = 10737
			}
			if = {
				limit = {
					IRQ = {
						has_dynamic_modifier = {
							modifier = SSB_saadabad_pact
						}
					}
# ... (truncated)
### Entity: Country History
Country: POL
Component: POL_misc
Constructs: recruit_character, limit, add_ideas, remove_ideas, set_technology, add_political_power, has_dlc, set_naval_oob
Source: game
File: history/countries/POL - Poland.txt

Code:
# Misc for POL
capital = 10
if = {
	limit = {
		has_dlc = Man the Guns
	}
	set_naval_oob = POL_1936_naval_mtg
	else = {
		set_naval_oob = POL_1936_naval_legacy
	}
}
{
	limit = {
		has_dlc = By Blood Alone
	}
	set_air_oob = POL_1936_air_bba
	set_technology = {
		aa_lmg = 1
		aa_cannon_1 = 1
		iw_small_airframe = 1
		basic_small_airframe = 1
		engines_1 = 1
		early_bombs = 1
	}
	else = {
		set_air_oob = POL_1936_air_legacy
		set_technology = {
			early_fighter = 1
			early_bomber = 1
			CAS1 = 1
		}
	}
}
{
	limit = {
		NOT = {
			has_dlc = No Step Back
		}
	}
	set_technology = {
		gwtank = 1
	}
}
{
	limit = {
		has_dlc = No Step Back
	}
	set_technology = {
		gwtank_chassis = 1
	}
}
{
	limit = {
		not = {
			has_dlc = Man the Guns
		}
	}
	set_technology = {
		early_destroyer = 1
		early_submarine = 1
	}
}
{
	limit = {
		has_dlc = Man the Guns
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		basic_battery = 1
		basic_torpedo = 1
		basic_depth_charges = 1
	}
}
{
	limit = {
		has_dlc = No Step Back
	}
	set_variable = {
		var = pol_peasant_democracy
		value = 30
	} {
		var = pol_peasant_communism
		value = 30
	}
}
{
	limit = {
		has_dlc = Poland: United and Ready
	}
	add_ideas = {
		uncontrolled_exports POL_april_constitution_1 POL_looming_peasants_strike POL_sanation_left_opposition_1 POL_sanation_right_opposition_1
	}
}
{
	limit = {
		OR = {
			has_dlc = No Step Back Poland: United and Ready
		}
	}
	recruit_character = POL_walery_slawek POL_jan_mosdorf POL_tadeusz_bielecki POL_joachim_stefan_bartoszewicz POL_stanislaw_wojciechowski
}
{
	limit = {
		has_dlc = No Step Back
	}
	recruit_character = POL_henryk_floyar_rajchman POL_sejmik_regency
}
{
	limit = {
		has_dlc = Gotterdammerung
	}
	recruit_character = POL_jan_zumbach
}
{
	limit = {
		has_dlc = La Resistance
	}
	create_operative_leader = {
		name = POL_roman_czerniawsi
		GFX = GFX_portrait_roman_czerniawski
		traits = {

		}
		bypass_recruitment = no
		available_to_spy_master = yes
		nationalities = {
			POL
		}
	} {
		name = POL_krystyna_skarbek
		GFX = GFX_portrait_krystyna_skarbek
		traits = {
			operative_commando operative_seducer
		}
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = {
			POL
		}
	}
}
{
	limit = {
		NOT = {
			has_dlc = By Blood A
# ... (truncated)
### Entity: Wiki Documentation
Construct: Usage
Source: wiki
File: wiki/Template%3ACountry_navbox/country.html

Doc:
Usage
Used to place flags in Template:Country navbox

```
{{Country navbox/country|Sweden}}
```
generates Sweden

```
{{Country navbox/country|Sweden|Paradoxland}}
```
generates Paradoxland

Retrieved from "http://www.hoi4wiki.com/index.php?title=Template:Country_navbox/country&oldid=1638"
### Entity: State History
Component: 853
Constructs: add_core_of
Source: game
File: history/states/853-Ljubljana.txt

Code:
state = {
	id = 853
	name = STATE_853
	manpower = 333250
	state_category = large_town
	history = {
		owner = YUG
		buildings = {
			infrastructure = 3
		}
		victory_points = {
			9627 3
		}
		add_core_of = YUG SLV
	}
	provinces = {
		6650 9627
	}
	local_supplies = 5.0
}