Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: Event
Component: AUS_political_events.35
Constructs: is_triggered_only, ai_chance, has_completed_focus, limit, remove_ideas, has_government, add_stability, fire_only_once
Source: game
File: events/WUW_Austria.txt

Code:
country_event = {
	id = AUS_political_events.35
	title = AUS_political_events.35.t
	desc = AUS_political_events.35.desc
	picture = GFX_report_event_fascist_militia
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = AUS_political_events.35.a
		ai_chance = {
			base = 10
			modifier = {
				factor = 5
				has_stability = < 0.3
			} {
				factor = 5
				has_government = democratic
			}
		}
		remove_ideas = AUS_militia_support
		add_stability = 0.05
	} {
		name = AUS_political_events.35.b
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				NOT = {
					has_government = democratic
				}
			}
		}
		add_stability = -0.1
	} {
		name = AUS_political_events.35.c
		ai_chance = {
			base = 10
		}
		trigger = {
			has_completed_focus = AUS_heimwehr_support
		}
		IF = {
			limit = {
				has_country_leader = {
					ruling_only = yes
					character = AUS_kurt_schuschnigg
				}
			}
			AUS_ernst_rudiger_starhemberg = {
				remove_country_leader_trait = anti_communist
				add_country_leader_trait = AUS_fascist_prince_of_starhemberg
				promote_character = yes
			}
			set_country_flag = AUS_starhemberg_took_over
			AUS_kurt_schuschnigg = {
				effect_tooltip = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							cost = 150
							idea_token = AUS_kurt_schuschnigg
							traits = {
								fascist_corporatist
							}
							allowed = {

							}
						}
					}
				}
			}
		}
		ELSE_IF = {
			limit = {
				NOT = {
					has_country_leader = {
						ruling_only = yes
						character = AUS_ernst_rudiger_starhemberg
					}
				}
			}
			AUS_ernst_rudiger_starhemberg = {
				remove_country_leader_trait = anti_communist
				add_country_leader_trait = AUS_fascist_prince_of_starhemberg
				promote_character = yes
			}
			set_country_flag = AUS_starhemberg_took_over
		} {
			limit = {
				NOT = {
					AUS_ernst_rudiger_starhemberg = {
						has_trait = AUS_fascist_prince_of_starhemberg
					}
				}
			}
			AUS_ernst_rudiger_starhemberg = {
				add_country_leader_trait = AUS_fascist_prince_of_starhemberg
			}
			set_country_flag = AUS_starhemberg_took_over
		}
		ELSE = {
			add_political_power = 50
		}
	}
}
### Entity: National Focus
Tree: den_focus
Component: DEN_devalue_the_krone
Constructs: prerequisite, add_stability, completion_reward, add_to_variable, remove_dynamic_modifier, add_dynamic_modifier
Source: game
File: common/national_focus/denmark.txt

Code:
focus = {
	id = DEN_devalue_the_krone
	icon = GFX_focus_DEN_devalue_krone
	prerequisite = {
		focus = DEN_kanslergadeforliget DEN_fortify_our_borders
	}
	mutually_exclusive = {

	}
	relative_position_id = DEN_kanslergadeforliget
	x = 1
	y = 1
	cost = 5
	bypass = {

	}
	available = {

	}
	ai_will_do = {

	}
	search_filters = {
		FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL
	}
	completion_reward = {
		add_stability = -0.05
		add_to_variable = {
			DEN_industrial_improvement_tracker_var = 1
		} {
			DEN_industrial_capabilities_consumer_goods = -0.1
			tooltip = consumer_goods_factor_tt
		} {
			DEN_economic_crisis_stability_weekly = 0.001
		}
		DEN_improve_industrial_capabilities_NS = yes
		custom_effect_tooltip = DEN_devalue_the_krone_modifier_tt DEN_remove_economic_crisis_in_730_days_tt
		hidden_effect = {
			remove_dynamic_modifier = {
				modifier = DEN_economic_crisis_dynamic_modifier
			}
			add_dynamic_modifier = {
				modifier = DEN_economic_crisis_dynamic_modifier
				days = 730
			}
		}
	}
}
### Entity: Character
Component: NOR_josef_terboven
Source: game
File: common/characters/NOR.txt

Code:
NOR_josef_terboven = {
	name = NOR_josef_terboven
	portraits = {
		civilian = {
			large = GFX_portrait_NOR_josef_terboven
		}
	}
	allowed_civil_war = {
		NOR_char_cw_fascist = yes
	}
	country_leader = {
		ideology = nazism
		expire = 1965.1.1.1
		traits = {
			NOR_ruthless_administrator
		}
		id = -1
	}
}
### Entity: Name List
Component: BLI
Source: game
File: common/names/00_names.txt

Code:
BLI = {
	male = {
		names = {
			Joko Fauzi Prabowo Ali Soemarno Henk Widji Teuku Hadi Azwar Mustafa Zaini Abdul Anak Ida Dewa Budi Sutrisno Rahmat Syamsul Basri Harun Saiful Ridwan Sulaiman Yusuf Hasan Mahmud Kamil Iskandar Usman Latief Karno Suratman Wahab Tarmizi Ismail Mursalin Ahmad Fachri Sapto Suwandi Kartono Marwan Suyono Waluyo Rasjid Nasir Sutopo Darwis Ruslan Abidin Paiman Jumadi Kasman Sunaryo Kamto Martono Sumarno Widodo Partono Sukimin Darmo Suparno Tarno Handoyo Jumari Saelan Rukman Rauf Imran Muchtar Rais Gani Latif Sabri Yasin Khotib Said Zubair Umar Jalal Masduki Kasmuri Karyo Saidi Darman Waskito Wibowo Sutiman Suprapto Juwono Samsi Samin Taryo Sugeng Rasmadi Karjono Sukirno Sarjono Teuku Hasan Ali Usman Mahmud Yusuf Harun Basri Ridwan Sulaiman Budi Santoso
		}
	}
	female = {
		names = {
			Siti Aisyah Nur Aminah Sri Rahayu Kartini Mawar Rukiyah Halimah Zubaedah Dewi Ratna Nani Sulastri Marni Rasmiah Wati Tuti Hayati Rukmini Salmah Ida Ayu Hasanah Siti Maryam Sarinah Munah Rohani
		}
	}
	surnames = {
		Prabowo Santoso Wibowo  Wijaya Saputra Wicaksono Hartono  Suryono Kartasasmita Hidayat Purnomo  Setiawan Suryani Darmawan Suprapto  Suryadi Riyadi Kurniawan Sastranegara  Hadipranoto Prawiro Sumarto Sumarno  Subagyo Suharto Suroyo Sudarsono  Partowiryo Atmadja Kartonegoro Sarwono  Darmadi Nasution Siregar Harahap  Lubis Pane Daulay Hutabarat  Simanjuntak Hutagalung 
	}
	callsigns = {

	}
}
### Entity: Event
Component: luxembourg.224
Constructs: is_triggered_only, has_country_flag, add_stability, random_days
Source: game
File: events/r56_luxembourg.txt

Code:
country_event = {
	id = luxembourg.224
	title = luxembourg.224.t
	desc = luxembourg.224.d
	picture = GFX_report_event_generic_sign_treaty1
	is_triggered_only = yes
	trigger = {
		any_country = {
			has_country_flag = LUX_declined_reaffirmation_treaty_of_london
		}
	}
	option = {
		name = luxembourg.224.a
		add_stability = -0.05
		hidden_effect = {
			country_event = {
				id = luxembourg.227
				days = 7
			} {
				id = luxembourg.270
				days = 14
				random_days = 7
			}
			news_event = luxembourg.226
		}
	}
}
### Entity: Event
Component: news.709
Constructs: is_triggered_only
Source: game
File: events/r56_portugal.txt

Code:
news_event = {
	id = news.709
	title = news.709.t
	desc = news.709.d
	picture = GFX_news_event_011
	major = yes
	is_triggered_only = yes
	option = {
		name = news.709.o
	}
}
### Entity: National Focus
Tree: bul_focus
Component: BUL_revoke_censorship_communist_material
Constructs: prerequisite, limit, add_ideas, add_stability, completion_reward, add_timed_idea, is_ai, add_popularity
Source: game
File: common/national_focus/r56_bulgaria.txt

Code:
focus = {
	id = BUL_revoke_censorship_communist_material
	icon = GFX_goal_SOV_education_initiative
	prerequisite = {
		focus = BUL_diplomatic_mission_to_the_soviet_union
	}
	relative_position_id = BUL_diplomatic_mission_to_the_soviet_union
	x = 0
	y = 1
	cost = 10
	ai_will_do = {
		factor = 50
	}
	available = {

	}
	completion_reward = {
		add_timed_idea = {
			idea = communist_influence
			days = 180
		}
		if = {
			limit = {
				is_ai = yes
			}
			BUL = {
				add_ideas = BUL_hristo_kabakchiev
			}
		}
		else = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = BUL_hristo_kabakchiev
		}
		add_stability = 0.05
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}
	}
	search_filters = {
		FOCUS_FILTER_STABILITY
	}
}
### Entity: National Focus
Tree: aus_focus
Component: AUS_invite_spanish_refugees
Constructs: prerequisite, completion_reward, has_global_flag, has_capitulated, add_manpower
Source: game
File: common/national_focus/austria.txt

Code:
focus = {
	id = AUS_invite_spanish_refugees
	icon = GFX_focus_ARG_invite_spanish_nationalists
	prerequisite = {
		focus = AUS_spanish_intervention
	}
	mutually_exclusive = {
		focus = AUS_demand_part_of_spanish_winnings
	}
	x = 1
	y = 1
	relative_position_id = AUS_spanish_intervention
	search_filters = {
		FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP
	}
	cost = 10
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.1
			AUS_is_historical_ai = yes
		}
	}
	available = {
		has_global_flag = scw_over
		SPA = {
			has_capitulated = yes
		}
	}
	bypass = {

	}
	available_if_capitulated = no
	completion_reward = {
		add_manpower = 25000
		army_experience = 50
		custom_effect_tooltip = generic_skip_one_line_tt
		show_unit_leaders_tooltip = AUS_johann_jacob_reverta
	}
}
### Entity: Decision
Component: SOV_industry_relocation
Constructs: has_completed_focus
Source: game
File: common/decisions/categories/SOV_decision_categories.txt

Code:
SOV_industry_relocation = {
	priority = 12
	icon = generic
	allowed = {
		original_tag = SOV
	}
	visible = {
		has_completed_focus = SOV_move_industry_to_the_urals
	}
}
### Entity: Military Industrial Organization
Component: POL_Starachowice_Works_organization
Constructs: has_completed_focus, production_bonus
Source: game
File: common/military_industrial_organization/organizations/POL_organization_r56.txt

Code:
POL_Starachowice_Works_organization = {
	name = POL_Starachowice_Works
	include = generic_artillery_organization
	icon = GFX_idea_Starachowice_Works
	allowed = {
		tag = POL
	}
	available = {
		owner = {
			has_completed_focus = POL_modernize_congressional_factories
		}
	}
	initial_trait = {
		name = POL_Starachowice_Works
		limit_to_equipment_type = {
			artillery_equipment
		}
		production_bonus = {
			production_cost_factor = -0.05
		}
		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
	}
}
### Entity: Scripted Trigger
Component: SOV_paranoia_is_high_level
Constructs: check_variable
Source: game
File: common/scripted_triggers/SOV_scripted_triggers.txt

Code:
SOV_paranoia_is_high_level = {
	custom_trigger_tooltip = {
		tooltip = SOV_paranoia_is_high_level_tt
		check_variable = {
			SOV_paranoia = SOV_paranoia_higher_threshold
			compare = greater_than_or_equals
		}
	}
}
### Entity: Modifier Reference
Component: FIN_organized_support_for_finland
Constructs: send_volunteer_size
Source: game
File: common/modifiers/00_static_modifiers.txt

Code:
FIN_organized_support_for_finland = {
	send_volunteer_size = 3
	air_volunteer_cap = 1
}
### Entity: Character
Component: LUX_nicholas_diedrich
Source: game
File: common/characters/LUX.txt

Code:
LUX_nicholas_diedrich = {
	advisor = {
		slot = air_chief
		idea_token = LUX_nicholas_diedrich
		allowed = {
			original_tag = LUX
		}
		traits = {
			air_chief_ground_support_2
		}
		cost = 100
		ai_will_do = {
			factor = 1.0
		}
	}
	name = Nicholas Diedrich
	portraits = {
		army = {
			small = GFX_idea_generic_air_europe_1
		}
	}
}
### Entity: National Focus
Tree: egy_focus
Component: EGY_intervention_force
Constructs: prerequisite, add_ideas, completion_reward, set_rule
Source: game
File: common/national_focus/egypt.txt

Code:
focus = {
	id = EGY_intervention_force
	icon = GFX_goal_infantry_offensive
	relative_position_id = EGY_found_the_new_kingdom
	x = 2
	y = 1
	cost = 10
	prerequisite = {
		focus = EGY_found_the_new_kingdom
	}
	ai_will_do = {
		factor = 10
	}
	completion_reward = {
		set_rule = {
			can_send_volunteers = yes
		}
		add_ideas = GEN_Brigades_I
	}
}
### Entity: Unit Template
Component: RAJ_CV_HISTORICAL
Source: game
File: common/units/names_ships/RAJ_ship_names.txt

Code:
RAJ_CV_HISTORICAL = {
	name = NAME_THEME_HISTORICAL_CARRIERS
	for_countries = {
		RAJ
	}
	type = ship
	ship_types = {
		ship_hull_carrier carrier
	}
	prefix = HMIS 
	fallback_name = Carrier %s
	unique = {
		Vikrant Vishnu Vikramaditya Viraat Vishal
	}
}
### Entity: Idea
Component: GER_german_exploitation
Constructs: removal_cost
Source: game
File: common/ideas/GER.txt

Code:
GER_german_exploitation = {
	picture = generic_exploit_mines
	allowed = {
		always = no
	}
	removal_cost = -1
	modifier = {
		local_resources_factor = 0.15
		extra_trade_to_overlord_factor = 0.15
		overlord_trade_cost_factor = -0.15
		resistance_target = 0.1
		compliance_growth = -0.1
	}
}
### Entity: Character
Component: KUR_acgs
Source: game
File: common/characters/KUR.txt

Code:
KUR_acgs = {
	advisor = {
		slot = air_chief
		idea_token = KUR_acgs
		allowed = {
			original_tag = KUR
		}
		traits = {
			air_chief_ground_support_2
		}
		ai_will_do = {
			factor = 1.0
		}
	}
	portraits = {
		army = {
			small = GFX_idea_generic_air_arab_3
		}
	}
}
### Entity: National Focus
Tree: est_focus
Component: EST_look_north
Constructs: prerequisite, has_country_flag, completion_reward, is_faction_leader, is_in_faction, cancel_if_invalid
Source: game
File: common/national_focus/estonia.txt

Code:
focus = {
	id = EST_look_north
	icon = GFX_focus_generic_scandinavian_alliance
	prerequisite = {
		focus = EST_formalize_baltic_entente
	}
	x = 0
	y = 1
	relative_position_id = EST_formalize_baltic_entente
	cost = 10
	ai_will_do = {
		factor = 1
	}
	available = {
		has_country_flag = baltic_entente_flag
		is_faction_leader = yes
		OR = {
			NOR = {
				is_in_faction = no
			}
			SWE = {
				is_in_faction = no
			}
			FIN = {
				is_in_faction = no
			}
			DEN = {
				is_in_faction = no
			}
		}
	}
	bypass = {

	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	search_filters = {
		FOCUS_FILTER_POLITICAL
	}
	completion_reward = {
		look_north_focus_effect = yes
	}
}
### Entity: National Focus
Tree: per_focus
Component: PER_iran_first
Constructs: prerequisite, has_government, completion_reward, is_faction_leader, allow_branch, set_rule
Source: game
File: common/national_focus/persia.txt

Code:
focus = {
	id = PER_iran_first
	icon = GFX_focus_PER_iran_first
	prerequisite = {
		focus = PER_form_savama
	} {
		focus = PER_pan_iranianism
	}
	mutually_exclusive = {
		focus = PER_fascist_reach_out_to_germany PER_fascist_reach_out_to_japan
	}
	x = 2
	y = 1
	relative_position_id = PER_form_savama
	cost = 5
	available = {
		has_government = fascism
	}
	bypass = {
		is_faction_leader = yes
	}
	allow_branch = {

	}
	ai_will_do = {
		factor = 0
	}
	search_filters = {
		FOCUS_FILTER_POLITICAL
	}
	completion_reward = {
		set_rule = {
			can_create_factions = yes
		}
	}
}
### Entity: Event
Component: wtt_political_warlord_support.23
Constructs: is_triggered_only, add_manpower, clear_variable
Source: game
File: events/WTT_china_political_power_struggle.txt

Code:
country_event = {
	id = wtt_political_warlord_support.23
	title = wtt_political_warlord_support.21.t
	desc = wtt_political_warlord_support.23.desc
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	option = {
		name = wtt_political_warlord_support.23.a
		army_experience = xp_amount_for_support_@FROM
		add_manpower = manpower_amount_for_support_@FROM
		clear_variable = xp_amount_for_support_@FROM manpower_amount_for_support_@FROM
	}
}
### Entity: National Focus
Tree: sau_focus
Component: SAU_invite_brabag
Constructs: prerequisite, limit, has_war_with, completion_reward, random_owned_controlled_state, add_extra_state_shared_building_slots, add_building_construction
Source: game
File: common/national_focus/saudi_arabia.txt

Code:
focus = {
	id = SAU_invite_brabag
	icon = GFX_focus_chi_mission_to_germany
	cost = 8
	prerequisite = {
		focus = SAU_reject_the_riyadh_line
	}
	mutually_exclusive = {
		focus = SAU_deal_with_bp SAU_concessions_to_standard_oil SAU_2_Invite_the_Soviet_oil_barons
	}
	available = {
		NOT = {
			has_war_with = GER
		}
	}
	ai_will_do = {
		factor = 10
	}
	completion_reward = {
		custom_effect_tooltip = available_designer generic_skip_one_line_tt
		show_ideas_tooltip = brabag_sau
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size = > 0
					include_locked = yes
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_INDUSTRY FOCUS_FILTER_OIL
	}
	x = 5
	y = 1
	relative_position_id = SAU_solve_the_jafurah_dispute
}
### Entity: Idea
Component: ARG_Somisa2
Constructs: research_bonus, removal_cost
Source: game
File: common/ideas/r56_argentina.txt

Code:
ARG_Somisa2 = {
	allowed = {
		original_tag = ARG
	}
	picture = ARG_Somisa
	research_bonus = {
		industry = 0.15
	}
	cost = 150
	removal_cost = 10
	traits = {
		industrial_concern
	}
	modifier = {
		production_speed_steel_mill_factor = 0.1
	}
}
### Entity: National Focus
Tree: tur_focus
Component: TUR_refining_our_strategies
Constructs: prerequisite, completion_reward, add_doctrine_cost_reduction
Source: game
File: common/national_focus/turkey.txt

Code:
focus = {
	id = TUR_refining_our_strategies
	icon = GFX_goal_generic_occupy_states_ongoing_war
	prerequisite = {
		focus = TUR_the_damascus_diktat
	}
	x = 3
	y = 1
	relative_position_id = TUR_the_pan_national_association_of_ulemas
	cost = 10
	ai_will_do = {
		base = 10
	}
	completion_reward = {
		add_doctrine_cost_reduction = {
			name = TUR_refining_our_strategies
			cost_reduction = 0.5
			uses = 2
			category = land_doctrine
		} {
			name = TUR_refining_our_strategies
			cost_reduction = 0.5
			uses = 2
			category = naval_doctrine
		} {
			name = TUR_refining_our_strategies
			cost_reduction = 0.5
			uses = 2
			category = air_doctrine
		}
	}
}
### Entity: AI Strategy
Component: r56_SOV_lend_lease_to_china_zet
Constructs: has_completed_focus, has_war_with, has_defensive_war_with, has_non_aggression_pact_with, has_war_together_with, send_lend_lease_desire
Source: game
File: common/ai_strategy/r56_CHI.txt

Code:
r56_SOV_lend_lease_to_china_zet = {
	allowed = {
		original_tag = SOV
	}
	enable = {
		CHI = {
			has_defensive_war_with = JAP
		}
		ROOT = {
			exists = yes
		}
		OR = {
			has_completed_focus = SOV_support_the_kuomintang SOV_operation_zet
		}
		NOT = {
			has_non_aggression_pact_with = JAP
		}
	}
	abort = {
		tag = SOV
		OR = {
			CHI = {
				NOT = {
					has_defensive_war_with = JAP
				}
			}
			has_war_together_with = JAP
			has_war_with = GER
			has_non_aggression_pact_with = JAP
		}
	}
	ai_strategy = {
		id = CHI
		type = send_lend_lease_desire
		value = 300
	} {
		id = CHI
		type = support
		value = 150
	}
}
### Entity: Character
Component: socialist_modernizer
Constructs: research_speed_factor
Source: game
File: common/country_leader/goe_traits.txt

Code:
socialist_modernizer = {
	research_speed_factor = 0.07
	consumer_goods_factor = -0.1
}
### Entity: Country History
Country: PAR
Component: PAR_misc
Constructs: recruit_character, limit, set_technology, add_political_power, every_core_state, add_to_array, has_dlc, set_air_oob
Source: game
File: history/countries/PAR - Paraguay.txt

Code:
# Misc for PAR
capital = 301
every_core_state = {
	ROOT = {
		add_to_array = {
			cores_at_game_start = PREV
		}
	}
}
IF = {
	limit = {
		has_dlc = By Blood Alone
	}
	set_air_oob = PAR_1936_air_bba
	ELSE = {
		set_air_oob = PAR_1936_air_legacy
		set_technology = {
			early_fighter = 1
		}
	}
}
{
	limit = {
		has_dlc = Trial of Allegiance
	}
	add_timed_idea = {
		idea = BOL_toll_of_the_chaco_war
		days = 1400
	}
	JUNO_set_shared_military_branch_defaults = yes
}
{
	limit = {
		has_dlc = Trial of Allegiance
	}
	set_politics = {
		ruling_party = democratic
		last_election = 1936.1.1
		election_frequency = 48
		elections_allowed = yes
	}
	set_popularities = {
		democratic = 55
		communism = 30
		neutrality = 10
		fascism = 5
	}
	add_timed_idea = {
		idea = idea_PAR_the_aftershock_of_the_tripple_alliance
		days = 1780
	}
	every_core_state = {
		add_dynamic_modifier = {
			modifier = idea_PAR_river_navy
		}
	}
	recruit_character = PAR_ivan_belyaev PAR_rafael_franco PAR_higinio_morinigo PAR_manuel_t_aponte PAR_juan_stefanich PAR_juan_manuel_frutos PAR_isaias_baez_allende PAR_alfred_stroessner_matiauda PAR_amancio_pampliega PAR_juan_natalicio_gonzalez PAR_remigio_bastia_martin PAR_francisco_esculies PAR_riccardo_odriosola PAR_Jose_Felix_Estigarribia PAR_Eusebio_Ayala PAR_eduardo_schaerer PAR_arturo_javier_gonzalez PAR_finance_graduate PAR_fortification_armchair_general PAR_aristides_rivas_ortellado PAR_freire_gomez_esteves PAR_ramon_paredes PAR_mutshuito_villasboa_barboza PAR_emilio_gardel PAR_anselmo_jover_peralta PAR_bernardino_caballero PAR_pedro_duarte_ortellado PAR_felipe_molas_lopez PAR_tomas_salomoni PAR_justo_pastor_benitez PAR_damian_bruyn PAR_higenio_morinigo_martinez
	ELSE = {
		set_politics = {
			ruling_party = communism
			last_election = 1936.1.1
			election_frequency = 48
			elections_allowed = yes
		}
		set_popularities = {
			democratic = 25
			communism = 75
		}
		recruit_character = PAR_rafael_franco PAR_emilio_melgarejo PAR_francisco_daza PAR_manuel_de_la_cruz PAR_manuel_t_aponte PAR_hector_velasquez PAR_jesus_g_arraza PAR_juan_stefanich PAR_juan_manuel_frutos PAR_isaias_baez_allende PAR_vicente_almonacid PAR_alfred_stroessner_matiauda PAR_amancio_pampliega PAR_hernan_rojas_baltassare PAR_higenio_morinigo_martinez PAR_juan_natalicio_gonzalez PAR_remigio_bastia_martin PAR_francisco_esculies PAR_riccardo_odriosola
	}
}
set_research_slots = 2
set_co
# ... (truncated)
### Entity: National Focus
Tree: chi_focus
Component: CHI_sea_war_of_national_liberation
Constructs: prerequisite, limit, add_ideas, completion_reward, has_idea, has_defensive_war, cancel_if_invalid, swap_ideas
Source: game
File: common/national_focus/china_nationalist_warlord_TSR.txt

Code:
focus = {
	id = CHI_sea_war_of_national_liberation
	icon = GFX_focus_CHI_victory_over_the_invaders
	prerequisite = {
		focus = CHI_sea_war_of_resistance
	}
	x = 0
	y = 1
	relative_position_id = CHI_sea_war_of_resistance
	cost = 10
	ai_will_do = {
		factor = 1
	}
	available = {
		NOT = {
			has_idea = CHI_army_corruption_2
		}
		has_defensive_war = yes
	}
	bypass = {

	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	completion_reward = {
		if = {
			limit = {
				has_idea = CHI_war_of_resistance
			}
			swap_ideas = {
				remove_idea = CHI_war_of_resistance
				add_idea = CHI_war_of_resistance_2
			}
			else = {
				add_ideas = CHI_war_of_national_liberation
			}
		}
	}
}