Scripted trigger · By God Alone files
eligible_for_pam_legacy_trigger
eligible_for_pam_legacy_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 6918 (12 lines). No parameters.
eligible_for_pam_legacy_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6918 of its file. It takes no parameters: eligible_for_pam_legacy_trigger = yes (or no). The game's script calls it in 5 places, among them A Faithful Flock (dynasty legacy), Alms and Endowments (dynasty legacy) and Mitre and Crosier (dynasty legacy). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
One of these
game_rule_unrestricted_dynasty_legacies_trigger = yesor
Their dynasty:One of these
dynast = { faith.religion = religion:christianity_religion }or
The Dynasty has the Private Devotions Legacy
• 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 (12 lines of game script)
eligible_for_pam_legacy_trigger = {
has_pam_dlc_trigger = yes
OR = {
game_rule_unrestricted_dynasty_legacies_trigger = yes
dynasty = {
OR = {
dynast = { faith.religion = religion:christianity_religion }
has_dynasty_perk = pam_legacy_1
}
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls eligible_for_pam_legacy_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.