Scripted trigger
has_purchased_truce_with_char
has_purchased_truce_with_char = { TARGET = … }game/common/scripted_triggers/00_scripted_triggers.txt, line 504 (7 lines). Parameters: $TARGET$.
has_purchased_truce_with_char is a scripted trigger in Crusader Kings III, written at line 504 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 6 places, among them Abandon Confederation (decision), Join Confederation (interaction) and Offer Confederation (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.
What it checks
- Any in list:
• 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)
has_purchased_truce_with_char = {
has_variable_list = bought_truce_list
any_in_list = {
variable = bought_truce_list
this = $TARGET$
}
}As written in game/common/scripted_triggers/00_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_purchased_truce_with_char.
Decisions (1)
Character interactions (2)
Scripted effects (1)
Scripted modifiers (AI weights) (2)
- mpo_blood_brother_interactions_ai_accept_modifier
- offer_vassalization_interaction_ai_acceptance_diplomacy
Source: game/common/scripted_triggers/00_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.