carpathia done

This commit is contained in:
Damimani 2026-08-20 17:48:03 +02:00
parent ab8e332cdf
commit 00d2f92cc4
4 changed files with 194 additions and 0 deletions

View file

@ -1231,6 +1231,132 @@ restore_great_moravia = {
always = yes
}
ai_will_do = {
base = 100
}
}
form_carpathia_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
desc = form_carpathia_decision_desc
selection_tooltip = form_carpathia_decision_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 = {
primary_title = title:k_hungary
primary_title = title:k_galicia-volhynia
primary_title = title:k_transylvania
}
title:e_carpathia = { is_titular = yes }
NOT = { culture = { has_cultural_pillar = heritage_hungarian } }
}
is_valid = {
completely_controls = title:k_hungary
completely_controls = title:k_slovakia
completely_controls = title:k_galicia-volhynia
completely_controls = title:k_transylvania
}
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 = {
form_carpathia_effect = yes
}
hidden_effect = {
form_carpathia_effect = yes
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 100
}
}
form_carpathia_hun_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
desc = form_carpathia_hun_decision_desc
selection_tooltip = form_carpathia_hun_decision_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 = {
primary_title = title:k_hungary
primary_title = title:k_galicia-volhynia
primary_title = title:k_transylvania
}
title:e_carpathia = { is_titular = yes }
culture = { has_cultural_pillar = heritage_hungarian }
}
is_valid = {
completely_controls = title:k_hungary
completely_controls = title:k_slovakia
completely_controls = title:k_galicia-volhynia
completely_controls = title:k_transylvania
}
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 = {
form_carpathia_effect = yes
}
hidden_effect = {
form_carpathia_effect = yes
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 100
}

View file

@ -144,4 +144,10 @@ e_NEOW_byzantium = {
cultural_names = {
name_list_NEOW_turkish = cn_bati_roma_imparatorlugu
}
}
e_carpathia = {
color = { 30 93 39 }
capital = c_visegrad
}

View file

@ -4799,4 +4799,55 @@ restore_great_moravia_effect = {
title:d_transcarpathia = { set_de_jure_liege_title = title:k_great_moravia }
}
}
}
form_carpathia_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:e_carpathia = {
change_title_holder = {
holder = scope:scoped_ruler
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
hidden_effect = {
set_primary_title_to = title:e_carpathia
title:k_hungary = { set_de_jure_liege_title = title:e_carpathia }
title:k_slovakia = { set_de_jure_liege_title = title:e_carpathia }
title:k_galicia-volhynia = { set_de_jure_liege_title = title:e_carpathia }
title:k_transylvania = { set_de_jure_liege_title = title:e_carpathia }
if = {
limit = {
title:k_dacia = { is_titular = no }
OR = {
has_title = title:k_dacia
completely_controls = title:k_dacia
}
}
title:k_dacia = { set_de_jure_liege_title = title:e_carpathia }
}
if = {
limit = {
title:k_moldavia = { is_titular = no }
OR = {
has_title = title:k_moldavia
completely_controls = title:k_moldavia
}
}
title:k_moldavia = { set_de_jure_liege_title = title:e_carpathia }
}
}
}