Scripted trigger · By God Alone files
influence_head_of_faith_candidacy_target_trigger
influence_head_of_faith_candidacy_target_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 454 (18 lines). No parameters.
influence_head_of_faith_candidacy_target_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 454 of its file. It takes no parameters: influence_head_of_faith_candidacy_target_trigger = yes (or no). The game's script calls it in 1 place, among them Influence Head of Faith Candidacy (interaction). Its body carries 3 texts 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
• 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 (18 lines of game script)
influence_head_of_faith_candidacy_target_trigger = {
custom_tooltip = {
text = influence_head_of_faith_candidacy_not_created_tt
exists = scope:target.holder
}
# has_order_of_succession resolves the holder's realm laws, so both checks stay behind the holder check
trigger_if = {
limit = { exists = scope:target.holder }
custom_tooltip = {
text = has_appointment_succession_tt
scope:target = { has_order_of_succession = appointment }
}
custom_tooltip = {
text = influence_head_of_faith_candidacy_same_faith_tt
scope:target.holder ?= { faith = scope:actor.faith }
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls influence_head_of_faith_candidacy_target_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.