Scripted trigger · Khans of the Steppe files
confederation_foe_trigger
confederation_foe_trigger = { CHARACTER = … }game/common/scripted_triggers/mpo_scripted_triggers.txt, line 93 (39 lines). Parameters: $CHARACTER$.
confederation_foe_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 93 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 2 places, among them Abandon Confederation (decision) and Call for Confederation (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_triggers.txt.
What it checks
- Any Neighboring Ruler, Neighboring Ruler's Suzerain or Ruler in the same De Jure Kingdom as your Capital: Has at least double your Military Strength · Is not Allied to you · At least one of these: Highest held Title is greater or equal to Kingdom Rank · Considers your Faith to be Evil · Has the Trait: Conqueror · Has the Trait: Greatest of Khans
• 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)
confederation_foe_trigger = {
save_temporary_scope_as = confederate
#NEED TO UPDATE CUSTOM TOOLTIP WHENEVER THESE TRIGGERS ARE CHANGED
custom_tooltip = {
text = confederation_threat_tt
#I'M FRICKING SERIOUS ABOUT THAT
OR = {
#Threat is in same de jure kingdom as capital county
capital_county = {
kingdom = {
any_de_jure_county = {
holder.top_liege = {
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
}
}
}
}
#Threat borders you or your tributaries
any_land_neighboring_realm_with_tributaries_owner = {
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
}
#You border threat's direct tributaries
any_land_neighboring_realm_with_tributaries_owner = {
exists = suzerain
suzerain = {
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
}
}
#You border threat's lower level tributaries
any_land_neighboring_realm_with_tributaries_owner = {
is_tributary = yes
top_suzerain = {
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
}
}
}
}
}As written in game/common/scripted_triggers/mpo_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls confederation_foe_trigger.
Decisions (2)
Source: game/common/scripted_triggers/mpo_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.