CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

ep3_frankokratia_story_owner_trigger

ep3_frankokratia_story_owner_trigger = yes

game/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

• 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)

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.

Spotted a mistake on this page?