Skip to content

Commit

Permalink
Merge pull request #2012 from EaW-Team/general-dev
Browse files Browse the repository at this point in the history
2.3.1.3 merge
  • Loading branch information
Crni-Bombarder authored Dec 10, 2024
2 parents fa591bf + 07da67e commit 502e0fa
Show file tree
Hide file tree
Showing 292 changed files with 4,512 additions and 5,071 deletions.
41 changes: 38 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
🧭 “Daring Do and the Yaks that SMASH!” 2.3.1.2 🏔️
🧭 “Daring Do and the Yaks that SMASH!” 2.3.1.3 🏔️
✢ Additions:
- Added three new scientists for Stalliongrad and a decision to promote them into generals.
- Added an avionics facility in Stalliongrad.
- Added two new advisors/generals for Kattail's Abyssinia.
- Added a new portrait for Sunburst in Crystal Empire.

✢ Changes:
- Implemented changes from 1.15.2 HOI4 patch.
- Decreased recon and initiative gain for stealth cloak project.
- Further rebalancing related to the Great War.
- Winggarden now uses the hippogriff namelist.
- The focus "Harmonist Syncretic Economics" in Hippogriffia now correctly blocks economic laws.
- Spirit Grenades special project now requires Support Equipment to be researched.
- Abyssinia's Kaiser Kattail has received an updated portrait, alongside decisions to swap them.

✢ Fixes:
- Corrected various problems with Kattail's focus tree.
- Added missing modifiers to Katown when Projekt Metropol is done.
- Long Term Tactical Divination special project now actually applies extra planning and logistics for new leaders.
- Resolved all issues regarding the Deep Rock Drill special project and modifier.
- Universal Translator special project modifier now recognises ownership of Cloudbury.
- Fixed recently introduced issues in Zarishat's Coltva.
- Kattail can no longer build arcologies in land he doesn't own.
- Fixed multiple spawnpoints for rocket sites.
- Fixed defence amount for heavy knight project choice.
- Fixed Yakyakistan claimed states wargoals on Nova Griffonia/Griffonian Frontier.
- Fixed an issue where Tobuck could continue researching pony technologies after swapping.
- Hippogriffia can no longer remove Warzena and Zumidia out of their faction.
- New Mareland can no longer use puppeting decisions as a puppet.
- Fixed an issue where the Political Chaos idea couldn't be removed in republican Nova Griffonia.
- The decision to increase science base for Lake City will no longer appear if already at highest level of it.
- Corrected the Griffking Empire losing its cosmetic tag.
- Farbrook can now unlock a previously unavailable advisor.
- Definitely cleared out the last human infiltrators in changeling models.
- Miscellaneous bugfixes and improvements.
- Miscellaneous localisation fixes.

🧭 “Daring Do and the Yaks that SMASH!” 2.3.1.2 🏔️
✢ Additions:
- Added unique province terrain art for Canterlot, Griffenheim, Manehattan and Vesalipolis.
- Added a custom GUI for managing prefectures for Zarishat's Coltva.
Expand All @@ -14,7 +51,6 @@
- Truthahn in Greifenmarschen now destroys the Grand Temple landmarks.
- The Monument to the Revolution built by Constitutionalist Colthage is now a landmark.
- Francistria is now more willing to make peace with Tarrin.
- Reduced damage to Highhill troops from focus "Send In Saboteurs"

✢ Fixes:
- Eliminated causes of three different CTDs.
Expand All @@ -28,7 +64,6 @@
- Replaced various obsolete tech requirements with special project checks.
- Restored supremacist Romau's special cosmetic tag for forming the Empire.
- Fixed an issue with nuclear submarine engines.
- Fixed Stalliongrad payment for Nova Griffonian republican planes
- Miscellaneous bugfixes and improvements.
- Miscellaneous localisation fixes.

Expand Down
23 changes: 14 additions & 9 deletions common/ai_equipment/EQS_tank.txt
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ EQS_medium_tanks = {

basic_medium_tank_default = { #Medium MKIII
priority = {
factor = 100
factor = 75
modifier = {
has_tech = basic_medium_tank_chassis
factor = 0 #let's not waste XP here
Expand All @@ -973,37 +973,42 @@ EQS_medium_tanks = {
main_armament_slot = {
any_of = {
tank_medium_cannon
tank_close_support_gun
tank_small_cannon_2
tank_small_cannon
}
}
turret_type_slot = tank_medium_two_man_tank_turret
turret_type_slot = tank_medium_three_man_tank_turret
suspension_type_slot = tank_christie_suspension
armor_type_slot = tank_riveted_armor
engine_type_slot = tank_gasoline_engine
special_type_slot_1 = tank_radio_module
special_type_slot_2 = empty
special_type_slot_3 = empty
special_type_slot_4 = empty
special_type_slot_2 = secondary_turret_hmg
special_type_slot_3 = secondary_turret_hmg
special_type_slot_4 = wet_ammo_storage
}
upgrades = {
tank_nsb_engine_upgrade = 4
tank_nsb_armor_upgrade = 4
tank_nsb_engine_upgrade = 6
tank_nsb_armor_upgrade = 5
}
}

allowed_modules = {
tank_small_cannon
tank_small_cannon_2
tank_close_support_gun
tank_medium_cannon
tank_high_velocity_cannon
tank_medium_three_man_tank_turret
tank_medium_two_man_tank_turret
tank_christie_suspension
tank_riveted_armor
tank_gasoline_engine
tank_radio_3
tank_radio_2
tank_radio_1
wet_ammo_storage
secondary_turret_hmg
}
}

Expand All @@ -1028,7 +1033,7 @@ EQS_medium_tanks = {
special_type_slot_1 = tank_radio_module
special_type_slot_2 = secondary_turret_hmg
special_type_slot_3 = wet_ammo_storage
special_type_slot_4 = empty
special_type_slot_4 = secondary_turret_hmg
}
upgrades = {
tank_nsb_engine_upgrade = 8
Expand Down Expand Up @@ -1080,7 +1085,7 @@ EQS_medium_tanks = {
special_type_slot_1 = tank_radio_module
special_type_slot_2 = secondary_turret_hmg
special_type_slot_3 = wet_ammo_storage
special_type_slot_4 = empty
special_type_slot_4 = secondary_turret_hmg
}
upgrades = {
tank_nsb_engine_upgrade = 9
Expand Down
26 changes: 13 additions & 13 deletions common/ai_strategy/EQS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
EQS_template_design_1 = {
enable = {
is_pony_race = yes
date < 1010.1.1
date < 1009.1.1
}
abort = {
date > 1010.1.1
date > 1009.1.1
}

ai_strategy = {
Expand Down Expand Up @@ -83,7 +83,7 @@ EQS_template_design_1 = {
EQS_template_design_2 = {
enable = {
is_pony_race = yes
date > 1010.1.1
date > 1009.1.1
}
abort = {
always = no
Expand All @@ -92,7 +92,7 @@ EQS_template_design_2 = {
ai_strategy = {
type = template_prio
id = infantry
value = 10
value = 15
}

ai_strategy = {
Expand All @@ -104,7 +104,7 @@ EQS_template_design_2 = {
ai_strategy = {
type = template_prio
id = pegasi
value = 10
value = 15
}

ai_strategy = {
Expand All @@ -122,13 +122,13 @@ EQS_template_design_2 = {
ai_strategy = {
type = template_prio
id = light_armor
value = -10
value = -50
}

ai_strategy = {
type = template_prio
id = medium_armor
value = 40
value = 50
}

ai_strategy = {
Expand Down Expand Up @@ -819,7 +819,7 @@ EQS_build_up_army = {
}
ai_strategy = {
type = force_build_armies
value = 25
value = 55
}
ai_strategy = {
type = contain
Expand Down Expand Up @@ -1469,7 +1469,7 @@ EQS_build_more_civs = {

ai_strategy = {
type = added_military_to_civilian_factory_ratio
value = -75
value = -100
}
}

Expand All @@ -1478,16 +1478,16 @@ EQS_mils_target = {
original_tag = EQS
}
enable = {
date > 1008.1.1
num_of_military_factories < 60
date > 1009.1.1
num_of_military_factories < 70
}
abort = {
num_of_military_factories > 61
num_of_military_factories > 71
}
ai_strategy = {
type = building_target
id = arms_factory
value = 61
value = 71
}
ai_strategy = {
type = added_military_to_civilian_factory_ratio
Expand Down
12 changes: 11 additions & 1 deletion common/ai_strategy/_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Try to keep this reasonably up-to-date, please.
-------------------------

## List of available strategy tokens
(updated 2024-07)
(updated 2024-11)

### Related to diplomacy
- `alliance`
Expand Down Expand Up @@ -68,6 +68,7 @@ Try to keep this reasonably up-to-date, please.
- `operation_equipment_priority`
- `operative_mission`
- `operative_operation`
- `become_spymaster`

### Related to production and resources
- `added_military_to_civilian_factory_ratio`
Expand Down Expand Up @@ -656,3 +657,12 @@ ai_strategy = {
value = 200 # Defines how the probability is affected. 200 means +200 %, -50 means -50 %
}
```

### `become_spymaster`
Used to set weight for a faction leader to become spymaster if not already a spymaster
```
ai_strategy = {
type = become_spymaster
value = 30 # Weight value for pp spend to become spymaster
}
```
10 changes: 10 additions & 0 deletions common/ai_strategy/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,16 @@ default_build_a_magic_facility = { #EAW added mostly copied from lw_facility pro
}
}

default_become_spymaster = {
enable = {
always = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = become_spymaster
value = 30
}
}

default_recruit_land_scientist = {
enable = {
Expand Down
8 changes: 5 additions & 3 deletions common/ai_strategy_plans/CRY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ CRY_ideas_plan = {
sunburst = 90.0
spike = 80.0
the_crystal_factory = 70.0
partial_economic_mobilisation = 20.0
extensive_conscription = 15.0
limited_conscription = 10.0
all_adults_serve = 80.0
war_economy = 70.0
partial_economic_mobilisation = 60.0
extensive_conscription = 50.0
limited_conscription = 45.0
}

# Keep small, as it is used as a factor for some things (such as research needs)
Expand Down
16 changes: 10 additions & 6 deletions common/ai_strategy_plans/CRY_alternate_strategy_plan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,11 @@ CRY_communist_path = {
}

ideas = {
partial_economic_mobilisation = 20.0
extensive_conscription = 15.0
limited_conscription = 10.0
all_adults_serve = 80.0
war_economy = 70.0
partial_economic_mobilisation = 60.0
extensive_conscription = 50.0
limited_conscription = 45.0
}

# Keep small, as it is used as a factor for some things (such as research needs)
Expand Down Expand Up @@ -171,9 +173,11 @@ CRY_integration_path = {
# land_doctrine = 50.0
}
ideas = {
partial_economic_mobilisation = 20.0
extensive_conscription = 15.0
limited_conscription = 10.0
all_adults_serve = 80.0
war_economy = 70.0
partial_economic_mobilisation = 60.0
extensive_conscription = 50.0
limited_conscription = 45.0
}
# Keep small, as it is used as a factor for some things (such as research needs)
# Recommended around 1.0. Useful for relation between plans
Expand Down
5 changes: 5 additions & 0 deletions common/ai_strategy_plans/CRY_historical_strategy_plan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ CRY_historical = {
}

ideas = {
all_adults_serve = 80.0
war_economy = 70.0
partial_economic_mobilisation = 60.0
extensive_conscription = 50.0
limited_conscription = 45.0
}

# Keep small, as it is used as a factor for some things (such as research needs)
Expand Down
4 changes: 2 additions & 2 deletions common/ai_strategy_plans/EQS_historical_strategy_plan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ EQS_historical = {
War_Plan
industry_las_pegasus
industry_manehattan
Matilda_research
Spitfire_research
EQS_buffalo_relations
eqs_buffalo2
eqs_southern_roads
tenochtitlan_state_university
reinforce_border
Spitfire_research
Matilda_research
River_Fortifications
EQS_airfields
transequestrian_raillines
Expand Down
Loading

0 comments on commit 502e0fa

Please sign in to comment.