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

Scripted effect

ep3_frankokratia_save_financier_sate_lands_effect

ep3_frankokratia_save_financier_sate_lands_effect = yes

game/common/scripted_effects/07_frankokratia_scripted_effects.txt, line 304 (562 lines). No parameters.

ep3_frankokratia_save_financier_sate_lands_effect is a scripted effect in Crusader Kings III, written at line 304 of its file. It takes no parameters: ep3_frankokratia_save_financier_sate_lands_effect = yes. The game's script calls it in 2 places, among them ep3_frankokratia_events.0040 (event) and ep3_latin_empire_designate_financier_lands_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_frankokratia_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (120 lines of game script)
ep3_frankokratia_save_financier_sate_lands_effect = {
	if = {
		limit = {
			any_realm_county = {
				duchy = title:d_istria
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {
				#The duchy can be created
				NOT = { exists = title:d_istria.holder }
				#The duchy can be taken
				title:d_istria.holder = {
					is_vassal_or_below_of = title:e_byzantium.holder
					is_ai = yes
					NOT = { is_powerful_vassal_of = title:e_byzantium.holder }
					NOT = { is_at_war_with = title:e_byzantium.holder }
				}
			}
		}
		title:d_istria = { save_scope_as = financier_sate_reward }
	}
	else_if = {
		limit = {
			any_realm_county = {
				duchy = title:d_ragusa
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {
				#The duchy can be created
				NOT = { exists = title:d_ragusa.holder }
				#The duchy can be taken
				title:d_ragusa.holder = {
					is_vassal_or_below_of = title:e_byzantium.holder
					is_ai = yes
					NOT = { is_powerful_vassal_of = title:e_byzantium.holder }
					NOT = { is_at_war_with = title:e_byzantium.holder }
				}
			}
		}
		title:d_dalmatia = {
			save_scope_as = financier_sate_reward_duchy
			add_to_list = financier_sate_titles
		}
	}
	else_if = {
		limit = {
			any_realm_county = {
				duchy = title:d_dalmatia
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {
				#The duchy can be created
				NOT = { exists = title:d_dalmatia.holder }
				#The duchy can be taken
				title:d_dalmatia.holder = {
					is_vassal_or_below_of = title:e_byzantium.holder
					is_ai = yes
					NOT = { is_powerful_vassal_of = title:e_byzantium.holder }
					NOT = { is_at_war_with = title:e_byzantium.holder }
				}
			}
		}
		title:d_dalmatia = {
			save_scope_as = financier_sate_reward_duchy
			add_to_list = financier_sate_titles
		}
	}
	else_if = {
		limit = {
			any_realm_county = {
				duchy = title:d_cephalonia
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {
				#The duchy can be created
				NOT = { exists = title:d_cephalonia.holder }
				#The duchy can be taken
				title:d_cephalonia.holder = {
					is_vassal_or_below_of = title:e_byzantium.holder
					is_ai = yes
					NOT = { is_powerful_vassal_of = title:e_byzantium.holder }
					NOT = { is_at_war_with = title:e_byzantium.holder }
				}
			}
		}
		title:d_cephalonia = {
			save_scope_as = financier_sate_reward_duchy
			add_to_list = financier_sate_titles
		}
	}
	else_if = {
		limit = {
			any_realm_county = {
				duchy = title:d_krete
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {
				#The duchy can be created
				NOT = { exists = title:d_krete.holder }
				#The duchy can be taken
				title:d_krete.holder = {
					is_vassal_or_below_of = title:e_byzantium.holder
					is_ai = yes
					NOT = { is_powerful_vassal_of = title:e_byzantium.holder }
					NOT = { is_at_war_with = title:e_byzantium.holder }
				}
			}
		}
		title:d_krete = {
			save_scope_as = financier_sate_reward_duchy
			add_to_list = financier_sate_titles
		}
	}
	else_if = {
		limit = {
			any_realm_county = {
				duchy = title:d_cyprus
				NOT = { is_in_list = financier_sate_titles }
			}
			OR = {

As written in game/common/scripted_effects/07_frankokratia_scripted_effects.txt.

The first 120 of its 562 lines; the rest is in game/common/scripted_effects/07_frankokratia_scripted_effects.txt from line 304.

Where it is used

Every place in common/, events/ and history/ that calls ep3_frankokratia_save_financier_sate_lands_effect.

Source: game/common/scripted_effects/07_frankokratia_scripted_effects.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?