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
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
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 (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)
- The Conversation Partner
feast_default.6111
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.