Skip to content

Commit

Permalink
Merge pull request #32 from TinWiz/refinements
Browse files Browse the repository at this point in the history
Refinements
  • Loading branch information
TinWiz authored Apr 9, 2024
2 parents 8d50859 + cfd7581 commit 6e31dc4
Show file tree
Hide file tree
Showing 31 changed files with 1,605 additions and 415 deletions.
78 changes: 0 additions & 78 deletions changelog_v0.4.0.txt

This file was deleted.

77 changes: 77 additions & 0 deletions changelog_v0.4.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
Changelog v0.4.2

*added te_barbarians.58 and te_barbarians.59 to change culture in countries overwhelmed by Hunnic or Huna tribesmen from settling barbarian hordes
-added to list of events in te_custom_on_actions te_custom_on_action_yearly_country_tribesmen
*changed defunct event te_barbarians.58 to te_barbarians.80 for now

*added scripted_trigger is_diadochi_descendant_ai_trigger to te_religion_triggers.txt for use in te_christianity.72 and ai_convert_to_christian decision in te_decisions.txt
-added Epirus, tag EPI or epirote_heritage with primary culture epirote and capital in epirus_area

*added te_minor_germanisch_wanderung_aimod for germanic countries bordering non-germanic regional_power or with 2 or more non-germanic major_power neighbours
-aggressive 200, migration_chance 10, trustworthy -5
-stacks with te_major– and te_great_germanisch_wanderung_aimod
+potential all three aimods stacking adds aggressive 1200, migration_chance 60, trustworthy -35

*added new events te_plagues.13 for Antonine plague and te_plagues.23 for Cyprian plague province territory spread
-added new province outbreak and city outbreak modifiers, separated quarantine modifiers
+no additional local_unrest in outbreak, but spreads to provinces
-added to te_custom_on_action_yearly_province_antonine and te_custom_on_action_yearly_province_cyprian
-new option in plagues events for player to choose to allow spread with no quarantine
+AI will never choose this option
-localization for English, French, German, Russian, and Spanish
+modifier text in te_text_l_[language].yml
+event text in te_plagues_events_l_[language].yml
-added cyprian_plague_epidemic_outbreak_town province modifier for smaller cities, with all text localizations
-extra province events te_plagues.14 and te_plagues.24 to remove plague from provinces with only 1 pop remaining
+added to te_custom_on_action_yearly province_antonine and te_custom_on_action_yearly_province_cyprian
+will not rescue pops with recent outbreaks, so some provinces will still empty out

*added num_of_cities >= 1200 to OR trigger te_plagues.45 to remove orient late_antiquity_pop_decline modifier from huge eastern blobs
-num_of_cities >= 1200 in NOR trigger to te_plagues.44 to avoid adding orient modifier
-num_of_cities >= 1200 in AND bracket of OR trigger to te_plagues.40 to add central modifier
-num_of_cities >= 1200 in NOR bracket of OR trigger to te_plagues.41 to remove central modifier
-num_of_cities < 600 in AND bracket for Eastern Roman Empire relief to te_plagues.45
-num_of_cities < 600 in AND bracket for Eastern Roman Empire relief to te_plagues.44
+no relief from orient modifier for large ERE

*lowered local_forum_building/Provincial Legation building local_pop_assimilation_speed_modifier from 1 to 0.15
-back to vanilla value; assimilation is too fast for a much longer timeline
-also lowered migration speed modifier to vanilla 0.75 from Invictus 1.5

################
Changelog v0.4.1

*tweaked colour of Christianity from hsv 0.16 to 0.17 for slightly better contrast with Buddhism on map and UI

*scripted trigger is_pentarchy_imperium_ai_trigger
-added to ai_convert_to_christian factor 1000 in te_decisions
-excludes Jewish and Manichaean countries

*changed aimod name to te_great_germanisch_wanderung_aimod for germanic countries bordering a great_power
-increased aggressive to 600, migration_chance 30; reduced negative trustworthy from -40 to -20
-added aimod te_major_germanisch_wanderung_aimod for germanic countries bordering a major power
+400 aggressive, 20 migration_chance and -10 trustworthy
+should stack if bordering both great and major powers

*added Lugdunum (province_id 2301) to te_christianity.94 to place early_christian_church if population over 20 (city)

*changed [small/medium]_christian_ekklesia_target variable in event file te_christianity.96 to [small/medium]_christian_ekklesia_province
-added cooldown variables [small/medium]_christian_ekklesia_country to te_christianity.91–95
+country cooldowns 1089 days for medium countries and 3267 for small countries
-adjusted province cooldowns to 726 days for medium countries and 1452 days for small countries

*lowered religious technology table in half from 0.01 to 0.005
-omen balance issues in late timeline
-more in line with oratory tech progress

*moved back current_date trigger for archangels from 1053 to 953 in deities file 01_christianity.txt
-sects of angel worshippers existed in 3rd century historically
-no need for such a long lag time when saints theosis events now require Christianity to trigger

*added te_judaism.6 event for Yemeni Jews if global_variable jewish_diaspora is set
-conversion event for culture group south_arabian
-added to te_custom_on_actions random_events with factor 10; lowered 0 factor from 45 to 35
-localizations added for English, French, German, Russian, and Spanish

##########
##########
54 changes: 52 additions & 2 deletions common/ai_plan_goals/01_te_historic_country.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
te_has_germanisch_wanderung_aimod = {
te_great_germanisch_wanderung_aimod = {
trigger = {
current_date > 1128.6.28
has_country_modifier = germanisch_wanderung
Expand All @@ -11,7 +11,57 @@
}
}
}
aggressive = 600
migration_chance = 30
trustworthy = -20
}

te_major_germanisch_wanderung_aimod = {
trigger = {
current_date > 1128.6.28
has_country_modifier = germanisch_wanderung
OR = {
any_neighbour_country = {
NOT = {
country_culture_group = germanic
}
rank = major_power
}
any_neighbour_country = {
count >= 2
NOT = {
country_culture_group = germanic
}
rank = great_power
}
}
}
aggressive = 400
migration_chance = 20
trustworthy = -40
trustworthy = -10
}

te_minor_germanisch_wanderung_aimod = {
trigger = {
current_date > 1128.6.28
has_country_modifier = germanisch_wanderung
OR = {
any_neighbour_country = {
NOT = {
country_culture_group = germanic
}
rank = regional_power
}
any_neighbour_country = {
count >= 2
NOT = {
country_culture_group = germanic
}
rank = major_power
}
}
}
aggressive = 200
migration_chance = 10
trustworthy = -5
}
4 changes: 2 additions & 2 deletions common/buildings/00_default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ hill_fort = { #Tribal Settlement
}

local_forum_building = { #Provincial Legation
local_pop_assimilation_speed_modifier = 1
local_migration_speed_modifier = 1.5
local_pop_assimilation_speed_modifier = 0.15 #vanilla value, lowered from Invictus 1 [100%!]
local_migration_speed_modifier = 0.75 #vanilla value, lowered from Invictus 1.5
local_migration_attraction = 3.5
max_amount = 1
potential = {
Expand Down
8 changes: 4 additions & 4 deletions common/deities/01_christianity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ deity_st_mark = {
### Archangels [no events] ###
deity_archangel_gabriel = {
trigger = {
current_date > 1053.12.31
current_date > 953.12.31
#NAND = {
# is_ai = yes
# primary_culture = roman
Expand Down Expand Up @@ -1219,7 +1219,7 @@ deity_archangel_gabriel = {

deity_archangel_michael = {
trigger = {
current_date > 1053.12.31
current_date > 953.12.31
#NAND = {
# is_ai = yes
# primary_culture = roman
Expand Down Expand Up @@ -1260,7 +1260,7 @@ deity_archangel_michael = {

deity_archangel_raphael = {
trigger = {
current_date > 1053.12.31
current_date > 953.12.31
OR = {
religion = christianity
AND = {
Expand Down Expand Up @@ -1290,7 +1290,7 @@ deity_archangel_raphael = {

deity_archangel_uriel = { # CULTURE
trigger = {
current_date > 1053.12.31
current_date > 953.12.31
OR = {
religion = christianity
AND = {
Expand Down
86 changes: 84 additions & 2 deletions common/modifiers/te_from_events_province.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ christian_church_embelishment = {
local_population_happiness = 0.07
}

antonine_plague_epidemic = {
antonine_plague_epidemic_quarantine = {
attrition = 10
max_attrition = 10
local_output_modifier = -2
Expand All @@ -46,7 +46,38 @@ antonine_plague_epidemic = {
local_unrest = 20
}

cyprian_plague_epidemic = {
antonine_plague_epidemic_outbreak_city = {
attrition = 10
max_attrition = 10
local_output_modifier = -2
local_population_growth = -20
local_tax_modifier = -2
local_manpower_modifier = -2
local_monthly_food_modifier = -2
local_monthly_civilization = -0.2
local_country_civilization_value = -20
local_population_happiness = -0.2
#local_commerce_value_modifier = -0.2
local_state_trade_routes = -20
#state_commerce_modifier = -0.2
#local_unrest = 20
}

plague_outbreak_province = {
attrition = 5
max_attrition = 5
local_output_modifier = -1
local_population_growth = -10
local_tax_modifier = -1
local_manpower_modifier = -1
local_monthly_food_modifier = -1
local_monthly_civilization = -0.1
local_country_civilization_value = -10
local_population_happiness = -0.1
local_state_trade_routes = -10
}

cyprian_plague_epidemic_quarantine = {
attrition = 15
max_attrition = 15
local_output_modifier = -3
Expand All @@ -63,6 +94,57 @@ cyprian_plague_epidemic = {
local_unrest = 30
}

cyprian_plague_epidemic_quarantown = { #copy of Antonine plague quarantine modifier for smaller cities < 30 population
attrition = 10
max_attrition = 10
local_output_modifier = -2
local_population_growth = -20
local_tax_modifier = -2
local_manpower_modifier = -2
local_monthly_food_modifier = -2
local_monthly_civilization = -0.2
local_country_civilization_value = -20
local_population_happiness = -0.2
#local_commerce_value_modifier = -0.2
local_state_trade_routes = -20
#state_commerce_modifier = -0.2
local_unrest = 20
}

cyprian_plague_epidemic_outbreak_town = { #copy of Antonine city modifier for smaller cities during Cyprian Outbreak < 30 population
attrition = 10
max_attrition = 10
local_output_modifier = -2
local_population_growth = -20
local_tax_modifier = -2
local_manpower_modifier = -2
local_monthly_food_modifier = -2
local_monthly_civilization = -0.2
local_country_civilization_value = -20
local_population_happiness = -0.2
#local_commerce_value_modifier = -0.2
local_state_trade_routes = -20
#state_commerce_modifier = -0.2
#local_unrest = 20
}

cyprian_plague_epidemic_outbreak_city = {
attrition = 15
max_attrition = 15
local_output_modifier = -3
local_population_growth = -30
local_tax_modifier = -3
local_manpower_modifier = -3
local_monthly_food_modifier = -3
local_monthly_civilization = -0.3
local_country_civilization_value = -30
local_population_happiness = -0.3
#local_commerce_value_modifier = -0.3
local_state_trade_routes = -30
#state_commerce_modifier = -0.3
#local_unrest = 30
}

late_antiquity_decentralization_city = {
local_migration_attraction = -10
local_migration_speed = 2
Expand Down
Loading

0 comments on commit 6e31dc4

Please sign in to comment.