CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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)

4 more

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

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.

Spotted a mistake on this page?