Scripted effect · Khans of the Steppe files
mpo_confederation_join_defensive_war_effect
mpo_confederation_join_defensive_war_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 4872 (20 lines). No parameters.
mpo_confederation_join_defensive_war_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 4872 of its file. It takes no parameters: mpo_confederation_join_defensive_war_effect = yes. The game's script calls it in 1 place, among them on_war_started (on action). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
- scope:defender.confederation › Every confederation member:
- Where:
scope:war:add_defender = prev
• 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 (20 lines of game script)
mpo_confederation_join_defensive_war_effect = {
scope:defender.confederation = {
every_confederation_member = {
limit = {
highest_held_title_tier >= tier_county
NOR = {
is_at_war_with = scope:defender
is_allied_to = scope:attacker
is_imprisoned_by = scope:defender
is_imprisoned_by = scope:attacker
is_defender_in_war = scope:war
is_attacker_in_war = scope:war
}
}
scope:war = {
add_defender = prev
}
}
}
}As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls mpo_confederation_join_defensive_war_effect.
On actions (the game's own hooks) (1)
- on_war_started
Source: game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.