Scripted trigger · By God Alone files
pam_offer_pilgrimage_option_valid_trigger
pam_offer_pilgrimage_option_valid_trigger = { ACTOR = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 1778 (19 lines). Parameters: $ACTOR$.
pam_offer_pilgrimage_option_valid_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1778 of its file. A call passes 1 parameter: ACTOR. The game's script calls it in 20 places, among them Ask for Gold (interaction), Ask to Sanctify Artifact (interaction) and Beseech a Title (interaction). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (19 lines of game script)
pam_offer_pilgrimage_option_valid_trigger = {
$ACTOR$ = {
custom_tooltip = {
text = can_host_pilgrimage_tt
can_host_activity = activity_pilgrimage
}
gold > 0
trigger_if = {
limit = { is_ai = yes }
highest_held_title_tier >= tier_kingdom
short_term_gold > monumental_gold_value
NOT = {
any_realm_county = {
has_province_with_epidemic = { intensity >= major }
}
}
}
}
}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_offer_pilgrimage_option_valid_trigger.
Character interactions (20)
- Ask for Gold
- Ask to Sanctify Artifact
- Beseech a Title
- Beseech Claim
- Beseech De Jure Rights
- Make Declaration of Repentance
14 more
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.