Scripted effect
split_byzantine_empire_effect
split_byzantine_empire_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 390 (275 lines). No parameters.
split_byzantine_empire_effect is a scripted effect in Crusader Kings III, written at line 390 of its file. It takes no parameters: split_byzantine_empire_effect = yes. The game's script calls it in 3 places, among them create_roman_empire_holy_scripted_effect (scripted effect), create_roman_empire_italy_scripted_effect (scripted effect) and create_roman_empire_scripted_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_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)
split_byzantine_empire_effect = {
hidden_effect = {
every_sub_realm_title = { # First we check for held titles in the realm
limit = {
tier = tier_kingdom
NOR = {
de_jure_liege = title:e_illyria
de_jure_liege = title:e_macedonia
de_jure_liege = title:e_anatolia
de_jure_liege = title:e_oriens
de_jure_liege = title:e_aegyptus
de_jure_liege = title:e_africa
}
}
if = {
limit = {
title:e_italy ?= { is_titular = no }
OR = {
title:k_trinacria ?= this
title:k_sicily ?= this
title:k_naples ?= this
title:k_venice ?= this
title:k_romagna ?= this
title:k_sardinia ?= this
title:k_italy ?= this
}
}
set_de_jure_liege_title = title:e_italy
title:e_italy = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
OR = {
title:k_trinacria ?= this
title:k_epirus ?= this
title:k_croatia ?= this
title:k_serbia ?= this
title:k_bosnia ?= this
title:k_sicily ?= this
title:k_venice ?= this
title:k_naples ?= this
title:k_albania ?= this
}
}
set_de_jure_liege_title = title:e_illyria
title:e_illyria = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
OR = {
title:k_thessalonika ?= this
title:k_hellas ?= this
title:k_krete ?= this
title:k_bulgaria ?= this
}
}
set_de_jure_liege_title = title:e_macedonia
title:e_macedonia = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
OR = {
title:k_saruhan ?= this
title:k_tekke ?= this
title:k_trebizond ?= this
title:k_ottoman ?= this
title:k_rum ?= this
title:k_mentese ?= this
title:k_karaman ?= this
title:k_germiyan ?= this
title:k_eretnid ?= this
title:k_candar ?= this
title:k_nikaea ?= this
title:k_pontus ?= this
title:k_armenia ?= this
title:k_georgia ?= this
title:k_armenian_principality ?= this
title:k_old_armenia ?= this
title:k_anatolia ?= this
title:k_aydin ?= this
}
}
set_de_jure_liege_title = title:e_anatolia
title:e_anatolia = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
exists = title:e_oriens
OR = {
title:k_syria ?= this
title:k_jerusalem ?= this
title:k_cyprus ?= this
title:k_jazira ?= this
title:k_mesopotamia ?= this
title:k_arabia ?= this
title:k_yemen ?= this
title:k_cyprus ?= this
}
}
set_de_jure_liege_title = title:e_oriens
title:e_oriens = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
exists = title:e_aegyptus
OR = {
title:k_egypt ?= this
title:k_blemmyia ?= this
title:k_nubia ?= this
title:k_abyssinia ?= this
}
}
set_de_jure_liege_title = title:e_aegyptus
title:e_aegyptus = { set_de_jure_liege_title = title:h_roman_empire }
}
if = {
limit = {
exists = title:e_africa
OR = {
title:k_africa ?= thisAs written in game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
The first 120 of its 275 lines; the rest is in game/common/scripted_effects/00_major_decisions_scripted_effects.txt from line 390.
Where it is used
Every place in common/, events/ and history/ that calls split_byzantine_empire_effect.
Source: game/common/scripted_effects/00_major_decisions_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.