Skip to content

Commit

Permalink
Work on Austrian cores
Browse files Browse the repository at this point in the history
* Reworked the "Greater Germany" event chain so it adds cores (for Germany) to Austria proper only. This is done to fix weirdness in regards to core distribution, but at some point I'd like to rework the whole chain and Austria's starting cores to be more consistent.
* Fixed country release distribution if Austria is absorbed, to ensure more majors are released instead of a bunch of minors. Also fixed the cores that A-H gets, the ones that Hungary loses and the ones Austria gains when it flips from A-H back to Austria so it's all consistent across the board. Previously Austria would gain cores when flipping from A-H.
  • Loading branch information
arkhometha committed Jan 27, 2020
1 parent 25b5a76 commit 886223f
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 43 deletions.
18 changes: 14 additions & 4 deletions HPM/decisions/AUS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@ political_decisions = {
}
remove_core = KRA
}
AUS_771 = { remove_core = HUN }
#AUS_771 = { remove_core = HUN }
624 = { remove_core = HUN }
778 = { remove_core = HUN }
HUN = {
all_core = { add_core = KUK }
}
CRO = {
all_core = { add_core = KUK }
}
GLM = {
all_core = { add_core = KUK }
}
any_pop = {
limit = { has_pop_culture = hungarian }
militancy = -4
Expand Down Expand Up @@ -77,10 +82,10 @@ political_decisions = {
tag = NGF
tag = PRU
tag = GER
}
}
exists = yes
is_greater_power = yes
}
}
relation = { who = THIS value = 50 }
}
}
Expand Down Expand Up @@ -162,7 +167,10 @@ political_decisions = {

effect = {
HUN = {
all_core = { remove_core = KUK }
all_core = {
limit = { NOT = { province_id = 624 } }
remove_core = KUK
}
}
POL = {
all_core = { remove_core = KUK }
Expand All @@ -171,6 +179,8 @@ political_decisions = {
remove_core = KUK
add_core = AUS
}
AUS_780 = { remove_core = AUS }
2582 = { remove_core = AUS }
any_pop = {
limit = { has_pop_culture = hungarian }
militancy = 4
Expand Down
1 change: 0 additions & 1 deletion HPM/decisions/Germany.txt
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,6 @@ political_decisions = {
diplomatic_influence = { who = SGM value = -400 }
release = SGM
leave_alliance = SGM
SGM = { neutrality = yes }
594 = {
remove_core = SGM
add_core = THIS
Expand Down
2 changes: 2 additions & 0 deletions HPM/decisions/Political.txt
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,15 @@ political_decisions = {
AND = { tag = VEN owns = 729 NOT = { capital = 729 } }
AND = { tag = KOR owns = 1624 NOT = { capital = 1624 } }
AND = { tag = ALB owns = 849 NOT = { capital = 849 } }
AND = { tag = SLO owns = 849 NOT = { capital = 768 } }
AND = { tag = ASH civilized = yes owns = 1907 NOT = { capital = 1907 } }
}
}

allow = { war = no }

effect = {
random_owned = { limit = { owner = { tag = SLO } } owner = { capital = 768 } }
random_owned = { limit = { owner = { tag = ALB } } owner = { capital = 849 } }
random_owned = { limit = { owner = { tag = KOR } } owner = { capital = 1624 } }
random_owned = { limit = { owner = { tag = ASH } } owner = { capital = 1907 } }
Expand Down
153 changes: 120 additions & 33 deletions HPM/events/Greater Germany.txt
Original file line number Diff line number Diff line change
Expand Up @@ -780,19 +780,25 @@ country_event = {
random_country = {
limit = {
OR = {
tag = KUK
tag = FROM
tag = KUK
tag = FROM
}
}
all_core = {
limit = { is_core = HUN }
limit = {
is_core = HUN
NOT = { province_id = 623 }
}
remove_core = KUK
}
}
FROM = {
all_core = {
limit = {
NOT = { is_core = HUN }
OR = {
NOT = { is_core = HUN }
region = AUS_623
}
}
add_core = GER
}
Expand Down Expand Up @@ -852,14 +858,10 @@ country_event = {
option = {
name = "EVT31516OPTB"
badboy = 20
FROM = {
all_core = {
limit = {
NOT = { is_core = HUN }
}
add_core = GER
}
}
AUS_612 = { add_core = GER remove_core = HUN }
AUS_734 = { add_core = GER remove_core = HUN }
AUS_613 = { add_core = GER remove_core = HUN }
AUS_619 = { add_core = GER remove_core = HUN }
any_country = {
limit = {
is_greater_power = yes
Expand Down Expand Up @@ -1021,18 +1023,10 @@ country_event = {
badboy = 20
diplomatic_influence = { who = FROM value = -400 }
relation = { who = FROM value = -400 }
FROM = {
all_core = {
limit = {
OR = {
culture = south_german
culture = north_german
}
NOT = { is_core = HUN }
}
add_core = GER
}
}
AUS_612 = { add_core = GER remove_core = HUN }
AUS_734 = { add_core = GER remove_core = HUN }
AUS_613 = { add_core = GER remove_core = HUN }
AUS_619 = { add_core = GER remove_core = HUN }
add_casus_belli = {
target = FROM
type = humiliate
Expand Down Expand Up @@ -1141,14 +1135,10 @@ country_event = {
name = "EVT31519OPTA"
prestige = 10
badboy = 20
FROM = {
all_core = {
limit = {
NOT = { is_core = HUN }
}
add_core = GER
}
}
AUS_612 = { add_core = GER remove_core = HUN }
AUS_734 = { add_core = GER remove_core = HUN }
AUS_613 = { add_core = GER remove_core = HUN }
AUS_619 = { add_core = GER remove_core = HUN }
FROM = { country_event = 31520 }
any_country = {
limit = {
Expand Down Expand Up @@ -1258,9 +1248,42 @@ country_event = {
all_core = { remove_core = KUK }
}
}

any_country = {
limit = {
tag = HUN
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31517
}
any_country = {
limit = {
OR = {
tag = CRO
tag = SLO
tag = SLV
tag = BOH
}
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31517
}
any_country = {
limit = {
NOT = { is_culture_group = germanic }
NOT = { is_culture_group = italian }
NOT = { tag = HUN }
any_core = {
owned_by = THIS
Expand All @@ -1274,7 +1297,8 @@ country_event = {
}
any_country = {
limit = {
tag = HUN
is_culture_group = italian
NOT = { tag = HUN }
any_core = {
owned_by = THIS
NOT = { is_core = GER }
Expand Down Expand Up @@ -1359,6 +1383,69 @@ country_event = {
}
country_event = 31522
}


any_country = {
limit = {
tag = HUN
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31526
}
any_country = {
limit = {
OR = {
tag = CRO
tag = SLO
tag = SLV
tag = BOH
}
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31526
}
any_country = {
limit = {
NOT = { is_culture_group = germanic }
NOT = { is_culture_group = italian }
NOT = { tag = HUN }
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31526
}
any_country = {
limit = {
is_culture_group = italian
NOT = { tag = HUN }
any_core = {
owned_by = THIS
NOT = { is_core = GER }
is_colonial = no
}
exists = no
is_cultural_union = no
}
country_event = 31526
}

any_country = {
limit = {
any_core = { owned_by = THIS }
Expand Down
5 changes: 1 addition & 4 deletions HPM/events/PRUFlavor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -832,10 +832,7 @@ country_event = {
608 = { remove_core = GER }
608 = { remove_core = PRU }
608 = { remove_core = NEH }
NEH = {
neutrality = yes
annex_to = SWI
}
SWI = { inherit = NEH }

relation = { who = SWI value = 75 }
diplomatic_influence = { who = SWI value = 50 }
Expand Down
2 changes: 1 addition & 1 deletion HPM/history/pops/1836.1.1/Poland.txt
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
farmers = {
culture = polish
religion = catholic
size = 45715
size = 48715
}

serfs = {
Expand Down

0 comments on commit 886223f

Please sign in to comment.