Scripted trigger · Khans of the Steppe files
mpo_war_of_defiance_notified_player_trigger
mpo_war_of_defiance_notified_player_trigger = yesgame/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 199 (42 lines). No parameters.
mpo_war_of_defiance_notified_player_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 199 of its file. It takes no parameters: mpo_war_of_defiance_notified_player_trigger = yes (or no). The game's script calls it in 3 places, among them Great War of Defiance (casus belli), mpo_greatest_of_khans.0100 (event) and War for the Earth and Heavens (event mpo_greatest_of_khans.0101). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.
What it checks
One of these
- Is an Independent Ruler
or
top_suzerain = rootor
Any character situation:this = situation:the_great_steppe
or
Any relation:this = root
or
Their capital county › Their empire › Any de jure county › Their holder’s top liege:this = root
or
Their capital county › Their empire › Any de jure county:holder.top_suzerain = { this = root }
or
All of these
exists = root.capital_countyrealm_to_title_distance_squared = { target = root.capital_county value <= squared_distance_almost_massive }
• 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 (42 lines of game script)
mpo_war_of_defiance_notified_player_trigger = {
NOT = {
this = root
}
OR = {
top_liege = root
top_suzerain = root
any_character_situation = {
this = situation:the_great_steppe
}
any_relation = {
type = rival
this = root
}
#Those within same de jure empire
capital_county ?= {
empire = {
any_de_jure_county = {
holder.top_liege = {
this = root
}
}
}
}
capital_county ?= {
empire = {
any_de_jure_county = {
holder.top_suzerain = {
this = root
}
}
}
}
AND = {
exists = root.capital_county
realm_to_title_distance_squared = {
target = root.capital_county
value <= squared_distance_almost_massive
}
}
}
}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_war_of_defiance_notified_player_trigger.
Casus belli (1)
Events (2)
- mpo_greatest_of_khans.0100
- War for the Earth and Heavens
mpo_greatest_of_khans.0101
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.