diff --git a/common/culture/cultures/NEOW_balto_finnic.txt b/common/culture/cultures/NEOW_balto_finnic.txt index ab6369f7..37f7fa56 100644 --- a/common/culture/cultures/NEOW_balto_finnic.txt +++ b/common/culture/cultures/NEOW_balto_finnic.txt @@ -41,6 +41,7 @@ sami = { tradition_winter_warriors tradition_adaptive_skirmishing tradition_forest_wardens + tradition_midnight_herders } name_list = name_list_sami diff --git a/common/culture/traditions/NEOW_traditions.txt b/common/culture/traditions/NEOW_traditions.txt index ec105de1..b4760676 100644 --- a/common/culture/traditions/NEOW_traditions.txt +++ b/common/culture/traditions/NEOW_traditions.txt @@ -1019,4 +1019,116 @@ tradition_consanguinity_dynastic = { multiply = tradition_replacement_cost_if_relevant } } -} \ No newline at end of file +} + +tradition_midnight_herders = { + category = realm + + layers = { + 0 = steward + 2 = western + 4 = horses.dds + } + + can_pick = { + custom_tooltip = { + text = culture_in_taiga_desc + any_culture_county = { + percent >= 0.4 + any_county_province = { + OR = { + terrain = taiga + } + } + } + } + } + + parameters = { + taiga_wetland_pastures_allowed = yes + pastures_building_bonuses = yes + farm_estates_pastures_unlock = yes + better_herders_pasturalists = yes + } + + character_modifier = { + negate_health_penalty_add = 0.15 + prowess = 1 + taiga_fertility_growth_mult = low_culture_county_fertility_value_mult + forest_fertility_growth_mult = low_culture_county_fertility_value_mult + wetlands_fertility_growth_mult = low_culture_county_fertility_value_mult + } + + cost = { + prestige = { + add = { + value = tradition_base_cost + desc = BASE + format = "BASE_VALUE_FORMAT" + } + if = { + limit = { + NOR = { + culture_pillar:ethos_bellicose = { is_in_list = traits } + culture_pillar:ethos_stoic = { is_in_list = traits } + culture_pillar:ethos_communal = { is_in_list = traits } + } + } + add = { + value = tradition_incompatible_ethos_penalty + desc = not_bellicose_stoic_or_communal_desc + } + } + if = { + limit = { + NOT = { + any_culture_county = { + percent >= 0.6 + any_county_province = { + OR = { + terrain = taiga + } + } + } + } + } + add = { + value = tradition_unfulfilled_criteria_penalty + desc = culture_in_plains_or_steppe_terrain_percentage_desc + } + } + + if = { + limit = { + culture_tradition_reduction_trigger = { TRADITION = tradition_pastoralists } + } + multiply = { + value = 0.5 + desc = inspired_by_culture_desc + } + } + + multiply = tradition_replacement_cost_if_relevant + } + } + + ai_will_do = { + value = 200 + if = { + limit = { + NOT = { + scope:character = { + any_sub_realm_county = { + percent >= 0.6 + culture = scope:character.culture + county_has_province_with_terrain = { + terrain = taiga + } + } + } + } + } + multiply = 0 + } + } +} diff --git a/common/scripted_triggers/00_building_requirement_triggers.txt b/common/scripted_triggers/00_building_requirement_triggers.txt index fd41c1ef..52663531 100644 --- a/common/scripted_triggers/00_building_requirement_triggers.txt +++ b/common/scripted_triggers/00_building_requirement_triggers.txt @@ -175,6 +175,15 @@ building_pastures_requirement_terrain = { terrain = jungle NOT = { geographical_region = world_innovation_elephants } } + AND = { + OR = { + terrain = taiga + terrain = wetlands + } + culture = { + has_cultural_parameter = taiga_wetland_pastures_allowed + } + } } } 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 5fcb23a2..e152dc6d 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 @@ -42,4 +42,10 @@ # MAA Unlocks culture_parameter_unlock_maa_handgonners:0 "Can recruit [GetMaA('handgonners').GetName] as [men_at_arms|E]" - culture_parameter_unlock_maa_kuhjung:0 "Can recruit [GetMaA('cowboys').GetName] as [men_at_arms|E]" \ No newline at end of file + culture_parameter_unlock_maa_kuhjung:0 "Can recruit [GetMaA('cowboys').GetName] as [men_at_arms|E]" + + # + tradition_midnight_herders_name:0 "Midnight Herders" + tradition_midnight_herders_desc:1 "This culture has made their home in the far north, raising great herds of reindeer on the frozen tundra." + culture_in_taiga_desc:0 "The [culture|E] does not have #V 40%#! of its [counties|E] in Taiga[terrain|E]" + culture_parameter_taiga_wetland_pastures_allowed:0 "The [GetBuilding('pastures_01').GetTypeName|V] line of [buildings|E] may be built in [GetTerrain( 'taiga' ).GetName] and [GetTerrain( 'wetlands' ).GetName]" \ No newline at end of file