Scripted trigger
ep3_frankokratia_story_owner_trigger
ep3_frankokratia_story_owner_trigger = yesgame/common/scripted_triggers/07_frankokratia_triggers.txt, line 171 (119 lines). No parameters.
ep3_frankokratia_story_owner_trigger is a scripted trigger in Crusader Kings III, written at line 171 of its file. It takes no parameters: ep3_frankokratia_story_owner_trigger = yes (or no). The game's script calls it in 2 places, among them great_holy_war.0001 (event) and The Unjust Dispossession (event ep3_frankokratia_events.0001). Patch 1.20.1.2, from game/common/scripted_triggers/07_frankokratia_triggers.txt.
What it checks
- Their faith is Catholicism
is_playable_character = yes- Highest held Title is at least County Rank
- Highest held Title is at most Kingdom Rank
- Their faith’s head of faith: Is played by the AI
scope:char_temp != faith.religious_head- Is not imprisoned
- Is not incapable
One of these
exists = primary_heiror
exists = player_heir
NOT = { is_allied_to = title:e_byzantium.holder }NOT = { top_liege = title:e_byzantium.holder }NOT = { is_at_war_with = title:e_byzantium.holder }NOT = { has_truce = title:e_byzantium.holder }NOT = { has_relation_friend = title:e_byzantium.holder }NOT = { has_relation_lover = title:e_byzantium.holder }NOT = { has_relation_soulmate = title:e_byzantium.holder }- Their capital province:
One of these
- Is in the Italia region
or
Is in the Francia regionor
Is in the Germania regionor
Is in the Iberia regionor
Is in the Hungary regionor
Is in the West Slavia regionor
kingdom = title:k_croatiaor
kingdom = title:k_bavaria
One of these
- Any close or extended family member:
One of these
ep3_frankokratia_claimant_trigger = yesor
All of these
ep3_frankokratia_transiting_relative_trigger = yes- Any spouse:
or
Any close family member:ep3_frankokratia_transiting_relative_trigger = yes- Any spouse:
ep3_frankokratia_transiting_relative_trigger = yes- Any close family member:
or
Any spouse:One of these
ep3_frankokratia_claimant_trigger = yesor
All of these
ep3_frankokratia_transiting_relative_trigger = yes- Any close family member:
or
Any courtier or guest:is_foreign_court_guest = noep3_frankokratia_claimant_trigger = yes
or
Any relation:or
Any relation:or
Any pool character:province = scope:char_temp.capital_provinceep3_frankokratia_claimant_trigger = yes
- Any close or extended family member:
- Their culture:
One of these
- The Culture has the Goidelic Cultural Pillar
or
The Culture has the West Germanic Cultural Pillaror
The Culture has the Brythonic Cultural Pillaror
The Culture has the North Germanic Cultural Pillaror
The Culture has the Iberian Cultural Pillaror
The Culture has the Latin Cultural Pillaror
The Culture has the South Slavic Cultural Pillaror
The Culture has the Magyar Cultural Pillaror
The Culture has the West Slavic Cultural Pillaror
The Culture has the Central Germanic Cultural Pillaror
The Culture has the Frankish Cultural Pillar
• 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 (119 lines of game script)
ep3_frankokratia_story_owner_trigger = {
save_temporary_scope_as = char_temp
faith = faith:catholic
is_playable_character = yes
highest_held_title_tier >= tier_county
highest_held_title_tier <= tier_kingdom
exists = faith.religious_head
faith.religious_head = { is_ai = yes }
scope:char_temp != faith.religious_head
exists = scope:char_temp.faith.great_holy_war
#Not pals with the Byzantine emperor
exists = title:e_byzantium.holder
is_imprisoned = no
is_incapable = no
#Use this to eliminate owners that might lose the story
OR = {
exists = primary_heir
exists = player_heir
}
NOR = {
is_allied_to = title:e_byzantium.holder
top_liege = title:e_byzantium.holder
is_at_war_with = title:e_byzantium.holder
has_truce = title:e_byzantium.holder
has_relation_friend = title:e_byzantium.holder
has_relation_lover = title:e_byzantium.holder
has_relation_soulmate = title:e_byzantium.holder
}
#Needs to be interesteed in working with Latin shipbuilders
capital_province = {
OR = {
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
}
}
#Needs to be related to a claimant
OR = {
#Close family claimant
any_close_or_extended_family_member = {
OR = {
ep3_frankokratia_claimant_trigger = yes
AND = {
ep3_frankokratia_transiting_relative_trigger = yes
#In-law claimant
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
}
}
}
#Close family in-law
any_close_family_member = {
ep3_frankokratia_transiting_relative_trigger = yes
any_spouse = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
ep3_frankokratia_claimant_trigger = yes
}
}
}
#Spouse claimant
any_spouse = {
OR = {
ep3_frankokratia_claimant_trigger = yes
AND = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
ep3_frankokratia_claimant_trigger = yes
}
}
}
}
#Courtier claimant
any_courtier_or_guest = {
is_foreign_court_guest = no
ep3_frankokratia_claimant_trigger = yes
}
#friends
any_relation = {
type = friend
ep3_frankokratia_claimant_trigger = yes
}
#soulmates
any_relation = {
type = soulmate
ep3_frankokratia_claimant_trigger = yes
}
#any pool character
any_pool_character = {
province = scope:char_temp.capital_province
ep3_frankokratia_claimant_trigger = yes
}
}
#Should be vaguely Western in culture
culture = {
OR = {
has_cultural_pillar = heritage_goidelic
has_cultural_pillar = heritage_west_germanic
has_cultural_pillar = heritage_brythonic
has_cultural_pillar = heritage_north_germanic
has_cultural_pillar = heritage_iberian
has_cultural_pillar = heritage_latin
has_cultural_pillar = heritage_south_slavic
has_cultural_pillar = heritage_magyar
has_cultural_pillar = heritage_west_slavic
has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_frankish
}
}
}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_story_owner_trigger.
Events (2)
- great_holy_war.0001
- The Unjust Dispossession
ep3_frankokratia_events.0001
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.