Scripted trigger
faith_is_in_same_rf
faith_is_in_same_rf = { FAITH = … }game/common/scripted_triggers/00_religious_triggers.txt, line 3550 (21 lines). Parameters: $FAITH$.
faith_is_in_same_rf is a scripted trigger in Crusader Kings III, written at line 3550 of its file. A call passes 1 parameter: FAITH. The game's script calls it in 6 places, among them Cease Paying Tribute (interaction), Embrace as Tributary (interaction) and Submit to Suzerain (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
If
is_in_family = rf_abrahamic
Then
$FAITH$ = { is_in_family = rf_abrahamic }
Else if
is_in_family = rf_pagan
Then
$FAITH$ = { is_in_family = rf_pagan }
Else if
is_in_family = rf_eastern
Then
$FAITH$ = { is_in_family = rf_eastern }
Else if
is_in_family = rf_sinitic
Then
$FAITH$ = { is_in_family = rf_sinitic }
Otherwise
- Never
• 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 (21 lines of game script)
faith_is_in_same_rf = {
trigger_if = {
limit = { is_in_family = rf_abrahamic }
$FAITH$ = { is_in_family = rf_abrahamic }
}
trigger_else_if = {
limit = { is_in_family = rf_pagan }
$FAITH$ = { is_in_family = rf_pagan }
}
trigger_else_if = {
limit = { is_in_family = rf_eastern }
$FAITH$ = { is_in_family = rf_eastern }
}
trigger_else_if = {
limit = { is_in_family = rf_sinitic }
$FAITH$ = { is_in_family = rf_sinitic }
}
trigger_else = {
always = no
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls faith_is_in_same_rf.
Character interactions (3)
Events (1)
- The Grand …
fp1_other_decisions.0003
Scripted triggers (1)
Script values (1)
- faith_conversion_cost_mult
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.