Skip to content

Commit 72c39a2

Browse files
Merge pull request #2070 from EaW-Team/general-dev
2.4.2.5
2 parents a1b9925 + e93fe54 commit 72c39a2

File tree

316 files changed

+15455
-2854
lines changed

Some content is hidden

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

316 files changed

+15455
-2854
lines changed

ParliamentGUIGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def create_widgets(self):
246246
self.run_script.pack(side="top")
247247

248248
def select_image_path(self):
249-
self.select_image_file = filedialog.askopenfilename(initialdir=curr_dir + "\gfx")
249+
self.select_image_file = filedialog.askopenfilename(initialdir=curr_dir + r"\gfx")
250250
self.load_image(self.select_image_file)
251251

252252
def load_image(self, pth):

autofocusfilters.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# By DrNjitram, minor edits by Yard1
2-
from codecs import open
2+
#from codecs import open
33
import glob
44
import os
55
import argparse
@@ -202,7 +202,7 @@ def get_keywords(effect):
202202
idea_markers = dict()
203203

204204
for filename in glob.glob("*.txt", root_dir=os.path.join(eaw_folder, "common", "ideas")):
205-
with open(os.path.join(eaw_folder, "common", "ideas", filename), 'r', 'utf-8') as file:
205+
with open(os.path.join(eaw_folder, "common", "ideas", filename), 'r', encoding='utf-8') as file:
206206
lines = file.readlines()
207207

208208
level = 0
@@ -240,12 +240,11 @@ def get_keywords(effect):
240240

241241
for filename in glob.glob(args.focuses, root_dir=os.path.join(eaw_folder, "common", "national_focus")):
242242

243-
file = open(os.path.join(eaw_folder, "common", "national_focus", filename), 'r', 'utf-8')
243+
file = open(os.path.join(eaw_folder, "common", "national_focus", filename), 'r', encoding='utf-8')
244244
lines = file.readlines()
245245
file.close()
246246

247-
file = open(os.path.join(eaw_folder, "common", "national_focus", filename), 'w', 'utf-8')
248-
file.truncate(0)
247+
file = open(os.path.join(eaw_folder, "common", "national_focus", filename), 'wa', encoding='utf-8')
249248

250249
check_shit = False
251250
current_keywords = set()

changelog.txt

Lines changed: 105 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,108 @@
1-
🐱 “Cats and Dogs” 2.4.2.4 🐶
1+
🐱 “Cats and Dogs” 2.4.2.5 🐶
2+
✢ Removals:
3+
- Removed jolly Hearth's Warming spirit from the main menu.
4+
✢ Additions:
5+
- Added light and secondary batteries 5 & 6.
6+
- Added naval topview GFX for helicopters, planes, and missiles for all hulls.
7+
- Added a custom topview for supercarriers.
8+
- Added non-aligned constitutional monarchy subideology.
9+
- Added new temporary positive opinion modifier between River Coalition nations and communist Longsword.
10+
- Bronzehill:
11+
- Steelpaw can now destroy the Grand Temple of Arcturius if he controls Rila and has destroyed the other Grand Temples.
12+
- Changeling Lands:
13+
- Added helicopter icon.
14+
- Dragon Lands:
15+
- New portraits for Lord Torch and Lord Ruby.
16+
- New advisor icon for Cynder.
17+
- Polar Bear Communities:
18+
- Added icon for magical Panzerbjørn.
19+
- Stalliongrad:
20+
- Added helicopter, supersonic fighter and mothership icons.
21+
✢ Changes:
22+
- Rangers are now included in the "Magical Weapons for Special Forces" decisions.
23+
- Reduced naval dominance of 1018 and 1022 heavy hulls, and boosted that of 1018 super heavy.
24+
- 1018 and 1022 heavy ships and cruisers, as well as 1018 super-heavy, can now mount missiles in their main batteries.
25+
- Light missiles now have less piercing but cost less resources.
26+
- Medium missiles have more heavy attack and less light attack, and more piercing overall.
27+
- Heavy and super-heavy missile batteries are pure heavy attack with more piercing and more attack overall.
28+
- Added organization boosts to lategame naval doctrines.
29+
- Reduced helicopter cap on heavy ships from 4 to 2.
30+
- Different countries now use different transport plane icons.
31+
- Assigned generic portraits to various advisors that had none.
32+
- Supercarrier range & resource cost increased.
33+
- Made Hearth's Warming music more likely to play in December.
34+
- Improvements to River Coalition and Solar Empire factions.
35+
- Militia division templates for Changeling Lands and Equestria are no longer locked.
36+
- Bronzehill:
37+
- In case the Imperial Service Proclamation was enacted, establishing dog communities in the Northern Mountains now reduces the recruitment debuff in the affected states.
38+
- Changeling Lands:
39+
- Can get a wargoal on Griffon Frontier now.
40+
- Hippogriffia:
41+
- Gave a generic portrait to the starting air scientist.
42+
- Buffed "Developing The Outer Islands" focus.
43+
- Klugetown:
44+
- Changed conditions for Free Trade Zone formable.
45+
- Olenia:
46+
- Now uses more vanilla Finland equipment icons.
47+
- Tobuck:
48+
- Alesia renames Stalliongrad to Princessyn now.
49+
✢ Fixes:
50+
- Fixed scaling on SHBB battery 2.
51+
- Updated the lategame floatplanes to keep parity with new carrier detection.
52+
- Fixed Griffon Knight Armor special project option values.
53+
- Fixed Magical Quarry icon in the special project screen.
54+
- Added missing naval module.
55+
- Fixed light medium battery 4 being unavailable.
56+
- Added torpedo gunboats and protected cruisers to Operation Paperclip technology bonuses.
57+
- Fixed state control requirement for Prospect Khaneigh Oil Deposits decision.
58+
- Fixed cruiser 6s not being able to mount DP light batteries.
59+
- Several countries, most notably Abyssinia, should no longer reset their focus trees if territory is returned to them.
60+
- Fixed issues with the mercenary system used by Nova Griffonia and Skyfall.
61+
- Abyssinia:
62+
- Made sure the slave revolt can't have Gomez as a field marshal.
63+
- Tried to make sure portraits of Gomez and Sharp Spear get updated properly.
64+
- Aquileia:
65+
- Fixed conquest decisions not showing up.
66+
- Arcturian Order:
67+
- Fixed being blocked from its focus tree when April Fools' content is enabled.
68+
- Bronzehill:
69+
- Fixed the ruling party not being renamed once Ignatius dies in the revenge path.
70+
- Added check that Griffenheim is controlled when declaring the regency.
71+
- Celestial Resistance:
72+
- Changed the duration calculation in artifact with the new day value.
73+
- Coltva:
74+
- Fixed coal decisions using steel icon.
75+
- Dread League:
76+
- Fixes to April Fools' content.
77+
- Hellquill:
78+
- Improved how the Ostwall focuses function.
79+
- Hippogriffia:
80+
- Seapony and hippogriff resentment is now removed by perfect society.
81+
- Hippone:
82+
- Decision no longer removes unrelated Firtree victory point when forming Lake City puppet.
83+
- Fixed a focus giving the wrong plane template.
84+
- Katzennia:
85+
- Fixed "play as Kattail?" event switching you to the wrong country.
86+
- Kiria:
87+
- Now gets correct technologies from the Changeling Lands.
88+
- Polar Bear Communities:
89+
- Olenia should now peace out when the War in the North ends.
90+
- Prywhen:
91+
- Added bypass conditions to the focus about the River Federation.
92+
- South Confederate States:
93+
- Fixed event for choosing the Harmonic flag.
94+
- Stalliongrad:
95+
- Corrected the ideology checks for some national spirits.
96+
- Tobuck:
97+
- Fixed start event timeout triggering Critical Stockpile.
98+
- Fixed Colthage gun selling decision icon.
99+
- Winggarden:
100+
- Fixed the focus "Re-Adopt Hippogriffian Designs" giving an incorrect number of building slots.
101+
- Dehumanized some GFX.
102+
- Miscellaneous bugfixes and improvements.
103+
- Miscellaneous localisation fixes.
104+
105+
🐱 “Cats and Dogs” 2.4.2.4 🐶
2106
✢ Additions:
3107
- Added jolly Hearth's Warming spirit to the main menu.
4108
- Abyssinia:

common/ai_strategy/GENERIC.txt

Lines changed: 30 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -297,26 +297,39 @@ GRF_save_eq_for_EQS_cw = {
297297
}
298298
}
299299

300-
griffon_merchants_of_death = {
300+
GRF_unhappy_with_no_merc_payment = {
301301
reversed = yes
302302
enable_reverse = {
303303
GRF = {
304-
has_completed_focus = GRF_what_in_the_god_damn
304+
has_idea = GRF_send_mercs
305+
is_subject = no
305306
}
306307
}
307308
enable = {
308-
NOT = { tag = GRF }
309-
GRF = { has_idea = GRF_send_mercs }
309+
has_country_flag = mercs_refused_payment_GRF
310+
NOT = {
311+
is_subject_of = GRF
312+
}
310313
}
311314
abort_when_not_enabled = yes
312315
ai_strategy = {
313-
type = send_volunteers_desire
316+
type = antagonize
314317
id = "GRF"
315-
value = -500
318+
value = 100
319+
}
320+
ai_strategy = {
321+
type = contain
322+
id = "GRF"
323+
value = 200
324+
}
325+
ai_strategy = {
326+
type = support
327+
id = "GRF"
328+
value = -200
316329
}
317330
}
318331

319-
trd_griffon_merchants_of_death = {
332+
TRD_unhappy_with_no_merc_payment = {
320333
reversed = yes
321334
enable_reverse = {
322335
TRD = {
@@ -326,64 +339,26 @@ trd_griffon_merchants_of_death = {
326339
}
327340
}
328341
enable = {
329-
NOT = { tag = TRD }
330-
TRD = { has_idea = TRD_mercs_idea }
331-
}
332-
abort_when_not_enabled = yes
333-
ai_strategy = {
334-
type = send_volunteers_desire
335-
id = "TRD"
336-
value = -500
337-
}
338-
}
339-
340-
griffon_merchants_of_death_if_you_pay = {
341-
reversed = yes
342-
allowed = {
343-
original_tag = GRF
344-
}
345-
enable = {
346-
OR = {
347-
GRF = { has_country_flag = agreed_to_mercs_@ROOT }
348-
has_idea = GRF_got_mercs
349-
has_idea = GRF_got_mercs_delayed
342+
has_country_flag = mercs_refused_payment_TRD
343+
NOT = {
344+
is_subject_of = TRD
350345
}
351346
}
352347
abort_when_not_enabled = yes
353348
ai_strategy = {
354-
type = support
355-
id = "GRF"
356-
value = 999
357-
}
358-
ai_strategy = {
359-
type = send_volunteers_desire
360-
id = "GRF"
361-
value = 999
362-
}
363-
}
364-
365-
trd_griffon_merchants_of_death_if_you_pay = {
366-
reversed = yes
367-
allowed = {
368-
original_tag = TRD
369-
}
370-
enable = {
371-
OR = {
372-
TRD = { has_country_flag = agreed_to_mercs_@ROOT }
373-
has_idea = TRD_got_mercs
374-
has_idea = TRD_got_mercs_delayed
375-
}
349+
type = antagonize
350+
id = "TRD"
351+
value = 100
376352
}
377-
abort_when_not_enabled = yes
378353
ai_strategy = {
379-
type = support
354+
type = contain
380355
id = "TRD"
381-
value = 999
356+
value = 200
382357
}
383358
ai_strategy = {
384-
type = send_volunteers_desire
359+
type = support
385360
id = "TRD"
386-
value = 999
361+
value = -200
387362
}
388363
}
389364

common/characters/ABY.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ characters={
22
ABY_taile_sehissie_clawomonid={
33
name=ABY_taile_sehissie_clawomonid
44
portraits={
5+
army={
6+
large="gfx/leaders/ABY/Mood.tga"
7+
small="gfx/interface/ideas/Advisors/ABY/idea_Doomez.tga"
8+
}
59
civilian={
610
large="gfx/leaders/ABY/Mood.tga"
711
small="gfx/interface/ideas/Advisors/ABY/idea_Doomez.tga"
@@ -29,6 +33,10 @@ characters={
2933
ABY_slave_leader={
3034
name=ABY_slave_leader
3135
portraits={
36+
army={
37+
large="gfx/leaders/ABY/the_mare_behind_the_slaughter.tga"
38+
small="gfx/interface/ideas/Advisors/ABY/ABY_sharp_spear.tga"
39+
}
3240
civilian={
3341
large="gfx/leaders/ABY/the_mare_behind_the_slaughter.tga"
3442
small="gfx/interface/ideas/Advisors/ABY/ABY_sharp_spear.tga"
@@ -45,6 +53,10 @@ characters={
4553
ABY_catrina_catwe={
4654
name=ABY_catrina_catwe
4755
portraits={
56+
army={
57+
large="gfx/leaders/ABY/Catrina.tga"
58+
small="gfx/interface/ideas/Advisors/ABY/idea_Catra.tga"
59+
}
4860
civilian={
4961
large="gfx/leaders/ABY/Catrina.tga"
5062
small="gfx/interface/ideas/Advisors/ABY/idea_Catra.tga"

common/characters/DMT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ characters={
6666
}
6767
}
6868
country_leader={
69-
ideology=centrism
69+
ideology=constitutional_monarchism
7070
expire="1965.1.1.1"
7171
id=-1
7272
}

0 commit comments

Comments
 (0)