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

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