Scripted trigger
is_infidel_trigger
is_infidel_trigger = { TARGET = … WHO = … }game/common/scripted_triggers/00_religious_triggers.txt, line 1185 (12 lines). Parameters: $TARGET$, $WHO$.
is_infidel_trigger is a scripted trigger in Crusader Kings III, written at line 1185 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 (12 lines of game script)
is_infidel_trigger = {
NOT = { $WHO$.faith.religion = $TARGET$.faith.religion }
$TARGET$.faith = {
NOT = { has_doctrine = pagan_hostility_doctrine }
}
$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_infidel_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.