Scripted trigger · By God Alone files
pam_ai_can_consider_forbidden_personal_tenet_trigger
pam_ai_can_consider_forbidden_personal_tenet_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 3037 (21 lines). No parameters.
pam_ai_can_consider_forbidden_personal_tenet_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3037 of its file. It takes no parameters: pam_ai_can_consider_forbidden_personal_tenet_trigger = yes (or no). The game's script calls it in 9 places, among them A Toast to Conviction (event pam_spread_tenet_events.0301), Around the Fire (event pam_spread_tenet_events.0101) and Between the Bouts (event pam_spread_tenet_events.0201). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Ai boldness at least -25
One of these
- Ai zeal at least 100
or
All of these
- Ai boldness at least 100
- Ai zeal at least 0
or
All of these
- Ai rationality less than 0
- Ai zeal at least 0
- Does not have the Trait: Humble
- Does not have the Trait: Content
pam_holds_college_elected_church_seat_trigger = no
• 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 (21 lines of game script)
pam_ai_can_consider_forbidden_personal_tenet_trigger = {
ai_boldness >= -25
OR = {
ai_zeal >= 100
AND = {
ai_boldness >= 100
ai_zeal >= 0
}
AND = {
ai_rationality < 0
ai_zeal >= 0
}
}
NOR = {
has_trait = humble
has_trait = content
}
# Clergy: a prohibited personal tenet is a criminal secret, so the elected pontiff never considers one
# This goes last because it iterates held titles, unlike the simple checks above
pam_holds_college_elected_church_seat_trigger = no
}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_ai_can_consider_forbidden_personal_tenet_trigger.
Events (5)
- A Toast to Conviction
pam_spread_tenet_events.0301 - Around the Fire
pam_spread_tenet_events.0101 - Between the Bouts
pam_spread_tenet_events.0201 - Table Talk
pam_spread_tenet_events.0001 - Words at the Wake
pam_spread_tenet_events.0401
Scripted effects (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.