Scripted trigger
spouse_learning_tier_3_trigger
spouse_learning_tier_3_trigger = yesgame/common/scripted_triggers/00_councillor_triggers.txt, line 791 (20 lines). No parameters.
spouse_learning_tier_3_trigger is a scripted trigger in Crusader Kings III, written at line 791 of its file. It takes no parameters: spouse_learning_tier_3_trigger = yes (or no). The game's script calls it in 13 places, among them …: … Dissidents (event councillor_spouse_learning.2001), …: A Higher Power (event councillor_spouse_learning.2301) and councillor_spouse_learning.1001 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.
What it checks
scope:councillor:
• 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 (20 lines of game script)
spouse_learning_tier_3_trigger = {
scope:councillor = {
opinion = {
target = liege
value > 50
}
OR = {
has_trait = erudite
learning >= spouse_skill_rating_4
AND = {
is_performing_council_task = task_patronage
OR = {
learning >= spouse_skill_rating_2
has_character_modifier = councillor_spouse_learning_2_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_3_trigger.
Events (11)
- …: … Dissidents
councillor_spouse_learning.2001 - …: A Higher Power
councillor_spouse_learning.2301 - councillor_spouse_learning.1001
- councillor_spouse_learning.1002
- councillor_spouse_learning.1003
- councillor_spouse_learning.1301
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.