Scripted trigger
spouse_learning_tier_2_trigger
spouse_learning_tier_2_trigger = yesgame/common/scripted_triggers/00_councillor_triggers.txt, line 768 (22 lines). No parameters.
spouse_learning_tier_2_trigger is a scripted trigger in Crusader Kings III, written at line 768 of its file. It takes no parameters: spouse_learning_tier_2_trigger = yes (or no). The game's script calls it in 13 places, among them …: … Dissidents (event councillor_spouse_learning.2001), …: Broadening Horizons (event councillor_spouse_learning.2602) and …: Further Education (event councillor_spouse_learning.2601). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.
What it checks
scope:councillor:- Opinion of liege more than 30
• 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 (22 lines of game script)
spouse_learning_tier_2_trigger = {
scope:councillor = {
opinion = {
target = liege
value > 30
}
OR = {
has_character_modifier = councillor_spouse_learning_2_modifier
has_trait = erudite
learning >= spouse_skill_rating_3
AND = {
is_performing_council_task = task_patronage
OR = {
learning >= spouse_skill_rating_2
has_character_modifier = councillor_spouse_learning_2_modifier
has_character_modifier = councillor_spouse_learning_1_modifier
has_trait = erudite
}
}
}
}
}As written in game/common/scripted_triggers/00_councillor_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls spouse_learning_tier_2_trigger.
Events (12)
- …: … Dissidents
councillor_spouse_learning.2001 - …: Broadening Horizons
councillor_spouse_learning.2602 - …: Further Education
councillor_spouse_learning.2601 - …: Up to the Task
councillor_spouse_learning.2603 - councillor_spouse_learning.1001
- councillor_spouse_learning.1002
Scripted effects (1)
Source: game/common/scripted_triggers/00_councillor_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.