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_rival_if_adult_trigger

can_set_relation_rival_if_adult_trigger = { CHARACTER = … }

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

can_set_relation_rival_if_adult_trigger is a scripted trigger in Crusader Kings III, written at line 87 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them can_set_relation_potential_rival_trigger (scripted trigger), can_set_relation_rival_even_if_teen_trigger (scripted trigger) and can_set_relation_rival_trigger (scripted trigger). 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_rival_if_adult_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_rival_if_adult_trigger.

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?