Scripted trigger · By God Alone files
pam_monastic_tenet_spread_target_trigger
pam_monastic_tenet_spread_target_trigger = { ORDER_LEADER = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 5136 (29 lines). Parameters: $ORDER_LEADER$.
pam_monastic_tenet_spread_target_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5136 of its file. A call passes 1 parameter: ORDER_LEADER. The game's script calls it in 3 places, among them Propagate Order Dogma (interaction), yearly_holy_order_pulse (on action) and monastic_belief_spreading_targeting_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Is an Adult
faith = $ORDER_LEADER$.faith- No personal tenet:
• 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 (29 lines of game script)
pam_monastic_tenet_spread_target_trigger = {
is_adult = yes
faith = $ORDER_LEADER$.faith
NOR = {
any_personal_tenet = {
this = $ORDER_LEADER$.holy_order.order_tenet
}
is_in_list = personal_tenet_targets
}
trigger_if = {
limit = {
faith.main_rite = {
has_tenet_status = {
tenet = $ORDER_LEADER$.holy_order.order_tenet
status = prohibited
}
}
}
pam_ai_can_consider_forbidden_personal_tenet_trigger = yes
}
trigger_if = {
limit = {
exists = scope:actor
}
NOT = {
this = scope:actor
}
}
}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_monastic_tenet_spread_target_trigger.
Character interactions (1)
On actions (the game's own hooks) (1)
- yearly_holy_order_pulse
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.