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

Scripted effect · By God Alone files

gnostic_tenet_learning_effect

gnostic_tenet_learning_effect = yes

game/common/scripted_effects/pam_effects.txt, line 14020 (205 lines). No parameters.

gnostic_tenet_learning_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14020 of its file. It takes no parameters: gnostic_tenet_learning_effect = yes. The game's script calls it in 1 place, among them yearly_playable_pulse (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

  • If

    • The Personal Tenets unlock gnosticism other tenets
    • Not all of these

      • knows_tenet = tenet_astrology
      • knows_tenet = tenet_inner_journey
      • knows_tenet = tenet_esotericism
      • knows_tenet = tenet_miaphysitism
      • knows_tenet = tenet_asceticism
      • knows_tenet = tenet_vows_of_poverty
      • knows_tenet = tenet_pacifism
      • knows_tenet = tenet_mortification_of_the_flesh
      • knows_tenet = tenet_aniconism
      • knows_tenet = tenet_natural_primitivism
      • knows_tenet = tenet_false_conversion_sanction
      • knows_tenet = tenet_consolamentum
      • knows_tenet = tenet_scholasticism
      • knows_tenet = tenet_pursuit_of_knowledge
      • knows_tenet = tenet_alexandrian_catechism
      • knows_tenet = tenet_mendicant_preachers
      • knows_tenet = tenet_reincarnation

    Then

    • …% chance of:
      • 1 of 17 things will happen:
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
        • 6%: Nothing else happens
      • Spiritual fulfillment +3

• 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 (120 lines of game script)
gnostic_tenet_learning_effect = {
	if = {
		limit = {
			has_personal_tenet_flag = gnosticism_other_tenets
			NAND = {
				knows_tenet = tenet_astrology
				knows_tenet = tenet_inner_journey
				knows_tenet = tenet_esotericism
				knows_tenet = tenet_miaphysitism
				knows_tenet = tenet_asceticism
				knows_tenet = tenet_vows_of_poverty
				knows_tenet = tenet_pacifism
				knows_tenet = tenet_mortification_of_the_flesh
				knows_tenet = tenet_aniconism
				knows_tenet = tenet_natural_primitivism
				knows_tenet = tenet_false_conversion_sanction
				knows_tenet = tenet_consolamentum
				knows_tenet = tenet_scholasticism
				knows_tenet = tenet_pursuit_of_knowledge
				knows_tenet = tenet_alexandrian_catechism
				knows_tenet = tenet_mendicant_preachers
				knows_tenet = tenet_reincarnation
			}
		}
		random = {
			chance = {
				value = 10
				if = {
					limit = {
						has_trait_xp = {
							trait = lifestyle_scholar
							value >= 60
						}
					}
					add = 10
				}
				if = {
					limit = {
						has_trait_xp = {
							trait = lifestyle_scholar
							value >= 80
						}
					}
					add = 15
				}
				if = {
					limit = {
						has_trait_xp = {
							trait = lifestyle_scholar
							value >= 100
						}
					}
					add = 15
				}
			}
			random_list = {
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_astrology
						}
					}
					tenet:tenet_astrology = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_inner_journey
						}
					}
					tenet:tenet_inner_journey = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_esotericism
						}
					}
					tenet:tenet_esotericism = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_miaphysitism
						}
					}
					tenet:tenet_miaphysitism = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_asceticism
						}
					}
					tenet:tenet_asceticism = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_vows_of_poverty
						}
					}
					tenet:tenet_vows_of_poverty = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_pacifism
						}
					}
					tenet:tenet_pacifism = { save_scope_as = gnostic_tenet }
				}
				1 = {
					trigger = {
						NOT = {
							knows_tenet = tenet_mortification_of_the_flesh
						}
					}
					tenet:tenet_mortification_of_the_flesh = { save_scope_as = gnostic_tenet }
				}

As written in game/common/scripted_effects/pam_effects.txt.

The first 120 of its 205 lines; the rest is in game/common/scripted_effects/pam_effects.txt from line 14020.

Where it is used

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

On actions (the game's own hooks) (1)

  • yearly_playable_pulse

Source: game/common/scripted_effects/pam_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?