Scripted trigger · Khans of the Steppe files
mpo_gok_submitting_coward_trigger
mpo_gok_submitting_coward_trigger = yesgame/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 129 (69 lines). No parameters.
mpo_gok_submitting_coward_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 129 of its file. It takes no parameters: mpo_gok_submitting_coward_trigger = yes (or no). The game's script calls it in 1 place, among them Become the Greatest of All Khans (decision). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
What it checks
- Is played by the AI
- Is not a member of a Confederation
One of these
is_tributary_of = rootor
Is not a Tributary
- Is landed
- Highest held Title is less than Duchy Rank
NOT = { has_relation_rival = root }One of these
is_imprisoned_by = rootor
Government is unplayableor
has_relation_friend = rootor
All of these
exists = root.househouse ?= root.houseNOT = { is_in_list = anti_gok_coalition_members }
or
Opinion of them at least 100or
Ai boldness at most -35or
has_dread_level_towards = { target = root level >= 2 }or
is_tributary_of = rootor
All of these
exists = houseexists = root.house- Their house:
this = root.house
- Opinion of them at least 0
If
- Current military strength more than 0
root.current_military_strength > 0
Then
current_military_strength < root.current_military_strength
None of these
- Any character war:
One of these
primary_defender = prevor
All of these
primary_attacker = prevprimary_defender = { top_liege = root }
or
primary_defender = { is_ai = no }
- Any character war:
• 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 (69 lines of game script)
mpo_gok_submitting_coward_trigger = {
is_ai = yes
is_confederation_member = no
OR = {
is_tributary_of = root
is_tributary = no
}
is_landed = yes
highest_held_title_tier < tier_duchy
NOT = {
has_relation_rival = root
}
OR = {
is_imprisoned_by = root
government_has_flag = government_is_herder
has_relation_friend = root
AND = {
exists = root.house
house ?= root.house
NOT = {
is_in_list = anti_gok_coalition_members
}
}
opinion = {
target = root
value >= 100
}
ai_boldness <= medium_negative_ai_value
has_dread_level_towards = {
target = root
level >= 2
}
is_tributary_of = root
AND = {
exists = house
exists = root.house
house = {
this = root.house
}
opinion = {
target = root
value >= 0
}
}
}
trigger_if = {
limit = {
current_military_strength > 0
root.current_military_strength > 0
}
current_military_strength < root.current_military_strength
}
NOT = {
any_character_war = {
OR = {
primary_defender = prev
AND = {
primary_attacker = prev
primary_defender = {
top_liege = root
}
}
primary_defender = {
is_ai = no
}
}
}
}
}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 mpo_gok_submitting_coward_trigger.
Decisions (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.