Skip to content

Commit

Permalink
Merge pull request #434 from Cold-War-Project/on-trigger-cleanup
Browse files Browse the repository at this point in the history
feat: leader ideologies now have opinions on monetary policy, and the…
  • Loading branch information
Arcadyi authored Jul 26, 2023
2 parents 607c6da + 3f7a63f commit 9f1e23d
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 60 deletions.
14 changes: 14 additions & 0 deletions common/ideologies/cwp_00_leader_authoritarian_ideologies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ ideology_fascist = {
law_hereditary = neutral
law_administrative = neutral
}
lawgroup_monetary_policy = {
law_gold_standard = neutral
law_government_controlled = strongly_approve
law_government_interference = approve
law_independent_monetary_policy = disapprove
law_pegged_currency = strongly_disapprove
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -304,6 +311,13 @@ ideology_developmentalist = {
law_anti_industrialization = strongly_disapprove
law_decentralization = strongly_disapprove
}
lawgroup_monetary_policy = {
law_gold_standard = neutral
law_government_controlled = strongly_approve
law_government_interference = approve
law_independent_monetary_policy = disapprove
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down
28 changes: 28 additions & 0 deletions common/ideologies/cwp_00_leader_issue_ideologies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ ideology_primitivist = {
law_anti_industrialization = strongly_approve
law_decentralization = neutral
}
lawgroup_monetary_policy = {
law_gold_standard = strongly_approve
law_government_controlled = strongly_disapprove
law_government_interference = strongly_disapprove
law_independent_monetary_policy = neutral
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -345,6 +352,13 @@ ideology_globalist = {
law_selective_immigration = neutral
law_closed_borders = disapprove
}
lawgroup_monetary_policy = {
law_gold_standard = disapprove
law_government_controlled = strongly_disapprove
law_government_interference = neutral
law_independent_monetary_policy = strongly_approve
law_pegged_currency = approve
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -402,6 +416,13 @@ ideology_autarky = {
law_professional_military = approve
law_volunteer_only_military = neutral
}
lawgroup_monetary_policy = {
law_gold_standard = strongly_approve
law_government_controlled = approve
law_government_interference = neutral
law_independent_monetary_policy = disapprove
law_pegged_currency = strongly_disapprove
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -470,6 +491,13 @@ ideology_aristocrat = {
law_free_market = neutral
law_interventionism = approve
}
lawgroup_monetary_policy = {
law_gold_standard = strongly_approve
law_government_controlled = disapprove
law_government_interference = disapprove
law_independent_monetary_policy = approve
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down
36 changes: 36 additions & 0 deletions common/ideologies/cwp_00_leader_liberal_ideologies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ ideology_de_regulationist = {
law_net_zero = disapprove
law_pollution_ban = strongly_disapprove
}
lawgroup_monetary_policy = {
law_gold_standard = approve
law_government_controlled = strongly_disapprove
law_government_interference = disapprove
law_independent_monetary_policy = strongly_approve
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -202,6 +209,21 @@ ideology_privatizer = {
law_church_run_schools = disapprove
law_informal_schooling = neutral
}
lawgroup_monetary_policy = {
law_gold_standard = neutral
law_government_controlled = strongly_disapprove
law_government_interference = disapprove
law_independent_monetary_policy = strongly_approve
law_pegged_currency = neutral
}
lawgroup_nationalization = {
law_total_nationalization = strongly_disapprove
law_heavy_industry_nationalization = disapprove
law_military_industry_nationalization = neutral
law_resource_extraction_nationalization = neutral
law_public_utility_companies = approve
law_no_nationalization = strongly_approve
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -392,6 +414,13 @@ ideology_market_liberal = {
law_public_utility_companies = approve
law_no_nationalization = strongly_approve
}
lawgroup_monetary_policy = {
law_gold_standard = neutral
law_government_controlled = strongly_disapprove
law_government_interference = disapprove
law_independent_monetary_policy = strongly_approve
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down Expand Up @@ -455,6 +484,13 @@ ideology_state_interventionist = {
law_export_orientation = neutral
law_free_trade = disapprove
}
lawgroup_monetary_policy = {
law_gold_standard = neutral
law_government_controlled = strongly_approve
law_government_interference = approve
law_independent_monetary_policy = disapprove
law_pegged_currency = neutral
}
possible = {
scope:interest_group = {
or = {
Expand Down
7 changes: 7 additions & 0 deletions common/ideologies/cwp_00_leader_socialist_ideologies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ ideology_market_socialist = {
law_export_orientation = approve
law_free_trade = neutral
}
lawgroup_monetary_policy = {
law_gold_standard = disapprove
law_government_controlled = neutral
law_government_interference = strongly_approve
law_independent_monetary_policy = approve
law_pegged_currency = neutral
}
possible = {
and = {
scope:interest_group = {
Expand Down
2 changes: 1 addition & 1 deletion common/on_actions/00_code_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ on_law_enactment_pass = {
limit = {
root = {
or = {
currently_enacting_law.type = law_type:law_heavy_industry_nationalization
currently_enacting_law.type = law_type:law_socialization
currently_enacting_law.type = law_type:law_total_nationalization
}
}
Expand Down
59 changes: 0 additions & 59 deletions events/CWP_events/ideology_events/dynamic_ideology_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -456,36 +456,6 @@ dynamic_ideologies.10 = {
name = dynamic_ideologies.10.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_politicized
}
remove_ideology = ideology_politicized
}
else_if = {
limit = {
has_ideology = ideology:ideology_appointed
}
remove_ideology = ideology_appointed
}
else_if = {
limit = {
has_ideology = ideology:ideology_independent
}
remove_ideology = ideology_independent
}
else_if = {
limit = {
has_ideology = ideology:ideology_elected
}
remove_ideology = ideology_elected
}
else_if = {
limit = {
has_ideology = ideology:ideology_technocratic
}
remove_ideology = ideology_technocratic
}
add_ideology = ideology_apparatus
}
ai_chance = {
Expand Down Expand Up @@ -513,12 +483,6 @@ dynamic_ideologies.11 = {
name = dynamic_ideologies.11.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_apparatus
}
remove_ideology = ideology_apparatus
}
else_if = {
limit = {
has_ideology = ideology:ideology_appointed
Expand Down Expand Up @@ -570,12 +534,6 @@ dynamic_ideologies.12 = {
name = dynamic_ideologies.12.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_apparatus
}
remove_ideology = ideology_apparatus
}
else_if = {
limit = {
has_ideology = ideology:ideology_politicized
Expand Down Expand Up @@ -627,12 +585,6 @@ dynamic_ideologies.13 = {
name = dynamic_ideologies.13.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_apparatus
}
remove_ideology = ideology_apparatus
}
else_if = {
limit = {
has_ideology = ideology:ideology_politicized
Expand Down Expand Up @@ -684,12 +636,6 @@ dynamic_ideologies.14 = {
name = dynamic_ideologies.14.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_apparatus
}
remove_ideology = ideology_apparatus
}
else_if = {
limit = {
has_ideology = ideology:ideology_politicized
Expand Down Expand Up @@ -741,11 +687,6 @@ dynamic_ideologies.15 = {
name = dynamic_ideologies.15.a
default_option = yes
ig:ig_bureaucrats = {
if = {
limit = {
has_ideology = ideology:ideology_apparatus
}
remove_ideology = ideology_apparatus
}
else_if = {
limit = {
Expand Down

0 comments on commit 9f1e23d

Please sign in to comment.