Scripted effect · By God Alone files
pam_heresy_c3_already_declared_setup_effect
pam_heresy_c3_already_declared_setup_effect = yesgame/common/scripted_effects/pam_heresy_shared_effects.txt, line 748 (24 lines). No parameters.
pam_heresy_c3_already_declared_setup_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 748 of its file. It takes no parameters: pam_heresy_c3_already_declared_setup_effect = yes. The game's script calls it in 1 place, among them heresy_historical.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_heresy_shared_effects.txt.
The comment above it in the file
--- Already-declared setup (faith scope) ---
What it does
scope:heresy_faith.main_rite:set_can_convert_to_rite = yes
scope:founder:set_character_faith_with_conversion = scope:heresy_faith
If
a check the game hides
Then
scope:epicenter_ruler.capital_county:set_county_faith = scope:heresy_faith
- scope:epicenter_ruler.capital_county › Every neighboring county:
- Where:
faith = scope:origin_faith
set_county_faith = scope:heresy_faith
- Where:
• 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 (24 lines of game script)
pam_heresy_c3_already_declared_setup_effect = {
# A heresy already declared at game start never passed through the bull that flips its rite type's convert = no.
scope:heresy_faith.main_rite = {
set_can_convert_to_rite = yes
}
scope:founder = {
set_character_faith_with_conversion = scope:heresy_faith
}
if = {
limit = { exists = scope:epicenter_ruler.capital_county }
scope:epicenter_ruler.capital_county = {
set_county_faith = scope:heresy_faith
}
scope:epicenter_ruler.capital_county = {
every_neighboring_county = {
limit = {
faith = scope:origin_faith
}
set_county_faith = scope:heresy_faith
}
}
}
}As written in game/common/scripted_effects/pam_heresy_shared_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_heresy_c3_already_declared_setup_effect.
Events (1)
Source: game/common/scripted_effects/pam_heresy_shared_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.