Scripted trigger · By God Alone files
pam_gift_claim_valid_title_trigger
pam_gift_claim_valid_title_trigger = { TITLE = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 729 (22 lines). Parameters: $TITLE$.
pam_gift_claim_valid_title_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 729 of its file. A call passes 1 parameter: TITLE. The game's script calls it in 1 place, among them Gift Claim (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
$TITLE$ = { … }scope:puppet_or_actor:One of these
pam_sell_claim_target_in_own_clerical_region_trigger = { TARGET = $TITLE$ }or
Is the Head of Faith
scope:recipient:NOT = { has_claim_on = $TITLE$ }
• 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 (22 lines of game script)
pam_gift_claim_valid_title_trigger = {
$TITLE$ = {
tier = tier_county
faith ?= scope:puppet_or_actor.faith
NOT = { holder ?= scope:recipient }
holder ?= {
NOR = {
government_has_flag = government_is_ecclesiastical
government_has_flag = government_is_theocracy
}
}
}
scope:puppet_or_actor ?= {
OR = {
pam_sell_claim_target_in_own_clerical_region_trigger = { TARGET = $TITLE$ }
faith.religious_head ?= this
}
}
scope:recipient = {
NOT = { has_claim_on = $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_gift_claim_valid_title_trigger.
Character interactions (1)
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.