Scripted trigger
had_learning_education_affinity_childhood_trait_trigger
had_learning_education_affinity_childhood_trait_trigger = yesgame/common/scripted_triggers/00_education_triggers.txt, line 283 (7 lines). No parameters.
had_learning_education_affinity_childhood_trait_trigger is a scripted trigger in Crusader Kings III, written at line 283 of its file. It takes no parameters: had_learning_education_affinity_childhood_trait_trigger = yes (or no). The game's script calls it in 1 place, among them GoodOrBadChildhoodTraitMatch (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/00_education_triggers.txt.
What it checks
- Has “childhood trait type” (a variable the game's script sets)
One of these
- Childhood trait type is pensive
or
Childhood trait type is curious
• 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 (7 lines of game script)
had_learning_education_affinity_childhood_trait_trigger = {
has_variable = childhood_trait_type
OR = {
var:childhood_trait_type = flag:pensive
var:childhood_trait_type = flag:curious
}
}As written in game/common/scripted_triggers/00_education_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls had_learning_education_affinity_childhood_trait_trigger.
Customizable localization (1)
- GoodOrBadChildhoodTraitMatch
Source: game/common/scripted_triggers/00_education_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.