Scripted trigger · By God Alone files
pam_personal_syncretism_exile_rite_trigger
pam_personal_syncretism_exile_rite_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 6836 (45 lines). No parameters.
pam_personal_syncretism_exile_rite_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6836 of its file. It takes no parameters: pam_personal_syncretism_exile_rite_trigger = yes (or no). The game's script calls it in 2 places, among them Invite Syncretic Exiles (decision) and pam_personal_syncretism_exile_rite_probe_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Valid exile pool entry for the personal syncretism decision.
What it checks
- Converted development at least 1
- The rite does not have Prevents Tribal Rulers from changing Government type · Grants the Unreformed Pagan Combat Advantage
If
a check the game hides
Then
root.capital_province.squared_distance(scope:rite_scope.var:associated_county.title_province) <= squared_distance_mega
- You:
If
a check the game hides
Then
NOT = { is_target_in_variable_list = { name = rites_converted_in_counties target = scope:rite_scope } }
- Any sub realm county:
- Their faith is the same as yours
If
a check the game hides
Then
NOT = { is_target_in_variable_list = { name = rites_converted_in_the_county target = scope:rite_scope } }
- Their faith:
• 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 (45 lines of game script)
pam_personal_syncretism_exile_rite_trigger = {
exists = var:converted_development
var:converted_development >= 1
NOT = { rite_has_parameter = unreformed }
exists = var:associated_culture
exists = var:associated_county
save_temporary_scope_as = rite_scope
trigger_if = {
limit = {
root = { exists = capital_province }
exists = var:associated_county
}
"root.capital_province.squared_distance(scope:rite_scope.var:associated_county.title_province)" <= squared_distance_mega
}
root = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = scope:rite_scope
}
}
}
any_sub_realm_county = {
faith = root.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = scope:rite_scope
}
}
}
}
}
faith = {
pam_personal_syncretism_faith_matches_trigger = yes
}
}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_personal_syncretism_exile_rite_trigger.
Decisions (1)
Scripted triggers (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.