Skip to content

Commit

Permalink
Tweaks + Bugfix
Browse files Browse the repository at this point in the history
- Stricter requirements for Second Cold War bloc alignment system
Left-wing regimes will never align with right-wing regimes
Right-wing regimes will never align with left-wing regimes

- Bugfix Mercosur decisions
  • Loading branch information
DoktorKure committed Jan 18, 2024
1 parent 29de65c commit b632a8a
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 29 deletions.
122 changes: 100 additions & 22 deletions MHM/decisions/Second Cold War Bloc Alignment System.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,37 @@ political_decisions = {
OR = {
ai = no

#Either extremist ideologies in democratic states or is some kind of dictatorshiop
AND = {
has_country_flag = democratic_state
OR = {
ruling_party_ideology = communist
ruling_party_ideology = communist_social
ruling_party_ideology = traditionalist
ruling_party_ideology = nationalist
ruling_party_ideology = populist
#Far-right regimes will never align with far-left regimes, and vice versa; both like a centrist bloc leader
OR = {
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader ruling_party_ideology = centrist }
OR = {
ruling_party_ideology = traditionalist
ruling_party_ideology = nationalist
ruling_party_ideology = populist
AND = { has_country_flag = authoritarian_state OR = { ruling_party_ideology = conservative ruling_party_ideology = centrist ruling_party_ideology = socialist } }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social ruling_party_ideology = socialist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = socialist }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = conservative ruling_party_ideology = populist ruling_party_ideology = nationalist ruling_party_ideology = traditionalist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = conservative }
ruling_party_ideology = populist
ruling_party_ideology = nationalist
ruling_party_ideology = traditionalist
}
}
}
has_country_flag = authoritarian_state
}

}
Expand Down Expand Up @@ -276,7 +295,7 @@ political_decisions = {
allow = {
NOT = { has_country_modifier = king_timer }

OR = {
OR = {

ai = no

Expand All @@ -303,6 +322,25 @@ political_decisions = {
NOT = { relation = { who = THIS value = 50 } }
}
}

#Far-right regimes will never align with far-left regimes, and vice versa
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social ruling_party_ideology = socialist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = conservative }
ruling_party_ideology = populist
ruling_party_ideology = nationalist
ruling_party_ideology = traditionalist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = populist ruling_party_ideology = nationalist ruling_party_ideology = traditionalist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = socialist }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}

OR = {
has_country_flag = neutrality
Expand Down Expand Up @@ -484,15 +522,37 @@ political_decisions = {
has_country_modifier = democratic_bloc_leader
NOT = { relation = { who = THIS value = 150 } }
}

#Has the right ideology or government type (not liberal or status-quo ideologies)
#Far-right regimes will never align with far-left regimes, and vice versa; both like a centrist bloc leader
OR = {
has_country_flag = authoritarian_state
ruling_party_ideology = populist
ruling_party_ideology = nationalist
ruling_party_ideology = traditionalist
ruling_party_ideology = communist
ruling_party_ideology = communist_social
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader ruling_party_ideology = centrist }
OR = {
ruling_party_ideology = traditionalist
ruling_party_ideology = nationalist
ruling_party_ideology = populist
AND = { has_country_flag = authoritarian_state OR = { ruling_party_ideology = conservative ruling_party_ideology = centrist ruling_party_ideology = socialist } }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social ruling_party_ideology = socialist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = socialist }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = conservative ruling_party_ideology = populist ruling_party_ideology = nationalist ruling_party_ideology = traditionalist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = conservative }
ruling_party_ideology = populist
ruling_party_ideology = nationalist
ruling_party_ideology = traditionalist
}
}
}

}
Expand Down Expand Up @@ -604,11 +664,11 @@ political_decisions = {

#Has the right ideology (liberal or status-quo in democratic nations)
OR = {
ruling_party_ideology = progressive
ruling_party_ideology = liberal
AND = { ruling_party_ideology = conservative has_country_flag = democratic_state }
AND = { ruling_party_ideology = big_tent has_country_flag = democratic_state }
AND = { ruling_party_ideology = socialist has_country_flag = democratic_state }
ruling_party_ideology = liberal
ruling_party_ideology = progressive
}

}
Expand Down Expand Up @@ -707,7 +767,6 @@ political_decisions = {

is_vassal = no


OR = {

#Have good relations with both blocs and is not in a sphere of influence of a bloc leader
Expand Down Expand Up @@ -743,6 +802,25 @@ political_decisions = {
NOT = { relation = { who = THIS value = 0 } }
}
}

#Far-right regimes will never align with far-left regimes, and vice versa
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social ruling_party_ideology = socialist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = conservative }
ruling_party_ideology = populist
ruling_party_ideology = nationalist
ruling_party_ideology = traditionalist
}
}
AND = {
any_greater_power = { has_country_modifier = authoritarian_bloc_leader OR = { ruling_party_ideology = populist ruling_party_ideology = nationalist ruling_party_ideology = traditionalist } }
OR = {
AND = { has_country_flag = authoritarian_state ruling_party_ideology = socialist }
ruling_party_ideology = communist_social
ruling_party_ideology = communist
}
}

#THIS is neutral
OR = {
Expand Down
12 changes: 6 additions & 6 deletions MHM/decisions/Superstate - mercosur.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ political_decisions = {
picture = "xms_ambition"
potential = {
NOT = { has_country_flag = hide_superstate }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
NOT = { has_country_flag = xms_ambition }
}
allow = {
Expand Down Expand Up @@ -85,7 +85,7 @@ political_decisions = {
potential = {
NOT = { has_country_flag = hide_superstate }
NOT = { capital_scope = { has_province_modifier = single_market } }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
}
allow = {
has_country_flag = xms_ambition
Expand All @@ -103,7 +103,7 @@ political_decisions = {
potential = {
NOT = { has_country_flag = hide_superstate }
NOT = { capital_scope = { has_province_modifier = currency_union_province } }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
}
allow = {
has_country_flag = xms_ambition
Expand All @@ -123,7 +123,7 @@ political_decisions = {
potential = {
NOT = { has_country_flag = hide_superstate }
NOT = { capital_scope = { is_core = XMS } }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
}
allow = {
has_country_flag = xms_ambition
Expand All @@ -142,7 +142,7 @@ political_decisions = {
potential = {
NOT = { has_country_flag = hide_superstate }
NOT = { capital_scope = { has_province_modifier = defence_union } }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
}
allow = {
has_country_flag = xms_ambition
Expand All @@ -165,7 +165,7 @@ political_decisions = {
potential = {
NOT = { has_country_flag = hide_superstate }
XMS = { exists = no }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ }
OR = { tag = ARG tag = URU tag = PRG tag = BRZ tag = VNZ tag = LPL }
}
allow = {
has_country_flag = xms_ambition
Expand Down
11 changes: 10 additions & 1 deletion MHM/events/cold_war.txt
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ country_event = {
war = no

#Cold War Ongoing
has_global_flag = blocsenabled
OR = {
has_global_flag = blocsenabled
has_global_flag = blocsenabled2
}

#THIS is not in a superpower bloc
NOT = {
Expand All @@ -309,6 +312,9 @@ country_event = {

has_country_modifier = democratic_bloc_leader
has_country_modifier = democratic_bloc

has_country_modifier = authoritarian_bloc_leader
has_country_modifier = authoritarian_bloc
}
}
}
Expand All @@ -335,6 +341,9 @@ country_event = {

has_country_modifier = democratic_bloc_leader
has_country_modifier = democratic_bloc

has_country_modifier = authoritarian_bloc_leader
has_country_modifier = authoritarian_bloc
}
}
}
Expand Down

0 comments on commit b632a8a

Please sign in to comment.