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_sell_claim_target_in_own_clerical_region_trigger

pam_sell_claim_target_in_own_clerical_region_trigger = { TARGET = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 672 (7 lines). Parameters: $TARGET$.

pam_sell_claim_target_in_own_clerical_region_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 672 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 4 places, among them pam_can_gift_claim_on_target_trigger (scripted trigger), pam_can_sell_claim_on_target_trigger (scripted trigger) and pam_gift_claim_valid_title_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Sell Claim###
True if TARGET, a county title, lies within a clerical region the scoped character holds.

What it checks

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (7 lines of game script)
pam_sell_claim_target_in_own_clerical_region_trigger = {
	exists = $TARGET$.clerical_region_title
	any_held_title = {
		has_clerical_region = yes
		this = $TARGET$.clerical_region_title
	}
}

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_sell_claim_target_in_own_clerical_region_trigger.

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?