Scripted trigger
has_important_relationship_with_character_trigger
has_important_relationship_with_character_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 345 (7 lines). Parameters: $CHARACTER$.
has_important_relationship_with_character_trigger is a scripted trigger in Crusader Kings III, written at line 345 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 14 places, among them bp3_good_relations_trigger (local trigger), ep3_laamp_flavour_ewan_1001_parent_is_important_at_camp_trigger (local trigger) and ep3_laamp_flavour_ewan_4071_valid_courtiers_to_lose_trigger (local trigger). 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_with_character_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_with_character_trigger.
Scripted triggers inside an event file (7)
- bp3_good_relations_trigger
- ep3_laamp_flavour_ewan_1001_parent_is_important_at_camp_trigger
- ep3_laamp_flavour_ewan_4071_valid_courtiers_to_lose_trigger
- ep3_laamp_flavour_ewan_9541_valid_potential_friend_courtier_trigger
- ep3_laamp_flavour_ewan_9541_valid_potential_rival_courtier_trigger
- more_likely_to_give_important_gift_trigger
1 more
- travel_bp3_relevant_character_trigger
On actions (the game's own hooks) (2)
- on_game_start_after_lobby
- on_title_gain
Scripted effects (2)
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.