Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: Scripted Effect
Component: EAI_EXPEDITIONARY_print_target
Source: game
File: common/scripted_effects/EAI_COUNTRY_volunteer_effects.txt

Code:
EAI_EXPEDITIONARY_print_target = {
	for_each_scope_loop = {
		array = EAI_expeditionary_targets
		log = [GetYear] [GetMonth] | AI | [Root.GetName] | EXPEDITIONARIES: current target = [This.GetTag]
	}
}
### Entity: Idea
Component: PRE_nt
Source: game
File: common/ideas/prussia.txt

Code:
PRE_nt = {
	ledger = navy
	picture = generic_navy_europe_1
	allowed = {
		original_tag = PRE
	}
	traits = {
		naval_theorist
	}
}
### Entity: National Focus
Tree: chl_focus
Component: CHL_demand_the_fireland
Constructs: prerequisite, limit, random_country, has_government, owns_state, has_war_with, completion_reward, has_army_manpower
Source: game
File: common/national_focus/chile.txt

Code:
focus = {
	id = CHL_demand_the_fireland
	icon = GFX_focus_CHL_dispute_over_tierra_del_fuego
	relative_position_id = CHL_revoke_the_treaty_of_lima
	x = -1
	y = 1
	cost = 10
	prerequisite = {
		focus = CHL_revoke_the_treaty_of_lima
	}
	mutually_exclusive = {

	}
	will_lead_to_war_with = ARG
	available = {
		has_government = fascism
		NOT = {
			owns_state = 953
		}
		has_army_manpower = {
			size = > 200000
		}
		any_country = {
			owns_state = 953
			NOT = {
				OR = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
					has_war_with = ROOT
				}
			}
		}
		is_subject = no
	}
	bypass = {
		OR = {
			owns_state = 953
			any_country = {
				owns_state = 953
				has_war_with = ROOT
			}
		}
	}
	ai_will_do = {
		base = 3
	}
	search_filters = {
		FOCUS_FILTER_ANNEXATION
	}
	completion_reward = {
		random_country = {
			limit = {
				owns_state = 953
			}
			country_event = {
				id = CHL_political_events.55
				days = 2
			}
		}
	}
}
### Entity: Scripted Trigger
Component: frloc_capital_dansle_du_audessusdu
Constructs: is_capital
Source: game
File: common/scripted_triggers/00_scripted_triggers_FR_loc.txt

Code:
frloc_capital_dansle_du_audessusdu = {
	is_capital = yes
	OR = {
		state = 2 12 13 20 22 23 24 25 29 33 35 37 38 39 42 50 58 59 61 64 82 99 113 121 122 126 127 130 131 132 133 134 135 139 140 141 142 143 144 164 174 186 273 275 276 280 282 283 287 292 306 307 325 328 338 359 361 368 369 370 373 379 381 382 383 384 388 389 390 391 393 394 410 412 413 416 420 421 428 433 435 443 453 457 465 467 468 471 472 474 475 476 477 478 479 480 481 482 483 485 486 487 488 489 490 491 496 497 498 502 503 505 508 509 514 515 520 521 531 532 533 534 535 538 541 546 552 591 593 595 596 597 598 599 600 601 602 603 604 605 607 609 610 611 612 614 615 616 619 620 621 622 637 675 678 679 683 685 688 699 714 715 716 717 719 721 728 732 759 764 765 767 768 769 770 772 773 774 775 776 777 781 786 787 792 796
	}
}
### Entity: Idea
Component: GER_mefo_bills_8
Constructs: has_government, removal_cost
Source: game
File: common/ideas/GER.txt

Code:
GER_mefo_bills_8 = {
	name = GER_mefo_bills
	allowed = {
		original_tag = GER
	}
	allowed_civil_war = {
		has_government = fascism
	}
	removal_cost = -1
	picture = ger_mefo_bills
	modifier = {
		consumer_goods_factor = -0.33
		production_speed_arms_factory_factor = 0.25
		production_speed_dockyard_factor = 0.25
		production_speed_naval_base_factor = 0.25
		production_speed_coastal_bunker_factor = 0.25
		production_speed_bunker_factor = 0.25
		production_speed_air_base_factor = 0.25
		production_speed_anti_air_building_factor = 0.25
		production_speed_radar_station_factor = 0.25
		production_speed_fuel_silo_factor = 0.25
		production_speed_synthetic_refinery_factor = 0.15
		political_power_cost = 1.25
	}
}
### Entity: Event
Component: JUNO_brazil_events.48
Constructs: is_triggered_only, ai_chance
Source: game
File: events/TOA_Brazil.txt

Code:
country_event = {
	id = JUNO_brazil_events.48
	title = JUNO_brazil_events.48.t
	desc = JUNO_brazil_events.48.desc
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	option = {
		name = JUNO_brazil_events.48.a
		ai_chance = {
			base = 10
		}
	}
}
### Entity: Scripted Trigger
Component: check_for_warlord_full
Constructs: has_country_flag, check_for_warlord_full, is_warlords, is_in_faction_with
Source: game
File: common/scripted_triggers/r56_scripted_triggers.txt

Code:
check_for_warlord_full = {
	count_triggers = {
		amount = 8
		CHI = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
		SHX = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
		SIC = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = ROOT
			}
		}
		XIC = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = ROOT
			}
		}
		GDC = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = ROOT
			}
		}
		HBC = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = ROOT
			}
		}
		SND = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = ROOT
			}
		}
		GXC = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
		YUN = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
		XSM = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
		KHM = {
			has_country_flag = is_warlords
			exists = yes
			NOT = {
				is_in_faction_with = CHI
			}
		}
	}
}
### Entity: AI Strategy
Component: NOR_r56_monarchist_plan
Constructs: has_government, has_country_flag, has_global_flag, has_game_rule, is_puppet
Source: game
File: common/ai_strategy_plans/NOR_r56_alternate_strategy_plan.txt

Code:
NOR_r56_monarchist_plan = {
	name = NOR: Norway Monarchist AI Plan
	desc = Alternate monarchist behavior for Norway.
	allowed = {
		original_tag = NOR
	}
	enable = {
		NOT = {
			has_global_flag = NOR_use_DLC_tree
		}
		OR = {
			has_country_flag = NOR_AI_RANDOM_MONARCHIST
			has_game_rule = {
				rule = NOR_ai_behavior
				option = MONARCHIST
			}
		}
	}
	abort = {
		AND = {
			is_puppet = yes
			NOT = {
				has_government = neutrality
			}
		}
	}
	ai_national_focuses = {
		NOR_encourage_fishing NOR_til_dovre_faller NOR_traditions_and_monarchy NOR_lumber_industries
	}
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}
}
### Entity: National Focus
Tree: rut_focus
Component: RUT_construction_focus
Constructs: limit, completion_reward, set_technology, is_owned_by, add_tech_bonus, industrial_bonus, has_tech
Source: game
File: common/national_focus/ruthenia.txt

Code:
focus = {
	id = RUT_construction_focus
	icon = GFX_goal_generic_construct_civilian
	relative_position_id = RUT_food_processing_plant
	x = 2
	y = 0
	cost = 10
	available_if_capitulated = yes
	available = {
		RUT = {
			controls_state = 73
		}
		73 = {
			is_owned_by = RUT
		}
	}
	completion_reward = {
		add_tech_bonus = {
			name = industrial_bonus
			bonus = 1
			uses = 1
			category = construction_tech
		} {
			name = industrial_bonus
			bonus = 0.5
			uses = 1
			category = construction_tech
		}
		if = {
			limit = {
				NOT = {
					has_tech = basic_machine_tools
				}
				date = > 1937.06.01
			}
			set_technology = {
				basic_machine_tools = 1
			} {
				improved_machine_tools = 1
			} {
				dispersed_industry = 1
			} {
				construction1 = 1
			} {
				support_weapons = 1
			} {
				electronic_mechanical_engineering = 1
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
	ai_will_do = {
		factor = 3
	}
}
### Entity: Order of Battle
Component: Estado Mayor Presidencial
Constructs: division_template, force_equipment_variants
Source: game
File: history/units/MEX_1936.txt

Code:
division = {
	name = Estado Mayor Presidencial
	location = 1965
	division_template = División de Infanteria
	start_experience_factor = 0.3
	force_equipment_variants = {
		infantry_equipment_1 = {
			owner = USA
		}
	}
}
### Entity: Order of Battle
Component: 3rd Iron Riflemen Division
Constructs: division_template
Source: game
File: history/units/UKR_revolt.txt

Code:
division = {
	name = 3rd Iron Riflemen Division
	location = 6507
	division_template = Riflemen Divisions
	start_experience_factor = 0.1
	start_equipment_factor = 1.0
}
### Entity: Character
Component: MZB_ar
Source: game
File: common/characters/MZB.txt

Code:
MZB_ar = {
	advisor = {
		slot = high_command
		idea_token = MZB_ar
		ledger = army
		allowed = {
			original_tag = MZB
		}
		traits = {
			army_regrouping_2
		}
		ai_will_do = {
			factor = 1.0
		}
	}
	portraits = {
		army = {
			small = GFX_idea_generic_army_african_1
		}
	}
}
### Entity: Peace Conference
Component: peace_action_modifiers
Constructs: has_completed_focus, take_states, is_on_continent
Source: game
File: common/peace_conference/cost_modifiers/JAP_peace.txt

Code:
peace_action_modifiers = {
	JAP_spiritual_mobilization = {
		category = events_or_focuses
		peace_action_type = {
			take_states
		}
		enable = {
			FROM.FROM = {
				original_tag = JAP
				OR = {
					has_completed_focus = JAP_spiritual_mobilization JAP_issue_the_shinmin_no_michi_manifesto JAP_embrace_kokutai
				}
			}
			FROM.FROM.FROM = {
				OR = {
					region = 154 299 300
				}
			}
		}
		cost_multiplier = 1.5
	}
	USA_the_baddies_no_broadcast = {
		category = events_or_focuses
		peace_action_type = {
			puppet
		}
		enable = {
			FROM.FROM = {
				original_tag = JAP
				NOT = {
					has_completed_focus = JAP_the_surrender_broadcast
				}
			}
			FROM.FROM.FROM = {
				OR = {
					region = 154 299 300
				}
				NOT = {
					state = 526
				}
			}
		}
		cost_multiplier = 0.6
	}
	USA_the_baddies_broadcast = {
		category = events_or_focuses
		peace_action_type = {
			puppet
		}
		enable = {
			FROM.FROM = {
				original_tag = JAP
				has_completed_focus = JAP_the_surrender_broadcast
			}
			FROM.FROM.FROM = {
				OR = {
					region = 154 299 300
				}
				NOT = {
					state = 526
				}
			}
		}
		cost_multiplier = 0.25
	}
	USA_the_baddies_take_japanese_islands = {
		category = events_or_focuses
		peace_action_type = {
			take_states
		}
		enable = {
			FROM.FROM = {
				original_tag = JAP
			}
			FROM.FROM.FROM = {
				OR = {
					region = 94 84 97 78
					state = 526
				}
			}
		}
		cost_multiplier = 0.75
	}
	JAP_sea_greater_east_asian_co_properity_sphere_peace_puppeting = {
		category = events_or_focuses
		peace_action_type = {
			puppet liberate
		}
		enable = {
			ROOT = {
				original_tag = JAP
				has_completed_focus = JAP_sea_greater_east_asian_co_properity_sphere
			}
			FROM = {
				capital_scope = {
					OR = {
						is_on_continent = asia australia
					}
				}
			}
		}
		cost_multiplier = 0.75
	}
}
### Entity: Event
Component: BBA_italy_interaction_events.18
Constructs: is_triggered_only, ai_chance
Source: game
File: events/BBA_Italy.txt

Code:
country_event = {
	id = BBA_italy_interaction_events.18
	title = BBA_italy_interaction_events.18.t
	desc = BBA_italy_interaction_events.18.desc
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	option = {
		name = BBA_italy_interaction_events.18.a
		ai_chance = {
			base = 70
		}
		FROM = {
			country_event = {
				id = BBA_italy_interaction_events.19
				days = 1
				random = 2
			}
		}
	} {
		name = BBA_italy_interaction_events.18.b
		ai_chance = {
			base = 30
		}
		FROM = {
			country_event = {
				id = BBA_italy_interaction_events.20
				days = 1
				random = 2
			}
		}
	}
}
### Entity: Modding Documentation
Construct: war_relations
Source: vanilla_docs
File: documentation/console_commands_documentation.md

Doc:
## war_relations
* Arguments: <tag>

Prints war relations info
### Entity: National Focus
Tree: sia_focus
Component: SIA_defenders_of_constitutional_liberty
Constructs: prerequisite, completion_reward, swap_ideas, remove_idea, add_idea
Source: game
File: common/national_focus/siam.txt

Code:
focus = {
	id = SIA_defenders_of_constitutional_liberty
	icon = GFX_focus_SIA_defenders_of_constitutional_liberty
	prerequisite = {
		focus = SIA_spread_democratic_sentiment_in_universities
	}
	x = 0
	y = 1
	relative_position_id = SIA_spread_democratic_sentiment_in_universities
	cost = 5
	ai_will_do = {
		factor = 10
	}
	available = {

	}
	search_filters = {
		FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH
	}
	completion_reward = {
		swap_ideas = {
			remove_idea = idea_SIA_civil_service_heroism_2
			add_idea = idea_SIA_defenders_of_constitutional_liberty
		}
	}
}
### Entity: AI Strategy
Component: AUS_communist_SOV_aligned_plan
Constructs: has_country_flag, has_game_rule, has_dlc, is_subject
Source: game
File: common/ai_strategy_plans/AUS_alternate_strategy_plan.txt

Code:
AUS_communist_SOV_aligned_plan = {
	name = Soviet Austrian Plan
	desc = 
	allowed = {
		original_tag = AUS
	}
	enable = {
		OR = {
			has_country_flag = AUS_AI_RANDOM_COMMUNIST_SOV_ALIGNED
			has_game_rule = {
				rule = AUS_AI_BEHAVIOR
				option = AUS_COMMUNIST_SOV_ALIGNED
			}
		}
		has_dlc = Gotterdammerung
	}
	abort = {
		is_subject = yes
	}
	ai_national_focuses = {
		AUS_repeal_the_may_constitution AUS_release_imprisoned_leaders AUS_austromarxism_focus AUS_rally_the_people AUS_renounce_the_treaties AUS_militarization_effort AUS_schutzbund_support AUS_emergency_measaures AUS_ban_dnsap AUS_revolution AUS_seek_soviet_support AUS_osterreichische_bundesheer AUS_follow_the_jansa_plan AUS_fortify_the_traun_line AUS_defence_of_the_homeland AUS_regulate_austrian_finance_sector AUS_economic_resuscitation AUS_promote_the_worthy AUS_invest_in_erzberg_steel_mines AUS_align_with_ussr AUS_a_new_beginning AUS_join_comintern AUS_cut_ties_with_the_church AUS_spur_the_communist_resistance AUS_centralize_the_industrial_sector AUS_strengthen_the_arms_industry AUS_osterreichische_luftstreitkrafte AUS_steyr_arms_investment AUS_preparing_the_industry AUS_meticulous_preparations AUS_demand_liberation_of_workers AUS_union_of_danubian_socialist_republics AUS_hirtenberger_artillery
	}
	focus_factors = {

	}
	research = {

	}
	ideas = {

	}
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}
}
### Entity: Event
Component: tfv_south_africa.97
Constructs: is_triggered_only, ai_chance, limit, set_politics, add_popularity, add_to_faction
Source: game
File: events/TFV_South_Africa.txt

Code:
country_event = {
	id = tfv_south_africa.97
	title = tfv_south_africa.97.t
	desc = tfv_south_africa.97.d
	picture = GFX_report_event_african_soldiers
	is_triggered_only = yes
	option = {
		name = tfv_south_africa.64.a
		ai_chance = {
			base = 100
		}
		GAM = {
			if = {
				limit = {
					SAF = {
						controls_state = 701
					}
				}
				transfer_state = 701
			}
		}
		SAF = {
			puppet = GAM
		}
	} {
		name = tfv_south_africa.64.b
		ai_chance = {
			base = 0
		}
		GAM = {
			if = {
				limit = {
					SAF = {
						controls_state = 701
					}
				}
				transfer_state = 701
			}
			hidden_effect = {
				set_politics = {
					ruling_party = communism
					elections_allowed = no
				}
				add_popularity = {
					ideology = communism
					popularity = 0.75
				}
			}
		}
		SAF = {
			add_to_faction = GAM
		}
	}
}
### Entity: Character
Component: PHI_hermano_jacinto
Source: game
File: common/characters/PHI.txt

Code:
PHI_hermano_jacinto = {
	name = PHI_hermano_jacinto
	portraits = {
		civilian = {
			large = GFX_portrait_Hermano_Jacinto
		}
	}
	country_leader = {
		ideology = oligarchism
		traits = {
			fortification_engineer
		}
		expire = 1954.1.1.12
		id = -1
	}
}
### Entity: National Focus
Tree: cro_focus
Component: CRO_why_we_fight
Constructs: prerequisite, limit, add_ideas, completion_reward, has_defensive_war, has_idea, set_rule
Source: game
File: common/national_focus/croatia.txt

Code:
focus = {
	id = CRO_why_we_fight
	icon = GFX_goal_generic_propaganda
	prerequisite = {
		focus = CRO_deterrence CRO_research_grants
	}
	available = {
		OR = {
			threat = > 0.75
			has_defensive_war = yes
		}
	}
	continue_if_invalid = yes
	relative_position_id = CRO_deterrence
	x = -1
	y = 1
	cost = 10
	ai_will_do = {
		factor = 3
	}
	completion_reward = {
		add_ideas = why_we_fight_focus
		custom_effect_tooltip = why_we_fight_effect
		hidden_effect = {
			if = {
				limit = {
					NOT = {
						has_idea = neutrality_idea
					}
				}
				set_rule = {
					can_create_factions = yes
				}
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT
	}
}
### Entity: Idea
Component: SWI_swiss_neutral_2
Constructs: has_war, is_in_faction, send_volunteers_tension
Source: game
File: common/ideas/r56_switzerland.txt

Code:
SWI_swiss_neutral_2 = {
	allowed = {
		original_tag = SWI
	}
	available = {
		has_war = no
		is_in_faction = no
	}
	picture = neutrality_idea
	modifier = {
		join_faction_tension = 3
		send_volunteers_tension = 1.5
		guarantee_tension = 1.5
		improve_relations_maintain_cost_factor = -0.75
		trade_opinion_factor = 0.1
		enemy_justify_war_goal_time = 0.25
		drift_defence_factor = 0.2
		foreign_subversive_activites = -0.5
		ai_badass_factor = 0.1
		ai_get_ally_desire_factor = -1000
	}
}
### Entity: National Focus
Tree: yug_focus
Component: YUG_research_collaboration
Constructs: prerequisite, has_government, completion_reward, is_in_faction_with, cancel_if_invalid, add_to_tech_sharing_group
Source: game
File: common/national_focus/yugoslavia.txt

Code:
focus = {
	id = YUG_research_collaboration
	icon = GFX_focus_generic_socialist_science
	prerequisite = {
		focus = YUG_join_comintern
	}
	x = 0
	y = 1
	relative_position_id = YUG_join_comintern
	cost = 10
	ai_will_do = {
		factor = 100
	}
	available = {
		is_in_faction_with = SOV
		SOV = {
			has_government = communism
		}
	}
	bypass = {

	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
	completion_reward = {
		add_to_tech_sharing_group = YUG_SOV_research_group
		SOV = {
			add_to_tech_sharing_group = YUG_SOV_research_group
		}
	}
}
### Entity: National Focus
Tree: bul_focus
Component: BUL_soviet_theorists
Constructs: prerequisite, has_government, completion_reward, is_in_faction_with, has_capitulated, add_command_power
Source: game
File: common/national_focus/r56_bulgaria.txt

Code:
focus = {
	id = BUL_soviet_theorists
	icon = GFX_focus_chi_mission_to_the_soviet_union
	prerequisite = {
		focus = BUL_ties_with_ussr
	}
	relative_position_id = BUL_ties_with_ussr
	x = 0
	y = 1
	cost = 3.6
	ai_will_do = {
		factor = 4
	}
	available = {
		has_government = communism
		SOV = {
			is_in_faction_with = ROOT
			exists = yes
			has_capitulated = no
			has_government = communism
		}
	}
	completion_reward = {
		add_command_power = 15
		custom_effect_tooltip = available_theorist
		show_ideas_tooltip = BUL_georgii_isserson
	}
}
### Entity: Event
Component: new_ger.72
Constructs: is_triggered_only, add_political_power
Source: game
File: events/r56_Germany.txt

Code:
country_event = {
	id = new_ger.72
	title = new_ger.72.t
	desc = new_ger.72.d
	picture = GFX_report_event_election_vote
	is_triggered_only = yes
	option = {
		name = new_ger.72.a
		add_political_power = 25
		effect_tooltip = {
			country_event = {
				id = new_ger.73
				days = 30
			}
		}
	}
}
### Entity: Modding Documentation
Construct: majors
Source: vanilla_docs
File: documentation/dynamic_variables_documentation.md

Doc:
### majors
* description: get array of all majors (including non existing
### Entity: Idea
Component: EAI_DD_4/heavy_tank_amphibious_chassis_bonus
Constructs: equipment_bonus, build_cost_ic
Source: game
File: common/ideas/EAI_difficulty_ideas.txt

Code:
EAI_DD_4/heavy_tank_amphibious_chassis_bonus = {
	allowed = {
		always = no
	}
	equipment_bonus = {
		heavy_tank_amphibious_chassis = {
			build_cost_ic = -0.1
			instant = yes
		}
	}
}
### Entity: Wiki Documentation
Construct: Usage
Source: wiki
File: wiki/Template%3AQuote.html

Doc:
Usage
To use, simply place
```
{{Quotation|<Insert quote here>|<Quote author>}}
```
on the desired page.

Retrieved from "http://www.hoi4wiki.com/index.php?title=Template:Quote&oldid=111"
### Entity: Order of Battle
Component: Khersonska Division
Constructs: division_template
Source: game
File: history/units/UKR_revolt.txt

Code:
division = {
	name = Khersonska Division
	location = 9481
	division_template = Riflemen Divisions
	start_experience_factor = 0.1
	start_equipment_factor = 1.0
}
### Entity: Idea
Component: POR_syndicalization_of_national_industry2
Constructs: has_government, production_speed_buildings_factor, removal_cost, fascism_drift
Source: game
File: common/ideas/r56_portugal.txt

Code:
POR_syndicalization_of_national_industry2 = {
	name = POR_syndicalization_of_national_industry
	picture = generic_neutrality_drift_bonus
	allowed = {
		original_tag = POR
	}
	allowed_civil_war = {
		has_government = fascism
	}
	removal_cost = -1
	modifier = {
		fascism_drift = 0.03
		production_speed_buildings_factor = 0.1
		production_factory_efficiency_gain_factor = 0.1
	}
}
### Entity: Event
Component: r56.ger.43
Constructs: is_triggered_only, ai_chance, add_ideas, random_hours
Source: game
File: events/r56_Germany.txt

Code:
country_event = {
	id = r56.ger.43
	title = r56.ger.43.t
	desc = r56.ger.43.d
	picture = GFX_report_event_soviet_german_soldier_handshake
	is_triggered_only = yes
	option = {
		name = r56.ger.43.a
		add_ideas = GER_military_advisors
		ai_chance = {
			base = 2
		}
	} {
		name = r56.ger.43.b
		GER = {
			country_event = {
				id = r56.ger.44
				days = 1
				random_hours = 12
			}
		}
		ai_chance = {
			base = 1
		}
	}
}
### Entity: Character
Component: CHL_pedro_aguirre_cerda
Constructs: has_completed_focus, has_government, has_dlc, has_country_leader
Source: game
File: common/characters/CHL.txt

Code:
CHL_pedro_aguirre_cerda = {
	instance = {
		allowed = {
			has_dlc = Trial of Allegiance
		}
		name = CHL_pedro_aguirre_cerda
		portraits = {
			civilian = {
				large = GFX_portrait_CHL_pedro_aguirre_cerda
				small = GFX_portrait_CHL_pedro_aguirre_cerda_small
			}
		}
		advisor = {
			slot = political_advisor
			idea_token = CHL_pedro_aguirre_cerda
			allowed = {
				original_tag = CHL
			}
			available = {
				OR = {
					has_government = democratic communism
				}
				NOT = {
					has_country_leader = {
						ruling_only = yes
						character = CHL_pedro_aguirre_cerda
					}
				}
			}
			visible = {
				NOT = {
					OR = {
						has_completed_focus = CHL_denounce_the_anarchy CHL_address_the_mapuche_conflict
					}
				}
			}
			traits = {
				JUNO_father_of_industrialization
			}
		}
	} {
		allowed = {
			NOT = {
				has_dlc = Trial of Allegiance
			}
		}
		name = CHL_pedro_aguirre_cerda
		portraits = {
			civilian = {
				large = GFX_portrait_Pedro_Aguirre_Cerda
			}
		}
		country_leader = {
			ideology = socialism
			expire = 1965.1.1.1
			id = -1
		}
	}
}
### Entity: Trigger Reference
Construct: is_border_war
Source: vanilla_docs
File: documentation/triggers_documentation.md

Doc:
## is_border_war

* Supported Scopes: CHARACTER, COMBATANT
* Supported Targets: any

```
Checks if a the combatant or leader has a border war
```
### Entity: Order of Battle
Component: 2a Divisione CC.NN. '28 Ottobre'
Constructs: division_template
Source: game
File: history/units/ITA_1936.txt

Code:
division = {
	name = 2a Divisione CC.NN. '28 Ottobre'
	location = 8043
	division_template = Camicie Nere
	start_experience_factor = 0.15
}