Scripted effect
demote_holy_site_effect
demote_holy_site_effect = { HOLY_SITE = … }game/common/scripted_effects/00_religion_effects.txt, line 1276 (8 lines). Parameters: $HOLY_SITE$.
demote_holy_site_effect is a scripted effect in Crusader Kings III, written at line 1276 of its file. A call passes 1 parameter: HOLY_SITE. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.
The comment above it in the file
Demotion takes $HOLY_SITE$ as the holy site, and this runs on the faith An eminent site becomes regular, and a regular site is removed from the faith
What it does
If
can_demote_holy_site = $HOLY_SITE$
Then
demote_holy_site = $HOLY_SITE$
• 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 (8 lines of game script)
demote_holy_site_effect = {
if = {
limit = {
can_demote_holy_site = $HOLY_SITE$
}
demote_holy_site = $HOLY_SITE$
}
}As written in game/common/scripted_effects/00_religion_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/00_religion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.