Scripted trigger · The Fate of Iberia files
fp2_character_involved_in_struggle_trigger
fp2_character_involved_in_struggle_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 17 (7 lines). No parameters.
fp2_character_involved_in_struggle_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 17 of its file. It takes no parameters: fp2_character_involved_in_struggle_trigger = yes (or no). The game's script calls it in 16 places, among them Friendship Is Magic (achievement), Burning the Vineyards (event fp2_yearly.8000) and Death of a … (event fp2_struggle.1020). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
What it checks
- Any character struggle:
involvement = involvedis_struggle_type = iberian_struggle
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (7 lines of game script)
fp2_character_involved_in_struggle_trigger = {
has_fp2_dlc_trigger = yes
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
}As written in game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_character_involved_in_struggle_trigger.
Achievements (1)
Events (8)
- Burning the Vineyards
fp2_yearly.8000 - Death of a …
fp2_struggle.1020 - Dreams of Destruction
fp2_struggle.1050 - Return of the King of Thieves
fp2_struggle.2021 - Soul of Iron
fp2_struggle.1010 - Stoking the Fire
fp2_struggle.1000
2 more
- The … School of Translators
fp2_yearly.8004 - The Forsaken Village
fp2_struggle.2001
On actions (the game's own hooks) (3)
- five_year_struggle_playable_pulse
- fp2_iberian_struggle_random_events
- on_game_start_after_lobby
Scripted triggers (2)
Script values (1)
- struggle_iberia_ending_compromise_decision_region_interloper_value
Hook types (1)
- Best Friend
Source: game/common/scripted_triggers/03_fp2_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.