# Need Types Used In This File # - trade_good: trade_good_books_paper, trade_good_incense, trade_good_silk, trade_good_stone, trade_good_wine # - trade_good_category: trade_category_carpentry_supplies, trade_category_clothes # # Modifier Types Used In This File # - additional_fort_level # - building_slots_for_host_district # - commerce_tax_mult # - epidemic_resistance # - hostile_raid_time # - independent_ruler_opinion # - knight_effectiveness_mult # - knight_limit # - monthly_agricultural_tax # - monthly_artisan_tax # - monthly_barter_goods # - monthly_commerce_tax # - monthly_maritime_tax # - monthly_piety # - monthly_prestige # - monthly_tribal_tax # - monthly_urban_tax # - popular_opinion_add # - monthly_province_size_change_when_below_baseline_add # - monthly_province_size_change_when_below_baseline_mult # - stationed_maa_damage_mult # - stationed_maa_siege_value_add # - stationed_maa_toughness_mult # - trade_category_food_production_mult # - vassal_levy_contribution_mult # - vassal_tax_contribution_mult # - villages_district_district_build_gold_cost # ################## # Primary Buildings for Regular Districts ################## ### Economy ### # Guild pb_guild_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = urban_regular_size_tier_1 monthly_artisan_tax = 0.25 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = artisans_guild_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need culture_parameter = civic_religion_guild_building_slots modifiers = { province_modifier = { province_size_baseline_add = province_size_tier_1 } } } can_construct_showing_failures_only = { } type_icon = "district_buildings/guild_district.dds" next_building = pb_guild_02 ai_value = { base = 10 modifier = { add = 0.8 province_has_district = military_district } ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_medium } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium OR = { culture ?= { OR = { has_cultural_parameter = artisans_guild_building_slot has_cultural_parameter = civic_religion_guild_building_slots } } AND = { terrain = oasis culture ?= { has_cultural_parameter = silk_road_oasis_urban_building_slots } } } } ai_regular_new_district_modifier = yes } } pb_guild_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = urban_regular_size_tier_2 monthly_artisan_tax = 0.5 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = artisans_guild_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need culture_parameter = civic_religion_guild_building_slots modifiers = { province_modifier = { province_size_baseline_add = province_size_tier_1 } } } can_construct_showing_failures_only = { building_artisanal_early_medieval_trigger = yes holding_district_level_2_trigger = yes } next_building = pb_guild_03 ai_value = { base = 10.4 modifier = { add = 0.8 province_has_district = military_district } ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_medium } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_guild_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = urban_regular_size_tier_3 monthly_artisan_tax = 0.75 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = artisans_guild_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need culture_parameter = civic_religion_guild_building_slots modifiers = { province_modifier = { province_size_baseline_add = province_size_tier_1 } } } can_construct_showing_failures_only = { culture = { has_innovation = innovation_guilds } holding_district_level_3_trigger = yes } next_building = pb_guild_04 ai_value = { base = 10.6 modifier = { add = 0.8 province_has_district = military_district } ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_medium } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_guild_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = urban_regular_size_tier_4 monthly_artisan_tax = 1 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = artisans_guild_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need culture_parameter = civic_religion_guild_building_slots modifiers = { province_modifier = { province_size_baseline_add = province_size_tier_1 } } } can_construct_showing_failures_only = { building_masonry_late_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 10.6 modifier = { add = 0.8 province_has_district = military_district } ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_medium } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Market pb_market_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = market_primary_province_size_baseline_tier_1 monthly_commerce_tax = 0.5 prosperity_per_province_size_level = 0.005 } type_icon = "district_buildings/market_district.dds" next_building = pb_market_02 ai_value = { base = 10.4 ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_size_level < 4 } ai_capital_preference_modifier = yes ai_regular_new_district_modifier = yes } } pb_market_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = urban_regular_size_tier_2 monthly_commerce_tax = 0.75 prosperity_per_province_size_level = 0.01 } can_construct_showing_failures_only = { building_commerce_early_medieval_trigger = yes holding_district_level_2_trigger = yes } next_building = pb_market_03 ai_value = { base = 10.4 ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_size_level < 4 } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_market_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = urban_regular_size_tier_3 monthly_commerce_tax = 1 prosperity_per_province_size_level = 0.015 } can_construct_showing_failures_only = { building_commerce_high_medieval_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_market_04 ai_value = { base = 10.4 ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_size_level < 4 } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_market_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = market_primary_province_size_baseline_tier_4 monthly_commerce_tax = 1.25 prosperity_per_province_size_level = 0.02 } can_construct_showing_failures_only = { building_commerce_late_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 10.4 ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_size_level < 4 } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Port pb_port_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost type_icon = "district_buildings/port_district.dds" province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = port_primary_province_size_baseline_tier_1 monthly_maritime_tax = port_primary_maritime_tax_tier_1 epidemic_resistance = port_primary_epidemic_resistance additional_fort_level = port_primary_fort_level } province_culture_modifier = { parameter = seafarers_port_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = seafarers_port_maa_control stationed_maa_control_value_add = 3 } province_culture_modifier = { parameter = port_district_stationed_maa_bonus stationed_maa_toughness_mult = normal_maa_toughness_tier_1 } province_culture_modifier = { parameter = maritime_way_of_life_port_maa_maintenance stationed_maa_maintenance_high_modifier = -0.02 } next_building = pb_port_02 ai_value = { base = 10 modifier = { add = 1.5 province_size_level >= 5 } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_has_district = walls_district province_size_level < 4 NOT = { scope:holder.capital_province = this } } ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium culture ?= { OR = { has_cultural_parameter = maritime_way_of_life_port_maa_maintenance has_cultural_parameter = port_district_stationed_maa_bonus has_cultural_parameter = seafarers_port_building_slot has_cultural_parameter = seafarers_port_maa_control } } } ai_regular_new_district_modifier = yes } } pb_port_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = port_primary_province_size_baseline_tier_2 monthly_maritime_tax = port_primary_maritime_tax_tier_2 epidemic_resistance = port_primary_epidemic_resistance additional_fort_level = port_primary_fort_level } province_culture_modifier = { parameter = seafarers_port_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = seafarers_port_maa_control stationed_maa_control_value_add = 3 } province_culture_modifier = { parameter = port_district_stationed_maa_bonus stationed_maa_toughness_mult = normal_maa_toughness_tier_2 } province_culture_modifier = { parameter = maritime_way_of_life_port_maa_maintenance stationed_maa_maintenance_high_modifier = -0.02 } can_construct_showing_failures_only = { trigger_if = { limit = { NOT = { culture = { has_cultural_parameter = next_level_port_districts } } } building_maritime_early_medieval_trigger = yes holding_district_level_2_trigger = yes } } next_building = pb_port_03 ai_value = { base = 10 modifier = { add = 1.5 province_size_level >= 5 } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.3 province_has_district = walls_district province_size_level < 4 NOT = { scope:holder.capital_province = this } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_port_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = port_primary_province_size_baseline_tier_3 monthly_maritime_tax = port_primary_maritime_tax_tier_3 epidemic_resistance = port_primary_epidemic_resistance additional_fort_level = port_primary_fort_level } province_culture_modifier = { parameter = seafarers_port_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = seafarers_port_maa_control stationed_maa_control_value_add = 3 } province_culture_modifier = { parameter = port_district_stationed_maa_bonus stationed_maa_toughness_mult = normal_maa_toughness_tier_3 } province_culture_modifier = { parameter = maritime_way_of_life_port_maa_maintenance stationed_maa_maintenance_high_modifier = -0.02 } can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = next_level_port_districts } } building_maritime_early_medieval_trigger = yes holding_district_level_2_trigger = yes } trigger_else = { building_maritime_high_medieval_trigger = yes holding_district_level_3_trigger = yes } } next_building = pb_port_04 ai_value = { base = 10 modifier = { add = 1.5 province_size_level >= 5 } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.4 province_has_district = walls_district province_size_level < 4 NOT = { scope:holder.capital_province = this } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_port_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = port_primary_province_size_baseline_tier_4 monthly_maritime_tax = port_primary_maritime_tax_tier_4 epidemic_resistance = port_primary_epidemic_resistance additional_fort_level = port_primary_fort_level } province_culture_modifier = { parameter = seafarers_port_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = seafarers_port_maa_control stationed_maa_control_value_add = 3 } province_culture_modifier = { parameter = port_district_stationed_maa_bonus stationed_maa_toughness_mult = normal_maa_toughness_tier_4 } province_culture_modifier = { parameter = maritime_way_of_life_port_maa_maintenance stationed_maa_maintenance_high_modifier = -0.02 } can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = next_level_port_districts } } building_maritime_high_medieval_trigger = yes holding_district_level_3_trigger = yes } trigger_else = { building_maritime_late_medieval_trigger = yes holding_district_level_4_trigger = yes } } ai_value = { base = 10 modifier = { add = 1.5 province_size_level >= 5 } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes modifier = { factor = 0.4 province_has_district = walls_district province_size_level < 4 NOT = { scope:holder.capital_province = this } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Fortification ### # Border Forts pb_border_forts_01 = { construction_time = district_tier_1_construction_time can_construct_showing_failures_only = { building_fortification_tribal_trigger = yes } cost_gold = district_tier_1_cost county_modifier = { hostile_raid_time = 0.25 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_1 building_slots_for_host_district = 1 } type_icon = "district_buildings/border_forts_district.dds" next_building = pb_border_forts_02 ai_value = { base = 9.7 ai_defensive_need_modifier = yes culture_likely_to_fortify_modifier = yes directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_new_district_modifier = yes } } pb_border_forts_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost county_modifier = { hostile_raid_time = 0.5 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_2 building_slots_for_host_district = 2 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_burhs } holding_district_level_2_trigger = yes } next_building = pb_border_forts_03 ai_value = { base = 9.7 ai_defensive_need_modifier = yes culture_likely_to_fortify_modifier = yes directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_border_forts_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost county_modifier = { hostile_raid_time = 0.75 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_3 building_slots_for_host_district = 3 } can_construct_showing_failures_only = { building_fortification_high_medieval_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_border_forts_04 ai_value = { base = 9.7 ai_defensive_need_modifier = yes culture_likely_to_fortify_modifier = yes directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_border_forts_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost county_modifier = { hostile_raid_time = 1 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_4 building_slots_for_host_district = 4 } can_construct_showing_failures_only = { building_fortification_late_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 9.7 ai_defensive_need_modifier = yes culture_likely_to_fortify_modifier = yes directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Walls pb_walls_01 = { construction_time = district_tier_1_construction_time can_construct_showing_failures_only = { building_fortification_tribal_trigger = yes } cost_gold = district_tier_1_cost levy = poor_building_levy_tier_1 province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = urban_regular_size_tier_1 additional_fort_level = 1 control_baseline_add = 15 defender_holding_advantage = 2 } province_culture_modifier = { parameter = castle_keepers_walls_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = stalwart_defenders_walls_building_slot building_slots_for_host_district = 1 } type_icon = "district_buildings/walls_district.dds" next_building = pb_walls_02 ai_value = { base = 10 ai_defensive_need_modifier = yes ai_walls_building_modifier = yes ai_control_baseline_building_modifier = { VALUE = 15 } directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes modifier = { factor = 0.3 province_size_level < 4 NOR = { province_has_district = urban_housing_district ai_kingdom_or_above_capital_trigger = yes } } ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium culture ?= { OR = { has_cultural_parameter = castle_keepers_walls_building_slot has_cultural_parameter = stalwart_defenders_walls_building_slot } } } ai_regular_new_district_modifier = yes } } pb_walls_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost levy = poor_building_levy_tier_2 province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = urban_regular_size_tier_2 additional_fort_level = 2 control_baseline_add = 25 defender_holding_advantage = 3 } province_culture_modifier = { parameter = castle_keepers_walls_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = stalwart_defenders_walls_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_fortification_early_medieval_trigger = yes holding_district_level_2_trigger = yes } next_building = pb_walls_03 ai_value = { base = 10 ai_defensive_need_modifier = yes ai_walls_building_modifier = yes ai_control_baseline_building_modifier = { VALUE = 25 } directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes modifier = { factor = 0.3 province_size_level < 4 NOR = { province_has_district = urban_housing_district ai_kingdom_or_above_capital_trigger = yes } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_walls_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost levy = poor_building_levy_tier_3 province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = walls_primary_province_size_baseline_tier_3 additional_fort_level = 3 control_baseline_add = 30 defender_holding_advantage = 4 } province_culture_modifier = { parameter = castle_keepers_walls_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = stalwart_defenders_walls_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_fortification_high_medieval_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_walls_04 ai_value = { base = 10 ai_defensive_need_modifier = yes ai_walls_building_modifier = yes ai_control_baseline_building_modifier = { VALUE = 30 } directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes modifier = { factor = 0.3 province_size_level < 4 NOR = { province_has_district = urban_housing_district ai_kingdom_or_above_capital_trigger = yes } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_walls_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost levy = poor_building_levy_tier_4 province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = walls_primary_province_size_baseline_tier_4 additional_fort_level = 4 control_baseline_add = 40 defender_holding_advantage = 6 } province_culture_modifier = { parameter = castle_keepers_walls_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = stalwart_defenders_walls_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_fortification_late_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 10 ai_defensive_need_modifier = yes ai_walls_building_modifier = yes ai_control_baseline_building_modifier = { VALUE = 40 } directive_to_fortify_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes modifier = { factor = 0.3 province_size_level < 4 NOR = { province_has_district = urban_housing_district ai_kingdom_or_above_capital_trigger = yes } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Military ### # Military pb_military_01 = { construction_time = district_tier_1_construction_time can_construct_showing_failures_only = { building_recruitment_tribal_trigger = yes } cost_gold = district_tier_1_cost levy = normal_building_levy_tier_1 is_enabled = { is_county_capital = yes } county_modifier = { stationed_maa_damage_mult = low_maa_damage_tier_1 stationed_maa_toughness_mult = low_maa_toughness_tier_1 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_1 building_slots_for_host_district = 1 monthly_civic_tax = poor_building_tax_tier_1 } type_icon = "district_buildings/military_district.dds" next_building = pb_military_02 market_culture_modifier = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need culture_parameter = imported_war_horses modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } market_culture_modifier = { parameter = song_horse_shortage trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need culture_parameter = song_horse_shortage modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } ai_value = { base = 10 ai_military_context_modifier = yes ai_general_building_modifier = yes ai_military_district_modifier = yes ai_regular_new_district_modifier = yes } } pb_military_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost levy = normal_building_levy_tier_2 is_enabled = { is_county_capital = yes } county_modifier = { stationed_maa_damage_mult = low_maa_damage_tier_2 stationed_maa_toughness_mult = low_maa_toughness_tier_2 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_2 building_slots_for_host_district = 2 monthly_civic_tax = poor_building_tax_tier_2 } can_construct_showing_failures_only = { building_recruitment_early_medieval_trigger = yes holding_district_level_2_trigger = yes } next_building = pb_military_03 market_culture_modifier = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need culture_parameter = imported_war_horses can_be_filled_multiple_times = 2 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } market_culture_modifier = { parameter = song_horse_shortage trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need culture_parameter = song_horse_shortage can_be_filled_multiple_times = 2 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } ai_value = { base = 10 ai_military_context_modifier = yes ai_general_building_modifier = yes ai_military_district_upgrade_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_military_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost levy = normal_building_levy_tier_3 is_enabled = { is_county_capital = yes } county_modifier = { stationed_maa_damage_mult = low_maa_damage_tier_3 stationed_maa_toughness_mult = low_maa_toughness_tier_3 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_3 building_slots_for_host_district = 3 monthly_civic_tax = poor_building_tax_tier_3 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_men_at_arms } holding_district_level_3_trigger = yes } next_building = pb_military_04 market_culture_modifier = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need culture_parameter = imported_war_horses can_be_filled_multiple_times = 3 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } market_culture_modifier = { parameter = song_horse_shortage trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need culture_parameter = song_horse_shortage can_be_filled_multiple_times = 3 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } ai_value = { base = 10 ai_military_context_modifier = yes ai_general_building_modifier = yes ai_military_district_upgrade_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_military_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost levy = normal_building_levy_tier_4 is_enabled = { is_county_capital = yes } county_modifier = { stationed_maa_damage_mult = low_maa_damage_tier_4 stationed_maa_toughness_mult = low_maa_toughness_tier_4 } province_modifier = { province_size_baseline_add = military_primary_province_size_baseline_tier_4 building_slots_for_host_district = 4 monthly_civic_tax = poor_building_tax_tier_4 } can_construct_showing_failures_only = { building_recruitment_late_medieval_trigger = yes holding_district_level_4_trigger = yes } market_culture_modifier = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need culture_parameter = imported_war_horses can_be_filled_multiple_times = 4 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } market_culture_modifier = { parameter = song_horse_shortage trade_good_horses_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need culture_parameter = song_horse_shortage can_be_filled_multiple_times = 4 modifiers = { county_modifier = { stationed_light_cavalry_damage_mult = imported_horses_cavalry_mult stationed_light_cavalry_toughness_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_damage_mult = imported_horses_cavalry_mult stationed_heavy_cavalry_toughness_mult = imported_horses_cavalry_mult } } } ai_value = { base = 10 ai_military_context_modifier = yes ai_general_building_modifier = yes ai_military_district_upgrade_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Civic ### # Chancery pb_bureaucratic_01 = { construction_time = district_tier_1_construction_time cost_gold = royal_district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = bureaucratic_primary_province_size_baseline_tier_1 control_baseline_add = 10 } province_culture_modifier = { parameter = scholar_officials_bureaucratic_building_slot building_slots_for_host_district = 1 } character_modifier = { vassal_tax_contribution_mult = bureaucratic_primary_vassal_tax_tier_1 } can_construct_showing_failures_only = { scope:holder.highest_held_title_tier >= tier_kingdom scope:holder.capital_province = this custom_tooltip = { text = bureaucratic_district_ledger_or_administrative_trigger trigger_if = { limit = { province_owner = { NOT = { government_has_flag = government_is_administrative } } } culture = { has_innovation = innovation_ledger } } } province_size_level >= 3 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need government_flag = government_has_influence modifiers = { character_modifier = { monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need } } } type_icon = "district_buildings/bureaucratic_district.dds" next_building = pb_bureaucratic_02 ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_control_baseline_building_modifier = { VALUE = 10 } modifier = { add = 1 scope:holder = { vassal_limit_available <= 2 } } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium culture ?= { has_cultural_parameter = scholar_officials_bureaucratic_building_slot } } ai_regular_new_district_modifier = yes } } pb_bureaucratic_02 = { construction_time = district_tier_2_construction_time cost_gold = royal_district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = bureaucratic_primary_province_size_baseline_tier_2 control_baseline_add = 15 } province_culture_modifier = { parameter = scholar_officials_bureaucratic_building_slot building_slots_for_host_district = 1 } character_modifier = { vassal_tax_contribution_mult = bureaucratic_primary_vassal_tax_tier_2 } can_construct_showing_failures_only = { scope:holder.highest_held_title_tier >= tier_kingdom scope:holder.capital_province = this building_administrative_early_medieval_trigger = yes province_size_level >= 3 holding_district_level_2_trigger = yes } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need government_flag = government_has_influence can_be_filled_multiple_times = 2 modifiers = { character_modifier = { monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need } } } next_building = pb_bureaucratic_03 ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_control_baseline_building_modifier = { VALUE = 15 } modifier = { add = 1 scope:holder = { vassal_limit_available <= 2 } } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_bureaucratic_03 = { construction_time = district_tier_3_construction_time cost_gold = royal_district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = bureaucratic_primary_province_size_baseline_tier_3 control_baseline_add = 30 } province_culture_modifier = { parameter = scholar_officials_bureaucratic_building_slot building_slots_for_host_district = 1 } character_modifier = { vassal_tax_contribution_mult = bureaucratic_primary_vassal_tax_tier_3 } can_construct_showing_failures_only = { scope:holder.highest_held_title_tier >= tier_kingdom scope:holder.capital_province = this building_commerce_high_medieval_trigger = yes province_size_level >= 3 holding_district_level_3_trigger = yes } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need government_flag = government_has_influence can_be_filled_multiple_times = 3 modifiers = { character_modifier = { monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need } } } next_building = pb_bureaucratic_04 ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_control_baseline_building_modifier = { VALUE = 30 } modifier = { add = 1 scope:holder = { vassal_limit_available <= 2 } } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_bureaucratic_04 = { construction_time = district_tier_4_construction_time cost_gold = royal_district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = bureaucratic_primary_province_size_baseline_tier_4 control_baseline_add = 35 } province_culture_modifier = { parameter = scholar_officials_bureaucratic_building_slot building_slots_for_host_district = 1 } character_modifier = { vassal_tax_contribution_mult = bureaucratic_primary_vassal_tax_tier_4 } can_construct_showing_failures_only = { scope:holder.highest_held_title_tier >= tier_kingdom scope:holder.capital_province = this building_administrative_late_medieval_trigger = yes province_size_level >= 3 holding_district_level_4_trigger = yes } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need government_flag = government_has_influence can_be_filled_multiple_times = 4 modifiers = { character_modifier = { monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need } } } ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_control_baseline_building_modifier = { VALUE = 35 } modifier = { add = 1 scope:holder = { vassal_limit_available <= 2 } } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_control_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Household (Royal Palace) pb_royal_palace_01 = { construction_time = district_tier_1_construction_time cost_gold = capital_district_tier_1_cost triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_administrative } } reference = "dairi_01" } triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_feudal } } reference = "yakata_01" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_byzantine } } reference = "magnaura_01" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_iranian } } reference = "ayvan_of_state_01" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_indo_aryan } } reference = "darbar_hall_01" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_dravidian } } reference = "darbar_hall_01" } triggered_name = { trigger = { province_owner ?= { highest_held_title_tier >= tier_empire } } reference = "imperial_palace_01" } province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = royal_palace_province_size_baseline_tier_1 monthly_civic_tax = poor_building_tax_tier_1 } province_culture_modifier = { parameter = astute_diplomats_household_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.1 } county_modifier = { civic_tax_mult = 0.05 } can_construct_showing_failures_only = { building_courtly_tribal_trigger = yes } market_modifier = { trade_good_jewelry_sell_price_mult = price_basic_building_1 trade_category_alcohol_sell_price_mult = price_basic_building_1 } market_culture_modifier = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_silk_demand trade_good_silk_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_textiles_demand trade_good_textiles_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need not_rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need not_rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } type_icon = "regular_buildings/leisure_palace.dds" next_building = pb_royal_palace_02 ai_value = { base = 11 ai_civic_context_modifier = yes ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium culture ?= { has_cultural_parameter = astute_diplomats_household_building_slot } } modifier = { factor = ai_building_tier_1_factor } } } pb_royal_palace_02 = { construction_time = district_tier_2_construction_time cost_gold = capital_district_tier_2_cost triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_administrative } } reference = "dairi_02" } triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_feudal } } reference = "yakata_02" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_byzantine } } reference = "magnaura_02" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_iranian } } reference = "ayvan_of_state_02" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_indo_aryan } } reference = "darbar_hall_02" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_dravidian } } reference = "darbar_hall_02" } triggered_name = { trigger = { province_owner ?= { highest_held_title_tier >= tier_empire } } reference = "imperial_palace_02" } province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = royal_palace_province_size_baseline_tier_2 monthly_civic_tax = poor_building_tax_tier_2 } province_culture_modifier = { parameter = astute_diplomats_household_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.2 } county_modifier = { civic_tax_mult = 0.1 } can_construct_showing_failures_only = { building_courtly_early_medieval_trigger = yes holding_district_level_2_trigger = yes } market_modifier = { trade_good_jewelry_sell_price_mult = price_basic_building_1 trade_category_alcohol_sell_price_mult = price_basic_building_1 } market_culture_modifier = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_silk_demand trade_good_silk_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_textiles_demand trade_good_textiles_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need can_be_filled_multiple_times = 2 not_rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need can_be_filled_multiple_times = 2 rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need can_be_filled_multiple_times = 2 not_rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 2 rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } next_building = pb_royal_palace_03 ai_value = { base = 11 ai_civic_context_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_royal_palace_03 = { construction_time = district_tier_3_construction_time cost_gold = capital_district_tier_3_cost triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_administrative } } reference = "dairi_03" } triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_feudal } } reference = "yakata_03" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_byzantine } } reference = "magnaura_03" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_iranian } } reference = "ayvan_of_state_03" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_indo_aryan } } reference = "darbar_hall_03" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_dravidian } } reference = "darbar_hall_03" } triggered_name = { trigger = { province_owner ?= { highest_held_title_tier >= tier_empire } } reference = "imperial_palace_03" } province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = royal_palace_province_size_baseline_tier_3 monthly_civic_tax = poor_building_tax_tier_3 } province_culture_modifier = { parameter = astute_diplomats_household_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.3 } county_modifier = { civic_tax_mult = 0.15 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_heraldry } holding_district_level_3_trigger = yes } market_modifier = { trade_good_jewelry_sell_price_mult = price_basic_building_1 trade_category_alcohol_sell_price_mult = price_basic_building_1 } market_culture_modifier = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_silk_demand trade_good_silk_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_textiles_demand trade_good_textiles_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need can_be_filled_multiple_times = 3 not_rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need can_be_filled_multiple_times = 3 rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need can_be_filled_multiple_times = 3 not_rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 3 rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } next_building = pb_royal_palace_04 ai_value = { base = 11 ai_civic_context_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_royal_palace_04 = { construction_time = district_tier_4_construction_time cost_gold = capital_district_tier_4_cost triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_administrative } } reference = "dairi_04" } triggered_name = { trigger = { province_owner ?= { government_has_flag = government_is_japan_feudal } } reference = "yakata_04" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_byzantine } } reference = "magnaura_04" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_iranian } } reference = "ayvan_of_state_04" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_indo_aryan } } reference = "darbar_hall_04" } triggered_name = { trigger = { culture ?= { has_cultural_pillar = heritage_dravidian } } reference = "darbar_hall_04" } triggered_name = { trigger = { province_owner ?= { highest_held_title_tier >= tier_empire } } reference = "imperial_palace_04" } province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = royal_palace_province_size_baseline_tier_4 monthly_civic_tax = poor_building_tax_tier_4 } province_culture_modifier = { parameter = astute_diplomats_household_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.4 } county_modifier = { civic_tax_mult = 0.2 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_noblesse_oblige } holding_district_level_4_trigger = yes } market_modifier = { trade_good_jewelry_sell_price_mult = price_basic_building_1 trade_category_alcohol_sell_price_mult = price_basic_building_1 } market_culture_modifier = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_silk_demand trade_good_silk_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } market_culture_modifier = { parameter = court_finery_textiles_demand trade_good_textiles_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need can_be_filled_multiple_times = 4 not_rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need can_be_filled_multiple_times = 4 rite_parameter = luxury_forbidden modifiers = { character_modifier = { monthly_legitimacy_add = 0.05 } } } trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need can_be_filled_multiple_times = 4 not_rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 4 rite_parameter = alcohol_forbidden modifiers = { character_modifier = { monthly_prestige = 0.02 } } } ai_value = { base = 11 ai_civic_context_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Mandala pb_mandala_01 = { construction_time = district_tier_1_construction_time cost_gold = capital_district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = urban_regular_size_tier_1 monthly_religious_tax = normal_building_tax_tier_1 additional_fort_level = normal_building_fort_level_tier_1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } type_icon = "district_buildings/mandala_district.dds" next_building = pb_mandala_02 on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_pious_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_strong scope:holder = { government_has_flag = government_is_mandala } } ai_regular_new_district_modifier = yes } } pb_mandala_02 = { construction_time = district_tier_2_construction_time cost_gold = capital_district_tier_2_cost next_building = pb_mandala_03 province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = urban_regular_size_tier_2 monthly_religious_tax = normal_building_tax_tier_2 additional_fort_level = normal_building_fort_level_tier_2 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 2 } can_construct_showing_failures_only = { building_courtly_early_medieval_trigger = yes holding_district_level_2_trigger = yes } on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_pious_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_mandala_03 = { construction_time = district_tier_3_construction_time cost_gold = capital_district_tier_3_cost next_building = pb_mandala_04 province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = urban_regular_size_tier_3 monthly_religious_tax = normal_building_tax_tier_3 additional_fort_level = normal_building_fort_level_tier_3 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 3 } can_construct_showing_failures_only = { building_administrative_high_medieval_trigger = yes holding_district_level_3_trigger = yes } on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_pious_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_mandala_04 = { construction_time = district_tier_4_construction_time cost_gold = capital_district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = urban_regular_size_tier_4 monthly_religious_tax = normal_building_tax_tier_4 additional_fort_level = normal_building_fort_level_tier_4 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 4 } can_construct_showing_failures_only = { building_courtly_late_medieval_trigger = yes holding_district_level_4_trigger = yes } on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10.5 ai_civic_context_modifier = yes ai_pious_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Temple pb_temple_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost can_construct_showing_failures_only = { trigger_if = { limit = { NOR = { has_holding_type = church_holding has_holding_type = temple_citadel_holding scope:holder = { government_has_flag = government_is_theocracy } } } province_size_level >= 4 } } triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "building_type_pb_temple_01_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "building_type_pb_temple_01_muslim" } character_modifier = { monthly_piety = 0.15 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.05 } province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = temple_primary_province_size_baseline_tier_1 popular_opinion_add = 5 } province_rite_modifier = { parameter = tenet_be_fruitful_and_multiply_temple_growth province_size_baseline_add = province_size_tier_1 monthly_province_size_change_when_below_baseline_add = regular_building_province_size_baseline_increase_tier_1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = lords_of_the_elephant_temple_elephant_control stationed_elephant_cavalry_control_value_add = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 2.5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_extra_temple_district_building_slot building_slots_for_host_district = 1 } county_modifier = { epidemic_resistance = 2.5 } trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need rite_parameter = communion_wine not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { not_parameter = communion_wine trade_good_incense_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need not_rite_parameter = communion_wine modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { parameter = tenet_legalism_temple_district_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = tenet_legalism_temple_district_control modifiers = { province_modifier = { control_baseline_add = 5 } } } province_rite_modifier = { parameter = clerical_function_temple_district_popular_opinion_penalty popular_opinion_add = clerical_function_temple_district_popular_opinion } market_rite_modifier = { parameter = clerical_function_temple_district_books_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = clerical_function_temple_district_books_control modifiers = { province_modifier = { control_baseline_add = clerical_function_temple_district_control_per_books_need } } } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need culture_parameter = votive_incense_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need culture_parameter = votive_gold_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need culture_parameter = votive_silver_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need culture_parameter = votive_gems_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need culture_parameter = votive_ceramics_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need culture_parameter = votive_lacquerware_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need culture_parameter = votive_amber_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need culture_parameter = votive_copper_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need culture_parameter = votive_ivory_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need culture_parameter = votive_spices_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need culture_parameter = votive_medicaments_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } type_icon = "district_buildings/temple_district.dds" on_complete = { # Religious Patronage: district construction grants piety at a quarter of the holding rate if = { limit = { county.holder.culture ?= { has_cultural_parameter = extra_piety_from_temple_construction } } county.holder = { add_piety = massive_piety_gain } } } next_building = pb_temple_02 ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_opinion_baseline_building_modifier = { VALUE = 5 } ai_urban_input_modifier = { GOOD = trade_good_incense } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium OR = { culture ?= { OR = { has_cultural_parameter = esoteric_power_stationed_skirmisher_control has_cultural_parameter = lords_of_the_elephant_temple_elephant_control has_cultural_parameter = zealous_people_religious_district_popular_opinion } } AND = { OR = { terrain = desert_mountains terrain = mountains } culture ?= { has_cultural_parameter = sacred_mountains_religious_building_slot } } AND = { OR = { terrain = forest terrain = jungle terrain = taiga } culture ?= { has_cultural_parameter = sacred_groves_religious_building_slot } } AND = { OR = { terrain = terraced_hills terrain = wetlands } culture ?= { has_cultural_parameter = hydraulic_builders_religious_building_slot } } } } modifier = { add = ai_building_priority_strong scope:holder = { government_has_flag = government_is_mandala } } ai_regular_new_district_modifier = yes } } pb_temple_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "building_type_pb_temple_02_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "building_type_pb_temple_02_muslim" } province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = temple_primary_province_size_baseline_tier_2 popular_opinion_add = 6 } province_rite_modifier = { parameter = tenet_be_fruitful_and_multiply_temple_growth province_size_baseline_add = province_size_tier_2 monthly_province_size_change_when_below_baseline_add = regular_building_province_size_baseline_increase_tier_2 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = lords_of_the_elephant_temple_elephant_control stationed_elephant_cavalry_control_value_add = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_extra_temple_district_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_piety = 0.3 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.1 } county_modifier = { epidemic_resistance = 5 } can_construct_showing_failures_only = { trigger_if = { limit = { NOT = { culture = { has_cultural_parameter = temple_next_level } } } building_religious_early_medieval_trigger = yes holding_district_level_2_trigger = yes } } trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 2 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { not_parameter = communion_wine trade_good_incense_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need not_rite_parameter = communion_wine can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { parameter = tenet_legalism_temple_district_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = tenet_legalism_temple_district_control can_be_filled_multiple_times = 2 modifiers = { province_modifier = { control_baseline_add = 5 } } } province_rite_modifier = { parameter = clerical_function_temple_district_popular_opinion_penalty popular_opinion_add = clerical_function_temple_district_popular_opinion } market_rite_modifier = { parameter = clerical_function_temple_district_books_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = clerical_function_temple_district_books_control can_be_filled_multiple_times = 2 modifiers = { province_modifier = { control_baseline_add = clerical_function_temple_district_control_per_books_need } } } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need culture_parameter = votive_incense_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need culture_parameter = votive_gold_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need culture_parameter = votive_silver_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need culture_parameter = votive_gems_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need culture_parameter = votive_ceramics_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need culture_parameter = votive_lacquerware_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need culture_parameter = votive_amber_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need culture_parameter = votive_copper_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need culture_parameter = votive_ivory_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need culture_parameter = votive_spices_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need culture_parameter = votive_medicaments_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 2 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } next_building = pb_temple_03 ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_opinion_baseline_building_modifier = { VALUE = 6 } ai_urban_input_modifier = { GOOD = trade_good_incense } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_temple_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "building_type_pb_temple_03_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "building_type_pb_temple_03_muslim" } province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = temple_primary_province_size_baseline_tier_3 popular_opinion_add = 7 } province_rite_modifier = { parameter = tenet_be_fruitful_and_multiply_temple_growth province_size_baseline_add = province_size_tier_3 monthly_province_size_change_when_below_baseline_add = regular_building_province_size_baseline_increase_tier_3 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = lords_of_the_elephant_temple_elephant_control stationed_elephant_cavalry_control_value_add = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 7.5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_extra_temple_district_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_piety = 0.45 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.15 } county_modifier = { epidemic_resistance = 7.5 } can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = temple_next_level } } building_religious_early_medieval_trigger = yes holding_district_level_2_trigger = yes } trigger_else = { building_stonework_high_medieval_trigger = yes holding_district_level_3_trigger = yes } } trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 3 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { not_parameter = communion_wine trade_good_incense_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need not_rite_parameter = communion_wine can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { parameter = tenet_legalism_temple_district_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = tenet_legalism_temple_district_control can_be_filled_multiple_times = 3 modifiers = { province_modifier = { control_baseline_add = 5 } } } province_rite_modifier = { parameter = clerical_function_temple_district_popular_opinion_penalty popular_opinion_add = clerical_function_temple_district_popular_opinion } market_rite_modifier = { parameter = clerical_function_temple_district_books_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = clerical_function_temple_district_books_control can_be_filled_multiple_times = 3 modifiers = { province_modifier = { control_baseline_add = clerical_function_temple_district_control_per_books_need } } } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need culture_parameter = votive_incense_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need culture_parameter = votive_gold_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need culture_parameter = votive_silver_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need culture_parameter = votive_gems_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need culture_parameter = votive_ceramics_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need culture_parameter = votive_lacquerware_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need culture_parameter = votive_amber_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need culture_parameter = votive_copper_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need culture_parameter = votive_ivory_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need culture_parameter = votive_spices_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need culture_parameter = votive_medicaments_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 3 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } next_building = pb_temple_04 ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_opinion_baseline_building_modifier = { VALUE = 7 } ai_urban_input_modifier = { GOOD = trade_good_incense } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_temple_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "building_type_pb_temple_04_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "building_type_pb_temple_04_muslim" } province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = temple_primary_province_size_baseline_tier_4 popular_opinion_add = 8 } province_rite_modifier = { parameter = tenet_be_fruitful_and_multiply_temple_growth province_size_baseline_add = province_size_tier_4 monthly_province_size_change_when_below_baseline_add = regular_building_province_size_baseline_increase_tier_4 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = lords_of_the_elephant_temple_elephant_control stationed_elephant_cavalry_control_value_add = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 10 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_extra_temple_district_building_slot building_slots_for_host_district = 1 } character_modifier = { monthly_piety = 0.6 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.2 } county_modifier = { epidemic_resistance = 10 } can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = temple_next_level } } building_stonework_high_medieval_trigger = yes holding_district_level_3_trigger = yes } trigger_else = { building_masonry_late_medieval_trigger = yes holding_district_level_4_trigger = yes } } trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 4 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { not_parameter = communion_wine trade_good_incense_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need not_rite_parameter = communion_wine can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = building_tiny_popular_opinion_gain } } } market_rite_modifier = { parameter = tenet_legalism_temple_district_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = tenet_legalism_temple_district_control can_be_filled_multiple_times = 4 modifiers = { province_modifier = { control_baseline_add = 5 } } } province_rite_modifier = { parameter = clerical_function_temple_district_popular_opinion_penalty popular_opinion_add = clerical_function_temple_district_popular_opinion } market_rite_modifier = { parameter = clerical_function_temple_district_books_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need rite_parameter = clerical_function_temple_district_books_control can_be_filled_multiple_times = 4 modifiers = { province_modifier = { control_baseline_add = clerical_function_temple_district_control_per_books_need } } } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand rite_parameter = clerical_function_temple_district_comfort_popular_opinion can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need } } } trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need culture_parameter = votive_incense_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need culture_parameter = votive_gold_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need culture_parameter = votive_silver_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need culture_parameter = votive_gems_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need culture_parameter = votive_ceramics_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need culture_parameter = votive_lacquerware_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need culture_parameter = votive_amber_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need culture_parameter = votive_copper_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need culture_parameter = votive_ivory_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need culture_parameter = votive_spices_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need culture_parameter = votive_medicaments_demand rite_parameter = clerical_function_temple_district_votive_maa_toughness can_be_filled_multiple_times = 4 modifiers = { province_modifier = { stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering } } } ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_opinion_baseline_building_modifier = { VALUE = 8 } ai_urban_input_modifier = { GOOD = trade_good_incense } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Metropolitan ### # Entertainment Districts pb_entertainment_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = urban_regular_size_tier_1 popular_opinion_add = building_tiny_popular_opinion_gain } type_icon = "district_buildings/entertainment_square_district.dds" next_building = pb_entertainment_02 ai_value = { base = 10 ai_opinion_baseline_building_modifier = { VALUE = 2 } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_popular_opinion_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_new_district_modifier = yes } } pb_entertainment_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = urban_regular_size_tier_2 popular_opinion_add = building_minor_popular_opinion_gain } can_construct_showing_failures_only = { building_communal_early_medieval_trigger = yes holding_district_level_2_trigger = yes } next_building = pb_entertainment_03 ai_value = { base = 10 ai_opinion_baseline_building_modifier = { VALUE = 10 } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_popular_opinion_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_entertainment_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = urban_regular_size_tier_3 popular_opinion_add = building_moderate_popular_opinion_gain } can_construct_showing_failures_only = { building_urban_high_medieval_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_entertainment_04 ai_value = { base = 10 ai_opinion_baseline_building_modifier = { VALUE = 15 } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_popular_opinion_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_entertainment_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = urban_regular_size_tier_4 popular_opinion_add = building_medium_popular_opinion_gain } can_construct_showing_failures_only = { building_masonry_late_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 10 ai_opinion_baseline_building_modifier = { VALUE = 20 } ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_popular_opinion_need_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Patrician Estates pb_patrician_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = patrician_primary_province_size_baseline_tier_1 prosperity_per_province_size_level = patrician_primary_prosperity_per_size_tier_1 } province_culture_modifier = { parameter = palace_politics_patrician_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { province_size_level >= 5 building_communal_early_medieval_trigger = yes } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need not_rite_parameter = luxury_forbidden modifiers = { province_modifier = { popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need } } } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } type_icon = "district_buildings/patrician_district.dds" next_building = pb_patrician_02 ai_value = { base = 9.7 ai_civic_context_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium culture ?= { has_cultural_parameter = palace_politics_patrician_building_slot } } ai_regular_new_district_modifier = yes } } pb_patrician_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = patrician_primary_province_size_baseline_tier_2 prosperity_per_province_size_level = patrician_primary_prosperity_per_size_tier_2 } province_culture_modifier = { parameter = palace_politics_patrician_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { province_size_level >= 5 building_communal_early_medieval_trigger = yes holding_district_level_2_trigger = yes } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 2 not_rite_parameter = luxury_forbidden modifiers = { province_modifier = { popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need } } } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 2 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } next_building = pb_patrician_03 ai_value = { base = 9.7 ai_civic_context_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_patrician_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = patrician_primary_province_size_baseline_tier_3 prosperity_per_province_size_level = patrician_primary_prosperity_per_size_tier_3 } province_culture_modifier = { parameter = palace_politics_patrician_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { province_size_level >= 5 building_urban_high_medieval_trigger = yes holding_district_level_3_trigger = yes } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 3 not_rite_parameter = luxury_forbidden modifiers = { province_modifier = { popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need } } } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 3 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } next_building = pb_patrician_04 ai_value = { base = 9.7 ai_civic_context_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_patrician_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = patrician_primary_province_size_baseline_tier_4 prosperity_per_province_size_level = patrician_primary_prosperity_per_size_tier_4 } province_culture_modifier = { parameter = palace_politics_patrician_building_slot building_slots_for_host_district = 1 } can_construct_showing_failures_only = { province_size_level >= 5 culture = { has_innovation = innovation_prosperity_04 } holding_district_level_4_trigger = yes } trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need can_be_filled_multiple_times = 4 not_rite_parameter = luxury_forbidden modifiers = { province_modifier = { popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need } } } trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_furs_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_silk_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need can_be_filled_multiple_times = 4 culture_parameter = court_finery_textiles_demand modifiers = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } } } ai_value = { base = 9.7 ai_civic_context_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Urban Housing pb_urban_housing_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = 50 monthly_province_size_change_when_below_baseline_add = 0.1 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = city_keepers_urban_housing_building_slot building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hidden_cities_urban_housing_building_slot terrain = jungle building_slots_for_host_district = 1 } trade_good_need = { trade_good_category = trade_category_clothes amount = basic_resource_need not_rite_parameter = clothes_need_suppressed modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need rite_parameter = leather_forbidden modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } type_icon = "district_buildings/urban_housing_district.dds" next_building = pb_urban_housing_02 ai_value = { base = 10 #Do I have Food? If so build this. ai_urban_housing_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium OR = { culture ?= { has_cultural_parameter = city_keepers_urban_housing_building_slot } AND = { terrain = jungle culture ?= { has_cultural_parameter = hidden_cities_urban_housing_building_slot } } AND = { terrain = oasis culture ?= { has_cultural_parameter = silk_road_oasis_urban_building_slots } } } } ai_regular_new_district_modifier = yes } } pb_urban_housing_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = 100 monthly_province_size_change_when_below_baseline_add = 0.2 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = city_keepers_urban_housing_building_slot building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hidden_cities_urban_housing_building_slot terrain = jungle building_slots_for_host_district = 1 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_prosperity_01 } holding_district_level_2_trigger = yes } trade_good_need = { trade_good_category = trade_category_clothes amount = basic_resource_need can_be_filled_multiple_times = 2 not_rite_parameter = clothes_need_suppressed modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need can_be_filled_multiple_times = 2 rite_parameter = leather_forbidden modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } next_building = pb_urban_housing_03 ai_value = { base = 10 #Do I have Food? If so build this. ai_urban_housing_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_urban_housing_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = 110 monthly_province_size_change_when_below_baseline_add = 0.3 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = city_keepers_urban_housing_building_slot building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hidden_cities_urban_housing_building_slot terrain = jungle building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_urban_high_medieval_trigger = yes holding_district_level_3_trigger = yes } trade_good_need = { trade_good_category = trade_category_clothes amount = basic_resource_need can_be_filled_multiple_times = 3 not_rite_parameter = clothes_need_suppressed modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need can_be_filled_multiple_times = 3 rite_parameter = leather_forbidden modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } next_building = pb_urban_housing_04 ai_value = { base = 10 #Do I have Food? If so build this. ai_urban_housing_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_urban_housing_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = 120 monthly_province_size_change_when_below_baseline_add = 0.4 } province_terrain_modifier = { parameter = silk_road_oasis_urban_building_slots terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = city_keepers_urban_housing_building_slot building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hidden_cities_urban_housing_building_slot terrain = jungle building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_masonry_late_medieval_trigger = yes holding_district_level_4_trigger = yes } trade_good_need = { trade_good_category = trade_category_clothes amount = basic_resource_need can_be_filled_multiple_times = 4 not_rite_parameter = clothes_need_suppressed modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need can_be_filled_multiple_times = 4 rite_parameter = leather_forbidden modifiers = { province_modifier = { monthly_province_size_change_when_below_baseline_add = 0.1 } } } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = housing_comfort_popular_opinion } } } ai_value = { base = 10 #Do I have Food? If so build this. ai_urban_housing_modifier = yes ai_economical_building_preference_modifier = yes ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Agricultural ### # Manor Houses pb_manor_houses_01 = { construction_time = district_tier_1_construction_time can_construct_showing_failures_only = { building_rural_early_medieval_trigger = yes } cost_gold = district_tier_1_cost levy = poor_building_levy_tier_1 type_icon = "district_buildings/manor_houses_district.dds" triggered_name = { trigger = { culture = { has_cultural_pillar = heritage_west_germanic } } reference = "pb_manor_houses_01_west_germanic" } effect_desc = manor_houses_marshal_control_effect_desc province_modifier = { building_slots_for_host_district = 1 agricultural_tax_mult = manor_primary_agricultural_tax_mult_tier_1 supply_limit = normal_building_supply_limit_tier_1 province_size_baseline_add = -10 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 1 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 1 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 1 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 1 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 1 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need can_be_filled_multiple_times = 1 modifiers = { province_modifier = { district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 } } } next_building = pb_manor_houses_02 ai_value = { base = 10 directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes ai_rural_synergy_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium terrain = oasis culture ?= { has_cultural_parameter = oasis_villages_building_slot } } modifier = { add = ai_building_priority_strong scope:holder = { OR = { government_has_flag = government_is_feudal government_has_flag = government_is_japan_feudal } } } ai_regular_new_district_modifier = yes } } pb_manor_houses_02 = { construction_time = district_tier_2_construction_time can_construct_showing_failures_only = { building_rural_early_medieval_trigger = yes holding_district_level_2_trigger = yes } cost_gold = district_tier_2_cost levy = poor_building_levy_tier_2 triggered_name = { trigger = { culture = { has_cultural_pillar = heritage_west_germanic } } reference = "pb_manor_houses_02_west_germanic" } effect_desc = manor_houses_marshal_control_effect_desc province_modifier = { building_slots_for_host_district = 2 agricultural_tax_mult = manor_primary_agricultural_tax_mult_tier_2 supply_limit = normal_building_supply_limit_tier_2 province_size_baseline_add = -20 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 2 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need can_be_filled_multiple_times = 2 modifiers = { province_modifier = { district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 } } } next_building = pb_manor_houses_03 ai_value = { base = 10 directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_manor_houses_03 = { construction_time = district_tier_3_construction_time can_construct_showing_failures_only = { building_rural_high_medieval_trigger = yes holding_district_level_3_trigger = yes } cost_gold = district_tier_3_cost levy = poor_building_levy_tier_3 triggered_name = { trigger = { culture = { has_cultural_pillar = heritage_west_germanic } } reference = "pb_manor_houses_03_west_germanic" } effect_desc = manor_houses_marshal_control_effect_desc province_modifier = { building_slots_for_host_district = 3 agricultural_tax_mult = manor_primary_agricultural_tax_mult_tier_3 supply_limit = normal_building_supply_limit_tier_3 province_size_baseline_add = -30 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 3 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need can_be_filled_multiple_times = 3 modifiers = { province_modifier = { district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 } } } next_building = pb_manor_houses_04 ai_value = { base = 10 directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_manor_houses_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost levy = poor_building_levy_tier_4 triggered_name = { trigger = { culture = { has_cultural_pillar = heritage_west_germanic } } reference = "pb_manor_houses_04_west_germanic" } effect_desc = manor_houses_marshal_control_effect_desc province_modifier = { building_slots_for_host_district = 4 agricultural_tax_mult = manor_primary_agricultural_tax_mult_tier_4 supply_limit = normal_building_supply_limit_tier_4 province_size_baseline_add = -40 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } can_construct_showing_failures_only = { building_rural_late_medieval_trigger = yes holding_district_level_4_trigger = yes } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need culture_parameter = housing_olive_oil_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need culture_parameter = housing_tea_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need culture_parameter = housing_fruit_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need culture_parameter = housing_honey_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need culture_parameter = housing_cheese_demand can_be_filled_multiple_times = 4 modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need can_be_filled_multiple_times = 4 modifiers = { province_modifier = { district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 } } } ai_value = { base = 10 directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Religious Communities pb_religious_community_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost type_icon = "district_buildings/religious_community_district.dds" triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "pb_religious_community_01_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "pb_religious_community_01_muslim" } character_modifier = { monthly_piety = 0.15 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.05 } province_modifier = { building_slots_for_host_district = 1 province_size_baseline_add = -10 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = warrior_monks_religious_community_pikemen stationed_pikemen_toughness_mult = normal_maa_toughness_tier_1 } province_culture_modifier = { parameter = monastic_communities_religious_community_building_slot building_slots_for_host_district = 1 } province_rite_modifier = { parameter = tenet_ora_et_labora_religious_community_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 2.5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_gets_theocratic_building_modifiers monthly_religious_tax = normal_building_tax_tier_1 } trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need rite_parameter = communion_wine not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need modifiers = { character_modifier = { monthly_piety = 0.01 } } } on_complete = { mandala_built_piety_building_effect = yes if = { limit = { county.holder.culture ?= { has_cultural_parameter = extra_piety_from_temple_construction } } county.holder = { add_piety = massive_piety_gain } } } next_building = pb_religious_community_02 ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_rural_building_modifier = yes ai_rural_synergy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium OR = { culture ?= { OR = { has_cultural_parameter = monastic_communities_religious_community_building_slot has_cultural_parameter = zealous_people_religious_district_popular_opinion } } AND = { OR = { terrain = desert_mountains terrain = mountains } culture ?= { has_cultural_parameter = sacred_mountains_religious_building_slot } } AND = { OR = { terrain = forest terrain = jungle terrain = taiga } culture ?= { has_cultural_parameter = sacred_groves_religious_building_slot } } AND = { terrain = oasis culture ?= { has_cultural_parameter = oasis_villages_building_slot } } AND = { OR = { terrain = terraced_hills terrain = wetlands } culture ?= { has_cultural_parameter = hydraulic_builders_religious_building_slot } } } } modifier = { add = ai_building_priority_strong scope:holder = { OR = { government_has_flag = government_is_theocracy government_has_flag = government_is_mandala } } } ai_regular_new_district_modifier = yes } } # Religious Communities pb_religious_community_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "pb_religious_community_02_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "pb_religious_community_02_muslim" } character_modifier = { monthly_piety = 0.30 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.1 } province_modifier = { building_slots_for_host_district = 2 province_size_baseline_add = -20 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = warrior_monks_religious_community_pikemen stationed_pikemen_toughness_mult = normal_maa_toughness_tier_2 } province_culture_modifier = { parameter = monastic_communities_religious_community_building_slot building_slots_for_host_district = 1 } province_rite_modifier = { parameter = tenet_ora_et_labora_religious_community_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_gets_theocratic_building_modifiers monthly_religious_tax = normal_building_tax_tier_2 } can_construct_showing_failures_only = { trigger_if = { limit = { NOT = { culture = { has_cultural_parameter = temple_next_level } } } building_religious_early_medieval_trigger = yes } trigger_if = { limit = { culture = { NOR = { has_cultural_parameter = next_level_monasteries has_cultural_parameter = temple_next_level } } } holding_district_level_2_trigger = yes } } trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 2 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need can_be_filled_multiple_times = 2 modifiers = { character_modifier = { monthly_piety = 0.02 } } } next_building = pb_religious_community_03 on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_rural_building_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } # Religious Communities pb_religious_community_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "pb_religious_community_03_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "pb_religious_community_03_muslim" } character_modifier = { monthly_piety = 0.45 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.15 } province_modifier = { building_slots_for_host_district = 3 province_size_baseline_add = -30 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = warrior_monks_religious_community_pikemen stationed_pikemen_toughness_mult = normal_maa_toughness_tier_3 } province_culture_modifier = { parameter = monastic_communities_religious_community_building_slot building_slots_for_host_district = 1 } province_rite_modifier = { parameter = tenet_ora_et_labora_religious_community_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 7.5 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_gets_theocratic_building_modifiers monthly_religious_tax = normal_building_tax_tier_3 } can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = temple_next_level } } building_religious_early_medieval_trigger = yes } trigger_else = { building_rural_high_medieval_trigger = yes } trigger_if = { limit = { culture = { OR = { has_cultural_parameter = next_level_monasteries has_cultural_parameter = temple_next_level } } } holding_district_level_2_trigger = yes } trigger_else = { holding_district_level_3_trigger = yes } } trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 3 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need can_be_filled_multiple_times = 3 modifiers = { character_modifier = { monthly_piety = 0.03 } } } next_building = pb_religious_community_04 on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_rural_building_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } # Religious Communities pb_religious_community_04 = { construction_time = district_tier_4_construction_time can_construct_showing_failures_only = { trigger_if = { limit = { culture = { has_cultural_parameter = temple_next_level } } building_rural_high_medieval_trigger = yes } trigger_else = { building_rural_late_medieval_trigger = yes } trigger_if = { limit = { culture = { OR = { has_cultural_parameter = next_level_monasteries has_cultural_parameter = temple_next_level } } } holding_district_level_3_trigger = yes } trigger_else = { holding_district_level_4_trigger = yes } } cost_gold = district_tier_4_cost triggered_name = { trigger = { faith.religion = religion:christianity_religion } reference = "pb_religious_community_04_christian" } triggered_name = { trigger = { faith.religion = religion:islam_religion } reference = "pb_religious_community_04_muslim" } character_modifier = { monthly_piety = 0.60 } character_rite_modifier = { parameter = tenet_philanthropia_district_piety monthly_piety = 0.2 } province_modifier = { building_slots_for_host_district = 4 province_size_baseline_add = -40 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_culture_modifier = { parameter = esoteric_power_stationed_skirmisher_control stationed_skirmishers_control_value_add = 1 } province_culture_modifier = { parameter = warrior_monks_religious_community_pikemen stationed_pikemen_toughness_mult = normal_maa_toughness_tier_4 } province_culture_modifier = { parameter = monastic_communities_religious_community_building_slot building_slots_for_host_district = 1 } province_rite_modifier = { parameter = tenet_ora_et_labora_religious_community_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = zealous_people_religious_district_popular_opinion popular_opinion_add = 10 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_mountains_religious_building_slot terrain = desert_mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = sacred_groves_religious_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hydraulic_builders_religious_building_slot terrain = terraced_hills building_slots_for_host_district = 1 } province_government_modifier = { parameter = government_gets_theocratic_building_modifiers monthly_religious_tax = normal_building_tax_tier_4 } trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need rite_parameter = communion_wine can_be_filled_multiple_times = 4 not_rite_parameter = alcohol_forbidden modifiers = { province_modifier = { popular_opinion_add = regular_building_popular_opinion_tier_1 } } } trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need can_be_filled_multiple_times = 4 modifiers = { character_modifier = { monthly_piety = 0.04 } } } on_complete = { mandala_built_piety_building_effect = yes } ai_value = { base = 10 ai_pious_building_preference_modifier = yes ai_rural_building_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Villages pb_villages_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost levy = poor_building_levy_tier_1 province_modifier = { building_slots_for_host_district = 2 agricultural_tax_mult = 0.05 woodland_tax_mult = 0.05 mining_tax_mult = 0.05 } province_culture_modifier = { parameter = agrarian_villages_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = agrarian_villages_maa_maintenance stationed_maa_maintenance_low_modifier = 0.1 stationed_maa_maintenance_high_modifier = 0.1 } province_culture_modifier = { parameter = collective_lands_villages_maa_bonuses stationed_maa_toughness_mult = low_maa_toughness_tier_1 stationed_maa_damage_mult = low_maa_damage_tier_1 } province_culture_modifier = { parameter = collective_lands_villages_control_penalty control_baseline_add = -10 } province_terrain_modifier = { parameter = polders_coastal_villages_building_slot is_coastal = yes building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_building_slot terrain = hills building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_defender_bonuses terrain = hills defender_holding_advantage = 2 stationed_maa_control_value_add = 1 } province_terrain_modifier = { parameter = mountains_villages_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = mountains_villages_stationed_toughness terrain = mountains stationed_maa_toughness_mult = low_maa_toughness_tier_1 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = jungle_villages_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = desert building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = drylands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_camel_control terrain = desert stationed_camel_cavalry_control_value_add = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = floodplains building_slots_for_host_district = 1 } trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need modifiers = { province_modifier = { villages_district_district_build_gold_cost = -0.03 } } } market_modifier = { trade_good_textiles_sell_price_mult = price_village_building_need } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need modifiers = { province_modifier = { monthly_agricultural_tax = villages_textiles_need_agricultural_tax } market_modifier = { trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction } } } type_icon = "district_buildings/villages_district.dds" next_building = pb_villages_02 market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance modifiers = { province_modifier = { agricultural_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 10 ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium OR = { culture ?= { OR = { has_cultural_parameter = agrarian_villages_building_slot has_cultural_parameter = agrarian_villages_maa_maintenance has_cultural_parameter = collective_lands_villages_maa_bonuses } } AND = { is_coastal = yes culture ?= { has_cultural_parameter = polders_coastal_villages_building_slot } } AND = { terrain = desert culture ?= { has_cultural_parameter = desert_villages_camel_control } } AND = { OR = { terrain = desert terrain = drylands } culture ?= { has_cultural_parameter = desert_villages_building_slot } } AND = { OR = { terrain = floodplains terrain = wetlands } culture ?= { has_cultural_parameter = wetlands_villages_building_slot } } AND = { OR = { terrain = forest terrain = taiga } culture ?= { has_cultural_parameter = forest_villages_building_slot } } AND = { terrain = hills culture ?= { OR = { has_cultural_parameter = hills_villages_building_slot has_cultural_parameter = hills_villages_defender_bonuses } } } AND = { terrain = jungle culture ?= { has_cultural_parameter = jungle_villages_building_slot } } AND = { terrain = mountains culture ?= { OR = { has_cultural_parameter = mountains_villages_building_slot has_cultural_parameter = mountains_villages_stationed_toughness } } } AND = { terrain = oasis culture ?= { has_cultural_parameter = oasis_villages_building_slot } } } } ai_regular_new_district_modifier = yes } } pb_villages_02 = { construction_time = district_tier_2_construction_time cost_gold = district_tier_2_cost levy = poor_building_levy_tier_2 province_modifier = { building_slots_for_host_district = 3 agricultural_tax_mult = 0.1 woodland_tax_mult = 0.1 mining_tax_mult = 0.1 } province_culture_modifier = { parameter = agrarian_villages_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = agrarian_villages_maa_maintenance stationed_maa_maintenance_low_modifier = 0.1 stationed_maa_maintenance_high_modifier = 0.1 } province_culture_modifier = { parameter = collective_lands_villages_maa_bonuses stationed_maa_toughness_mult = low_maa_toughness_tier_2 stationed_maa_damage_mult = low_maa_damage_tier_2 } province_culture_modifier = { parameter = collective_lands_villages_control_penalty control_baseline_add = -10 } province_terrain_modifier = { parameter = polders_coastal_villages_building_slot is_coastal = yes building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_building_slot terrain = hills building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_defender_bonuses terrain = hills defender_holding_advantage = 4 stationed_maa_control_value_add = 1 } province_terrain_modifier = { parameter = mountains_villages_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = mountains_villages_stationed_toughness terrain = mountains stationed_maa_toughness_mult = low_maa_toughness_tier_2 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = jungle_villages_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = desert building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = drylands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_camel_control terrain = desert stationed_camel_cavalry_control_value_add = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = floodplains building_slots_for_host_district = 1 } can_construct_showing_failures_only = { #building_communal_early_medieval_trigger = yes holding_district_level_2_trigger = yes } trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need can_be_filled_multiple_times = 2 modifiers = { province_modifier = { villages_district_district_build_gold_cost = -0.03 } } } market_modifier = { trade_good_textiles_sell_price_mult = price_village_building_need } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need can_be_filled_multiple_times = 2 modifiers = { province_modifier = { monthly_agricultural_tax = villages_textiles_need_agricultural_tax } market_modifier = { trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction } } } next_building = pb_villages_03 market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 2 modifiers = { province_modifier = { agricultural_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 10 ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_villages_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost levy = poor_building_levy_tier_3 province_modifier = { building_slots_for_host_district = 4 agricultural_tax_mult = 0.15 woodland_tax_mult = 0.15 mining_tax_mult = 0.15 } province_culture_modifier = { parameter = agrarian_villages_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = agrarian_villages_maa_maintenance stationed_maa_maintenance_low_modifier = 0.1 stationed_maa_maintenance_high_modifier = 0.1 } province_culture_modifier = { parameter = collective_lands_villages_maa_bonuses stationed_maa_toughness_mult = low_maa_toughness_tier_3 stationed_maa_damage_mult = low_maa_damage_tier_3 } province_culture_modifier = { parameter = collective_lands_villages_control_penalty control_baseline_add = -10 } province_terrain_modifier = { parameter = polders_coastal_villages_building_slot is_coastal = yes building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_building_slot terrain = hills building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_defender_bonuses terrain = hills defender_holding_advantage = 6 stationed_maa_control_value_add = 1 } province_terrain_modifier = { parameter = mountains_villages_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = mountains_villages_stationed_toughness terrain = mountains stationed_maa_toughness_mult = low_maa_toughness_tier_3 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = jungle_villages_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = desert building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = drylands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_camel_control terrain = desert stationed_camel_cavalry_control_value_add = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = floodplains building_slots_for_host_district = 1 } can_construct_showing_failures_only = { #building_farmed_high_medieval_trigger = yes holding_district_level_3_trigger = yes } trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need can_be_filled_multiple_times = 3 modifiers = { province_modifier = { villages_district_district_build_gold_cost = -0.03 } } } market_modifier = { trade_good_textiles_sell_price_mult = price_village_building_need } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need can_be_filled_multiple_times = 3 modifiers = { province_modifier = { monthly_agricultural_tax = villages_textiles_need_agricultural_tax } market_modifier = { trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction } } } next_building = pb_villages_04 market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 3 modifiers = { province_modifier = { agricultural_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 10 ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_villages_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost levy = poor_building_levy_tier_4 province_modifier = { building_slots_for_host_district = 5 agricultural_tax_mult = 0.2 woodland_tax_mult = 0.2 mining_tax_mult = 0.2 } province_culture_modifier = { parameter = agrarian_villages_building_slot building_slots_for_host_district = 1 } province_culture_modifier = { parameter = agrarian_villages_maa_maintenance stationed_maa_maintenance_low_modifier = 0.1 stationed_maa_maintenance_high_modifier = 0.1 } province_culture_modifier = { parameter = collective_lands_villages_maa_bonuses stationed_maa_toughness_mult = low_maa_toughness_tier_4 stationed_maa_damage_mult = low_maa_damage_tier_4 } province_culture_modifier = { parameter = collective_lands_villages_control_penalty control_baseline_add = -10 } province_terrain_modifier = { parameter = polders_coastal_villages_building_slot is_coastal = yes building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_building_slot terrain = hills building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = hills_villages_defender_bonuses terrain = hills defender_holding_advantage = 8 stationed_maa_control_value_add = 1 } province_terrain_modifier = { parameter = mountains_villages_building_slot terrain = mountains building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = mountains_villages_stationed_toughness terrain = mountains stationed_maa_toughness_mult = low_maa_toughness_tier_4 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = forest building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = forest_villages_building_slot terrain = taiga building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = jungle_villages_building_slot terrain = jungle building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = desert building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_building_slot terrain = drylands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = oasis_villages_building_slot terrain = oasis building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = desert_villages_camel_control terrain = desert stationed_camel_cavalry_control_value_add = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = wetlands building_slots_for_host_district = 1 } province_terrain_modifier = { parameter = wetlands_villages_building_slot terrain = floodplains building_slots_for_host_district = 1 } can_construct_showing_failures_only = { #building_rural_late_medieval_trigger = yes holding_district_level_4_trigger = yes } trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need can_be_filled_multiple_times = 4 modifiers = { province_modifier = { villages_district_district_build_gold_cost = -0.03 } } } market_modifier = { trade_good_textiles_sell_price_mult = price_village_building_need } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need can_be_filled_multiple_times = 4 modifiers = { province_modifier = { monthly_agricultural_tax = villages_textiles_need_agricultural_tax } market_modifier = { trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction } } } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 4 modifiers = { province_modifier = { agricultural_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 10 ai_economical_building_preference_modifier = yes ai_rural_building_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_economic_terrain_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } ### Tribal ### # Tribal Economy pb_tribal_economy_prestige_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 monthly_tribal_tax = 0.1 province_size_baseline_add = 25 } province_terrain_modifier = { parameter = jungle_tribal_economy_building_slot terrain = jungle building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.15 } type_icon = "district_buildings/tribal_economy_prestige_district.dds" next_building = pb_tribal_economy_prestige_02 trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need culture_parameter = amber_amulets modifiers = { character_modifier = { monthly_prestige = amber_amulet_prestige } } } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } market_culture_modifier = { parameter = copper_casting trade_good_copper_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need culture_parameter = copper_casting modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 9.7 ai_tribal_context_modifier = yes ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes modifier = { add = ai_building_priority_medium terrain = jungle culture ?= { has_cultural_parameter = jungle_tribal_economy_building_slot } } ai_regular_new_district_modifier = yes } } pb_tribal_economy_prestige_02 = { construction_time = district_tier_2_construction_time can_construct_showing_failures_only = { building_settlement_tribal_trigger = yes holding_district_level_2_trigger = yes } cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 monthly_tribal_tax = 0.2 province_size_baseline_add = 50 } province_terrain_modifier = { parameter = jungle_tribal_economy_building_slot terrain = jungle building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.3 } next_building = pb_tribal_economy_prestige_03 trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need culture_parameter = amber_amulets can_be_filled_multiple_times = 2 modifiers = { character_modifier = { monthly_prestige = amber_amulet_prestige } } } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 2 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } market_culture_modifier = { parameter = copper_casting trade_good_copper_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need culture_parameter = copper_casting can_be_filled_multiple_times = 2 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 9.7 ai_tribal_context_modifier = yes ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_tribal_economy_prestige_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 monthly_tribal_tax = 0.3 province_size_baseline_add = 75 } province_terrain_modifier = { parameter = jungle_tribal_economy_building_slot terrain = jungle building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.45 } can_construct_showing_failures_only = { building_settlement_tribal_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_tribal_economy_prestige_04 trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need culture_parameter = amber_amulets can_be_filled_multiple_times = 3 modifiers = { character_modifier = { monthly_prestige = amber_amulet_prestige } } } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 3 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } market_culture_modifier = { parameter = copper_casting trade_good_copper_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need culture_parameter = copper_casting can_be_filled_multiple_times = 3 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 9.7 ai_tribal_context_modifier = yes ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_tribal_economy_prestige_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 monthly_tribal_tax = 0.4 province_size_baseline_add = 100 } province_terrain_modifier = { parameter = jungle_tribal_economy_building_slot terrain = jungle building_slots_for_host_district = 1 } character_modifier = { monthly_prestige = 0.6 } can_construct_showing_failures_only = { building_communal_early_medieval_trigger = yes holding_district_level_4_trigger = yes } trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need culture_parameter = amber_amulets can_be_filled_multiple_times = 4 modifiers = { character_modifier = { monthly_prestige = amber_amulet_prestige } } } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need culture_parameter = saharan_salt_reliance can_be_filled_multiple_times = 4 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } market_culture_modifier = { parameter = copper_casting trade_good_copper_sell_price_mult = regional_demand_price_mult } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need culture_parameter = copper_casting can_be_filled_multiple_times = 4 modifiers = { province_modifier = { tribal_tax_mult = regional_tax_mult_per_need } } } ai_value = { base = 9.7 ai_tribal_context_modifier = yes ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Tribal Military pb_tribal_military_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost levy = 70 province_modifier = { building_slots_for_host_district = 1 stationed_maa_toughness_mult = 0.025 stationed_maa_damage_mult = 0.025 } type_icon = "district_buildings/tribal_military_district.dds" next_building = pb_tribal_military_02 ai_value = { base = 9.7 ai_tribal_context_modifier = yes directive_to_build_military_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_new_district_modifier = yes } } pb_tribal_military_02 = { construction_time = district_tier_2_construction_time can_construct_showing_failures_only = { building_recruitment_tribal_trigger = yes holding_district_level_2_trigger = yes } cost_gold = district_tier_2_cost levy = 140 province_modifier = { building_slots_for_host_district = 2 stationed_maa_toughness_mult = 0.05 stationed_maa_damage_mult = 0.05 } next_building = pb_tribal_military_03 ai_value = { base = 9.7 ai_tribal_context_modifier = yes directive_to_build_military_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_tribal_military_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost levy = 210 province_modifier = { building_slots_for_host_district = 3 stationed_maa_toughness_mult = 0.075 stationed_maa_damage_mult = 0.075 } can_construct_showing_failures_only = { building_recruitment_tribal_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_tribal_military_04 ai_value = { base = 9.7 ai_tribal_context_modifier = yes directive_to_build_military_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_tribal_military_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost levy = 280 province_modifier = { building_slots_for_host_district = 4 stationed_maa_toughness_mult = 0.1 stationed_maa_damage_mult = 0.1 } can_construct_showing_failures_only = { building_recruitment_early_medieval_trigger = yes holding_district_level_4_trigger = yes } ai_value = { base = 9.7 ai_tribal_context_modifier = yes directive_to_build_military_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } } # Wanua pb_tribal_wanua_01 = { construction_time = district_tier_1_construction_time cost_gold = district_tier_1_cost province_modifier = { building_slots_for_host_district = 1 monthly_barter_goods = 0.25 } type_icon = "district_buildings/wanua_district.dds" next_building = pb_tribal_wanua_02 ai_value = { base = 9.7 modifier = { add = 1.2 scope:holder = { government_has_flag = government_is_wanua } } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes modifier = { factor = 0 NOT = { scope:holder = { government_has_flag = government_is_wanua } } } ai_capital_preference_modifier = yes ai_regular_new_district_modifier = yes } } pb_tribal_wanua_02 = { construction_time = district_tier_2_construction_time can_construct_showing_failures_only = { building_courtly_tribal_trigger = yes holding_district_level_2_trigger = yes } cost_gold = district_tier_2_cost province_modifier = { building_slots_for_host_district = 2 monthly_barter_goods = 0.5 } next_building = pb_tribal_wanua_03 ai_value = { base = 9.7 modifier = { add = 1.2 scope:holder = { government_has_flag = government_is_wanua } } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes modifier = { factor = 0 NOT = { scope:holder = { government_has_flag = government_is_wanua } } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } } pb_tribal_wanua_03 = { construction_time = district_tier_3_construction_time cost_gold = district_tier_3_cost province_modifier = { building_slots_for_host_district = 3 monthly_barter_goods = 0.75 } character_modifier = { domain_limit_max = 1 vassal_limit_max = 1 } can_construct_showing_failures_only = { building_courtly_tribal_trigger = yes holding_district_level_3_trigger = yes } next_building = pb_tribal_wanua_04 ai_value = { base = 9.7 modifier = { add = 1.2 scope:holder = { government_has_flag = government_is_wanua } } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes modifier = { factor = 0 NOT = { scope:holder = { government_has_flag = government_is_wanua } } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } } pb_tribal_wanua_04 = { construction_time = district_tier_4_construction_time cost_gold = district_tier_4_cost province_modifier = { building_slots_for_host_district = 4 monthly_barter_goods = 1 } character_modifier = { domain_limit_max = 2 vassal_limit_max = 2 } can_construct_showing_failures_only = { culture = { has_innovation = innovation_hereditary_rule } holding_district_level_4_trigger = yes } ai_value = { base = 9.7 modifier = { add = 1.2 scope:holder = { government_has_flag = government_is_wanua } } ai_economical_building_preference_modifier = yes directive_to_build_economy_modifier = yes ai_general_building_modifier = yes modifier = { factor = 0 NOT = { scope:holder = { government_has_flag = government_is_wanua } } } ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } }