Scripted trigger
religious_cb_holder_under_target_can_be_vassalized
religious_cb_holder_under_target_can_be_vassalized = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 949 (17 lines). No parameters.
religious_cb_holder_under_target_can_be_vassalized is a scripted trigger in Crusader Kings III, written at line 949 of its file. It takes no parameters: religious_cb_holder_under_target_can_be_vassalized = yes (or no). The game's script calls it in 2 places, among them conquest_cb_title_transfer (scripted effect) and expedition_cb_title_transfer (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
• 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 (17 lines of game script)
religious_cb_holder_under_target_can_be_vassalized = {
conquest_cb_holder_under_target_can_be_vassalized = yes
# Religious Tolerance Check
OR = {
# For all Faiths, if the attacker views this vassal's faith more favorably than the defender does, they are 'liberated' and become vassals under the attacker.
# For example, if Catholics are crusading against Ash'aris(viewed as Evil), any Messalian vassals (viewed as Hostile) will become vassals under the Catholic attacker.
scope:attacker.faith = {
faith_hostility_level_comparison = {
prev.holder.faith < scope:defender.faith
}
}
# Pluralist faiths always attempt to preserve vassals if possible, even if the vassal follows an Evil faith.
scope:attacker.rite = { rite_has_parameter = pluralism_pluralistic_holy_wars_preserve_vassals }
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls religious_cb_holder_under_target_can_be_vassalized.
Scripted effects (2)
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.