552 lines
No EOL
14 KiB
Text
552 lines
No EOL
14 KiB
Text
#european_union
|
|
#rhineland
|
|
|
|
#restore_austria_hungary_decision = {
|
|
# picture = {
|
|
# reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
|
|
# }
|
|
# desc = restore_austria_hungary_decision_desc
|
|
# selection_tooltip = restore_austria_hungary_decision_tooltip
|
|
# decision_group_type = major
|
|
#
|
|
# ai_check_interval_by_tier = {
|
|
# barony = 0
|
|
# county = 0
|
|
# duchy = 0
|
|
# kingdom = 120
|
|
# empire = 120
|
|
# hegemony = 0
|
|
# }
|
|
#
|
|
# is_shown = {
|
|
# is_ruler = yes
|
|
# is_playable_character = yes
|
|
# NOT = {
|
|
# is_target_in_global_variable_list = {
|
|
# name = unavailable_unique_decisions
|
|
# target = flag:flag_restored_austria_hungary
|
|
# }
|
|
# }
|
|
# OR = {
|
|
# }
|
|
# }
|
|
#
|
|
# is_valid = {
|
|
# NOT = { has_title = title:e_europa }
|
|
# has_title = title:k_austria
|
|
# has_title = title:k_hungary
|
|
# completely_controls_region = custom_alpine_france
|
|
# }
|
|
#
|
|
# 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 = restore_austria_hungary_decision_effect_tooltip
|
|
# show_as_tooltip = {
|
|
# restore_austria_hungary_decision_effect = yes
|
|
# }
|
|
# hidden_effect = {
|
|
# restore_austria_hungary_decision_effect
|
|
# add_to_global_variable_list = {
|
|
# name = unavailable_unique_decisions
|
|
# target = flag:flag_restored_austria_hungary
|
|
# }
|
|
# set_global_variable = {
|
|
# name = flag_restored_austria_hungary
|
|
# value = root
|
|
# }
|
|
# }
|
|
# }
|
|
#
|
|
# ai_potential = {
|
|
# always = yes
|
|
# }
|
|
#
|
|
# ai_will_do = {
|
|
# base = 100
|
|
# }
|
|
#}
|
|
|
|
restore_poland_lithuania_decision = {
|
|
picture = {
|
|
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
|
|
}
|
|
desc = restore_poland_lithuania_decision_desc
|
|
selection_tooltip = restore_poland_lithuania_tooltip
|
|
decision_group_type = major
|
|
|
|
ai_check_interval_by_tier = {
|
|
barony = 0
|
|
county = 0
|
|
duchy = 0
|
|
kingdom = 120
|
|
empire = 120
|
|
hegemony = 0
|
|
}
|
|
|
|
is_shown = {
|
|
is_ruler = yes
|
|
is_playable_character = yes
|
|
title:e_poland_lithuania = { is_title_created = no }
|
|
OR = {
|
|
has_title = title:k_poland
|
|
has_title = title:k_lithuania
|
|
}
|
|
NOT = {
|
|
is_target_in_global_variable_list = {
|
|
name = unavailable_unique_decisions
|
|
target = flag:flag_restored_poland_lithuania
|
|
}
|
|
}
|
|
NEOW_religion_is_broadly_christian_trigger = yes
|
|
}
|
|
|
|
is_valid = {
|
|
has_title = title:k_poland
|
|
has_title = title:k_lithuania
|
|
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 = restore_poland_lithuania_decision_effect_tooltip
|
|
show_as_tooltip = {
|
|
restore_poland_lithuania_decision_effect = yes
|
|
}
|
|
hidden_effect = {
|
|
restore_poland_lithuania_decision_effect = yes
|
|
add_to_global_variable_list = {
|
|
name = unavailable_unique_decisions
|
|
target = flag:flag_restored_poland_lithuania
|
|
}
|
|
set_global_variable = {
|
|
name = flag_restored_poland_lithuania
|
|
value = root
|
|
}
|
|
}
|
|
}
|
|
|
|
ai_potential = {
|
|
always = yes
|
|
}
|
|
|
|
ai_will_do = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
restore_polish_borders_decision = {
|
|
decision_group_type = major
|
|
is_shown = {
|
|
has_title = title:k_poland
|
|
is_ruler = yes
|
|
is_playable_character = yes
|
|
NOT = {
|
|
AND = {
|
|
title:k_poland = { OR = { is_de_jure_liege_or_above_target = title:d_lower_silesia is_de_jure_liege_or_above_target = title:d_upper_silesia } }
|
|
title:k_poland = { is_de_jure_liege_or_above_target = title:d_lesser_poland }
|
|
title:k_poland = { is_de_jure_liege_or_above_target = title:d_podkarpackie }
|
|
title:k_poland = { is_de_jure_liege_or_above_target = title:d_masuria }
|
|
}
|
|
}
|
|
}
|
|
is_valid = {
|
|
custom_tooltip = {
|
|
text = restore_polish_borders_decision_tt
|
|
OR = {
|
|
AND = { OR = { has_title = title:k_silesia completely_controls = title:k_silesia } NOT = { title:k_poland = { OR = { is_de_jure_liege_or_above_target = title:d_lower_silesia is_de_jure_liege_or_above_target = title:d_upper_silesia } } } }
|
|
AND = { OR = { has_title = title:d_lesser_poland completely_controls = title:d_lesser_poland } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_lesser_poland } } }
|
|
AND = { OR = { has_title = title:d_podkarpackie completely_controls = title:d_podkarpackie } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_podkarpackie} } }
|
|
AND = { OR = { has_title = title:d_masuria completely_controls = title:d_masuria } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_masuria } } }
|
|
}
|
|
}
|
|
}
|
|
is_valid_showing_failures_only = {
|
|
is_landed = yes
|
|
is_capable_adult = yes
|
|
is_imprisoned = no
|
|
top_liege = this
|
|
is_at_war = no
|
|
}
|
|
|
|
picture = {
|
|
reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
|
|
}
|
|
|
|
widget = {
|
|
gui = "decision_view_widget_option_list_generic"
|
|
controller = decision_option_list_controller
|
|
decision_to_second_step_button = "restore_polish_borders_decision_confirm"
|
|
show_from_start = yes
|
|
|
|
item = {
|
|
value = restore_polish_borders_silesia
|
|
is_valid = { custom_tooltip = { text = restore_polish_borders_silesia_custom OR = { has_title = title:k_silesia completely_controls = title:k_silesia } NOT = { title:k_poland = { OR = { is_de_jure_liege_or_above_target = title:d_lower_silesia is_de_jure_liege_or_above_target = title:d_upper_silesia } } } } }
|
|
localization = restore_polish_borders_silesia
|
|
icon = "gfx/interface/icons/message_feed/activity.dds"
|
|
ai_chance = { value = 100 }
|
|
}
|
|
|
|
item = {
|
|
value = restore_polish_borders_lesser_poland
|
|
is_valid = { custom_tooltip = { text = restore_polish_borders_lesser_poland_custom OR = { has_title = title:d_lesser_poland completely_controls = title:d_lesser_poland } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_lesser_poland } } } }
|
|
localization = restore_polish_borders_lesser_poland
|
|
icon = "gfx/interface/icons/message_feed/activity.dds"
|
|
ai_chance = { value = 100 }
|
|
}
|
|
|
|
item = {
|
|
value = restore_polish_borders_podkarpackie
|
|
is_valid = { custom_tooltip = { text = restore_polish_borders_podkarpackie_custom OR = { has_title = title:d_podkarpackie completely_controls = title:d_podkarpackie } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_podkarpackie} } } }
|
|
localization = restore_polish_borders_podkarpackie
|
|
icon = "gfx/interface/icons/message_feed/activity.dds"
|
|
ai_chance = { value = 100 }
|
|
}
|
|
|
|
item = {
|
|
value = restore_polish_borders_masuria
|
|
is_valid = { custom_tooltip = { text = restore_polish_borders_masuria_custom OR = { has_title = title:d_masuria completely_controls = title:d_masuria } NOT = { title:k_poland = { is_de_jure_liege_or_above_target = title:d_masuria } } } }
|
|
localization = restore_polish_borders_masuria
|
|
icon = "gfx/interface/icons/message_feed/activity.dds"
|
|
ai_chance = { value = 100 }
|
|
}
|
|
}
|
|
|
|
effect = {
|
|
if = {
|
|
limit = { scope:restore_polish_borders_silesia = yes }
|
|
if = {
|
|
limit = { exists = title:k_silesia }
|
|
destroy_title = title:k_silesia
|
|
}
|
|
title:d_lower_silesia = { set_de_jure_liege_title = title:k_poland }
|
|
title:d_upper_silesia = { set_de_jure_liege_title = title:k_poland }
|
|
}
|
|
if = {
|
|
limit = { scope:restore_polish_borders_lesser_poland = yes }
|
|
title:d_lesser_poland = { set_de_jure_liege_title = title:k_poland }
|
|
}
|
|
if = {
|
|
limit = { scope:restore_polish_borders_podkarpackie = yes }
|
|
title:d_podkarpackie = { set_de_jure_liege_title = title:k_poland }
|
|
}
|
|
if = {
|
|
limit = { scope:restore_polish_borders_masuria = yes }
|
|
title:d_masuria = { set_de_jure_liege_title = title:k_poland }
|
|
}
|
|
}
|
|
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
|
|
title:k_lusatia = { is_title_created = no }
|
|
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
|
|
}
|
|
}
|
|
|
|
reform_czechoslovakia_decision = {
|
|
picture = {
|
|
reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds"
|
|
}
|
|
decision_group_type = major
|
|
|
|
ai_check_interval_by_tier = {
|
|
barony = 0
|
|
county = 0
|
|
duchy = 0
|
|
kingdom = 120
|
|
empire = 0
|
|
hegemony = 0
|
|
}
|
|
|
|
desc = reform_czechoslovakia_decision_desc
|
|
selection_tooltip = reform_czechoslovakia_decision_tooltip
|
|
|
|
is_shown = {
|
|
title:k_czechoslovakia = { is_title_created = no }
|
|
is_playable_character = yes
|
|
NOT = {
|
|
is_target_in_global_variable_list = {
|
|
name = unavailable_unique_decisions
|
|
target = flag:flag_reformed_czechoslovakia
|
|
}
|
|
}
|
|
OR = {
|
|
culture = culture:NEOW_moravian
|
|
culture = culture:czech
|
|
culture = culture:NEOW_slovak
|
|
AND = {
|
|
has_title = title:k_bohemia
|
|
has_title = title:k_slovakia
|
|
}
|
|
}
|
|
}
|
|
|
|
is_valid = {
|
|
OR = {
|
|
top_liege = this
|
|
AND = {
|
|
liege = top_liege
|
|
top_liege = { highest_held_title_tier >= tier_empire }
|
|
has_strong_usable_hook = top_liege
|
|
}
|
|
}
|
|
OR = {
|
|
has_title = title:k_bohemia
|
|
has_title = title:k_slovakia
|
|
}
|
|
completely_controls_region = custom_czechoslovakia
|
|
prestige_level >= high_prestige_level
|
|
}
|
|
is_valid_showing_failures_only = {
|
|
is_landed = yes
|
|
is_capable_adult = yes
|
|
is_imprisoned = no
|
|
is_at_war = no
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = reform_czechoslovakia_decision_effect_tooltip
|
|
gain_heroic_legend_seed_tooltip_effect = yes
|
|
|
|
hidden_effect = {
|
|
save_scope_as = founder
|
|
create_title_and_vassal_change = {
|
|
type = created
|
|
save_scope_as = change
|
|
}
|
|
title:k_czechoslovakia = {
|
|
change_title_holder = {
|
|
holder = scope:founder
|
|
change = scope:change
|
|
}
|
|
}
|
|
resolve_title_and_vassal_change = scope:change
|
|
|
|
add_to_global_variable_list = {
|
|
name = unavailable_unique_decisions
|
|
target = flag:flag_reformed_czechoslovakia
|
|
}
|
|
set_global_variable = {
|
|
name = flag_reformed_czechoslovakia
|
|
value = scope:founder
|
|
}
|
|
|
|
## Czechoslovakia Restored
|
|
title:d_bohemia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_moravia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_krusnohori = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_severovychodni_cechy = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_nyitra = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_trencin = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_banska_bystrica = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_ungvar = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:d_transcarpathia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
title:c_orava = { set_de_jure_liege_title = title:d_trencin }
|
|
title:c_opava = { set_de_jure_liege_title = title:d_moravia }
|
|
|
|
## Destroy the Previous Kingdoms
|
|
if = {
|
|
limit = { has_title = title:k_bohemia }
|
|
destroy_title = title:k_bohemia
|
|
}
|
|
if = {
|
|
limit = { has_title = title:k_slovakia }
|
|
destroy_title = title:k_slovakia
|
|
}
|
|
if = {
|
|
limit = { has_title = title:k_galicia-volhynia }
|
|
destroy_title = title:k_galicia-volhynia
|
|
}
|
|
if = {
|
|
limit = { has_title = title:d_tatra }
|
|
destroy_title = title:d_tatra
|
|
}
|
|
|
|
## Make Czechoslovakia the primary title
|
|
set_primary_title_to = title:k_czechoslovakia
|
|
|
|
## Trigger a special event
|
|
trigger_event = NEOW_decision.0001
|
|
}
|
|
}
|
|
cost = {
|
|
gold = {
|
|
# Since we want this to happen, it free for the AI...
|
|
value = 0
|
|
# ... but costs for players
|
|
if = {
|
|
limit = {
|
|
has_treasury = no
|
|
is_ai = no
|
|
}
|
|
add = 500
|
|
}
|
|
}
|
|
treasury = {
|
|
value = 0
|
|
if = {
|
|
limit = {
|
|
has_treasury = yes
|
|
is_ai = no
|
|
}
|
|
add = 500
|
|
}
|
|
}
|
|
prestige = {
|
|
value = 0
|
|
if = {
|
|
limit = {
|
|
is_ai = no
|
|
}
|
|
add = 1500
|
|
}
|
|
}
|
|
}
|
|
ai_potential = {
|
|
always = yes
|
|
}
|
|
ai_will_do = { base = 100 }
|
|
}
|
|
spain_decision = {
|
|
picture = {
|
|
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
|
|
}
|
|
desc = spain_decision_desc
|
|
selection_tooltip = spain_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
|
|
culture = { has_cultural_pillar = heritage_hispanic }
|
|
title:e_spain = { is_titular = yes }
|
|
}
|
|
|
|
is_valid = {
|
|
completely_controls = title:k_andalusia
|
|
completely_controls = title:k_castille_leon
|
|
completely_controls = title:k_aragon
|
|
completely_controls = title:k_navarra
|
|
completely_controls = title:k_spanish_galicia
|
|
completely_controls = title:k_canarias
|
|
completely_controls = title:k_andorra
|
|
}
|
|
|
|
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 = {
|
|
spain_decision_effect = yes
|
|
}
|
|
|
|
hidden_effect = {
|
|
spain_decision_effect = yes
|
|
}
|
|
}
|
|
|
|
ai_potential = {
|
|
always = yes
|
|
}
|
|
|
|
ai_will_do = {
|
|
base = 100
|
|
}
|
|
} |