Scripted trigger · Khans of the Steppe files
valid_confederation_member_trigger
valid_confederation_member_trigger = { CHARACTER = … }game/common/scripted_triggers/mpo_scripted_triggers.txt, line 20 (40 lines). Parameters: $CHARACTER$.
valid_confederation_member_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 20 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 6 places, among them Call for Confederation (decision), Join Confederation (interaction) and Offer Confederation (interaction). Its body carries 3 texts 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
is_playable_character = yes- Is not a Tributary
- Is landed
- Is an Independent Ruler
- Does not have the Trait: Conqueror
- Does not have the Trait: Greatest of Khans
NOT = { is_at_war_with = $CHARACTER$ }NOT = { is_at_war_with = $CHARACTER$.top_liege }- Must not be Hostile due to recent Raiding
- Highest held Title is at most Duchy Rank
- If government is Nomadic: … has a higher Dominance than Limited Dominance
- Government must be Tribal or Nomadic
- Is not a member of a Confederation
• 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 (40 lines of game script)
valid_confederation_member_trigger = {
is_playable_character = yes
is_tributary = no
is_landed = yes
is_independent_ruler = yes
is_alive = yes
NOR = {
has_trait = conqueror
has_trait = greatest_of_khans
is_at_war_with = $CHARACTER$
is_at_war_with = $CHARACTER$.top_liege
custom_tooltip = {
text = no_raiding_hostility_tt
$CHARACTER$ = {
is_causing_raid_hostility_towards = prev
}
}
}
highest_held_title_tier <= tier_duchy
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
}
custom_tooltip = {
text = low_authority_tt
OR = {
has_realm_law = nomadic_authority_1
has_realm_law = nomadic_authority_2
}
}
}
custom_tooltip = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
text = is_nomadic_or_tribal_tt
}
is_confederation_member = no
}As written in game/common/scripted_triggers/mpo_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls valid_confederation_member_trigger.
Decisions (1)
Character interactions (2)
Events (3)
- A Name for the …
mpo_greatest_of_khans.0003 - Rise of the …
mpo_greatest_of_khans.0002 - Rise of the …
mpo_greatest_of_khans.1001
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.