Scripted trigger · Khans of the Steppe files
mpo_gok_coalition_member_trigger
mpo_gok_coalition_member_trigger = yesgame/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 30 (98 lines). No parameters.
mpo_gok_coalition_member_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 30 of its file. It takes no parameters: mpo_gok_coalition_member_trigger = yes (or no). The game's script calls it in 2 places, among them Become the Greatest of All Khans (decision) and mpo_find_powerful_opponent_for_gurkhan_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
What it checks
in_diplomatic_range = root- Is played by the AI
One of these
is_landless_nomad = yesor
is_landless_adventurer = yesor
Is landed
None of these
this = root- Is an Independent Ruler
is_allied_to = rootis_tributary_of_suzerain_or_above = root- Their top liege:
is_tributary_of_suzerain_or_above = root
has_relation_friend = roothas_relation_blood_brother = root- Opinion of them at least 100
- Highest held Title is less than County Rank
- Government is unplayable
is_imprisoned_by = rootis_obedient_to = root
- If their government is not Nomadic:
One of these
or
Is a member of a Confederation
If
One of these
All of these
exists = houseexists = root.house- Their house:
this = root.house
or
is_allied_to = root
Then
- Opinion of them less than 0
- If highest held Title is less than Duchy Rank:
One of these
NOT = { has_dread_level_towards = { target = root level >= 2 } }or
Their faith:faith_hostility_level = { target = root.faith value > faith_astray_level }
or
Opinion of them at most -40or
Is a member of a Confederationor
You › Any land neighboring realm with tributaries owner:this = scope:foe
• 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 (98 lines of game script)
mpo_gok_coalition_member_trigger = {
save_temporary_scope_as = foe
in_diplomatic_range = root
is_ai = yes
OR = {
is_landless_nomad = yes
is_landless_adventurer = yes
is_landed = yes
}
NOR = {
this = root
top_liege = root
is_allied_to = root
is_tributary_of_suzerain_or_above = root
top_liege = {
is_tributary_of_suzerain_or_above = root
}
has_relation_friend = root
has_relation_blood_brother = root
opinion = {
target = root
value >= 100
}
highest_held_title_tier < tier_county
government_has_flag = government_is_herder
is_imprisoned_by = root
is_obedient_to = root
}
##Only relatively strong non-nomads will mess with you
trigger_if = {
limit = {
NOT = {
government_has_flag = government_is_nomadic
}
}
OR = {
AND = {
highest_held_title_tier >= tier_duchy
sub_realm_size >= 8
}
is_confederation_member = yes
}
}
##Only house members who dislike you will oppose you
trigger_if = {
limit = {
OR = {
AND = {
exists = house
exists = root.house
house = {
this = root.house
}
}
#also those with direct alliances to root
is_allied_to = root
}
}
opinion = {
target = root
value < 0
}
}
#Lower tier rulers
trigger_if = {
limit = {
highest_held_title_tier < tier_duchy
}
OR = {
NOT = {
has_dread_level_towards = {
target = root
level >= 2
}
}
faith = {
faith_hostility_level = {
target = root.faith
value > faith_astray_level
}
}
opinion = {
target = root
value <= -40
}
is_confederation_member = yes
root = {
any_land_neighboring_realm_with_tributaries_owner = {
this = scope:foe
}
}
}
}
}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_coalition_member_trigger.
Decisions (1)
Scripted effects (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.