Scripted trigger · Khans of the Steppe files
gok_gov_switch_valid_vassal_trigger
gok_gov_switch_valid_vassal_trigger = yesgame/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 383 (20 lines). No parameters.
gok_gov_switch_valid_vassal_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 383 of its file. It takes no parameters: gok_gov_switch_valid_vassal_trigger = yes (or no). The game's script calls it in 2 places, among them gok_final_decision_list_setup (scripted effect) and gok_willing_new_admin_vassal_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
What it checks
- Highest held Title is at least County Rank
- Is landed
- Is played by the AI
NOT = { is_at_war_with = root }None of these
- Any liege or above:
- Is played by a person
NOT = { this = root }
- Any liege or above:
- Their government is not a Theocratic-type Government
- Their government is not Adventurer
• 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)
gok_gov_switch_valid_vassal_trigger = {
highest_held_title_tier >= tier_county
is_landed = yes
is_ai = yes
NOT = {
is_at_war_with = root
}
NOT = {
any_liege_or_above = {
is_ai = no
NOT = {
this = root
}
}
}
NOR = {
government_has_flag = government_is_theocracy
government_has_flag = government_is_landless_adventurer
}
}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_gov_switch_valid_vassal_trigger.
Scripted effects (1)
Scripted triggers (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.