Scripted trigger · Khans of the Steppe files
gok_desirable_vassal_trigger
gok_desirable_vassal_trigger = yesgame/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 242 (39 lines). No parameters.
gok_desirable_vassal_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 242 of its file. It takes no parameters: gok_desirable_vassal_trigger = yes (or no). The game's script calls it in 1 place, among them Greatest of Khans' Onslaught (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
What it checks
One of these
- Ai boldness at most -20
or
Has the Trait: Loyalor
is_obedient_to = scope:gokor
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:gok }or
All of these
exists = scope:gok.dynastydynasty ?= scope:gok.dynasty
or
is_allied_to = scope:gokor
Opinion of gok more than 20or
All of these
- Highest held Title is less than Kingdom Rank
- Their culture:
One of these
- The culture has the tradition Loyal Subjects
or
The culture has the tradition Pacifistsor
The culture has the tradition Xenophilicor
The culture has the tradition Modestor
The culture has the tradition Malleable Subjects
or
If their faith is the same as that of gok: Opinion of gok at least -20
• 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 (39 lines of game script)
gok_desirable_vassal_trigger = {
OR = {
ai_boldness <= low_negative_ai_value
has_trait = loyal
is_obedient_to = scope:gok
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:gok }
AND = {
exists = scope:gok.dynasty
dynasty ?= scope:gok.dynasty
}
is_allied_to = scope:gok
opinion = {
target = scope:gok
value > 20
}
#Dukes from pliant cultures are cool
AND = {
highest_held_title_tier < tier_kingdom
culture = {
OR = {
has_cultural_tradition = tradition_loyal_soldiers
has_cultural_tradition = tradition_pacifism
has_cultural_tradition = tradition_xenophilic
has_cultural_tradition = tradition_modest
has_cultural_tradition = tradition_fp2_malleable_subjects
}
}
}
trigger_if = {
limit = {
faith = scope:gok.faith
}
opinion = {
target = scope:gok
value >= -20
}
}
}
}As written in game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gok_desirable_vassal_trigger.
Casus belli (1)
Source: game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.