Skip to content

Commit

Permalink
112d
Browse files Browse the repository at this point in the history
		- Updated Baselia Romaion ai to be slightly more progressive in passing laws.

	#Pops
		-adjusted pops in a few states.

	#Diplomacy
		- adjusted Bohemia to has less friendly relations with their neighbors

	#Fixes
		- Various minor bugs fixed
		- added silesian as a cultural homeland to silesia at game start removed baltic and polish.
		- fixed some releasables and other country defines.
  • Loading branch information
AndHope committed Aug 5, 2024
1 parent c52c32d commit fc1f617
Show file tree
Hide file tree
Showing 15 changed files with 248 additions and 80 deletions.
5 changes: 3 additions & 2 deletions common/ai_strategies/br_diplomatic_strategies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ ai_strategy_romaion_expansion = {
}

wargoal_weights = {
reduce_autonomy = 0.5
reduce_autonomy = 1.5
conquer_state = 1.5
return_state = 1.5
return_state = 3.0
force_nationalization = 0.25
}

secret_goal_scores = {
Expand Down
61 changes: 20 additions & 41 deletions common/ai_strategies/br_political_strategies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,39 @@
}

min_law_chance_to_pass = {
value = 50

value = 30
if = {
limit = {
OR = {
any_political_movement = {
desired_law ?= scope:law.type
political_movement_radicalism >= 75
}
AND = {
has_journal_entry = je_government_petition
var:desired_law_var ?= scope:law
}
}
}

multiply = 0.25
}
limit = { ai_has_reasons_to_not_oppose_law = yes }
multiply = 0.33
}
}

max_progressiveness = {
value = 25
value = 50
}

max_regressiveness = {
value = 10
value = 25
}

change_law_chance = {
value = 1

if = {
limit = { has_journal_entry = je_government_petition }
add = 10
}
value = 2.5

if = {
limit = { any_interest_group = { is_insurrectionary = yes } }
add = 10
add = 7.5
}
}

if = {
limit = {
OR = {
has_journal_entry = je_government_petition
has_journal_entry = je_law_imposition
}
}
add = 25
}
}

pro_interest_groups = {
ig_landowners
Expand Down Expand Up @@ -107,21 +99,8 @@ ai_strategy_trade_republic_agenda = {

min_law_chance_to_pass = {
value = 20

if = {
limit = {
OR = {
any_political_movement = {
desired_law ?= scope:law.type
political_movement_radicalism >= 75
}
AND = {
has_journal_entry = je_government_petition
var:desired_law_var ?= scope:law
}
}
}

limit = { ai_has_reasons_to_not_oppose_law = yes }
multiply = 0.5
}
}
Expand Down
13 changes: 13 additions & 0 deletions common/building_groups/br_building_groups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,16 @@ bg_owner_buildings = {
always = no
}
}

# Needed for autonomous investment to track investments separately from other ownership buildings
bg_financial_districts = {
parent_group = bg_owner_buildings
urbanization = 5 #was 0
}

# Needed for autonomous investment to track investments separately from other ownership buildings
bg_manor_houses = {
parent_group = bg_owner_buildings

infrastructure_usage_per_level = 0.0
}
12 changes: 1 addition & 11 deletions common/country_creation/00_releasable_countries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,6 @@ CAS = {
ai_will_do = { always = no }
}

YUC = {
states = {
STATE_YUCATAN
}

ai_will_do = { always = no }
}

CEY = {
states = {
STATE_CEYLON
Expand Down Expand Up @@ -956,7 +948,7 @@ SLO = {
ai_will_do = { always = no }
}

br_albania = {
ALB = {
states = {
STATE_ALBANIA
}
Expand All @@ -968,8 +960,6 @@ KUR = {
states = {
STATE_MOSUL
STATE_DEIR_EZ_ZOR
STATE_DIYARBAKIR
STATE_ERZURUM
STATE_URMIA
STATE_PERSIAN_KURDISTAN
}
Expand Down
7 changes: 7 additions & 0 deletions common/country_creation/br_releasable_countries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ br_bulgaria = {
}
ai_will_do = { always = no }
}
br_albania = {
states = {
STATE_ALBANIA
}

ai_will_do = { always = no }
}

HUM = {
provinces = {
Expand Down
2 changes: 1 addition & 1 deletion common/country_definitions/br_base_countries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3922,7 +3922,7 @@ YUZ = { # Yuanzhumin

tier = principality

cultures = { yuanzhumin }
cultures = { formosan }
capital = STATE_FORMOSA
}

Expand Down
6 changes: 3 additions & 3 deletions common/defines/br_defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ NGame = {
END_DATE = "2036.1.1" #300 total years
}

#NAI = {
#BASE_AGGRESSION = 0.75 #was 0.5 #Turned off for now was creating too much border gore will focus more on the default ai file.
#}
NAI = {
#BASE_AGGRESSION = 0.5 #0.25 Base chance that AI will consider starting a diplo play each time the goal is checked (1 = 1%)
}

#NTechnology = {
# TECH_AHEAD_OF_TIME_PENALTY_FACTOR = 0.25 #was 0.25 # For every tech in a previous era not already researched in this category, take this multiple of the cost as an additional penalty (multiplied by number of eras between the techs)
Expand Down
166 changes: 166 additions & 0 deletions common/game_rules/00_game_rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
achievements = {
default = achievements_allowed

achievements_allowed = {
}

achievements_blocked = {
flag = blocks_achievements
}
}

ai_behavior = {
default = standard_ai_behavior

lenient_ai_behavior = {
flag = lenient_ai
}

standard_ai_behavior = {
}

harsh_ai_behavior = {
flag = harsh_ai
}
}

ai_aggression = {
default = high_ai_aggression

low_ai_aggression = {
flag = low_ai_aggression
}

standard_ai_aggression = {
}

high_ai_aggression = {
flag = high_ai_aggression
}
}

formable_nations = {
default = all_formable_nations

all_formable_nations = {
}

plausible_formable_nations = {
}
}

releasable_nations = {
default = all_releasable_nations

all_releasable_nations = {
}

plausible_releasable_nations = {
}
}

pop_consolidation = {
default = moderate_consolidation

no_consolidation = {
flag = no_pop_consolidation
}

minor_consolidation = {
flag = minor_pop_consolidation
}

moderate_consolidation = {
flag = moderate_pop_consolidation
}

aggressive_consolidation = {
flag = aggressive_pop_consolidation
}
}

monument_effects = {
default = allow_monument_effects

allow_monument_effects = {
flag = disable_pm_monument_prestige_only
flag = disable_pm_monument_no_effects
flag = disable_pm_power_bloc_prestige_only
}

prestige_only_monument_effects = {
flag = disable_pm_default_building_eiffel_tower
flag = disable_pm_default_building_angkor_wat
flag = disable_pm_default_building_big_ben
flag = disable_pm_default_building_forbidden_city
flag = disable_pm_default_building_hagia_sophia
flag = disable_pm_default_building_mosque_of_djenne
flag = disable_pm_default_building_saint_basils_cathedral
flag = disable_pm_default_building_statue_of_liberty
flag = disable_pm_default_building_taj_mahal
flag = disable_pm_default_building_vatican_city
flag = disable_pm_default_building_white_house

flag = disable_pm_monument_no_effects

flag = force_pm_monument_prestige_only
flag = force_pm_monument_prestige_only_vatican_city

flag = disable_pm_power_bloc_statue_religious
flag = disable_pm_power_bloc_statue_trade_league
flag = disable_pm_power_bloc_statue_military_treaty
flag = disable_pm_power_bloc_statue_ideological_union
flag = disable_pm_power_bloc_statue_sovereign_empire

flag = force_pm_power_bloc_prestige_only
}

no_monument_effects = {
flag = disable_pm_default_building_eiffel_tower
flag = disable_pm_default_building_angkor_wat
flag = disable_pm_default_building_big_ben
flag = disable_pm_default_building_forbidden_city
flag = disable_pm_default_building_hagia_sophia
flag = disable_pm_default_building_mosque_of_djenne
flag = disable_pm_default_building_saint_basils_cathedral
flag = disable_pm_default_building_statue_of_liberty
flag = disable_pm_default_building_taj_mahal
flag = disable_pm_default_building_vatican_city
flag = disable_pm_default_building_white_house

flag = disable_pm_monument_prestige_only
flag = disable_pm_monument_prestige_only_vatican_city

flag = disable_pm_power_bloc_prestige_only

flag = disable_pm_power_bloc_statue_religious
flag = disable_pm_power_bloc_statue_trade_league
flag = disable_pm_power_bloc_statue_military_treaty
flag = disable_pm_power_bloc_statue_ideological_union
flag = disable_pm_power_bloc_statue_sovereign_empire

flag = force_pm_monument_no_effects
}
}

subject_flags = {
default = no_subject_flags

no_subject_flags = {
flag = no_subject_flags
}

allow_subject_flags = {
}
}

subject_map_color = {
default = allow_subject_map_color

no_subject_map_color = {
flag = no_subject_map_color
}

allow_subject_map_color = {
}
}
4 changes: 3 additions & 1 deletion common/history/diplomacy/01_br_hre_relationships.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
type = puppet
}
set_relations = { country = c:HUN value = 50 }
set_relations = { country = c:BOH value = 75 }
set_relations = { country = c:BOH value = -10 }
set_relations = { country = c:HRE value = 50 }
set_relations = { country = c:SWE value = -40 }
set_relations = { country = c:MOL value = -30 }
Expand Down Expand Up @@ -308,6 +308,8 @@
}
set_relations = { country = c:MEI value = 50 }
set_relations = { country = c:br_silesia value = 50 }
set_relations = { country = c:HUN value = -10 }
set_relations = { country = c:BAV value = -10 }
}
c:MEI = {
add_liberty_desire = -15
Expand Down
Loading

0 comments on commit fc1f617

Please sign in to comment.