Scripted trigger
has_important_relationship_trigger
has_important_relationship_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 662 (7 lines). Parameters: $CHARACTER$.
has_important_relationship_trigger is a scripted trigger in Crusader Kings III, written at line 662 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them Calls for … to be Declared Nithing (event fp1_yearly.0011), diplomacy_foreign_1100_valid_neighbor_trigger (local trigger) and procure_estate_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
One of these
has_relation_lover = $CHARACTER$or
has_relation_rival = $CHARACTER$or
has_relation_friend = $CHARACTER$
• 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_important_relationship_trigger = {
OR = {
has_relation_lover = $CHARACTER$
has_relation_rival = $CHARACTER$
has_relation_friend = $CHARACTER$
}
}As written in game/common/scripted_triggers/00_relation_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_important_relationship_trigger.
Events (1)
- Calls for … to be Declared Nithing
fp1_yearly.0011
Scripted triggers inside an event file (1)
- diplomacy_foreign_1100_valid_neighbor_trigger
Scripted effects (1)
Source: game/common/scripted_triggers/00_relation_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.