great moravia (no flag yet)

This commit is contained in:
Damimani 2026-08-13 16:01:27 +02:00
parent 536c602b24
commit c95309dd8a
6 changed files with 229 additions and 2 deletions

View file

@ -4652,4 +4652,151 @@ declare_doggerlaw_effect = {
title:d_norfolk = { set_de_jure_liege_title = title:k_doggerlaw }
}
}
}
restore_great_moravia_effect = {
add_prestige = massive_prestige_gain
save_scope_as = scoped_ruler
create_title_and_vassal_change = {
type = created
save_scope_as = change
add_claim_on_loss = no
}
title:k_great_moravia = {
change_title_holder = {
holder = scope:scoped_ruler
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
hidden_effect = {
set_primary_title_to = title:k_great_moravia
title:d_moravia = { set_de_jure_liege_title = title:k_great_moravia }
title:d_nyitra = { set_de_jure_liege_title = title:k_great_moravia }
title:d_banska_bystrica = { set_de_jure_liege_title = title:k_great_moravia }
title:d_trencin = { set_de_jure_liege_title = title:k_great_moravia }
title:d_tatra = { set_de_jure_liege_title = title:k_great_moravia }
if = {
limit = {
title:k_hungary = { is_titular = no }
OR = {
has_title = title:k_hungary
completely_controls = title:k_hungary
}
}
destroy_title = title:k_hungary
}
if = {
limit = {
title:k_bohemia = { is_titular = no }
OR = {
has_title = title:k_bohemia
completely_controls = title:k_bohemia
}
}
destroy_title = title:k_bohemia
}
if = {
limit = {
title:k_galicia-volhynia = { is_titular = no }
OR = {
has_title = title:k_galicia-volhynia
completely_controls = title:k_galicia-volhynia
}
}
destroy_title = title:k_galicia-volhynia
}
if = {
limit = {
title:d_gyor = { is_titular = no }
OR = {
has_title = title:d_gyor
completely_controls = title:d_gyor
}
}
title:d_gyor = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_visegrad = { is_titular = no }
OR = {
has_title = title:d_visegrad
completely_controls = title:d_visegrad
}
}
title:d_visegrad = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_somogy = { is_titular = no }
OR = {
has_title = title:d_somogy
completely_controls = title:d_somogy
}
}
title:d_somogy = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_szekesfehervar = { is_titular = no }
OR = {
has_title = title:d_szekesfehervar
completely_controls = title:d_szekesfehervar
}
}
title:d_szekesfehervar = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_bacs = { is_titular = no }
OR = {
has_title = title:d_bacs
completely_controls = title:d_bacs
}
}
title:d_bacs = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_tiszantul = { is_titular = no }
OR = {
has_title = title:d_tiszantul
completely_controls = title:d_tiszantul
}
}
title:d_tiszantul = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_ungvar = { is_titular = no }
OR = {
has_title = title:d_ungvar
completely_controls = title:d_ungvar
}
}
title:d_ungvar = { set_de_jure_liege_title = title:k_great_moravia }
}
if = {
limit = {
title:d_transcarpathia = { is_titular = no }
OR = {
has_title = title:d_transcarpathia
completely_controls = title:d_transcarpathia
}
}
title:d_transcarpathia = { set_de_jure_liege_title = title:k_great_moravia }
}
}
}