Scripted trigger · By God Alone files
pam_clergy_title_interaction_player_recipient_auto_accept_trigger
pam_clergy_title_interaction_player_recipient_auto_accept_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 4149 (232 lines). No parameters.
pam_clergy_title_interaction_player_recipient_auto_accept_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4149 of its file. It takes no parameters: pam_clergy_title_interaction_player_recipient_auto_accept_trigger = yes (or no). The game's script calls it in 2 places, among them Beseech Claim (interaction) and Negotiate For Land (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
scope:recipient:- Is played by a person
scope:puppet_or_actor:One of these
puppet:theological_agent_puppet ?= scope:secondary_recipientor
Ai zeal at least 75or
Has the Trait: Venerated Ancestoror
Has the Trait: Heraldor
Has the Trait: Saoshyant Descendantor
Has the Trait: Military Order Memberor
Has the Trait: Warrior of the Faithor
Has the Trait: Saoshyantor
Has the Trait: Paragonor
Has the Trait: The Savioror
Has the Trait: Holy Monarchor
Opinion from secondary_recipient at least 70or
scope:recipient: Opinion from secondary_recipient at most -70or
is_close_family_of = scope:secondary_recipientor
Has the Sanctioned Loopholes Perkor
scope:use_hook = yesor
or
All of these
scope:donate_faith = yes- Medium gold at least secondary recipient.medium gold value
or
or
All of these
scope:threaten_priest = yesscope:puppet_or_actor:One of these
- Highest held Title is more than scope:secondary recipient.highest held title tier Rank
or
is_liege_or_above_of = scope:secondary_recipientor
scope:secondary_recipient › Any held title:is_neighbor_to_realm = scope:puppet_or_actor
or
scope:secondary_recipient.capital_county.holder:One of these
this = scope:puppet_or_actoror
this = scope:recipientor
Any liege or above:this = scope:puppet_or_actor
or
liege ?= scope:secondary_recipient.liege
or
All of these
exists = scope:target.holder- Clerical hesitation from target holder at most -2
or
All of these
scope:recipient:- Is not an Independent Ruler
NOT = { top_liege = scope:puppet_or_actor.top_liege }
- Clerical hesitation from potential defender at most -2
or
The Christian Church:- Any participant group:
- Any situation group participant:
this = scope:puppet_or_actor
If
- scope:recipient: Is a ruler
Then
- Any situation group participant:
this = scope:recipient
- Any situation group participant:
- In the Fragile Unity phase
- Any participant group:
or
scope:secondary_recipient:has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:recipient }
or
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:secondary_recipient }or
scope:secondary_recipient:or
scope:recipient:character_considered_wicked_trigger = { RITE = scope:secondary_recipient.rite }
or
All of these
rite.head_of_rite ?= scope:actorrite = scope:secondary_recipient.rite
None of these
- scope:recipient: Opinion from secondary_recipient at least 80
scope:secondary_recipient:has_dread_level_towards = { target = scope:recipient level >= 2 }One of these
top_liege = scope:recipient.top_liegeor
character_is_realm_neighbor = scope:recipient
scope:secondary_recipient:has_any_good_relationship_with_character_trigger = { CHARACTER = scope:recipient }
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:secondary_recipient }All of these
exists = scope:target.holder- Clerical hesitation from target holder at least 3
All of these
scope:recipient:- Is not an Independent Ruler
NOT = { top_liege = scope:puppet_or_actor.top_liege }
- Clerical hesitation from potential defender at least 3
All of these
NOT = { rite = scope:secondary_recipient.rite }- Any tenet:
scope:puppet_or_actor.rite:has_tenet_status = { tenet = prev status = core }
scope:secondary_recipient.rite:has_tenet_status = { tenet = prev status = prohibited }
- If highest held Title is at least Hegemony Rank: Realm size (counties) at least 1500
- Else, if highest held Title is exactly Empire Rank: Realm size (counties) at least 300
- Else, if highest held Title is exactly Kingdom Rank: Realm size (counties) at least 120
- Else, if highest held Title is exactly Duchy Rank: Realm size (counties) at least 18
- Otherwise: Realm size (counties) at least 10
- Has the Uncrowned Law
All of these
exists = scope:target- scope:secondary_recipient › Any claim:
this = scope:target
All of these
scope:recipient.rite = scope:secondary_recipient.rite- scope:recipient.rite: Rite counties at most 10
All of these
exists = scope:secondary_recipient.housescope:recipient.house ?= scope:secondary_recipient.houseNOT = { house ?= scope:secondary_recipient.house }
scope:secondary_recipient:is_allied_to = scope:recipient
scope:target:None of these
- Any de jure county:
is_neighbor_to_realm = scope:actor
- Any de jure county:
One of these
holder = scope:actoror
holder.top_liege = scope:actor
- Any in de jure hierarchy:
holder ?= scope:actor
- Any this title or de jure above: … (more in the script below)
- Any de jure county:
• 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 (120 lines of game script)
pam_clergy_title_interaction_player_recipient_auto_accept_trigger = {
scope:secondary_recipient = { save_temporary_scope_as = cleric }
scope:recipient = { save_temporary_scope_as = owner }
scope:recipient = {
is_ai = no
scope:puppet_or_actor = {
OR = {
puppet:theological_agent_puppet ?= scope:secondary_recipient
ai_zeal >= 75
has_trait = saint
has_trait = herald
has_trait = saoshyant_descendant
has_trait = order_member
has_trait = faith_warrior
has_trait = saoshyant
has_trait = paragon
has_trait = savior
has_trait = crusader_king
reverse_opinion = {
target = scope:secondary_recipient
value >= 70
}
scope:recipient = {
reverse_opinion = {
target = scope:secondary_recipient
value <= -70
}
}
is_close_family_of = scope:secondary_recipient
has_perk = sanctioned_loopholes_perk
scope:use_hook = yes
AND = {
scope:offer_hook = yes
highest_held_title_tier >= tier_kingdom
}
AND = {
scope:donate_faith = yes
medium_gold_value >= scope:secondary_recipient.medium_gold_value
}
AND = {
highest_held_title_tier >= tier_duchy
scope:offer_pilgrimage = yes
}
AND = {
scope:threaten_priest = yes
scope:puppet_or_actor = {
OR = {
highest_held_title_tier > scope:secondary_recipient.highest_held_title_tier
is_liege_or_above_of = scope:secondary_recipient
scope:secondary_recipient = {
any_held_title = {
is_neighbor_to_realm = scope:puppet_or_actor
}
}
scope:secondary_recipient.capital_county.holder ?= {
OR = {
this = scope:puppet_or_actor
this = scope:recipient
any_liege_or_above = {
this = scope:puppet_or_actor
}
}
}
liege ?= scope:secondary_recipient.liege
}
}
}
AND = {
exists = scope:target.holder
clerical_hesitation_from_target_holder_value <= -2
}
AND = {
scope:recipient = {
is_independent_ruler = no
NOT = {
top_liege = scope:puppet_or_actor.top_liege
}
}
clerical_hesitation_from_potential_defender_value <= -2
}
situation:the_christian_church ?= {
any_participant_group = { # Both characters are involved in the situation
any_situation_group_participant = {
this = scope:puppet_or_actor
}
trigger_if = {
limit = { scope:recipient = { is_ruler = yes } }
any_situation_group_participant = {
this = scope:recipient
}
}
}
has_situation_top_phase_parameter = claim_seeking_acceptance_bonus
}
scope:secondary_recipient = { has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:recipient } }
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:secondary_recipient }
scope:secondary_recipient = {
has_dread_level_towards = {
target = scope:puppet_or_actor
level >= 2
}
highest_held_title_tier <= scope:puppet_or_actor.highest_held_title_tier
}
scope:recipient = { character_considered_wicked_trigger = { RITE = scope:secondary_recipient.rite } }
AND = {
rite.head_of_rite ?= scope:actor
rite = scope:secondary_recipient.rite
}
}
NOR = {
scope:recipient = {
reverse_opinion = {
target = scope:secondary_recipient
value >= 80
}
}
scope:secondary_recipient = {
has_dread_level_towards = {
target = scope:recipient
level >= 2As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
The first 120 of its 232 lines; the rest is in game/common/scripted_triggers/pam_scripted_triggers.txt from line 4149.
Where it is used
Every place in common/, events/ and history/ that calls pam_clergy_title_interaction_player_recipient_auto_accept_trigger.
Character interactions (2)
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.