CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · By God Alone files

is_in_same_religious_family_trigger

is_in_same_religious_family_trigger = { FAITH = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 4041 (20 lines). Parameters: $FAITH$.

is_in_same_religious_family_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4041 of its file. A call passes 1 parameter: FAITH. The game's script calls it in 1 place, among them Find Adherent (scheme). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • One of these

    • All of these

      • is_in_family = rf_abrahamic
      • $FAITH$ = { is_in_family = rf_abrahamic }
    • or

      All of these

      • is_in_family = rf_eastern
      • $FAITH$ = { is_in_family = rf_eastern }
    • or

      All of these

      • is_in_family = rf_sinitic
      • $FAITH$ = { is_in_family = rf_sinitic }
    • or

      All of these

      • is_in_family = rf_pagan
      • $FAITH$ = { is_in_family = rf_pagan }

• 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 (20 lines of game script)
is_in_same_religious_family_trigger = {
	OR = {
		AND = {
			is_in_family = rf_abrahamic
			$FAITH$ = { is_in_family = rf_abrahamic }
		}
		AND = {
			is_in_family = rf_eastern
			$FAITH$ = { is_in_family = rf_eastern }
		}
		AND = {
			is_in_family = rf_sinitic
			$FAITH$ = { is_in_family = rf_sinitic }
		}
		AND = {
			is_in_family = rf_pagan
			$FAITH$ = { is_in_family = rf_pagan }
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls is_in_same_religious_family_trigger.

Schemes (1)

  • Find Adherent

Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?