Lion of the North

This commit is contained in:
Heidesommer 2026-05-21 05:14:39 -04:00
parent 62b546d13f
commit 9d3e89f016
10 changed files with 276 additions and 3 deletions

View file

@ -4405,7 +4405,6 @@ k_sweden = {
}
k_denmark = {
pattern="pattern_horizontal_split_01.dds"
color1=red

View file

@ -32,3 +32,25 @@ k_gotaland={
}
}
e_sweden = {
pattern="pattern_horizontal_split_01.dds"
color1=blue
color2=yellow_light
color3=red
colored_emblem={
color1=blue
texture="ce_block_02.dds"
instance={
depth=1.010000
}
}
colored_emblem={
color1=blue
color2=yellow_light
texture="NEOW_ce_cross_nordic.dds"
}
}

View file

@ -406,3 +406,76 @@ form_the_kingdom_of_rhineland_decision = {
ai_will_do = { base = 100 }
}
restore_swedish_empire_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
}
desc = restore_swedish_empire_decision_desc
selection_tooltip = restore_swedish_empire_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 = {
has_title = title:k_sweden
is_ruler = yes
is_playable_character = yes
#Visible to dukes and kings.
highest_held_title_tier >= tier_duchy
highest_held_title_tier <= tier_kingdom
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_restored_swedish_empire
}
}
}
is_valid = {
highest_held_title_tier = tier_kingdom
completely_controls_region = custom_swedish_empire
}
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_swedish_empire_decision_effect_tooltip
gain_heroic_legend_seed_tooltip_effect = yes
show_as_tooltip = {
restore_swedish_empire_effect = yes
}
hidden_effect = {
restore_swedish_empire_effect = yes
add_to_global_variable_list = {
name = unavailable_unique_decisions
target = flag:restored_swedish_empire
}
set_global_variable = {
name = flag_restored_swedish_empire
value = root
}
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 100
}
}

View file

@ -1,4 +1,10 @@
# special titles
@correct_culture_primary_score = 100
@better_than_the_alternatives_score = 50
@always_primary_score = 1000
@never_primary_score = -1000
h_europa = {
color = { 0 51 153 }
@ -11,6 +17,18 @@ h_europa = {
}
}
e_sweden = {
color = { 5 50 90 }
capital = c_stockholm
ai_primary_priority = {
add = @always_primary_score
}
}
#e_europa = {
# color = { 0 51 153 }
# capital = c_brabant # Brussels

View file

@ -13,4 +13,7 @@ nick_NEOW_the_menhir = {}
nick_NEOW_the_phantom = {}
nick_NEOW_the_oracle = {}
nick_NEOW_the_cimbrian = {}
nick_NEOW_the_monolith = {}
nick_NEOW_the_monolith = {}
# Decision Nicknames
nick_the_lion_of_the_north = {}

View file

@ -3862,3 +3862,133 @@ found_empire_of_hindustan_scripted_effect = {
add_legitimacy_effect = { LEGITIMACY = massive_legitimacy_gain }
dynasty ?= { add_dynasty_prestige = massive_dynasty_prestige_value }
}
restore_swedish_empire_effect = {
add_prestige = massive_prestige_gain
add_piety = massive_piety_gain
give_nickname = nick_the_lion_of_the_north
save_scope_as = scoped_ruler
create_title_and_vassal_change = {
type = created
save_scope_as = change
add_claim_on_loss = no
}
title:e_sweden = {
change_title_holder = {
holder = scope:scoped_ruler
change = scope:change
}
hidden_effect = {
copy_title_history = title:k_sweden
}
}
resolve_title_and_vassal_change = scope:change
hidden_effect = {
set_primary_title_to = title:e_sweden
title:d_vasterbottena = { set_de_jure_liege_title = title:k_sweden }
title:d_norrbottena = { set_de_jure_liege_title = title:k_sweden }
title:d_giemajohka = { set_de_jure_liege_title = title:k_finland }
title:d_west_karelia = { set_de_jure_liege_title = title:k_finland }
title:k_finland = { set_de_jure_liege_title = title:e_sweden }
title:d_west_karelia = { set_de_jure_liege_title = title:k_finland }
title:k_esthonia = { set_de_jure_liege_title = title:e_sweden }
title:k_sweden = { set_de_jure_liege_title = title:e_sweden }
if = {
limit = {
exists = title:gotaland
}
destroy_title = title:gotaland
}
if = {
limit = { title:k_gotaland ?= { is_titular = no } }
title:k_gotaland = {
every_in_de_jure_hierarchy = {
limit = { tier = tier_duchy }
set_de_jure_liege_title = title:k_sweden
}
}
}
if = {
limit = {
title:k_norway = { is_titular = no }
OR = {
has_title = title:k_norway
completely_controls = title:k_norway
}
}
title:k_norway = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_latvia = { is_titular = no }
OR = {
has_title = title:k_latvia
completely_controls = title:k_latvia
}
}
title:k_latvia = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_lithuania = { is_titular = no }
OR = {
has_title = title:k_lithuania
completely_controls = title:k_lithuania
}
}
title:k_lithuania = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_schleswig_holstein = { is_titular = no }
OR = {
has_title = title:k_schleswig_holstein
completely_controls = title:k_schleswig_holstein
}
}
title:k_schleswig_holstein = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_karelia = { is_titular = no }
OR = {
has_title = title:k_karelia
completely_controls = title:k_karelia
}
}
title:k_karelia = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_poland = { is_titular = no }
OR = {
has_title = title:k_poland
completely_controls = title:k_poland
}
}
title:k_poland = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_poland = { is_titular = no }
OR = {
has_title = title:k_poland
completely_controls = title:k_poland
}
}
title:k_poland = { set_de_jure_liege_title = title:e_sweden }
}
if = {
limit = {
title:k_petrograd = { is_titular = no }
OR = {
has_title = title:k_petrograd
completely_controls = title:k_petrograd
}
}
title:k_petrograd = { set_de_jure_liege_title = title:e_sweden }
}
}
}