Skip to content

Commit f9ea6e0

Browse files
authored
Merge pull request #729 from Cold-War-Project/jantwel/remove-colonization-laws
chore: remove colonization laws
2 parents d4cb2f8 + 4ee361c commit f9ea6e0

File tree

13 files changed

+245
-770
lines changed

13 files changed

+245
-770
lines changed

.metadata/metadata.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"common/history/states",
5151
"common/history/trade",
5252
"common/history/treaties",
53+
"common/institutions",
5354
"common/journal_entries",
55+
"common/law_groups",
5456
"common/laws",
5557
"common/mobilization_option_groups",
5658
"common/mobilization_options",

common/ai_strategies/00_default_strategy.txt

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ ai_strategy_default = {
110110
# Which institutions should the AI prefer to invest in
111111
# Using this value in other strategies will function additively
112112
institution_scores = {
113-
institution_colonial_affairs = {
114-
value = 10
115-
}
116113
institution_social_security = {
117114
value = 10
118115
}
@@ -2513,30 +2510,10 @@ ai_strategy_default = {
25132510

25142511
if = {
25152512
limit = {
2516-
NOT = { is_country_type = unrecognized }
2517-
scope:target_country = { is_country_type = unrecognized }
2518-
scope:target_country = {
2519-
OR = {
2520-
is_subject = no
2521-
top_overlord ?= {
2522-
is_country_type = unrecognized
2523-
}
2524-
}
2525-
}
2526-
institution_investment_level = {
2527-
institution = institution_colonial_affairs
2528-
value >= 1
2529-
}
2513+
power_bloc ?= { has_principle_group = principle_group:principle_group_colonial_offices }
25302514
}
25312515
add = 50
25322516

2533-
if = {
2534-
limit = {
2535-
power_bloc ?= { has_principle_group = principle_group:principle_group_colonial_offices }
2536-
}
2537-
add = 50
2538-
}
2539-
25402517
if = {
25412518
limit = {
25422519
scope:target_country = {
@@ -2737,32 +2714,9 @@ ai_strategy_default = {
27372714

27382715
if = {
27392716
limit = {
2740-
can_reach_target_country = yes
2741-
country_rank > scope:target_country.country_rank
2742-
NOT = { is_country_type = unrecognized }
2743-
scope:target_country = { is_country_type = unrecognized }
2744-
scope:target_country = { NOT = { is_subject_of = root } }
2745-
scope:target_country = {
2746-
OR = {
2747-
is_subject = no
2748-
top_overlord ?= {
2749-
is_country_type = unrecognized
2750-
}
2751-
}
2752-
}
2753-
institution_investment_level = {
2754-
institution = institution_colonial_affairs
2755-
value >= 1
2756-
}
2757-
}
2758-
add = 25
2759-
2760-
if = {
2761-
limit = {
2762-
power_bloc ?= { has_principle_group = principle_group:principle_group_colonial_offices }
2763-
}
2764-
add = 50
2717+
power_bloc ?= { has_principle_group = principle_group:principle_group_colonial_offices }
27652718
}
2719+
add = 50
27662720

27672721
if = {
27682722
limit = {

common/ai_strategies/02_diplomatic_strategies.txt

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -310,16 +310,6 @@ ai_strategy_economic_imperialism = {
310310
aggression = {
311311
value = 0.5
312312
if = {
313-
limit = {
314-
NOT = { is_country_type = unrecognized }
315-
scope:target_country = { is_country_type = unrecognized }
316-
institution_investment_level = {
317-
institution = institution_colonial_affairs
318-
value >= 1
319-
}
320-
}
321-
add = 0.5
322-
323313
if = {
324314
limit = {
325315
power_bloc ?= { has_principle = principle:principle_colonial_offices_3 }
@@ -1664,21 +1654,9 @@ ai_strategy_restore_natural_borders = {
16641654

16651655
if = {
16661656
limit = {
1667-
NOT = { is_country_type = unrecognized }
1668-
scope:target_country = { is_country_type = unrecognized }
1669-
institution_investment_level = {
1670-
institution = institution_colonial_affairs
1671-
value >= 1
1672-
}
1673-
}
1674-
add = 1
1675-
1676-
if = {
1677-
limit = {
1678-
power_bloc ?= { has_principle = principle:principle_colonial_offices_3 }
1679-
}
1680-
add = 1.0
1657+
power_bloc ?= { has_principle = principle:principle_colonial_offices_3 }
16811658
}
1659+
add = 1.0
16821660
}
16831661

16841662
# Less aggressive against countries we're just antagonistic against, rather than belligerent/domineering

common/ai_strategies/03_political_strategies.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@
7474
}
7575

7676
institution_scores = {
77-
institution_colonial_affairs = {
78-
value = 150
79-
}
8077
institution_social_security = {
8178
value = 50
8279
}
@@ -219,9 +216,6 @@ ai_strategy_reactionary_agenda = {
219216

220217

221218
institution_scores = {
222-
institution_colonial_affairs = {
223-
value = 200
224-
}
225219
institution_social_security = {
226220
value = 50
227221
}
@@ -397,9 +391,6 @@ ai_strategy_progressive_agenda = {
397391
}
398392

399393
institution_scores = {
400-
institution_colonial_affairs = {
401-
value = 75
402-
}
403394
institution_social_security = {
404395
value = 100
405396
}
@@ -575,9 +566,6 @@ ai_strategy_egalitarian_agenda = {
575566
}
576567

577568
institution_scores = {
578-
institution_colonial_affairs = {
579-
value = 50
580-
}
581569
institution_social_security = {
582570
value = 150
583571
}
@@ -738,9 +726,6 @@ ai_strategy_nationalist_agenda = {
738726
}
739727

740728
institution_scores = {
741-
institution_colonial_affairs = {
742-
value = 150
743-
}
744729
institution_social_security = {
745730
value = 75
746731
}

common/decrees/00_decree.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ decree_greener_grass_campaign = {
583583
if = {
584584
limit = {
585585
is_incorporated = no
586-
scope:country = { NOT = { has_law = law_type:law_colonial_resettlement } } # Already gives a hefty migration bonus
587586
}
588587
multiply = 2.0
589588
}

common/ideologies/_cwp_replace_01_character_ideologies.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -826,13 +826,6 @@ ideology_pacifist = {
826826
law_mass_conscription = disapprove
827827
}
828828

829-
lawgroup_colonization = {
830-
law_no_colonial_affairs = approve
831-
law_colonial_resettlement = strongly_disapprove
832-
law_colonial_exploitation = strongly_disapprove
833-
law_frontier_colonization = strongly_disapprove
834-
}
835-
836829
interest_group_leader_trigger = {
837830
ideology_pacifist_valid_trigger = yes
838831
}
@@ -860,8 +853,6 @@ ideology_pacifist = {
860853
limit = {
861854
owner = {
862855
NOR = {
863-
has_law = law_type:law_colonial_resettlement
864-
has_law = law_type:law_colonial_exploitation
865856
has_law = law_type:law_peasant_levies
866857
has_law = law_type:law_mass_conscription
867858
}
@@ -916,13 +907,6 @@ ideology_jingoist_leader = {
916907
law_peasant_levies = disapprove
917908
}
918909

919-
lawgroup_colonization = {
920-
law_no_colonial_affairs = neutral
921-
law_colonial_resettlement = approve
922-
law_frontier_colonization = approve
923-
law_colonial_exploitation = strongly_approve
924-
}
925-
926910
interest_group_leader_trigger = {
927911
ideology_jingoist_leader_valid_trigger = yes
928912
}
@@ -933,7 +917,6 @@ ideology_jingoist_leader = {
933917
has_role = agitator
934918
owner = {
935919
has_law = law_type:law_mass_conscription
936-
has_law = law_type:law_colonial_exploitation
937920
}
938921
}
939922
interest_group = {
@@ -947,7 +930,6 @@ ideology_jingoist_leader = {
947930
if = {
948931
limit = {
949932
owner = {
950-
has_law = law_type:law_colonial_exploitation
951933
has_law = law_type:law_mass_conscription
952934
}
953935
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
institution_social_security = {
2+
icon = "gfx/interface/icons/institution_icons/social_security.dds"
3+
background_texture = "gfx/interface/illustrations/institutions/social_security.dds"
4+
modifier = {
5+
state_welfare_payments_add = 0.2
6+
state_food_security_add = 0.02
7+
}
8+
}
9+
10+
institution_workplace_safety = {
11+
icon = "gfx/interface/icons/institution_icons/workplace_safety.dds"
12+
background_texture = "gfx/interface/illustrations/institutions/workplace_safety.dds"
13+
modifier = {
14+
building_working_conditions_mult = -0.2
15+
}
16+
}
17+
18+
institution_schools = {
19+
icon = "gfx/interface/icons/institution_icons/schools.dds"
20+
background_texture = "gfx/interface/illustrations/institutions/schools.dds"
21+
}
22+
23+
institution_police = {
24+
icon = "gfx/interface/icons/institution_icons/police.dds"
25+
background_texture = "gfx/interface/illustrations/institutions/police.dds"
26+
modifier = {
27+
state_turmoil_effects_mult = -0.1
28+
}
29+
}
30+
31+
institution_health_system = {
32+
icon = "gfx/interface/icons/institution_icons/health_service.dds"
33+
background_texture = "gfx/interface/illustrations/institutions/health_service.dds"
34+
}
35+
36+
institution_home_affairs = {
37+
icon = "gfx/interface/icons/institution_icons/home_affairs.dds"
38+
background_texture = "gfx/interface/illustrations/institutions/home_affairs.dds"
39+
modifier = {
40+
country_revolution_progress_mult = -0.1
41+
country_secession_progress_mult = -0.1
42+
}
43+
}

common/interest_groups/00_armed_forces.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@
6060
pop_acceptance >= acceptance_status_4
6161
}
6262
value = 25
63-
if = { # Militarisation of colonial settlers
64-
limit = {
65-
owner = {
66-
has_law = law_type:law_colonial_resettlement
67-
}
68-
state = {
69-
is_incorporated = no
70-
}
71-
}
72-
add = 50
73-
}
7463
if = { # Separation of the military and people
7564
limit = {
7665
NOR = {

0 commit comments

Comments
 (0)