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

Scripted trigger

personality_can_trait_shift

personality_can_trait_shift = yes

game/common/scripted_triggers/00_personality_trait_triggers.txt, line 49 (144 lines). No parameters.

personality_can_trait_shift is a scripted trigger in Crusader Kings III, written at line 49 of its file. It takes no parameters: personality_can_trait_shift = yes (or no). The game's script calls it in 1 place, among them diplomacy_family_special.2232 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_personality_trait_triggers.txt.

The comment above it in the file

Checks if we can safely run the

What it checks

  • One of these

    • All of these

      • scope:has_opposing_trait = flag:arrogant
      • Has the Trait: Arrogant
    • or

      All of these

      • scope:has_opposing_trait = flag:humble
      • Has the Trait: Humble
    • or

      All of these

      • scope:has_opposing_trait = flag:lustful
      • Has the Trait: Lustful
    • or

      All of these

      • scope:has_opposing_trait = flag:chaste
      • Has the Trait: Chaste
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:shy
      • Has the Trait: Shy
    • or

      All of these

      • scope:has_opposing_trait = flag:generous
      • Has the Trait: Generous
    • or

      All of these

      • scope:has_opposing_trait = flag:greedy
      • Has the Trait: Greedy
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:content
      • Has the Trait: Content
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:patient
      • Has the Trait: Patient
    • or

      All of these

    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:diligent
      • Has the Trait: Diligent
    • or

      All of these

      • scope:has_opposing_trait = flag:lazy
      • Has the Trait: Lazy
    • or

      All of these

      • scope:has_opposing_trait = flag:wrathful
      • Has the Trait: Wrathful
    • or

      All of these

      • scope:has_opposing_trait = flag:calm
      • Has the Trait: Calm
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:honest
      • Has the Trait: Honest
    • or

      All of these

      • scope:has_opposing_trait = flag:craven
      • Has the Trait: Craven
    • or

      All of these

      • scope:has_opposing_trait = flag:brave
      • Has the Trait: Brave
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:just
      • Has the Trait: Just
    • or

      All of these

      • scope:has_opposing_trait = flag:cynical
      • Has the Trait: Cynical
    • or

      All of these

      • scope:has_opposing_trait = flag:zealous
      • Has the Trait: Zealous
    • or

      All of these

      • scope:has_opposing_trait = flag:paranoid
      • Has the Trait: Paranoid
    • or

      All of these

      • scope:has_opposing_trait = flag:trusting
      • Has the Trait: Trusting
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:callous
      • Has the Trait: Callous
    • or

      All of these

      • scope:has_opposing_trait = flag:sadistic
      • Has the Trait: Sadistic
    • or

      All of these

    • or

      All of these

      • scope:has_opposing_trait = flag:vengeful
      • Has the Trait: Vengeful
    • or

      All of these

      • scope:has_opposing_trait = flag:stubborn
      • Has the Trait: Stubborn
    • or

      All of these

      • scope:has_opposing_trait = flag:fickle
      • Has the Trait: Fickle

• 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)
personality_can_trait_shift = {
	OR = {
		AND = {
			scope:has_opposing_trait = flag:arrogant
			has_trait = arrogant
		}
		AND = {
			scope:has_opposing_trait = flag:humble
			has_trait = humble
		}
		AND = {
			scope:has_opposing_trait = flag:lustful
			has_trait = lustful
		}
		AND = {
			scope:has_opposing_trait = flag:chaste
			has_trait = chaste
		}
		AND = {
			scope:has_opposing_trait = flag:gregarious
			has_trait = gregarious
		}
		AND = {
			scope:has_opposing_trait = flag:shy
			has_trait = shy
		}
		AND = {
			scope:has_opposing_trait = flag:generous
			has_trait = generous
		}
		AND = {
			scope:has_opposing_trait = flag:greedy
			has_trait = greedy
		}
		AND = {
			scope:has_opposing_trait = flag:ambitious
			has_trait = ambitious
		}
		AND = {
			scope:has_opposing_trait = flag:content
			has_trait = content
		}
		AND = {
			scope:has_opposing_trait = flag:impatient
			has_trait = impatient
		}
		AND = {
			scope:has_opposing_trait = flag:patient
			has_trait = patient
		}
		AND = {
			scope:has_opposing_trait = flag:temperate
			has_trait = temperate
		}
		AND = {
			scope:has_opposing_trait = flag:gluttonous
			has_trait = gluttonous
		}
		AND = {
			scope:has_opposing_trait = flag:diligent
			has_trait = diligent
		}
		AND = {
			scope:has_opposing_trait = flag:lazy
			has_trait = lazy
		}
		AND = {
			scope:has_opposing_trait = flag:wrathful
			has_trait = wrathful
		}
		AND = {
			scope:has_opposing_trait = flag:calm
			has_trait = calm
		}
		AND = {
			scope:has_opposing_trait = flag:deceitful
			has_trait = deceitful
		}
		AND = {
			scope:has_opposing_trait = flag:honest
			has_trait = honest
		}
		AND = {
			scope:has_opposing_trait = flag:craven
			has_trait = craven
		}
		AND = {
			scope:has_opposing_trait = flag:brave
			has_trait = brave
		}
		AND = {
			scope:has_opposing_trait = flag:arbitrary
			has_trait = arbitrary
		}
		AND = {
			scope:has_opposing_trait = flag:just
			has_trait = just
		}
		AND = {
			scope:has_opposing_trait = flag:cynical
			has_trait = cynical
		}
		AND = {
			scope:has_opposing_trait = flag:zealous
			has_trait = zealous
		}
		AND = {
			scope:has_opposing_trait = flag:paranoid
			has_trait = paranoid
		}
		AND = {
			scope:has_opposing_trait = flag:trusting
			has_trait = trusting
		}
		AND = {
			scope:has_opposing_trait = flag:compassionate
			has_trait = compassionate
		}
		AND = {
			scope:has_opposing_trait = flag:callous

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

The first 120 of its 144 lines; the rest is in game/common/scripted_triggers/00_personality_trait_triggers.txt from line 49.

Where it is used

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

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