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

Scripted trigger · By God Alone files

pam_remove_khachkar_new_holder_trigger

pam_remove_khachkar_new_holder_trigger = { NEW_HOLDER = … PREVIOUS_HOLDER = … TITLE = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 3288 (12 lines). Parameters: $NEW_HOLDER$, $PREVIOUS_HOLDER$, $TITLE$.

pam_remove_khachkar_new_holder_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3288 of its file. A call passes 3 parameters: NEW_HOLDER, PREVIOUS_HOLDER and TITLE. The game's script calls it in 1 place, among them on_title_gain (on action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Khachkar is removed when a county leaves the commissioning dynasty (like runestones).

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)
pam_remove_khachkar_new_holder_trigger = {
	$TITLE$ = {
		exists = var:pam_khachkar_ancestor
		has_county_modifier = pam_khachkar_ancestral_county
	}
	$NEW_HOLDER$ = {
		dynasty != $PREVIOUS_HOLDER$.dynasty
	}
	$TITLE$ = {
		NOT = { var:pam_khachkar_ancestor.dynasty = $NEW_HOLDER$.dynasty }
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

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

  • on_title_gain

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