Scripted trigger
ep3_frankokratia_transiting_relative_trigger
ep3_frankokratia_transiting_relative_trigger = yesgame/common/scripted_triggers/07_frankokratia_triggers.txt, line 131 (39 lines). No parameters.
ep3_frankokratia_transiting_relative_trigger is a scripted trigger in Crusader Kings III, written at line 131 of its file. It takes no parameters: ep3_frankokratia_transiting_relative_trigger = yes (or no). The game's script calls it in 3 places, among them great_holy_war.0001 (event), The Unjust Dispossession (event ep3_frankokratia_events.0001) and ep3_frankokratia_story_owner_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/07_frankokratia_triggers.txt.
What it checks
One of these
- Is not a ruler
or
or
Highest held Title is less than County Rankor
Their faith is not Catholicismor
Is imprisonedor
Is incapableor
Their capital province:- Is not in the Italia region
- Is not in the Francia region
- Is not in the Germania region
- Is not in the Iberia region
- Is not in the Hungary region
- Is not in the West Slavia region
NOT = { kingdom = title:k_croatia }NOT = { kingdom = title:k_bavaria }
or
is_vassal_of = title:e_byzantium.holderor
is_at_war_with = title:e_byzantium.holder
- Is played by the AI
• 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)
ep3_frankokratia_transiting_relative_trigger = {
OR = {
is_ruler = no
# Prefer char_temp; root is a faith in great_holy_war.0001, so do not evaluate root.highest_held_title_tier there.
AND = {
trigger_if = {
limit = {
exists = scope:char_temp
}
highest_held_title_tier <= scope:char_temp.highest_held_title_tier
}
trigger_else = {
exists = root
highest_held_title_tier <= root.highest_held_title_tier
}
}
highest_held_title_tier < tier_county
NOT = {
faith = faith:catholic
}
is_imprisoned = yes
is_incapable = yes
capital_province = {
NOR = {
geographical_region = world_europe_south_italy
geographical_region = world_europe_west_francia
geographical_region = world_europe_west_germania
geographical_region = world_europe_west_iberia
geographical_region = custom_hungary
geographical_region = custom_west_slavia
kingdom = title:k_croatia
kingdom = title:k_bavaria
}
}
is_vassal_of = title:e_byzantium.holder
is_at_war_with = title:e_byzantium.holder
}
is_ai = yes
}As written in game/common/scripted_triggers/07_frankokratia_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_frankokratia_transiting_relative_trigger.
Events (2)
- great_holy_war.0001
- The Unjust Dispossession
ep3_frankokratia_events.0001
Scripted triggers (1)
Source: game/common/scripted_triggers/07_frankokratia_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.