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

Scripted trigger

secret_lover_is_valid_trigger

secret_lover_is_valid_trigger = { OWNER = … TARGET = … }

game/common/scripted_triggers/00_secret_type_triggers.txt, line 143 (14 lines). Parameters: $OWNER$, $TARGET$.

secret_lover_is_valid_trigger is a scripted trigger in Crusader Kings III, written at line 143 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 1 place, among them Lover (secret types). Patch 1.20.1.2, from game/common/scripted_triggers/00_secret_type_triggers.txt.

The comment above it in the file

SECRET LOVER

What it checks

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

The script as written (14 lines of game script)
secret_lover_is_valid_trigger = {
	$TARGET$ = {
		is_alive = yes
		save_temporary_scope_as = target
	}
	$OWNER$ = {
		is_alive = yes
		has_relation_lover = scope:target
		NOR = {
			is_consort_of = scope:target
			betrothed ?= scope:target
		}
	}
}

As written in game/common/scripted_triggers/00_secret_type_triggers.txt.

Where it is used

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

Secret types (1)

  • Lover

Source: game/common/scripted_triggers/00_secret_type_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?