Skip to content

Commit

Permalink
Merge pull request #67 from Hi-no-to-ri/next-release
Browse files Browse the repository at this point in the history
Next release KPD2.2.5
  • Loading branch information
Hi-no-to-ri committed May 16, 2024
2 parents 87c2753 + 952a982 commit d5cbe38
Show file tree
Hide file tree
Showing 15 changed files with 497 additions and 34 deletions.
137 changes: 126 additions & 11 deletions common/national_focus/germany.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2770,8 +2770,8 @@ focus_tree = {
available = {
is_subject = no
has_government = fascism
OR = {
GRE = {
GRE = {
OR = {
is_in_faction_with = GER
all_owned_state = {
controller = { is_in_faction_with = GER }
Expand Down Expand Up @@ -5102,6 +5102,12 @@ focus_tree = {

available_if_capitulated = yes

available = {
any_controlled_state = {
is_coastal = yes
}
}

complete_tooltip = {
every_state = {
limit = { has_state_flag = GER_naval_effort_2dockyards }
Expand Down Expand Up @@ -5134,6 +5140,17 @@ focus_tree = {
}
set_state_flag = GER_naval_effort2_2dockyards
}

IF = {
limit = {
NOT = {
any_controlled_state = {
is_coastal = yes
}
}
}
custom_effect_tooltip = GER_naval_effort2_tt
}
random_owned_controlled_state = {
limit = {
dockyard > 0
Expand Down Expand Up @@ -12576,7 +12593,7 @@ focus_tree = {
available = {
OR = {
any_country = {
original_tag = SOV
original_tag = SOV #Don't change here
has_government = communism
}
# any_country = {
Expand All @@ -12585,17 +12602,17 @@ focus_tree = {
# }
}
}
will_lead_to_war_with = SOV
will_lead_to_war_with = SOU #Changed from SOV
# will_lead_to_war_with = RUS

cancel = {
NOT = { country_exists = SOV }
NOT = { country_exists = SOV } #I think it's better not to change here
# NOT = { country_exists = RUS }
}

bypass = {
# OR = {
has_war_with = SOV
has_war_with = SOU #Changed from SOV
# has_war_with = RUS
# }
}
Expand All @@ -12620,11 +12637,11 @@ focus_tree = {
# }
IF = {
limit = {
country_exists = SOV
country_exists = SOV #I think it's better not to change here to SOU
}
create_wargoal = {
type = annex_everything
target = SOV
target = SOU #Changed from SOV
}
}
}
Expand Down Expand Up @@ -14329,7 +14346,7 @@ focus_tree = {
id = GER_betrayed_october
icon = GFX_focus_attack_soviet
prerequisite = { focus = GER_red_eastern_europe }
will_lead_to_war_with = SOV
will_lead_to_war_with = SOU #Changed from SOV
# will_lead_to_war_with = RUS
search_filters = { FOCUS_FILTER_ANNEXATION }
available = {
Expand All @@ -14350,11 +14367,11 @@ focus_tree = {
completion_reward = {
IF = {
limit = {
country_exists = SOV
country_exists = SOV #I think it's better not to change here to SOU
}
create_wargoal = {
type = puppet_wargoal_focus
target = SOV
target = SOU #Changed from SOV
}
}
# IF = {
Expand Down Expand Up @@ -14435,4 +14452,102 @@ focus_tree = {
add_threat = 15
}
}

focus = {
id = GER_save_the_soviet_union
icon = GFX_focus_generic_support_the_left_right
prerequisite = { focus = GER_expand_the_revolution }
# search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }
available = {
OR = {
any_country = {
original_tag = SOV #Don't change here
NOT = { has_government = communism }
}
AND = {
NOT = { has_completed_focus = GER_right_wing }
country_exists = SOB
}
AND = {
NOT = { has_completed_focus = GER_support_trotsky_coup }
country_exists = SOT
}
}
SOV = {
has_global_flag = SOV_soviet_civil_war
}
NOT = {
SOV = { has_global_flag = SOV_soviet_civil_war_over }
}
}
x = 34
y = 1
relative_position_id = GER_expand_the_revolution

cost = 1
ai_will_do = {
factor = 2
}

bypass = {
}
completion_reward = {
add_war_support = 0.2
add_political_power = 120
IF = {
limit = {
any_country = {
original_tag = SOV #Don't change here
NOT = { has_government = communism }
}
}
create_wargoal = {
type = topple_government
target = SOP
}
}
ELSE_IF = {
limit = {
NOT = { has_completed_focus = GER_right_wing }
country_exists = SOB
}
create_wargoal = {
type = topple_government
target = SOB
}
}
ELSE_IF = {
limit = {
NOT = { has_completed_focus = GER_support_trotsky_coup }
country_exists = SOT
}
create_wargoal = {
type = topple_government
target = SOT
}
}
# ELSE_IF = {
# limit = {
# has_completed_focus = GER_establish_fifth_internationale
# NOT = { has_completed_focus = GER_support_trotsky_coup }
# }
# create_wargoal = {
# type = topple_government
# target = SOU
# }
# create_wargoal = {
# type = topple_government
# target = SOV
# }
# }
ELSE = {
create_wargoal = {
type = topple_government
target = SOV
}
}
}
}


}
2 changes: 1 addition & 1 deletion descriptor.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version="KPD2.2.4"
version="KPD2.2.5"
tags={
"Alternative History"
"Events"
Expand Down
Loading

0 comments on commit d5cbe38

Please sign in to comment.