Losa10/PreTrain-HOI4-Modding-Assistant huggingface dataset:
### Entity: Scripted Effect
Component: ITA_replace_designers_by_improved_version_north
Constructs: limit, has_dlc, every_military_industrial_organization, is_military_industrial_organization, complete_mio_trait, has_idea, swap_ideas, remove_idea
Source: game
File: common/scripted_effects/ITA_scripted_effects.txt

Code:
ITA_replace_designers_by_improved_version_north = {
	if = {
		limit = {
			has_dlc = Arms Against Tyranny
		}
		every_military_industrial_organization = {
			limit = {
				OR = {
					is_military_industrial_organization = ITA_fiat_organization ITA_crda_organization ITA_cantiere_oto_organization ITA_macchi_organization ITA_savoia_marchetti_organization ITA_caproni_organization ITA_piaggio_organization ITA_crda_cant_organization ITA_fiat_aviazione_organization ITA_beretta_organization ITA_lancia_organization ITA_breda_organization ITA_brescia_arsenal_organization
				}
			}
			complete_mio_trait = ITA_mio_trait_new_industrialization_program
		}
	} {
		limit = {
			has_idea = danieli
		}
		swap_ideas = {
			remove_idea = danieli
			add_idea = ITA_danieli_improved
		}
	}
	else = {
		if = {
			limit = {
				has_idea = fiat
			}
			swap_ideas = {
				remove_idea = fiat
				add_idea = ITA_fiat_improved
			}
		} {
			limit = {
				has_idea = crda
			}
			swap_ideas = {
				remove_idea = crda
				add_idea = ITA_crda_improved
			}
		} {
			limit = {
				has_idea = macchi
			}
			swap_ideas = {
				remove_idea = macchi
				add_idea = ITA_macchi_improved
			}
		} {
			limit = {
				has_idea = beretta
			}
			swap_ideas = {
				remove_idea = beretta
				add_idea = ITA_beretta_improved
			}
		}
		else_if = {
			limit = {
				has_idea = ITA_cantiere_oto
			}
			swap_ideas = {
				remove_idea = ITA_cantiere_oto
				add_idea = ITA_cantiere_oto_improved
			}
		} {
			limit = {
				has_idea = savoia_marchetti
			}
			swap_ideas = {
				remove_idea = savoia_marchetti
				add_idea = ITA_savoia_marchetti_improved
			}
		} {
			limit = {
				has_idea = caproni
			}
			swap_ideas = {
				remove_idea = caproni
				add_idea = ITA_caproni_improved
			}
		} {
			limit = {
				has_idea = piaggio
			}
			swap_ideas = {
				remove_idea = piaggio
				add_idea = ITA_piaggio_improved
			}
		} {
			limit = {
				has_idea = ITA_crda_cant
			}
			swap_ideas = {
				remove_idea = ITA_crda_cant
				add_idea = ITA_crda_cant_improved
			}
		} {
			limit = {
				has_idea = ITA_fiat_aviazione
			}
			swap_ideas = {
				remove_idea = ITA_fiat_aviazione
				add_idea = ITA_fiat_aviazione_improved
			}
		} {
			limit = {
				has_idea = lancia
			}
			swap_ideas = {
				remove_idea = lancia
				add_idea = ITA_lancia_improved
			}
		} {
			limit = {
				has_idea = breda
			}
			swap_ideas = {
				remove_id
# ... (truncated)
### Entity: Event
Component: luxembourg.242
Constructs: is_triggered_only, add_opinion_modifier
Source: game
File: events/r56_luxembourg.txt

Code:
country_event = {
	id = luxembourg.242
	title = luxemourg.242.t
	desc = luxembourg.242.d
	picture = GFX_report_event_generic_sign_treaty1
	is_triggered_only = yes
	option = {
		name = luxembourg.242.a
		add_opinion_modifier = {
			target = FROM
			modifier = small_decrease
		}
	}
}
### Entity: National Focus
Tree: cog_focus
Component: COG_congolese_bussinessowners
Constructs: limit, completion_reward, is_subject, has_idea, swap_ideas, remove_idea, add_idea
Source: game
File: common/national_focus/congo.txt

Code:
focus = {
	id = COG_congolese_bussinessowners
	icon = GFX_focus_hol_abandon_the_gold_standard
	x = 20
	y = 0
	search_filters = {
		FOCUS_FILTER_STABILITY
	}
	cost = 10
	bypass = {

	}
	available = {
		is_subject = no
		custom_trigger_tooltip = {
			tooltip = COG_the_invisible_roof_tt
			OR = {
				has_idea = COG_the_invisible_roof COG_the_invisible_roof_lower_research_debuff
			}
		}
	}
	completion_reward = {
		IF = {
			limit = {
				has_idea = COG_the_invisible_roof
			}
			swap_ideas = {
				remove_idea = COG_the_invisible_roof
				add_idea = COG_the_invisible_roof_lower_stability_debuff
			}
		}
		ELSE_IF = {
			limit = {
				has_idea = COG_the_invisible_roof_lower_research_debuff
			}
			swap_ideas = {
				remove_idea = COG_the_invisible_roof_lower_research_debuff
				add_idea = COG_the_invisible_roof_lower_research_and_stability_debuff
			}
		}
	}
}
### Entity: Order of Battle
Component: instant_effect
Constructs: add_equipment_production
Source: game
File: history/units/URG_1936.txt

Code:
instant_effect = {
	add_equipment_production = {
		equipment = {
			type = infantry_equipment_0
			creator = URG
		}
		requested_factories = 1
		progress = 0.79
		efficiency = 100
	}
}
### Entity: Event
Component: nsb_news.101
Constructs: is_triggered_only, set_global_flag
Source: game
File: events/NSB_NewsEvents.txt

Code:
news_event = {
	id = nsb_news.101
	title = news.38.t
	desc = nsb_news.101.desc
	picture = GFX_news_event_023
	major = yes
	is_triggered_only = yes
	immediate = {
		set_global_flag = trotsky_survives
	}
	option = {
		name = news.38.a
		trigger = {
			NOT = {
				TAG = SOV
			}
		}
	} {
		name = news.38.b
		trigger = {
			TAG = SOV
		}
	}
}
### Entity: Wiki Documentation
Construct: html
Source: wiki
File: wiki/File%3ANATO_super_heavy_armor_artillery.png.html

Doc:
File

File history

File usage

Metadata
No higher resolution available.
NATO_super_heavy_armor_artillery.png &#8206;(53 × 31 pixels, file size: 4 KB, MIME type: image/png)
### Entity: National Focus
Tree: nzl_focus
Component: NZL_establish_the_ncb
Constructs: prerequisite, add_ideas, completion_reward, cancel_if_invalid, add_popularity
Source: game
File: common/national_focus/new_zealand.txt

Code:
focus = {
	id = NZL_establish_the_ncb
	icon = GFX_focus_generic_energy
	prerequisite = {
		focus = NZL_direct_the_coal_industry
	}
	x = 0
	y = 1
	relative_position_id = NZL_direct_the_coal_industry
	cost = 10
	ai_will_do = {

	}
	available = {

	}
	bypass = {

	}
	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no
	search_filters = {
		FOCUS_FILTER_INDUSTRY
	}
	completion_reward = {
		add_popularity = {
			ideology = ROOT
			popularity = 0.1
		}
		custom_effect_tooltip = generic_skip_one_line_tt
		add_ideas = NZL_national_coal_board_idea
	}
}
### Entity: Idea
Component: POL_Neutral_Foreign_Policy
Constructs: has_government, has_defensive_war, is_in_faction, removal_cost, send_volunteers_tension
Source: game
File: common/ideas/r56_poland.txt

Code:
POL_Neutral_Foreign_Policy = {
	allowed = {
		always = no
	}
	allowed_civil_war = {
		has_government = neutrality
	}
	cancel = {
		OR = {
			has_defensive_war = yes
			is_in_faction = yes
		}
	}
	picture = neutrality_idea
	removal_cost = -1
	modifier = {
		join_faction_tension = 0.3
		send_volunteers_tension = 0.2
		guarantee_tension = 1.0
		ai_badass_factor = 0.01
		ai_get_ally_desire_factor = -100
	}
}
### Entity: Character
Component: CAN_lloyd_samuel_breadner
Source: game
File: common/characters/CAN.txt

Code:
CAN_lloyd_samuel_breadner = {
	name = CAN_lloyd_samuel_breadner
	portraits = {
		army = {
			small = GFX_idea_CAN_lloyd_samuel_breadner
		}
	}
	advisor = {
		slot = high_command
		idea_token = CAN_lloyd_samuel_breadner
		allowed = {
			original_tag = CAN
		}
		traits = {
			air_air_superiority_2
		}
		cost = 100
		ai_will_do = {
			factor = 1.0
		}
	}
}
### Entity: National Focus
Tree: ger_focus
Component: GER_offer_trade_proposal
Constructs: prerequisite, limit, add_ideas, has_war_with, add_opinion_modifier, completion_reward, has_wargoal_against, has_subject
Source: game
File: common/national_focus/germany.txt

Code:
focus = {
	id = GER_offer_trade_proposal
	icon = GFX_goal_generic_positive_trade_relations
	prerequisite = {
		focus = GER_re_ratify_the_locarno_treaty
	}
	x = -1
	y = 2
	relative_position_id = GER_re_ratify_the_locarno_treaty
	cost = 5
	available = {
		OR = {
			AND = {
				NOT = {
					has_wargoal_against = HOL
				} {
					has_war_with = HOL
				}
				HOL = {
					has_subject = INS
				}
			} {
				NOT = {
					has_wargoal_against = BEL
				} {
					has_war_with = BEL
				}
				BEL = {
					has_subject = COG
				}
			}
		}
	}
	search_filters = {
		FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNATIONAL_TRADE
	}
	completion_reward = {
		IF = {
			limit = {
				NOT = {
					has_wargoal_against = HOL
				} {
					has_war_with = HOL
				}
				INS = {
					is_subject_of = HOL
				}
			}
			HOL = {
				country_event = {
					id = wuw_GER_diplomacy.1
					days = 2
				}
				set_country_flag = GER_trading_proposal_flag
				add_ai_strategy = {
					type = befriend
					id = GER
					value = 100
				} {
					type = alliance
					id = GER
					value = 50
				}
			}
			custom_effect_tooltip = if_they_accept_tt generic_skip_one_line_tt
			effect_tooltip = {
				HOL = {
					add_ideas = GER_german_trade_ns
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_trading_partners
					}
				}
				INS = {
					add_ideas = GER_german_trade_subject_ns
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_trading_partners
					}
				}
				custom_effect_tooltip = war_will_cancel_deal_tt
			}
		} {
			limit = {
				NOT = {
					has_wargoal_against = BEL
				} {
					has_war_with = BEL
				}
				COG = {
					is_subject_of = BEL
				}
			}
			BEL = {
				country_event = {
					id = wuw_GER_diplomacy.1
					days = 2
				}
				set_country_flag = GER_trading_proposal_flag
				add_ai_strategy = {
					type = befriend
					id = GER
					value = 100
				} {
					type = alliance
					id = GER
					value = 50
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				BEL = {
					add_ideas = GER_german_trade_ns
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_trading_partners
					}
				}
				COG = {
					add_ideas = GER_german_trade_subject_ns
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_trading_partners
					}
				}
				custom_effect_tooltip = war_will_cancel_deal_tt
			}
		}
	}
}
### Entity: Event
Component: toykan.16
Constructs: is_triggered_only, ai_chance
Source: game
File: events/tmodernevents.txt

Code:
country_event = {
	id = toykan.16
	title = toykan.16.t
	desc = toykan.16.d
	picture = GFX_report_event_generic_read_write
	is_triggered_only = yes
	option = {
		name = toykan.16.a
		ai_chance = {
			base = 100
		}
	}
}
### Entity: National Focus
Tree: spa_focus
Component: SPA_unify_the_nationalist_front
Constructs: prerequisite, add_stability, completion_reward, has_global_flag
Source: game
File: common/national_focus/spain.txt

Code:
focus = {
	id = SPA_unify_the_nationalist_front
	available = {
		has_global_flag = spanish_civil_war
		hidden_trigger = {
			always = no
		}
	}
	bypass = {

	}
	prerequisite = {
		focus = SPA_con_paquito
	}
	mutually_exclusive = {
		focus = SPA_the_phalanx_ascendant SPA_supremacy_of_the_communion
	}
	icon = GFX_focus_spa_unify_the_nationalist_front
	x = -1
	y = 1
	relative_position_id = SPA_con_paquito
	cost = 5
	available_if_capitulated = yes
	search_filters = {
		FOCUS_FILTER_STABILITY
	}
	completion_reward = {
		add_stability = 0.1
		activate_mission = SPA_carlist_uprising_mission
	}
}
### Entity: Character
Component: CUB_sandalio_junco
Source: game
File: common/characters/CUB.txt

Code:
CUB_sandalio_junco = {
	advisor = {
		slot = navy_chief
		idea_token = CUB_sandalio_junco
		allowed = {
			original_tag = CUB
		}
		traits = {
			navy_fleet_logistics_2
		}
		cost = 100
		ai_will_do = {
			factor = 1.0
		}
	}
	name = Sandalio Junco
	portraits = {
		army = {
			small = GFX_idea_generic_navy_south_america_2
		}
	}
}
### Entity: Event
Component: AUS_political_events.4
Constructs: ai_chance, has_completed_focus, limit, has_government, every_country, has_country_flag, add_opinion_modifier, fire_only_once
Source: game
File: events/WUW_Austria.txt

Code:
country_event = {
	id = AUS_political_events.4
	title = AUS_political_events.4.t
	desc = AUS_political_events.4.desc
	picture = GFX_report_event_generic_parliament
	trigger = {
		AND = {
			original_tag = AUS
			has_country_flag = AUS_antischluss_active_flag
			date = > 1938.10.7
			GER = {
				has_government = fascism
			}
			AUS = {
				has_country_flag = AUS_antischluss_active_flag
			}
			has_dlc = Gotterdammerung
		}
		NOT = {
			OR = {
				has_completed_focus = AUS_cut_ties_with_the_church
				is_in_faction = yes
			}
		}
	}
	fire_only_once = yes
	option = {
		name = AUS_political_events.4.a
		ai_chance = {
			base = 1
			modifier = {
				factor = 10
				has_government = fascism
			}
		}
		add_popularity = {
			ideology = fascism
			popularity = 0.1
		}
		add_opinion_modifier = {
			target = GER
			modifier = small_decrease
		}
		retire_character = AUS_theodor_innitzer
	} {
		name = AUS_political_events.4.b
		ai_chance = {
			base = 1
			modifier = {
				factor = 10
				OR = {
					has_government = democratic communism
				}
			}
		}
		remove_trait = {
			character = AUS_theodor_innitzer
			trait = AUS_fascist_cardinal
			slot = political_advisor
		}
		add_trait = {
			character = AUS_theodor_innitzer
			trait = AUS_no_longer_fascist_cardinal
			slot = political_advisor
		}
		add_opinion_modifier = {
			target = GER
			modifier = large_decrease
		}
		every_country = {
			limit = {
				is_in_faction_with = GER
			}
			add_opinion_modifier = {
				target = ROOT
				modifier = small_decrease
			}
		}
	}
}
### Entity: National Focus
Tree: pal_focus
Component: PAL_extensive_rocket_production
Constructs: prerequisite, add_ideas, completion_reward
Source: game
File: common/national_focus/palestine.txt

Code:
focus = {
	id = PAL_extensive_rocket_production
	icon = GFX_goal_generic_mobile_artillery_rocket
	prerequisite = {
		focus = PAL_rocket_research
	} {
		focus = PAL_upaf_project_successful
	}
	x = 0
	y = 2
	cost = 5
	relative_position_id = PAL_rocket_research
	completion_reward = {
		add_ideas = PAL_izzedin_qassam_idea
	}
}
### Entity: Idea
Component: PRC_the_internal_enemy_XSM_upgraded
Constructs: removal_cost
Source: game
File: common/ideas/comchina.txt

Code:
PRC_the_internal_enemy_XSM_upgraded = {
	allowed = {
		always = no
	}
	removal_cost = -1
	targeted_modifier = {
		tag = XSM
		attack_bonus_against = 0.1
		breakthrough_bonus_against = 0.1
	}
}
### Entity: Idea
Component: campsa
Constructs: has_global_flag, research_bonus
Source: game
File: common/ideas/r56_spain_republic.txt

Code:
campsa = {
	allowed = {
		original_tag = SPR
	}
	visible = {
		has_global_flag = SPR_R56_focus_tree
	}
	traits = {
		refinery_concern
	}
	research_bonus = {
		industry = 0.1
		synth_resources = 0.155
	}
}
### Entity: AI Strategy
Component: GER_r56_mirco_state_lol_part_3
Constructs: is_historical_focus_on, is_ai, is_puppet, declare_war
Source: game
File: common/ai_strategy/r56_GER.txt

Code:
GER_r56_mirco_state_lol_part_3 = {
	allowed = {
		original_tag = GER
	}
	enable = {
		is_historical_focus_on = yes
		date = < 1940.1.1
		country_exists = LUX
		LUX = {
			is_ai = yes
			is_puppet = no
		}
	}
	abort = {
		NOT = {
			country_exists = LUX
		}
	}
	abort_when_not_enabled = yes
	ai_strategy = {
		type = ignore
		id = LUX
		value = 100
	} {
		type = declare_war
		id = LUX
		value = -500
	}
}
### Entity: Event
Component: ww_congo.53
Constructs: is_triggered_only, ai_chance, fire_only_once, random_days
Source: game
File: events/WUW_Congo.txt

Code:
country_event = {
	id = ww_congo.53
	title = ww_congo.53.t
	desc = ww_congo.53.desc
	picture = GFX_report_event_SOV_demands
	is_triggered_only = yes
	fire_only_once = no
	option = {
		name = ww_congo.53.a
		ai_chance = {
			factor = 80
			modifier = {
				strength_ratio = {
					tag = COG
					ratio = < 1
				}
				factor = 2
			}
		}
		FROM = {
			country_event = {
				id = ww_congo.54
				days = 2
				random_days = 3
			}
		}
	} {
		name = ww_congo.53.b
		ai_chance = {
			factor = 20
			modifier = {
				strength_ratio = {
					tag = COG
					ratio = > 1
				}
				factor = 1.5
			}
		}
		FROM = {
			country_event = {
				id = ww_congo.55
				days = 2
				random_days = 3
			}
		}
	}
}
### Entity: Effect Reference
Construct: add_state_resistance_compliance_modifier
Constructs: add_state_resistance_compliance_modifier, is_dynamic
Source: vanilla_docs
File: documentation/effects_documentation.md

Doc:
## add_state_resistance_compliance_modifier

* Supported Scopes: any
* Supported Targets: none

Adds either a resistance or compliance modifier to a state.
Can only use modifiers from the resistance_modifiers.txt/compliance_modifiers.txt that are marked as is_dynamic = yes
### Entity: Character
Component: CHL_jose_luis_sanchez_besa
Constructs: has_completed_focus, has_dlc
Source: game
File: common/characters/CHL.txt

Code:
CHL_jose_luis_sanchez_besa = {
	instance = {
		allowed = {
			has_dlc = Trial of Allegiance
		}
		advisor = {
			slot = theorist
			idea_token = CHL_jose_luis_sanchez_besa
			ledger = air
			allowed = {
				original_tag = CHL
			}
			traits = {
				dive_bomber
			}
			visible = {
				NOT = {
					has_completed_focus = CHL_address_the_mapuche_conflict
				}
			}
			cost = 100
			ai_will_do = {
				factor = 1.0
			}
		}
		name = CHL_jose_luis_sanchez_besa
		portraits = {
			army = {
				small = GFX_portrait_CHL_jose_luis_sanchez_besa_small
			}
		}
	} {
		allowed = {
			NOT = {
				has_dlc = Trial of Allegiance
			}
		}
		advisor = {
			slot = high_command
			idea_token = CHL_jose_luis_sanchez_besa
			ledger = air
			allowed = {
				original_tag = CHL
			}
			traits = {
				air_strategic_bombing_2
			}
			cost = 100
			ai_will_do = {
				factor = 1.0
			}
		}
		name = CHL_jose_luis_sanchez_besa
		portraits = {
			army = {
				small = GFX_idea_generic_navy_south_america_1
			}
		}
	}
}
### Entity: Country History
Country: HES
Component: HES_technology
Constructs: set_technology
Source: game
File: history/countries/HES - Hesse.txt

Code:
# Starting Technologies for HES
set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_recon = 1
	tech_support = 1
	tech_engineers = 1
	tech_mountaineers = 1
	tech_trucks = 1
	motorised_infantry = 1
	gw_artillery = 1
	interwar_antiair = 1
	fuel_silos = 1
	synth_oil_experiments = 1
	oil_processing = 1
	fuel_refining = 1
}
### Entity: Modifier Reference
Component: ETH_army_1_dynamic_modifier
Constructs: army_defence_factor
Source: game
File: common/dynamic_modifiers/bba_dynamic_modifiers.txt

Code:
ETH_army_1_dynamic_modifier = {
	enable = {
		always = yes
	}
	icon = GFX_idea_ETH_army
	max_dig_in = ETH_army_max_dig_in_factor
	dig_in_speed_factor = ETH_army_dig_in_speed_factor
	experience_gain_army_factor = ETH_army_experience_gain_army_factor
	army_defence_factor = ETH_army_army_defence_factor
	army_org_factor = ETH_army_army_org_factor
	modifier_army_sub_unit_infantry_attack_factor = ETH_army_modifier_army_sub_unit_infantry_attack_factor
	modifier_army_sub_unit_infantry_defence_factor = ETH_army_modifier_army_sub_unit_infantry_defence_factor
	modifier_army_sub_unit_infantry_speed_factor = ETH_army_modifier_army_sub_unit_infantry_speed_factor
	modifier_army_sub_unit_irregular_infantry_attack_factor = ETH_army_modifier_army_sub_unit_irregular_infantry_attack_factor
	supply_consumption_factor = ETH_army_supply_consumption_factor
	cas_damage_reduction = ETH_army_cas_damage_reduction
	equipment_capture_factor = ETH_army_equipment_capture_factor
	modifier_army_sub_unit_irregular_infantry_defence_factor = ETH_modifier_army_sub_unit_irregular_infantry_defence_factor
	modifier_army_sub_unit_irregular_infantry_speed_factor = ETH_modifier_army_sub_unit_irregular_infantry_speed_factor
	modifier_army_sub_unit_irregular_infantry_max_org_factor = ETH_modifier_army_sub_unit_irregular_infantry_max_org_factor
}
### Entity: National Focus
Tree: ita_focus
Component: ITA_combined_research_effort
Constructs: prerequisite, limit, has_government, every_country, completion_reward, is_in_faction_with, is_government_in_exile, is_in_tech_sharing_group
Source: game
File: common/national_focus/italy.txt

Code:
focus = {
	id = ITA_combined_research_effort
	icon = GFX_focus_generic_socialist_science
	prerequisite = {
		focus = ITA_military_cooperation
	}
	x = 0
	y = 2
	relative_position_id = ITA_military_cooperation
	cost = 5
	bypass = {
		NOT = {
			any_other_country = {
				is_in_faction_with = ROOT
				is_government_in_exile = no
			}
		}
	}
	available = {
		has_government = communism
		any_other_country = {
			is_in_faction_with = ROOT
			is_government_in_exile = no
		}
	}
	search_filters = {
		FOCUS_FILTER_RESEARCH
	}
	completion_reward = {
		custom_effect_tooltip = BUL_soviet_bulgarian_war_industry_research_sharing_tt
		hidden_effect = {
			every_country = {
				limit = {
					is_in_tech_sharing_group = comintern_research
				}
				remove_from_tech_sharing_group = comintern_research
				add_to_tech_sharing_group = BUL_improved_comintern_research
			}
		}
	}
}
### Entity: Event
Component: egypt.37
Constructs: is_triggered_only, every_owned_state, limit, fire_only_once, is_core_of, add_compliance
Source: game
File: events/egypt.txt

Code:
country_event = {
	id = egypt.37
	picture = GFX_report_event_election_vote
	title = egypt.37.t
	desc = egypt.37.d
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = egypt.37.a
		every_owned_state = {
			limit = {
				is_core_of = SUD
			}
			add_compliance = 20
			EGY_remove_sudanese_separatism = yes
		}
		custom_effect_tooltip = EGY_high_compliance_reminder
	}
}
### Entity: Scripted Effect
Component: SIA_push_wichitwathakan_to_the_forefront_r56_effects
Constructs: limit, has_government, add_war_support, add_stability, add_political_power, has_focus_autohide_rule_trigger_r56, add_country_leader_role, set_politics
Source: game
File: common/scripted_effects/SIA_scripted_effects_r56.txt

Code:
SIA_push_wichitwathakan_to_the_forefront_r56_effects = {
	if = {
		limit = {
			has_focus_autohide_rule_trigger_r56 = yes
		}
		mark_focus_tree_layout_dirty = yes
	} {
		limit = {
			NOT = {
				has_government = fascism
			}
		}
		effect_tooltip = {
			add_country_leader_role = {
				character = SIA_luang_wichitwathakan
				promote_leader = yes
				country_leader = {
					expire = 1965.1.1
					ideology = ultranationalism
					traits = {
						SIA_gentlemanly_academic_r56 SIA_pan_tai_irredentist_r56
					}
				}
			}
		}
		hidden_effect = {
			set_politics = {
				ruling_party = fascism
				elections_allowed = yes
			}
		}
	}
	add_political_power = 45
	add_war_support = 0.04
	add_popularity = {
		ideology = fascism
		popularity = 0.15
	}
	set_cosmetic_tag = SIA_Thailand
	custom_effect_tooltip = generic_skip_one_line_tt
	effect_tooltip = {
		custom_effect_tooltip = unlocks_decision_heavy_handed_assimilation_policies_which_grants_tt
		add_stability = 0.04
		add_war_support = 0.02
		add_popularity = {
			ideology = ROOT
			popularity = -0.12
		}
	}
	hidden_effect = {
		if = {
			limit = {
				has_idea = SIA_nationalist_education_policies_songsuradet_r56
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = SIA_nationalist_education_policies_songsuradet_r56
				add_idea = SIA_nationalist_education_policies_r56
			}
		}
	}
}