lusatia formable

This commit is contained in:
trashb0at 2026-06-08 10:42:33 -04:00
parent 8c7cc02876
commit 2bb4f6c431
7 changed files with 149 additions and 1 deletions

View file

@ -9,4 +9,33 @@
instance = { offset = { 0.5 0.0 } scale = { 0.5 0.5 } } # top right
instance = { offset = { 0.0 0.5 } scale = { 0.5 0.5 } } # bottom left
}
}
k_lusatia={
pattern="pattern_horizontal_split_01.dds"
color1=white
color2=red
colored_emblem={
color1=white
color2=green
texture="ce_chief.dds"
instance={scale={1 -1}}
}
colored_emblem={
color1=red
color2=yellow
texture="ce_bull_passant.dds"
}
colored_emblem={
color1=white
texture="ce_circle_mask.dds"
instance={position={0 0} scale={0.87 0.91}}
}
colored_emblem={
color1=red
color2=yellow
color3=white
texture="ce_bull_head.dds"
instance={position={0.26 0.28} scale={0.4 0.4}}
}
}

View file

@ -321,3 +321,77 @@ restore_polish_borders_decision = {
}
ai_check_interval = 0
}
realize_domowina_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
desc = realize_domowina_decision_desc
selection_tooltip = realize_domowina_tooltip
decision_group_type = major
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 120
kingdom = 120
empire = 0
hegemony = 0
}
is_shown = {
is_ruler = yes
is_playable_character = yes
OR = {
culture = culture:sorbian
}
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_created_lusatia
}
}
}
is_valid = {
has_title = title:d_lower_lusatia
has_title = title:d_upper_lusatia
has_title = title:c_zary
has_title = title:c_gorlitz
prestige_level >= 3
}
is_valid_showing_failures_only = {
is_landed = yes
is_capable_adult = yes
is_imprisoned = no
top_liege = this
is_at_war = no
}
effect = {
custom_tooltip = realize_domowina_decision_effect_tooltip
show_as_tooltip = {
realize_domowina_decision_effect = yes
}
hidden_effect = {
realize_domowina_decision_effect = yes
add_to_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_created_lusatia
}
set_global_variable = {
name = flag_created_lusatia
value = root
}
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 100
}
}

View file

@ -74,4 +74,14 @@ e_poland_lithuania = {
ai_primary_priority = {
add = @always_primary_score
}
}
k_lusatia = {
color = { 232 50 27 }
capital = c_cottbus
cultural_names = {
name_list_NEOW_sorbian = cn_luzica
}
}

View file

@ -19,4 +19,29 @@
title:k_poland = { set_de_jure_liege_title = title:e_poland_lithuania }
title:k_lithuania = { set_de_jure_liege_title = title:e_poland_lithuania }
}
}
realize_domowina_decision_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_lusatia = {
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_lusatia
title:k_lusatia = { set_de_jure_liege_title = title:e_visegrad }
title:d_upper_lusatia = { set_de_jure_liege_title = title:k_lusatia }
title:d_lower_lusatia = { set_de_jure_liege_title = title:k_lusatia }
title:c_zary = { set_de_jure_liege_title = title:d_lower_lusatia }
title:c_gorlitz= { set_de_jure_liege_title = title:d_upper_lusatia }
}
}