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_one_way_trigger

valid_ritualised_best_friendship_one_way_trigger = { ACTOR_FRIEND = … }

game/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 88 (12 lines). Parameters: $ACTOR_FRIEND$.

valid_ritualised_best_friendship_one_way_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 88 of its file. A call passes 1 parameter: ACTOR_FRIEND. The game's script calls it in 1 place, among them on_death (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 (12 lines of game script)
valid_ritualised_best_friendship_one_way_trigger = {
	$ACTOR_FRIEND$ = {
		# Check that they have the appropriate cultural parameter...
		culture_valid_for_ritualised_best_friends_trigger = yes
		# ... and that they've got a best friend...
		any_relation = {
			type = best_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_one_way_trigger.

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

  • on_death

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?