Scripted trigger
councillor_is_unskilled_trigger
councillor_is_unskilled_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_councillor_triggers.txt, line 1345 (19 lines). Parameters: $EMPLOYER$.
councillor_is_unskilled_trigger is a scripted trigger in Crusader Kings III, written at line 1345 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 2 places, among them … Mistakes (event bp1_yearly.8192) and Unpopular Favorite (event bp1_yearly.8100). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.
What it checks
If
$EMPLOYER$.cp:councillor_chancellor ?= this
Then
- Diplomacy less than 8
Else if
$EMPLOYER$.cp:councillor_steward ?= this
Then
- Stewardship less than 8
Else if
$EMPLOYER$.cp:councillor_marshal ?= this
Then
- Martial less than 8
Else if
$EMPLOYER$.cp:councillor_spymaster ?= this
Then
- Intrigue less than 8
Otherwise
- Learning less than 8
• 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 (19 lines of game script)
councillor_is_unskilled_trigger = {
trigger_if = {
limit = { $EMPLOYER$.cp:councillor_chancellor ?= this }
diplomacy < mediocre_skill_rating
}
trigger_else_if = {
limit = { $EMPLOYER$.cp:councillor_steward ?= this }
stewardship < mediocre_skill_rating
}
trigger_else_if = {
limit = { $EMPLOYER$.cp:councillor_marshal ?= this }
martial < mediocre_skill_rating
}
trigger_else_if = {
limit = { $EMPLOYER$.cp:councillor_spymaster ?= this }
intrigue < mediocre_skill_rating
}
trigger_else = { learning < mediocre_skill_rating }
}As written in game/common/scripted_triggers/00_councillor_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls councillor_is_unskilled_trigger.
Events (2)
- … Mistakes
bp1_yearly.8192 - Unpopular Favorite
bp1_yearly.8100
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.