Scripted trigger · Friends and Foes files
bp1_yearly_8100_sycophant_trigger
bp1_yearly_8100_sycophant_trigger = { LIEGE = … }game/common/scripted_triggers/03_bp1_scripted_triggers.txt, line 161 (30 lines). Parameters: $LIEGE$.
bp1_yearly_8100_sycophant_trigger is a scripted trigger in Crusader Kings III, in the Friends and Foes files, written at line 161 of its file. A call passes 1 parameter: LIEGE. The game's script calls it in 2 places, among them The Sycophant (story cycle) and Unpopular Favorite (event bp1_yearly.8100). Patch 1.20.1.2, from game/common/scripted_triggers/03_bp1_scripted_triggers.txt.
What it checks
is_available_ai_adult = yesliege = $LIEGE$- Opinion from $LIEGE$ at least 25
NOT = { is_vassal_of = $LIEGE$ }One of these
has_relation_lover = $LIEGE$or
has_relation_friend = $LIEGE$or
can_set_relation_friend_trigger = { CHARACTER = $LIEGE$ }or
Any secret:secret_target = $LIEGE$
NOT = { is_close_or_extended_family_of = $LIEGE$ }
• 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 (30 lines of game script)
bp1_yearly_8100_sycophant_trigger = {
is_available_ai_adult = yes
liege = $LIEGE$
reverse_opinion = {
target = $LIEGE$
value >= 25
}
NOT = { is_vassal_of = $LIEGE$ }
trigger_if = {
limit = { exists = $LIEGE$.cp:councillor_spouse }
NOT = { this = $LIEGE$.cp:councillor_spouse }
}
trigger_if = {
limit = {
$LIEGE$.rite = { rite_has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment }
exists = $LIEGE$.cp:councillor_court_chaplain
}
NOT = { this = $LIEGE$.cp:councillor_court_chaplain }
}
OR = {
has_relation_lover = $LIEGE$
has_relation_friend = $LIEGE$
can_set_relation_friend_trigger = { CHARACTER = $LIEGE$ }
any_secret = {
type = secret_lover
secret_target = $LIEGE$
}
}
NOT = { is_close_or_extended_family_of = $LIEGE$ }
}As written in game/common/scripted_triggers/03_bp1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls bp1_yearly_8100_sycophant_trigger.
Story cycles (1)
- The Sycophant
Events (1)
- Unpopular Favorite
bp1_yearly.8100
Source: game/common/scripted_triggers/03_bp1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.