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

@ -1137,7 +1137,7 @@ declare_doggerlaw = {
is_shown = {
is_ruler = yes
is_playable_character = years
is_playable_character = yes
culture = culture:doggerlander
has_title = title:k_doggerland
title:k_doggerlaw = { is_titular = yes }
@ -1171,6 +1171,66 @@ declare_doggerlaw = {
always = yes
}
ai_will_do = {
base = 100
}
}
restore_great_moravia = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
desc = restore_great_moravia_desc
selection_tooltip = restore_great_moravia_tooltip
decision_group_type = major
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 120
empire = 0
hegemony = 0
}
is_shown = {
is_ruler = yes
is_playable_character = yes
OR = {
culture = culture:NEOW_slovak
culture = culture:NEOW_moravian
}
title:k_great_moravia = { is_titular = yes }
}
is_valid = {
completely_controls = title:k_slovakia
completely_controls = title:d_moravia
completely_controls = title:d_tatra
}
is_valid_showing_failures_only = {
is_landed = yes
is_capable_adult = yes
is_imprisoned = no
top_liege = this
is_at_war = no
}
effect = {
show_as_tooltip = {
restore_great_moravia_effect = yes
}
hidden_effect = {
restore_great_moravia_effect = yes
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 100
}

View file

@ -2386,6 +2386,17 @@ e_visegrad = {
k_czechoslovakia = {
color = { 43 50 124 }
capital = c_praha
}
k_great_moravia = {
color = { 255 55 55 }
cultural_names = {
name_list_NEOW_slovak = cn_velka_morava
}
capital = c_brno # Brno
}
}

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 }
}
}
}