Scripted trigger
personality_can_trait_shift
personality_can_trait_shift = yesgame/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
or
or
or
or
All of these
scope:has_opposing_trait = flag:gregarious- Has the Trait: Gregarious
or
or
or
or
or
or
or
or
or
All of these
scope:has_opposing_trait = flag:gluttonous- Has the Trait: Gluttonous
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
All of these
scope:has_opposing_trait = flag:compassionate- Has the Trait: Compassionate
or
or
or
or
or
or
• 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:callousAs 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.
Events (1)
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.