Scripted trigger · The Fate of Iberia files
fp2_purchase_truce_interaction_soft_requirements_trigger
fp2_purchase_truce_interaction_soft_requirements_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 724 (12 lines). No parameters.
fp2_purchase_truce_interaction_soft_requirements_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 724 of its file. It takes no parameters: fp2_purchase_truce_interaction_soft_requirements_trigger = yes (or no). The game's script calls it in 4 places, among them Purchase Truce (interaction), pt_sum_large_value (script value) and pt_sum_medium_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
What it checks
One of these
- Never
or
Any character struggle:involvement = involvedhas_struggle_phase_parameter = unlocks_truce_purchasing_interaction
or
Has the Defensive Negotiations Perkor
Their culture: The Culture has the Unlocks the Purchase Truce Interaction Traditionor
The Personal Tenets unlock tenet peace of god personal truce
• 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 (12 lines of game script)
fp2_purchase_truce_interaction_soft_requirements_trigger = {
OR = {
always = no
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = unlocks_truce_purchasing_interaction
}
has_perk = defensive_negotiations_perk
culture = { has_cultural_parameter = unlocks_purchase_truce }
has_personal_tenet_flag = tenet_peace_of_god_personal_truce
}
}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_purchase_truce_interaction_soft_requirements_trigger.
Character interactions (1)
Script values (3)
- pt_sum_large_value
- pt_sum_medium_value
- pt_sum_small_value
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.