Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e4c81d3
fix: parties
Matti-96 Aug 25, 2025
f7d45c6
fixes: pop types
Matti-96 Aug 25, 2025
afdb150
fix: starting innovations
Matti-96 Sep 7, 2025
3d8d3c5
change: reorganized vanilla modifier type definitions
Matti-96 Sep 13, 2025
4f2b3dd
fix: building graphics for locations on map
Matti-96 Sep 13, 2025
9dc9504
fix: removed unused culture standard of living modifiers
Matti-96 Sep 14, 2025
362fe9c
fix: missing modifiers from cwp added cultures
Matti-96 Sep 15, 2025
d6f1d51
fix: gfx route graphics
Matti-96 Sep 15, 2025
9d4a51b
chore: removed unneeded extra line
Matti-96 Sep 15, 2025
621b556
chore: adding ? to IG checks to keep consistency with Paradox
Matti-96 Sep 28, 2025
22a8cb1
chore: forgot to add ? to these files
Matti-96 Sep 28, 2025
7feebe0
fix: missing " in textures for production methods
Matti-96 Sep 28, 2025
993ff72
change: new city graphic added in DLC, needs to be disabled
Matti-96 Sep 28, 2025
02932e3
chore: spacing
Matti-96 Sep 28, 2025
d17de89
change: new unmodded modifier type definitions
Matti-96 Sep 28, 2025
6395bc3
change: has_law trigger is now has_law_or_variant trigger
Matti-96 Sep 28, 2025
56ab569
changes: incorporating Paradox's 1.10 changes
Matti-96 Sep 28, 2025
2d5bd70
Update _buildings.info
Matti-96 Sep 28, 2025
c5aae2e
changes: sorting and updating modifier type definitions
Matti-96 Sep 28, 2025
e8a171f
fix: incorrect modifiers used - missing the _add
Matti-96 Sep 29, 2025
501dfc5
change: remove old airport building reference
Matti-96 Oct 4, 2025
b3ddd6d
fix: update interest groups to 1.10.x
Matti-96 Oct 4, 2025
60ce108
fix: update laws to 1.10.x
Matti-96 Oct 4, 2025
dfbdb98
fix: update modifier type definitions to 1.10.x
Matti-96 Oct 4, 2025
de29427
change: update static modifiers to 1.10.x
Matti-96 Oct 4, 2025
1c18103
fix: minor changes to building groups and barracks
Matti-96 Oct 4, 2025
adda9f5
Create cwp_culture_cultural_acceptance_modifiers.txt
Matti-96 Oct 4, 2025
e34871a
fix: move unmodded events back to their normal position
Matti-96 Oct 4, 2025
455b026
fix: tell the game to ignore balkan related events from 1.10.x
Matti-96 Oct 4, 2025
15906eb
Update 30_society.txt
Matti-96 Oct 4, 2025
b92d3e1
fix: missing modifier type definitions
Matti-96 Oct 4, 2025
c5d4162
fix: remove colonization company charter
Matti-96 Oct 5, 2025
63c6b86
fix: fix mine calculation for terrain gfx
Matti-96 Oct 5, 2025
4645209
fix: remove technology restrictions for buildings
Matti-96 Oct 5, 2025
2cc12e0
fix: various fixes to interest groups
Matti-96 Oct 5, 2025
bcce606
fix: modifications to various modifier type definitions
Matti-96 Oct 5, 2025
95f5968
change: removed activate production methods from buildings history files
Matti-96 Oct 5, 2025
4b20ff3
Update: Culture
Matti-96 Nov 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion .metadata/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cold War Project",
"id": "",
"version": "0.2.9",
"supported_game_version": "1.9.*",
"supported_game_version": "1.11.*",
"short_description": "",
"tags": [],
"relationships": [],
Expand All @@ -16,12 +16,15 @@
"common/combat_unit_groups",
"common/combat_unit_types",
"common/commander_orders",
"common/company_charter_types",
"common/company_types",
"common/country_definitions",
"common/cultures",
"common/customizable_localization",
"common/decisions",
"common/decrees",
"common/discrimination_trait_groups",
"common/discrimination_traits",
"common/diplomatic_plays",
"common/dynamic_country_map_colors",
"common/dynamic_country_names",
Expand Down Expand Up @@ -56,18 +59,23 @@
"common/laws",
"common/mobilization_option_groups",
"common/mobilization_options",
"common/modifier_type_definitions",
"common/on_actions",
"common/objective_subgoals",
"common/parties",
"common/pop_needs",
"common/pop_types",
"common/production_methods",
"common/scripted_buttons",
"common/scripted_effects",
"common/scripted_progress_bars",
"common/technology",
"common/terrain",

"events",
"events/agitators_events",
"events/american_civil_war",
"events/balkans_events",
"events/brazil",
"events/election_events",
"events/expedition_events",
Expand All @@ -77,6 +85,7 @@
"events/tech_events",

"gfx/map",
"gfx/map/city_data/city_types",
"gfx/portraits/portrait_modifiers"
]
}
Expand Down
32 changes: 16 additions & 16 deletions common/ai_strategies/00_default_strategy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ ai_strategy_default = {
if = {
limit = {
country_has_primary_culture = cu:russian
has_law = law_type:law_national_supremacy
has_law_or_variant = law_type:law_national_supremacy
scope:target_state = {
owner = {
OR = {
Expand Down Expand Up @@ -1332,7 +1332,7 @@ ai_strategy_default = {
}

if = {
limit = { has_law = law_type:law_national_militia }
limit = { has_law_or_variant = law_type:law_national_militia }
multiply = 0.33
}
min = 1
Expand Down Expand Up @@ -1457,15 +1457,15 @@ ai_strategy_default = {
}

if = {
limit = { has_law = law_type:law_peasant_levies }
limit = { has_law_or_variant = law_type:law_peasant_levies }
multiply = 0.5
}
else_if = {
limit = { has_law = law_type:law_national_militia }
limit = { has_law_or_variant = law_type:law_national_militia }
multiply = 0.75
}
else_if = {
limit = { has_law = law_type:law_professional_army }
limit = { has_law_or_variant = law_type:law_professional_army }
multiply = 1.25
}
}
Expand All @@ -1485,15 +1485,15 @@ ai_strategy_default = {
}

if = {
limit = { has_law = law_type:law_national_militia }
limit = { has_law_or_variant = law_type:law_national_militia }
multiply = 0.5
}
else_if = {
limit = { has_law = law_type:law_professional_army }
limit = { has_law_or_variant = law_type:law_professional_army }
multiply = 1.25
}
else_if = {
limit = { has_law = law_type:law_peasant_levies }
limit = { has_law_or_variant = law_type:law_peasant_levies }
multiply = 1.5
}
}
Expand Down Expand Up @@ -1531,15 +1531,15 @@ ai_strategy_default = {
conscript_battalion_ratio = {
value = 0.5
if = {
limit = { has_law = law_type:law_national_militia }
limit = { has_law_or_variant = law_type:law_national_militia }
add = 2.5
}
else_if = {
limit = { has_law = law_type:law_peasant_levies }
limit = { has_law_or_variant = law_type:law_peasant_levies }
add = 0.5
}
else_if = {
limit = { has_law = law_type:law_mass_conscription }
limit = { has_law_or_variant = law_type:law_mass_conscription }
add = 0.5
}

Expand All @@ -1560,7 +1560,7 @@ ai_strategy_default = {

if = {
limit = {
has_law = law_type:law_command_economy
has_law_or_variant = law_type:law_command_economy
}

add = 100
Expand Down Expand Up @@ -1645,7 +1645,7 @@ ai_strategy_default = {
trigger = {
total_population >= 1000000
NOT = {
has_law = law_type:law_industry_banned
has_law_or_variant = law_type:law_industry_banned
}
}
}
Expand Down Expand Up @@ -2542,7 +2542,7 @@ ai_strategy_default = {
if = {
limit = {
country_has_primary_culture = cu:russian
has_law = law_type:law_national_supremacy
has_law_or_variant = law_type:law_national_supremacy
scope:target_country = {
OR = {
c:KAZ ?= this
Expand Down Expand Up @@ -2815,7 +2815,7 @@ ai_strategy_default = {
if = {
limit = {
country_has_primary_culture = cu:russian
has_law = law_type:law_national_supremacy
has_law_or_variant = law_type:law_national_supremacy
scope:target_country = {
OR = {
c:KAZ ?= this
Expand Down Expand Up @@ -3119,7 +3119,7 @@ ai_strategy_default = {
if = {
limit = {
country_has_primary_culture = cu:russian
has_law = law_type:law_national_supremacy
has_law_or_variant = law_type:law_national_supremacy
scope:target_country = {
OR = {
c:KAZ ?= this
Expand Down
20 changes: 10 additions & 10 deletions common/ai_strategies/01_admin_strategies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
if = {
limit = {
exists = ig:ig_landowners
ig:ig_landowners = { is_powerful = yes }
ig:ig_landowners ?= { is_powerful = yes }
}
multiply = 1.5
}
Expand All @@ -86,7 +86,7 @@
OR = {
AND = {
is_ai = no
NOT = { has_law = law_type:law_industry_banned }
NOT = { has_law_or_variant = law_type:law_industry_banned }
}
has_strategy = ai_strategy_resource_expansion
has_strategy = ai_strategy_industrial_expansion
Expand Down Expand Up @@ -158,7 +158,7 @@ ai_strategy_plantation_economy = {
if = {
limit = {
exists = ig:ig_landowners
ig:ig_landowners = { is_powerful = yes }
ig:ig_landowners ?= { is_powerful = yes }
}
multiply = 1.5
}
Expand Down Expand Up @@ -248,7 +248,7 @@ ai_strategy_resource_expansion = {
if = {
limit = {
exists = ig:ig_industrialists
ig:ig_industrialists = { is_powerful = yes }
ig:ig_industrialists ?= { is_powerful = yes }
}
multiply = 1.5
}
Expand All @@ -260,7 +260,7 @@ ai_strategy_resource_expansion = {
OR = {
AND = {
is_ai = no
NOT = { has_law = law_type:law_industry_banned }
NOT = { has_law_or_variant = law_type:law_industry_banned }
}
has_strategy = ai_strategy_resource_expansion
has_strategy = ai_strategy_industrial_expansion
Expand Down Expand Up @@ -348,7 +348,7 @@ ai_strategy_industrial_expansion = {

if = {
limit = {
has_law = law_type:law_cooperative_ownership
has_law_or_variant = law_type:law_cooperative_ownership
}
multiply = 2
}
Expand All @@ -361,7 +361,7 @@ ai_strategy_industrial_expansion = {
if = {
limit = {
exists = ig:ig_industrialists
ig:ig_industrialists = { is_powerful = yes }
ig:ig_industrialists ?= { is_powerful = yes }
}
multiply = 2
}
Expand Down Expand Up @@ -417,7 +417,7 @@ ai_strategy_placate_population = {
}

possible = {
has_law = law_type:law_industry_banned
has_law_or_variant = law_type:law_industry_banned
}

weight = {
Expand Down Expand Up @@ -446,7 +446,7 @@ ai_strategy_placate_population = {
if = {
limit = {
exists = ig:ig_rural_folk
ig:ig_rural_folk = { is_powerful = yes }
ig:ig_rural_folk ?= { is_powerful = yes }
}
multiply = 1.5
}
Expand All @@ -458,7 +458,7 @@ ai_strategy_placate_population = {
OR = {
AND = {
is_ai = no
NOT = { has_law = law_type:law_industry_banned }
NOT = { has_law_or_variant = law_type:law_industry_banned }
}
has_strategy = ai_strategy_resource_expansion
has_strategy = ai_strategy_industrial_expansion
Expand Down
22 changes: 11 additions & 11 deletions common/ai_strategies/02_diplomatic_strategies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ ai_strategy_economic_imperialism = {
scope:target_country.country_rank < rank_value:major_power
scope:target_country = {
NOR = {
has_law = law_type:law_free_trade
has_law_or_variant = law_type:law_free_trade
has_law_or_variant = law_type:law_isolationism
}
}
Expand Down Expand Up @@ -824,7 +824,7 @@ ai_strategy_territorial_expansion = {
}

if = {
limit = { ig:ig_armed_forces = { is_powerful = yes } }
limit = { ig:ig_armed_forces ?= { is_powerful = yes } }
multiply = 1.5
}

Expand Down Expand Up @@ -931,7 +931,7 @@ ai_strategy_armed_isolationism = {
}

if = {
limit = { has_law = law_type:law_national_militia }
limit = { has_law_or_variant = law_type:law_national_militia }
add = 50
}

Expand Down Expand Up @@ -1317,10 +1317,10 @@ ai_strategy_global_liberalism = {
if = {
limit = {
AND = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
NOT = {
scope:target_country = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
}
}
}
Expand Down Expand Up @@ -1378,7 +1378,7 @@ ai_strategy_global_liberalism = {
root.country_rank > scope:target_country.country_rank
scope:target_country = {
NOR = {
has_law = law_type:law_free_trade
has_law_or_variant = law_type:law_free_trade
has_law_or_variant = law_type:law_isolationism
}
}
Expand Down Expand Up @@ -1410,10 +1410,10 @@ ai_strategy_global_liberalism = {
limit = {
AND = {
NOT = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
}
scope:target_country = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
}
}
}
Expand Down Expand Up @@ -1471,7 +1471,7 @@ ai_strategy_global_liberalism = {
value = 10000
if = {
limit = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
}
multiply = 0
}
Expand Down Expand Up @@ -1604,7 +1604,7 @@ ai_strategy_international_socialism = {
if = {
limit = {
NOT = {
has_law = law_type:law_council_republic
has_law_or_variant = law_type:law_council_republic
}
}
multiply = 0
Expand Down Expand Up @@ -1741,7 +1741,7 @@ ai_strategy_restore_natural_borders = {
}

if = {
limit = { ig:ig_armed_forces = { is_powerful = yes } }
limit = { ig:ig_armed_forces ?= { is_powerful = yes } }
multiply = 1.5
}

Expand Down
Loading