Skip to content

Commit 2813104

Browse files
Merge pull request #1997 from EaW-Team/release-2.3.0.1
Release 2.3.0.1
2 parents 8b997c4 + 7d31a11 commit 2813104

File tree

174 files changed

+15100
-1795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+15100
-1795
lines changed

changelog.txt

Lines changed: 97 additions & 39 deletions
Large diffs are not rendered by default.

common/ai_strategy/EQS.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ EQS_template_design_1 = {
2828
ai_strategy = {
2929
type = template_prio
3030
id = magical_infantry
31-
value = 5
31+
value = 10
3232
}
3333

3434
ai_strategy = {
@@ -98,7 +98,7 @@ EQS_template_design_2 = {
9898
ai_strategy = {
9999
type = template_prio
100100
id = magical_infantry
101-
value = 10
101+
value = 15
102102
}
103103

104104
ai_strategy = {
@@ -988,7 +988,7 @@ EQS_naval_role_ratios_historical = {
988988
ai_strategy = {
989989
type = role_ratio
990990
id = naval_capital_bb
991-
value = 2
991+
value = 5
992992
}
993993

994994
ai_strategy = {
@@ -1000,7 +1000,7 @@ EQS_naval_role_ratios_historical = {
10001000
ai_strategy = {
10011001
type = role_ratio
10021002
id = naval_carrier
1003-
value = 4
1003+
value = 5
10041004
}
10051005

10061006
ai_strategy = {
@@ -1012,19 +1012,19 @@ EQS_naval_role_ratios_historical = {
10121012
ai_strategy = {
10131013
type = role_ratio
10141014
id = naval_submarine
1015-
value = -150
1015+
value = -15
10161016
}
10171017

10181018
ai_strategy = {
10191019
type = role_ratio
10201020
id = naval_screen
1021-
value = 250
1021+
value = 125
10221022
}
10231023

10241024
ai_strategy = {
10251025
type = role_ratio
10261026
id = naval_escort
1027-
value = 50
1027+
value = 25
10281028
}
10291029

10301030
ai_strategy = {

common/ai_strategy/GENERIC.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ interested_in_magic = {
672672
ai_strategy = {
673673
type = template_prio
674674
id = magical_infantry
675-
value = 5
675+
value = 10
676676
}
677677
ai_strategy = {
678678
type = role_ratio
@@ -709,7 +709,7 @@ interested_in_magic_tech = {
709709
ai_strategy = {
710710
type = template_prio
711711
id = magical_infantry
712-
value = 5
712+
value = 10
713713
}
714714
ai_strategy = {
715715
type = role_ratio
@@ -775,7 +775,7 @@ even_more_interested_in_magic = {
775775
ai_strategy = {
776776
type = template_prio
777777
id = magical_infantry
778-
value = 5
778+
value = 10
779779
}
780780
ai_strategy = {
781781
type = role_ratio

common/ai_strategy/HLR_DED.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,6 @@ DED_unit_production = {
606606
id = armor
607607
value = 0
608608
}
609-
610-
ai_strategy = {
611-
type = ignore_army_incompetence
612-
value = 75
613-
}
614609

615610
ai_strategy = {
616611
type = front_control
@@ -655,10 +650,18 @@ DED_you_should_be_prepared_for_war = {
655650
ai_strategy = {
656651
type = build_army
657652
id = infantry
658-
value = 50
653+
value = 500
659654
}
660655
ai_strategy = {
661656
type = force_build_armies
662-
value = 150
657+
value = 500
663658
}
659+
ai_strategy = {
660+
type = ignore_army_incompetence
661+
value = 100
662+
}
663+
ai_strategy = {
664+
type = ai_wanted_divisions_factor
665+
value = 500
666+
}
664667
}

common/ai_strategy/default.txt

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ AI_unit_production_for_more_24_mils = { #should help to have more important e
162162
}
163163
more_important_air = {
164164
enable = {
165-
OR = {
166-
has_tech = early_fighter
167-
has_tech = early_bomber
168-
}
169165
OR = {
170166
AND = {
171167
num_of_military_factories > 40
@@ -178,10 +174,19 @@ more_important_air = {
178174
abort_when_not_enabled = yes
179175
ai_strategy = {
180176
type = air_factory_balance
181-
value = 75
177+
value = 50
178+
}
179+
}
180+
more_important_air_2 = {
181+
enable = {
182+
num_of_military_factories > 300
183+
}
184+
abort_when_not_enabled = yes
185+
ai_strategy = {
186+
type = air_factory_balance
187+
value = 25
182188
}
183189
}
184-
185190
default_role_ratios = {
186191
enable = {
187192
not = {
@@ -1165,6 +1170,12 @@ slightly_naval_focused_nation = {
11651170
type = dockyard_to_military_factory_ratio
11661171
value = 5
11671172
}
1173+
1174+
ai_strategy = {
1175+
type = unit_ratio
1176+
id = naval_bomber
1177+
value = 2
1178+
}
11681179
}
11691180

11701181
more_naval_focused_nation = {
@@ -1229,6 +1240,12 @@ more_naval_focused_nation = {
12291240
type = dockyard_to_military_factory_ratio
12301241
value = 25
12311242
}
1243+
1244+
ai_strategy = {
1245+
type = unit_ratio
1246+
id = naval_bomber
1247+
value = 3
1248+
}
12321249
}
12331250

12341251

@@ -1359,7 +1376,7 @@ DEFAULT_template_design = {
13591376
ai_strategy = {
13601377
type = template_prio
13611378
id = magical_infantry
1362-
value = 5
1379+
value = 15
13631380
}
13641381
}
13651382

@@ -1425,7 +1442,7 @@ DEFAULT_template_design_2 = {
14251442
ai_strategy = {
14261443
type = template_prio
14271444
id = magical_infantry
1428-
value = 10
1445+
value = 15
14291446
}
14301447
}
14311448

common/ai_strategy/division_limiter.txt

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,38 @@ division_limiter = {
3333
multiply_temp_variable = {
3434
upper_limit = 1.15
3535
}
36+
if = {
37+
limit = {
38+
manpower_per_military_factory < 1000
39+
}
40+
multiply_temp_variable = {
41+
upper_limit = 0.6
42+
}
43+
}
44+
else_if = {
45+
limit = {
46+
manpower_per_military_factory < 750
47+
}
48+
multiply_temp_variable = {
49+
upper_limit = 0.35
50+
}
51+
}
52+
else_if = {
53+
limit = {
54+
manpower_per_military_factory < 500
55+
}
56+
multiply_temp_variable = {
57+
upper_limit = 0.2
58+
}
59+
}
60+
else_if = {
61+
limit = {
62+
manpower_per_military_factory < 200
63+
}
64+
multiply_temp_variable = {
65+
upper_limit = 0.01
66+
}
67+
}
3668
if = {
3769
limit = {
3870
OR = {
@@ -68,6 +100,11 @@ division_limiter = {
68100
}
69101
abort_when_not_enabled = yes
70102

103+
ai_strategy = {
104+
type = ai_wanted_divisions_factor
105+
value = -50
106+
}
107+
71108
ai_strategy = {
72109
type = build_army
73110
id = garrison

0 commit comments

Comments
 (0)