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

Scripted trigger

can_set_relation_friend_trigger

can_set_relation_friend_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_relation_triggers.txt, line 14 (9 lines). Parameters: $CHARACTER$.

can_set_relation_friend_trigger is a scripted trigger in Crusader Kings III, written at line 14 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 138 places, among them Befriend (activity intent), apa_bonded_during_studies (activity pulse) and apa_cheering_on_competitors (activity pulse). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (9 lines of game script)
can_set_relation_friend_trigger = {
	NOR = {
		this = $CHARACTER$
		has_relation_friend = $CHARACTER$
		has_relation_best_friend = $CHARACTER$
		has_relation_rival = $CHARACTER$
		has_relation_nemesis = $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 can_set_relation_friend_trigger — the first 120 of 138.

Activity intents (1)

  • Befriend

Activity pulse actions (6)

  • apa_bonded_during_studies
  • apa_cheering_on_competitors
  • apa_friendly_discussions
  • bonding_spouse_family
  • children_bonding
  • relation_gains_friend

Events (109)

103 more

Scripted effects inside an event file (4)

  • bp1_yearly_2030_relationship_effect
  • ep1_flavour_0011_friendly_diplomats_effect
  • ep3_interactions_events_0601_friendship
  • nomad_events_0190_friendship_effect

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?