Scripted trigger · The Fate of Iberia files
fp2_struggle_enforce_truce_war_leader_trigger
fp2_struggle_enforce_truce_war_leader_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 566 (28 lines). No parameters.
fp2_struggle_enforce_truce_war_leader_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 566 of its file. It takes no parameters: fp2_struggle_enforce_truce_war_leader_trigger = yes (or no). The game's script calls it in 1 place, among them Enforce Truce (interaction). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
What it checks
- The other War Leader is not Involved in the Iberian Struggle
- Both War Leaders must be of an equal or lower Rank than you
- … or … enemy must be an Independent Ruler or of equal or lower Rank in the same Realm
• 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 (28 lines of game script)
fp2_struggle_enforce_truce_war_leader_trigger = {
custom_tooltip = {
text = fp2_enforce_truce_war_with_not_involved_tt
any_character_struggle = {
involvement = involved
}
}
custom_tooltip = {
text = fp2_enforce_truce_tier_difference_tt
tier_difference = {
target = scope:actor
value <= 0
}
}
NOR = {
this = scope:recipient
this = scope:actor
}
custom_tooltip = {
text = fp2_enforce_truce_liege_or_independent_tt
OR = {
scope:recipient = { top_liege = this }
scope:recipient.top_liege = scope:actor.top_liege
top_liege = this
top_liege = scope:actor.top_liege
}
}
}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_struggle_enforce_truce_war_leader_trigger.
Character interactions (1)
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.