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

Scripted trigger

has_same_education_trait_as_character_trigger

has_same_education_trait_as_character_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_general_trait_triggers.txt, line 1072 (24 lines). Parameters: $CHARACTER$.

has_same_education_trait_as_character_trigger is a scripted trigger in Crusader Kings III, written at line 1072 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them The Conversation Partner (event feast_default.6111). Patch 1.20.1.2, from game/common/scripted_triggers/00_general_trait_triggers.txt.

What it checks

  • One of these

    • All of these

      • Has the Trait: Students of Diplomacy
      • $CHARACTER$ = { has_trait = education_diplomacy }
    • or

      All of these

      • Has the Trait: Students of Warfare
      • $CHARACTER$ = { has_trait = education_martial }
    • or

      All of these

      • Has the Trait: Students of Stewardship
      • $CHARACTER$ = { has_trait = education_stewardship }
    • or

      All of these

      • Has the Trait: Students of Intrigue
      • $CHARACTER$ = { has_trait = education_intrigue }
    • or

      All of these

      • Has the Trait: Students of Knowledge
      • $CHARACTER$ = { has_trait = education_learning }

• 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 (24 lines of game script)
has_same_education_trait_as_character_trigger = {
	OR = {
		AND = {
			has_trait = education_diplomacy
			$CHARACTER$ = { has_trait = education_diplomacy }
		}
		AND = {
			has_trait = education_martial
			$CHARACTER$ = { has_trait = education_martial }
		}
		AND = {
			has_trait = education_stewardship
			$CHARACTER$ = { has_trait = education_stewardship }
		}
		AND = {
			has_trait = education_intrigue
			$CHARACTER$ = { has_trait = education_intrigue }
		}
		AND = {
			has_trait = education_learning
			$CHARACTER$ = { has_trait = education_learning }
		}
	}
}

As written in game/common/scripted_triggers/00_general_trait_triggers.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_triggers/00_general_trait_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?