Scripted trigger
has_friendly_relationship_trigger
has_friendly_relationship_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 670 (6 lines). Parameters: $CHARACTER$.
has_friendly_relationship_trigger is a scripted trigger in Crusader Kings III, written at line 670 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 19 places, among them …: All a Misunderstanding (event ep2_tournament_events.5502), A Helping Hand (event intrigue_scheme_ongoing.5026) and A Tale or Two (event journey_events.30). 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_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 (6 lines of game script)
has_friendly_relationship_trigger = {
OR = {
has_relation_lover = $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_friendly_relationship_trigger.
Events (10)
- …: All a Misunderstanding
ep2_tournament_events.5502 - A Helping Hand
intrigue_scheme_ongoing.5026 - A Tale or Two
journey_events.30 - Danger: On A Mountain Trail
travel_danger_events.3000 - Fit to Lead?
tgp_japan_yearly_events.1210 - Isolation
feast_default.1005
4 more
- Personal Matter
hold_court.8161 - Rightful Lands
hold_court.8210 - Servant of …
hold_court.8200 - The Enemy Within
hold_court.8190
Scripted triggers inside an event file (8)
- claim_throne_ongoing_1007_knight_trigger
- hold_court_8160_accused_trigger
- hold_court_8160_valid_plotter_trigger
- hold_court_8161_valid_seduce_plotter_trigger
- hold_court_8210_claim_trigger
- hold_court_8210_vassal_trigger
2 more
- suitable_knight_for_dispute_trigger
- travel_events_bp3_1_character
Scripted triggers (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.