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

Scripted effect

discover_syncretism_tenet_effect

discover_syncretism_tenet_effect = yes

game/common/scripted_effects/00_religion_effects.txt, line 884 (82 lines). No parameters.

discover_syncretism_tenet_effect is a scripted effect in Crusader Kings III, written at line 884 of its file. It takes no parameters: discover_syncretism_tenet_effect = yes. The game's script calls it in 4 places, among them Study Rite: A Breakthrough (event study_faith_outcome.1000), Study Rite: A Tenet Comes Into Focus (event study_faith_outcome.1200) and Study Rite: Beyond My Reach (event study_faith_outcome.1500). Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.

The comment above it in the file

Called from Study Faith success outcomes.

What it does

  • If

    Then

    • If

      • scope:target.religion = religion:christianity_religion
      • Their religion is Christianity
      • NOT = { knows_tenet = tenet_christian_syncretism }

      Then

      • add_known_tenet = tenet_christian_syncretism

      Else if

      • scope:target.religion = religion:islam_religion
      • Their religion is Islam
      • NOT = { knows_tenet = tenet_islamic_syncretism }

      Then

      • add_known_tenet = tenet_islamic_syncretism

      Else if

      • scope:target.religion = religion:judaism_religion
      • Their religion is Judaism
      • NOT = { knows_tenet = tenet_jewish_syncretism }

      Then

      • add_known_tenet = tenet_jewish_syncretism

      Else if

      • scope:target.faith: Has the Dharmic Doctrine
      • Their faith:
      • NOT = { knows_tenet = tenet_eastern_syncretism }

      Then

      • add_known_tenet = tenet_eastern_syncretism

      Else if

      • scope:target.faith: Has the Sinitic Doctrine
      • Their faith:
      • NOT = { knows_tenet = tenet_sinitic_syncretism }

      Then

      • add_known_tenet = tenet_sinitic_syncretism

      Else if

      • scope:target.faith:
        • One of these

      • Their faith: Does not have the Pagan Doctrine
      • NOT = { knows_tenet = tenet_unreformed_syncretism }

      Then

      • add_known_tenet = tenet_unreformed_syncretism

• 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 (82 lines of game script)
discover_syncretism_tenet_effect = {
	if = {
		limit = { is_playable_character = yes }
		if = {
			limit = {
				scope:target.religion = religion:christianity_religion
				religion != religion:christianity_religion
				NOT = {
					knows_tenet = tenet_christian_syncretism
				}
			}
			add_known_tenet = tenet_christian_syncretism
		}
		else_if = {
			limit = {
				scope:target.religion = religion:islam_religion
				religion != religion:islam_religion
				NOT = {
					knows_tenet = tenet_islamic_syncretism
				}
			}
			add_known_tenet = tenet_islamic_syncretism
		}
		else_if = {
			limit = {
				scope:target.religion = religion:judaism_religion
				religion != religion:judaism_religion
				NOT = {
					knows_tenet = tenet_jewish_syncretism
				}
			}
			add_known_tenet = tenet_jewish_syncretism
		}
		else_if = {
			limit = {
				scope:target.faith = { has_doctrine = eastern_hostility_doctrine }
				faith = {
					OR = {
						has_doctrine = abrahamic_hostility_doctrine
						has_doctrine = pagan_hostility_doctrine
						has_doctrine = sinitic_hostility_doctrine
					}
				}
				NOT = { knows_tenet = tenet_eastern_syncretism }
			}
			add_known_tenet = tenet_eastern_syncretism
		}
		else_if = {
			limit = {
				scope:target.faith = { has_doctrine = sinitic_hostility_doctrine }
				faith = {
					OR = {
						has_doctrine = abrahamic_hostility_doctrine
						has_doctrine = pagan_hostility_doctrine
						has_doctrine = eastern_hostility_doctrine
					}
				}
				NOT = { knows_tenet = tenet_sinitic_syncretism }
			}
			add_known_tenet = tenet_sinitic_syncretism
		}
		else_if = {
			limit = {
				scope:target.faith = {
					OR = {
						has_doctrine = unreformed_faith_doctrine
						has_doctrine = west_african_unreformed_faith_doctrine
					}
				}
				faith = {
					NOT = {
						has_doctrine = pagan_hostility_doctrine
					}
				}
				NOT = {
					knows_tenet = tenet_unreformed_syncretism
				}
			}
			add_known_tenet = tenet_unreformed_syncretism
		}
	}
}

As written in game/common/scripted_effects/00_religion_effects.txt.

Where it is used

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

Events (4)

Source: game/common/scripted_effects/00_religion_effects.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?