Scripted trigger
vassal_follows_directive_trigger
vassal_follows_directive_trigger = { LIEGE = … VASSAL = … }game/common/scripted_triggers/00_vassal_stance_triggers.txt, line 55 (26 lines). Parameters: $LIEGE$, $VASSAL$.
vassal_follows_directive_trigger is a scripted trigger in Crusader Kings III, written at line 55 of its file. A call passes 2 parameters: LIEGE and VASSAL. The game's script calls it in 2 places, among them Give Vassal Directive (interaction) and vassal_is_valid_and_follows_directive_trigger (scripted trigger). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_vassal_stance_triggers.txt.
What it checks
$VASSAL$ = { save_temporary_scope_as = directive_vassal }$LIEGE$ = { save_temporary_scope_as = directive_liege }scope:directive_vassal:One of these
- … has the Bureaucratic
or
Opinion of directive_liege at least 50or
Has the Trait: Trustingor
Has the Trait: Loyalor
scope:directive_liege:has_relation_friend = scope:directive_vassal
or
scope:directive_liege:has_relation_lover = scope:directive_vassal
or
scope:directive_liege:has_strong_hook = scope:directive_vassal
or
scope:directive_liege: Has the Absolute Control Perkor
scope:directive_liege: Has the Honored to Serve Perkor
scope:directive_liege: Has the Absolute Crown Authority Lawor
scope:directive_liege: Has the Absolute Church Authority Lawor
scope:directive_liege: Legitimacy Level is at least 5
• 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 (26 lines of game script)
vassal_follows_directive_trigger = {
$VASSAL$ = { save_temporary_scope_as = directive_vassal }
$LIEGE$ = { save_temporary_scope_as = directive_liege }
scope:directive_vassal = {
OR = {
custom_tooltip = {
text = has_admin_gov
government_has_mechanic = administrative
}
opinion = {
value >= 50
target = scope:directive_liege
}
has_trait = trusting
has_trait = loyal
scope:directive_liege = { has_relation_friend = scope:directive_vassal }
scope:directive_liege = { has_relation_lover = scope:directive_vassal }
scope:directive_liege = { has_strong_hook = scope:directive_vassal }
scope:directive_liege = { has_perk = absolute_control_perk }
scope:directive_liege = { has_perk = honored_to_serve_perk }
scope:directive_liege = { has_realm_law = crown_authority_3 }
scope:directive_liege = { has_realm_law = church_authority_3 }
scope:directive_liege = { legitimacy_level >= 5 }
}
}
}As written in game/common/scripted_triggers/00_vassal_stance_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls vassal_follows_directive_trigger.
Character interactions (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/00_vassal_stance_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.