Scripted trigger
is_heretic_trigger
is_heretic_trigger = { TARGET = … WHO = … }game/common/scripted_triggers/00_religious_triggers.txt, line 1162 (9 lines). Parameters: $TARGET$, $WHO$.
is_heretic_trigger is a scripted trigger in Crusader Kings III, written at line 1162 of its file. A call passes 2 parameters: TARGET and WHO. The game's script calls it in 4 places, among them A Matter of Faith? (event bp2_adult_education.1080), GetUnbelieverAndForeignerTerm (custom loc) and GetUnbelieverTerm (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (9 lines of game script)
is_heretic_trigger = {
$WHO$.faith.religion = $TARGET$.faith.religion
$WHO$.faith = {
faith_hostility_level = {
target = $TARGET$.faith
value >= religious_cb_enabled_hostility_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 is_heretic_trigger.
Events (1)
- A Matter of Faith?
bp2_adult_education.1080
Customizable localization (3)
- GetUnbelieverAndForeignerTerm
- GetUnbelieverTerm
- GetUnbelieverTermAdjective
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.