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

Scripted trigger · The Fate of Iberia files

valid_ritualised_best_friendship_two_way_trigger

valid_ritualised_best_friendship_two_way_trigger = { ACTOR_FRIEND = … RECIPIENT_FRIEND = … }

game/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 74 (13 lines). Parameters: $ACTOR_FRIEND$, $RECIPIENT_FRIEND$.

valid_ritualised_best_friendship_two_way_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 74 of its file. A call passes 2 parameters: ACTOR_FRIEND and RECIPIENT_FRIEND. The game's script calls it in 1 place, among them on_set_relation_best_friend (on action). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.

What it checks

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

The script as written (13 lines of game script)
valid_ritualised_best_friendship_two_way_trigger = {
	$ACTOR_FRIEND$ = {
		# Check that they have the appropriate cultural parameter...
		culture_valid_for_ritualised_best_friends_trigger = yes
		# ... and that they've still got a best friend...
		any_relation = {
			type = best_friend
			this = $RECIPIENT_FRIEND$
			# ... who also still has the cultural parameter.
			culture_valid_for_ritualised_best_friends_trigger = yes
		}
	}
}

As written in game/common/scripted_triggers/03_fp2_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls valid_ritualised_best_friendship_two_way_trigger.

On actions (the game's own hooks) (1)

  • on_set_relation_best_friend

Source: game/common/scripted_triggers/03_fp2_scripted_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?