diff --git a/common/buildings/N3OW_standard_economy_buildings.txt b/common/buildings/N3OW_standard_economy_buildings.txt index 0d8cd242..7314f52e 100644 --- a/common/buildings/N3OW_standard_economy_buildings.txt +++ b/common/buildings/N3OW_standard_economy_buildings.txt @@ -34,7 +34,7 @@ tell_mines_01 = { levy_size = 0.01 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_1 } @@ -97,7 +97,7 @@ tell_mines_02 = { levy_size = 0.02 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_2 } @@ -157,7 +157,7 @@ tell_mines_03 = { levy_size = 0.03 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_3 } @@ -213,7 +213,7 @@ tell_mines_04 = { levy_size = 0.04 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_4 } @@ -269,7 +269,7 @@ tell_mines_05 = { levy_size = 0.05 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_5 } @@ -325,7 +325,7 @@ tell_mines_06 = { levy_size = 0.06 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_6 } @@ -381,7 +381,7 @@ tell_mines_07 = { levy_size = 0.07 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_7 } @@ -437,7 +437,7 @@ tell_mines_08 = { levy_size = 0.08 } province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses + parameter = ruin_dwellers_tell_mines_building_bonuses monthly_income = poor_building_tax_tier_8 } diff --git a/common/culture/cultures/NEOW_anglo_frisian.txt b/common/culture/cultures/NEOW_anglo_frisian.txt index 48300ce9..10285940 100644 --- a/common/culture/cultures/NEOW_anglo_frisian.txt +++ b/common/culture/cultures/NEOW_anglo_frisian.txt @@ -185,12 +185,13 @@ souflander = { tradition_british_palace_politics tradition_seafaring tradition_maritime_mercantilism + tradition_ruin_delvers } - dlc_tradition = { - trait = tradition_ep3_cultivated_sophistication - requires_dlc_flag = roads_to_power - fallback = tradition_legalistic - } + #dlc_tradition = { + # trait = tradition_ep3_cultivated_sophistication + # requires_dlc_flag = roads_to_power + # fallback = tradition_legalistic + #} name_list = name_list_NEOW_english diff --git a/common/culture/cultures/NEOW_brythonic.txt b/common/culture/cultures/NEOW_brythonic.txt index 77a98e83..961e85c5 100644 --- a/common/culture/cultures/NEOW_brythonic.txt +++ b/common/culture/cultures/NEOW_brythonic.txt @@ -126,12 +126,13 @@ soueyrneg = { #Soufyrneg #tradition_british_armoires tradition_seafaring tradition_maritime_mercantilism + tradition_ruin_delvers } - dlc_tradition = { - trait = tradition_ep3_cultivated_sophistication - requires_dlc_flag = roads_to_power - fallback = tradition_legalistic - } + #dlc_tradition = { + # trait = tradition_ep3_cultivated_sophistication + # requires_dlc_flag = roads_to_power + # fallback = tradition_legalistic + #} name_list = name_list_brittannic diff --git a/common/culture/cultures/NEOW_central_germanic.txt b/common/culture/cultures/NEOW_central_germanic.txt index 6b523cc8..950d2985 100644 --- a/common/culture/cultures/NEOW_central_germanic.txt +++ b/common/culture/cultures/NEOW_central_germanic.txt @@ -359,7 +359,7 @@ rhinelander = { #Rheinländer tradition_metal_craftsmanship tradition_hard_working tradition_festivities - tradition_ancient_miners + tradition_ruin_delvers tradition_parochialism } diff --git a/common/culture/cultures/NEOW_french.txt b/common/culture/cultures/NEOW_french.txt index 2a2bc450..9759921d 100644 --- a/common/culture/cultures/NEOW_french.txt +++ b/common/culture/cultures/NEOW_french.txt @@ -229,7 +229,7 @@ metropolitain = { head_determination = head_determination_domain traditions = { - tradition_chanson_de_geste + tradition_ruin_delvers tradition_culinary_art tradition_republican_legacy tradition_defiant diff --git a/common/culture/cultures/NEOW_turkish.txt b/common/culture/cultures/NEOW_turkish.txt index 1090ae09..e35f5eaf 100644 --- a/common/culture/cultures/NEOW_turkish.txt +++ b/common/culture/cultures/NEOW_turkish.txt @@ -11,7 +11,7 @@ tradition_city_keepers tradition_maritime_mercantilism tradition_ruling_caste - tradition_stalwart_defenders + tradition_ruin_delvers } #dlc_tradition = { diff --git a/common/culture/traditions/NEOW_traditions.txt b/common/culture/traditions/NEOW_traditions.txt index 31753822..d3e8bf8b 100644 --- a/common/culture/traditions/NEOW_traditions.txt +++ b/common/culture/traditions/NEOW_traditions.txt @@ -1282,4 +1282,131 @@ tradition_russian_legacy = { value = 100 } -} \ No newline at end of file +} + +tradition_ruin_delvers = { + category = realm + + layers = { + 0 = steward + 1 = indian + 4 = city.dds + } + + is_shown = { + NOT = { + culture_tradition:tradition_ruin_delvers = { is_in_list = traits } + } + } + + can_pick = { + custom_tooltip = { + text = culture_in_tells_terrain_desc + any_culture_county = { + percent >= 0.3 + county_has_province_with_terrain = { + terrain = tells + } + } + } + custom_tooltip = { + text = cultrad_not_nomadic_government_type + scope:character = { + NOT = { + government_has_flag = government_is_nomadic + } + } + } + } + + parameters = { + rough_terrain_expert_trait_more_common = yes + hard_working_traits_more_valued = yes + ruin_dwellers_tell_mines_building_bonuses = yes + } + character_modifier = { + monthly_court_grandeur_change_mult = 0.1 + tells_advantage = 5 + #tells_travel_danger = tells_medium_danger_reduction #this shit isn't working!!!!!!! + } + county_modifier = { + tells_tax_mult = 0.15 + tells_construction_gold_cost = -0.15 + tells_supply_limit_mult = 0.25 + } + + cost = { + prestige = { + add = { + value = tradition_base_cost + desc = BASE + format = "BASE_VALUE_FORMAT" + } + if = { + limit = { + culture_pillar:ethos_bellicose = { is_in_list = traits } + } + add = { + value = tradition_incompatible_ethos_penalty + desc = culture_not_bellicose + } + } + if = { + limit = { + NOT = { + any_culture_county = { + count >= 4 + county_has_province_with_terrain = { + terrain = tells + } + } + } + } + add = { + value = tradition_unfulfilled_criteria_penalty + desc = culture_in_tells_terrain_count_desc + } + } + + if = { + limit = { + culture_tradition_reduction_trigger = { TRADITION = tradition_ruin_delvers } + } + multiply = { + value = 0.5 + desc = inspired_by_culture_desc + } + } + + multiply = tradition_replacement_cost_if_relevant + } + } + + ai_will_do = { + value = 400 + if = { + limit = { + NOT = { + scope:character = { + any_sub_realm_county = { + count >= 3 + culture = scope:character.culture + county_has_province_with_terrain = { + terrain = tells + } + } + } + } + } + multiply = 0 + } + if = { + limit = { + scope:character = { + government_has_flag = government_is_tribal + } + } + multiply = 0 + } + } +} \ No newline at end of file diff --git a/common/script_values/00_travel_values.txt b/common/script_values/00_travel_values.txt new file mode 100644 index 00000000..5ecb1a62 --- /dev/null +++ b/common/script_values/00_travel_values.txt @@ -0,0 +1,170 @@ +traveler_rank_up_1_threshold = 10 +traveler_rank_up_2_threshold = 20 +traveler_rank_up_3_threshold = 30 +traveler_rank_up_4_threshold = 40 +traveler_rank_up_5_threshold = 50 +traveler_rank_up_6_threshold = 60 +traveler_rank_up_7_threshold = 70 +traveler_rank_up_8_threshold = 80 +traveler_rank_up_9_threshold = 90 +traveler_rank_up_10_threshold = 100 + +# Read time constants +@hills_danger_value = 45 +@mountains_danger_value = 65 +@desert_danger_value = 50 +@desert_mountains_danger_value = 65 +@jungle_danger_value = 65 +@forest_danger_value = 45 +@taiga_danger_value = 55 +@wetlands_danger_value = 65 +@steppe_danger_value = 50 +@floodplains_danger_value = 35 +@drylands_danger_value = 35 +@tells_danger_value = 50 +@epidemic_danger_value = 80 +@high_reduction_constant = -1 +@medium_reduction_constant = @[2 / 3 * -1] +@low_reduction_constant = @[1 / 3 * -1] + +# Script values other files can reference +hills_danger_value = @hills_danger_value +mountains_danger_value = @mountains_danger_value +desert_danger_value = @desert_danger_value +desert_mountains_danger_value = @desert_mountains_danger_value +jungle_danger_value = @jungle_danger_value +forest_danger_value = @forest_danger_value +taiga_danger_value = @taiga_danger_value +wetlands_danger_value = @wetlands_danger_value +steppe_danger_value = @steppe_danger_value +floodplains_danger_value = @floodplains_danger_value +drylands_danger_value = @drylands_danger_value +epidemic_danger_value = @epidemic_danger_value +tells_danger_value = @tells_danger_value + +ocean_danger_value = 75 +coastal_sea_danger_value = 50 +low_sea_danger_reduction = -25 +medium_sea_danger_reduction = -45 + +tells_high_danger_reduction = @[tells_danger_value * high_reduction_constant] +tells_medium_danger_reduction = @[tells_danger_value * medium_reduction_constant +1] +tells_low_danger_reduction = @[tells_danger_value * low_reduction_constant -2] + +hills_high_danger_reduction = @[hills_danger_value * high_reduction_constant] +hills_medium_danger_reduction = @[hills_danger_value * medium_reduction_constant -2] +hills_low_danger_reduction = @[hills_danger_value * low_reduction_constant +1] + +mountains_high_danger_reduction = @[mountains_danger_value * high_reduction_constant] +mountains_medium_danger_reduction = @[mountains_danger_value * medium_reduction_constant +1] +mountains_low_danger_reduction = @[mountains_danger_value * low_reduction_constant -2] + +desert_high_danger_reduction = @[desert_danger_value * high_reduction_constant] +desert_medium_danger_reduction = @[desert_danger_value * medium_reduction_constant +1] +desert_low_danger_reduction = @[desert_danger_value * low_reduction_constant -2] + + +desert_mountains_high_danger_reduction = @[desert_mountains_danger_value * high_reduction_constant] +desert_mountains_medium_danger_reduction = @[desert_mountains_danger_value * medium_reduction_constant +1] +desert_mountains_low_danger_reduction = @[desert_mountains_danger_value * low_reduction_constant -2] + +jungle_high_danger_reduction = @[jungle_danger_value * high_reduction_constant] +jungle_medium_danger_reduction = @[jungle_danger_value * medium_reduction_constant +1] +jungle_low_danger_reduction = @[jungle_danger_value * low_reduction_constant -2] + +forest_high_danger_reduction = @[forest_danger_value * high_reduction_constant] +forest_medium_danger_reduction = @[forest_danger_value * medium_reduction_constant -2] +forest_low_danger_reduction = @[forest_danger_value * low_reduction_constant +1] + +taiga_high_danger_reduction = @[taiga_danger_value * high_reduction_constant] +taiga_medium_danger_reduction = @[taiga_danger_value * medium_reduction_constant -1] +taiga_low_danger_reduction = @[taiga_danger_value * low_reduction_constant -1] + +wetlands_high_danger_reduction = @[wetlands_danger_value * high_reduction_constant] +wetlands_medium_danger_reduction = @[wetlands_danger_value * medium_reduction_constant +1] +wetlands_low_danger_reduction = @[wetlands_danger_value * low_reduction_constant -2] + +steppe_high_danger_reduction = @[steppe_danger_value * high_reduction_constant] +steppe_medium_danger_reduction = @[steppe_danger_value * medium_reduction_constant +1] +steppe_low_danger_reduction = @[steppe_danger_value * low_reduction_constant -2] + +floodplains_high_danger_reduction = @[floodplains_danger_value * high_reduction_constant] +floodplains_medium_danger_reduction = @[floodplains_danger_value * medium_reduction_constant +1] +floodplains_low_danger_reduction = @[floodplains_danger_value * low_reduction_constant -2] + +drylands_high_danger_reduction = @[drylands_danger_value * high_reduction_constant] +drylands_medium_danger_reduction = @[drylands_danger_value * medium_reduction_constant +1] +drylands_low_danger_reduction = @[drylands_danger_value * low_reduction_constant -2] + +epidemic_high_danger_reduction = @[epidemic_danger_value * high_reduction_constant] +epidemic_medium_danger_reduction = @[epidemic_danger_value * medium_reduction_constant +1] +epidemic_low_danger_reduction = @[epidemic_danger_value * low_reduction_constant -2] + +# Travel Option Cost Scripted Values +low_travel_option_base_cost = 2 +medium_travel_option_base_cost = 5 +high_travel_option_base_cost = 10 + +tier_multiplier = { + value = primary_title.tier + subtract = 1 + min = 1 +} + +very_low_travel_option_cost = { + value = low_travel_option_cost + multiply = 0.5 +} +low_travel_option_cost = { + value = low_travel_option_base_cost + multiply = tier_multiplier + if = { + limit = { + has_perk = well_prepared_perk + } + multiply = 0.75 + } +} +medium_travel_option_cost = { + value = medium_travel_option_base_cost + multiply = tier_multiplier + if = { + limit = { + has_perk = well_prepared_perk + } + multiply = 0.75 + } +} +high_travel_option_cost = { + value = high_travel_option_base_cost + multiply = tier_multiplier + if = { + limit = { + has_perk = well_prepared_perk + } + multiply = 0.75 + } +} + +struggle_low_danger_impact = { + value = 15 +} + +struggle_medium_danger_impact = { + value = 30 +} + +struggle_high_danger_impact = { + value = 50 +} + +food_poison_value = { + value = 15 + subtract = health + if = { + limit = { + has_perk = iron_constitution_perk + } + add = -5 + } +} diff --git a/common/terrain_types/00_terrains.txt b/common/terrain_types/00_terrains.txt index 085f6a8c..5252132b 100644 --- a/common/terrain_types/00_terrains.txt +++ b/common/terrain_types/00_terrains.txt @@ -415,18 +415,20 @@ drylands = { tells = { color = { 204 81 20 } travel_danger_color = { 61 102 95 } - travel_danger_score = hills_danger_value + travel_danger_score = tells_danger_value provision_cost = @provisions_cost_medium county_fertility = 15 province_modifier = { supply_limit_mult = -0.1 - travel_danger = hills_danger_value + travel_danger = tells_danger_value county_fertility_growth_add = hills_county_fertility_value monthly_county_control_decline_factor = 0.015 fort_level = 1 + holding_build_gold_cost = 0.1 + holding_build_speed = 0.1 } - + county_capital_modifier = { development_growth_factor = 0.15 } diff --git a/localization/english/replace/culture/traditions/zz_NEOW_cultural_traditions_l_english.yml b/localization/english/replace/culture/traditions/zz_NEOW_cultural_traditions_l_english.yml index 215d122b..e938aa4f 100644 --- a/localization/english/replace/culture/traditions/zz_NEOW_cultural_traditions_l_english.yml +++ b/localization/english/replace/culture/traditions/zz_NEOW_cultural_traditions_l_english.yml @@ -57,4 +57,8 @@ # tradition_romanticised_banditry_name:0 "Romanticised Banditry" tradition_romanticised_banditry_desc:1 "This culture celebrates the exploits of mountain outlaws and rebel bands who thrive beyond the reach of kings. Their songs glorify daring raids, hidden strongholds, and lives spent resisting foreign masters and oppressive rulers alike. To many here, a clever brigand is worth more than a dutiful noble." - culture_parameter_banditry_gives_bonuses:0 "The #EMP Bandit#! $game_concept_trait_level_track$ of the [GetTrait('gallowsbait').GetName( GetNullCharacter )] [fame_trait|E] gives bonuses." \ No newline at end of file + culture_parameter_banditry_gives_bonuses:0 "The #EMP Bandit#! $game_concept_trait_level_track$ of the [GetTrait('gallowsbait').GetName( GetNullCharacter )] [fame_trait|E] gives bonuses." + + tradition_ruin_delvers_name:0 "Ruin Delvers" + tradition_ruin_delvers_desc:1 "This culture has become adept at spelunking and moving through the ancient decayed remains of pre-event metropoli, as well as finding their riches." + culture_parameter_ruin_dwellers_tell_mines_building_bonuses:0 "The #V $building_type_tell_mines_01$#! line of [buildings|E] have additional bonuses in [counties|E] of this [culture|E]" \ No newline at end of file