Scripted trigger
holy_site_adoptable_by_character_trigger
holy_site_adoptable_by_character_trigger = { CHARACTER = … }game/common/scripted_triggers/00_religious_triggers.txt, line 1988 (24 lines). Parameters: $CHARACTER$.
holy_site_adoptable_by_character_trigger is a scripted trigger in Crusader Kings III, written at line 1988 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Adopt Holy Site (decision). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
- Any holy site faith:
One of these
$CHARACTER$.rite = { rite_has_parameter = allow_adopt_any_holy_site }or
All of these
One of these
religion = $CHARACTER$.faith.religionor
$CHARACTER$.faith = { … }
$CHARACTER$.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 (24 lines of game script)
holy_site_adoptable_by_character_trigger = {
any_holy_site_faith = {
save_temporary_scope_as = compare_faith
OR = {
$CHARACTER$.rite = { rite_has_parameter = allow_adopt_any_holy_site }
AND = {
OR = {
religion = $CHARACTER$.faith.religion
$CHARACTER$.faith = {
faith_is_syncretic_with = {
FAITH = scope:compare_faith
}
}
}
$CHARACTER$.faith = {
faith_hostility_level = {
target = prev
value <= faith_astray_level
}
}
}
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls holy_site_adoptable_by_character_trigger.
Decisions (1)
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.