Scripted trigger
characters_have_same_education_group_trigger
characters_have_same_education_group_trigger = { CHARACTER_1 = … CHARACTER_2 = … }game/common/scripted_triggers/00_education_triggers.txt, line 320 (49 lines). Parameters: $CHARACTER_1$, $CHARACTER_2$.
characters_have_same_education_group_trigger is a scripted trigger in Crusader Kings III, written at line 320 of its file. A call passes 2 parameters: CHARACTER_1 and CHARACTER_2. The game's script calls it in 1 place, among them Synergize Friendship (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_education_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (49 lines of game script)
characters_have_same_education_group_trigger = {
# First, we make sure that both characters have an education finalised.
$CHARACTER_1$ = {
OR = {
has_trait = education_diplomacy
has_trait = education_martial
has_trait = education_stewardship
has_trait = education_intrigue
has_trait = education_learning
}
}
$CHARACTER_2$ = {
OR = {
has_trait = education_diplomacy
has_trait = education_martial
has_trait = education_stewardship
has_trait = education_intrigue
has_trait = education_learning
}
}
# Now check for the actual traits.
$CHARACTER_1$ = {
# Diplomacy.
trigger_if = {
limit = { has_trait = education_diplomacy }
$CHARACTER_2$ = { has_trait = education_diplomacy}
}
# Martial.
trigger_if = {
limit = { has_trait = education_martial }
$CHARACTER_2$ = { has_trait = education_martial }
}
# Stewardship.
trigger_if = {
limit = { has_trait = education_stewardship }
$CHARACTER_2$ = { has_trait = education_stewardship }
}
# Intrigue.
trigger_if = {
limit = { has_trait = education_intrigue }
$CHARACTER_2$ = { has_trait = education_intrigue }
}
# Learning.
trigger_if = {
limit = { has_trait = education_learning }
$CHARACTER_2$ = { has_trait = education_learning }
}
}
}As written in game/common/scripted_triggers/00_education_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls characters_have_same_education_group_trigger.
Character interactions (1)
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.